/* ═══════════════════════════════════════════════════════════════════
   easyTenancy OPERATING SYSTEM — Master UI Engine v6.0
   Real-Time · Glow System · Swipe States · Context-Aware · Elite UX
   ═══════════════════════════════════════════════════════════════════ */

/* ── EXTENDED DESIGN TOKENS ── */
:root {
  /* Glow palette */
  --glow-blue:    0 0 20px rgba(11,84,183,.5), 0 0 60px rgba(11,84,183,.25);
  --glow-cyan:    0 0 20px rgba(39,178,246,.5), 0 0 60px rgba(39,178,246,.2);
  --glow-green:   0 0 20px rgba(16,185,129,.5), 0 0 60px rgba(16,185,129,.2);
  --glow-amber:   0 0 20px rgba(245,158,11,.5), 0 0 60px rgba(245,158,11,.2);
  --glow-red:     0 0 20px rgba(239,68,68,.6),  0 0 60px rgba(239,68,68,.3);
  --glow-purple:  0 0 20px rgba(139,92,246,.5), 0 0 60px rgba(139,92,246,.2);

  /* Glass surfaces */
  --glass-bg:          rgba(255,255,255,.72);
  --glass-bg-dark:     rgba(4,14,26,.72);
  --glass-border:      rgba(255,255,255,.3);
  --glass-border-dark: rgba(255,255,255,.08);
  --glass-blur:        blur(20px) saturate(180%);

  /* System state colors */
  --state-overview:    #0B54B7;
  --state-operations:  #27B2F6;
  --state-enforcement: #EF4444;
  --state-compliance:  #8B5CF6;
  --state-intelligence:#10B981;

  /* Transition curves */
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --snappy: cubic-bezier(0.2, 0, 0, 1);

  /* System health (updated by JS) */
  --health-color: #0B54B7;
  --health-glow:  var(--glow-blue);
}

/* ── DARK MODE TOKENS ── */
[data-theme="dark"] {
  --glass-bg:    rgba(4,14,26,.8);
  --glass-border: rgba(255,255,255,.1);
  --et-surface:  #0D1117;
  --et-surface-2:#161B22;
  --et-surface-3:#21262D;
  --et-text:     #E6EDF3;
  --et-text-2:   #C9D1D9;
  --et-text-3:   #8B949E;
  --et-text-4:   #484F58;
  --et-border:   #21262D;
  --et-border-2: #30363D;
}

/* ═══════════════════════════════════════════════════════════════════
   GLOWING LOGO SYSTEM
   ═══════════════════════════════════════════════════════════════════ */
.et-logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .3s var(--spring);
}
.et-logo-img {
  filter: drop-shadow(0 0 0px transparent);
  transition: filter .4s ease;
  animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(11,84,183,.3)); }
  50%       { filter: drop-shadow(0 0 14px rgba(39,178,246,.5)); }
}
.et-logo-link:hover .et-logo-img {
  filter: drop-shadow(0 0 18px rgba(39,178,246,.7));
  transform: scale(1.04);
}
/* Health states */
.et-logo-link[data-health="warning"] .et-logo-img {
  animation: logoPulseWarning 1.8s ease-in-out infinite;
}
.et-logo-link[data-health="risk"] .et-logo-img {
  animation: logoPulseRisk 1s ease-in-out infinite;
}
@keyframes logoPulseWarning {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(245,158,11,.4)); }
  50%       { filter: drop-shadow(0 0 20px rgba(245,158,11,.8)); }
}
@keyframes logoPulseRisk {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(239,68,68,.5)); }
  50%       { filter: drop-shadow(0 0 24px rgba(239,68,68,.9)); }
}

/* ═══════════════════════════════════════════════════════════════════
   SWIPE SYSTEM STATES — Core Navigation
   ═══════════════════════════════════════════════════════════════════ */
#et-os-container {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: none;
  overflow: hidden;
  background: #040E1A;
}
#et-os-container.active { display: block; }

/* State track — horizontal scroll snap */
.et-os-track {
  display: flex;
  height: 100%;
  width: 500%;
  transition: transform .45s var(--snappy);
  will-change: transform;
}

/* Each state panel */
.et-os-state {
  width: 20%;
  height: 100%;
  flex-shrink: 0;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  background: linear-gradient(135deg, #040E1A 0%, #061529 100%);
}
.et-os-state::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--state-accent, rgba(11,84,183,.15)) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* State indicators */
.et-os-state[data-state="overview"]    { --state-accent: rgba(11,84,183,.2); }
.et-os-state[data-state="operations"] { --state-accent: rgba(39,178,246,.18); }
.et-os-state[data-state="enforcement"]{ --state-accent: rgba(239,68,68,.18); }
.et-os-state[data-state="compliance"] { --state-accent: rgba(139,92,246,.18); }
.et-os-state[data-state="intelligence"]{ --state-accent: rgba(16,185,129,.18); }

/* State header */
.et-os-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(24px);
  background: rgba(4,14,26,.85);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.et-os-header-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #E6EDF3;
  flex: 1;
}
.et-os-header-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  background: var(--badge-bg, rgba(11,84,183,.3));
  color: var(--badge-color, #7DD3FC);
  border: 1px solid var(--badge-border, rgba(11,84,183,.5));
}

/* Navigation dots */
.et-os-nav {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(4,14,26,.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 99px;
  padding: 10px 16px;
  display: none;
}
#et-os-container.active ~ .et-os-nav { display: flex; }

.et-os-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: all .3s var(--smooth);
  border: none;
}
.et-os-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--health-color, #0B54B7);
  box-shadow: var(--health-glow);
}

/* State labels bar */
.et-os-states-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9100;
  height: 48px;
  backdrop-filter: blur(24px);
  background: rgba(4,14,26,.9);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: none;
  align-items: center;
  padding: 0 20px;
  gap: 4px;
  overflow-x: auto;
}
#et-os-container.active ~ .et-os-states-bar { display: flex; }

.et-os-state-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  cursor: pointer;
  transition: all .25s var(--smooth);
  white-space: nowrap;
  background: none;
  border: none;
  font-family: inherit;
  flex-shrink: 0;
}
.et-os-state-btn.active {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.et-os-state-btn i { font-size: 12px; }

/* Close OS button */
.et-os-close {
  position: fixed;
  top: 58px;
  right: 20px;
  z-index: 9200;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
#et-os-container.active ~ .et-os-close { display: flex; }
.et-os-close:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ═══════════════════════════════════════════════════════════════════
   GLOW CARD SYSTEM
   ═══════════════════════════════════════════════════════════════════ */
.et-glow-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--spring), box-shadow .3s ease;
}
.et-glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.et-glow-card:hover::before { opacity: 1; }
.et-glow-card:hover { transform: translateY(-3px); }

.et-glow-card.glow-blue  { box-shadow: var(--glow-blue);  border-color: rgba(11,84,183,.3); }
.et-glow-card.glow-green { box-shadow: var(--glow-green); border-color: rgba(16,185,129,.3); }
.et-glow-card.glow-amber { box-shadow: var(--glow-amber); border-color: rgba(245,158,11,.3); }
.et-glow-card.glow-red   {
  box-shadow: var(--glow-red);
  border-color: rgba(239,68,68,.3);
  animation: glowRedPulse 2s ease-in-out infinite;
}
.et-glow-card.glow-purple{ box-shadow: var(--glow-purple); border-color: rgba(139,92,246,.3); }
@keyframes glowRedPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(239,68,68,.4), 0 0 60px rgba(239,68,68,.15); }
  50%       { box-shadow: 0 0 30px rgba(239,68,68,.7), 0 0 80px rgba(239,68,68,.35); }
}

/* ═══════════════════════════════════════════════════════════════════
   REAL-TIME LIVE EVENT SYSTEM
   ═══════════════════════════════════════════════════════════════════ */
#et-live-event-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 7900;
  pointer-events: none;
}
.et-live-event-toast {
  position: absolute;
  top: 70px;
  right: 20px;
  min-width: 280px;
  max-width: 340px;
  background: rgba(4,14,26,.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--event-color, #10B981);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4), var(--glow-green);
  transform: translateX(360px);
  transition: transform .4s var(--spring);
  pointer-events: all;
  cursor: pointer;
}
.et-live-event-toast.show { transform: translateX(0); }
.et-live-event-toast .event-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  background: var(--event-icon-bg, rgba(16,185,129,.2));
  color: var(--event-color, #10B981);
}
.et-live-event-toast .event-body { flex: 1; min-width: 0; }
.et-live-event-toast .event-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #E6EDF3;
  margin-bottom: 2px;
}
.et-live-event-toast .event-msg {
  font-size: 11.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}
.et-live-event-toast .event-time {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}

/* Live pulse dot */
.et-live-dot-os {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  animation: liveOsDot 1.5s ease-in-out infinite;
  margin-right: 6px;
}
@keyframes liveOsDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.5); }
}

/* ═══════════════════════════════════════════════════════════════════
   AI COMMAND PANEL (NEXT-GEN ⌘K)
   ═══════════════════════════════════════════════════════════════════ */
#et-ai-command {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(12px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
#et-ai-command.open { display: flex; }

.et-cmd-box {
  width: 90%;
  max-width: 620px;
  background: rgba(4,14,26,.96);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 60px rgba(11,84,183,.2);
  animation: cmdBoxIn .2s var(--spring);
}
@keyframes cmdBoxIn {
  from { opacity:0; transform: scale(.95) translateY(-20px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}

.et-cmd-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.et-cmd-input-wrap i { color: rgba(255,255,255,.4); font-size: 16px; flex-shrink: 0; }
#et-cmd-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 16px;
  color: #E6EDF3;
  font-family: 'Plus Jakarta Sans', sans-serif;
  caret-color: #27B2F6;
}
#et-cmd-input::placeholder { color: rgba(255,255,255,.25); }
.et-cmd-kbd {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  color: rgba(255,255,255,.4);
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}

.et-cmd-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px 0;
}
.et-cmd-results::-webkit-scrollbar { width: 4px; }
.et-cmd-results::-webkit-scrollbar-track { background: transparent; }
.et-cmd-results::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

.et-cmd-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  padding: 8px 20px 4px;
  font-family: 'JetBrains Mono', monospace;
}
.et-cmd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .15s;
  border-radius: 0;
}
.et-cmd-item:hover, .et-cmd-item.selected {
  background: rgba(11,84,183,.2);
}
.et-cmd-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.et-cmd-item-label {
  flex: 1;
  font-size: 14px;
  color: #E6EDF3;
  font-weight: 500;
}
.et-cmd-item-desc {
  font-size: 11.5px;
  color: rgba(255,255,255,.35);
  margin-top: 1px;
}
.et-cmd-item-shortcut {
  font-size: 10px;
  color: rgba(255,255,255,.25);
  font-family: 'JetBrains Mono', monospace;
  background: rgba(255,255,255,.06);
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.et-cmd-footer {
  padding: 10px 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  display: flex;
  gap: 16px;
  font-size: 11.5px;
  color: rgba(255,255,255,.25);
}
.et-cmd-footer kbd {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 10px;
  margin-right: 4px;
}

/* AI typing indicator in cmd */
.et-cmd-ai-response {
  margin: 8px 20px;
  padding: 14px 16px;
  background: rgba(11,84,183,.12);
  border: 1px solid rgba(11,84,183,.25);
  border-radius: 14px;
  font-size: 13.5px;
  color: #7DD3FC;
  line-height: 1.6;
  display: none;
}
.et-cmd-ai-response.visible { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform: none; } }

/* ═══════════════════════════════════════════════════════════════════
   COMPLIANCE ENGINE OVERLAY
   ═══════════════════════════════════════════════════════════════════ */
#et-compliance-overlay {
  position: fixed;
  inset: 0;
  z-index: 99000;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#et-compliance-overlay.open { display: flex; }

.et-compliance-panel {
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: rgba(4,14,26,.97);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 60px 120px rgba(0,0,0,.6), 0 0 80px rgba(139,92,246,.2);
  display: flex;
  flex-direction: column;
  animation: panelIn .3s var(--spring);
}
@keyframes panelIn {
  from { opacity:0; transform: scale(.92) translateY(20px); }
  to   { opacity:1; transform: none; }
}
.et-compliance-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(90deg, rgba(139,92,246,.15), transparent);
}
.et-compliance-body { flex: 1; overflow-y: auto; padding: 24px; }
.et-compliance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .et-compliance-grid { grid-template-columns: 1fr; } }

/* Compliance item cards */
.et-comp-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all .25s;
}
.et-comp-item:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); }
.et-comp-item.comp-ok    { border-color: rgba(16,185,129,.3); }
.et-comp-item.comp-warn  { border-color: rgba(245,158,11,.3); animation: warnBorder 3s ease-in-out infinite; }
.et-comp-item.comp-fail  { border-color: rgba(239,68,68,.4);  animation: glowRedPulse 2s ease-in-out infinite; }
@keyframes warnBorder {
  0%, 100% { border-color: rgba(245,158,11,.3); box-shadow: none; }
  50%       { border-color: rgba(245,158,11,.6); box-shadow: 0 0 20px rgba(245,158,11,.2); }
}

.et-comp-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.comp-ok .et-comp-status-dot  { background: #10B981; box-shadow: 0 0 8px rgba(16,185,129,.6); }
.comp-warn .et-comp-status-dot { background: #F59E0B; box-shadow: 0 0 8px rgba(245,158,11,.6); animation: dotPulse 2s infinite; }
.comp-fail .et-comp-status-dot { background: #EF4444; box-shadow: 0 0 8px rgba(239,68,68,.6); animation: dotPulse 1s infinite; }
@keyframes dotPulse { 0%, 100% { opacity:1; transform: scale(1); } 50% { opacity:.5; transform: scale(1.4); } }

/* Audit log */
.et-audit-log {
  margin-top: 20px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  overflow: hidden;
}
.et-audit-header {
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.et-audit-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 12.5px;
  transition: background .15s;
  cursor: pointer;
  animation: auditSlideIn .3s ease;
}
@keyframes auditSlideIn { from { opacity:0; transform: translateX(-10px); } to { opacity:1; transform: none; } }
.et-audit-entry:hover { background: rgba(255,255,255,.03); }
.et-audit-action {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}
.et-audit-time { color: rgba(255,255,255,.25); font-family: 'JetBrains Mono', monospace; font-size: 10px; flex-shrink: 0; margin-left: auto; }

/* ═══════════════════════════════════════════════════════════════════
   SOP WORKFLOW VISUALIZATION
   ═══════════════════════════════════════════════════════════════════ */
#et-sop-map {
  position: fixed;
  inset: 0;
  z-index: 98000;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 20px;
}
#et-sop-map.open { display: flex; }

.et-sop-canvas {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  overflow: auto;
  cursor: grab;
  user-select: none;
}
.et-sop-canvas:active { cursor: grabbing; }

.et-sop-grid {
  display: grid;
  grid-template-columns: repeat(4, 220px);
  gap: 24px;
  padding: 24px;
  min-width: 960px;
  transform-origin: top left;
  transition: transform .3s var(--smooth);
}

.et-sop-node {
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 18px;
  cursor: pointer;
  transition: all .25s var(--spring);
  position: relative;
}
.et-sop-node:hover {
  background: rgba(255,255,255,.1);
  transform: scale(1.04) translateY(-4px);
}
.et-sop-node.sop-ok {
  border-color: rgba(16,185,129,.4);
  box-shadow: 0 0 20px rgba(16,185,129,.15);
}
.et-sop-node.sop-active {
  border-color: rgba(11,84,183,.6);
  box-shadow: 0 0 20px rgba(11,84,183,.25), 0 0 60px rgba(11,84,183,.1);
  animation: sopActivePulse 2.5s ease-in-out infinite;
}
.et-sop-node.sop-blocked {
  border-color: rgba(239,68,68,.5);
  box-shadow: 0 0 20px rgba(239,68,68,.3);
  animation: glowRedPulse 1.5s ease-in-out infinite;
}
@keyframes sopActivePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(11,84,183,.25); }
  50%       { box-shadow: 0 0 40px rgba(11,84,183,.5), 0 0 80px rgba(11,84,183,.2); }
}

.et-sop-node-num {
  font-size: 10px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,.35);
  margin-bottom: 8px;
}
.et-sop-node-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #E6EDF3;
  margin-bottom: 4px;
}
.et-sop-node-desc {
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
  line-height: 1.4;
}
.et-sop-status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.sop-ok .et-sop-status-badge    { background: #10B981; box-shadow: 0 0 8px rgba(16,185,129,.7); }
.sop-active .et-sop-status-badge { background: #0B54B7; box-shadow: 0 0 8px rgba(11,84,183,.7); animation: dotPulse 1.5s infinite; }
.sop-blocked .et-sop-status-badge{ background: #EF4444; box-shadow: 0 0 8px rgba(239,68,68,.7); animation: dotPulse 1s infinite; }

/* ═══════════════════════════════════════════════════════════════════
   CONTEXT-AWARE HEALTH STRIP
   ═══════════════════════════════════════════════════════════════════ */
#et-system-health {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 7800;
  height: 3px;
  background: linear-gradient(90deg, #0B54B7, #27B2F6);
  transform-origin: left;
  transition: background 1s ease, transform .4s ease;
}
#et-system-health.health-warning { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
#et-system-health.health-risk    { background: linear-gradient(90deg, #EF4444, #F97316); animation: healthRisk 1.5s ease-in-out infinite; }
@keyframes healthRisk { 0%, 100% { opacity:1; } 50% { opacity:.5; } }

/* ═══════════════════════════════════════════════════════════════════
   MOBILE ELITE UX — Pull to Refresh, Thumb Zones, Tap-Hold
   ═══════════════════════════════════════════════════════════════════ */
#et-pull-refresh {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9500;
  background: rgba(4,14,26,.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 99px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #7DD3FC;
  transition: top .3s var(--smooth);
  pointer-events: none;
}
#et-pull-refresh.pulling { top: 16px; }
#et-pull-refresh i { animation: spinPull 1s linear infinite; }
@keyframes spinPull { to { transform: rotate(360deg); } }

/* Thumb zone safe area */
.et-thumb-safe { padding-bottom: max(80px, env(safe-area-inset-bottom)); }

/* Mobile haptic tap-hold menu */
.et-tap-hold-menu {
  position: fixed;
  z-index: 99999;
  background: rgba(4,14,26,.95);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  min-width: 180px;
  animation: tapMenuIn .2s var(--spring);
  display: none;
}
.et-tap-hold-menu.open { display: block; }
@keyframes tapMenuIn { from { opacity:0; transform: scale(.88); } to { opacity:1; transform: scale(1); } }
.et-tap-hold-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  color: #E6EDF3;
  cursor: pointer;
  transition: background .15s;
}
.et-tap-hold-item:hover { background: rgba(255,255,255,.08); }
.et-tap-hold-item i { width: 16px; text-align: center; color: rgba(255,255,255,.5); }

/* ═══════════════════════════════════════════════════════════════════
   CONTEXT-AWARE UI STATE BANNER
   ═══════════════════════════════════════════════════════════════════ */
#et-context-banner {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 7700;
  background: rgba(4,14,26,.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 99px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #E6EDF3;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all .4s var(--spring);
  white-space: nowrap;
}
#et-context-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════
   REAL-TIME HEATMAP
   ═══════════════════════════════════════════════════════════════════ */
.et-arrears-heatmap {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 16px 0;
}
.et-hm-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.et-hm-cell:hover { transform: scale(1.15); z-index: 10; }
.et-hm-cell[data-level="0"] { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.15); }
.et-hm-cell[data-level="1"] { background: rgba(245,158,11,.2); border-color: rgba(245,158,11,.3); }
.et-hm-cell[data-level="2"] { background: rgba(239,68,68,.3);  border-color: rgba(239,68,68,.4); box-shadow: 0 0 12px rgba(239,68,68,.2); }
.et-hm-cell[data-level="3"] { background: rgba(239,68,68,.6);  border-color: rgba(239,68,68,.7); box-shadow: 0 0 20px rgba(239,68,68,.4); animation: hmCellPulse 1.5s infinite; }
@keyframes hmCellPulse { 0%, 100% { opacity:1; } 50% { opacity:.6; } }

/* ═══════════════════════════════════════════════════════════════════
   OS BUTTON (Entry Point — Hero)
   ═══════════════════════════════════════════════════════════════════ */
#et-os-launch-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 7600;
  background: linear-gradient(135deg, #0B54B7, #073A84);
  border: 1.5px solid rgba(39,178,246,.3);
  border-radius: 18px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  box-shadow: var(--glow-blue);
  transition: all .3s var(--spring);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
#et-os-launch-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 30px rgba(11,84,183,.7), 0 0 80px rgba(11,84,183,.3);
}
#et-os-launch-btn i { font-size: 16px; }
#et-os-launch-btn .os-btn-pulse {
  width: 8px;
  height: 8px;
  background: #27B2F6;
  border-radius: 50%;
  animation: liveOsDot 1.5s infinite;
}

/* ═══════════════════════════════════════════════════════════════════
   SECURITY + TRUST SIGNALS (floating badge)
   ═══════════════════════════════════════════════════════════════════ */
#et-security-signal {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 7600;
  background: rgba(4,14,26,.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .3px;
}
#et-security-signal .sec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16,185,129,.8);
  animation: liveOsDot 2s infinite;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   BUTTON GLOW SYSTEM (global upgrade)
   ═══════════════════════════════════════════════════════════════════ */
.et-btn-primary, .et-btn.et-btn-primary {
  position: relative;
  overflow: hidden;
  transition: all .3s var(--spring) !important;
}
.et-btn-primary:hover, .et-btn.et-btn-primary:hover {
  box-shadow: 0 0 24px rgba(11,84,183,.6), 0 0 60px rgba(11,84,183,.25) !important;
  transform: translateY(-2px) !important;
}
.et-btn-primary::after, .et-btn.et-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.12) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.et-btn-primary:hover::after, .et-btn.et-btn-primary:hover::after {
  transform: translateX(100%);
}

/* ═══════════════════════════════════════════════════════════════════
   FREE TRIAL POPUP — PERMANENTLY REMOVED (CSS-level block)
   ═══════════════════════════════════════════════════════════════════ */
/* CSS-level suppression — JS handles the redirect to dashboard */
#et-demo-modal,
#et-demo-modal.open,
.et-trial-modal,
.et-trial-popup,
[id*="trial-popup"],
[id*="trial-modal"],
[class*="trial-popup"],
[class*="trial-modal"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
/* Allow the demo form inside landlord-dashboard to still be visible (it's not a popup) */
.db-layout #et-demo-modal { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════
   OS STATE CONTENT STYLES
   ═══════════════════════════════════════════════════════════════════ */
.et-os-content { padding: 24px; position: relative; z-index: 1; }
.et-os-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.et-os-kpi {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  transition: all .25s;
}
.et-os-kpi:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.et-os-kpi-val {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #E6EDF3;
  line-height: 1;
  margin-bottom: 6px;
}
.et-os-kpi-label {
  font-size: 11.5px;
  color: rgba(255,255,255,.4);
  font-weight: 500;
}
.et-os-kpi-delta {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 4px;
}
.et-os-kpi-delta.up { color: #10B981; }
.et-os-kpi-delta.down { color: #EF4444; }

.et-os-section-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: rgba(255,255,255,.8);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.et-os-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.06);
}

/* Rent progress bar */
.et-rent-progress {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}
.et-rent-progress-bar {
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
  margin: 12px 0;
}
.et-rent-progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #0B54B7, #27B2F6);
  box-shadow: 0 0 12px rgba(39,178,246,.5);
  transition: width 1.2s var(--smooth);
  width: 0%;
}

/* Enforcement row */
.et-enforce-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  margin-bottom: 10px;
  transition: all .2s;
  cursor: pointer;
}
.et-enforce-row:hover { background: rgba(255,255,255,.08); transform: translateX(4px); }
.et-enforce-row.critical { border-color: rgba(239,68,68,.3); box-shadow: 0 0 16px rgba(239,68,68,.1); }
.et-enforce-row.warning  { border-color: rgba(245,158,11,.25); }

/* SLA timer */
.et-sla-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  flex-shrink: 0;
}
.et-sla-timer.overdue { background: rgba(239,68,68,.2); color: #FCA5A5; animation: dotPulse 1.5s infinite; }
.et-sla-timer.urgent  { background: rgba(245,158,11,.2); color: #FCD34D; }
.et-sla-timer.ok      { background: rgba(16,185,129,.15); color: #6EE7B7; }

/* Intelligence AI cards */
.et-intel-card {
  background: linear-gradient(135deg, rgba(11,84,183,.15), rgba(39,178,246,.08));
  border: 1px solid rgba(11,84,183,.25);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all .25s;
}
.et-intel-card:hover { transform: translateY(-3px); box-shadow: var(--glow-blue); }
.et-intel-card.risk-card {
  background: linear-gradient(135deg, rgba(239,68,68,.15), rgba(239,68,68,.05));
  border-color: rgba(239,68,68,.3);
}
.et-intel-card.risk-card:hover { box-shadow: var(--glow-red); }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE / MOBILE OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .et-sop-grid { grid-template-columns: repeat(2, 200px); }
  .et-compliance-grid { grid-template-columns: 1fr; }
  .et-os-kpi-row { grid-template-columns: repeat(2, 1fr); }
  #et-os-launch-btn { bottom: 90px; right: 16px; padding: 10px 16px; font-size: 12px; }
  #et-security-signal { display: none; }
  .et-cmd-box { border-radius: 16px; }
}

@media (max-width: 480px) {
  .et-os-kpi-val { font-size: 22px; }
  .et-os-kpi-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ═══════════════════════════════════════════════════════════════════
   MICRO-INTERACTION UTILITIES
   ═══════════════════════════════════════════════════════════════════ */
.et-hover-lift {
  transition: transform .25s var(--spring), box-shadow .25s ease !important;
}
.et-hover-lift:hover { transform: translateY(-4px) !important; box-shadow: 0 12px 32px rgba(0,0,0,.15) !important; }

.et-glow-btn {
  position: relative;
  overflow: hidden;
  transition: box-shadow .3s ease, transform .2s var(--spring);
}
.et-glow-btn:hover { box-shadow: 0 0 24px rgba(11,84,183,.5); transform: translateY(-1px); }

/* Skeleton loading */
.et-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.06) 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s infinite;
  border-radius: 8px;
}
@keyframes skeletonPulse { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* Shimmer for live updates */
.et-shimmer {
  animation: shimmerIn .4s ease;
}
@keyframes shimmerIn {
  from { opacity:0; background-color: rgba(39,178,246,.1); }
  50%  { background-color: rgba(39,178,246,.15); }
  to   { opacity:1; background-color: transparent; }
}

/* Card update flash */
.et-value-updated {
  animation: valueFlash .6s ease;
}
@keyframes valueFlash {
  0%  { color: #27B2F6; text-shadow: 0 0 12px rgba(39,178,246,.8); }
  100%{ color: inherit; text-shadow: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   COMPLIANCE PANEL — Full ODPC/AML/KRA/Tax Engine
   ═══════════════════════════════════════════════════════════════════ */
.et-compliance-panel {
  width: 90%;
  max-width: 960px;
  max-height: 90vh;
  background: rgba(4,14,26,.97);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 60px 120px rgba(0,0,0,.6), 0 0 80px rgba(139,92,246,.15);
  display: flex;
  flex-direction: column;
  animation: cmdBoxIn .3s var(--spring);
}
.et-compliance-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(139,92,246,.08);
  flex-shrink: 0;
}
.et-compliance-body {
  overflow-y: auto;
  flex: 1;
  padding: 24px;
}
.et-compliance-body::-webkit-scrollbar { width: 4px; }
.et-compliance-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }
.et-compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.et-comp-item {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.et-comp-item.comp-ok {
  background: rgba(16,185,129,.06);
  border-color: rgba(16,185,129,.2);
}
.et-comp-item.comp-warn {
  background: rgba(245,158,11,.06);
  border-color: rgba(245,158,11,.25);
}
.et-comp-item.comp-fail {
  background: rgba(239,68,68,.08);
  border-color: rgba(239,68,68,.3);
  animation: compFailPulse 2s ease-in-out infinite;
}
@keyframes compFailPulse {
  0%,100% { box-shadow: none; }
  50%      { box-shadow: 0 0 16px rgba(239,68,68,.25); }
}
.et-comp-item:hover { transform: translateY(-2px); filter: brightness(1.1); }
.et-comp-status-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.comp-ok  .et-comp-status-dot { background: #10B981; box-shadow: 0 0 8px rgba(16,185,129,.6); }
.comp-warn .et-comp-status-dot { background: #F59E0B; box-shadow: 0 0 8px rgba(245,158,11,.6); animation: dotPulse 2s infinite; }
.comp-fail .et-comp-status-dot { background: #EF4444; box-shadow: 0 0 8px rgba(239,68,68,.8); animation: dotPulse 1s infinite; }

/* ═══════════════════════════════════════════════════════════════════
   AUDIT LOG — Full viewer
   ═══════════════════════════════════════════════════════════════════ */
.et-audit-log {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  overflow: hidden;
}
.et-audit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .5px;
  background: rgba(255,255,255,.02);
}
.et-audit-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .15s;
  cursor: pointer;
  font-size: 12.5px;
}
.et-audit-entry:last-child { border-bottom: none; }
.et-audit-entry:hover { background: rgba(255,255,255,.04); }
@keyframes auditSlideIn {
  from { opacity:0; transform: translateX(-8px); }
  to   { opacity:1; transform: none; }
}
.et-audit-action {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}
.et-audit-time {
  font-size: 10.5px;
  color: rgba(255,255,255,.25);
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   SOP WORKFLOW MAP — Zoomable / Clickable
   ═══════════════════════════════════════════════════════════════════ */
#et-sop-map {
  position: fixed;
  inset: 0;
  z-index: 99500;
  background: #040E1A;
  display: none;
  overflow: hidden;
}
#et-sop-map.open { display: block; }
.et-sop-canvas {
  width: 100%;
  height: calc(100vh - 56px);
  overflow: auto;
  padding: 32px 24px 80px;
}
.et-sop-grid {
  display: grid;
  grid-template-columns: repeat(4, 240px);
  gap: 24px;
  transform-origin: top left;
  transition: transform .3s var(--smooth);
  width: max-content;
}
.et-sop-node {
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 20px;
  cursor: pointer;
  transition: all .25s var(--spring);
  position: relative;
  overflow: hidden;
  min-height: 160px;
}
.et-sop-node::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--node-glow, rgba(11,84,183,.12)) 0%, transparent 70%);
  pointer-events: none;
}
.et-sop-node:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.et-sop-node.sop-ok   { --node-glow: rgba(16,185,129,.15); border-color: rgba(16,185,129,.25); }
.et-sop-node.sop-active { --node-glow: rgba(39,178,246,.2); border-color: rgba(39,178,246,.35); animation: sopActivePulse 2s ease-in-out infinite; }
.et-sop-node.sop-blocked { --node-glow: rgba(239,68,68,.2); border-color: rgba(239,68,68,.35); animation: sopBlockedPulse 1.5s ease-in-out infinite; }
@keyframes sopActivePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(39,178,246,0); }
  50%      { box-shadow: 0 0 0 6px rgba(39,178,246,.12); }
}
@keyframes sopBlockedPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
  50%      { box-shadow: 0 0 0 6px rgba(239,68,68,.2); }
}
.et-sop-status-badge {
  width: 10px; height: 10px; border-radius: 50%; position: absolute; top: 14px; right: 14px;
}
.sop-ok     .et-sop-status-badge { background: #10B981; box-shadow: 0 0 8px rgba(16,185,129,.8); }
.sop-active .et-sop-status-badge { background: #27B2F6; box-shadow: 0 0 8px rgba(39,178,246,.9); animation: dotPulse 1.2s infinite; }
.sop-blocked .et-sop-status-badge{ background: #EF4444; box-shadow: 0 0 10px rgba(239,68,68,.9); animation: dotPulse .8s infinite; }
.et-sop-node-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  color: rgba(255,255,255,.35); margin-bottom: 8px; letter-spacing: .5px;
}
.et-sop-node-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px; font-weight: 800; color: #E6EDF3; margin-bottom: 8px; line-height: 1.3;
}
.et-sop-node-desc {
  font-size: 11.5px; color: rgba(255,255,255,.4); line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════
   FINANCIAL ENGINE WIDGET
   ═══════════════════════════════════════════════════════════════════ */
.et-fin-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .15s; cursor: pointer; font-size: 12.5px;
}
.et-fin-row:hover { background: rgba(255,255,255,.03); }
.et-fin-row:last-child { border-bottom: none; }
.et-fin-label { flex:1; color: rgba(255,255,255,.65); }
.et-fin-value { font-family:'JetBrains Mono',monospace; font-weight:700; color:#E6EDF3; }
.et-fin-value.positive { color: #10B981; }
.et-fin-value.negative { color: #EF4444; }
.et-fin-delta { font-size:10px; font-weight:700; padding:2px 6px; border-radius:4px; flex-shrink:0; }
.et-fin-delta.up   { background:rgba(16,185,129,.15); color:#10B981; }
.et-fin-delta.down { background:rgba(239,68,68,.12);  color:#EF4444; }
.et-fin-delta.flat { background:rgba(255,255,255,.06); color:rgba(255,255,255,.35); }

/* Revenue trend bars */
.et-rev-bar-wrap {
  display:flex; align-items:flex-end; gap:4px;
  height:60px; padding-top:8px;
}
.et-rev-bar {
  flex:1; border-radius:4px 4px 0 0;
  background: linear-gradient(to top, #0B54B7, #27B2F6);
  opacity:.7; transition:all .4s ease; cursor:pointer; position:relative;
  min-width:8px;
}
.et-rev-bar:hover { opacity:1; transform:scaleY(1.04); }
.et-rev-bar.current { opacity:1; box-shadow:0 0 12px rgba(39,178,246,.4); background:linear-gradient(to top,#27B2F6,#7DD3FC); }

/* ═══════════════════════════════════════════════════════════════════
   MOBILE BOTTOM NAV (world-class)
   ═══════════════════════════════════════════════════════════════════ */
.et-mob-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 8000;
  background: rgba(4,14,26,.92); backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 0 8px env(safe-area-inset-bottom, 8px);
  display: none;
}
@media (max-width: 768px) { .et-mob-nav { display: block; } }
.et-mob-nav-list {
  display: flex; list-style: none; margin: 0; padding: 0; justify-content: space-around;
}
.et-mob-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 8px; text-decoration: none;
  font-size: 9.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: rgba(255,255,255,.35); transition: color .2s;
  border: none; background: none; cursor: pointer; font-family: inherit; min-width: 52px;
  position: relative;
}
.et-mob-nav-item i { font-size: 18px; transition: transform .2s var(--spring); }
.et-mob-nav-item.active { color: #27B2F6; }
.et-mob-nav-item.active i { transform: translateY(-2px); filter: drop-shadow(0 0 6px rgba(39,178,246,.6)); }
.et-mob-nav-badge {
  position: absolute; top: 6px; right: 6px;
  background: #EF4444; color: #fff; font-size: 8px; font-weight: 800;
  padding: 1px 4px; border-radius: 99px; border: 1.5px solid rgba(4,14,26,.9);
  min-width: 14px; text-align: center; line-height: 1.4;
}

/* Thumb-safe CTA zone */
.et-thumb-cta {
  position: fixed; bottom: 72px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 12px;
  padding: 0 16px; z-index: 7900; pointer-events: none;
}
.et-thumb-cta > * { pointer-events: all; }
@media (min-width: 769px) { .et-thumb-cta { display: none; } }

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL RIPPLE + MICRO-INTERACTIONS
   ═══════════════════════════════════════════════════════════════════ */
@keyframes rippleExpand {
  to { transform: scale(4); opacity: 0; }
}
.et-ripple-ring {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,.25); animation: rippleExpand .6s ease-out forwards;
  transform-origin: center;
}

/* Neon button glow pulse */
@keyframes neonPulse {
  0%,100% { box-shadow: 0 0 8px var(--glow-c, rgba(11,84,183,.4)); }
  50%      { box-shadow: 0 0 20px var(--glow-c, rgba(11,84,183,.7)), 0 0 40px var(--glow-c, rgba(11,84,183,.3)); }
}
.et-neon-btn { animation: neonPulse 3s ease-in-out infinite; }

/* Framer-style spring bounce */
@keyframes springBounce {
  0%   { transform: scale(0.9); }
  60%  { transform: scale(1.04); }
  80%  { transform: scale(0.98); }
  100% { transform: scale(1); }
}
.et-spring-in { animation: springBounce .5s var(--spring) both; }

/* Glassmorphism card */
.et-glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

/* ═══════════════════════════════════════════════════════════════════
   FREE TRIAL POPUP — HARD CSS BLOCK (ALL selectors)
   ═══════════════════════════════════════════════════════════════════ */
#et-demo-modal,
#et-demo-modal.open,
.et-trial-modal,
.et-trial-popup,
[class*="trial-modal"],
[class*="trial-popup"],
[id*="trial-popup"],
[id*="trial-modal"],
[id*="free-trial"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   TEAM ACCESS BADGE + ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */
#et-access-badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════
   OPERATIONS STATE — M-Pay, Leases, Maintenance
   ═══════════════════════════════════════════════════════════════════ */
.et-ops-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 14px;
  transition: all .25s;
  cursor: pointer;
}
.et-ops-card:hover { background: rgba(255,255,255,.08); transform: translateX(4px); }

/* M-Pay progress */
.et-mpay-bar {
  height: 6px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; margin: 10px 0 6px;
}
.et-mpay-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #10B981, #059669);
  box-shadow: 0 0 10px rgba(16,185,129,.5);
  transition: width 1s var(--smooth);
  width: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE MOBILE (max 480px)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .et-sop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .et-compliance-grid { grid-template-columns: 1fr; }
  .et-cmd-box { width: 95%; border-radius: 16px 16px 0 0; }
  #et-ai-command { align-items: flex-end; padding-top: 0; }
  .et-os-kpi-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .et-os-kpi-val { font-size: 20px; }
  .et-live-event-toast { min-width: 260px; max-width: calc(100vw - 32px); right: 16px; }
  #et-os-launch-btn span { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   DARK MODE COMPLIANCE PANEL
   ═══════════════════════════════════════════════════════════════════ */
[data-theme="light"] .et-compliance-panel,
[data-theme="light"] #et-ai-command .et-cmd-box {
  /* stays dark — these are OS-mode panels */
}

/* @keyframe dotPulse (ensure available) */
@keyframes dotPulse {
  0%,100% { opacity:1; transform: scale(1); }
  50%      { opacity:.4; transform: scale(1.4); }
}

/* ═══════════════════════════════════════════════════════════════════
   DRAG-AND-DROP WIDGET SYSTEM (Dashboard widgets)
   ═══════════════════════════════════════════════════════════════════ */
.et-widget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  padding: 0;
}
.et-widget {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  position: relative;
  cursor: grab;
  user-select: none;
}
.et-widget:active { cursor: grabbing; }
.et-widget.dragging {
  opacity: .7;
  transform: scale(1.02) rotate(1deg);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  z-index: 1000;
}
.et-widget.drag-over {
  border-color: #27B2F6;
  box-shadow: 0 0 0 2px rgba(39,178,246,.3);
}
.et-widget-handle {
  cursor: grab;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 4px;
  color: #D1D5DB;
  transition: color .15s;
}
.et-widget-handle:hover { color: #6B7280; }
.et-widget-expand-btn {
  background: none;
  border: none;
  color: #9CA3AF;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 13px;
  transition: all .15s;
}
.et-widget-expand-btn:hover { background: #F3F4F6; color: #374151; }

/* Widget fullscreen expand */
.et-widget-fullscreen {
  position: fixed !important;
  inset: 20px !important;
  z-index: 89000 !important;
  border-radius: 20px !important;
  box-shadow: 0 40px 80px rgba(0,0,0,.3) !important;
  transform: none !important;
  overflow-y: auto !important;
  cursor: default !important;
  animation: masterZoomIn .25s ease;
}
@keyframes masterZoomIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}
.et-widget-fullscreen-backdrop {
  position: fixed;
  inset: 0;
  z-index: 88999;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
}

/* Live filter bar */
.et-live-filter {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 8px 12px;
  background: #F8FAFC;
  border-bottom: 1px solid #F1F5F9;
}
.et-filter-chip {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 99px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.et-filter-chip.active,
.et-filter-chip:hover {
  background: #0B54B7;
  border-color: #0B54B7;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   SLA PROGRESS RINGS
   ═══════════════════════════════════════════════════════════════════ */
.et-sla-ring-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.et-sla-ring-wrap svg { transform: rotate(-90deg); }
.et-sla-ring-val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════════════
   TOAST QUEUE — STACKED NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════════ */
.et-toast-stack {
  position: fixed;
  top: 24px;
  right: 20px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.et-toast-stack > * { pointer-events: all; }

/* ═══════════════════════════════════════════════════════════════════
   SWIPE GESTURE INDICATORS
   ═══════════════════════════════════════════════════════════════════ */
.et-swipe-hint {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7800;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 11px;
  color: rgba(255,255,255,.7);
  animation: swipeHintFade 4s ease forwards;
  pointer-events: none;
}
@keyframes swipeHintFade {
  0%   { opacity: 0; transform: translateX(-50%) translateY(10px); }
  15%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   REVENUE HEATMAP CALENDAR
   ═══════════════════════════════════════════════════════════════════ */
.et-rev-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-top: 12px;
}
.et-rev-day {
  aspect-ratio: 1;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .1s;
  position: relative;
}
.et-rev-day:hover { transform: scale(1.2); z-index: 2; }
.et-rev-day[data-level="0"] { background: rgba(16,185,129,.08); }
.et-rev-day[data-level="1"] { background: rgba(16,185,129,.25); }
.et-rev-day[data-level="2"] { background: rgba(16,185,129,.50); }
.et-rev-day[data-level="3"] { background: rgba(16,185,129,.80); }

/* ═══════════════════════════════════════════════════════════════════
   ANIMATED FAB (Floating Action Button) RING
   ═══════════════════════════════════════════════════════════════════ */
.et-fab-ring-btn {
  position: relative;
  overflow: hidden;
}
.et-fab-ring-btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(#27B2F6, #0B54B7, #8B5CF6, #27B2F6);
  z-index: -1;
  opacity: 0;
  transition: opacity .3s;
}
.et-fab-ring-btn:hover::after { opacity: 1; animation: spinGrad 2s linear infinite; }
@keyframes spinGrad { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════════
   QUICK LAUNCH BAR (dashboard top)
   ═══════════════════════════════════════════════════════════════════ */
#et-quick-launch-bar {
  border-bottom: 1px solid #F3F4F6;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
#et-quick-launch-bar button {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════
   GLOW CARD STATES (context-aware)
   ═══════════════════════════════════════════════════════════════════ */
.et-card-glow-blue { box-shadow: 0 0 20px rgba(11,84,183,.2) !important; border-color: rgba(11,84,183,.3) !important; }
.et-card-glow-green { box-shadow: 0 0 20px rgba(16,185,129,.2) !important; border-color: rgba(16,185,129,.3) !important; }
.et-card-glow-red { box-shadow: 0 0 20px rgba(239,68,68,.3) !important; border-color: rgba(239,68,68,.4) !important; animation: contextRed 2s infinite !important; }
.et-card-glow-amber { box-shadow: 0 0 20px rgba(245,158,11,.2) !important; border-color: rgba(245,158,11,.3) !important; }
@keyframes contextRed {
  0%,100% { box-shadow: 0 0 20px rgba(239,68,68,.2); }
  50%      { box-shadow: 0 0 30px rgba(239,68,68,.5); }
}

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL NEON BUTTON STYLE (glassmorphism buttons)
   ═══════════════════════════════════════════════════════════════════ */
.et-btn-neon-blue {
  background: linear-gradient(135deg, rgba(11,84,183,.8), rgba(39,178,246,.8));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(39,178,246,.4);
  color: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s var(--spring);
  box-shadow: 0 4px 15px rgba(11,84,183,.3);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.et-btn-neon-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11,84,183,.5), 0 0 15px rgba(39,178,246,.4);
}

.et-btn-neon-green {
  background: linear-gradient(135deg, rgba(16,185,129,.8), rgba(5,150,105,.8));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(16,185,129,.4);
  color: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s var(--spring);
  box-shadow: 0 4px 15px rgba(16,185,129,.3);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.et-btn-neon-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16,185,129,.5), 0 0 15px rgba(16,185,129,.4);
}

/* ═══════════════════════════════════════════════════════════════════
   SCROLLBAR POLISH
   ═══════════════════════════════════════════════════════════════════ */
.et-sop-body::-webkit-scrollbar,
.et-comply-body::-webkit-scrollbar,
.et-doc-body::-webkit-scrollbar,
.et-maint-body::-webkit-scrollbar,
.et-ai-results::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.et-sop-body::-webkit-scrollbar-thumb,
.et-comply-body::-webkit-scrollbar-thumb,
.et-doc-body::-webkit-scrollbar-thumb,
.et-maint-body::-webkit-scrollbar-thumb,
.et-ai-results::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.12);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES for new master engine panels
   ═══════════════════════════════════════════════════════════════════ */
[data-theme="light"] .et-sop-overlay,
[data-theme="light"] .et-comply-overlay,
[data-theme="light"] .et-ai-overlay,
[data-theme="light"] .et-doc-overlay,
[data-theme="light"] .et-maint-overlay {
  /* Panels stay dark even in light mode — they're fullscreen overlays */
}
[data-theme="light"] #et-trust-bar {
  background: rgba(15,23,42,.85);
}
[data-theme="light"] .et-ws-badge {
  background: rgba(13,27,42,.88);
}

/* Mobile safe areas */
@media (max-width: 768px) {
  #et-quick-launch-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }
  #et-quick-launch-bar::-webkit-scrollbar { display: none; }
  .et-trust-bar { display: none; }
  .et-sop-modal,
  .et-comply-modal,
  .et-doc-modal,
  .et-maint-modal {
    border-radius: 20px 20px 0 0;
    max-height: 95dvh;
    width: 100vw;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SLA RING WIDGET (Maintenance KPI Card)
   ═══════════════════════════════════════════════════════════════════ */
.sla-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sla-ring-wrap svg {
  filter: drop-shadow(0 0 4px currentColor);
}
@keyframes slaRingIn {
  from { stroke-dashoffset: 100.5; }
}
#sla-rings-row circle[id^="sla-ring"] {
  animation: slaRingIn 1.2s ease forwards;
}

/* ═══════════════════════════════════════════════════════════════════
   DARK MODE — full engine panel overrides
   ═══════════════════════════════════════════════════════════════════ */

/* When body has dark mode class added by dashboard toggle */
body.db-dark .et-sop-modal,
body.db-dark .et-comply-modal,
body.db-dark .et-ai-modal,
body.db-dark .et-doc-modal,
body.db-dark .et-maint-modal {
  background: #0D1117;
  border-color: rgba(255,255,255,.1);
}
body.db-dark .et-sop-header,
body.db-dark .et-comply-header,
body.db-dark .et-doc-header,
body.db-dark .et-maint-header {
  background: rgba(4,14,26,.9);
  border-bottom-color: rgba(255,255,255,.08);
}
body.db-dark .et-sop-body,
body.db-dark .et-comply-body,
body.db-dark .et-doc-body,
body.db-dark .et-maint-body {
  background: #0D1117;
  color: #E6EDF3;
}
body.db-dark .et-comp-item,
body.db-dark .et-doc-row,
body.db-dark .et-ticket-card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
  color: #C9D1D9;
}
body.db-dark .et-comp-item:hover,
body.db-dark .et-doc-row:hover,
body.db-dark .et-ticket-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(39,178,246,.4);
}
/* Ensure AI overlay modal uses deep dark in dark mode */
body.db-dark .et-ai-overlay {
  background: rgba(0,0,0,.85);
}
body.db-dark .et-ai-modal {
  background: #0D1117;
  border-color: rgba(255,255,255,.08);
}
body.db-dark .et-ai-search-input {
  color: #E6EDF3;
  background: transparent;
}
body.db-dark .et-ai-result-item {
  color: #C9D1D9;
}
body.db-dark .et-ai-result-item:hover,
body.db-dark .et-ai-result-item.selected {
  background: rgba(39,178,246,.15);
  color: #fff;
}

/* SOP dark mode node overrides */
body.db-dark .et-sop-node {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
body.db-dark .et-sop-node:hover {
  border-color: rgba(39,178,246,.5);
  background: rgba(39,178,246,.06);
}

/* Compliance dark mode */
body.db-dark .et-comp-grid {
  background: transparent;
}

/* ═══════════════════════════════════════════════════════════════════
   SWIPE HINT for first-time OS users (mobile)
   ═══════════════════════════════════════════════════════════════════ */
#et-swipe-hint {
  display: none;
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11,84,183,.92);
  color: #fff;
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(11,84,183,.4);
  animation: swipeHintFade 3s ease forwards;
}
@keyframes swipeHintFade {
  0%   { opacity:0; transform: translateX(-50%) translateY(6px); }
  15%  { opacity:1; transform: translateX(-50%) translateY(0); }
  70%  { opacity:1; }
  100% { opacity:0; transform: translateX(-50%) translateY(-4px); }
}
@media (max-width: 768px) {
  #et-swipe-hint { display: block; }
}

/* ═══════════════════════════════════════════════════════════════════
   DRAG-AND-DROP LANDLORD DASHBOARD WIDGET GRID
   ═══════════════════════════════════════════════════════════════════ */
.et-drag-widget {
  position: relative;
  cursor: grab;
  transition: opacity .2s, transform .15s, box-shadow .2s;
}
.et-drag-widget:active { cursor: grabbing; }
.et-drag-widget.et-dragging {
  opacity: .55;
  transform: scale(1.03) rotate(0.5deg);
  box-shadow: 0 24px 60px rgba(11,84,183,.25);
  z-index: 999;
}
.et-drag-widget.et-drag-over {
  box-shadow: 0 0 0 2.5px #27B2F6, 0 0 20px rgba(39,178,246,.2);
}
.et-drag-handle {
  position: absolute;
  top: 10px;
  right: 12px;
  cursor: grab;
  color: rgba(255,255,255,.25);
  font-size: 13px;
  z-index: 2;
  padding: 4px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.et-drag-handle:hover {
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.08);
}
.et-drag-placeholder {
  border: 2px dashed rgba(39,178,246,.4);
  border-radius: 18px;
  background: rgba(39,178,246,.04);
  min-height: 80px;
}


