._card_1qjdm_1 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

._label_1qjdm_11 {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

._value_1qjdm_19 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

._sub_1qjdm_26 {
  font-size: 0.8rem;
  color: var(--text-muted);
}
._badge_1n21i_1 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

._dot_1n21i_14 {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

._red_1n21i_21 { background: #fee2e2; color: #991b1b; }
._red_1n21i_21 ._dot_1n21i_14 { background: var(--rag-red); }

._amber_1n21i_24 { background: #fef3c7; color: #92400e; }
._amber_1n21i_24 ._dot_1n21i_14 { background: var(--rag-amber); }

._green_1n21i_27 { background: #d1fae5; color: #065f46; }
._green_1n21i_27 ._dot_1n21i_14 { background: var(--rag-green); }

._not_set_1n21i_30 { background: #f1f5f9; color: #64748b; }
._not_set_1n21i_30 ._dot_1n21i_14 { background: var(--rag-grey); }
._header_18dae_1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
._title_18dae_7 {
  font-size: 1.5rem;
  font-weight: 700;
}

._statsRow_18dae_12 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

._section_18dae_19 {
  margin-bottom: 2rem;
}
._sectionTitle_18dae_22 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

._table_18dae_29 {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
._table_18dae_29 th,
._table_18dae_29 td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}
._table_18dae_29 th {
  background: var(--surface-hover);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
._table_18dae_29 tr:last-child td {
  border-bottom: none;
}
._table_18dae_29 tr:hover td {
  background: rgba(37, 99, 235, 0.03);
}

._clickRow_18dae_59 {
  cursor: pointer;
}

._statusBadge_18dae_63 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}
._statusActive_18dae_71 { background: #d1fae5; color: #065f46; }
._statusOnHold_18dae_72 { background: #fef3c7; color: #92400e; }
._statusCompleted_18dae_73 { background: #e0e7ff; color: #3730a3; }
._statusCancelled_18dae_74 { background: #fee2e2; color: #991b1b; }

._phaseBadge_18dae_76 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  background: #f1f5f9;
  color: var(--text-muted);
  text-transform: capitalize;
}

._empty_18dae_87 {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

._btn_18dae_94 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
._btnPrimary_18dae_106 {
  background: var(--primary);
  color: #fff;
}
._btnPrimary_18dae_106:hover {
  background: var(--primary-hover);
}

._progressBar_18dae_114 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
._progressTrack_18dae_119 {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  min-width: 60px;
}
._progressFill_18dae_127 {
  height: 100%;
  border-radius: 3px;
  background: var(--success);
  transition: width 0.3s;
}
._progressPct_18dae_133 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 36px;
  text-align: right;
}

/* Create programme modal */
._overlay_18dae_142 {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
._modal_18dae_151 {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 420px;
  max-width: 90vw;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
._modalTitle_18dae_159 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
._formField_18dae_164 {
  margin-bottom: 0.75rem;
}
._formLabel_18dae_167 {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
._formInput_18dae_174 {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  outline: none;
}
._formInput_18dae_174:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}
._modalActions_18dae_186 {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}
._btnGhost_18dae_192 {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
._btnGhost_18dae_192:hover {
  background: var(--surface-hover);
}

._btnSecondary_18dae_201 {
  background: var(--surface-hover);
  color: var(--text);
  border: 1px solid var(--border);
}
._btnSecondary_18dae_201:hover:not(:disabled) {
  background: var(--border);
}

._btnDanger_18dae_210 {
  background: var(--danger, #dc2626);
  color: #fff;
}
._btnDanger_18dae_210:hover:not(:disabled) {
  background: #b91c1c;
}

._btn_18dae_94:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ── Demo data control bar ───────────────────────────────────────── */
._demoBar_18dae_224 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
}
._demoBarInfo_18dae_237 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-width: 0;
}
._demoBarLabel_18dae_244 {
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}
._demoBarLoaded_18dae_251 {
  color: var(--success, #16a34a);
  font-weight: 500;
}
._demoBarEmpty_18dae_255 {
  color: var(--text-muted);
}
._demoBarMutedText_18dae_258 {
  color: var(--text-muted);
  font-style: italic;
}
._demoBarActions_18dae_262 {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  ._demoBar_18dae_224 {
    flex-direction: column;
    align-items: stretch;
  }
  ._demoBarActions_18dae_262 {
    justify-content: flex-end;
  }
}

/* Toast / inline status */
._demoToast_18dae_279 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  border: 1px solid transparent;
}
._demoToast_info_18dae_290 {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--primary);
}
._demoToast_success_18dae_295 {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.25);
  color: var(--success, #16a34a);
}
._demoToast_error_18dae_300 {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.25);
  color: var(--danger, #dc2626);
}
._demoToastClose_18dae_305 {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: inherit;
  padding: 0 0.25rem;
}
._shell_piq8w_1 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

._topbar_piq8w_7 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

._logo_piq8w_20 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
._logo_piq8w_20:hover { text-decoration: none; }
._logoMark_piq8w_30 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
}

._nav_piq8w_43 {
  display: flex;
  align-items: center;
  gap: 1rem;
}
._navLink_piq8w_48 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
._navLink_piq8w_48:hover {
  background: var(--surface-hover);
  color: var(--text);
  text-decoration: none;
}
._navLinkActive_piq8w_62 {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}

._content_piq8w_67 {
  flex: 1;
  padding: 1.5rem;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

._footer_piq8w_75 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

._footerLink_piq8w_86 {
  color: var(--text-muted);
  text-decoration: none;
}

._footerLink_piq8w_86:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ── Save status pill in topbar ─────────────────────────────────── */
._topbarStatus_piq8w_97 {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  margin-right: 1rem;
}

@media (max-width: 720px) {
  ._topbarStatus_piq8w_97 {
    margin-right: 0.5rem;
    /* Save status badge text becomes long; allow it to truncate gracefully */
    max-width: 40vw;
    overflow: hidden;
  }
}

/* ── Mobile hamburger button (hidden on desktop) ────────────────── */
._hamburger_piq8w_114 {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--text);
}
._hamburgerIcon_piq8w_124 {
  font-size: 1.5rem;
  line-height: 1;
}

/* ── Mobile drawer backdrop ─────────────────────────────────────── */
._navBackdrop_piq8w_130 {
  display: none;
}

@media (max-width: 900px) {
  ._topbar_piq8w_7 {
    /* Allow content to wrap if needed and shrink padding */
    padding: 0 1rem;
  }

  ._hamburger_piq8w_114 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  ._navBackdrop_piq8w_130 {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 90;
  }

  /* Slide-in drawer from the right edge.
     Uses transform translateX so it animates instead of layout-shifting. */
  ._nav_piq8w_43 {
    position: fixed;
    top: 56px;
    right: 0;
    bottom: 0;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem;
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.18s ease-out;
    z-index: 100;
    overflow-y: auto;
  }
  ._navOpen_piq8w_174 {
    transform: translateX(0);
  }
  ._navLink_piq8w_48 {
    padding: 0.85rem 0.75rem; /* tappable */
    font-size: 0.95rem;
    border-radius: var(--radius);
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

/* On mobile, also tighten the content padding */
@media (max-width: 720px) {
  ._content_piq8w_67 {
    padding: 1rem;
  }
}
/*
 * SCOPE Master App — Unified Design System
 * Single source of truth for tokens, base styles, and shared utility classes.
 * Imported once per app via `import '@scope/shared/src/theme.css'` in main.tsx.
 *
 * Sections:
 *   1. Design tokens (colors, spacing, typography, radii, shadows)
 *   2. Base styles (resets, body, focus rings)
 *   3. Touch-friendly defaults (48px minimum tap targets for field use)
 *   4. Shared utility classes (.scope-btn, .scope-card, .scope-table-wrap, .scope-status-*)
 */

:root {
  color-scheme: light dark;

  /* ── Colors (light mode) ─────────────────────────────────────────── */
  /* Background scale: bg (page) → surface (cards) → surface-hover (rows on hover)
     Text scale: text-strong (headings) → text (body) → text-muted (labels, hints) */
  --bg: #f1f5f9;             /* slate-100 — slightly cooler so white cards pop */
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --surface-elevated: #ffffff;
  --border: #cbd5e1;         /* slate-300 — was e2e8f0, stronger to see card edges */
  --border-strong: #94a3b8;
  --text-strong: #0f172a;    /* slate-900 — for h1/h2 — pitch contrast */
  --text: #1e293b;           /* slate-800 — body */
  --text-muted: #475569;     /* slate-600 — was 64748b, darker for AA contrast */
  --text-inverse: #f8fafc;

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: rgba(37, 99, 235, 0.1);

  --success: #22c55e;
  --success-soft: rgba(34, 197, 94, 0.12);
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.12);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.12);

  --rag-red: #ef4444;
  --rag-amber: #f59e0b;
  --rag-green: #22c55e;
  --rag-grey: #94a3b8;

  --accent: #2563eb;
  --accent-dim: rgba(37, 99, 235, 0.15);

  /* ── Spacing (4px scale) ─────────────────────────────────────────── */
  --space-1: 0.25rem; /*  4px */
  --space-2: 0.5rem;  /*  8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem;    /* 16px */
  --space-5: 1.25rem; /* 20px */
  --space-6: 1.5rem;  /* 24px */
  --space-8: 2rem;    /* 32px */
  --space-10: 2.5rem; /* 40px */
  --space-12: 3rem;   /* 48px */

  /* ── Typography ──────────────────────────────────────────────────── */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  --text-xs: 0.72rem;
  --text-sm: 0.85rem;
  --text-base: 0.95rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;

  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* ── Radii ───────────────────────────────────────────────────────── */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* ── Shadows ─────────────────────────────────────────────────────── */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.15);

  /* ── Touch targets (CRITICAL for field workers wearing gloves) ───── */
  /* WCAG 2.5.5: minimum 24x24, recommended 44x44. We use 44 for desktop
     and bump to 48 in the touch media query. */
  --touch-min: 44px;

  /* ── Z layers ────────────────────────────────────────────────────── */
  --z-sticky: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;

  /* ── Transitions ─────────────────────────────────────────────────── */
  --transition-fast: 100ms ease-out;
  --transition: 150ms ease-out;
}

/* ── Explicit overrides via UserSettingsProvider ─────────────────────
   These come BEFORE the prefers-color-scheme rule so they take priority
   when the user picks light or dark explicitly. The 'system' option does
   NOT set data-theme so prefers-color-scheme remains the source of truth. */
:root[data-theme="dark"] {
  --bg: #020617;
  --surface: #0f172a;
  --surface-hover: #1e293b;
  --surface-elevated: #1e293b;
  --border: #334155;
  --border-strong: #475569;
  --text-strong: #ffffff;
  --text: #f1f5f9;
  --text-muted: #cbd5e1;
  --text-inverse: #0f172a;
  --primary-soft: rgba(59, 130, 246, 0.18);
  --success-soft: rgba(34, 197, 94, 0.16);
  --warning-soft: rgba(245, 158, 11, 0.16);
  --danger-soft: rgba(248, 113, 113, 0.16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}
:root[data-theme="light"] {
  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --surface-elevated: #ffffff;
  --border: #cbd5e1;
  --border-strong: #94a3b8;
  --text-strong: #0f172a;
  --text: #1e293b;
  --text-muted: #475569;
  --text-inverse: #f8fafc;
  --primary-soft: rgba(37, 99, 235, 0.1);
  --success-soft: rgba(34, 197, 94, 0.12);
  --warning-soft: rgba(245, 158, 11, 0.12);
  --danger-soft: rgba(239, 68, 68, 0.12);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.15);
}

/* ── Auto dark mode (only when no explicit data-theme) ─────────────── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* Page background is the deepest layer; cards lift above it. */
    --bg: #020617;             /* slate-950 — was 0f172a, darker so cards stand out */
    --surface: #0f172a;        /* slate-900 — was 1e293b */
    --surface-hover: #1e293b;  /* slate-800 */
    --surface-elevated: #1e293b;
    --border: #334155;         /* slate-700 — was 475569, stronger card edges */
    --border-strong: #475569;
    --text-strong: #ffffff;    /* pure white — for headings */
    --text: #f1f5f9;           /* slate-100 — body */
    --text-muted: #cbd5e1;     /* slate-300 — was 94a3b8, much brighter for AA contrast */
    --text-inverse: #0f172a;

    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-soft: rgba(59, 130, 246, 0.18);

    --success: #22c55e;
    --success-soft: rgba(34, 197, 94, 0.16);
    --warning: #f59e0b;
    --warning-soft: rgba(245, 158, 11, 0.16);
    --danger: #f87171;
    --danger-soft: rgba(248, 113, 113, 0.16);

    --rag-red: #f87171;
    --rag-amber: #fbbf24;
    --rag-green: #4ade80;
    --rag-grey: #64748b;

    --accent: #3b82f6;
    --accent-dim: rgba(59, 130, 246, 0.2);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  }
}

/* ════════════════════════════════════════════════════════════════════
   Base resets & body
   ════════════════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Avoid horizontal scrollbars on phones from rounding errors */
  overflow-x: hidden;
}

#root {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

/* Headings inherit the strong-contrast token so they pop on both modes
   without each component having to opt in. */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-strong);
  font-weight: 700;
  line-height: var(--leading-tight);
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

button {
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
}

/* Visible focus ring for keyboard navigation (accessibility). */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ════════════════════════════════════════════════════════════════════
   Touch-friendly defaults
   On coarse pointers (touchscreens), grow tap targets to 48px and bump
   font sizes a touch so gloved hands and field tablets work properly.
   ════════════════════════════════════════════════════════════════════ */

@media (pointer: coarse) {
  :root {
    --touch-min: 48px;
  }
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  input[type="checkbox"],
  input[type="radio"],
  select,
  a[role="button"] {
    min-height: var(--touch-min);
  }
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  input[type="password"],
  input[type="date"],
  input[type="time"],
  textarea {
    min-height: var(--touch-min);
    font-size: max(16px, var(--text-base)); /* iOS won't zoom on focus when >= 16px */
  }
}

/* ════════════════════════════════════════════════════════════════════
   Shared utility classes — opt-in via className="scope-*"
   These give every app a consistent look without mandating a refactor.
   ════════════════════════════════════════════════════════════════════ */

/* Buttons */
.scope-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  min-height: var(--touch-min);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.scope-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.scope-btn-primary  { background: var(--primary); color: #fff; }
.scope-btn-primary:hover:not(:disabled) { background: var(--primary-hover); }
.scope-btn-secondary { background: var(--surface-hover); color: var(--text); border-color: var(--border); }
.scope-btn-secondary:hover:not(:disabled) { background: var(--border); }
.scope-btn-ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }
.scope-btn-ghost:hover:not(:disabled) { background: var(--surface-hover); }
.scope-btn-danger { background: var(--danger); color: #fff; }
.scope-btn-danger:hover:not(:disabled) { background: #b91c1c; }

/* Cards */
.scope-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

/* Tables — wrap in this div to get horizontal scroll on mobile */
.scope-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.scope-table-wrap > table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.scope-table-wrap th,
.scope-table-wrap td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.scope-table-wrap th {
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-hover);
  text-transform: uppercase;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
}

/* Status pills (RAG, generic) */
.scope-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px var(--space-3);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.scope-pill-success { background: var(--success-soft); color: var(--success); }
.scope-pill-warning { background: var(--warning-soft); color: var(--warning); }
.scope-pill-danger  { background: var(--danger-soft);  color: var(--danger); }
.scope-pill-info    { background: var(--primary-soft); color: var(--primary); }
.scope-pill-muted   { background: var(--surface-hover); color: var(--text-muted); }

/* Form controls */
.scope-input,
.scope-select,
.scope-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: var(--text-base);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.scope-input:focus,
.scope-select:focus,
.scope-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--accent-dim);
  outline: none;
}
.scope-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

/* Loading & empty states */
.scope-loading,
.scope-empty {
  padding: var(--space-8);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* Spinner — apply to any element via className="scope-spinner" */
.scope-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: scope-spin 0.6s linear infinite;
}
@keyframes scope-spin {
  to { transform: rotate(360deg); }
}

/* Save status badge — use with .scope-save-status[data-state="..."] */
.scope-save-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  border: 1px solid transparent;
}
.scope-save-status[data-state="saved"]    { background: var(--success-soft); color: var(--success); border-color: var(--success-soft); }
.scope-save-status[data-state="saving"]   { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-soft); }
.scope-save-status[data-state="offline"]  { background: var(--warning-soft); color: var(--warning); border-color: var(--warning-soft); }
.scope-save-status[data-state="retrying"] { background: var(--warning-soft); color: var(--warning); border-color: var(--warning-soft); }
.scope-save-status[data-state="error"]    { background: var(--danger-soft);  color: var(--danger);  border-color: var(--danger-soft); }
.scope-save-status[data-state="idle"]     { background: var(--surface-hover); color: var(--text-muted); border-color: var(--border); }

/* ════════════════════════════════════════════════════════════════════
   Responsive helpers
   Tablet breakpoint: 720-1024px
   Mobile breakpoint: <720px
   ════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  :root {
    /* Slightly tighter spacing on tablets to fit more on-screen */
    --space-5: 1rem;
    --space-6: 1.25rem;
  }
}

@media (max-width: 720px) {
  :root {
    --text-base: 0.92rem;
    --text-sm: 0.82rem;
  }
  .scope-table-wrap > table {
    font-size: var(--text-xs);
  }
}

/* Stack any element with .scope-stack-mobile vertically below 720px */
@media (max-width: 720px) {
  .scope-stack-mobile {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

/* Hide on mobile only */
@media (max-width: 720px) {
  .scope-hide-mobile { display: none !important; }
}
/* Hide on desktop only */
@media (min-width: 721px) {
  .scope-hide-desktop { display: none !important; }
}

/* ════════════════════════════════════════════════════════════════════
   User-controlled primary colour overrides
   Set via UserSettingsProvider → <html data-primary="...">
   The default (data-primary missing) keeps the SCOPE Blue defined above.
   ════════════════════════════════════════════════════════════════════ */

:root[data-primary="teal"] {
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-soft: rgba(13, 148, 136, 0.12);
  --accent: #0d9488;
  --accent-dim: rgba(13, 148, 136, 0.18);
}
:root[data-primary="purple"] {
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --primary-soft: rgba(124, 58, 237, 0.12);
  --accent: #7c3aed;
  --accent-dim: rgba(124, 58, 237, 0.18);
}
:root[data-primary="orange"] {
  --primary: #ea580c;
  --primary-hover: #c2410c;
  --primary-soft: rgba(234, 88, 12, 0.12);
  --accent: #ea580c;
  --accent-dim: rgba(234, 88, 12, 0.18);
}
:root[data-primary="green"] {
  --primary: #16a34a;
  --primary-hover: #15803d;
  --primary-soft: rgba(22, 163, 74, 0.12);
  --accent: #16a34a;
  --accent-dim: rgba(22, 163, 74, 0.18);
}
:root[data-primary="rose"] {
  --primary: #e11d48;
  --primary-hover: #be123c;
  --primary-soft: rgba(225, 29, 72, 0.12);
  --accent: #e11d48;
  --accent-dim: rgba(225, 29, 72, 0.18);
}

/* Same overrides under dark mode — ensure soft tints stay readable on dark surfaces */
:root[data-theme="dark"][data-primary="teal"]   { --primary: #2dd4bf; --primary-hover: #5eead4; --primary-soft: rgba(45, 212, 191, 0.20); --accent: #2dd4bf; --accent-dim: rgba(45, 212, 191, 0.25); }
:root[data-theme="dark"][data-primary="purple"] { --primary: #a78bfa; --primary-hover: #c4b5fd; --primary-soft: rgba(167, 139, 250, 0.22); --accent: #a78bfa; --accent-dim: rgba(167, 139, 250, 0.28); }
:root[data-theme="dark"][data-primary="orange"] { --primary: #fb923c; --primary-hover: #fdba74; --primary-soft: rgba(251, 146, 60, 0.22); --accent: #fb923c; --accent-dim: rgba(251, 146, 60, 0.28); }
:root[data-theme="dark"][data-primary="green"]  { --primary: #4ade80; --primary-hover: #86efac; --primary-soft: rgba(74, 222, 128, 0.22); --accent: #4ade80; --accent-dim: rgba(74, 222, 128, 0.28); }
:root[data-theme="dark"][data-primary="rose"]   { --primary: #fb7185; --primary-hover: #fda4af; --primary-soft: rgba(251, 113, 133, 0.22); --accent: #fb7185; --accent-dim: rgba(251, 113, 133, 0.28); }

/* ════════════════════════════════════════════════════════════════════
   User-controlled density
   Compact = tighter spacing, smaller padding/font.
   Comfortable = the default values declared in :root above.
   Spacious = roomier padding, slightly bigger font.
   ════════════════════════════════════════════════════════════════════ */

:root[data-density="compact"] {
  --space-3: 0.5rem;
  --space-4: 0.75rem;
  --space-5: 1rem;
  --space-6: 1.125rem;
  --text-base: 0.85rem;
  --text-sm: 0.78rem;
  --touch-min: 36px;
}
:root[data-density="spacious"] {
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --text-base: 1.05rem;
  --text-sm: 0.95rem;
  --touch-min: 52px;
}

/* ════════════════════════════════════════════════════════════════════
   User-controlled table row height
   Drives the height of every row in `.scope-table-wrap` AND any table
   that opts in via the same data attribute.
   ════════════════════════════════════════════════════════════════════ */

:root[data-row-height="compact"] .scope-table-wrap th,
:root[data-row-height="compact"] .scope-table-wrap td {
  padding-top: var(--space-1);
  padding-bottom: var(--space-1);
}
:root[data-row-height="spacious"] .scope-table-wrap th,
:root[data-row-height="spacious"] .scope-table-wrap td {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}
/*
 * Per-app CSS hook.
 *
 * Design tokens, base styles, and utility classes live in
 * @scope/shared/src/theme.css and are imported once from main.tsx.
 *
 * This file is intentionally minimal — add ONLY app-specific overrides here
 * (e.g. header backgrounds, brand-specific tweaks). Token values must come
 * from the shared theme so all 8 apps stay harmonised.
 */
._header_1ur2n_1 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
._backBtn_1ur2n_7 {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--text-muted);
}
._backBtn_1ur2n_7:hover { background: var(--surface-hover); }

._title_1ur2n_18 { font-size: 1.5rem; font-weight: 700; }

._meta_1ur2n_20 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

._statsRow_1ur2n_29 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

._section_1ur2n_36 { margin-bottom: 2rem; }
._sectionTitle_1ur2n_37 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

._projectGrid_1ur2n_43 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
._projectCard_1ur2n_48 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
}
._projectCard_1ur2n_48:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}
._cardHeader_1ur2n_60 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
._cardTitle_1ur2n_66 {
  font-size: 0.95rem;
  font-weight: 600;
}
._cardMeta_1ur2n_70 {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
._cardFooter_1ur2n_75 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
._phaseBadge_1ur2n_81 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  background: #f1f5f9;
  color: var(--text-muted);
  text-transform: capitalize;
}
._statusBadge_1ur2n_91 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}
._statusActive_1ur2n_99 { background: #d1fae5; color: #065f46; }
._statusOnHold_1ur2n_100 { background: #fef3c7; color: #92400e; }
._statusCompleted_1ur2n_101 { background: #e0e7ff; color: #3730a3; }
._statusCancelled_1ur2n_102 { background: #fee2e2; color: #991b1b; }

._progressBar_1ur2n_104 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
._progressTrack_1ur2n_110 {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}
._progressFill_1ur2n_117 {
  height: 100%;
  border-radius: 3px;
  background: var(--success);
}
._progressPct_1ur2n_122 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

._empty_1ur2n_128 {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}
._header_1m6hs_1 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
._backBtn_1m6hs_7 {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--text-muted);
}
._backBtn_1m6hs_7:hover { background: var(--surface-hover); }
._title_1m6hs_17 { font-size: 1.5rem; font-weight: 700; }

._meta_1m6hs_19 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}
._statusBadge_1m6hs_28 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}
._statusActive_1m6hs_36 { background: #d1fae5; color: #065f46; }
._statusOnHold_1m6hs_37 { background: #fef3c7; color: #92400e; }
._statusCompleted_1m6hs_38 { background: #e0e7ff; color: #3730a3; }
._phaseBadge_1m6hs_39 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  background: #f1f5f9;
  color: var(--text-muted);
  text-transform: capitalize;
}

._statsRow_1m6hs_50 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Phase timeline */
._timeline_1m6hs_58 {
  margin-bottom: 2rem;
}
._timelineTitle_1m6hs_61 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
._phaseTrack_1m6hs_66 {
  display: flex;
  gap: 2px;
  height: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e2e8f0;
}
._phaseSegment_1m6hs_74 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  text-transform: capitalize;
  min-width: 40px;
  padding: 0 0.5rem;
  transition: flex 0.3s;
}
._phaseSegmentEmpty_1m6hs_86 {
  background: #cbd5e1;
  color: #64748b;
}
._phaseSegmentActive_1m6hs_90 {
  background: var(--primary);
}
._phaseSegmentDone_1m6hs_93 {
  background: var(--success);
}

/* Milestone table by phase */
._phaseGroup_1m6hs_98 {
  margin-bottom: 1.5rem;
}
._phaseGroupTitle_1m6hs_101 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: capitalize;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
._phaseCount_1m6hs_110 {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

._table_1m6hs_116 {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
}
._table_1m6hs_116 th,
._table_1m6hs_116 td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
}
._table_1m6hs_116 th {
  background: var(--surface-hover);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
._table_1m6hs_116 tr:last-child td { border-bottom: none; }

._mStatus_1m6hs_142 {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}
._mNotStarted_1m6hs_150 { background: #f1f5f9; color: #64748b; }
._mInProgress_1m6hs_151 { background: #dbeafe; color: #1d4ed8; }
._mCompleted_1m6hs_152 { background: #d1fae5; color: #065f46; }
._mBlocked_1m6hs_153 { background: #fee2e2; color: #991b1b; }

._empty_1m6hs_155 {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}

._btn_1m6hs_161 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: none;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
._btnPrimary_1m6hs_172 {
  background: var(--primary);
  color: #fff;
}
._btnPrimary_1m6hs_172:hover {
  background: var(--primary-hover);
}
._header_1eyi6_1 {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem;
}
._title_1eyi6_4 { font-size: 1.5rem; font-weight: 700; }

._tabs_1eyi6_6 {
  display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem;
}
._tab_1eyi6_6 {
  padding: 0.5rem 1.25rem; font-size: 0.85rem; font-weight: 600;
  border: none; background: none; cursor: pointer; color: var(--text-muted);
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.15s, border-color 0.15s;
}
._tab_1eyi6_6:hover { color: var(--text); }
._tabActive_1eyi6_15 { color: var(--primary); border-bottom-color: var(--primary); }

._section_1eyi6_17 { margin-bottom: 2rem; }
._sectionHeader_1eyi6_18 {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem;
}
._sectionTitle_1eyi6_21 { font-size: 1rem; font-weight: 600; }

._table_1eyi6_23 {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
}
._table_1eyi6_23 th, ._table_1eyi6_23 td {
  text-align: left; padding: 0.55rem 0.75rem; font-size: 0.82rem; border-bottom: 1px solid var(--border);
}
._table_1eyi6_23 th {
  background: var(--surface-hover); font-weight: 600; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted);
}
._table_1eyi6_23 tr:last-child td { border-bottom: none; }
._table_1eyi6_23 tr:hover td { background: rgba(37,99,235,0.03); }

._clickRow_1eyi6_37 { cursor: pointer; }

._badge_1eyi6_39 {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
}
._badgeActive_1eyi6_43 { background: #d1fae5; color: #065f46; }
._badgePaused_1eyi6_44 { background: #fef3c7; color: #92400e; }
._badgeArchived_1eyi6_45 { background: #f1f5f9; color: #64748b; }
._badgeEmail_1eyi6_46 { background: #dbeafe; color: #1d4ed8; }
._badgeInApp_1eyi6_47 { background: #ede9fe; color: #5b21b6; }
._badgeBoth_1eyi6_48 { background: #fce7f3; color: #9d174d; }

._empty_1eyi6_50 {
  padding: 2rem; text-align: center; color: var(--text-muted); font-size: 0.9rem;
}

._btn_1eyi6_54 {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.9rem; border: none; border-radius: var(--radius);
  font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: background 0.15s;
}
._btnPrimary_1eyi6_59 { background: var(--primary); color: #fff; }
._btnPrimary_1eyi6_59:hover { background: var(--primary-hover); }
._btnDanger_1eyi6_61 { background: var(--danger); color: #fff; }
._btnDanger_1eyi6_61:hover { background: #dc2626; }
._btnGhost_1eyi6_63 { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
._btnGhost_1eyi6_63:hover { background: var(--surface-hover); }
._btnSm_1eyi6_65 { padding: 0.3rem 0.6rem; font-size: 0.75rem; }

/* Modal */
._overlay_1eyi6_68 {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center; z-index: 100;
}
._modal_1eyi6_72 {
  background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem;
  width: 560px; max-width: 92vw; max-height: 85vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
._modalTitle_1eyi6_77 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
._formField_1eyi6_78 { margin-bottom: 0.75rem; }
._formLabel_1eyi6_79 { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.25rem; }
._formInput_1eyi6_80 {
  width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.85rem; outline: none; font-family: inherit;
}
._formInput_1eyi6_80:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
._formTextarea_1eyi6_85 { min-height: 100px; resize: vertical; }
._formSelect_1eyi6_86 {
  width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.85rem; outline: none; background: var(--surface);
}
._modalActions_1eyi6_90 { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1rem; }

._varList_1eyi6_92 {
  display: flex; flex-wrap: wrap; gap: 4px; margin-top: 0.25rem;
}
._varTag_1eyi6_95 {
  display: inline-block; padding: 1px 6px; border-radius: 6px;
  font-size: 0.68rem; font-weight: 500; font-family: monospace;
  background: #f1f5f9; color: #475569; cursor: pointer;
}
._varTag_1eyi6_95:hover { background: #dbeafe; color: #1d4ed8; }

._subNav_1eyi6_102 {
  display: flex; gap: 0.5rem; margin-bottom: 1rem;
}
._subNavLink_1eyi6_105 {
  font-size: 0.82rem; font-weight: 500; color: var(--text-muted);
  padding: 0.25rem 0.5rem; border-radius: 6px; text-decoration: none;
}
._subNavLink_1eyi6_105:hover { background: var(--surface-hover); color: var(--text); text-decoration: none; }
._subNavActive_1eyi6_110 { color: var(--primary); background: rgba(37,99,235,0.08); }
._header_135ab_1 {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem;
}
._title_135ab_4 { font-size: 1.5rem; font-weight: 700; }
._subNav_135ab_5 { display: flex; gap: 0.5rem; }
._subNavLink_135ab_6 {
  font-size: 0.82rem; font-weight: 500; color: var(--text-muted);
  padding: 0.25rem 0.5rem; border-radius: 6px; text-decoration: none;
}
._subNavLink_135ab_6:hover { background: var(--surface-hover); color: var(--text); text-decoration: none; }
._subNavActive_135ab_11 { color: var(--primary); background: rgba(37,99,235,0.08); }

._filters_135ab_13 {
  display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap;
}
._filterSelect_135ab_16 {
  padding: 0.4rem 0.6rem; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.82rem; background: var(--surface);
}

._table_135ab_21 {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
}
._table_135ab_21 th, ._table_135ab_21 td {
  text-align: left; padding: 0.5rem 0.75rem; font-size: 0.82rem; border-bottom: 1px solid var(--border);
}
._table_135ab_21 th {
  background: var(--surface-hover); font-weight: 600; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted);
}
._table_135ab_21 tr:last-child td { border-bottom: none; }

._badge_135ab_34 {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
}
._badgeSent_135ab_38 { background: #d1fae5; color: #065f46; }
._badgePending_135ab_39 { background: #fef3c7; color: #92400e; }
._badgeFailed_135ab_40 { background: #fee2e2; color: #991b1b; }
._badgeRead_135ab_41 { background: #dbeafe; color: #1d4ed8; }

._bodyPreview_135ab_43 {
  max-width: 300px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font-size: 0.78rem; color: var(--text-muted);
}

._empty_135ab_48 {
  padding: 2rem; text-align: center; color: var(--text-muted);
}

._timestamp_135ab_52 {
  font-size: 0.75rem; color: var(--text-muted); white-space: nowrap;
}
._header_194i1_1 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
._title_194i1_2 { font-size: 1.5rem; font-weight: 700; }
._actions_194i1_3 { display: flex; gap: 0.5rem; }

._tabs_194i1_5 { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem; }
._tab_194i1_5 { padding: 0.5rem 1.25rem; font-size: 0.85rem; font-weight: 600; border: none; background: none; cursor: pointer; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; }
._tab_194i1_5:hover { color: var(--text); }
._tabActive_194i1_8 { color: var(--primary); border-bottom-color: var(--primary); }

._filters_194i1_10 { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
._filterSelect_194i1_11 { padding: 0.4rem 0.6rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.82rem; background: var(--surface); }

._table_194i1_13 { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
._table_194i1_13 th, ._table_194i1_13 td { text-align: left; padding: 0.5rem 0.75rem; font-size: 0.82rem; border-bottom: 1px solid var(--border); }
._table_194i1_13 th { background: var(--surface-hover); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); }
._table_194i1_13 tr:last-child td { border-bottom: none; }
._table_194i1_13 tr:hover td { background: rgba(37,99,235,0.03); }

._badge_194i1_19 { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }
._received_194i1_20 { background: #fef3c7; color: #92400e; }
._parsed_194i1_21 { background: #dbeafe; color: #1d4ed8; }
._under_review_194i1_22 { background: #ede9fe; color: #5b21b6; }
._approved_194i1_23 { background: #d1fae5; color: #065f46; }
._rejected_194i1_24 { background: #fee2e2; color: #991b1b; }
._superseded_194i1_25 { background: #f1f5f9; color: #64748b; }

._catBadge_194i1_27 { display: inline-block; padding: 2px 6px; border-radius: 8px; font-size: 0.68rem; font-weight: 500; background: #f1f5f9; color: var(--text-muted); text-transform: capitalize; }

._btn_194i1_29 { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.9rem; border: none; border-radius: var(--radius); font-size: 0.82rem; font-weight: 600; cursor: pointer; }
._btnPrimary_194i1_30 { background: var(--primary); color: #fff; }
._btnPrimary_194i1_30:hover { background: var(--primary-hover); }
._btnSuccess_194i1_32 { background: var(--success); color: #fff; }
._btnDanger_194i1_33 { background: var(--danger); color: #fff; }
._btnGhost_194i1_34 { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
._btnGhost_194i1_34:hover { background: var(--surface-hover); }
._btnSm_194i1_36 { padding: 0.25rem 0.5rem; font-size: 0.75rem; }

._overlay_194i1_38 { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; z-index: 100; }
._modal_194i1_39 { background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem; width: 520px; max-width: 92vw; max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
._modalTitle_194i1_40 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
._formField_194i1_41 { margin-bottom: 0.75rem; }
._formLabel_194i1_42 { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.25rem; }
._formInput_194i1_43 { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; outline: none; }
._formInput_194i1_43:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
._formSelect_194i1_45 { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; background: var(--surface); }
._modalActions_194i1_46 { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1rem; }

._linkBox_194i1_48 { background: var(--surface-hover); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.5rem 0.75rem; font-size: 0.8rem; word-break: break-all; margin-top: 0.5rem; }
._fileInput_194i1_49 { font-size: 0.85rem; }

._empty_194i1_51 { padding: 2rem; text-align: center; color: var(--text-muted); }
._timestamp_194i1_52 { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
._fileSize_194i1_53 { font-size: 0.75rem; color: var(--text-muted); }
._container_3gfgx_1 { max-width: 560px; margin: 2rem auto; }
._card_3gfgx_2 { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
._logo_3gfgx_3 { font-size: 1.1rem; font-weight: 800; color: var(--primary); letter-spacing: 0.06em; margin-bottom: 1.5rem; }
._title_3gfgx_4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
._desc_3gfgx_5 { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1.5rem; }
._meta_3gfgx_6 { display: flex; gap: 1rem; margin-bottom: 1.5rem; font-size: 0.82rem; color: var(--text-muted); }
._metaItem_3gfgx_7 { display: flex; align-items: center; gap: 0.35rem; }
._dropzone_3gfgx_8 { border: 2px dashed var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; margin-bottom: 1rem; }
._dropzone_3gfgx_8:hover, ._dropzoneActive_3gfgx_9 { border-color: var(--primary); background: rgba(37,99,235,0.04); }
._dropzoneText_3gfgx_10 { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.25rem; }
._dropzoneHint_3gfgx_11 { font-size: 0.75rem; color: var(--text-muted); }
._filePreview_3gfgx_12 { display: flex; align-items: center; gap: 0.75rem; background: var(--surface-hover); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem; margin-bottom: 1rem; }
._fileName_3gfgx_13 { font-weight: 600; font-size: 0.88rem; }
._fileSize_3gfgx_14 { font-size: 0.75rem; color: var(--text-muted); }
._removeFile_3gfgx_15 { cursor: pointer; color: var(--danger); font-size: 0.85rem; margin-left: auto; background: none; border: none; }
._btn_3gfgx_16 { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.55rem 1.2rem; border: none; border-radius: var(--radius); font-size: 0.88rem; font-weight: 600; cursor: pointer; width: 100%; }
._btnPrimary_3gfgx_17 { background: var(--primary); color: #fff; }
._btnPrimary_3gfgx_17:hover { background: var(--primary-hover); }
._btnPrimary_3gfgx_17:disabled { opacity: 0.5; cursor: not-allowed; }
._success_3gfgx_20 { background: #d1fae5; border: 1px solid #6ee7b7; border-radius: var(--radius); padding: 1rem; text-align: center; }
._successTitle_3gfgx_21 { font-weight: 700; color: #065f46; font-size: 1rem; margin-bottom: 0.25rem; }
._successText_3gfgx_22 { color: #047857; font-size: 0.85rem; }
._error_3gfgx_23 { background: #fee2e2; border: 1px solid #fca5a5; border-radius: var(--radius); padding: 1rem; text-align: center; color: #991b1b; font-size: 0.9rem; }
._remaining_3gfgx_24 { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }
._header_1oh9s_1 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
._title_1oh9s_2 { font-size: 1.5rem; font-weight: 700; }
._subtitle_1oh9s_3 { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

._tabs_1oh9s_5 { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem; }
._tab_1oh9s_5 { padding: 0.5rem 1.25rem; font-size: 0.85rem; font-weight: 600; border: none; background: none; cursor: pointer; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; }
._tab_1oh9s_5:hover { color: var(--text); }
._tabActive_1oh9s_8 { color: var(--primary); border-bottom-color: var(--primary); }

._cards_1oh9s_10 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); margin-bottom: 1.5rem; }
._card_1oh9s_10 { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; }
._cardHeader_1oh9s_12 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
._cardTitle_1oh9s_13 { font-size: 1rem; font-weight: 700; }
._cardProvider_1oh9s_14 { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: #0176d3; background: #e5f1fb; padding: 2px 8px; border-radius: 10px; }
._cardMeta_1oh9s_15 { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.5rem; }
._cardActions_1oh9s_16 { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }

._badge_1oh9s_18 { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }
._connected_1oh9s_19 { background: #d1fae5; color: #065f46; }
._disconnected_1oh9s_20 { background: #f1f5f9; color: #64748b; }
._error_1oh9s_21 { background: #fee2e2; color: #991b1b; }
._token_expired_1oh9s_22 { background: #fef3c7; color: #92400e; }

._table_1oh9s_24 { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
._table_1oh9s_24 th, ._table_1oh9s_24 td { text-align: left; padding: 0.5rem 0.75rem; font-size: 0.82rem; border-bottom: 1px solid var(--border); }
._table_1oh9s_24 th { background: var(--surface-hover); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); }
._table_1oh9s_24 tr:last-child td { border-bottom: none; }

._btn_1oh9s_29 { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.9rem; border: none; border-radius: var(--radius); font-size: 0.82rem; font-weight: 600; cursor: pointer; }
._btnPrimary_1oh9s_30 { background: var(--primary); color: #fff; }
._btnPrimary_1oh9s_30:hover { background: var(--primary-hover); }
._btnSuccess_1oh9s_32 { background: var(--success); color: #fff; }
._btnDanger_1oh9s_33 { background: var(--danger); color: #fff; }
._btnGhost_1oh9s_34 { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
._btnGhost_1oh9s_34:hover { background: var(--surface-hover); }
._btnSm_1oh9s_36 { padding: 0.25rem 0.5rem; font-size: 0.75rem; }
._btnSf_1oh9s_37 { background: #0176d3; color: #fff; }
._btnSf_1oh9s_37:hover { background: #014486; }

._overlay_1oh9s_40 { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; z-index: 100; }
._modal_1oh9s_41 { background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem; width: 560px; max-width: 92vw; max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
._modalTitle_1oh9s_42 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
._formField_1oh9s_43 { margin-bottom: 0.75rem; }
._formLabel_1oh9s_44 { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.25rem; }
._formInput_1oh9s_45 { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; outline: none; }
._formInput_1oh9s_45:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
._formSelect_1oh9s_47 { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; background: var(--surface); }
._formHint_1oh9s_48 { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.15rem; }
._modalActions_1oh9s_49 { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1rem; }

._mappingRow_1oh9s_51 { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; }
._mappingRow_1oh9s_51 ._formInput_1oh9s_45 { width: auto; flex: 1; }
._mappingRow_1oh9s_51 ._formSelect_1oh9s_47 { width: auto; flex: 0 0 140px; }
._removeBtn_1oh9s_54 { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 1rem; padding: 0.25rem; }

._syncResult_1oh9s_56 { background: var(--surface-hover); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem; font-size: 0.85rem; margin-top: 0.5rem; }
._syncResult_1oh9s_56 strong { font-weight: 700; }

._empty_1oh9s_59 { padding: 2rem; text-align: center; color: var(--text-muted); }
._timestamp_1oh9s_60 { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
._infoBox_1oh9s_61 { background: #e5f1fb; border: 1px solid #b8d4e3; border-radius: var(--radius); padding: 0.75rem 1rem; font-size: 0.82rem; color: #0c4a6e; margin-bottom: 1rem; }
._header_sxisq_1 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
._title_sxisq_2 { font-size: 1.5rem; font-weight: 700; }
._subtitle_sxisq_3 { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

._tabs_sxisq_5 { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem; }
._tab_sxisq_5 { padding: 0.5rem 1.25rem; font-size: 0.85rem; font-weight: 600; border: none; background: none; cursor: pointer; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; }
._tab_sxisq_5:hover { color: var(--text); }
._tabActive_sxisq_8 { color: var(--primary); border-bottom-color: var(--primary); }

._runPanel_sxisq_10 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 768px) { ._runPanel_sxisq_10 { grid-template-columns: 1fr; } }

._section_sxisq_13 { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; }
._sectionTitle_sxisq_14 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }

._table_sxisq_16 { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
._table_sxisq_16 th, ._table_sxisq_16 td { text-align: left; padding: 0.5rem 0.75rem; font-size: 0.82rem; border-bottom: 1px solid var(--border); }
._table_sxisq_16 th { background: var(--surface-hover); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); }
._table_sxisq_16 tr:last-child td { border-bottom: none; }

._badge_sxisq_21 { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }
._completed_sxisq_22 { background: #d1fae5; color: #065f46; }
._running_sxisq_23 { background: #dbeafe; color: #1d4ed8; }
._failed_sxisq_24 { background: #fee2e2; color: #991b1b; }
._queued_sxisq_25 { background: #f1f5f9; color: #64748b; }

._classPublic_sxisq_27 { background: #d1fae5; color: #065f46; }
._classInternal_sxisq_28 { background: #dbeafe; color: #1d4ed8; }
._classConfidential_sxisq_29 { background: #fef3c7; color: #92400e; }
._classRestricted_sxisq_30 { background: #fee2e2; color: #991b1b; }

._btn_sxisq_32 { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.9rem; border: none; border-radius: var(--radius); font-size: 0.82rem; font-weight: 600; cursor: pointer; }
._btnPrimary_sxisq_33 { background: var(--primary); color: #fff; }
._btnPrimary_sxisq_33:hover { background: var(--primary-hover); }
._btnSuccess_sxisq_35 { background: var(--success); color: #fff; }
._btnDanger_sxisq_36 { background: var(--danger); color: #fff; }
._btnGhost_sxisq_37 { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
._btnGhost_sxisq_37:hover { background: var(--surface-hover); }
._btnSm_sxisq_39 { padding: 0.25rem 0.5rem; font-size: 0.75rem; }

._overlay_sxisq_41 { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; z-index: 100; }
._modal_sxisq_42 { background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem; width: 620px; max-width: 92vw; max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
._modalTitle_sxisq_43 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
._modalActions_sxisq_44 { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1rem; }
._formField_sxisq_45 { margin-bottom: 0.75rem; }
._formLabel_sxisq_46 { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.25rem; }
._formInput_sxisq_47 { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; outline: none; }
._formInput_sxisq_47:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
._formSelect_sxisq_49 { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; background: var(--surface); }
._formTextarea_sxisq_50 { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.82rem; font-family: monospace; resize: vertical; min-height: 80px; outline: none; }
._formTextarea_sxisq_50:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
._formHint_sxisq_52 { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.15rem; }

._varChip_sxisq_54 { display: inline-block; padding: 1px 6px; margin: 2px; border-radius: 4px; font-size: 0.7rem; font-family: monospace; background: #e0e7ff; color: #3730a3; cursor: pointer; border: 1px solid #c7d2fe; }
._varChip_sxisq_54:hover { background: #c7d2fe; }

._outputBox_sxisq_57 { background: #f8fafc; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; font-size: 0.85rem; white-space: pre-wrap; word-break: break-word; max-height: 400px; overflow-y: auto; font-family: 'Segoe UI', sans-serif; line-height: 1.6; }

._policyCard_sxisq_59 { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem; margin-bottom: 0.75rem; }
._policyHeader_sxisq_60 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
._policyName_sxisq_61 { font-weight: 700; font-size: 0.95rem; }
._fieldTags_sxisq_62 { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 0.35rem; }
._fieldTag_sxisq_62 { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 0.7rem; font-family: monospace; }
._blockedTag_sxisq_64 { background: #fee2e2; color: #991b1b; }
._maskedTag_sxisq_65 { background: #fef3c7; color: #92400e; }

._empty_sxisq_67 { padding: 2rem; text-align: center; color: var(--text-muted); }
._timestamp_sxisq_68 { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
._securityBanner_sxisq_69 { background: #fef3c7; border: 1px solid #fbbf24; border-radius: var(--radius); padding: 0.75rem 1rem; font-size: 0.82rem; color: #92400e; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
._securityIcon_sxisq_70 { font-size: 1.1rem; }
._header_136t3_1 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
._title_136t3_2 { font-size: 1.5rem; font-weight: 700; }
._subtitle_136t3_3 { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

._tabs_136t3_5 { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem; }
._tab_136t3_5 { padding: 0.5rem 1.25rem; font-size: 0.85rem; font-weight: 600; border: none; background: none; cursor: pointer; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; }
._tab_136t3_5:hover { color: var(--text); }
._tabActive_136t3_8 { color: var(--primary); border-bottom-color: var(--primary); }

._categoryTabs_136t3_10 { display: flex; gap: 0.25rem; margin-bottom: 1.25rem; }
._catTab_136t3_11 { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 1rem; font-size: 0.82rem; font-weight: 600; border: 2px solid var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; color: var(--text-muted); }
._catTab_136t3_11:hover { background: var(--surface-hover); }
._catTabActive_136t3_13 { border-color: currentColor; }
._catIcon_136t3_14 { font-size: 1rem; }

._grid_136t3_16 { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }

._summaryCard_136t3_18 { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1rem; }
._summaryNumber_136t3_19 { font-size: 2rem; font-weight: 800; line-height: 1; }
._summaryLabel_136t3_20 { font-size: 0.82rem; color: var(--text-muted); }
._summaryIcon_136t3_21 { font-size: 1.75rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }

._table_136t3_23 { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
._table_136t3_23 th, ._table_136t3_23 td { text-align: left; padding: 0.5rem 0.75rem; font-size: 0.82rem; border-bottom: 1px solid var(--border); }
._table_136t3_23 th { background: var(--surface-hover); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); }
._table_136t3_23 tr:last-child td { border-bottom: none; }
._table_136t3_23 tr:hover td { background: var(--surface-hover); }

._badge_136t3_29 { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }
._pass_136t3_30 { background: #d1fae5; color: #065f46; }
._fail_136t3_31 { background: #fee2e2; color: #991b1b; }
._conditional_136t3_32 { background: #fef3c7; color: #92400e; }
._draft_136t3_33 { background: #f1f5f9; color: #64748b; }
._inProgress_136t3_34 { background: #dbeafe; color: #1d4ed8; }
._completed_136t3_35 { background: #d1fae5; color: #065f46; }
._closed_136t3_36 { background: #f1f5f9; color: #475569; }

._severityObservation_136t3_38 { background: #f1f5f9; color: #64748b; }
._severityMinor_136t3_39 { background: #fef3c7; color: #92400e; }
._severityMajor_136t3_40 { background: #ffedd5; color: #9a3412; }
._severityCritical_136t3_41 { background: #fee2e2; color: #991b1b; }

._findingOpen_136t3_43 { background: #fee2e2; color: #991b1b; }
._findingInProgress_136t3_44 { background: #dbeafe; color: #1d4ed8; }
._findingResolved_136t3_45 { background: #d1fae5; color: #065f46; }
._findingAccepted_136t3_46 { background: #f1f5f9; color: #475569; }
._findingOverdue_136t3_47 { background: #fce7f3; color: #9d174d; }

._btn_136t3_49 { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.9rem; border: none; border-radius: var(--radius); font-size: 0.82rem; font-weight: 600; cursor: pointer; }
._btnPrimary_136t3_50 { background: var(--primary); color: #fff; }
._btnPrimary_136t3_50:hover { background: var(--primary-hover); }
._btnDanger_136t3_52 { background: var(--danger); color: #fff; }
._btnGhost_136t3_53 { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
._btnGhost_136t3_53:hover { background: var(--surface-hover); }
._btnSm_136t3_55 { padding: 0.25rem 0.5rem; font-size: 0.75rem; }

._overlay_136t3_57 { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; z-index: 100; }
._modal_136t3_58 { background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem; width: 640px; max-width: 92vw; max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
._modalTitle_136t3_59 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
._modalActions_136t3_60 { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1rem; }
._formField_136t3_61 { margin-bottom: 0.75rem; }
._formLabel_136t3_62 { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.25rem; }
._formInput_136t3_63 { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; outline: none; }
._formInput_136t3_63:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
._formSelect_136t3_65 { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; background: var(--surface); }
._formTextarea_136t3_66 { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.82rem; resize: vertical; min-height: 60px; outline: none; }
._formTextarea_136t3_66:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }

._checkItems_136t3_69 { list-style: none; padding: 0; margin: 0; }
._checkItem_136t3_69 { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
._checkItem_136t3_69:last-child { border-bottom: none; }
._checkCode_136t3_72 { font-size: 0.72rem; font-weight: 700; font-family: monospace; color: var(--text-muted); min-width: 48px; padding-top: 2px; }
._checkQuestion_136t3_73 { flex: 1; font-size: 0.85rem; }
._checkRequired_136t3_74 { font-size: 0.68rem; color: var(--danger); font-weight: 600; }
._resultBtns_136t3_75 { display: flex; gap: 4px; }
._resultBtn_136t3_75 { padding: 2px 8px; border: 1px solid var(--border); border-radius: 4px; font-size: 0.72rem; font-weight: 600; cursor: pointer; background: var(--surface); color: var(--text-muted); }
._resultBtn_136t3_75:hover { background: var(--surface-hover); }
._resultBtnPass_136t3_78 { border-color: #22c55e; background: #d1fae5; color: #065f46; }
._resultBtnFail_136t3_79 { border-color: #ef4444; background: #fee2e2; color: #991b1b; }
._resultBtnNa_136t3_80 { border-color: #94a3b8; background: #f1f5f9; color: #475569; }

._section_136t3_82 { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.25rem; }
._sectionTitle_136t3_83 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }
._sectionRow_136t3_84 { display: flex; align-items: center; justify-content: space-between; }

._empty_136t3_86 { padding: 2rem; text-align: center; color: var(--text-muted); }
._timestamp_136t3_87 { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
._clickable_136t3_88 { cursor: pointer; }
._error_136t3_89 { color: var(--danger); font-size: 0.85rem; margin-bottom: 1rem; }
._container_v1a7z_1 {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

._container_v1a7z_1 h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

._updated_v1a7z_12 {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

._container_v1a7z_1 h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

._container_v1a7z_1 ul {
  padding-left: 1.25rem;
}

._container_v1a7z_1 li {
  margin-bottom: 0.4rem;
}

._container_v1a7z_1 code {
  background: var(--surface-hover);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85em;
}

._table_v1a7z_41 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}

._table_v1a7z_41 th,
._table_v1a7z_41 td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
}

._table_v1a7z_41 th {
  background: var(--surface);
  font-weight: 600;
}

._table_v1a7z_41 tr:hover td {
  background: var(--surface-hover);
}
/* ── SidebarItem ─────────────────────────────────────────────────────── */

._item_da1b5_3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-left: 4px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  /* padding, border-radius, font-size set via inline style from config */
}

._item_da1b5_3:hover {
  background: var(--surface-hover);
}

._active_da1b5_23 {
  background: var(--surface-hover);
  border-color: var(--border);
}

._collapsed_da1b5_28 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0;
}

/* ── Title line ───────────────────────────────────────────────────────── */

._titleLine_da1b5_40 {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.35;
  flex-wrap: wrap;
}

._title_da1b5_40 {
  flex: 1;
  min-width: 0;
}

._multiBadge_da1b5_53 {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  background: var(--border);
  color: var(--text-muted);
}

/* ── Badge row ────────────────────────────────────────────────────────── */

._badgeRow_da1b5_65 {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
}

._statusDot_da1b5_73 {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--text-muted);
}
._status_assigned_da1b5_80 { background: #3b82f6; }
._status_in_progress_da1b5_81 { background: #f59e0b; }
._status_submitted_for_review_da1b5_82 { background: #8b5cf6; }
._status_changes_requested_da1b5_83 { background: #ef4444; }
._status_approved_da1b5_84 { background: #22c55e; }
._status_rejected_da1b5_85 { background: #ef4444; }
._status_unassigned_da1b5_86 { background: var(--text-muted); }

._assigneeName_da1b5_88 {
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}

._typeBadge_da1b5_96 {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.05rem 0.25rem;
  border-radius: 3px;
  background: var(--surface-hover);
  color: var(--text-muted);
}

._journeyBadge_da1b5_106 {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  border: 1px solid;
  color: var(--text-muted);
}

/* ── Metrics & due date ───────────────────────────────────────────────── */

._metrics_da1b5_118 {
  font-size: 0.7rem;
  color: var(--text-muted);
}

._dueLine_da1b5_123 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
}

._dueDate_da1b5_130 {
  color: var(--text-muted);
}

._dueStatusBadge_da1b5_134 {
  font-weight: 600;
  font-size: 0.65rem;
  text-transform: uppercase;
}

._reminderBadge_da1b5_140 {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-style: italic;
}
._page_13wqj_1 {
  max-width: 1200px;
}

._pageTitle_13wqj_5 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

._pageDesc_13wqj_11 {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ── Two-panel layout ─────────────────────────────────────────────────── */

._layout_13wqj_19 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  ._layout_13wqj_19 {
    grid-template-columns: 1fr;
  }
}

/* ── Preview panel ────────────────────────────────────────────────────── */

._previewPanel_13wqj_34 {
  position: sticky;
  top: 1rem;
}

._sectionTitle_13wqj_39 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

._previewSidebar_13wqj_48 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: width 0.2s ease;
}

._previewHeader_13wqj_56 {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

._previewNav_13wqj_63 {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem;
}

/* ── Controls panel ───────────────────────────────────────────────────── */

._controlsPanel_13wqj_72 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

._controlSection_13wqj_78 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
}

._controlSectionTitle_13wqj_85 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ── Form fields ──────────────────────────────────────────────────────── */

._field_13wqj_93 {
  margin-bottom: 0.75rem;
}

._fieldLabel_13wqj_97 {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

._slider_13wqj_105 {
  width: 100%;
  accent-color: var(--primary);
}

._radioGroup_13wqj_110 {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

._radioBtn_13wqj_116 {
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

._radioBtn_13wqj_116:hover {
  background: var(--surface-hover);
}

._radioBtnActive_13wqj_131 {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Checkboxes ───────────────────────────────────────────────────────── */

._checkGroup_13wqj_139 {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

._checkLabel_13wqj_145 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
}

._checkLabel_13wqj_145 input[type="checkbox"] {
  accent-color: var(--primary);
}

/* ── Colour pickers ───────────────────────────────────────────────────── */

._colorField_13wqj_159 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

._colorInputWrap_13wqj_166 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

._colorInput_13wqj_166 {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  background: none;
}

._colorHex_13wqj_182 {
  font-size: 0.8rem;
  font-family: monospace;
  color: var(--text-muted);
}

/* ── Actions ──────────────────────────────────────────────────────────── */

._actions_13wqj_190 {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

._saveBtn_13wqj_196 {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  cursor: pointer;
}

._saveBtn_13wqj_196:disabled {
  opacity: 0.5;
  cursor: default;
}

._resetBtn_13wqj_212 {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

._resetBtn_13wqj_212:hover {
  background: var(--surface-hover);
}

/* ── Presets ───────────────────────────────────────────────────────────── */

._presetSaveRow_13wqj_228 {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

._presetInput_13wqj_234 {
  flex: 1;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
}

._presetSaveBtn_13wqj_244 {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

._presetSaveBtn_13wqj_244:disabled {
  opacity: 0.4;
  cursor: default;
}

._presetEmpty_13wqj_259 {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

._presetRow_13wqj_265 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

._presetRow_13wqj_265:last-child {
  border-bottom: none;
}

._presetName_13wqj_277 {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 500;
}

._presetLoadBtn_13wqj_283 {
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

._presetDeleteBtn_13wqj_293 {
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

._presetDeleteBtn_13wqj_293:hover {
  color: var(--danger, #ef4444);
  border-color: var(--danger, #ef4444);
}
/* ── Page shell ───────────────────────────────────────────────────────────── */
._page_kw7qt_2 { display: flex; flex-direction: column; gap: 1.25rem; min-height: 0; }
._pageHeader_kw7qt_3 { display: flex; flex-direction: column; gap: 0.75rem; }
._pageTitleRow_kw7qt_4 { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
._pageTitle_kw7qt_4 { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.2rem; }
._pageDesc_kw7qt_6 { color: var(--text-muted); font-size: 0.88rem; margin: 0; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

._modifiedCountBadge_kw7qt_8 { display: inline-flex; align-items: center; padding: 0.1rem 0.5rem; font-size: 0.72rem; font-weight: 600; background: var(--primary); color: #fff; border-radius: 99px; }
._errorCountBadge_kw7qt_9 { display: inline-flex; align-items: center; padding: 0.1rem 0.5rem; font-size: 0.72rem; font-weight: 600; background: #ef4444; color: #fff; border-radius: 99px; }

/* ── Tab bar ───────────────────────────────────────────────────────────────── */
._tabBar_kw7qt_12 { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--border); padding-bottom: 0; }
._tab_kw7qt_12 { padding: 0.45rem 0.9rem; font-size: 0.82rem; font-weight: 500; border: none; border-bottom: 2px solid transparent; background: transparent; color: var(--text-muted); cursor: pointer; transition: color 0.15s, border-color 0.15s; display: flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
._tab_kw7qt_12:hover { color: var(--text); }
._tabActive_kw7qt_15 { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
._tabErrors_kw7qt_16 { color: #f59e0b; }
._tabCount_kw7qt_17 { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 16px; padding: 0 4px; font-size: 0.68rem; font-weight: 700; background: var(--primary); color: #fff; border-radius: 99px; }
._tabCountError_kw7qt_18 { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 16px; padding: 0 4px; font-size: 0.68rem; font-weight: 700; background: #ef4444; color: #fff; border-radius: 99px; }

/* ── Search bar ────────────────────────────────────────────────────────────── */
._searchWrap_kw7qt_21 { position: relative; display: flex; align-items: center; }
._searchIcon_kw7qt_22 { position: absolute; left: 0.75rem; font-size: 1.1rem; color: var(--text-muted); pointer-events: none; user-select: none; }
._searchInput_kw7qt_23 { width: 100%; padding: 0.6rem 2.5rem 0.6rem 2.25rem; font-size: 0.9rem; border: 1.5px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); color: var(--text); transition: border-color 0.15s, box-shadow 0.15s; }
._searchInput_kw7qt_23:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
._searchInput_kw7qt_23::placeholder { color: var(--text-muted); font-style: italic; }
._searchClearBtn_kw7qt_26 { position: absolute; right: 0.6rem; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.85rem; padding: 0.2rem 0.4rem; border-radius: var(--radius); }
._searchClearBtn_kw7qt_26:hover { color: var(--text); background: var(--surface-hover); }
._searchResultCount_kw7qt_28 { font-size: 0.8rem; color: var(--text-muted); margin: -0.25rem 0 0; }

/* ── Body layout ───────────────────────────────────────────────────────────── */
._body_kw7qt_31 { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 768px) { ._body_kw7qt_31 { grid-template-columns: 1fr; } }

/* ── Group navigation ──────────────────────────────────────────────────────── */
._groupNav_kw7qt_35 { position: sticky; top: 1rem; display: flex; flex-direction: column; gap: 0.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0.5rem; max-height: calc(100vh - 260px); overflow-y: auto; }
._groupNavDivider_kw7qt_36 { height: 1px; background: var(--border); margin: 0.25rem 0; }
._groupNavBtn_kw7qt_37 { display: flex; align-items: center; gap: 0.4rem; width: 100%; padding: 0.4rem 0.6rem; border: none; border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; text-align: left; font-size: 0.8rem; transition: background 0.15s; }
._groupNavBtn_kw7qt_37:hover:not(:disabled) { background: var(--surface-hover); }
._groupNavBtn_kw7qt_37:disabled { opacity: 0.35; cursor: default; }
._groupNavBtnActive_kw7qt_40 { background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); font-weight: 600; }
._groupNavBadge_kw7qt_41 { flex-shrink: 0; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; background: var(--border); border-radius: 4px; }
._groupNavBtnActive_kw7qt_40 ._groupNavBadge_kw7qt_41 { background: var(--primary); color: #fff; }
._groupNavLabel_kw7qt_43 { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.78rem; }
._groupNavCount_kw7qt_44 { flex-shrink: 0; font-size: 0.7rem; font-weight: 600; color: var(--text-muted); min-width: 18px; text-align: right; }
._groupNavBtnActive_kw7qt_40 ._groupNavCount_kw7qt_44 { color: var(--primary); }

/* ── Content area ──────────────────────────────────────────────────────────── */
._content_kw7qt_48 { display: flex; flex-direction: column; gap: 2rem; }
._groupHeader_kw7qt_49 { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
._groupSectionHeader_kw7qt_50 { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
._groupSectionInfo_kw7qt_51 { flex: 1; }
._groupTitle_kw7qt_52 { font-size: 1rem; font-weight: 600; margin: 0; }
._groupSubtitle_kw7qt_53 { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
._groupBadgeLg_kw7qt_54 { flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; background: var(--primary); color: #fff; border-radius: 6px; }
._groupViewAllBtn_kw7qt_55 { flex-shrink: 0; padding: 0.3rem 0.7rem; font-size: 0.78rem; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text-muted); cursor: pointer; white-space: nowrap; }
._groupViewAllBtn_kw7qt_55:hover { color: var(--primary); border-color: var(--primary); }
._groupSection_kw7qt_50 { display: flex; flex-direction: column; gap: 0.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
._groupSection_kw7qt_50:last-child { border-bottom: none; }

/* ── Cards grid ────────────────────────────────────────────────────────────── */
._cardsGrid_kw7qt_61 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0.75rem; }

/* ── Setting card ──────────────────────────────────────────────────────────── */
._card_kw7qt_61 { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0.85rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; transition: border-color 0.15s, box-shadow 0.15s; }
._card_kw7qt_61:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 8%, transparent); }
._cardModified_kw7qt_66 { border-left: 3px solid var(--primary); }
._cardDangerModified_kw7qt_67 { border-left: 3px solid #f59e0b; background: color-mix(in srgb, #f59e0b 4%, var(--surface)); }
._cardUnlocked_kw7qt_68 { border-left: 3px solid #f59e0b; }

._cardTop_kw7qt_70 { display: flex; align-items: flex-start; gap: 0.5rem; justify-content: space-between; }
._cardMeta_kw7qt_71 { display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 0; }
._groupBadgeSm_kw7qt_72 { flex-shrink: 0; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 700; background: color-mix(in srgb, var(--primary) 15%, transparent); color: var(--primary); border-radius: 4px; }
._cardLabel_kw7qt_73 { font-size: 0.83rem; font-weight: 600; color: var(--text); flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
._dangerPill_kw7qt_74 { font-size: 0.72rem; color: #f59e0b; flex-shrink: 0; cursor: default; }
._dangerPillLg_kw7qt_75 { font-size: 0.75rem; font-weight: 600; color: #f59e0b; background: color-mix(in srgb, #f59e0b 12%, transparent); border: 1px solid color-mix(in srgb, #f59e0b 30%, transparent); border-radius: 99px; padding: 0.15rem 0.5rem; }

._cardActions_kw7qt_77 { display: flex; align-items: center; gap: 0.2rem; flex-shrink: 0; }
._iconBtn_kw7qt_78 { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: var(--radius); background: transparent; color: var(--text-muted); cursor: pointer; font-size: 0.9rem; transition: background 0.15s, color 0.15s, border-color 0.15s; }
._iconBtn_kw7qt_78:hover { background: var(--surface-hover); color: var(--text); border-color: var(--border); }
._iconBtnActive_kw7qt_80 { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); border-color: color-mix(in srgb, var(--primary) 30%, transparent); }
._iconBtnDisabled_kw7qt_81 { opacity: 0.35; cursor: not-allowed; }
._editBtn_kw7qt_82:not(._iconBtnDisabled_kw7qt_81):hover { color: var(--primary); border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); }
._lockBtn_kw7qt_83 { color: #f59e0b; }
._lockBtn_kw7qt_83:hover { color: #f59e0b; border-color: #f59e0b; background: color-mix(in srgb, #f59e0b 10%, transparent); }
._unlockBtnActive_kw7qt_85 { color: #f59e0b; background: color-mix(in srgb, #f59e0b 10%, transparent); border-color: color-mix(in srgb, #f59e0b 30%, transparent); }
._restoreBtnSm_kw7qt_86:hover { color: var(--danger, #ef4444); border-color: var(--danger, #ef4444); background: color-mix(in srgb, var(--danger, #ef4444) 8%, transparent); }

._cardValue_kw7qt_88 { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; min-height: 22px; }
._modifiedTag_kw7qt_89 { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.1rem 0.4rem; border-radius: 99px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
._dangerModifiedTag_kw7qt_90 { font-size: 0.65rem; font-weight: 600; padding: 0.1rem 0.45rem; border-radius: 99px; background: color-mix(in srgb, #f59e0b 15%, transparent); color: #92400e; border: 1px solid color-mix(in srgb, #f59e0b 30%, transparent); }

/* ── Value preview ─────────────────────────────────────────────────────────── */
._previewText_kw7qt_93 { font-size: 0.8rem; color: var(--text-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; }
._previewText_kw7qt_93 em { font-style: italic; opacity: 0.6; }
._previewNum_kw7qt_95 { font-size: 0.85rem; font-weight: 600; font-family: monospace; color: var(--text); }
._previewBadge_kw7qt_96 { display: inline-flex; align-items: center; padding: 0.15rem 0.5rem; font-size: 0.75rem; font-weight: 600; border-radius: 99px; background: var(--surface-hover); color: var(--text); }
._previewEnabled_kw7qt_97 { background: color-mix(in srgb, #16a34a 12%, transparent); color: #16a34a; }
._previewDisabled_kw7qt_98 { background: color-mix(in srgb, #ef4444 12%, transparent); color: #ef4444; }
._previewColorRow_kw7qt_99 { display: flex; align-items: center; gap: 0.4rem; }
._colorDot_kw7qt_100 { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); flex-shrink: 0; }
._colorDotSm_kw7qt_101 { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); flex-shrink: 0; }
._colorDotLg_kw7qt_102 { display: inline-block; width: 24px; height: 24px; border-radius: 6px; border: 1px solid rgba(0,0,0,0.15); flex-shrink: 0; }
._previewHex_kw7qt_103 { font-size: 0.78rem; font-family: monospace; color: var(--text-muted); }
._previewMore_kw7qt_104 { color: var(--text-muted); font-style: italic; }
._previewCount_kw7qt_105 { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
._previewColorMap_kw7qt_106 { display: flex; align-items: center; gap: 0.25rem; }

/* ── Info panel ────────────────────────────────────────────────────────────── */
._infoPanel_kw7qt_109 { border-top: 1px dashed var(--border); padding-top: 0.6rem; margin-top: 0.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
._infoDesc_kw7qt_110 { font-size: 0.79rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
._infoAffected_kw7qt_111 { display: flex; flex-direction: column; gap: 0.2rem; }
._infoAffectedLabel_kw7qt_112 { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
._infoAffectedList_kw7qt_113 { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.15rem; }
._infoAffectedList_kw7qt_113 li { font-size: 0.76rem; color: var(--text-muted); }
._infoHint_kw7qt_115 { font-size: 0.76rem; color: var(--text-muted); font-style: italic; margin: 0; padding: 0.3rem 0.5rem; background: color-mix(in srgb, var(--primary) 6%, transparent); border-radius: var(--radius); }

/* ── Empty state ───────────────────────────────────────────────────────────── */
._emptyState_kw7qt_118 { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; padding: 3rem 1rem; text-align: center; }
._emptyIcon_kw7qt_119 { font-size: 2.5rem; opacity: 0.25; }
._emptyTitle_kw7qt_120 { font-size: 1rem; font-weight: 600; margin: 0; }
._emptyDesc_kw7qt_121 { font-size: 0.82rem; color: var(--text-muted); max-width: 380px; margin: 0; }
._emptyReset_kw7qt_122 { margin-top: 0.25rem; padding: 0.4rem 1rem; font-size: 0.82rem; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--primary); cursor: pointer; }

/* ── Modal overlay ─────────────────────────────────────────────────────────── */
._modalOverlay_kw7qt_125 { position: fixed; inset: 0; background: rgba(0,0,0,0.45); backdrop-filter: blur(2px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
._modal_kw7qt_125 { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 680px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,0.25); overflow: hidden; }
._modalNarrow_kw7qt_127 { max-width: 480px; }
._modalHeader_kw7qt_128 { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
._modalHeaderLeft_kw7qt_129 { display: flex; align-items: center; gap: 0.75rem; flex: 1; min-width: 0; }
._modalHeaderRight_kw7qt_130 { display: flex; align-items: center; gap: 0.5rem; }
._modalTitle_kw7qt_131 { font-size: 1rem; font-weight: 600; margin: 0; }
._modalGroupLabel_kw7qt_132 { font-size: 0.75rem; color: var(--text-muted); margin: 0; }
._modalClose_kw7qt_133 { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text-muted); cursor: pointer; flex-shrink: 0; font-size: 0.85rem; }
._modalClose_kw7qt_133:hover { background: var(--surface-hover); color: var(--text); }
._modalBody_kw7qt_135 { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
._modalDesc_kw7qt_136 { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
._modalFooter_kw7qt_137 { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.25rem; border-top: 1px solid var(--border); flex-shrink: 0; }

/* ── Unlock modal ──────────────────────────────────────────────────────────── */
._unlockHeader_kw7qt_140 { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
._unlockHeaderIcon_kw7qt_141 { font-size: 1.4rem; }
._dangerBannerLg_kw7qt_142 { padding: 0.65rem 0.85rem; font-size: 0.82rem; line-height: 1.5; background: color-mix(in srgb, #f59e0b 10%, transparent); border: 1px solid color-mix(in srgb, #f59e0b 30%, transparent); border-radius: var(--radius); color: #92400e; font-weight: 500; }
._unlockSettingName_kw7qt_143 { font-size: 0.9rem; font-weight: 600; padding: 0.5rem 0.75rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
._unlockInstructions_kw7qt_144 { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
._unlockInputValid_kw7qt_145 { border-color: #16a34a !important; }
._unlockConfirmBtn_kw7qt_146 { padding: 0.5rem 1.25rem; font-size: 0.88rem; font-weight: 600; border: none; border-radius: var(--radius); background: #f59e0b; color: #fff; cursor: pointer; }
._unlockConfirmBtn_kw7qt_146:disabled { opacity: 0.4; cursor: default; }

/* ── Restore modal ─────────────────────────────────────────────────────────── */
._restoreOption_kw7qt_150 { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.85rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
._restoreOptionHeader_kw7qt_151 { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; }
._restoreOptionBadge_kw7qt_152 { font-size: 0.68rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 99px; background: var(--primary); color: #fff; }
._restoreOptionDesc_kw7qt_153 { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
._restoreLastGoodBtn_kw7qt_154 { align-self: flex-start; padding: 0.4rem 0.9rem; font-size: 0.82rem; font-weight: 600; border: 1.5px solid var(--primary); border-radius: var(--radius); background: color-mix(in srgb, var(--primary) 8%, transparent); color: var(--primary); cursor: pointer; }
._restoreLastGoodBtn_kw7qt_154:hover { background: var(--primary); color: #fff; }

/* ── Banner styles ─────────────────────────────────────────────────────────── */
._previewHintBanner_kw7qt_158 { padding: 0.5rem 0.75rem; font-size: 0.8rem; background: color-mix(in srgb, var(--primary) 8%, transparent); border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent); border-radius: var(--radius); }

/* ── Before/After ──────────────────────────────────────────────────────────── */
._beforeAfter_kw7qt_161 { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.5rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem; }
._beforeAfterCol_kw7qt_162 { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
._beforeAfterLabel_kw7qt_163 { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
._beforeAfterVal_kw7qt_164 { padding: 0.4rem 0.5rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); min-height: 36px; display: flex; align-items: center; overflow: hidden; }
._beforeAfterNew_kw7qt_165 { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 5%, var(--bg)); }
._beforeAfterArrow_kw7qt_166 { font-size: 1rem; color: var(--text-muted); font-weight: 700; padding: 0 0.25rem; }

._affectedDetails_kw7qt_168 { font-size: 0.8rem; }
._affectedSummary_kw7qt_169 { cursor: pointer; color: var(--text-muted); user-select: none; font-size: 0.78rem; }
._affectedSummary_kw7qt_169:hover { color: var(--text); }
._affectedList_kw7qt_171 { margin: 0.4rem 0 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.15rem; }
._affectedList_kw7qt_171 li { color: var(--text-muted); font-size: 0.78rem; }

._editorSection_kw7qt_174 { display: flex; flex-direction: column; gap: 0.4rem; }
._editorLabel_kw7qt_175 { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
._applyBtn_kw7qt_178 { padding: 0.5rem 1.25rem; font-size: 0.88rem; font-weight: 600; border: none; border-radius: var(--radius); background: var(--primary); color: #fff; cursor: pointer; transition: opacity 0.15s; }
._applyBtn_kw7qt_178:disabled { opacity: 0.45; cursor: default; }
._applyBtn_kw7qt_178:not(:disabled):hover { opacity: 0.9; }
._applyBtnDanger_kw7qt_181 { background: #f59e0b; }
._applyBtnDanger_kw7qt_181:not(:disabled):hover { background: #d97706; }
._cancelBtn_kw7qt_183 { padding: 0.5rem 1rem; font-size: 0.88rem; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; transition: background 0.15s; }
._cancelBtn_kw7qt_183:hover { background: var(--surface-hover); }
._resetDefaultBtn_kw7qt_185 { margin-left: auto; padding: 0.4rem 0.85rem; font-size: 0.8rem; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text-muted); cursor: pointer; }
._resetDefaultBtn_kw7qt_185:hover { color: var(--danger, #ef4444); border-color: var(--danger, #ef4444); }

/* ── Editor inputs ─────────────────────────────────────────────────────────── */
._editorInput_kw7qt_189 { width: 100%; padding: 0.45rem 0.6rem; font-size: 0.88rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); transition: border-color 0.15s; box-sizing: border-box; }
._editorInput_kw7qt_189:focus { outline: none; border-color: var(--primary); }
._editorTextarea_kw7qt_191 { width: 100%; padding: 0.45rem 0.6rem; font-size: 0.85rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); resize: vertical; font-family: inherit; box-sizing: border-box; }
._editorTextarea_kw7qt_191:focus { outline: none; border-color: var(--primary); }
._editorSelect_kw7qt_193 { width: 100%; padding: 0.45rem 0.6rem; font-size: 0.88rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); }
._numberEditor_kw7qt_194 { display: flex; align-items: center; gap: 0.75rem; }
._rangeHint_kw7qt_195 { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
._colorEditor_kw7qt_196 { display: flex; align-items: center; gap: 0.6rem; }
._colorPickerInput_kw7qt_197 { width: 40px; height: 36px; border: 1px solid var(--border); border-radius: var(--radius); padding: 0; cursor: pointer; background: none; flex-shrink: 0; }
._colorHexInput_kw7qt_198 { width: 90px; padding: 0.4rem 0.5rem; font-size: 0.85rem; font-family: monospace; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); }
._colorHexInput_kw7qt_198:focus { outline: none; border-color: var(--primary); }
._colorSwatchLg_kw7qt_200 { display: inline-block; width: 36px; height: 36px; border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.15); flex-shrink: 0; }
._boolEditor_kw7qt_201 { display: flex; gap: 0.4rem; }
._boolBtn_kw7qt_202 { padding: 0.4rem 1rem; font-size: 0.85rem; font-weight: 500; border: 1.5px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; transition: background 0.15s, border-color 0.15s; }
._boolBtnActive_kw7qt_203 { border-color: var(--primary); background: var(--primary); color: #fff; }
._stringListEditor_kw7qt_204 { display: flex; flex-direction: column; gap: 0.35rem; }
._stringListRow_kw7qt_205 { display: flex; align-items: center; gap: 0.3rem; }
._stringListInput_kw7qt_206 { flex: 1; padding: 0.35rem 0.5rem; font-size: 0.85rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); }
._stringListInput_kw7qt_206:focus { outline: none; border-color: var(--primary); }
._listMoveBtn_kw7qt_208 { padding: 0.25rem 0.5rem; font-size: 0.8rem; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text-muted); cursor: pointer; }
._listMoveBtn_kw7qt_208:hover:not(:disabled) { background: var(--surface-hover); }
._listMoveBtn_kw7qt_208:disabled { opacity: 0.3; cursor: default; }
._listRemoveBtn_kw7qt_211 { padding: 0.25rem 0.5rem; font-size: 0.8rem; border: 1px solid transparent; border-radius: var(--radius); background: transparent; color: var(--text-muted); cursor: pointer; }
._listRemoveBtn_kw7qt_211:hover { color: var(--danger, #ef4444); border-color: var(--danger, #ef4444); background: color-mix(in srgb, var(--danger, #ef4444) 8%, transparent); }
._listAddBtn_kw7qt_213 { align-self: flex-start; padding: 0.3rem 0.75rem; font-size: 0.8rem; font-weight: 500; border: 1.5px dashed var(--border); border-radius: var(--radius); background: transparent; color: var(--text-muted); cursor: pointer; }
._listAddBtn_kw7qt_213:hover { color: var(--primary); border-color: var(--primary); }
._objListEditor_kw7qt_215 { display: flex; flex-direction: column; gap: 0.5rem; }
._objListScroll_kw7qt_216 { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
._objListHeader_kw7qt_217 { display: flex; background: var(--surface); border-bottom: 1px solid var(--border); }
._objListHeaderCell_kw7qt_218 { padding: 0.35rem 0.5rem; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); white-space: nowrap; }
._objListRow_kw7qt_219 { display: flex; align-items: center; border-bottom: 1px solid var(--border); }
._objListRow_kw7qt_219:last-child { border-bottom: none; }
._objListRow_kw7qt_219:hover { background: var(--surface-hover); }
._objListCell_kw7qt_222 { padding: 0.3rem 0.4rem; }
._objListInput_kw7qt_223 { width: 100%; padding: 0.25rem 0.35rem; font-size: 0.8rem; border: 1px solid transparent; border-radius: 3px; background: transparent; color: var(--text); min-width: 60px; }
._objListInput_kw7qt_223:focus { outline: none; border-color: var(--primary); background: var(--bg); }
._objColorInput_kw7qt_225 { width: 32px; height: 28px; padding: 0; border: 1px solid var(--border); border-radius: 3px; cursor: pointer; }
._mapEditor_kw7qt_226 { display: flex; flex-direction: column; gap: 0.5rem; }
._mapRow_kw7qt_227 { display: flex; align-items: center; gap: 0.75rem; }
._mapLabel_kw7qt_228 { font-size: 0.82rem; color: var(--text); width: 160px; flex-shrink: 0; font-weight: 500; }
._mapInput_kw7qt_229 { flex: 1; padding: 0.35rem 0.5rem; font-size: 0.85rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); }
._mapInput_kw7qt_229:focus { outline: none; border-color: var(--primary); }
._colorMapEditor_kw7qt_231 { display: flex; align-items: center; gap: 0.5rem; }
._editorFallback_kw7qt_232 { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }
._detailText_kw7qt_233 { font-size: 0.85rem; color: var(--text); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
._detailPre_kw7qt_234 { font-size: 0.78rem; color: var(--text); margin: 0; white-space: pre-wrap; font-family: inherit; max-height: 80px; overflow-y: auto; }
._detailNum_kw7qt_235 { font-size: 0.95rem; font-weight: 700; font-family: monospace; color: var(--text); margin: 0; }
._detailList_kw7qt_236 { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.1rem; }
._detailList_kw7qt_236 li { font-size: 0.8rem; color: var(--text); }
._colorMapItem_kw7qt_238 { display: flex; align-items: center; gap: 0.4rem; }

/* ── Log tabs ──────────────────────────────────────────────────────────────── */
._logTab_kw7qt_241 { display: flex; flex-direction: column; gap: 1rem; }
._logTabHeader_kw7qt_242 { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
._logTabTitle_kw7qt_243 { font-size: 1.1rem; font-weight: 600; margin: 0; }
._logTabDesc_kw7qt_244 { font-size: 0.82rem; color: var(--text-muted); margin: 0.2rem 0 0; }
._logTabActions_kw7qt_245 { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
._exportBtn_kw7qt_246 { padding: 0.35rem 0.8rem; font-size: 0.8rem; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; }
._exportBtn_kw7qt_246:hover:not(:disabled) { background: var(--surface-hover); }
._exportBtn_kw7qt_246:disabled { opacity: 0.4; cursor: default; }
._clearLogBtn_kw7qt_249 { padding: 0.35rem 0.8rem; font-size: 0.8rem; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text-muted); cursor: pointer; }
._clearLogBtn_kw7qt_249:hover:not(:disabled) { color: var(--danger, #ef4444); border-color: var(--danger, #ef4444); }
._clearLogBtn_kw7qt_249:disabled { opacity: 0.4; cursor: default; }
._clearConfirmBtn_kw7qt_252 { padding: 0.35rem 0.8rem; font-size: 0.8rem; border: 1px solid var(--danger, #ef4444); border-radius: var(--radius); background: var(--danger, #ef4444); color: #fff; cursor: pointer; }
._confirmText_kw7qt_253 { font-size: 0.8rem; color: var(--danger, #ef4444); font-weight: 600; }

._logTable_kw7qt_255 { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; overflow-x: auto; }
._logTableHeader_kw7qt_256 { display: flex; background: var(--surface); border-bottom: 2px solid var(--border); }
._logRow_kw7qt_257 { display: flex; align-items: flex-start; border-bottom: 1px solid var(--border); }
._logRow_kw7qt_257:last-child { border-bottom: none; }
._logRow_kw7qt_257:hover { background: var(--surface-hover); }
._logRowError_kw7qt_260 { background: color-mix(in srgb, #ef4444 4%, transparent); }
._logRowError_kw7qt_260:hover { background: color-mix(in srgb, #ef4444 7%, transparent); }
._logCol_kw7qt_262 { padding: 0.5rem 0.6rem; font-size: 0.78rem; border-right: 1px solid var(--border); }
._logCol_kw7qt_262:last-child { border-right: none; }
._logTime_kw7qt_264 { font-size: 0.72rem; color: var(--text-muted); white-space: nowrap; }
._logSettingLabel_kw7qt_265 { font-weight: 500; color: var(--text); }
._logNote_kw7qt_266 { font-size: 0.72rem; color: var(--text-muted); }
._logVal_kw7qt_267 { font-size: 0.72rem; font-family: monospace; color: var(--text-muted); word-break: break-all; }
._logTypeBadge_kw7qt_268 { display: inline-block; padding: 0.1rem 0.4rem; font-size: 0.68rem; font-weight: 700; border-radius: 99px; }
._logTypeChange_kw7qt_269 { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
._logTypeUnlock_kw7qt_270 { background: color-mix(in srgb, #f59e0b 12%, transparent); color: #92400e; }
._logTypeLock_kw7qt_271 { background: color-mix(in srgb, #64748b 12%, transparent); color: #475569; }
._logTypeReset_kw7qt_272 { background: color-mix(in srgb, #6b7280 12%, transparent); color: #374151; }
._logTypeRestore_kw7qt_273 { background: color-mix(in srgb, #16a34a 12%, transparent); color: #166534; }
._logTypeDebug_kw7qt_274 { background: color-mix(in srgb, #8b5cf6 12%, transparent); color: #6d28d9; }

/* ── Debug tab ─────────────────────────────────────────────────────────────── */
._debugTab_kw7qt_277 { display: flex; flex-direction: column; gap: 1.25rem; }
._debugLockScreen_kw7qt_278 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; padding: 3rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
._debugLockIcon_kw7qt_279 { font-size: 2.5rem; }
._debugLockTitle_kw7qt_280 { font-size: 1.1rem; font-weight: 600; margin: 0; }
._debugLockDesc_kw7qt_281 { font-size: 0.82rem; color: var(--text-muted); max-width: 400px; margin: 0; }
._debugPassphraseRow_kw7qt_282 { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.25rem; }
._debugHeader_kw7qt_283 { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
._debugIdle_kw7qt_284 { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); text-align: center; }
._debugAllClear_kw7qt_285 { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 2rem; background: color-mix(in srgb, #16a34a 6%, var(--surface)); border: 1px solid color-mix(in srgb, #16a34a 25%, var(--border)); border-radius: var(--radius-lg); text-align: center; }
._debugAllClearIcon_kw7qt_286 { font-size: 2rem; color: #16a34a; }
._debugIssues_kw7qt_287 { display: flex; flex-direction: column; gap: 0.75rem; }
._debugIssuesHeader_kw7qt_288 { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
._debugIssueCount_kw7qt_289 { font-size: 0.9rem; font-weight: 600; color: #f59e0b; }
._debugIssueCard_kw7qt_290 { background: var(--surface); border: 1px solid color-mix(in srgb, #f59e0b 30%, var(--border)); border-radius: var(--radius); padding: 0.85rem; display: flex; flex-direction: column; gap: 0.5rem; }
._debugIssueTop_kw7qt_291 { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
._debugIssueLabel_kw7qt_292 { font-size: 0.85rem; }
._debugIssueBadge_kw7qt_293 { font-size: 0.72rem; color: #92400e; background: color-mix(in srgb, #f59e0b 12%, transparent); padding: 0.1rem 0.4rem; border-radius: 99px; }
._debugIssueVals_kw7qt_294 { display: flex; flex-direction: column; gap: 0.25rem; }
._debugValLabel_kw7qt_295 { font-size: 0.75rem; color: var(--text-muted); }
._debugValCode_kw7qt_296 { font-family: monospace; font-size: 0.78rem; background: var(--surface-hover); padding: 0.1rem 0.35rem; border-radius: 3px; }
._debugValGood_kw7qt_297 { color: #16a34a; background: color-mix(in srgb, #16a34a 8%, transparent); }
._repairLog_kw7qt_298 { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem; }
._repairLogTitle_kw7qt_299 { font-size: 0.85rem; font-weight: 600; margin: 0 0 0.5rem; }
._repairLogList_kw7qt_300 { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.2rem; }
._repairLogList_kw7qt_300 li { font-size: 0.8rem; color: #16a34a; }
._page_hcyuu_1 { max-width: 1400px; }
._headerRow_hcyuu_2 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; }
._pageTitle_hcyuu_3 { font-size: 1.5rem; font-weight: 600; }
._pageDesc_hcyuu_4 { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
._addBtn_hcyuu_5 { padding: 0.5rem 1rem; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; cursor: pointer; }
._addBtn_hcyuu_5:hover { opacity: 0.9; }
._demoBtn_hcyuu_7 { padding: 0.5rem 1rem; background: var(--accent, #3b82f6); color: #fff; border: none; border-radius: var(--radius); font-size: 0.85rem; font-weight: 500; cursor: pointer; }
._demoBtnRemove_hcyuu_8 { padding: 0.5rem 1rem; background: transparent; color: var(--text-muted); border: 1px dashed var(--border); border-radius: var(--radius); font-size: 0.82rem; cursor: pointer; }
._demoBtnRemove_hcyuu_8:hover { color: #ef4444; border-color: #ef4444; }
._demoBadge_hcyuu_10 { display: inline-block; font-size: 0.55rem; font-weight: 700; text-transform: uppercase; padding: 0.08rem 0.3rem; border-radius: 3px; background: #f59e0b; color: #fff; margin-right: 0.35rem; vertical-align: middle; letter-spacing: 0.04em; }
._confirmDelBtn_hcyuu_11 { padding: 0.15rem 0.4rem; font-size: 0.72rem; border: 1px solid #ef4444; border-radius: var(--radius); background: #ef4444; color: #fff; cursor: pointer; }
._provisionalBanner_hcyuu_12 { padding: 0.6rem 0.75rem; background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.3); border-radius: var(--radius); font-size: 0.78rem; color: #b45309; line-height: 1.5; }

/* Scoreboard */
._scoreboard_hcyuu_15 { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 0.75rem; flex-wrap: wrap; }
._scoreCard_hcyuu_16 { text-align: center; min-width: 60px; }
._scoreValue_hcyuu_17 { font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
._scoreLabel_hcyuu_18 { font-size: 0.58rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
._scoreDivider_hcyuu_19 { width: 1px; height: 32px; background: var(--border); flex-shrink: 0; }
._scoreClickable_hcyuu_20 { cursor: pointer; border-radius: var(--radius); padding: 0.3rem 0.5rem; transition: background 0.15s; }
._scoreClickable_hcyuu_20:hover { background: var(--surface-hover); }
._scoreActive_hcyuu_22 { background: var(--primary) !important; border-radius: var(--radius); }
._scoreActive_hcyuu_22 ._scoreValue_hcyuu_17 { color: #fff !important; }
._scoreActive_hcyuu_22 ._scoreLabel_hcyuu_18 { color: rgba(255,255,255,0.8) !important; }

/* Drill-down panel */
._drillDown_hcyuu_27 { border: 1px solid var(--primary); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; max-height: 400px; display: flex; flex-direction: column; }
._drillDownHeader_hcyuu_28 { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0.75rem; background: var(--primary); color: #fff; }
._drillDownTitle_hcyuu_29 { font-size: 0.82rem; font-weight: 600; }
._drillDownBody_hcyuu_30 { overflow-y: auto; flex: 1; }

/* Tabs */
._tabs_hcyuu_33 { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 1rem; }
._tab_hcyuu_33 { padding: 0.5rem 1rem; border: none; background: transparent; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; }
._tab_hcyuu_33:hover { color: var(--text); }
._tabActive_hcyuu_36 { color: var(--primary); border-bottom-color: var(--primary); }

/* Filters */
._filterRow_hcyuu_39 { display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; align-items: center; }
._searchInput_hcyuu_40 { flex: 1; min-width: 200px; padding: 0.4rem 0.6rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); font-size: 0.85rem; }
._typeFilter_hcyuu_41 { display: flex; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
._filterBtn_hcyuu_42 { padding: 0.35rem 0.7rem; border: none; background: transparent; color: var(--text-muted); font-size: 0.78rem; cursor: pointer; text-transform: capitalize; }
._filterBtn_hcyuu_42:not(:last-child) { border-right: 1px solid var(--border); }
._filterBtnActive_hcyuu_44 { background: var(--primary); color: #fff; }
._vettingFilter_hcyuu_45 { padding: 0.35rem 0.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); font-size: 0.78rem; }

/* Split layout */
._splitLayout_hcyuu_48 { display: flex; gap: 1rem; }
._tableWrap_hcyuu_49 { flex: 1; overflow-x: auto; min-width: 0; }

/* Table */
._table_hcyuu_49 { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
._table_hcyuu_49 th { text-align: left; padding: 0.45rem 0.6rem; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid var(--border); font-size: 0.75rem; text-transform: uppercase; }
._table_hcyuu_49 td { padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--border); }
._table_hcyuu_49 tr:hover td { background: var(--surface-hover); }
._selectedRow_hcyuu_56 td { background: rgba(59,130,246,0.06) !important; }
._nameCell_hcyuu_57 { font-weight: 500; }
._emailSub_hcyuu_58 { font-size: 0.72rem; color: var(--text-muted); }
._emptyRow_hcyuu_59 { text-align: center; color: var(--text-muted); padding: 2rem 1rem !important; font-style: italic; }

/* Badges */
._typeBadge_hcyuu_62 { display: inline-block; padding: 0.1rem 0.4rem; border-radius: 10px; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; }
._type_internal_hcyuu_63 { background: #dbeafe; color: #1e40af; }
._type_external_hcyuu_64 { background: #ede9fe; color: #5b21b6; }
._vettingBadge_hcyuu_65 { display: inline-block; padding: 0.1rem 0.4rem; border-radius: 10px; font-size: 0.65rem; font-weight: 600; border: 1px solid; }

._compTags_hcyuu_67 { display: flex; gap: 0.25rem; flex-wrap: wrap; }
._compTag_hcyuu_67 { font-size: 0.62rem; padding: 0.1rem 0.3rem; border-radius: 3px; background: var(--surface-hover); color: var(--text-muted); white-space: nowrap; }

._actionBtns_hcyuu_70 { display: flex; gap: 0.3rem; }
._editBtn_hcyuu_71 { padding: 0.15rem 0.4rem; font-size: 0.72rem; border: 1px solid var(--primary); border-radius: var(--radius); background: transparent; color: var(--primary); cursor: pointer; }
._deleteBtn_hcyuu_72 { padding: 0.15rem 0.4rem; font-size: 0.72rem; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text-muted); cursor: pointer; }
._deleteBtn_hcyuu_72:hover { color: #ef4444; border-color: #ef4444; }
._dashboardLink_hcyuu_74 { padding: 0.15rem 0.4rem; font-size: 0.72rem; border: 1px solid var(--primary); border-radius: var(--radius); background: var(--primary); color: #fff; cursor: pointer; text-decoration: none; font-weight: 500; }
._dashboardLink_hcyuu_74:hover { opacity: 0.9; }

/* Detail panel */
._detailPanel_hcyuu_78 { width: 320px; flex-shrink: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; max-height: 75vh; display: flex; flex-direction: column; }
._detailHeader_hcyuu_79 { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0.75rem; background: var(--surface-hover); border-bottom: 1px solid var(--border); }
._detailHeader_hcyuu_79 h3 { margin: 0; font-size: 0.95rem; }
._detailBody_hcyuu_81 { flex: 1; overflow-y: auto; padding: 0.6rem 0.75rem; }
._detailRow_hcyuu_82 { display: flex; gap: 0.4rem; font-size: 0.78rem; padding: 0.2rem 0; }
._detailLabel_hcyuu_83 { font-weight: 500; color: var(--text-muted); min-width: 80px; }
._detailSection_hcyuu_84 { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; color: var(--primary); margin-top: 0.6rem; padding-bottom: 0.15rem; border-bottom: 1px solid var(--primary); }
._detailNotes_hcyuu_85 { font-size: 0.78rem; color: var(--text-muted); margin: 0.2rem 0; }

/* Qualification */
._qualRow_hcyuu_88 { padding: 0.3rem 0; border-bottom: 1px solid var(--border); }
._qualRole_hcyuu_89 { font-size: 0.75rem; font-weight: 500; }
._qualPass_hcyuu_90 { font-size: 0.68rem; font-weight: 600; color: #16a34a; margin-left: 0.4rem; }
._qualFail_hcyuu_91 { font-size: 0.68rem; font-weight: 600; color: #dc2626; margin-left: 0.4rem; }
._qualBlocker_hcyuu_92 { font-size: 0.68rem; color: #dc2626; padding-left: 0.5rem; }
._qualWarning_hcyuu_93 { font-size: 0.68rem; color: #f59e0b; padding-left: 0.5rem; }
._qualTab_hcyuu_94 { }
._reqYes_hcyuu_95 { font-size: 0.72rem; font-weight: 600; color: #16a34a; }
._reqNo_hcyuu_96 { font-size: 0.72rem; color: var(--text-muted); }

/* Placeholder tab */
._placeholderTab_hcyuu_99 { padding: 1rem 0; }
._placeholderTab_hcyuu_99 h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
._placeholderTab_hcyuu_99 p { font-size: 0.85rem; color: var(--text-muted); margin: 0.3rem 0; }
._placeholderCard_hcyuu_102 { margin: 1rem 0; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: 0.82rem; }
._placeholderCard_hcyuu_102 ol { margin: 0.5rem 0 0 1.2rem; padding: 0; }
._placeholderCard_hcyuu_102 li { margin: 0.3rem 0; }

/* Modal */
._modalOverlay_hcyuu_107 { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1000; display: flex; align-items: center; justify-content: center; }
._modal_hcyuu_107 { background: var(--surface); border-radius: var(--radius-lg); width: 680px; max-width: 95vw; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
._modalHeader_hcyuu_109 { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
._modalHeader_hcyuu_109 h2 { margin: 0; font-size: 1.1rem; font-weight: 600; }
._closeBtn_hcyuu_111 { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text-muted); }
._modalBody_hcyuu_112 { flex: 1; overflow-y: auto; padding: 0.75rem 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
._formGrid_hcyuu_113 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
._formSection_hcyuu_114 { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; color: var(--primary); margin-top: 0.5rem; padding-bottom: 0.15rem; border-bottom: 1px solid var(--primary); }
._field_hcyuu_115 { display: flex; flex-direction: column; gap: 0.2rem; }
._field_hcyuu_115 label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
._field_hcyuu_115 input, ._field_hcyuu_115 textarea, ._field_hcyuu_115 select { padding: 0.35rem 0.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); font-size: 0.82rem; }
._field_hcyuu_115 input:focus, ._field_hcyuu_115 textarea:focus, ._field_hcyuu_115 select:focus { outline: none; border-color: var(--primary); }

._typeToggle_hcyuu_120 { display: flex; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
._toggleBtn_hcyuu_121 { flex: 1; padding: 0.35rem; border: none; background: transparent; font-size: 0.78rem; cursor: pointer; color: var(--text-muted); }
._toggleBtn_hcyuu_121:not(:last-child) { border-right: 1px solid var(--border); }
._toggleBtnActive_hcyuu_123 { background: var(--primary); color: #fff; }

._compGrid_hcyuu_125 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem; max-height: 180px; overflow-y: auto; padding: 0.25rem; border: 1px solid var(--border); border-radius: var(--radius); }
._compCheck_hcyuu_126 { display: flex; align-items: flex-start; gap: 0.35rem; font-size: 0.72rem; cursor: pointer; color: var(--text); }
._compCheck_hcyuu_126 input { accent-color: var(--primary); margin-top: 2px; }

._modalActions_hcyuu_129 { display: flex; gap: 0.5rem; padding: 0.75rem 1rem; border-top: 1px solid var(--border); }
._saveBtn_hcyuu_130 { flex: 1; padding: 0.45rem; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-weight: 600; cursor: pointer; }
._saveBtn_hcyuu_130:disabled { opacity: 0.5; cursor: default; }
._cancelBtn_hcyuu_132 { padding: 0.45rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; }

@media (max-width: 900px) {
  ._splitLayout_hcyuu_48 { flex-direction: column; }
  ._detailPanel_hcyuu_78 { width: 100%; max-height: 50vh; }
  ._formGrid_hcyuu_113 { grid-template-columns: 1fr; }
}
._page_15djr_1 { max-width: 1400px; }

/* Header */
._header_15djr_4 { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; flex-wrap: wrap; gap: 1rem; }
._backLink_15djr_5 { font-size: 0.78rem; color: var(--primary); text-decoration: none; }
._backLink_15djr_5:hover { text-decoration: underline; }
._title_15djr_7 { font-size: 1.4rem; font-weight: 600; margin: 0.25rem 0; }
._subtitle_15djr_8 { font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
._vettingBadge_15djr_9 { display: inline-block; padding: 0.1rem 0.4rem; border-radius: 10px; font-size: 0.65rem; font-weight: 600; border: 1px solid; margin-left: 0.3rem; }
._headerStats_15djr_10 { display: flex; gap: 0.5rem; }
._statCard_15djr_11 { padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; min-width: 80px; }
._statValue_15djr_12 { font-size: 1.2rem; font-weight: 700; }
._statLabel_15djr_13 { font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; }

/* View tabs */
._viewTabs_15djr_16 { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 1rem; overflow-x: auto; }
._viewTab_15djr_16 { padding: 0.5rem 0.8rem; border: none; background: transparent; font-size: 0.8rem; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; position: relative; }
._viewTab_15djr_16:hover { color: var(--text); }
._viewTabActive_15djr_19 { color: var(--primary); border-bottom-color: var(--primary); }
._issueBadge_15djr_20 { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #dc2626; color: #fff; font-size: 0.55rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Filter bar */
._filterBar_15djr_23 { display: flex; gap: 0.3rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
._filterChip_15djr_24 { padding: 0.25rem 0.6rem; border: 1px solid var(--border); border-radius: 20px; background: transparent; color: var(--text-muted); font-size: 0.72rem; cursor: pointer; text-transform: capitalize; }
._filterChip_15djr_24:hover { border-color: var(--primary); color: var(--primary); }
._filterChipActive_15djr_26 { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Data table */
._dataTable_15djr_29 { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
._dataTable_15djr_29 th { text-align: left; padding: 0.4rem 0.6rem; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid var(--border); font-size: 0.72rem; text-transform: uppercase; }
._dataTable_15djr_29 td { padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--border); }
._dataTable_15djr_29 tr:hover td { background: var(--surface-hover); }
._titleCell_15djr_33 { font-weight: 500; }
._typeCell_15djr_34 { font-size: 0.72rem; color: var(--text-muted); text-transform: capitalize; }
._dateCell_15djr_35 { font-size: 0.75rem; color: var(--text-muted); }
._responseCell_15djr_36 { font-size: 0.72rem; color: var(--text-muted); max-width: 200px; }
._amountCell_15djr_37 { font-weight: 600; color: var(--primary); }
._emptyRow_15djr_38 { text-align: center; color: var(--text-muted); padding: 1.5rem !important; font-style: italic; }
._quarantinedRow_15djr_39 td { background: rgba(220,38,38,0.04) !important; }
._statusBadge_15djr_40 { display: inline-block; padding: 0.1rem 0.4rem; border-radius: 10px; font-size: 0.62rem; font-weight: 600; text-transform: capitalize; }
._priorityBadge_15djr_41 { font-size: 0.65rem; font-weight: 600; text-transform: capitalize; }
._priorityBadge_15djr_41[data-priority="urgent"] { color: #dc2626; }
._priorityBadge_15djr_41[data-priority="high"] { color: #f59e0b; }
._priorityBadge_15djr_41[data-priority="medium"] { color: var(--text); }
._priorityBadge_15djr_41[data-priority="low"] { color: var(--text-muted); }
._navLink_15djr_46 { color: var(--primary); font-size: 0.8rem; text-decoration: none; }
._navLink_15djr_46:hover { text-decoration: underline; }

/* Overview grid */
._overviewGrid_15djr_50 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
._card_15djr_51 { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem; background: var(--surface); }
._cardTitle_15djr_52 { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; color: var(--primary); margin-bottom: 0.5rem; padding-bottom: 0.25rem; border-bottom: 1px solid var(--primary); }

/* KPI grid */
._kpiGrid_15djr_55 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
._kpiBox_15djr_56 { padding: 0.5rem; border-radius: 6px; text-align: center; border: 1px solid; }
._kpiMet_15djr_57 { border-color: rgba(22,163,74,0.3); background: rgba(22,163,74,0.05); }
._kpiNotMet_15djr_58 { border-color: rgba(220,38,38,0.3); background: rgba(220,38,38,0.05); }
._kpiValue_15djr_59 { font-size: 1.2rem; font-weight: 700; }
._kpiMet_15djr_57 ._kpiValue_15djr_59 { color: #16a34a; }
._kpiNotMet_15djr_58 ._kpiValue_15djr_59 { color: #dc2626; }
._kpiLabel_15djr_62 { font-size: 0.65rem; color: var(--text-muted); margin-top: 0.1rem; }
._kpiTarget_15djr_63 { font-size: 0.6rem; color: var(--text-muted); }

/* Summary */
._summaryGrid_15djr_66 { display: flex; flex-direction: column; gap: 0.25rem; }
._summaryRow_15djr_67 { display: flex; justify-content: space-between; font-size: 0.78rem; padding: 0.2rem 0; }

/* Activity */
._activityRow_15djr_70 { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; padding: 0.2rem 0; border-bottom: 1px solid var(--border); }
._activityDot_15djr_71 { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
._dotInfo_15djr_72 { background: #3b82f6; }
._dotWarning_15djr_73 { background: #f59e0b; }
._dotCritical_15djr_74 { background: #dc2626; }
._activityEvent_15djr_75 { font-weight: 500; min-width: 80px; text-transform: capitalize; }
._activityDetail_15djr_76 { color: var(--text-muted); flex: 1; }
._activityTime_15djr_77 { color: var(--text-muted); font-size: 0.65rem; }

/* Forecast */
._forecastRow_15djr_80 { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; padding: 0.25rem 0; border-bottom: 1px solid var(--border); }
._forecastDate_15djr_81 { color: var(--text-muted); font-size: 0.7rem; }
._forecastLate_15djr_82 { font-size: 0.6rem; font-weight: 600; color: #dc2626; padding: 0.1rem 0.3rem; background: #dc262618; border-radius: 4px; }
._revisionRow_15djr_83 { display: flex; justify-content: space-between; font-size: 0.75rem; padding: 0.2rem 0; border-bottom: 1px solid var(--border); }

/* Issues */
._issueCard_15djr_86 { border: 1px solid rgba(220,38,38,0.3); border-radius: var(--radius); padding: 0.75rem; margin-bottom: 0.5rem; background: rgba(220,38,38,0.03); }
._issueHeader_15djr_87 { display: flex; align-items: center; gap: 0.5rem; }
._issueSeverity_15djr_88 { font-size: 0.6rem; font-weight: 700; padding: 0.15rem 0.4rem; border-radius: 4px; }
._issueTitle_15djr_89 { font-weight: 500; font-size: 0.85rem; flex: 1; }
._issueDetail_15djr_90 { display: flex; gap: 1rem; font-size: 0.72rem; color: var(--text-muted); margin-top: 0.3rem; }
._issueNotes_15djr_91 { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.25rem; font-style: italic; }

@media (max-width: 900px) {
  ._overviewGrid_15djr_50 { grid-template-columns: 1fr; }
  ._headerStats_15djr_10 { flex-wrap: wrap; }
  ._kpiGrid_15djr_55 { grid-template-columns: 1fr; }
}
