/* ═══════════════════════════════════════════════════════════
   SLC Innovates — Design System v2.0
   Apple-inspired: clean, purposeful, no decorative chrome.
   System font stack · subtle shadows · refined spacing.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* ── Dark Apple backgrounds ── */
  --bg-deep:        #0a0a0a;
  --bg-0:           #000000;
  --bg-1:           rgba(255,255,255,0.028);
  --bg-2:           rgba(255,255,255,0.050);
  --bg-3:           #1a1a1a;
  --bg-4:           #242424;
  --bg-panel:       rgba(255,255,255,0.055);
  --bg-panel-solid: #111113;
  --bg-panel-hover: rgba(255,255,255,0.090);
  --bg-hover:       rgba(255,255,255,0.070);
  --bg-glass:       rgba(12,12,12,0.82);
  --bg-glass-strong:rgba(8,8,8,0.92);

  /* ── Borders ── */
  --border-1:       rgba(255,255,255,0.07);
  --border-2:       rgba(255,255,255,0.12);
  --border-3:       rgba(255,255,255,0.20);
  --frame:          rgba(255,255,255,0.08);
  --frame-light:    rgba(255,255,255,0.13);
  --frame-bright:   rgba(255,255,255,0.22);

  /* ── Text ── */
  --text-1: rgba(255,255,255,0.88);
  --text-2: rgba(255,255,255,0.52);
  --text-3: rgba(255,255,255,0.30);

  /* ── SLC Emerald + Apple accent palette ── */
  --teal:             #32c896;
  --teal-dim:         rgba(50,200,150,0.13);
  --teal-dark:        #24a878;
  --cyan:             #2997ff;
  --cyan-light:       #6ab8ff;
  --cyan-dim:         rgba(41,151,255,0.13);
  --border-cyan:      rgba(41,151,255,0.28);
  --border-cyan-dim:  rgba(41,151,255,0.15);
  --border-cyan-glow: rgba(41,151,255,0.18);
  --blue:             #0a84ff;
  --blue-dim:         rgba(10,132,255,0.13);
  --blue-deep:        #004ea0;
  --gold:             #ff9f0a;
  --gold-dim:         rgba(255,159,10,0.13);
  --gold-glow:        rgba(255,159,10,0.20);
  --green:            #30d158;
  --green-dim:        rgba(48,209,88,0.13);
  --red:              #ff453a;
  --red-dim:          rgba(255,69,58,0.13);
  --amber:            #ff9f0a;
  --amber-dim:        rgba(255,159,10,0.13);
  --purple:           #bf5af2;
  --purple-dim:       rgba(191,90,242,0.13);

  /* ── Gradients ── */
  --gradient-brand:  linear-gradient(135deg, #32c896 0%, #2997ff 100%);
  --gradient-teal:   linear-gradient(135deg, #24a878, #32c896);
  --gradient-header: linear-gradient(135deg, rgba(50,200,150,0.07) 0%, rgba(41,151,255,0.04) 100%);

  /* ── Shadows — clean depth, no glows ── */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.55);
  --shadow-md:    0 4px 14px rgba(0,0,0,0.55);
  --shadow-lg:    0 8px 28px rgba(0,0,0,0.65);
  --shadow-glow:  none;
  --shadow-card:  0 2px 8px rgba(0,0,0,0.45);
  --shadow-float: 0 20px 60px rgba(0,0,0,0.80);

  /* ── Radius ── */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 14px;
  --r-xl: 18px;

  /* ── Motion ── */
  --ease:        cubic-bezier(.16,1,.3,1);
  --ease-smooth: cubic-bezier(0.4,0,0.2,1);

  /* ── Fonts — Apple system stack ── */
  --font:         -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-ar:      'Tajawal', 'Noto Kufi Arabic', -apple-system, system-ui, sans-serif;
  --mono:         'SF Mono', 'Menlo', 'Monaco', 'Cascadia Mono', 'Courier New', monospace;
  --font-display: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* ── Layout ── */
  --sidebar-w: 240px;
  --topbar-h:  52px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text-1);
  min-height: 100vh; overflow: hidden; height: 100vh;
  font-weight: 400; letter-spacing: -0.01em;
}
[dir="rtl"] { font-family: var(--font-ar); }

/* Remove all HUD chrome */
.crt-overlay, .bg-circuit, .bg-nodes { display: none; }

/* ═══════ LANDING / LOGIN ═══════ */
.landing-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-0);
}
.landing-container { width:100%; max-width:560px; padding:32px 24px; }
.landing-brand { text-align:center; margin-bottom:48px; }
.landing-logo { position:relative; display:inline-flex; align-items:center; justify-content:center; width:80px; height:80px; margin-bottom:16px; }
.landing-logo-core {
  width:56px; height:56px; border-radius:14px;
  background: var(--gradient-brand);
  display:flex; align-items:center; justify-content:center; z-index:2;
}
.landing-orbit, .landing-orbit-dot { display:none; }
.landing-title { font-size:1.8rem; font-weight:800; color:var(--text-1); letter-spacing:-0.04em; }
.landing-subtitle { font-size:0.78rem; color:var(--text-3); margin-top:4px; }
.landing-subtitle::after { display:none; }

/* Crosshair scan lines — hidden */
.login-crosshair-h, .login-crosshair-v { display: none; }

/* Logo bar */
.login-logo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 10px 24px;
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--frame);
}

/* Login card */
.login-card {
  position: relative; z-index: 10;
  width: 92%; max-width: 420px; margin: 58px auto 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--frame-light); border-radius: 20px;
  padding: 40px 36px 32px;
  box-shadow: var(--shadow-float);
  animation: loginFadeUp 0.5s var(--ease) 0.1s both;
}
@keyframes loginFadeUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

/* Remove corner bracket decorations */
.login-corner-tr, .login-corner-bl { display: none; }

.login-brand-icon {
  width: 52px; height: 52px; margin: 0 auto 14px;
  border-radius: 14px; background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(50,200,150,0.30);
}
.login-brand-icon svg {
  width: 26px; height: 26px; fill: none; stroke: #fff;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.login-title {
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em;
  color: var(--text-1); font-family: var(--font-display);
}
.login-title-ar { font-family: var(--font-ar); font-size: 0.9rem; color: var(--text-2); margin-top: 2px; }
.login-divider {
  width: 36px; height: 2px; margin: 12px auto;
  border-radius: 1px; background: var(--gradient-brand);
}
.login-desc { font-size: 0.72rem; color: var(--text-3); font-family: var(--font); }
.login-badge {
  font-size: 0.68rem; padding: 2px 10px; border-radius: 99px;
  letter-spacing: 0.02em; font-weight: 500; font-family: var(--font);
}
.login-badge-green { border: 1px solid rgba(48,209,88,0.30); color: var(--green); background: var(--green-dim); }
.login-badge-gold  { border: 1px solid rgba(255,159,10,0.30); color: var(--amber); background: var(--amber-dim); }

.login-label {
  display: block; font-size: 0.72rem; font-weight: 600;
  color: var(--text-2); letter-spacing: 0.02em; margin-bottom: 6px;
}
.login-field {
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  border-radius: var(--r-sm); background: rgba(255,255,255,0.07);
  border: 1px solid var(--frame-light);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.login-field:focus-within {
  border-color: var(--cyan); background: rgba(41,151,255,0.08);
  box-shadow: 0 0 0 3px rgba(41,151,255,0.12);
}
.login-field-icon {
  width: 16px; height: 16px; flex-shrink: 0; fill: none;
  stroke: var(--text-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.15s;
}
.login-field:focus-within .login-field-icon { stroke: var(--cyan); }
.login-field-input {
  flex: 1; background: transparent; border: none;
  padding: 11px 0; color: var(--text-1);
  font-family: var(--font); font-size: 0.88rem; outline: none;
}
.login-field-input::placeholder { color: var(--text-3); }

.login-btn-primary {
  width: 100%; padding: 12px 0; border-radius: var(--r-md);
  border: none; background: var(--cyan); color: #fff;
  font-family: var(--font); font-size: 0.88rem; font-weight: 600;
  letter-spacing: -0.01em; cursor: pointer;
  transition: filter 0.15s, transform 0.1s;
}
.login-btn-primary:hover  { filter: brightness(1.1); }
.login-btn-primary:active { transform: scale(0.98); }
.login-btn-primary:disabled {
  background: var(--bg-3); color: var(--text-3); cursor: not-allowed;
}
.login-btn-guest {
  width: 100%; padding: 10px 0; display: flex; align-items: center;
  justify-content: center; gap: 8px; border-radius: var(--r-md);
  background: transparent; border: 1px solid var(--frame-light);
  color: var(--text-2); font-family: var(--font); font-size: 0.82rem;
  cursor: pointer; transition: background 0.15s;
}
.login-btn-guest:hover { background: var(--bg-hover); }

/* ═══════ APP LAYOUT ═══════ */
.app { display: flex; height: 100vh; position: relative; z-index: 1; }

/* ═══════ SIDEBAR ═══════ */
.sidebar {
  width: var(--sidebar-w); height: 100vh;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid var(--frame);
  display: flex; flex-direction: column;
  position: relative; z-index: 100; flex-shrink: 0;
  overflow-y: auto; overflow-x: hidden;
}
[dir="rtl"] .sidebar { border-right: none; border-left: 1px solid var(--frame); }

.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px; border-bottom: 1px solid var(--frame); flex-shrink: 0;
}
.brand-logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  overflow: hidden;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.brand-logo svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.5; }
.brand-text-primary { font-size: 0.84rem; font-weight: 700; color: var(--text-1); letter-spacing: -0.02em; }
.brand-text-sub { font-size: 0.62rem; color: var(--text-3); margin-top: 1px; }

.sidebar-nav { flex: 1; padding: 6px 8px; overflow-y: auto; }
.nav-label {
  padding: 12px 8px 4px; font-size: 0.60rem; font-weight: 600;
  color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-btn {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 7px 10px; border: none; background: transparent;
  color: var(--text-2); font-family: var(--font); font-size: 0.82rem;
  font-weight: 500; cursor: pointer;
  transition: background 0.12s, color 0.12s;
  text-align: start; border-radius: var(--r-sm);
}
[dir="rtl"] .nav-btn { font-family: var(--font-ar); }
.nav-btn .icon {
  width: 16px; height: 16px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; opacity: 0.60; transition: opacity 0.12s;
}
.nav-btn .icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nav-btn:hover { background: var(--bg-hover); color: var(--text-1); }
.nav-btn:hover .icon { opacity: 1; }
.nav-btn.active { background: rgba(41,151,255,0.14); color: var(--cyan); }
.nav-btn.active .icon { opacity: 1; }

.sidebar-bottom {
  padding: 10px 8px 14px; border-top: 1px solid var(--frame); flex-shrink: 0;
}
.version-text { font-size: 0.58rem; color: var(--text-3); text-align: center; margin-top: 4px; }

/* ═══════ MAIN + TOPBAR ═══════ */
.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }

.topbar {
  height: var(--topbar-h); display: flex; align-items: center;
  justify-content: space-between; padding: 0 20px;
  border-bottom: 1px solid var(--frame);
  background: var(--bg-glass); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  flex-shrink: 0; z-index: 50;
}
.topbar-left { display: flex; align-items: center; gap: 10px; }
.top-title { font-size: 0.88rem; font-weight: 600; color: var(--text-1); letter-spacing: -0.02em; }
.top-sub   { font-size: 0.66rem; color: var(--text-3); margin-top: 1px; }
.topbar-right { display: flex; align-items: center; gap: 6px; }
.topbar-btn {
  padding: 4px 10px; border-radius: 8px; border: 1px solid var(--frame-light);
  background: var(--bg-hover); color: var(--text-2);
  font-family: var(--font); font-size: 0.74rem;
  cursor: pointer; transition: all 0.12s;
}
.topbar-btn:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); }
.topbar-year-select {
  padding: 4px 8px; border-radius: 8px;
  border: 1px solid var(--frame-light); background: var(--bg-hover);
  color: var(--text-1); font-family: var(--font); font-size: 0.74rem;
  cursor: pointer; -webkit-appearance: none; appearance: none;
  padding-inline-end: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpolyline points='1,1 5,5 9,1' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px;
}
[dir="rtl"] .topbar-year-select { background-position: left 6px center; padding-inline-start: 20px; padding-inline-end: 8px; }
.topbar-year-select:focus { outline: none; border-color: var(--cyan); }

/* ═══════ CONTENT ═══════ */
.content {
  flex: 1; overflow-y: auto; padding: 22px;
  scrollbar-width: thin; scrollbar-color: var(--border-2) transparent;
  animation: pageFadeSlide 0.32s var(--ease);
}
.content::-webkit-scrollbar { width: 5px; }
.content::-webkit-scrollbar-track { background: transparent; }
.content::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
@keyframes pageFadeSlide { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:translateY(0)} }

/* ═══════ DASHBOARD STAT CARDS ═══════ */
.dash-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 18px; }
.stat-card {
  padding: 16px 18px; border-radius: var(--r-lg);
  background: var(--bg-panel); border: 1px solid var(--frame);
  position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  animation: slideUp 0.3s var(--ease) both;
}
.stat-card:hover { border-color: var(--frame-bright); transform: translateY(-1px); }
.stat-card::before, .stat-card::after { display: none; }
.stat-card:nth-child(1) { animation-delay:0.03s; }
.stat-card:nth-child(2) { animation-delay:0.06s; }
.stat-card:nth-child(3) { animation-delay:0.09s; }
.stat-card:nth-child(4) { animation-delay:0.12s; }
.stat-label { font-size: 0.68rem; color: var(--text-3); font-weight: 500; margin-bottom: 6px; letter-spacing: 0.01em; }
.stat-value { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.04em; color: var(--text-1); }
.stat-sub   { font-size: 0.68rem; color: var(--text-3); margin-top: 4px; }
.stat-icon {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; opacity: 0.20;
}
[dir="rtl"] .stat-icon { right: auto; left: 14px; }
.stat-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ═══════ SECTION PANELS ═══════ */
.section-panel {
  background: var(--bg-panel); border: 1px solid var(--frame);
  border-radius: var(--r-lg); margin-bottom: 14px; overflow: hidden;
  animation: slideUp 0.3s var(--ease) both; transition: border-color 0.2s;
}
.section-panel:hover { border-color: var(--frame-light); }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; border-bottom: 1px solid var(--frame);
}
.section-title { font-size: 0.82rem; font-weight: 600; color: var(--text-1); letter-spacing: -0.01em; }
.section-body  { padding: 16px 18px; }

/* ═══════ STRATEGY MAP ═══════ */
.strategy-vision {
  text-align: center; padding: 26px 24px; margin-bottom: 18px;
  background: var(--gradient-header);
  border: 1px solid var(--frame); border-radius: var(--r-lg);
  position: relative; overflow: hidden;
}
.strategy-vision::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-brand);
}
.vision-label {
  font-size: 0.62rem; color: var(--teal); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 8px; font-weight: 600;
}
.vision-text  { font-size: 1.15rem; font-weight: 600; color: var(--text-1); line-height: 1.6; letter-spacing: -0.02em; }
.mission-label {
  font-size: 0.60rem; color: var(--text-3); letter-spacing: 0.10em;
  text-transform: uppercase; margin-top: 16px; margin-bottom: 6px; font-weight: 500;
}
.mission-text { font-size: 0.84rem; color: var(--text-2); line-height: 1.6; max-width: 680px; margin: 0 auto; }

.priorities-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.priority-card {
  padding: 15px 18px; border-radius: var(--r-lg); background: var(--bg-panel);
  border: 1px solid var(--frame); position: relative; overflow: hidden;
  transition: border-color 0.2s; animation: slideUp 0.3s var(--ease) both;
}
.priority-card::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--gradient-teal);
}
[dir="rtl"] .priority-card::before { left: auto; right: 0; }
.priority-card:hover { border-color: var(--teal); }
.priority-label { font-size: 0.60rem; color: var(--teal); letter-spacing: 0.10em; text-transform: uppercase; margin-bottom: 5px; font-weight: 600; }
.priority-text  { font-size: 0.84rem; color: var(--text-1); line-height: 1.5; }

.perspectives-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.perspective-section {
  background: var(--bg-panel); border: 1px solid var(--frame);
  border-radius: var(--r-lg); overflow: hidden;
  animation: slideUp 0.3s var(--ease) both; transition: border-color 0.2s;
}
.perspective-section:hover { border-color: var(--frame-light); }
.perspective-header {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid var(--frame);
  cursor: pointer; transition: background 0.12s;
}
.perspective-header:hover { background: var(--bg-hover); }
.perspective-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.perspective-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.perspective-name     { font-size: 0.80rem; font-weight: 600; letter-spacing: -0.01em; }
.perspective-progress { margin-inline-start: auto; font-size: 0.78rem; font-weight: 600; color: var(--text-2); }

.perspective-objectives { padding: 12px 18px; }
.obj-row {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px;
  border-radius: var(--r-md); border: 1px solid var(--frame);
  margin-bottom: 7px; transition: all 0.15s; cursor: pointer;
}
.obj-row:hover { border-color: var(--border-2); background: var(--bg-hover); }
.obj-number {
  width: 24px; height: 24px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.70rem; font-weight: 700; flex-shrink: 0;
}
.obj-name { flex: 1; font-size: 0.80rem; color: var(--text-1); line-height: 1.4; }
.obj-progress-bar { width: 80px; height: 3px; background: var(--frame); border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.obj-progress-fill { height: 100%; border-radius: 2px; transition: width 0.5s var(--ease); }
.obj-pct { font-size: 0.72rem; font-weight: 600; width: 34px; text-align: end; flex-shrink: 0; color: var(--text-2); }

/* ═══════ OBJECTIVES PAGE ═══════ */
.obj-detail-card {
  background: var(--bg-panel); border: 1px solid var(--frame);
  border-radius: var(--r-lg); margin-bottom: 10px; overflow: hidden;
  animation: slideUp 0.3s var(--ease) both; transition: border-color 0.2s;
}
.obj-detail-card:hover { border-color: var(--frame-light); }
.obj-detail-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--frame);
  cursor: pointer; transition: background 0.12s;
}
.obj-detail-header:hover { background: var(--bg-hover); }
.obj-detail-body { padding: 16px 18px; display: none; }
.obj-detail-card.expanded .obj-detail-body { display: block; }

/* ═══════ KPI TABLE ═══════ */
.kpi-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.kpi-table th {
  padding: 8px 14px; font-size: 0.66rem; font-weight: 600;
  color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase;
  text-align: start; border-bottom: 1px solid var(--frame); white-space: nowrap;
}
.kpi-table td {
  padding: 10px 14px; font-size: 0.80rem; color: var(--text-1);
  border-bottom: 1px solid rgba(255,255,255,0.045); vertical-align: middle;
}
.kpi-table tbody tr { transition: background 0.12s; }
.kpi-table tbody tr:hover { background: var(--bg-hover); }
.kpi-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.018); }
.kpi-table tbody tr:nth-child(even):hover { background: var(--bg-hover); }
.kpi-name  { font-weight: 500; max-width: 280px; }
.kpi-value { font-variant-numeric: tabular-nums; font-weight: 600; }
.kpi-unit  { font-size: 0.66rem; color: var(--text-3); }

/* KPI status badges — Apple semantic colors */
.kpi-status {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 99px;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.02em;
}
.kpi-status.on-track  { background: var(--green-dim); color: var(--green); border: 1px solid rgba(48,209,88,0.25); }
.kpi-status.at-risk   { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(255,159,10,0.25); }
.kpi-status.off-track { background: var(--red-dim);   color: var(--red);   border: 1px solid rgba(255,69,58,0.25); }
.kpi-status.no-data   { background: rgba(255,255,255,0.055); color: var(--text-2); border: 1px solid var(--frame); }
/* Remove pulse animations */
@keyframes kpiPulseGreen {} @keyframes kpiPulseAmber {} @keyframes kpiPulseRed {}

/* ═══════ INITIATIVES ═══════ */
.init-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px,1fr)); gap: 12px; }
.init-card {
  padding: 16px; border-radius: var(--r-lg); background: var(--bg-panel);
  border: 1px solid var(--frame); position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  animation: slideUp 0.3s var(--ease) both;
}
.init-card::before, .init-card::after { display: none; }
.init-card:hover { border-color: var(--frame-light); transform: translateY(-1px); box-shadow: var(--shadow-card); }
.init-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.init-name { font-size: 0.86rem; font-weight: 600; color: var(--text-1); line-height: 1.4; flex: 1; letter-spacing: -0.01em; }
.init-status-badge {
  padding: 2px 8px; border-radius: 99px; font-size: 0.62rem;
  font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; flex-shrink: 0;
}
.init-status-badge.planned     { background: var(--cyan-dim); color: var(--cyan); border: 1px solid var(--border-cyan-dim); }
.init-status-badge.in_progress { background: var(--teal-dim); color: var(--teal); border: 1px solid rgba(50,200,150,0.22); }
.init-status-badge.completed   { background: var(--green-dim); color: var(--green); border: 1px solid rgba(48,209,88,0.22); }
.init-status-badge.delayed     { background: var(--red-dim); color: var(--red); border: 1px solid rgba(255,69,58,0.22); }
.init-status-badge.cancelled   { background: rgba(255,255,255,0.05); color: var(--text-2); border: 1px solid var(--frame); }

.init-obj-link { font-size: 0.68rem; color: var(--text-3); margin-bottom: 9px; }
.init-progress-bar { width: 100%; height: 3px; background: var(--frame); border-radius: 2px; overflow: hidden; margin-bottom: 8px; }
.init-progress-fill { height: 100%; border-radius: 2px; background: var(--teal); transition: width 0.5s var(--ease); }
.init-meta    { display: flex; gap: 12px; font-size: 0.66rem; color: var(--text-3); }
.init-actions { display: flex; gap: 5px; margin-top: 10px; }

/* ═══════ ACHIEVEMENTS ═══════ */
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 12px; }
.ach-card {
  padding: 16px; border-radius: var(--r-lg); background: var(--bg-panel);
  border: 1px solid var(--frame); position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  animation: slideUp 0.3s var(--ease) both;
}
.ach-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-brand);
}
.ach-card:hover { border-color: var(--frame-light); transform: translateY(-1px); box-shadow: var(--shadow-card); }
.ach-date  { font-size: 0.65rem; color: var(--teal); font-weight: 600; margin-bottom: 7px; }
.ach-title { font-size: 0.92rem; font-weight: 700; color: var(--text-1); margin-bottom: 5px; letter-spacing: -0.02em; }
.ach-desc  { font-size: 0.78rem; color: var(--text-2); line-height: 1.55; margin-bottom: 9px; }
.ach-tags  { display: flex; flex-wrap: wrap; gap: 4px; }
.ach-tag   {
  padding: 2px 8px; border-radius: 6px; font-size: 0.62rem;
  background: var(--teal-dim); color: var(--teal); font-weight: 500;
}
.ach-actions { display: flex; gap: 5px; margin-top: 9px; }

/* ═══════ POLICY ═══════ */
.policy-items { display: flex; flex-direction: column; gap: 7px; }
.policy-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border-radius: var(--r-md); background: var(--bg-panel);
  border: 1px solid var(--frame);
  border-inline-start: 3px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s, background 0.15s;
  animation: slideUp 0.3s var(--ease) both;
}
.policy-item:hover { border-color: var(--border-2); }
.policy-item.done {
  border-inline-start-color: var(--teal);
  background: linear-gradient(90deg, rgba(50,200,150,0.05), transparent 70%);
}
[dir="rtl"] .policy-item.done { background: linear-gradient(270deg, rgba(50,200,150,0.05), transparent 70%); }
.policy-check {
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--frame-light);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all 0.15s; flex-shrink: 0; background: transparent;
}
.policy-check:hover { border-color: var(--teal); }
.policy-check.checked { background: var(--teal); border-color: var(--teal); color: #fff; }
.policy-check svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.policy-text { font-size: 0.82rem; color: var(--text-1); line-height: 1.4; flex: 1; }
.policy-item.done .policy-text { color: var(--text-3); text-decoration: line-through; }

/* ═══════ BUTTONS ═══════ */
.btn {
  padding: 6px 14px; border-radius: var(--r-md);
  border: 1px solid var(--frame-light); background: var(--bg-hover);
  color: var(--text-2); font-family: var(--font); font-size: 0.78rem;
  font-weight: 500; cursor: pointer; transition: all 0.12s;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
[dir="rtl"] .btn { font-family: var(--font-ar); }
.btn:hover  { border-color: var(--frame-bright); color: var(--text-1); background: var(--bg-panel-hover); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.btn-primary {
  background: var(--cyan); border-color: transparent; color: #fff; font-weight: 600;
}
.btn-primary:hover { filter: brightness(1.10); background: var(--cyan); border-color: transparent; color: #fff; }
.btn-danger  { background: var(--red-dim); border-color: rgba(255,69,58,0.28); color: var(--red); }
.btn-danger:hover { background: rgba(255,69,58,0.22); }
.btn-sm { padding: 4px 9px; font-size: 0.72rem; border-radius: var(--r-sm); }

/* ═══════ MODALS ═══════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(0,0,0,0.60); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.18s;
}
.modal {
  width: 90%; max-width: 580px; max-height: 86vh; overflow-y: auto;
  background: #141416; border: 1px solid var(--frame-light);
  border-radius: 20px; box-shadow: var(--shadow-float);
  animation: modalIn 0.28s var(--ease);
}
@keyframes modalIn { from{opacity:0;transform:scale(0.96) translateY(12px)} to{opacity:1;transform:scale(1) translateY(0)} }
@keyframes fadeIn  { from{opacity:0} to{opacity:1} }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; border-bottom: 1px solid var(--frame);
}
.modal-title { font-size: 0.88rem; font-weight: 600; color: var(--text-1); letter-spacing: -0.02em; }
.modal-close {
  width: 26px; height: 26px; border-radius: 50%; border: none;
  background: var(--bg-hover); color: var(--text-2); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.12s;
}
.modal-close:hover { background: var(--red-dim); color: var(--red); }
.modal-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.modal-body   { padding: 18px 20px; }
.modal-footer { padding: 12px 20px; border-top: 1px solid var(--frame); display: flex; justify-content: flex-end; gap: 8px; }
.modal-footer .btn-danger { margin-inline-end: auto; }

/* ── Form Controls ── */
.form-group   { margin-bottom: 14px; }
.form-label   {
  display: block; font-size: 0.70rem; font-weight: 600;
  color: var(--text-2); letter-spacing: 0.02em; margin-bottom: 5px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 9px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--frame-light); background: rgba(255,255,255,0.06);
  color: var(--text-1); font-family: var(--font); font-size: 0.82rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
[dir="rtl"] .form-input, [dir="rtl"] .form-select, [dir="rtl"] .form-textarea { font-family: var(--font-ar); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(41,151,255,0.14);
}
.form-textarea { min-height: 80px; resize: vertical; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-select option { background: #1a1a1e; color: var(--text-1); }

/* ═══════ PROGRESS RING ═══════ */
.progress-ring-container { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.progress-ring-label { position: absolute; font-weight: 700; letter-spacing: -0.03em; }

/* ═══════ CHARTS ═══════ */
.chart-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.chart-panel {
  background: var(--bg-panel); border: 1px solid var(--frame);
  border-radius: var(--r-lg); padding: 16px;
  animation: slideUp 0.3s var(--ease) both; transition: border-color 0.2s;
}
.chart-panel:hover { border-color: var(--frame-light); }
.chart-title { font-size: 0.68rem; font-weight: 600; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }

/* ═══════ DONUT CHART ═══════ */
.donut-chart  { position: relative; width: 130px; height: 130px; margin: 0 auto; }
.donut-center { position: absolute; inset: 20%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.donut-value  { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.04em; }
.donut-label  { font-size: 0.58rem; color: var(--text-3); }
.donut-legend { margin-top: 14px; display: flex; flex-direction: column; gap: 5px; align-items: center; }
.legend-item  { display: flex; align-items: center; gap: 6px; font-size: 0.70rem; color: var(--text-2); }
.legend-dot   { width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0; }

/* ═══════ EMPTY STATE ═══════ */
.empty-state  { text-align: center; padding: 44px 24px; color: var(--text-3); }
.empty-icon   { margin-bottom: 10px; opacity: 0.25; }
.empty-icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1; }
.empty-title  { font-size: 0.84rem; font-weight: 600; margin-bottom: 4px; color: var(--text-2); }
.empty-sub    { font-size: 0.74rem; }

/* ═══════ TOASTS ═══════ */
#toastContainer { position: fixed; bottom: 20px; right: 20px; z-index: 9000; display: flex; flex-direction: column; gap: 6px; }
[dir="rtl"] #toastContainer { right: auto; left: 20px; }
.toast {
  padding: 10px 16px; border-radius: var(--r-md); font-size: 0.78rem;
  font-family: var(--font); transform: translateX(120%);
  transition: transform 0.24s var(--ease); max-width: 320px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid; box-shadow: var(--shadow-md);
}
[dir="rtl"] .toast { transform: translateX(-120%); }
.toast.show    { transform: translateX(0); }
.toast-success { background: rgba(48,209,88,0.14);  color: var(--green); border-color: rgba(48,209,88,0.26); }
.toast-error   { background: rgba(255,69,58,0.14);  color: var(--red);   border-color: rgba(255,69,58,0.26); }
.toast-info    { background: rgba(41,151,255,0.14); color: var(--cyan);  border-color: rgba(41,151,255,0.26); }

/* ═══════ ANIMATIONS ═══════ */
@keyframes slideUp     { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
@keyframes cardEntry   { from{opacity:0;transform:translateY(14px) scale(0.97)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes gradientShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes statusPulse {} /* intentionally empty — no pulse in Apple theme */

/* ═══════ STAGGER ═══════ */
.stagger-children > *:nth-child(1) { animation-delay:0.03s; }
.stagger-children > *:nth-child(2) { animation-delay:0.06s; }
.stagger-children > *:nth-child(3) { animation-delay:0.09s; }
.stagger-children > *:nth-child(4) { animation-delay:0.12s; }
.stagger-children > *:nth-child(5) { animation-delay:0.15s; }
.stagger-children > *:nth-child(6) { animation-delay:0.18s; }
.stagger-children > *:nth-child(7) { animation-delay:0.21s; }
.stagger-children > *:nth-child(8) { animation-delay:0.24s; }

/* ═══════ MOBILE ═══════ */
.mobile-burger {
  display: none; width: 34px; height: 34px; border: none; border-radius: var(--r-sm);
  background: transparent; color: var(--text-2); cursor: pointer;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.mobile-burger svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.sidebar-backdrop { display: none; position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,0.50); }

.bottom-dock {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--bg-glass-strong); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--frame); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.dock-items { display: flex; justify-content: space-around; align-items: center; }
.dock-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 5px 8px; border: none; background: transparent; color: var(--text-3);
  font-family: var(--font); font-size: 0.56rem; cursor: pointer;
  border-radius: var(--r-sm); transition: all 0.12s; min-width: 48px;
}
.dock-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dock-btn.active { color: var(--cyan); background: var(--cyan-dim); }
.dock-btn:active { transform: scale(0.90); }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 1024px) {
  .dash-grid { grid-template-columns: repeat(2,1fr); }
  .chart-row { grid-template-columns: 1fr; }
  .priorities-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sidebar {
    position: fixed; top: 0; left: 0; height: 100vh; z-index: 200;
    transform: translateX(-100%); transition: transform 0.3s var(--ease);
  }
  [dir="rtl"] .sidebar { left: auto; right: 0; transform: translateX(100%); }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-float); }
  .sidebar-backdrop.visible { display: block; }
  .mobile-burger { display: flex; }
  .bottom-dock { display: block; }
  .main { margin-left: 0 !important; }
  .content { padding: 14px 12px 80px; }
  .topbar { padding: 0 14px; }
  .top-title { font-size: 0.82rem; }
  .top-sub   { font-size: 0.60rem; }
  .dash-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat-card { padding: 13px; }
  .stat-value { font-size: 1.35rem; }
  .stat-icon  { display: none; }
  .form-row  { grid-template-columns: 1fr; }
  .chart-row { grid-template-columns: 1fr; gap: 10px; }
  .init-grid { grid-template-columns: 1fr; }
  .ach-grid  { grid-template-columns: 1fr; }
  .kpi-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .kpi-table th, .kpi-table td { white-space: nowrap; padding: 8px 10px; font-size: 0.74rem; }
  .modal { width: 95%; margin: 0 8px; border-radius: var(--r-xl); }
  .modal-body   { padding: 14px 16px; }
  .modal-header { padding: 12px 16px; }
  .modal-footer { padding: 10px 16px; }
  .login-card { margin-top: 64px; padding: 28px 20px; }
  #toastContainer { bottom: 68px; right: 10px; left: 10px; }
  .toast { max-width: none; }
  .section-header { padding: 10px 14px; }
  .section-body   { padding: 12px 14px; }
}
@media (max-width: 380px) {
  .dash-grid { grid-template-columns: 1fr; }
  .stat-value { font-size: 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════
   APPLE LIGHT THEME  (theme-negative)
   ═══════════════════════════════════════════════════════════ */
body.theme-negative {
  --bg-deep:        #f5f5f7;
  --bg-0:           #f5f5f7;
  --bg-1:           rgba(0,0,0,0.022);
  --bg-2:           rgba(0,0,0,0.040);
  --bg-3:           #e5e5ea;
  --bg-4:           #d1d1d6;
  --bg-panel:       #ffffff;
  --bg-panel-solid: #f5f5f7;
  --bg-panel-hover: rgba(0,0,0,0.028);
  --bg-hover:       rgba(0,0,0,0.040);
  --bg-glass:       rgba(245,245,247,0.84);
  --bg-glass-strong:rgba(245,245,247,0.94);

  --border-1:       rgba(0,0,0,0.07);
  --border-2:       rgba(0,0,0,0.12);
  --border-3:       rgba(0,0,0,0.18);
  --frame:          rgba(0,0,0,0.08);
  --frame-light:    rgba(0,0,0,0.11);
  --frame-bright:   rgba(0,0,0,0.18);

  --text-1: #1d1d1f;
  --text-2: #3a3a3c;
  --text-3: #6e6e73;

  --teal:             #1da17b;
  --teal-dim:         rgba(29,161,123,0.10);
  --teal-dark:        #168262;
  --cyan:             #0071e3;
  --cyan-light:       #0077ed;
  --cyan-dim:         rgba(0,113,227,0.09);
  --border-cyan:      rgba(0,113,227,0.28);
  --border-cyan-dim:  rgba(0,113,227,0.14);
  --border-cyan-glow: rgba(0,113,227,0.16);
  --blue:             #0066cc;
  --blue-dim:         rgba(0,102,204,0.09);
  --blue-deep:        #003e99;
  --gold:             #c87000;
  --gold-dim:         rgba(200,112,0,0.09);
  --gold-glow:        rgba(200,112,0,0.16);
  --green:            #1c8f3a;
  --green-dim:        rgba(28,143,58,0.10);
  --red:              #c0392b;
  --red-dim:          rgba(192,57,43,0.09);
  --amber:            #c07000;
  --amber-dim:        rgba(192,112,0,0.09);
  --purple:           #7030a0;
  --purple-dim:       rgba(112,48,160,0.09);

  --gradient-brand:   linear-gradient(135deg, #1da17b, #0071e3);
  --gradient-teal:    linear-gradient(135deg, #168262, #1da17b);
  --gradient-header:  linear-gradient(135deg, rgba(29,161,123,0.05), rgba(0,113,227,0.04));

  --shadow-sm:    0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.09);
  --shadow-lg:    0 8px 24px rgba(0,0,0,0.11);
  --shadow-card:  0 2px 8px rgba(0,0,0,0.07);
  --shadow-float: 0 20px 60px rgba(0,0,0,0.15);

  color: #1d1d1f;
}

body.theme-negative .landing-overlay { background: #f5f5f7; }
body.theme-negative .login-logo-bar  {
  background: rgba(245,245,247,0.84);
  border-bottom-color: rgba(0,0,0,0.08);
}
body.theme-negative .login-card {
  background: rgba(255,255,255,0.88);
  border-color: rgba(0,0,0,0.10);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
body.theme-negative .login-brand-icon { box-shadow: 0 4px 16px rgba(29,161,123,0.20); }
body.theme-negative .login-field      { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.10); }
body.theme-negative .login-field:focus-within {
  border-color: var(--cyan);
  background: rgba(0,113,227,0.05);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.10);
}
body.theme-negative .login-field-icon { stroke: rgba(0,0,0,0.28); }
body.theme-negative .login-field:focus-within .login-field-icon { stroke: var(--cyan); }
body.theme-negative .login-field-input { color: #1d1d1f; }
body.theme-negative .login-field-input::placeholder { color: rgba(0,0,0,0.28); }
body.theme-negative .login-title  { color: #1d1d1f; }
body.theme-negative .login-title-ar { color: #3a3a3c; }
body.theme-negative .login-label  { color: #6e6e73; }
body.theme-negative .login-btn-primary:disabled { background: #d1d1d6; color: #6e6e73; }
body.theme-negative .sidebar {
  background: rgba(255,255,255,0.75);
  border-right-color: rgba(0,0,0,0.08);
}
[dir="rtl"] body.theme-negative .sidebar { border-left-color: rgba(0,0,0,0.08); }
body.theme-negative .topbar {
  background: rgba(245,245,247,0.84);
  border-bottom-color: rgba(0,0,0,0.08);
}
body.theme-negative .topbar-btn { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.10); color: #3a3a3c; }
body.theme-negative .topbar-btn:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); }
body.theme-negative .topbar-year-select {
  background-color: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.10); color: #1d1d1f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpolyline points='1,1 5,5 9,1' fill='none' stroke='rgba(0,0,0,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.theme-negative .bottom-dock { background: rgba(245,245,247,0.94); border-top-color: rgba(0,0,0,0.08); }
body.theme-negative .dock-btn.active { color: var(--cyan); background: var(--cyan-dim); }
body.theme-negative .dock-btn { color: #6e6e73; }
body.theme-negative .sidebar-backdrop { background: rgba(0,0,0,0.20); }
body.theme-negative .modal { background: #ffffff; }
body.theme-negative .form-input,
body.theme-negative .form-select,
body.theme-negative .form-textarea { background: rgba(0,0,0,0.03); color: #1d1d1f; border-color: rgba(0,0,0,0.10); }
body.theme-negative .form-input::placeholder,
body.theme-negative .form-textarea::placeholder { color: rgba(0,0,0,0.28); }
body.theme-negative .form-select option { background: #ffffff; }
body.theme-negative .modal-overlay { background: rgba(0,0,0,0.28); }
body.theme-negative .toast { background: #ffffff; }
body.theme-negative .toast-success { background: rgba(28,143,58,0.10); color: var(--green); border-color: rgba(28,143,58,0.25); }
body.theme-negative .toast-error   { background: rgba(192,57,43,0.10); color: var(--red); border-color: rgba(192,57,43,0.25); }
body.theme-negative .toast-info    { background: rgba(0,113,227,0.10); color: var(--cyan); border-color: rgba(0,113,227,0.25); }
body.theme-negative .kpi-table tbody tr:nth-child(even)       { background: rgba(0,0,0,0.018); }
body.theme-negative .kpi-table td { border-bottom-color: rgba(0,0,0,0.05); color: #1d1d1f; }
body.theme-negative .kpi-table th { color: #6e6e73; }
body.theme-negative .kpi-table tbody tr:hover { background: rgba(0,113,227,0.03); }
body.theme-negative .btn { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.10); color: #3a3a3c; }
body.theme-negative .btn:hover { border-color: rgba(0,0,0,0.18); color: #1d1d1f; background: rgba(0,0,0,0.07); }
body.theme-negative .btn-primary { background: var(--cyan); border-color: transparent; color: #fff; }
body.theme-negative .btn-danger  { background: var(--red-dim); border-color: rgba(192,57,43,0.25); color: var(--red); }
body.theme-negative .btn-danger:hover { background: rgba(192,57,43,0.16); }
body.theme-negative .nav-btn.active { background: rgba(0,113,227,0.12); color: var(--cyan); }

/* ═══════ SYNC STYLES ═══════ */
.sync-card {
  padding: 16px; border-radius: var(--r-lg); background: var(--bg-panel);
  border: 1px solid var(--frame); margin-bottom: 12px;
  animation: slideUp 0.3s var(--ease) both; transition: border-color 0.2s;
}
.sync-card:hover { border-color: var(--frame-light); }
.sync-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sync-card-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sync-card-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sync-card-title { font-size: 0.80rem; font-weight: 600; letter-spacing: -0.01em; }
.sync-steps { display: grid; gap: 8px; }
.sync-step { display: flex; gap: 10px; align-items: flex-start; font-size: 0.80rem; color: var(--text-2); line-height: 1.5; }
.sync-step-num {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 0.68rem; font-weight: 700;
}
.sync-preview {
  padding: 9px 12px; background: var(--bg-2); border: 1px solid var(--frame);
  border-radius: var(--r-sm); font-family: var(--mono); font-size: 0.72rem;
  color: var(--cyan); word-break: break-all; margin-top: 8px;
}
.sync-folder-tree {
  padding: 9px 12px; background: var(--bg-2); border: 1px solid var(--frame);
  border-radius: var(--r-sm); font-family: var(--mono); font-size: 0.72rem; line-height: 1.8;
}

/* ═══════ DGEP TOOL STRIP ═══════ */
.dgep-tools-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 7px;
  margin-bottom: 14px; padding: 9px 12px;
  background: linear-gradient(90deg, rgba(255,159,10,0.07), rgba(255,159,10,0.02) 80%);
  border: 1px solid rgba(255,159,10,0.18); border-radius: var(--r-md);
}
.dgep-tools-label { font-size: 0.60rem; font-weight: 600; letter-spacing: 0.08em; color: var(--gold); margin-inline-end: 6px; }
.dgep-tool-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 99px;
  background: rgba(255,159,10,0.10); border: 1px solid rgba(255,159,10,0.22);
  color: var(--text-1); text-decoration: none; font-size: 0.72rem; font-weight: 500;
  transition: background 0.12s, transform 0.12s;
}
.dgep-tool-pill:hover { background: rgba(255,159,10,0.18); transform: translateY(-1px); }
.dgep-tool-arrow { color: var(--gold); font-size: 0.66rem; }

/* External nav link */
.nav-btn-external { text-decoration: none; color: var(--text-2); }
.nav-btn-external .nav-external-arrow {
  margin-inline-start: auto; font-size: 0.66rem;
  color: var(--gold); opacity: 0.55; transition: opacity 0.12s;
}
.nav-btn-external:hover .nav-external-arrow { opacity: 1; }

/* Gradient border utility */
.gradient-border { position: relative; }
.gradient-border::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--gradient-brand); background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   v2.0 NEW FEATURE STYLES
   ═══════════════════════════════════════════════════════════ */

/* ── My View greeting bar ── */
.my-view-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--r-lg);
  background: var(--gradient-header); border: 1px solid var(--frame);
  margin-bottom: 16px; animation: slideUp 0.3s var(--ease) both; flex-wrap: wrap;
}
.my-view-greeting { font-size: 0.96rem; font-weight: 700; color: var(--text-1); letter-spacing: -0.02em; }
.my-view-sub { font-size: 0.70rem; color: var(--text-3); margin-top: 2px; }
.my-view-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-inline-start: auto; }
.my-view-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 99px;
  font-size: 0.70rem; font-weight: 600; cursor: pointer;
  border: 1px solid; transition: filter 0.12s;
}
.my-view-chip:hover { filter: brightness(1.15); }
.my-view-chip.alert { background: var(--red-dim);   color: var(--red);   border-color: rgba(255,69,58,0.28); }
.my-view-chip.warn  { background: var(--amber-dim); color: var(--amber); border-color: rgba(255,159,10,0.28); }
.my-view-chip.ok    { background: var(--teal-dim);  color: var(--teal);  border-color: rgba(50,200,150,0.28); }
.my-view-chip.info  { background: var(--cyan-dim);  color: var(--cyan);  border-color: rgba(41,151,255,0.28); }

/* ── Priority badges ── */
.priority-badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 1px 6px; border-radius: 5px; font-size: 0.59rem;
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.priority-badge.high   { background: var(--red-dim);   color: var(--red);   border: 1px solid rgba(255,69,58,0.22); }
.priority-badge.medium { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(255,159,10,0.22); }
.priority-badge.low    { background: var(--green-dim); color: var(--green); border: 1px solid rgba(48,209,88,0.22); }

/* ── Health / trend indicator ── */
.health-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 0.65rem; font-weight: 600; padding: 2px 7px; border-radius: 99px;
}
.health-badge.trending-up   { color: var(--green); background: var(--green-dim); }
.health-badge.trending-down { color: var(--red);   background: var(--red-dim); }
.health-badge.stable        { color: var(--text-3); background: rgba(255,255,255,0.05); }

/* ── KPI alert strip ── */
.kpi-alert-strip {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px; border-radius: var(--r-md);
  background: var(--red-dim); border: 1px solid rgba(255,69,58,0.22);
  margin-bottom: 8px; animation: slideUp 0.3s var(--ease) both;
  cursor: pointer; transition: border-color 0.12s;
}
.kpi-alert-strip:hover { border-color: var(--red); }
.kpi-alert-name   { font-size: 0.80rem; font-weight: 600; color: var(--text-1); flex: 1; }
.kpi-alert-detail { font-size: 0.70rem; color: var(--red); white-space: nowrap; }

/* ── Filter bar ── */
.filter-bar {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 12px;
}
.filter-chip {
  padding: 4px 12px; border-radius: 99px; font-size: 0.72rem; font-weight: 500;
  border: 1px solid var(--frame-light); background: var(--bg-hover);
  color: var(--text-2); cursor: pointer; transition: all 0.12s;
}
.filter-chip:hover  { border-color: var(--frame-bright); color: var(--text-1); }
.filter-chip.active { background: var(--cyan-dim); border-color: var(--border-cyan); color: var(--cyan); }

/* ── Timeline view (Events) ── */
.timeline { position: relative; padding-inline-start: 24px; }
.timeline::before {
  content: ''; position: absolute; inset-inline-start: 5px; top: 4px; bottom: 4px;
  width: 2px; background: var(--frame); border-radius: 1px;
}
.timeline-item { position: relative; margin-bottom: 16px; }
.timeline-dot {
  position: absolute; inset-inline-start: -19px; top: 5px;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--bg-deep); background: var(--teal);
}
.timeline-date { font-size: 0.64rem; color: var(--teal); font-weight: 600; margin-bottom: 5px; letter-spacing: 0.02em; }
.timeline-card {
  padding: 13px 15px; border-radius: var(--r-md);
  background: var(--bg-panel); border: 1px solid var(--frame);
  transition: border-color 0.15s;
}
.timeline-card:hover { border-color: var(--frame-light); }
.timeline-title { font-size: 0.84rem; font-weight: 600; color: var(--text-1); margin-bottom: 3px; }
.timeline-meta  { font-size: 0.68rem; color: var(--text-3); }

/* ── View toggle ── */
.view-toggle {
  display: flex; border: 1px solid var(--frame-light); border-radius: var(--r-sm); overflow: hidden;
}
.view-toggle-btn {
  padding: 5px 10px; border: none; background: transparent;
  color: var(--text-3); font-size: 0.72rem; cursor: pointer; transition: all 0.12s;
  display: flex; align-items: center; gap: 4px;
}
.view-toggle-btn:hover  { background: var(--bg-hover); color: var(--text-2); }
.view-toggle-btn.active { background: var(--cyan-dim); color: var(--cyan); }
.view-toggle-btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ── Export modal items ── */
.export-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: var(--r-md); border: 1px solid var(--frame);
  margin-bottom: 7px; transition: border-color 0.12s, background 0.12s; cursor: pointer;
}
.export-item:hover { border-color: var(--border-cyan); background: var(--cyan-dim); }
.export-item-icon {
  width: 32px; height: 32px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan-dim); flex-shrink: 0;
}
.export-item-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--cyan); stroke-width: 1.5; }
.export-item-label { font-size: 0.82rem; font-weight: 600; color: var(--text-1); }
.export-item-sub   { font-size: 0.68rem; color: var(--text-3); }

/* ── Impact matrix ── */
.impact-matrix { width: 100%; border-collapse: separate; border-spacing: 0; }
.impact-matrix th {
  padding: 7px 10px; font-size: 0.62rem; font-weight: 600; color: var(--text-3);
  text-align: start; border-bottom: 1px solid var(--frame); white-space: nowrap;
}
.impact-matrix td { padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
.impact-dot {
  width: 22px; height: 22px; border-radius: 50%; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; font-size: 0.62rem; font-weight: 700;
}
.impact-dot.direct   { background: var(--teal-dim); color: var(--teal); border: 1px solid rgba(50,200,150,0.28); }
.impact-dot.indirect { background: var(--cyan-dim); color: var(--cyan); border: 1px solid rgba(41,151,255,0.28); }

/* ── Comments ── */
.comments-section { margin-top: 14px; }
.comments-list    { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.comment-item     { display: flex; gap: 9px; }
.comment-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: #fff;
}
.comment-bubble {
  flex: 1; background: var(--bg-2); border: 1px solid var(--frame);
  border-radius: 0 var(--r-md) var(--r-md) var(--r-md); padding: 7px 11px;
}
[dir="rtl"] .comment-bubble { border-radius: var(--r-md) 0 var(--r-md) var(--r-md); }
.comment-meta { font-size: 0.62rem; color: var(--text-3); margin-bottom: 3px; }
.comment-text { font-size: 0.78rem; color: var(--text-1); line-height: 1.5; }
.comment-input-row { display: flex; gap: 7px; }
.comment-input {
  flex: 1; padding: 8px 11px; border-radius: var(--r-md);
  border: 1px solid var(--frame-light); background: rgba(255,255,255,0.06);
  color: var(--text-1); font-family: var(--font); font-size: 0.80rem; outline: none;
  transition: border-color 0.15s;
}
.comment-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(41,151,255,0.12); }

/* ── Page tabs ── */
.page-tabs {
  display: flex; gap: 0; border-bottom: 1px solid var(--frame); margin-bottom: 16px;
}
.page-tab {
  padding: 8px 16px; border: none; background: transparent;
  color: var(--text-3); font-family: var(--font); font-size: 0.78rem; font-weight: 500;
  cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: all 0.12s;
}
.page-tab:hover  { color: var(--text-2); }
.page-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }

/* ── Coverage score bar ── */
.coverage-bar { display: flex; align-items: center; gap: 10px; }
.coverage-fill {
  height: 4px; border-radius: 2px; background: var(--gradient-brand);
  transition: width 0.5s var(--ease); flex-shrink: 0;
}

/* ═══ v1.21 — Innovation Tools (DGEP) in-app hub + embedded view ═══ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.tool-card {
  text-align: start;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: inherit;
}
.tool-card-name { font-size: 1.05rem; font-weight: 700; color: var(--text-1); }
.tool-card-alt { font-size: 0.78rem; font-weight: 600; color: var(--blue, #0a84ff); }
.tool-card-desc { font-size: 0.82rem; color: var(--text-2); line-height: 1.5; margin-top: 4px; }
.tool-card-tag { font-size: 0.7rem; color: var(--text-3); margin-top: auto; padding-top: 10px; text-transform: uppercase; letter-spacing: 0.4px; }
.tool-view { display: flex; flex-direction: column; gap: 10px; height: calc(100vh - 170px); min-height: 540px; }
.tool-view-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tool-back-btn {
  background: none; border: 1px solid var(--frame, #333); color: var(--text-1);
  padding: 6px 14px; border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 0.85rem;
}
.tool-back-btn:hover { border-color: var(--blue, #0a84ff); color: var(--blue, #0a84ff); }
.tool-open-tab { font-size: 0.8rem; color: var(--text-3); text-decoration: none; }
.tool-open-tab:hover { color: var(--blue, #0a84ff); }
.tool-frame { flex: 1; width: 100%; border: 1px solid var(--frame, #333); border-radius: 12px; background: #0a0a0a; }

/* ═══════════════════════════════════════════════════════════
   INNOVATION INDEX — self-assessment (v1.23.0)
   ═══════════════════════════════════════════════════════════ */
.idx-wrap { max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }

.idx-intro { background: var(--bg-1); border: 1px solid var(--frame); border-radius: var(--r-md); padding: 18px 22px; }
.idx-intro-lead { margin: 0 0 8px; font-size: 0.92rem; color: var(--text-1); line-height: 1.7; }
.idx-scale { margin: 0; font-family: var(--mono); font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.03em; }
.idx-ro { margin: 10px 0 0; font-size: 0.78rem; color: var(--gold); font-family: var(--mono); }

/* Scorecard */
.idx-scorecard { background: var(--bg-2); border: 1px solid var(--frame-light); border-radius: var(--r-lg); padding: 22px 24px; }
.idx-score-top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 20px; }
.idx-score-big { display: flex; align-items: baseline; gap: 8px; }
.idx-score-num { font-family: var(--mono); font-size: 3.4rem; line-height: 0.9; font-weight: 700; color: var(--cyan); font-variant-numeric: tabular-nums; }
.idx-score-max { font-family: var(--mono); font-size: 0.8rem; color: var(--text-3); }
.idx-score-meta { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 10px; }
.idx-maturity { align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.04em; padding: 6px 16px; border-radius: 100px; text-transform: uppercase; }
.idx-mat-beginner     { background: var(--red-dim);   color: var(--red);   border: 1px solid var(--red); }
.idx-mat-intermediate { background: var(--gold-dim);  color: var(--gold);  border: 1px solid var(--gold); }
.idx-mat-advanced     { background: var(--cyan-dim);  color: var(--cyan);  border: 1px solid var(--border-cyan); }
.idx-mat-innovative   { background: var(--teal-dim);  color: var(--teal);  border: 1px solid var(--teal); }
.idx-mat-pioneer      { background: var(--green-dim); color: var(--green); border: 1px solid var(--green); box-shadow: 0 0 18px var(--green-dim); }
.idx-complete { display: flex; align-items: center; gap: 12px; }
.idx-complete-bar { flex: 1; max-width: 300px; height: 8px; background: var(--bg-4); border-radius: 100px; overflow: hidden; }
.idx-complete-bar span { display: block; height: 100%; background: var(--cyan); border-radius: 100px; transition: width 0.3s ease; }
.idx-complete-txt { font-family: var(--mono); font-size: 0.72rem; color: var(--text-2); white-space: nowrap; }

.idx-pbars { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--frame); }
.idx-pbar-row { display: grid; grid-template-columns: 1fr 130px 34px; align-items: center; gap: 12px; }
.idx-pbar-name { font-size: 0.8rem; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.idx-pbar-track { height: 8px; background: var(--bg-4); border-radius: 100px; overflow: hidden; }
.idx-pbar-fill { display: block; height: 100%; border-radius: 100px; transition: width 0.3s ease; }
.idx-pbar-fill.s { background: var(--teal); }
.idx-pbar-fill.p { background: var(--gold); }
.idx-pbar-fill.g { background: var(--red); }
.idx-pbar-fill.n { background: transparent; }
.idx-pbar-val { font-family: var(--mono); font-size: 0.8rem; color: var(--text-1); text-align: end; font-variant-numeric: tabular-nums; }

.idx-actions { display: flex; justify-content: flex-end; }

/* Pillars accordion */
.idx-pillars { display: flex; flex-direction: column; gap: 12px; }
.idx-pillar { background: var(--bg-1); border: 1px solid var(--frame); border-radius: var(--r-md); overflow: hidden; }
.idx-pillar-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: none; border: none; cursor: pointer; text-align: start; color: var(--text-1); font-family: inherit; }
.idx-pillar-head:hover { background: var(--bg-1); }
.idx-pnum { font-family: var(--mono); font-size: 0.9rem; font-weight: 700; color: var(--cyan); width: 22px; }
.idx-pname { flex: 1; font-size: 0.98rem; font-weight: 600; }
.idx-pweight { font-family: var(--mono); font-size: 0.72rem; color: var(--text-3); }
.idx-pavg { font-family: var(--mono); font-size: 0.9rem; font-weight: 700; color: var(--teal); min-width: 30px; text-align: end; font-variant-numeric: tabular-nums; }
.idx-chev { color: var(--text-3); transition: transform 0.2s ease; display: inline-flex; }
.idx-pillar.open .idx-chev { transform: rotate(180deg); }
.idx-pillar-body { display: none; padding: 4px 20px 18px; }
.idx-pillar.open .idx-pillar-body { display: block; }

.idx-element { padding: 14px 0; border-top: 1px solid var(--frame); }
.idx-element:first-child { border-top: none; }
.idx-element-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.idx-el-code { font-family: var(--mono); font-size: 0.72rem; color: var(--gold); font-weight: 600; }
.idx-el-name { font-size: 0.82rem; font-weight: 600; color: var(--text-2); letter-spacing: 0.02em; }

.idx-stmt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--frame); }
.idx-stmt:last-child { border-bottom: none; }
.idx-stmt-text { flex: 1; font-size: 0.86rem; line-height: 1.6; color: var(--text-1); }
.idx-pills { display: flex; gap: 5px; flex-shrink: 0; }
.idx-pill { width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--frame-light); background: var(--bg-2); color: var(--text-3); font-family: var(--mono); font-size: 0.82rem; cursor: pointer; transition: all 0.15s ease; font-variant-numeric: tabular-nums; }
.idx-pill:hover:not(:disabled) { border-color: var(--border-cyan); color: var(--cyan); }
.idx-pill.active { background: var(--cyan); border-color: var(--cyan); color: #fff; font-weight: 700; }
.idx-pill:disabled { cursor: default; opacity: 0.55; }
.idx-pill:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

@media (max-width: 640px) {
  .idx-stmt { flex-direction: column; align-items: stretch; gap: 10px; }
  .idx-pills { justify-content: space-between; }
  .idx-pill { flex: 1; }
  .idx-pbar-row { grid-template-columns: 1fr 80px 30px; }
}

/* ── DGEP Readiness dashboard (Phase C, v1.24.0) ── */
.rdy-loading, .rdy-error { padding: 40px; text-align: center; color: var(--text-3); font-family: var(--mono); font-size: 0.85rem; }
.rdy-error { display: flex; flex-direction: column; gap: 14px; align-items: center; }

.rdy-coverage { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rdy-cov-label { font-family: var(--mono); font-size: 0.7rem; color: var(--text-3); letter-spacing: 0.04em; }
.rdy-cov-dots { display: inline-flex; gap: 5px; }
.rdy-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--bg-4); border: 1px solid var(--frame-light); }
.rdy-dot.on { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 8px var(--teal-dim); }
.rdy-cov-txt { font-family: var(--mono); font-size: 0.72rem; color: var(--text-2); }

.rdy-section-label { font-family: var(--font-display); font-size: 0.72rem; color: var(--text-3); letter-spacing: 1.5px; text-transform: uppercase; margin: 6px 2px 0; }

.rdy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.rdy-card { background: var(--bg-1); border: 1px solid var(--frame); border-radius: var(--r-md); padding: 16px 18px; }
.rdy-card.no-data { opacity: 0.72; }
.rdy-card.has-data { border-color: var(--frame-light); }
.rdy-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rdy-tname { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-1); display: block; }
.rdy-trole { font-size: 0.72rem; color: var(--text-3); }
.rdy-pillar-tag { font-family: var(--mono); font-size: 0.62rem; color: var(--cyan); background: var(--cyan-dim); border: 1px solid var(--border-cyan-dim); padding: 3px 8px; border-radius: 100px; white-space: nowrap; }
.rdy-signals { display: flex; flex-direction: column; gap: 8px; }
.rdy-signal { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px dashed var(--frame); }
.rdy-signal:first-child { border-top: none; }
.rdy-sig-v { font-family: var(--mono); font-size: 1.05rem; font-weight: 700; color: var(--teal); font-variant-numeric: tabular-nums; }
.rdy-sig-l { font-size: 0.78rem; color: var(--text-2); text-align: end; }
.rdy-empty { font-size: 0.78rem; color: var(--text-3); font-style: italic; padding: 8px 0; }
.rdy-provisional { font-family: var(--mono); font-size: 0.68rem; color: var(--gold); letter-spacing: 0.03em; }
