/* ============================================================
   CM Connect — Assam Professional Ecosystem (Demo)
   Design system: warm canvas, saffron primary, tea-green accent,
   gamocha motif, generous spacing, 48px targets, dark mode.
   ============================================================ */

:root {
  /* Brand */
  --saffron-50: #FDF1E4;
  --saffron-100: #FBE3C9;
  --saffron-200: #F6C48E;
  --saffron-400: #EE9333;
  --saffron-500: #E97817;
  --saffron-600: #C4610A;
  --saffron-700: #9C4D08;
  --tea-50: #E9F5EE;
  --tea-100: #CDE9DA;
  --tea-500: #1F7A4D;
  --tea-600: #176340;
  --muga-400: #D9A441;
  --muga-600: #A87A22;
  --gamocha-red: #B5352F;
  --live-red: #C62828;
  --sky-500: #2563EB;
  --violet-500: #7C3AED;

  /* Surfaces & ink (light) */
  --canvas: #FAF7F2;
  --surface: #FFFFFF;
  --surface-2: #F4EFE7;
  --surface-3: #ECE5D8;
  --ink: #22221C;
  --ink-2: #57534A;
  --ink-3: #7E786C;
  --line: #E5DED2;
  --line-strong: #CFC6B5;

  --shadow-1: 0 1px 2px rgba(60, 42, 8, 0.06), 0 2px 8px rgba(60, 42, 8, 0.06);
  --shadow-2: 0 4px 12px rgba(60, 42, 8, 0.08), 0 12px 32px rgba(60, 42, 8, 0.10);
  --shadow-pop: 0 8px 24px rgba(60, 42, 8, 0.16), 0 20px 48px rgba(60, 42, 8, 0.14);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --sidebar-w: 264px;
  --header-h: 64px;
  --dock-h: 68px;
  --focus-ring: 0 0 0 3px rgba(233, 120, 23, 0.45);
}

:root[data-theme="dark"] {
  --canvas: #16140F;
  --surface: #201D16;
  --surface-2: #2A261D;
  --surface-3: #343023;
  --ink: #F2EDE3;
  --ink-2: #C3BCAC;
  --ink-3: #948C7B;
  --line: #37321F;
  --line-strong: #4C4530;
  --saffron-50: #33220E;
  --saffron-100: #422B10;
  --tea-50: #14261C;
  --tea-100: #1B3527;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 4px 12px rgba(0, 0, 0, 0.45), 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-pop: 0 8px 24px rgba(0, 0, 0, 0.55), 0 20px 48px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: var(--saffron-600); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
img, svg { max-width: 100%; }

::selection { background: var(--saffron-200); color: #3A2506; }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Gamocha motif band (replaces the old dashed red borders) ---------- */
.gamocha-band {
  height: 6px;
  border-radius: var(--r-pill);
  background:
    repeating-linear-gradient(90deg,
      var(--gamocha-red) 0 14px,
      #fff 14px 18px,
      var(--gamocha-red) 18px 26px,
      #fff 26px 30px,
      transparent 30px 44px);
  opacity: 0.85;
}
:root[data-theme="dark"] .gamocha-band { opacity: 0.6; }

/* ============================================================ TOASTS */
.toast-region {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(380px, calc(100vw - 28px));
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 4px solid var(--saffron-500);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-pop);
  padding: 12px 14px;
  animation: toast-in 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.toast.success { border-left-color: var(--tea-500); }
.toast.danger { border-left-color: var(--live-red); }
.toast.xp { border-left-color: var(--muga-400); }
.toast .t-icon { font-size: 20px; line-height: 1.2; }
.toast .t-title { font-weight: 700; font-family: var(--font-display); font-size: 14px; }
.toast .t-body { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.toast.leaving { animation: toast-out 0.22s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px); } }

#confetti-canvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 290;
}

/* ============================================================ MODALS */
#modal-root .modal-backdrop {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(24, 18, 6, 0.5);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fade-in 0.2s ease;
}
.modal {
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-pop);
  border: 1px solid var(--line);
  width: min(560px, 100%);
  max-height: min(84vh, 720px);
  display: flex; flex-direction: column;
  animation: modal-in 0.26s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
.modal.wide { width: min(760px, 100%); }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 22px 12px;
}
.modal-head h3 { font-size: 18px; }
.modal-body { padding: 6px 22px 22px; overflow-y: auto; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================ BUTTONS */
.btn {
  --btn-bg: var(--surface-2);
  --btn-ink: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, filter 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.04); text-decoration: none; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn.primary { --btn-bg: linear-gradient(135deg, var(--saffron-500), var(--saffron-600)); --btn-ink: #fff; background: var(--btn-bg); box-shadow: 0 2px 8px rgba(196, 97, 10, 0.35); }
.btn.green { --btn-bg: linear-gradient(135deg, var(--tea-500), var(--tea-600)); --btn-ink: #fff; background: var(--btn-bg); }
.btn.danger { --btn-bg: var(--live-red); --btn-ink: #fff; background: var(--btn-bg); }
.btn.ghost { --btn-bg: transparent; border-color: var(--line-strong); }
.btn.subtle { --btn-bg: var(--surface-2); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: var(--r-sm); }
.btn.lg { min-height: 54px; font-size: 16px; border-radius: var(--r-lg); }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn .b-ico { font-size: 17px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(0.95); }

/* ============================================================ CHIPS / BADGES */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-display);
  background: var(--surface-2);
  color: var(--ink-2);
  border: 1px solid transparent;
  white-space: nowrap;
}
.chip.saffron { background: var(--saffron-50); color: var(--saffron-600); }
.chip.green { background: var(--tea-50); color: var(--tea-500); }
.chip.gold { background: rgba(217, 164, 65, 0.16); color: var(--muga-600); }
.chip.red { background: rgba(198, 40, 40, 0.1); color: var(--live-red); }
.chip.blue { background: rgba(37, 99, 235, 0.1); color: var(--sky-500); }
.chip.violet { background: rgba(124, 58, 237, 0.1); color: var(--violet-500); }
.chip.outline { background: transparent; border-color: var(--line-strong); }
:root[data-theme="dark"] .chip.red { background: rgba(198, 40, 40, 0.25); color: #ff8a80; }
:root[data-theme="dark"] .chip.blue { background: rgba(37, 99, 235, 0.25); color: #93b4f5; }
:root[data-theme="dark"] .chip.violet { background: rgba(124, 58, 237, 0.28); color: #c4a8f5; }
:root[data-theme="dark"] .chip.gold { color: #E5C075; }
:root[data-theme="dark"] .chip.green { color: #6FCF97; }
:root[data-theme="dark"] .chip.saffron { color: #F0A050; }

.chip.filter-chip {
  cursor: pointer; min-height: 40px; padding: 6px 16px; font-size: 13.5px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: all 0.15s ease;
}
.chip.filter-chip:hover { border-color: var(--saffron-400); }
.chip.filter-chip.active { background: var(--ink); color: var(--canvas); border-color: var(--ink); }

.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  animation: live-pulse 1.4s ease-in-out infinite;
}
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.demo-strip {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface-3);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.demo-strip strong { color: var(--saffron-600); }

/* ============================================================ FORMS */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink-3);
  font-family: var(--font-display);
}
.field .hint { font-size: 12.5px; color: var(--ink-3); }
.input, select.input, textarea.input {
  width: 100%;
  min-height: 48px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--saffron-500); box-shadow: var(--focus-ring); }
.input.invalid { border-color: var(--live-red); }
.field .error { color: var(--live-red); font-size: 12.5px; font-weight: 600; display: none; }
.field.has-error .error { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.otp-row { display: flex; gap: 10px; justify-content: space-between; }
.otp-box {
  width: 52px; height: 58px; text-align: center; font-size: 22px; font-weight: 700;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink);
  font-family: var(--font-display);
}
.otp-box:focus { outline: none; border-color: var(--saffron-500); box-shadow: var(--focus-ring); }

.upload-zone {
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: 26px 16px;
  text-align: center;
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.15s ease;
  background: var(--surface);
}
.upload-zone:hover, .upload-zone.armed { border-color: var(--saffron-500); background: var(--saffron-50); color: var(--saffron-600); }

/* ============================================================ CARDS */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: 20px;
}
.card.pad-lg { padding: 26px; }
.card.hoverable { transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card.hoverable:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }

.section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 30px 0 14px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.section-head .s-ico {
  width: 34px; height: 34px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; background: var(--saffron-50); color: var(--saffron-600);
}
.section-head .s-sub { font-size: 13px; color: var(--ink-3); width: 100%; margin-top: -6px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 18px; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 2px;
  position: relative; overflow: hidden;
}
.stat-card .st-ico { font-size: 20px; margin-bottom: 6px; }
.stat-card .st-val { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.01em; }
.stat-card .st-label { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.stat-card::after {
  content: ""; position: absolute; right: -22px; top: -22px; width: 74px; height: 74px;
  border-radius: 50%; background: var(--saffron-50); opacity: 0.7; z-index: 0;
}
.stat-card > * { position: relative; z-index: 1; }

.empty-state {
  text-align: center; color: var(--ink-3); padding: 36px 20px;
  border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg);
  font-size: 14px;
}
.empty-state .e-ico { font-size: 34px; display: block; margin-bottom: 8px; }

/* ============================================================ APP SHELL */
.shell { display: flex; min-height: 100vh; }
.shell-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.shell-content {
  flex: 1;
  padding: 22px clamp(16px, 3vw, 36px) calc(var(--dock-h) + 40px);
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  animation: view-in 0.3s ease;
}
@keyframes view-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Sidebar (desktop) */
.sidebar {
  width: var(--sidebar-w);
  border-right: 1px solid var(--line);
  background: var(--surface);
  padding: 18px 14px;
  display: none;
  flex-direction: column;
  gap: 6px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
@media (min-width: 1024px) {
  .sidebar { display: flex; }
  .shell-content { padding-bottom: 60px; }
}
.side-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; }
.side-brand .logo-mark { width: 40px; height: 40px; }
.side-brand .b-name { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: 0.02em; }
.side-brand .b-sub { font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

.profile-card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--saffron-50), var(--surface));
  border-radius: var(--r-lg);
  padding: 14px;
  margin-bottom: 12px;
}
.profile-card .p-row { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron-500), var(--muga-400));
  color: #fff; font-weight: 800; font-family: var(--font-display);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
  border: 2px solid var(--surface);
  box-shadow: var(--shadow-1);
}
.avatar.sm { width: 34px; height: 34px; font-size: 13px; }
.avatar.lg { width: 64px; height: 64px; font-size: 24px; }
.avatar.green { background: linear-gradient(135deg, var(--tea-500), #2E9E68); }
.avatar.blue { background: linear-gradient(135deg, #2563EB, #4F8DF7); }
.avatar.violet { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.profile-card .p-name { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.profile-card .p-level { font-size: 12px; color: var(--saffron-600); font-weight: 700; }
.xp-track { margin-top: 10px; background: var(--surface-3); border-radius: var(--r-pill); height: 8px; overflow: hidden; }
.xp-fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--saffron-500), var(--muga-400)); transition: width 0.6s cubic-bezier(0.2, 0.8, 0.3, 1); }
.xp-meta { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); margin-top: 6px; font-weight: 600; }

.nav-item {
  display: flex; align-items: center; gap: 12px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: var(--r-md);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14.5px;
  font-family: var(--font-display);
  cursor: pointer;
  border: none; background: transparent;
  text-align: left; width: 100%;
  transition: background 0.14s ease, color 0.14s ease;
  text-decoration: none;
}
.nav-item:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.nav-item.active { background: var(--saffron-50); color: var(--saffron-600); }
.nav-item.active .n-ico { transform: scale(1.06); }
.nav-item .n-ico { font-size: 18px; width: 24px; text-align: center; transition: transform 0.14s ease; }
.nav-item .n-badge {
  margin-left: auto; background: var(--live-red); color: #fff;
  font-size: 11px; border-radius: var(--r-pill); padding: 1px 7px; font-weight: 700;
}
.nav-group-label {
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700; padding: 14px 12px 4px;
  font-family: var(--font-display);
}
.sidebar .side-foot { margin-top: auto; padding-top: 14px; }

/* Top header */
.topbar {
  height: var(--header-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 clamp(14px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 90;
}
.topbar .tb-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar .tb-brand .logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.topbar .tb-title { font-family: var(--font-display); font-weight: 800; font-size: 15px; white-space: nowrap; }
.topbar .tb-credit { font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .tb-spacer { flex: 1; }
.topbar select.lang-select {
  min-height: 42px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-family: inherit; font-size: 13.5px;
  padding: 0 10px; cursor: pointer; max-width: 130px;
}
@media (max-width: 560px) { .topbar .tb-credit { display: none; } }
@media (min-width: 1024px) { .topbar .tb-brand { display: none; } }

/* Bottom dock (mobile) */
.dock {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  height: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: flex; align-items: stretch; justify-content: space-around;
}
@media (min-width: 1024px) { .dock { display: none; } }
.dock-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; border: none; background: transparent; cursor: pointer;
  color: var(--ink-3); font-size: 10.5px; font-weight: 700; font-family: var(--font-display);
  min-width: 48px;
}
.dock-item .d-ico { font-size: 21px; transition: transform 0.15s ease; }
.dock-item.active { color: var(--saffron-600); }
.dock-item.active .d-ico { transform: translateY(-2px) scale(1.08); }
.dock-item.dock-cta { flex: 0 0 74px; position: relative; }
.dock-item.dock-cta .d-cta {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron-500), var(--saffron-600));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: 0 6px 16px rgba(196, 97, 10, 0.45);
  margin-top: -22px; border: 3px solid var(--canvas);
}

/* ============================================================ LANDING */
.landing {
  min-height: 100vh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(1100px 500px at 85% -60px, rgba(233, 120, 23, 0.14), transparent 60%),
    radial-gradient(900px 480px at -100px 105%, rgba(31, 122, 77, 0.12), transparent 60%),
    var(--canvas);
  position: relative;
  overflow-x: clip;
}
.landing-chrome {
  position: sticky; top: 0; z-index: 80;
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.landing-chrome .demo-strip { border-bottom: none; background: transparent; padding: 6px 16px 0; }
.brand-lockup {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit; min-width: 0;
}
.brand-lockup:hover { text-decoration: none; }
.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: 0.02em; line-height: 1.15; }
.brand-credit { font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.header-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.landing-header select.lang-select {
  min-height: 42px; max-width: 138px; padding: 0 10px; width: auto;
}
.landing-header .icon-btn { width: 42px; height: 42px; border-radius: var(--r-pill); }
.header-join { white-space: nowrap; }
@media (max-width: 560px) { .header-join { display: none; } }
.landing .rhino-bg {
  position: absolute; right: -60px; bottom: -30px;
  width: min(520px, 60vw); opacity: 0.07; pointer-events: none;
  color: var(--ink);
}
.landing-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px clamp(16px, 4vw, 40px) 12px;
}
.landing-hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 460px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(12px, 3vw, 40px) clamp(16px, 4vw, 40px) 60px;
  max-width: 1180px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}
@media (max-width: 900px) { .landing-hero { grid-template-columns: 1fr; } }
.landing-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--saffron-600); font-weight: 800; letter-spacing: 0.14em;
  font-size: 12px; text-transform: uppercase; font-family: var(--font-display);
}
.landing-hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800; letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
.landing-hero h1 .accent { color: var(--saffron-600); }
.landing-hero .sub { font-size: clamp(15px, 1.6vw, 17.5px); color: var(--ink-2); max-width: 560px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 34px); margin-top: 34px; }
.hero-stat .hs-val { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); }
.hero-stat .hs-label { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }

.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
  padding: 28px;
  position: relative;
}
.auth-card .logo-mark { width: 52px; height: 52px; margin: 0 auto 10px; display: block; }
.auth-card h2 { text-align: center; font-size: 20px; }
.auth-card .a-sub { text-align: center; color: var(--ink-3); font-size: 13.5px; margin: 6px 0 20px; }
.auth-card .divider { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 12px; margin: 16px 0; }
.auth-card .divider::before, .auth-card .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-stack { display: flex; flex-direction: column; gap: 10px; }

.landing-foot {
  padding: 18px clamp(16px, 4vw, 40px) 26px;
  color: var(--ink-3); font-size: 12.5px;
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  position: relative; z-index: 1;
}

/* ============================================================ LANDING v2 (banner + sections) */
.hero-slider {
  position: relative;
  overflow: hidden;
  background-color: var(--canvas);
}
.hero-slider::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 3;
  background: linear-gradient(90deg, var(--saffron-500) 0 34%, #fff 34% 42%, var(--tea-500) 42% 76%, var(--gamocha-red) 76% 100%);
}
.hs-viewport { overflow: hidden; }
.hs-track {
  display: flex;
  transition: transform 620ms cubic-bezier(0.36, 0.66, 0.14, 1);
  will-change: transform;
}
.hs-track > .hero-banner { flex: 0 0 100%; min-width: 100%; }

/* Slide entrance — the active panel's copy settles in after the track moves. */
.hero-banner.active .hb-inner > * { animation: hbRise 620ms cubic-bezier(0.22, 0.9, 0.28, 1) both; }
.hero-banner.active .hb-inner > *:nth-child(2) { animation-delay: 60ms; }
.hero-banner.active .hb-inner > *:nth-child(3) { animation-delay: 110ms; }
.hero-banner.active .hb-inner > *:nth-child(4) { animation-delay: 160ms; }
.hero-banner.active .hb-inner > *:nth-child(5) { animation-delay: 210ms; }
.hero-banner.active .hb-inner > *:nth-child(6) { animation-delay: 250ms; }
@keyframes hbRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Illustrated slides: art holds the right of the frame and fades into the
   copy column, mirroring where the CM photograph sits on the first slide. */
.hero-art {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: min(64%, 860px);
  animation: kenburns 30s ease-in-out infinite alternate;
  transform-origin: 72% 78%;
  mask-image: linear-gradient(90deg, transparent 0, #000 26%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%);
}
.hero-art svg { display: block; width: 100%; height: 100%; }
.hb-advantage {
  background-image: linear-gradient(115deg,
    color-mix(in srgb, var(--saffron-50) 92%, var(--surface)) 0%,
    var(--saffron-50) 46%,
    color-mix(in srgb, var(--muga-400) 22%, var(--saffron-50)) 100%);
}
.hb-voice {
  background-image: linear-gradient(115deg,
    color-mix(in srgb, var(--tea-50) 88%, var(--surface)) 0%,
    var(--tea-50) 46%,
    color-mix(in srgb, var(--saffron-50) 70%, var(--tea-50)) 100%);
}
@media (max-width: 900px) {
  .hero-art {
    width: 100%;
    mask-image: linear-gradient(180deg, #000 0 42%, transparent 92%);
    -webkit-mask-image: linear-gradient(180deg, #000 0 42%, transparent 92%);
  }
}

/* Arrows sit clear of the copy column on desktop and shrink onto the edges below. */
.hs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 48px; height: 48px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  font-size: 26px; line-height: 1; font-family: var(--font-display);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.hs-arrow:hover { background: var(--surface); transform: translateY(-50%) scale(1.06); }
.hs-arrow:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.hs-arrow.prev { left: clamp(8px, 1.6vw, 18px); }
.hs-arrow.next { right: clamp(8px, 1.6vw, 18px); }

.hs-dots {
  position: absolute; z-index: 3;
  left: 50%; transform: translateX(-50%);
  bottom: 18px;
  display: flex; gap: 10px; align-items: center;
  padding: 8px 12px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  backdrop-filter: blur(8px);
}
.hs-dot {
  position: relative;
  width: 9px; height: 9px; padding: 0; border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  background: color-mix(in srgb, var(--ink) 18%, transparent);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}
.hs-dot.active { width: 26px; background: var(--saffron-500); border-color: var(--saffron-600); }
.hs-dot::after { content: ""; position: absolute; inset: -16px -9px; }
.hs-dot:focus-visible { outline: none; box-shadow: var(--focus-ring); }

@media (prefers-reduced-motion: reduce) {
  .hs-track { transition: none; }
  .hero-banner.active .hb-inner > * { animation: none; }
}
@media (max-width: 720px) {
  .hs-arrow {
    width: 42px; height: 42px; font-size: 22px;
    top: auto; bottom: 12px; transform: none;
  }
  .hs-arrow:hover { transform: scale(1.06); }
  .hs-arrow.prev { left: calc(50% - 104px); }
  .hs-arrow.next { right: calc(50% - 104px); }
  .hs-dots { bottom: 20px; }
}
.hero-banner {
  position: relative;
  min-height: clamp(440px, 62vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #F6E7C8;
}
.hb-cm::before {
  content: "";
  position: absolute; inset: 0;
  background-image: image-set(
    url("../assets/cm-assam-hero-720.webp") 1x,
    url("../assets/cm-assam-hero-1280.webp") 2x);
  background-size: cover;
  background-position: right center;
  animation: kenburns 26s ease-in-out infinite alternate;
  transform-origin: 70% 40%;
}
@media (min-width: 900px) {
  .hb-cm::before { background-image: url("../assets/cm-assam-hero-1672.webp"); }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) {
  .hb-cm::before, .hero-art { animation: none; }
}
.hero-banner .hb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(250, 247, 242, 0.94) 0%,
    rgba(250, 247, 242, 0.82) 32%,
    rgba(250, 247, 242, 0.38) 56%,
    rgba(250, 247, 242, 0) 76%);
}
:root[data-theme="dark"] .hero-banner .hb-overlay {
  background: linear-gradient(90deg,
    rgba(22, 20, 15, 0.9) 0%,
    rgba(22, 20, 15, 0.78) 32%,
    rgba(22, 20, 15, 0.42) 56%,
    rgba(22, 20, 15, 0.08) 76%);
}
.hero-banner .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--saffron-600); font-weight: 800; letter-spacing: 0.14em;
  font-size: 12px; text-transform: uppercase; font-family: var(--font-display);
}
.hero-banner .btn.ghost {
  border-color: color-mix(in srgb, var(--ink) 28%, transparent);
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  backdrop-filter: blur(8px);
}
.hero-banner .hb-content {
  position: relative; z-index: 1;
  max-width: 1180px; width: 100%;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 40px);
}
.hero-banner .hb-inner { max-width: 620px; }
.hero-banner h1 {
  font-size: clamp(28px, 4.4vw, 50px);
  font-weight: 800; letter-spacing: -0.02em;
  margin: 14px 0 14px;
}
.hero-banner h1 .accent { color: var(--saffron-600); }
.hero-banner .hb-sub { font-size: clamp(14.5px, 1.6vw, 17px); color: var(--ink-2); max-width: 540px; }
.hero-banner .hb-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-banner .hb-attrib {
  margin-top: 22px; font-size: 12.5px; color: var(--ink-2); font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  text-shadow: 0 1px 8px color-mix(in srgb, var(--canvas) 70%, transparent);
}
@media (max-width: 720px) {
  .hb-cm::before { background-position: 72% center; }
  .hero-banner { align-items: flex-end; }
  .hero-banner .hb-overlay {
    background: linear-gradient(180deg,
      rgba(250, 247, 242, 0.55) 0%,
      rgba(250, 247, 242, 0.9) 55%,
      rgba(250, 247, 242, 0.98) 100%);
  }
  :root[data-theme="dark"] .hero-banner .hb-overlay {
    background: linear-gradient(180deg,
      rgba(22, 20, 15, 0.5) 0%,
      rgba(22, 20, 15, 0.9) 55%,
      rgba(22, 20, 15, 0.98) 100%);
  }
  .hero-banner { min-height: 540px; }
  .hero-banner .hb-content { padding-bottom: 84px; }
}

.land-section { max-width: 1180px; margin: 0 auto; padding: clamp(30px, 5vw, 54px) clamp(16px, 4vw, 40px) 0; width: 100%; }
.land-section .ls-eyebrow {
  color: var(--saffron-600); font-weight: 800; letter-spacing: 0.13em;
  font-size: 11.5px; text-transform: uppercase; font-family: var(--font-display);
}
.land-section h2 { font-size: clamp(21px, 2.6vw, 30px); letter-spacing: -0.015em; margin: 8px 0 6px; }
.land-section .ls-sub { color: var(--ink-2); font-size: 14.5px; max-width: 640px; }

.stats-band {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, var(--saffron-50));
  margin-top: 0;
}
.stats-band .sb-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 18px clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.hero-stat {
  padding: 6px 18px;
  display: flex; flex-direction: column; gap: 2px;
}
.hero-stat + .hero-stat { border-left: 1px solid var(--line); }
.hero-stat .hs-ico { font-size: 16px; line-height: 1; margin-bottom: 4px; }
.hero-stat .hs-val { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); color: var(--ink); letter-spacing: -0.02em; }
.hero-stat .hs-label { font-size: 12.5px; color: var(--ink-2); font-weight: 600; line-height: 1.35; }
@media (max-width: 860px) {
  .stats-band .sb-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stat { padding: 12px 8px; }
  .hero-stat + .hero-stat { border-left: none; }
  .hero-stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-stat:last-child { grid-column: 1 / -1; border: none; border-top: 1px solid var(--line); padding-top: 14px; text-align: center; align-items: center; }
}

.access-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 20px; }
.access-tile {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 18px;
  display: flex; flex-direction: column; gap: 8px; cursor: pointer;
  text-align: left; font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-1);
}
.access-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--saffron-200); }
.access-tile .at-go { transition: transform 0.15s ease; }
.access-tile:hover .at-go { transform: translateX(3px); }
.access-tile .at-ico { width: 46px; height: 46px; border-radius: 13px; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.access-tile .at-title { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--ink); }
.access-tile .at-sub { font-size: 12.5px; color: var(--ink-3); flex: 1; }
.access-tile .at-go { font-size: 13px; font-weight: 800; color: var(--saffron-600); font-family: var(--font-display); }

/* One Assam Gateway — numbered action cards */
.gateway-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.gateway-card {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 20px 22px 18px 20px;
  text-align: left; font-family: inherit; cursor: pointer;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-1);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 168px;
}
.gateway-card::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px;
  border-radius: 99px; background: var(--saffron-500); opacity: 0.5;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.gateway-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--saffron-200); }
.gateway-card:hover::before { opacity: 1; transform: scaleY(1.08); }
.gateway-card .gw-head { display: flex; align-items: center; gap: 12px; }
.gateway-card .gw-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; background: var(--saffron-50);
}
.gateway-card .gw-top { display: flex; align-items: baseline; gap: 8px; }
.gateway-card .gw-num { font-family: var(--font-display); font-weight: 800; font-size: 12px; color: var(--saffron-600); letter-spacing: 0.08em; }
.gateway-card .gw-verb { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-family: var(--font-display); }
.gateway-card .gw-title { font-family: var(--font-display); font-weight: 800; font-size: 16.5px; color: var(--ink); }
.gateway-card .gw-line { font-size: 13.5px; color: var(--ink-2); flex: 1; }
.gateway-card .gw-go {
  margin-top: 4px; font-size: 13px; font-weight: 800; color: var(--saffron-600);
  font-family: var(--font-display); opacity: 0; transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.gateway-card:hover .gw-go, .gateway-card:focus-visible .gw-go { opacity: 1; transform: none; }
@media (hover: none) { .gateway-card .gw-go { opacity: 1; transform: none; } }

/* Momentum + missions */
.momentum-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.momentum-cell { background: var(--surface); padding: 20px 22px; }
.momentum-cell .mo-val { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.01em; color: var(--saffron-600); }
.momentum-cell .mo-label { font-weight: 700; font-family: var(--font-display); font-size: 14px; margin-top: 2px; }
.momentum-cell .mo-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.mission-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.mission-card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 20px 22px; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.mission-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.mission-card .ms-ico {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; background: var(--saffron-50);
}
.mission-card .ms-stat { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin-top: 6px; letter-spacing: -0.02em; }
.mission-card .ms-title { font-weight: 700; font-family: var(--font-display); font-size: 15px; }
.mission-card .ms-line { font-size: 13px; color: var(--ink-2); }

/* Leadership band + official wire */
.leader-band {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr); gap: clamp(20px, 4vw, 44px);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--surface), var(--saffron-50));
  padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow-1);
}
@media (max-width: 860px) { .leader-band { grid-template-columns: 1fr; } }
.leader-band .lb-quote { font-style: italic; font-size: 16.5px; color: var(--ink-2); margin-top: 14px; max-width: 480px; }
.leader-band .lb-stats { display: flex; gap: clamp(18px, 4vw, 44px); margin-top: 20px; flex-wrap: wrap; }
.leader-band .lb-val { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--saffron-600); }
.leader-band .lb-label { font-size: 12px; color: var(--ink-3); font-weight: 600; max-width: 150px; }
.leader-band .lb-wire { border-left: 1px solid var(--line); padding-left: clamp(16px, 3vw, 32px); }
@media (max-width: 860px) { .leader-band .lb-wire { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; } }
.wire-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; align-items: baseline; }
.wire-row:last-of-type { border-bottom: none; }
.wire-row .wire-date { font-family: var(--font-display); font-weight: 800; font-size: 11px; color: var(--saffron-600); white-space: nowrap; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Scroll reveal + stagger ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- News marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--surface);
  display: flex; align-items: center; gap: 0;
}
.marquee .mq-label {
  flex-shrink: 0; padding: 10px 18px; font-family: var(--font-display); font-weight: 800;
  font-size: 12px; letter-spacing: 0.1em; color: var(--live-red);
  border-right: 1px solid var(--line); display: inline-flex; gap: 8px; align-items: center;
  background: var(--surface); z-index: 1;
}
.marquee .mq-track { overflow: hidden; flex: 1; }
.marquee .mq-inner {
  display: inline-flex; gap: 56px; white-space: nowrap; padding: 10px 0;
  animation: marquee 42s linear infinite; will-change: transform;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.marquee .mq-inner:hover { animation-play-state: paused; }
.marquee .mq-inner .mq-dot { color: var(--saffron-500); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .mq-inner { animation: none; } }

/* ---------- Pride / journey cards with flat art ---------- */
.pride-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pride-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  padding: 22px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}
.pride-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.pride-card .p-title { font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.pride-card .p-line { font-size: 13.5px; color: var(--ink-2); }
.journey-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.journey-card {
  border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface);
  padding: 26px; box-shadow: var(--shadow-1); position: relative; overflow: hidden;
}
.journey-card .j-num {
  position: absolute; top: 10px; right: 18px;
  font-family: var(--font-display); font-weight: 800; font-size: 54px;
  color: var(--saffron-50); -webkit-text-stroke: 1px var(--saffron-200);
}
.journey-card .j-title { font-family: var(--font-display); font-weight: 800; font-size: 17px; margin-top: 12px; }
.journey-card .j-line { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.journey-card .j-tag { margin-top: 12px; }

/* ---------- Testimonials ---------- */
.testi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.testi-card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--surface), var(--saffron-50));
  padding: 22px; box-shadow: var(--shadow-1); position: relative;
}
.testi-card::before {
  content: "\201C"; position: absolute; top: 6px; right: 18px;
  font-family: var(--font-display); font-size: 64px; color: var(--saffron-200); line-height: 1;
}
.testi-card .t-text { font-size: 14.5px; color: var(--ink); font-style: italic; }
.testi-card .t-who { display: flex; gap: 10px; align-items: center; margin-top: 14px; }

/* ---------- Bio timeline ---------- */
.bio-timeline { position: relative; margin-top: 20px; }
.bio-timeline::before {
  content: ""; position: absolute; left: 74px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--saffron-400), var(--muga-400));
}
.bio-item { display: flex; gap: 22px; padding: 12px 0; }
.bio-item .b-year {
  width: 64px; flex-shrink: 0; text-align: right;
  font-family: var(--font-display); font-weight: 800; font-size: 12.5px; color: var(--saffron-600);
  padding-top: 3px;
}
.bio-item .b-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--saffron-500);
  border: 2.5px solid var(--surface); box-shadow: 0 0 0 2px var(--saffron-400);
  flex-shrink: 0; margin-top: 5px; z-index: 1;
}
.bio-item .b-title { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.bio-item .b-line { font-size: 13px; color: var(--ink-2); }
@media (max-width: 560px) {
  .bio-timeline::before { left: 58px; }
  .bio-item .b-year { width: 48px; font-size: 11px; }
}

/* ---------- Leadership portrait ---------- */
.portrait-frame {
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-2); position: relative; max-width: 320px;
  background: linear-gradient(180deg, #FDF3E0, #F6E7C8);
}
.portrait-frame img { display: block; width: 100%; height: auto; }
.portrait-frame .pf-band { position: absolute; left: 0; right: 0; bottom: 0; }
.gsdp-visual { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 22px; box-shadow: var(--shadow-1); }
.gsdp-visual .g-row { display: flex; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 3vw, 32px); }
.gsdp-visual .g-arrow { color: var(--tea-500); font-size: clamp(20px, 2.6vw, 28px); }
.gsdp-visual .g-bar { height: 12px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; margin-top: 14px; }
.gsdp-visual .g-fill {
  height: 100%; width: 0; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--saffron-500), var(--tea-500));
  transition: width 1.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.in .g-fill { width: var(--g-target, 72%); }

/* ---------- CM Live + news + reports + budget ---------- */
.live-card {
  border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(150deg, #1A2233, #0D1420); color: #E8ECF4;
  padding: clamp(22px, 3.5vw, 34px); position: relative; box-shadow: var(--shadow-2);
}
.live-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(233,120,23,0.35), transparent 70%);
}
.live-card .lc-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 2.4vw, 26px); margin-top: 10px; }
.live-card .lc-desc { opacity: 0.8; font-size: 14px; margin-top: 6px; max-width: 520px; }
.live-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--live-red); color: #fff; font-weight: 800; font-size: 12px;
  padding: 5px 12px; border-radius: var(--r-pill); font-family: var(--font-display); letter-spacing: 0.06em;
}
.upcoming-row { display: flex; flex-direction: column; gap: 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.news-card {
  border: 1px solid var(--line); border-left: 4px solid var(--saffron-500);
  border-radius: var(--r-md); background: var(--surface); padding: 14px 16px;
  box-shadow: var(--shadow-1); transition: transform 0.16s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.news-card .n-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.news-card .n-text { font-size: 14px; font-weight: 600; }
.report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.report-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  padding: 20px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.16s ease, box-shadow 0.2s ease;
}
.report-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.report-card .r-ico { font-size: 30px; }
.report-card .r-title { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.report-card .r-line { font-size: 13px; color: var(--ink-2); flex: 1; }
.budget-bars { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.budget-bar .bb-top { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 700; font-family: var(--font-display); }
.budget-bar .bb-track { height: 12px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; margin-top: 6px; }
.budget-bar .bb-fill {
  height: 100%; width: 0; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--saffron-400), var(--saffron-600));
  transition: width 1.2s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.in .bb-fill { width: var(--bb-target, 50%); }

/* Minimal "what you can do" list (ChatGPT-style sparseness) */
.can-do { text-align: center; }
.can-do h2 { margin-bottom: 22px; }
.can-do-list {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.can-do-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 16.5px;
  color: var(--ink);
  transition: background 0.15s ease;
}
.can-do-item:hover { background: var(--surface); }
.can-do-item .cd-ico { font-size: 20px; width: 26px; text-align: center; }

.step-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.step-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 20px; box-shadow: var(--shadow-1); }
.step-card .st-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--saffron-500); color: #fff;
  font-family: var(--font-display); font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.step-card .st-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.step-card .st-sub { font-size: 13px; color: var(--ink-2); margin-top: 4px; }

/* Nav stays on a single line and scrolls if space is tight, rather than
   wrapping into a ragged second row next to the logo and header actions. */
.landing-nav { display: flex; gap: 4px; align-items: center; flex-wrap: nowrap; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.landing-nav::-webkit-scrollbar { display: none; }
.landing-nav a {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 8px 14px; border-radius: var(--r-pill);
  color: var(--ink-2); font-weight: 700; font-size: 13.5px;
  font-family: var(--font-display); text-decoration: none;
  white-space: nowrap;
}
.landing-nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.landing-nav a.active {
  background: var(--saffron-50); color: var(--saffron-600);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--saffron-500) 32%, transparent);
}
.header-ideas-btn { text-decoration: none; white-space: nowrap; }
@media (max-width: 1180px) {
  .header-ideas-btn { display: none; }
}
@media (max-width: 860px) {
  .landing-nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .landing-nav a { padding: 8px 12px; font-size: 13px; }
  .landing-header { flex-wrap: wrap; }
  .brand-credit { display: none; }
}

/* Inner-page hero + closing CTA + site footer */
.page-hero {
  background:
    radial-gradient(700px 240px at 100% 0%, rgba(233, 120, 23, 0.16), transparent 55%),
    linear-gradient(165deg, var(--surface), var(--saffron-50));
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  max-width: 1180px; margin: 0 auto; width: 100%;
  padding: clamp(28px, 5vw, 52px) clamp(16px, 4vw, 40px);
}
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.02em; margin: 8px 0 10px; }
.page-hero .ls-sub { max-width: 640px; font-size: 16px; }

.land-cta { max-width: 1180px; margin: clamp(36px, 6vw, 64px) auto 0; padding: 0 clamp(16px, 4vw, 40px) clamp(36px, 5vw, 56px); width: 100%; }
.land-cta-inner {
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 40px);
  background:
    radial-gradient(480px 180px at 92% 0%, rgba(233, 120, 23, 0.18), transparent 55%),
    linear-gradient(145deg, var(--surface), var(--saffron-50));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap; box-shadow: var(--shadow-1);
}
.land-cta-inner h2 { font-size: clamp(20px, 2.4vw, 28px); }
.land-cta-inner p { color: var(--ink-2); max-width: 420px; }

.site-foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.site-foot .sf-inner {
  max-width: 1180px; margin: 0 auto; width: 100%;
  padding: 28px clamp(16px, 4vw, 40px) 20px;
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr);
  gap: 24px 40px; align-items: start;
}
.site-foot .sf-title { font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.site-foot .sf-tag { color: var(--ink-2); font-size: 13.5px; margin-top: 6px; }
.site-foot .sf-rising { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; margin-top: 10px; color: var(--ink); }
.site-foot .sf-nav { display: flex; flex-direction: column; gap: 2px; }
.site-foot .sf-nav a {
  color: var(--ink-2); font-weight: 700; font-size: 13.5px; font-family: var(--font-display);
  text-decoration: none; min-height: 36px; display: inline-flex; align-items: center;
}
.site-foot .sf-nav a:hover { color: var(--saffron-600); text-decoration: none; }
.site-foot .sf-note { font-size: 12.5px; color: var(--ink-3); max-width: 320px; margin-left: auto; }
.site-foot .sf-band { padding: 0 clamp(16px, 4vw, 40px) 16px; max-width: 1180px; margin: 0 auto; }
@media (max-width: 800px) {
  .site-foot .sf-inner { grid-template-columns: 1fr; }
  .site-foot .sf-note { margin-left: 0; }
  .site-foot .sf-nav { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
}

/* ============================================================ DASHBOARD HERO */
.hero-panel {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(233, 120, 23, 0.15), transparent 55%),
    linear-gradient(150deg, var(--surface), var(--surface) 55%, var(--saffron-50));
  padding: clamp(20px, 3vw, 30px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.hero-panel .rhino-bg {
  position: absolute; right: -20px; bottom: -46px; width: 300px;
  opacity: 0.06; color: var(--ink); pointer-events: none;
}
.hero-panel .hp-eyebrow {
  color: var(--saffron-600); font-weight: 800; letter-spacing: 0.13em;
  font-size: 11.5px; text-transform: uppercase; font-family: var(--font-display);
}
.hero-panel h1 { font-size: clamp(21px, 2.6vw, 30px); margin: 8px 0 6px; letter-spacing: -0.015em; }
.hero-panel .hp-quote { font-style: italic; color: var(--ink-2); font-size: 14.5px; }
.hero-panel .hp-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 13px; color: var(--ink-3); align-items: center; }
.ticker {
  margin-top: 18px;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 9px 14px;
  overflow: hidden;
  position: relative; z-index: 1;
}
.ticker .tk-tag { flex-shrink: 0; }
.ticker .tk-text { font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: ticker-fade 0.5s ease; }
@keyframes ticker-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Quick service tiles */
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.quick-tile {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 18px 16px;
  display: flex; flex-direction: column; gap: 10px; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: left; font-family: inherit; box-shadow: var(--shadow-1);
}
.quick-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--saffron-200); }
.quick-tile .q-ico {
  width: 44px; height: 44px; border-radius: 12px; font-size: 21px;
  display: flex; align-items: center; justify-content: center;
}
.quick-tile .q-title { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.quick-tile .q-sub { font-size: 12.5px; color: var(--ink-3); }
.tint-saffron { background: var(--saffron-50); color: var(--saffron-600); }
.tint-green { background: var(--tea-50); color: var(--tea-500); }
.tint-gold { background: rgba(217, 164, 65, 0.15); color: var(--muga-600); }
.tint-red { background: rgba(198, 40, 40, 0.09); color: var(--live-red); }
.tint-blue { background: rgba(37, 99, 235, 0.09); color: var(--sky-500); }
.tint-violet { background: rgba(124, 58, 237, 0.09); color: var(--violet-500); }
:root[data-theme="dark"] .tint-red { background: rgba(198, 40, 40, 0.22); color: #ff8a80; }
:root[data-theme="dark"] .tint-blue { background: rgba(37, 99, 235, 0.22); color: #93b4f5; }
:root[data-theme="dark"] .tint-violet { background: rgba(124, 58, 237, 0.25); color: #c4a8f5; }
:root[data-theme="dark"] .tint-gold { color: #E5C075; }
:root[data-theme="dark"] .tint-green { color: #6FCF97; }
:root[data-theme="dark"] .tint-saffron { color: #F0A050; }

/* Quiz */
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
@media (max-width: 620px) { .quiz-options { grid-template-columns: 1fr; } }
.quiz-opt {
  min-height: 50px; border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong); background: var(--surface);
  font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer;
  padding: 10px 16px; text-align: left; font-family: inherit;
  transition: all 0.15s ease;
}
.quiz-opt:hover:not(:disabled) { border-color: var(--saffron-500); background: var(--saffron-50); }
.quiz-opt.correct { border-color: var(--tea-500); background: var(--tea-50); color: var(--tea-600); }
.quiz-opt.wrong { border-color: var(--live-red); background: rgba(198, 40, 40, 0.07); }
.quiz-explain {
  margin-top: 14px; padding: 12px 16px; border-radius: var(--r-md);
  background: var(--tea-50); color: var(--tea-600); font-size: 13.5px; font-weight: 500;
  border: 1px solid rgba(31, 122, 77, 0.25);
}

/* ============================================================ SCHEMES */
.scheme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.scheme-card { display: flex; flex-direction: column; gap: 10px; }
.scheme-card .sc-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.scheme-card h3 { font-size: 16px; }
.scheme-card .sc-dept { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.scheme-card .sc-desc { font-size: 13.5px; color: var(--ink-2); flex: 1; }
.scheme-card .sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.match-ring { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.match-ring svg { transform: rotate(-90deg); }
.match-ring .ring-bg { stroke: var(--surface-3); }
.match-ring .ring-val { stroke: var(--tea-500); stroke-linecap: round; transition: stroke-dashoffset 0.8s ease; }

/* wizard */
.wizard-steps { display: flex; gap: 6px; margin-bottom: 20px; }
.wizard-steps .w-step { flex: 1; height: 5px; border-radius: var(--r-pill); background: var(--surface-3); }
.wizard-steps .w-step.done { background: var(--saffron-500); }
.wizard-opts { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.wizard-opt {
  min-height: 52px; display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--surface); cursor: pointer; padding: 10px 16px;
  font-size: 15px; font-weight: 600; color: var(--ink); font-family: inherit;
  transition: all 0.14s ease; text-align: left;
}
.wizard-opt:hover { border-color: var(--saffron-500); background: var(--saffron-50); }

/* ============================================================ WALL */
.wall-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
@media (max-width: 980px) { .wall-layout { grid-template-columns: 1fr; } }
.composer { display: flex; gap: 12px; }
.composer .c-input {
  flex: 1; border: 1.5px solid var(--line-strong); border-radius: var(--r-lg);
  background: var(--surface); padding: 12px 16px; font-size: 15px; font-family: inherit;
  color: var(--ink); min-height: 52px; resize: none;
}
.composer .c-input:focus { outline: none; border-color: var(--saffron-500); box-shadow: var(--focus-ring); }
.post-card { display: flex; flex-direction: column; gap: 12px; }
.post-card .p-head { display: flex; gap: 12px; align-items: center; }
.post-card .p-name { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.post-card .p-meta { font-size: 12.5px; color: var(--ink-3); }
.post-card .p-body { font-size: 14.5px; color: var(--ink); }
.post-card .p-actions { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; flex-wrap: wrap; }
.post-act {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 0 14px;
  border-radius: var(--r-md); border: none; background: transparent;
  color: var(--ink-3); font-weight: 700; font-size: 13px; cursor: pointer;
  font-family: var(--font-display); transition: all 0.14s ease;
}
.post-act:hover { background: var(--surface-2); color: var(--ink); }
.post-act.liked { color: var(--live-red); }
.leader-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.leader-row:last-child { border-bottom: none; }
.leader-row .l-rank { font-family: var(--font-display); font-weight: 800; width: 22px; color: var(--ink-3); font-size: 13px; }
.leader-row .l-name { font-weight: 700; font-size: 13.5px; font-family: var(--font-display); }
.leader-row .l-sub { font-size: 11.5px; color: var(--ink-3); }
.leader-row .l-xp { margin-left: auto; font-size: 12px; color: var(--muga-600); font-weight: 800; }
.comment-block { background: var(--surface-2); border-radius: var(--r-md); padding: 10px 14px; font-size: 13.5px; }
.comment-block .cb-name { font-weight: 700; font-family: var(--font-display); font-size: 12.5px; }

/* ============================================================ AI CHAT */
.chat-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
@media (max-width: 980px) { .chat-shell { grid-template-columns: 1fr; } }
.chat-panel { display: flex; flex-direction: column; min-height: 540px; max-height: 72vh; }
.chat-scroll { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 6px 2px 14px; }
.msg { display: flex; gap: 10px; max-width: 92%; animation: msg-in 0.25s ease; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg .m-bubble {
  padding: 12px 16px; border-radius: var(--r-lg); font-size: 14.5px;
  background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--line);
  white-space: pre-wrap;
}
.msg.user .m-bubble { background: linear-gradient(135deg, var(--saffron-500), var(--saffron-600)); color: #fff; border: none; border-bottom-right-radius: 6px; }
.msg.ai .m-bubble { border-bottom-left-radius: 6px; background: var(--surface); }
.msg .m-avatar {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  background: var(--saffron-50); border: 1px solid var(--line);
}
.msg-card {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px;
  background: var(--surface); margin-top: 8px; box-shadow: var(--shadow-1);
}
.msg-card .mc-title { font-weight: 700; font-family: var(--font-display); font-size: 13.5px; }
.msg-card .mc-sub { font-size: 12.5px; color: var(--ink-3); margin: 2px 0 8px; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; }
.chat-input-row { display: flex; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.chat-input-row .input { flex: 1; }
.typing-dots { display: inline-flex; gap: 4px; padding: 6px 2px; }
.typing-dots span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3);
  animation: t-bounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes t-bounce { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }

/* ============================================================ GRIEVANCE PIPELINE */
.pipeline { display: flex; flex-direction: column; gap: 0; margin-top: 14px; }
.pipe-node { display: flex; gap: 14px; position: relative; padding-bottom: 22px; }
.pipe-node:last-child { padding-bottom: 0; }
.pipe-node::before {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: 0;
  width: 2px; background: var(--line-strong);
}
.pipe-node:last-child::before { display: none; }
.pipe-node .pn-dot {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  background: var(--surface-3); color: var(--ink-3); border: 2px solid var(--line-strong);
  z-index: 1; transition: all 0.3s ease;
}
.pipe-node.done .pn-dot { background: var(--tea-500); border-color: var(--tea-500); color: #fff; }
.pipe-node.active .pn-dot { background: var(--saffron-500); border-color: var(--saffron-500); color: #fff; animation: live-pulse 1.4s infinite; }
.pipe-node.done::before { background: var(--tea-500); }
.pipe-node .pn-title { font-weight: 700; font-family: var(--font-display); font-size: 14px; }
.pipe-node .pn-sub { font-size: 12.5px; color: var(--ink-3); }
.ticket-row {
  display: flex; align-items: center; gap: 12px; padding: 13px 0;
  border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.ticket-row:last-child { border-bottom: none; }
.ticket-row .t-id { font-family: var(--font-display); font-weight: 800; font-size: 12.5px; color: var(--saffron-600); }
.ticket-row .t-sub { font-weight: 600; font-size: 14px; flex: 1; min-width: 160px; }

/* ============================================================ TOWNHALL */
.town-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
@media (max-width: 980px) { .town-layout { grid-template-columns: 1fr; } }
.player {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  background:
    radial-gradient(500px 260px at 70% 20%, rgba(233, 120, 23, 0.25), transparent 60%),
    linear-gradient(160deg, #1A2233, #0D1420);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: #E8ECF4;
  border: 1px solid var(--line);
}
.player .pl-center { text-align: center; padding: 20px; z-index: 1; }
.player .pl-live {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--live-red); color: #fff; font-weight: 800;
  font-size: 12px; padding: 5px 12px; border-radius: var(--r-pill);
  font-family: var(--font-display); letter-spacing: 0.06em;
}
.player .pl-watching {
  position: absolute; top: 14px; right: 14px; font-size: 12.5px;
  background: rgba(0, 0, 0, 0.45); padding: 5px 12px; border-radius: var(--r-pill);
}
.player .pl-caption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: rgba(6, 10, 18, 0.72); border-radius: var(--r-md);
  font-size: 13.5px; padding: 10px 14px; font-style: italic;
  animation: ticker-fade 0.5s ease;
}
.qq-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.qq-item:last-child { border-bottom: none; }
.qq-vote {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 48px; min-height: 48px; border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong); background: var(--surface);
  cursor: pointer; font-family: var(--font-display); font-weight: 800; font-size: 14px;
  color: var(--ink-2); transition: all 0.15s ease; gap: 0;
}
.qq-vote:hover { border-color: var(--saffron-500); color: var(--saffron-600); }
.qq-vote.voted { background: var(--saffron-50); border-color: var(--saffron-500); color: var(--saffron-600); }
.qq-vote .qv-ico { font-size: 13px; line-height: 1; }
.qq-item .q-text { font-size: 13.5px; font-weight: 500; }
.qq-item .q-by { font-size: 12px; color: var(--ink-3); margin-top: 3px; }

/* ============================================================ LISTS (jobs, events, groups, directory, videos) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.list-card { display: flex; flex-direction: column; gap: 9px; }
.list-card h3 { font-size: 15.5px; }
.list-card .lc-sub { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.list-card .lc-desc { font-size: 13.5px; color: var(--ink-2); flex: 1; }
.list-card .lc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.list-card .lc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 4px 0 18px; }
.search-input {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  background: var(--surface); padding: 0 8px 0 18px; min-height: 48px;
  flex: 1; min-width: 220px; max-width: 460px;
}
.search-input input { border: none; background: transparent; flex: 1; font-size: 14.5px; color: var(--ink); font-family: inherit; min-width: 0; }
.search-input input:focus { outline: none; }
.search-input:focus-within { border-color: var(--saffron-500); box-shadow: var(--focus-ring); }
.video-thumb {
  aspect-ratio: 16 / 9; border-radius: var(--r-md);
  background: linear-gradient(150deg, #1A2233, #21385A);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 34px; position: relative; overflow: hidden;
}
.video-thumb .vt-badge { position: absolute; top: 10px; left: 10px; }

/* ============================================================ OFFICER / ADMIN */
.bar-chart { display: flex; align-items: flex-end; gap: clamp(8px, 2%, 18px); height: 190px; padding-top: 10px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bar-col .b-bar {
  width: 100%; max-width: 46px; border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--saffron-400), var(--saffron-600));
  transition: height 0.7s cubic-bezier(0.2, 0.8, 0.3, 1);
  min-height: 6px;
}
.bar-col .b-val { font-size: 11.5px; font-weight: 800; font-family: var(--font-display); color: var(--ink-2); }
.bar-col .b-label { font-size: 11px; color: var(--ink-3); font-weight: 600; text-align: center; }
.intake-row { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.intake-row:last-child { border-bottom: none; }
.intake-row .i-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.intake-row .i-title { font-weight: 700; font-family: var(--font-display); font-size: 14px; flex: 1; min-width: 180px; }
.intake-row .i-quote { font-size: 13px; color: var(--ink-2); font-style: italic; }
.intake-row .i-meta { font-size: 12px; color: var(--ink-3); }
.verify-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.ai-finding { border-radius: var(--r-md); padding: 10px 14px; font-size: 13px; font-weight: 500; }
.ai-finding.ok { background: var(--tea-50); color: var(--tea-600); border: 1px solid rgba(31, 122, 77, 0.3); }
.ai-finding.bad { background: rgba(198, 40, 40, 0.08); color: var(--live-red); border: 1px solid rgba(198, 40, 40, 0.3); }
:root[data-theme="dark"] .ai-finding.bad { background: rgba(198, 40, 40, 0.2); color: #ff8a80; }
.ai-finding .af-label { font-weight: 800; font-family: var(--font-display); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 3px; }
.workspace-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.workspace-tile {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px;
  background: var(--surface); cursor: pointer; text-align: left; font-family: inherit;
  transition: all 0.15s ease; display: flex; flex-direction: column; gap: 3px;
}
.workspace-tile:hover { border-color: var(--saffron-400); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.workspace-tile .w-title { font-weight: 700; font-family: var(--font-display); font-size: 13.5px; color: var(--ink); }
.workspace-tile .w-sub { font-size: 11.5px; color: var(--ink-3); }

/* Vision dashboard */
.viz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.heat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.heat-cell {
  border-radius: var(--r-sm); padding: 10px 12px; font-size: 11.5px; font-weight: 600;
  color: var(--ink); border: 1px solid var(--line);
}
.heat-cell .h-val { font-family: var(--font-display); font-weight: 800; font-size: 15px; display: block; }
.legend-row { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: var(--ink-2); margin-top: 12px; }
.legend-row .lg-item { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.legend-row .lg-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ============================================================ SIMPLE MODE (Upajibika) */
.simple-shell { max-width: 900px; margin: 0 auto; padding: 20px 16px calc(var(--dock-h) + 32px); text-align: center; }
.simple-shell .sp-logo {
  width: 92px; height: 92px; margin: 18px auto 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron-500), var(--muga-400));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 42px; box-shadow: 0 10px 30px rgba(196, 97, 10, 0.35);
}
.simple-shell h1 { font-size: clamp(34px, 7vw, 48px); letter-spacing: -0.01em; }
.speak-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--saffron-50); color: var(--saffron-700);
  padding: 9px 18px; border-radius: var(--r-pill); font-size: 16.5px; font-weight: 600;
  margin-top: 10px; border: none; cursor: pointer; font-family: inherit;
}
.lang-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0; }
.lang-pill {
  min-height: 54px; padding: 8px 22px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong); background: var(--surface);
  font-size: 18px; font-weight: 600; cursor: pointer; color: var(--ink); font-family: inherit;
  transition: all 0.15s ease;
}
.lang-pill.active { background: var(--saffron-500); border-color: var(--saffron-500); color: #fff; box-shadow: 0 4px 14px rgba(196, 97, 10, 0.4); }
.voice-bar {
  display: flex; align-items: center; gap: 6px;
  border: 2px solid var(--saffron-500); border-radius: var(--r-pill);
  background: var(--surface); padding: 6px;
  max-width: 620px; margin: 0 auto 28px;
  box-shadow: var(--shadow-1);
}
.voice-bar .vb-mic, .voice-bar .vb-go {
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  font-size: 21px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.15s ease;
}
.voice-bar .vb-mic { background: var(--saffron-50); color: var(--saffron-600); }
.voice-bar .vb-mic.listening { background: var(--live-red); color: #fff; animation: live-pulse 1.2s infinite; }
.voice-bar .vb-go { background: var(--saffron-500); color: #fff; }
.voice-bar input {
  flex: 1; border: none; background: transparent; font-size: 20px; color: var(--ink);
  font-family: inherit; min-width: 0; padding: 0 8px;
}
.voice-bar input:focus { outline: none; }
/* Highlight slider — shares the centered 700px column with the tile grid. */
.simple-banners { position: relative; max-width: 700px; margin: 4px auto 24px; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--shadow-1); }
.sb-track { display: flex; transition: transform 0.5s ease; }
.sb-slide {
  flex: 0 0 100%; min-width: 0; display: flex; align-items: center; gap: 18px;
  min-height: 132px; padding: 22px 26px 30px; border: none; cursor: pointer;
  text-align: left; color: #fff; font-family: inherit;
}
.sb-slide .sb-ico {
  flex-shrink: 0; width: 66px; height: 66px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18); display: flex; align-items: center; justify-content: center;
  font-size: 34px;
}
.sb-copy { display: flex; flex-direction: column; min-width: 0; }
.sb-title { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.15; }
.sb-sub { font-size: 15.5px; opacity: 0.95; margin-top: 5px; }
.sb-green { background: linear-gradient(135deg, var(--tea-500), var(--tea-600)); }
.sb-saffron { background: linear-gradient(135deg, var(--saffron-500), var(--muga-400)); }
.sb-blue { background: linear-gradient(135deg, #2f6fd0, #1c4488); }
.sb-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.sb-dot { width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.55); cursor: pointer; transition: width 0.2s ease, background 0.2s ease; }
.sb-dot.active { width: 26px; border-radius: 5px; background: #fff; }
@media (max-width: 520px) {
  .sb-slide { min-height: 116px; padding: 18px 20px 28px; gap: 14px; }
  .sb-slide .sb-ico { width: 54px; height: 54px; font-size: 28px; }
  .sb-title { font-size: 20px; }
  .sb-sub { font-size: 14px; }
}

/* Centered, capped width so the 8 tiles balance (4 per row on desktop, 2 on
   phones) instead of leaving an orphaned short final row, and read larger. */
.simple-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; max-width: 700px; margin: 0 auto; }
.simple-tile {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--surface); padding: 22px 14px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: pointer; font-family: inherit; position: relative;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-1);
}
.simple-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.simple-tile .st-ico {
  width: 74px; height: 74px; border-radius: 50%; font-size: 34px;
  display: flex; align-items: center; justify-content: center;
}
.simple-tile .st-label { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); }
.simple-tile .st-en { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.simple-tile .st-speak {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: var(--surface-2); color: var(--ink-3); cursor: pointer; font-size: 14px;
}
.simple-tile .st-speak:hover { background: var(--saffron-50); color: var(--saffron-600); }

/* ============================================================ CMO PASS */
.pass-card {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(217, 164, 65, 0.22), transparent 60%),
    linear-gradient(155deg, var(--surface), var(--saffron-50));
  box-shadow: var(--shadow-2);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.pass-card .pc-eyebrow {
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.16em;
  font-size: 11px; text-transform: uppercase; color: var(--saffron-600);
}
.pass-card .pc-name { font-family: var(--font-display); font-weight: 800; font-size: 21px; margin-top: 2px; }
.pass-card .pc-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; margin-top: 14px; }
.pass-card .pc-field { margin-bottom: 10px; }
.pass-card .pc-label { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; font-family: var(--font-display); }
.pass-card .pc-value { font-size: 13.5px; font-weight: 600; }
.pass-card .qr-box { color: var(--ink); background: var(--surface); border-radius: var(--r-md); padding: 8px; border: 1px solid var(--line); display: inline-flex; }
.pass-card .pc-id { font-family: var(--font-display); font-weight: 800; font-size: 12.5px; color: var(--saffron-600); letter-spacing: 0.06em; }
.pass-card .pc-band { margin: 14px -22px -22px; }
.pass-card .pc-band .gamocha-band { border-radius: 0; }
@media (max-width: 520px) { .pass-card .pc-grid { grid-template-columns: 1fr; } .pass-card .qr-box { align-self: center; } }

/* ---------- Assisted suggestion wizard (Sahaj) ---------- */
.sg-bigmic {
  width: 120px; height: 120px; border-radius: 50%; border: none; cursor: pointer;
  font-size: 52px; display: flex; align-items: center; justify-content: center;
  margin: 26px auto 12px;
  background: linear-gradient(135deg, var(--saffron-500), var(--saffron-600));
  color: #fff;
  box-shadow: 0 12px 34px rgba(196, 97, 10, 0.4);
  transition: transform 0.15s ease;
}
.sg-bigmic:hover { transform: scale(1.04); }
.sg-bigmic:active { transform: scale(0.97); }
.sg-bigmic.listening { background: var(--live-red); animation: live-pulse 1.1s infinite; }
.sg-transcript {
  margin: 18px auto 0;
  max-width: 560px;
  background: var(--surface);
  border: 2px solid var(--tea-500);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  font-size: 22px;
  line-height: 1.6;
  text-align: left;
}

/* The Sahaj Simple view is always rendered large (folded into the base
   .simple-*, .lang-pill, .voice-bar and .speak-chip rules above), so the
   former app-wide "big text" toggle and its overrides have been removed. */

/* ============================================================ PROFILE */
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.badge-tile {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 12px;
  text-align: center; background: var(--surface);
}
.badge-tile.locked { opacity: 0.45; filter: grayscale(0.8); }
.badge-tile .bd-ico { font-size: 30px; }
.badge-tile .bd-name { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; margin-top: 6px; }
.badge-tile .bd-sub { font-size: 11px; color: var(--ink-3); }

/* ============================================================ ONE ASSAM
   Directory of official government portals. Cards are anchors that leave the
   app, so they carry a visible ↗ cue plus screen-reader text, and keep a 48px
   minimum target. */
.oa-search { max-width: 540px; margin-bottom: 12px; }
.oa-note { background: linear-gradient(140deg, var(--surface-2), var(--surface)); }

.oa-group { margin-bottom: 28px; }
.oa-group-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.oa-group-head .oa-gico {
  width: 44px; height: 44px; border-radius: var(--r-md); flex: none;
  display: grid; place-items: center; font-size: 21px;
}
.oa-group-head .oa-gtext { flex: 1; min-width: 200px; }
.oa-group-head h3 { font-family: var(--font-display); font-size: 16.5px; }
.oa-group-head .muted { font-size: 12.5px; margin-top: 2px; }

.oa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.oa-card {
  display: flex; gap: 12px; align-items: flex-start; min-height: 48px;
  padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); color: inherit; text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.oa-card:hover { transform: translateY(-2px); border-color: var(--saffron-200); box-shadow: var(--shadow-2); }
.oa-card:focus-visible { outline: none; border-color: var(--saffron-500); box-shadow: var(--focus-ring); }
.oa-card .oa-ico {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center; font-size: 18px;
}
.oa-card .oa-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.oa-card .oa-name {
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.oa-card .oa-ext { color: var(--saffron-600); font-size: 13px; font-weight: 800; }
.oa-card .oa-line { font-size: 13px; color: var(--ink-2); }
.oa-card .oa-host { font-size: 12px; color: var(--ink-3); word-break: break-word; }

/* Public landing preview band */
.oa-band {
  border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface);
  padding: clamp(16px, 2.4vw, 24px); box-shadow: var(--shadow-1);
}
.oa-band-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.oa-cat {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface-2);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
}
.oa-cat .oa-cat-ico { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; }
.oa-cat .oa-cat-n { font-family: var(--font-display); font-weight: 800; font-size: 11.5px; color: var(--ink-3); }
.oa-band-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 12px; }
.oa-band-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-strong);
}
@media (max-width: 560px) { .oa-band-foot .btn { flex: 1; justify-content: center; } }
@media (prefers-reduced-motion: reduce) {
  .oa-card { transition: none; }
  .oa-card:hover { transform: none; }
}

/* misc */
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.muted { color: var(--ink-3); font-size: 13px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

.logo-mark { border-radius: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Submit Ideas (public) ---------- */
textarea.input.idea-body { min-height: 160px; }
.idea-consent {
  display: flex; gap: 12px; align-items: flex-start;
  min-height: 48px; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2); cursor: pointer; font-size: 13.5px; line-height: 1.45;
  color: var(--ink-2);
}
.idea-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--saffron-600); }
.idea-tips { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.idea-tips li { margin-bottom: 8px; }
.idea-pub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.idea-pub {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 18px 16px; box-shadow: var(--shadow-1); min-height: 100%;
}
.idea-pub h3 { font-size: 16px; margin: 10px 0 8px; letter-spacing: -0.015em; }
.idea-pub p { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.idea-pub-meta { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
@media (max-width: 900px) { .idea-pub-grid { grid-template-columns: 1fr; } }

/* Print-ish scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; border: 2px solid var(--canvas); }
::-webkit-scrollbar-track { background: transparent; }
