/*
 * 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, implicit `button` / text-field chrome — opt-out via classes)
 *   3. Touch-friendly defaults (48px minimum tap targets for field use)
 *   4. Shared utility classes (.scope-btn, .scope-toolbar, .scope-icon-btn, .scope-card, …)
 */

: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;

  /* Toolbar / icon controls (aligned with file & image slot toolbars) */
  --control-radius: 6px;
  --control-icon-size: 32px;
  --toolbar-pill-bg: color-mix(in srgb, var(--bg) 55%, var(--surface-hover));
  --toolbar-pill-border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);

  /* ── 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; }

/* Default chrome for buttons — module / utility classes override as needed */
button {
  font-family: inherit;
  border-radius: var(--control-radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
button:hover:not(:disabled) {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--text-muted);
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Text-like inputs & selects — matches .scope-input (explicit class still works) */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="image"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
textarea,
select {
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="image"]):not([type="button"]):not([type="submit"]):not([type="reset"]):focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

input[type="color"] {
  padding: var(--space-1);
  border: 1px solid var(--border);
  border-radius: var(--control-radius);
  background: var(--surface);
  min-height: 2.75rem;
  min-width: 2.75rem;
  cursor: pointer;
}

/* 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 */
  }
  /* Keep compact toolbar icon buttons at fixed size */
  button.scope-icon-btn,
  button.scope-icon-btn-danger {
    min-height: var(--control-icon-size);
    min-width: var(--control-icon-size);
  }
}

/* ════════════════════════════════════════════════════════════════════
   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-sm {
  padding: 0.35rem 0.65rem;
  font-size: var(--text-sm);
  min-height: auto;
  border-radius: var(--control-radius);
  font-weight: 600;
}
.scope-btn-primary  { background: var(--primary); color: #fff; border-color: transparent; }
.scope-btn-primary:hover:not(:disabled) { background: var(--primary-hover); color: #fff; }
.scope-btn-secondary {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--border);
  border-radius: var(--control-radius);
}
.scope-btn-secondary:hover:not(:disabled) { background: var(--border); }
.scope-btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
  border-radius: var(--control-radius);
}
.scope-btn-ghost:hover:not(:disabled) { background: var(--surface-hover); }
.scope-btn-danger { background: var(--danger); color: #fff; border-color: transparent; }
.scope-btn-danger:hover:not(:disabled) { background: #b91c1c; color: #fff; }

/* Toolbar row + square icon buttons — same chrome as file / image slots */
.scope-toolbar {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.scope-toolbar-with-zip {
  row-gap: 0.25rem;
}
.scope-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}
.scope-toolbar-actions-end {
  margin-left: auto;
}
.scope-toolbar-zip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex-shrink: 0;
}
.scope-toolbar-zip-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}
.scope-toolbar-zip-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0;
}
.scope-toolbar-pill {
  padding: 0.15rem 0.32rem;
  border-radius: var(--radius);
  background: var(--toolbar-pill-bg);
  border: var(--toolbar-pill-border);
}
.scope-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--control-icon-size);
  height: var(--control-icon-size);
  padding: 0;
  border-radius: var(--control-radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  box-sizing: border-box;
}
.scope-icon-btn:hover:not(:disabled) {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--text-muted);
}
.scope-icon-btn:focus-visible {
  outline: 2px solid var(--accent, #6366f1);
  outline-offset: 1px;
}
.scope-icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.scope-icon-btn-danger {
  border-color: color-mix(in srgb, var(--border) 45%, #dc3545 55%);
  color: #c82333;
}
.scope-icon-btn-danger:hover:not(:disabled) {
  background: rgba(220, 53, 69, 0.12);
  color: #a71d2a;
  border-color: rgba(220, 53, 69, 0.75);
}

/* 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);
}
._scopeReview_1e50t_1 { display: flex; flex-direction: column; gap: 1rem; }
._header_1e50t_2 h3 { margin: 0 0 0.25rem; font-size: 1.1rem; }
._desc_1e50t_3 { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

._section_1e50t_5 { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem; }
._stepLabel_1e50t_6 { font-size: 0.9rem; font-weight: 600; margin: 0 0 0.25rem; color: var(--primary); }
._stepDesc_1e50t_7 { font-size: 0.78rem; color: var(--text-muted); margin: 0 0 0.75rem; }

._scopeTable_1e50t_9 { display: flex; flex-direction: column; gap: 0.5rem; }
._scopeRow_1e50t_10 { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.6rem; }
._naRow_1e50t_11 { opacity: 0.4; }
._scopeRowMain_1e50t_12 { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
._categoryBadge_1e50t_13 { font-size: 0.65rem; font-weight: 600; padding: 0.1rem 0.4rem; border-radius: 4px; background: var(--primary); color: #fff; text-transform: uppercase; white-space: nowrap; }
._scopeDesc_1e50t_14 { flex: 1; font-size: 0.82rem; }
._drawingRef_1e50t_15 { font-size: 0.65rem; color: var(--text-muted); }
._sourceBadge_1e50t_16 { font-size: 0.6rem; padding: 0.1rem 0.3rem; border-radius: 3px; background: var(--surface-hover); color: var(--text-muted); }
._scopeRowActions_1e50t_17 { display: flex; gap: 0.5rem; margin-top: 0.3rem; }
._confirmCheck_1e50t_18, ._naCheck_1e50t_18 { display: flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; cursor: pointer; }
._confirmCheck_1e50t_18 input, ._naCheck_1e50t_18 input { accent-color: var(--primary); }
._removeBtn_1e50t_20 { font-size: 0.7rem; padding: 0.15rem 0.4rem; border: 1px solid var(--border); border-radius: 3px; background: transparent; color: var(--text-muted); cursor: pointer; }

._methodSection_1e50t_22 { margin-top: 0.4rem; padding-top: 0.4rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.3rem; }
._methodLabel_1e50t_23 { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); }
._methodCheckboxes_1e50t_24 { display: flex; flex-wrap: wrap; gap: 0.3rem; }
._methodCheckItem_1e50t_25 { display: flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; padding: 0.2rem 0.4rem; border: 1px solid var(--border); border-radius: 4px; cursor: pointer; background: transparent; }
._methodCheckItem_1e50t_25:hover { background: var(--surface-hover); }
._methodChecked_1e50t_27 { background: rgba(59,130,246,0.1); border-color: var(--primary); }
._methodCheckItem_1e50t_25 input { accent-color: var(--primary); width: 14px; height: 14px; }
._methodCheckName_1e50t_29 { white-space: nowrap; }
._methodHazardsBadge_1e50t_30 { font-size: 0.6rem; padding: 0.05rem 0.25rem; border-radius: 3px; background: #fef2f2; color: #b91c1c; }
._methodSummary_1e50t_31 { margin-top: 0.3rem; display: flex; flex-direction: column; gap: 0.2rem; }
._methodDetail_1e50t_32 { font-size: 0.72rem; padding: 0.3rem 0.4rem; background: var(--surface-hover); border-radius: 4px; display: flex; flex-direction: column; gap: 0.2rem; }
._methodDesc_1e50t_33 { color: var(--text-muted); }
._methodHazards_1e50t_30 { color: #b91c1c; font-weight: 500; }
._methodEliminated_1e50t_35 { color: #166534; font-weight: 500; }

._addRow_1e50t_37 { display: flex; gap: 0.4rem; margin-top: 0.5rem; }
._addSelect_1e50t_38 { padding: 0.3rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.78rem; background: var(--bg); color: var(--text); }
._addInput_1e50t_39 { flex: 1; padding: 0.3rem 0.5rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.78rem; background: var(--bg); color: var(--text); }
._addBtn_1e50t_40 { padding: 0.3rem 0.6rem; border: 1px solid var(--primary); border-radius: var(--radius); background: transparent; color: var(--primary); font-size: 0.75rem; font-weight: 600; cursor: pointer; }
._addBtn_1e50t_40:disabled { opacity: 0.4; }

._summaryRow_1e50t_43 { display: flex; gap: 1rem; font-size: 0.8rem; margin-bottom: 0.5rem; }
._pendingWarn_1e50t_44 { color: #b91c1c; font-weight: 500; }
._proceedBtn_1e50t_45 { padding: 0.5rem 1.5rem; background: #16a34a; color: #fff; border: none; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; cursor: pointer; }
._proceedBtn_1e50t_45:hover { background: #15803d; }
._notReadyMsg_1e50t_47 { font-size: 0.8rem; color: var(--text-muted); padding: 0.4rem 0.6rem; background: #fef3c7; border: 1px solid #fbbf24; border-radius: var(--radius); }
._overlay_14h09_1 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
}

._panel_14h09_10 {
  width: 380px;
  max-width: 90vw;
  background: #fff;
  height: 100%;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  animation: _slideIn_14h09_1 0.2s ease-out;
}

@keyframes _slideIn_14h09_1 {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

._header_14h09_26 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}

._header_14h09_26 h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

._closeBtn_14h09_41 {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #6b7280;
  padding: 4px;
  border-radius: 4px;
}

._closeBtn_14h09_41:hover {
  background: #f3f4f6;
  color: #111827;
}

._body_14h09_56 {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

._sectionInfo_14h09_62 {
  margin-bottom: 20px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

._sectionInfo_14h09_62 h4 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: #111827;
}

._sectionMeta_14h09_76 {
  font-size: 0.75rem;
  color: #6b7280;
}

._journeyBadge_14h09_81 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

._journey_on_site_14h09_91 { background: #dbeafe; color: #1e40af; }
._journey_desktop_review_14h09_92 { background: #fef3c7; color: #92400e; }
._journey_back_office_14h09_93 { background: #ede9fe; color: #5b21b6; }

._form_14h09_95 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

._fieldGroup_14h09_101 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

._fieldGroup_14h09_101 label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}

._fieldGroup_14h09_101 input,
._fieldGroup_14h09_101 select {
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #111827;
  background: #fff;
}

._fieldGroup_14h09_101 input:focus,
._fieldGroup_14h09_101 select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

._typeToggle_14h09_130 {
  display: flex;
  gap: 0;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
}

._typeBtn_14h09_138 {
  flex: 1;
  padding: 8px;
  border: none;
  background: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  color: #6b7280;
}

._typeBtn_14h09_138:first-child {
  border-right: 1px solid #d1d5db;
}

._typeBtnActive_14h09_153 {
  background: #3b82f6;
  color: #fff;
}

._actions_14h09_158 {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid #e5e7eb;
}

._assignBtn_14h09_165 {
  flex: 1;
  padding: 10px;
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

._assignBtn_14h09_165:hover { background: #2563eb; }
._assignBtn_14h09_165:disabled { background: #93c5fd; cursor: not-allowed; }

._removeBtn_14h09_181 {
  padding: 10px 16px;
  background: #fff;
  color: #dc2626;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

._removeBtn_14h09_181:hover { background: #fef2f2; }

._currentAssignment_14h09_195 {
  margin-top: 16px;
  padding: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
}

._currentAssignment_14h09_195 h4 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: #065f46;
}

._assignmentDetail_14h09_209 {
  font-size: 0.8rem;
  color: #374151;
  margin: 4px 0;
}

._assignmentDetail_14h09_209 strong {
  color: #111827;
}

._computedDate_14h09_219 {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 2px;
}

._checkGroup_14h09_225 {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

._checkboxLabel_14h09_231 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 400;
  color: #374151;
  cursor: pointer;
}

._checkboxLabel_14h09_231 input[type="checkbox"] {
  accent-color: #3b82f6;
  width: 16px;
  height: 16px;
}

._datePickerWrap_14h09_247 {
  display: flex;
  gap: 0;
  align-items: stretch;
}

._datePickerWrap_14h09_247 input {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

._calendarBtn_14h09_259 {
  padding: 0 10px;
  border: 1px solid #d1d5db;
  border-left: none;
  border-radius: 0 6px 6px 0;
  background: #f9fafb;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s;
}

._calendarBtn_14h09_259:hover {
  background: #e5e7eb;
}

/* ── Changelog ────────────────────────────────────────────────────────── */

._changeLogSection_14h09_276 {
  margin-top: 8px;
}

._changeLogTitle_14h09_280 {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

._changeLogScroll_14h09_288 {
  max-height: 160px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f9fafb;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

._changeLogEntry_14h09_300 {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px 6px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.72rem;
}

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

._changeLogDate_14h09_313 {
  color: #9ca3af;
  font-size: 0.65rem;
}

._changeLogUser_14h09_318 {
  color: #6b7280;
  font-weight: 600;
}

._changeLogDesc_14h09_323 {
  color: #374151;
}

._saveBtn_14h09_327 {
  flex: 1;
  padding: 10px;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

._saveBtn_14h09_327:hover { background: #15803d; }
._saveBtn_14h09_327:disabled { background: #86efac; color: #166534; cursor: default; }
/* ── 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;
}
._overlay_z1epn_1 { position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 1000; display: flex; justify-content: flex-end; }
._panel_z1epn_2 { width: 420px; max-width: 95vw; background: #fff; height: 100%; box-shadow: -4px 0 24px rgba(0,0,0,0.15); display: flex; flex-direction: column; animation: _slideIn_z1epn_1 0.2s ease-out; }
@keyframes _slideIn_z1epn_1 { from { transform: translateX(100%); } to { transform: translateX(0); } }

._header_z1epn_5 { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #e5e7eb; }
._header_z1epn_5 h3 { margin: 0; font-size: 1rem; font-weight: 600; color: #111827; }
._closeBtn_z1epn_7 { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: #6b7280; padding: 4px; border-radius: 4px; }
._closeBtn_z1epn_7:hover { background: #f3f4f6; color: #111827; }

._body_z1epn_10 { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }

._depInfo_z1epn_12 { padding: 12px; background: #f9fafb; border-radius: 8px; border: 1px solid #e5e7eb; display: flex; flex-direction: column; gap: 6px; }
._depInfo_z1epn_12 h4 { margin: 0; font-size: 0.9rem; color: #111827; }
._statusBadge_z1epn_14 { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 0.7rem; font-weight: 600; border: 1px solid; align-self: flex-start; }

._fieldGroup_z1epn_16 { display: flex; flex-direction: column; gap: 4px; }
._fieldGroup_z1epn_16 label { font-size: 0.8rem; font-weight: 600; color: #374151; }
._fieldGroup_z1epn_16 input, ._fieldGroup_z1epn_16 select, ._fieldGroup_z1epn_16 textarea { padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.85rem; color: #111827; background: #fff; }
._fieldGroup_z1epn_16 input:focus, ._fieldGroup_z1epn_16 select:focus, ._fieldGroup_z1epn_16 textarea:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.15); }
._fieldGroup_z1epn_16 textarea { resize: vertical; }

._typeToggle_z1epn_22 { display: flex; gap: 0; border: 1px solid #d1d5db; border-radius: 6px; overflow: hidden; }
._typeBtn_z1epn_23 { flex: 1; padding: 8px; border: none; background: #fff; font-size: 0.8rem; cursor: pointer; color: #6b7280; transition: background 0.15s; }
._typeBtn_z1epn_23:first-child { border-right: 1px solid #d1d5db; }
._typeBtnActive_z1epn_25 { background: #3b82f6; color: #fff; }

._actionsRow_z1epn_27 { display: flex; gap: 6px; flex-wrap: wrap; }
._actionBtn_z1epn_28 { padding: 6px 12px; font-size: 0.78rem; font-weight: 600; border: 1px solid #3b82f6; border-radius: 6px; background: #eff6ff; color: #1d4ed8; cursor: pointer; transition: background 0.15s; }
._actionBtn_z1epn_28:hover { background: #dbeafe; }

._dateWrap_z1epn_31 { display: flex; gap: 0; }
._dateWrap_z1epn_31 input { flex: 1; border-top-right-radius: 0; border-bottom-right-radius: 0; }
._calBtn_z1epn_33 { padding: 0 10px; border: 1px solid #d1d5db; border-left: none; border-radius: 0 6px 6px 0; background: #f9fafb; font-size: 1rem; cursor: pointer; }
._calBtn_z1epn_33:hover { background: #e5e7eb; }
._computedDate_z1epn_35 { font-size: 0.75rem; color: #6b7280; }

._financialSection_z1epn_37 { padding: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; display: flex; flex-direction: column; gap: 8px; }
._sectionLabel_z1epn_38 { font-size: 0.8rem; font-weight: 600; color: #374151; }
._fieldRow_z1epn_39 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
._amountWrap_z1epn_40 { display: flex; gap: 0; }
._amountWrap_z1epn_40 select { border-top-right-radius: 0; border-bottom-right-radius: 0; width: 70px; }
._amountWrap_z1epn_40 input { flex: 1; border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: none; }
._currencySelect_z1epn_43 { padding: 8px 4px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.85rem; color: #111827; background: #f9fafb; }

._changeLogSection_z1epn_45 { display: flex; flex-direction: column; gap: 4px; }
._changeLogScroll_z1epn_46 { max-height: 160px; overflow-y: auto; border: 1px solid #e5e7eb; border-radius: 6px; background: #f9fafb; padding: 6px; display: flex; flex-direction: column; gap: 6px; }
._logEntry_z1epn_47 { display: flex; flex-direction: column; gap: 1px; padding: 4px 6px; border-bottom: 1px solid #e5e7eb; font-size: 0.72rem; }
._logEntry_z1epn_47:last-child { border-bottom: none; }
._logDate_z1epn_49 { color: #9ca3af; font-size: 0.65rem; }
._logUser_z1epn_50 { color: #6b7280; font-weight: 600; }
._logDesc_z1epn_51 { color: #374151; }

._footer_z1epn_53 { display: flex; gap: 10px; padding: 16px 20px; border-top: 1px solid #e5e7eb; }
._saveBtn_z1epn_54 { flex: 1; padding: 10px; background: #16a34a; color: #fff; border: none; border-radius: 6px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
._saveBtn_z1epn_54:hover { background: #15803d; }
._saveBtn_z1epn_54:disabled { background: #86efac; color: #166534; cursor: default; }
._removeBtn_z1epn_57 { padding: 10px 16px; background: #fff; color: #dc2626; border: 1px solid #fca5a5; border-radius: 6px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
._removeBtn_z1epn_57:hover { background: #fef2f2; }

/* N/A row styling for the table */
._naRow_z1epn_61 { opacity: 0.45; text-decoration: line-through; }
._matrix_1yka3_1 { display: flex; flex-direction: column; align-items: center; gap: 4px; }
._compact_1yka3_2 ._grid_1yka3_2 { gap: 1px; }
._yLabel_1yka3_3 { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); writing-mode: vertical-lr; transform: rotate(180deg); }
._xLabel_1yka3_4 { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); margin-top: 2px; }
._grid_1yka3_2 { display: grid; grid-template-columns: auto repeat(5, 1fr); gap: 2px; }
._compact_1yka3_2 ._grid_1yka3_2 { grid-template-columns: repeat(5, 1fr); }
._corner_1yka3_7 { width: 24px; }
._headerCell_1yka3_8 { text-align: center; font-size: 0.65rem; font-weight: 600; color: var(--text-muted); padding: 2px; }
._footerCell_1yka3_9 { text-align: center; font-size: 0.65rem; color: var(--text-muted); padding: 2px; }
._rowLabel_1yka3_10 { display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 600; color: var(--text-muted); width: 24px; }
._cell_1yka3_11 { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 4px; transition: opacity 0.15s; }
._compact_1yka3_2 ._cell_1yka3_11 { width: 24px; height: 24px; }
._clickable_1yka3_13 { cursor: pointer; }
._clickable_1yka3_13:hover { opacity: 0.8; }
._count_1yka3_15 { font-size: 0.75rem; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
._compact_1yka3_2 ._count_1yka3_15 { font-size: 0.6rem; }
._overlay_zcolb_1 { position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 1000; display: flex; justify-content: flex-end; }
._panel_zcolb_2 { width: 480px; max-width: 95vw; background: #fff; height: 100%; box-shadow: -4px 0 24px rgba(0,0,0,0.15); display: flex; flex-direction: column; animation: _slideIn_zcolb_1 0.2s ease-out; }
@keyframes _slideIn_zcolb_1 { from { transform: translateX(100%); } to { transform: translateX(0); } }
._header_zcolb_4 { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #e5e7eb; }
._header_zcolb_4 h3 { margin: 0; font-size: 1rem; font-weight: 600; }
._closeBtn_zcolb_6 { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: #6b7280; }
._body_zcolb_7 { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
._bulkHint_zcolb_8 {
  margin: 0;
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 8px;
}
._hazardInfo_zcolb_18 { padding: 10px; background: #f9fafb; border-radius: 8px; border: 1px solid #e5e7eb; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
._hazardInfo_zcolb_18 h4 { margin: 0; font-size: 0.9rem; flex: 1; }
._refBadge_zcolb_20 { font-size: 0.65rem; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: #e5e7eb; color: #374151; }
._aiBadge_zcolb_21 { font-size: 0.65rem; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: #dbeafe; color: #1e40af; }
._field_zcolb_22 { display: flex; flex-direction: column; gap: 3px; }
._field_zcolb_22 label { font-size: 0.78rem; font-weight: 600; color: #374151; }
._field_zcolb_22 input, ._field_zcolb_22 select, ._field_zcolb_22 textarea { padding: 7px 9px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.83rem; color: #111827; background: #fff; }
._field_zcolb_22 input:focus, ._field_zcolb_22 select:focus, ._field_zcolb_22 textarea:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.15); }
._field_zcolb_22 textarea { resize: vertical; }

._ratingSection_zcolb_28 { padding: 10px; background: #f9fafb; border-radius: 8px; border: 1px solid #e5e7eb; }
._sectionLabel_zcolb_29 { display: block; font-size: 0.78rem; font-weight: 600; color: #374151; margin-bottom: 6px; }
._ratingRow_zcolb_30 { display: flex; gap: 8px; align-items: flex-end; }
._ratingField_zcolb_31 { flex: 1; display: flex; flex-direction: column; gap: 2px; }
._ratingField_zcolb_31 label { font-size: 0.7rem; color: #6b7280; }
._ratingField_zcolb_31 select { padding: 6px 4px; font-size: 0.78rem; }
._scoreBadge_zcolb_34 { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: #fff; flex-shrink: 0; }

._novelSection_zcolb_36 { padding: 10px; background: #fef3c7; border-radius: 8px; border: 1px solid #fbbf24; }
._checkLabel_zcolb_37 { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 500; cursor: pointer; }
._checkLabel_zcolb_37 input { accent-color: #f59e0b; }
._novelInput_zcolb_39 { margin-top: 8px; width: 100%; padding: 6px 8px; border: 1px solid #fbbf24; border-radius: 6px; font-size: 0.8rem; background: #fff; }

._historySection_zcolb_41 { border-top: 1px solid #e5e7eb; padding-top: 8px; }
._historyList_zcolb_42 { display: flex; flex-direction: column; gap: 4px; max-height: 120px; overflow-y: auto; }
._historyEntry_zcolb_43 { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: #6b7280; padding: 3px 0; border-bottom: 1px solid #f3f4f6; }
._historyDate_zcolb_44 { color: #9ca3af; font-size: 0.65rem; }
._historyScore_zcolb_45 { font-weight: 600; }

._footer_zcolb_47 { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid #e5e7eb; }
._saveBtn_zcolb_48 { flex: 1; padding: 10px; background: #16a34a; color: #fff; border: none; border-radius: 6px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
._saveBtn_zcolb_48:hover { background: #15803d; }
._draPanel_iyr4w_1 { display: flex; flex-direction: column; gap: 1rem; }

/* ── Init panel ──────────────────────────────────────────────────────── */
._initPanel_iyr4w_4 { max-width: 480px; padding: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
._initPanel_iyr4w_4 h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
._desc_iyr4w_6 { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1rem; }
._siteTypeSelect_iyr4w_7 { display: flex; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
._siteTypeBtn_iyr4w_8 { flex: 1; padding: 0.6rem; border: none; background: transparent; font-size: 0.85rem; cursor: pointer; color: var(--text-muted); }
._siteTypeBtn_iyr4w_8:not(:last-child) { border-right: 1px solid var(--border); }
._siteTypeBtnActive_iyr4w_10 { background: var(--primary); color: var(--text-inverse); }
._initBtn_iyr4w_11 { width: 100%; padding: 0.6rem; background: var(--primary); color: var(--text-inverse); border: none; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; cursor: pointer; }

/* ── Stage progress bar ──────────────────────────────────────────────── */
._stageBar_iyr4w_14 { display: flex; align-items: center; gap: 0; padding: 0.5rem 0; }
._stageStep_iyr4w_15 { display: flex; align-items: center; gap: 0.3rem; flex: 1; position: relative; }
._stageStep_iyr4w_15::after { content: ''; flex: 1; height: 2px; background: var(--border); margin: 0 0.3rem; }
._stageStep_iyr4w_15:last-child::after { display: none; }
._stageStepActive_iyr4w_18::after { background: var(--primary); }
._stageDot_iyr4w_19 { width: 12px; height: 12px; border-radius: 50%; background: var(--border); flex-shrink: 0; border: 2px solid var(--border); }
._stageStepActive_iyr4w_18 ._stageDot_iyr4w_19 { background: var(--primary); border-color: var(--primary); }
._stageStepCurrent_iyr4w_21 ._stageDot_iyr4w_19 { border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-dim); }
._stageLabel_iyr4w_22 { font-size: 0.65rem; font-weight: 500; color: var(--text-muted); white-space: nowrap; }
._stageStepCurrent_iyr4w_21 ._stageLabel_iyr4w_22 { font-weight: 700; color: var(--primary); }
._stageGuidance_iyr4w_24 { font-size: 0.8rem; color: var(--text-muted); padding: 0.5rem 0.75rem; background: var(--surface-hover); border-radius: var(--radius); margin: -0.5rem 0 0; }

/* ── Summary cards ───────────────────────────────────────────────────── */
._summaryRow_iyr4w_27 { display: flex; gap: 0.75rem; flex-wrap: wrap; }
._summaryCard_iyr4w_28 { flex: 1; min-width: 80px; padding: 0.5rem 0.75rem; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; }
._summaryValue_iyr4w_29 { font-size: 1.2rem; font-weight: 700; color: var(--text); }
._summaryLabel_iyr4w_30 { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; }
._summaryDelta_iyr4w_31 { font-size: 0.7rem; color: var(--text-muted); }

/* ── Risk matrix row ─────────────────────────────────────────────────── */
._matrixRow_iyr4w_34 { display: flex; gap: 2rem; flex-wrap: wrap; padding: 0.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
._matrixTitle_iyr4w_35 { margin: 0 0 0.3rem; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }

/* ── Filters ─────────────────────────────────────────────────────────── */
._filterRow_iyr4w_38 { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
._filterRow_iyr4w_38 select { padding: 0.35rem 0.5rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.8rem; background: var(--bg); color: var(--text); }
._novelFilter_iyr4w_40 { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; cursor: pointer; }
._novelFilter_iyr4w_40 input { accent-color: #f59e0b; }

/* ── Hazard table ────────────────────────────────────────────────────── */
._tableWrap_iyr4w_44 { overflow-x: auto; }
._table_iyr4w_44 { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
._table_iyr4w_44 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; }
._table_iyr4w_44 td { padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--border); }
._table_iyr4w_44 tbody tr:hover { background: var(--surface-hover); }
._refCell_iyr4w_49 { font-weight: 600; color: var(--text-muted); width: 40px; }
._checkCol_iyr4w_50 { width: 32px; text-align: center; vertical-align: middle; }
._rowSelected_iyr4w_51 { background: rgba(99, 102, 241, 0.08) !important; }
._controlsCell_iyr4w_52 { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); font-size: 0.75rem; }
._naRow_iyr4w_53 { opacity: 0.35; text-decoration: line-through; }
._naRow_iyr4w_53:hover { opacity: 0.5; }

._statusBadge_iyr4w_56 { font-size: 0.65rem; font-weight: 600; padding: 2px 6px; border-radius: 8px; }
._statusBadge_iyr4w_56[data-status="identified"] { background: var(--warning-soft); color: var(--warning); }
._statusBadge_iyr4w_56[data-status="assessed"] { background: var(--primary-soft); color: var(--primary); }
._statusBadge_iyr4w_56[data-status="controlled"] { background: var(--success-soft); color: var(--success); }
._statusBadge_iyr4w_56[data-status="eliminated"] { background: var(--success-soft); color: var(--success); }
._statusBadge_iyr4w_56[data-status="accepted"] { background: var(--primary-soft); color: var(--primary); }
._statusBadge_iyr4w_56[data-status="na"] { background: var(--surface-hover); color: var(--text-muted); }

._riskBadge_iyr4w_64 { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 22px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; color: var(--text-inverse); }
._novelBadge_iyr4w_65 { font-size: 0.6rem; font-weight: 600; padding: 2px 6px; border-radius: 8px; background: var(--warning-soft); color: var(--warning); border: 1px solid var(--border-strong); }

/* ── Stage advance ───────────────────────────────────────────────────── */
._advanceSection_iyr4w_68 { display: flex; gap: 0.5rem; align-items: center; padding: 0.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
._advanceNotes_iyr4w_69 { flex: 1; padding: 0.4rem 0.5rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.8rem; background: var(--bg); color: var(--text); }
._advanceBtn_iyr4w_70 { padding: 0.4rem 1rem; background: var(--primary); color: var(--text-inverse); border: none; border-radius: var(--radius); font-size: 0.8rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
._saveBtn_iyr4w_71 { padding: 0.4rem 1rem; background: var(--success); color: var(--text-inverse); border: none; border-radius: var(--radius); font-size: 0.8rem; font-weight: 600; cursor: pointer; }
._exportBtn_iyr4w_72 { padding: 0.4rem 1rem; background: var(--primary); color: var(--text-inverse); border: none; border-radius: var(--radius); font-size: 0.8rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
._exportBtn_iyr4w_72:hover { background: var(--primary-hover); }

._bulkActionRow_iyr4w_75 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.5rem 0.75rem;
  background: var(--primary-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}
._bulkCount_iyr4w_85 { font-size: 0.85rem; font-weight: 600; color: var(--primary); flex: 1; }
._bulkOpenBtn_iyr4w_86 {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-inverse);
  background: var(--primary);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}
._bulkOpenBtn_iyr4w_86:hover { background: var(--primary-hover); }
._bulkClearBtn_iyr4w_97 {
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
}
._bulkClearBtn_iyr4w_97:hover { background: var(--primary-soft); }

/* ── Drawing + Photo info ────────────────────────────────────────────── */
._drawingInfo_iyr4w_110 { padding: 0.4rem 0.75rem; background: var(--primary-soft); border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.8rem; color: var(--primary); }
._drawingInfo_iyr4w_110 strong { margin-right: 0.3rem; }

._photoUrlSection_iyr4w_113 { display: flex; flex-direction: column; gap: 0.25rem; }
._photoUrlLabel_iyr4w_114 { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
._photoUrlRow_iyr4w_115 { display: flex; gap: 0.5rem; align-items: center; }
._photoUrlInput_iyr4w_116 { flex: 1; padding: 0.35rem 0.5rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.8rem; background: var(--bg); color: var(--text); }
._photoUrlInput_iyr4w_116:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px var(--accent-dim); }
._photoUrlOk_iyr4w_118 { font-size: 0.7rem; font-weight: 600; color: var(--success); padding: 0.2rem 0.5rem; background: var(--success-soft); border-radius: 8px; }

/* ── AI Analysis ─────────────────────────────────────────────────────── */
._aiSection_iyr4w_121 { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
._resetRow_iyr4w_122 { display: flex; align-items: center; gap: 0.5rem; }
._resetBtn_iyr4w_123 { padding: 0.3rem 0.8rem; font-size: 0.75rem; border: 1px solid var(--danger); border-radius: var(--radius); background: transparent; color: var(--danger); cursor: pointer; }
._resetBtn_iyr4w_123:hover { background: var(--danger-soft); }
._resetHint_iyr4w_125 { font-size: 0.7rem; color: var(--text-muted); font-style: italic; }

._heuristicBtn_iyr4w_127 { padding: 0.4rem 1rem; background: var(--primary); color: var(--text-inverse); border: none; border-radius: var(--radius); font-size: 0.8rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
._heuristicBtn_iyr4w_127:hover { background: var(--primary-hover); }
._aiBtn_iyr4w_129 { padding: 0.4rem 1rem; background: var(--primary); color: var(--text-inverse); border: none; border-radius: var(--radius); font-size: 0.8rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
._aiBtn_iyr4w_129:hover { background: var(--primary-hover); }
._aiBtn_iyr4w_129:disabled { opacity: 0.55; cursor: wait; }
._aiNotice_iyr4w_132 { font-size: 0.7rem; color: var(--text-muted); font-style: italic; }
._aiSuccess_iyr4w_133 { padding: 0.5rem 0.75rem; background: var(--success-soft); border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.8rem; color: var(--success); }

/* ── Confinement violation alert ─────────────────────────────────────── */
._violationAlert_iyr4w_136 {
  padding: 0.75rem 1rem;
  background: var(--danger-soft);
  border: 2px solid var(--danger);
  border-radius: var(--radius);
  color: var(--danger);
  font-size: 0.82rem;
}
._violationAlert_iyr4w_136 strong { display: block; font-size: 0.9rem; margin-bottom: 0.3rem; color: var(--danger); }
._violationAlert_iyr4w_136 p { margin: 0 0 0.4rem; }
._violationAlert_iyr4w_136 ul { margin: 0; padding-left: 1.2rem; }
._violationAlert_iyr4w_136 li { margin-bottom: 0.2rem; }
._violationAlert_iyr4w_136 em { font-size: 0.7rem; color: var(--text-muted); }
._cphsp_bc7b4_1 { display: flex; flex-direction: column; gap: 0.75rem; }

._initPanel_bc7b4_3 { max-width: 560px; padding: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
._initPanel_bc7b4_3 h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
._desc_bc7b4_5 { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.75rem; }
._warning_bc7b4_6 { color: #b91c1c; font-size: 0.8rem; padding: 0.4rem 0.6rem; background: #fef2f2; border-radius: var(--radius); border: 1px solid #fca5a5; }
._info_bc7b4_7 { color: #166534; font-size: 0.8rem; padding: 0.4rem 0.6rem; background: #dcfce7; border-radius: var(--radius); border: 1px solid #bbf7d0; margin-bottom: 0.5rem; }
._generateBtn_bc7b4_8 { padding: 0.6rem 1.5rem; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; cursor: pointer; }

._headerBar_bc7b4_10 { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
._headerBar_bc7b4_10 h3 { margin: 0; font-size: 1rem; font-weight: 600; }
._statusRow_bc7b4_12 { display: flex; align-items: center; gap: 0.5rem; }
._statusBadge_bc7b4_13 { font-size: 0.7rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 10px; text-transform: uppercase; }
._status_draft_bc7b4_14 { background: #fef3c7; color: #92400e; }
._status_review_bc7b4_15 { background: #dbeafe; color: #1e40af; }
._status_approved_bc7b4_16 { background: #dcfce7; color: #166534; }
._status_signed_off_bc7b4_17 { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
._statusBtn_bc7b4_18 { padding: 0.3rem 0.8rem; font-size: 0.75rem; font-weight: 600; border: 1px solid var(--primary); border-radius: var(--radius); background: transparent; color: var(--primary); cursor: pointer; }
._exportBtn_bc7b4_19 { padding: 0.3rem 0.8rem; font-size: 0.75rem; font-weight: 600; border: none; border-radius: var(--radius); background: #0e7490; color: #fff; cursor: pointer; }
._exportBtn_bc7b4_19:hover { background: #0891b2; }

._sectionNav_bc7b4_22 { display: flex; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; overflow-x: auto; }
._sectionTab_bc7b4_23 { padding: 0.4rem 0.6rem; border: none; background: transparent; font-size: 0.7rem; cursor: pointer; color: var(--text-muted); white-space: nowrap; border-right: 1px solid var(--border); }
._sectionTab_bc7b4_23:last-child { border-right: none; }
._sectionTabActive_bc7b4_25 { background: var(--primary); color: #fff; }

._sectionContent_bc7b4_27 { padding: 0.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-height: 200px; }

._formGrid_bc7b4_29 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
@media (max-width: 600px) { ._formGrid_bc7b4_29 { grid-template-columns: 1fr; } }

._field_bc7b4_32 { display: flex; flex-direction: column; gap: 3px; }
._field_bc7b4_32 label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
._field_bc7b4_32 input, ._field_bc7b4_32 textarea, ._field_bc7b4_32 select { padding: 0.35rem 0.5rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.8rem; background: var(--bg); color: var(--text); }
._field_bc7b4_32 input:focus, ._field_bc7b4_32 textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(59,130,246,0.15); }
._field_bc7b4_32 textarea { resize: vertical; }

._subHeading_bc7b4_38 { font-size: 0.85rem; font-weight: 600; margin: 0.75rem 0 0.3rem; color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 0.3rem; }

._riskTableWrap_bc7b4_40 { overflow-x: auto; }
._riskTable_bc7b4_40 { width: 100%; border-collapse: collapse; font-size: 0.75rem; }
._riskTable_bc7b4_40 th { text-align: left; padding: 0.35rem 0.5rem; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid var(--border); }
._riskTable_bc7b4_40 td { padding: 0.3rem 0.5rem; border-bottom: 1px solid var(--border); }
._refCell_bc7b4_44 { font-weight: 600; color: var(--text-muted); }
._controlCell_bc7b4_45 { max-width: 250px; font-size: 0.72rem; color: var(--text-muted); }
._scoreBadge_bc7b4_46 { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 20px; border-radius: 4px; font-size: 0.65rem; font-weight: 700; color: #fff; }
._novelBadge_bc7b4_47 { font-size: 0.6rem; font-weight: 600; padding: 1px 5px; border-radius: 6px; background: #fef3c7; color: #92400e; border: 1px solid #fbbf24; }
._novelRow_bc7b4_48 { background: #fffbeb; }

._checkGrid_bc7b4_50 { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.4rem; }
._checkItem_bc7b4_51 { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; cursor: pointer; }
._checkItem_bc7b4_51 input { accent-color: var(--primary); }

._programmeRow_bc7b4_54 { display: grid; grid-template-columns: 1fr 0.7fr 1fr 0.8fr; gap: 0.4rem; padding: 0.4rem 0; border-bottom: 1px solid var(--border); }
._signOffRow_bc7b4_55 { display: grid; grid-template-columns: 1fr 1fr 0.7fr auto; gap: 0.4rem; padding: 0.3rem 0; border-bottom: 1px solid var(--border); align-items: end; }
._picwCheck_bc7b4_56 { display: flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; cursor: pointer; padding-bottom: 0.35rem; }

._addBtn_bc7b4_58 { margin-top: 0.5rem; padding: 0.3rem 0.8rem; font-size: 0.75rem; border: 1px dashed var(--border); border-radius: var(--radius); background: transparent; color: var(--text-muted); cursor: pointer; }
._addBtn_bc7b4_58:hover { background: var(--surface-hover); }
/* PhaseGatePanel — shared phase gate component styles.
   Uses CSS custom properties so each phase app can theme it
   via its own :root definitions. */

._panel_1w69a_5 {
  background: var(--surface, #1e293b);
  border: 1px solid var(--border, #334155);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  font-family: inherit;
}

/* ── Header ── */
._header_1w69a_14 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid var(--border, #334155);
  background: var(--surface-alt, #243044);
}
._header_1w69a_14:hover { background: var(--surface-hover, #2d3a52); }

._headerLeft_1w69a_26 { display: flex; align-items: center; gap: 10px; }
._title_1w69a_27 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted, #94a3b8); }
._arrow_1w69a_28 { font-size: 13px; font-weight: 600; color: var(--text, #e2e8f0); }
._arrowIcon_1w69a_29 { color: var(--primary, #6366f1); margin: 0 3px; }

._headerRight_1w69a_31 { display: flex; align-items: center; gap: 8px; }
._badgeReady_1w69a_32 {
  padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600;
  background: #d1fae5; color: #065f46;
}
._badgeBlocked_1w69a_36 {
  padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600;
  background: #fee2e2; color: #991b1b;
}
._chevron_1w69a_40 { background: none; border: none; color: var(--text-muted, #94a3b8); font-size: 10px; cursor: pointer; padding: 0; }

/* ── Progress bar ── */
._progressBar_1w69a_43 {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
._progressBar_1w69a_43::-webkit-scrollbar { display: none; }

._progressStep_1w69a_53 {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
._progressDot_1w69a_59 {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border, #334155);
  border: 2px solid var(--border, #334155);
  flex-shrink: 0;
}
._progressLine_1w69a_65 {
  width: 32px; height: 2px;
  background: var(--border, #334155);
}
._progressLabel_1w69a_69 {
  display: none;
}
._progressCurrent_1w69a_72 ._progressDot_1w69a_59 {
  background: var(--primary, #6366f1);
  border-color: var(--primary, #6366f1);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}
._progressCurrent_1w69a_72 ._progressLabel_1w69a_69 {
  display: block;
  position: absolute;
  font-size: 9px;
  color: var(--primary, #6366f1);
  white-space: nowrap;
  margin-top: 18px;
}
._progressDone_1w69a_85 ._progressDot_1w69a_59 { background: #22c55e; border-color: #22c55e; }
._progressDone_1w69a_85 ._progressLine_1w69a_65 { background: #22c55e; }

/* ── Check list ── */
._checkList_1w69a_89 { padding: 8px 14px; display: flex; flex-direction: column; gap: 6px; }

._checkGroup_1w69a_91 { display: flex; flex-direction: column; gap: 3px; }
._groupLabel_1w69a_92 {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted, #94a3b8);
  padding: 4px 0 2px;
}

._checkRow_1w69a_98 {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 7px 10px; border-radius: 6px; cursor: pointer;
  transition: background 0.1s;
}
._checkRow_1w69a_98:hover { filter: brightness(1.1); }

._checkPassed_1w69a_105  { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); }
._checkBlocking_1w69a_106{ background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); }
._checkWarning_1w69a_107 { background: rgba(234,179,8,0.08); border: 1px solid rgba(234,179,8,0.2); }

._checkIcon_1w69a_109 { font-size: 13px; flex-shrink: 0; padding-top: 1px; }
._checkPassed_1w69a_105  ._checkIcon_1w69a_109 { color: #22c55e; }
._checkBlocking_1w69a_106 ._checkIcon_1w69a_109 { color: #ef4444; }
._checkWarning_1w69a_107  ._checkIcon_1w69a_109 { color: #eab308; }

._checkBody_1w69a_114 { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
._checkLabel_1w69a_115 { font-size: 12px; font-weight: 600; color: var(--text, #e2e8f0); }
._checkDetail_1w69a_116 { font-size: 11px; color: var(--text-muted, #94a3b8); }
._checkDesc_1w69a_117 { font-size: 11px; color: var(--text-muted, #94a3b8); line-height: 1.5; margin: 4px 0 0; }

._checkNavRow_1w69a_119 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
._checkNavLink_1w69a_125 {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary, #6366f1);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}
._checkNavLink_1w69a_125:hover { opacity: 0.88; }
a._checkNavLink_1w69a_125 { display: inline; }

._checkChevron_1w69a_139 { font-size: 9px; color: var(--text-muted, #94a3b8); flex-shrink: 0; align-self: center; }

/* ── Actions ── */
._actions_1w69a_142 { padding: 10px 14px 12px; border-top: 1px solid var(--border, #334155); }

._btnAdvance_1w69a_144 {
  width: 100%; padding: 9px 0; border-radius: 6px;
  border: none; background: var(--primary, #6366f1); color: #fff;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: opacity 0.15s;
}
._btnAdvance_1w69a_144:hover { opacity: 0.9; }
._btnAdvance_1w69a_144:disabled { opacity: 0.4; cursor: not-allowed; }

._blockedRow_1w69a_153 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
._blockedMsg_1w69a_154 { font-size: 12px; color: var(--text-muted, #94a3b8); }
._btnOverrideLink_1w69a_155 {
  background: none; border: none; color: #f59e0b;
  font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: underline;
  white-space: nowrap;
}
._btnOverrideLink_1w69a_155:hover { color: #d97706; }

._confirmedMsg_1w69a_162 { font-size: 13px; font-weight: 600; color: #22c55e; text-align: center; padding: 4px 0; }

/* ── Override area ── */
._overrideArea_1w69a_165 { padding: 10px 14px 12px; border-top: 1px solid var(--border, #334155); }
._overrideWarning_1w69a_166 {
  font-size: 12px; color: #f59e0b; margin-bottom: 8px; line-height: 1.5;
}
._overrideInput_1w69a_169 {
  width: 100%; padding: 7px 9px; border: 1px solid var(--border, #334155);
  border-radius: 6px; background: var(--bg, #0f172a); color: var(--text, #e2e8f0);
  font-size: 12px; resize: none; box-sizing: border-box;
}
._overrideInput_1w69a_169:focus { outline: none; border-color: #f59e0b; }
._overrideActions_1w69a_175 { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
._btnCancel_1w69a_176 {
  padding: 6px 14px; border-radius: 6px;
  border: 1px solid var(--border, #334155); background: transparent;
  color: var(--text-muted, #94a3b8); font-size: 12px; cursor: pointer;
}
._btnCancel_1w69a_176:hover { background: var(--surface-hover, #2d3a52); }
._btnOverride_1w69a_155 {
  padding: 6px 14px; border-radius: 6px;
  border: none; background: #f59e0b; color: #000;
  font-size: 12px; font-weight: 600; cursor: pointer;
}
._btnOverride_1w69a_155:disabled { opacity: 0.4; cursor: not-allowed; }
._btnOverride_1w69a_155:not(:disabled):hover { background: #d97706; }
._overlay_zas5x_1 {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: var(--screen-loader-bg, rgba(248, 250, 252, 0.85));
  backdrop-filter: blur(6px);
}

._fullViewport_zas5x_10 {
  position: fixed;
  inset: 0;
}

._contained_zas5x_15 {
  position: absolute;
  inset: 0;
  min-height: 12rem;
}

._inner_zas5x_21 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}

._spinner_zas5x_29 {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--screen-loader-track, #e2e8f0);
  border-top-color: var(--screen-loader-accent, #6366f1);
  animation: _screenLoaderSpin_zas5x_1 0.75s linear infinite;
}

._label_zas5x_38 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--screen-loader-text, #475569);
  text-align: center;
  max-width: 16rem;
}

@keyframes _screenLoaderSpin_zas5x_1 {
  to {
    transform: rotate(360deg);
  }
}
._panel_68bdm_1 {
  max-width: 52rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 8px);
  background: var(--surface, #fff);
  padding: 0.75rem;
}

._title_68bdm_10 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text, #0f172a);
}

._hint_68bdm_16 {
  margin: 0.35rem 0 0.65rem;
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
  line-height: 1.45;
}

._actions_68bdm_23 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

._selectBtn_68bdm_31 {
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 6px);
  background: var(--surface, #fff);
  color: var(--text-muted, #64748b);
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
}

._selectBtn_68bdm_31:hover {
  background: var(--surface-hover, #f1f5f9);
  color: var(--text, #0f172a);
}

._primaryBtn_68bdm_47 {
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--primary, #6366f1);
  border-radius: var(--radius, 6px);
  background: var(--primary, #6366f1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

._primaryBtn_68bdm_47:hover {
  filter: brightness(1.05);
}

._message_68bdm_63 {
  margin-left: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
}

._assignLead_68bdm_69 {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
}

._table_68bdm_75 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.77rem;
}

._table_68bdm_75 th {
  text-align: left;
  padding: 0.35rem 0.45rem;
  background: var(--surface-hover, #f1f5f9);
  border-bottom: 1px solid var(--border, #e2e8f0);
  color: var(--text-muted, #64748b);
  font-weight: 600;
}

._table_68bdm_75 td {
  padding: 0.35rem 0.45rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
  color: var(--text, #0f172a);
}

._journeyBadge_68bdm_96 {
  display: inline-block;
  padding: 0.14rem 0.42rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 999px;
  background: var(--surface-hover, #f1f5f9);
  color: var(--text-muted, #64748b);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
._container_13nhu_1 {
  margin: 0.5rem 0;
  padding: 0;
}

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

._fillReport_13nhu_13 {
  margin-top: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: #e8f4fd;
  border: 1px solid #90cdf4;
  border-radius: 6px;
  color: #1a365d;
  font-size: 0.825rem;
}

._buttonOutline_13nhu_23 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #667eea;
  background: #fff;
  border: 2px solid #667eea;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

._buttonOutline_13nhu_23:hover:not(:disabled) {
  background: #f0f0ff;
}

._buttonOutline_13nhu_23:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._button_13nhu_6 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

._button_13nhu_6:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

._button_13nhu_6:active:not(:disabled) {
  transform: translateY(0);
}

._button_13nhu_6:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._verifying_13nhu_77 {
  padding: 0.75rem 1rem;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
  color: #856404;
  font-size: 0.875rem;
  font-weight: 600;
}

._result_13nhu_87 {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

._resultSuccess_13nhu_94 {
  background: #d4edda;
  border: 1px solid #28a745;
  color: #155724;
}

._resultError_13nhu_100 {
  background: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
}

._resultHeader_13nhu_106 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}

._detailsButton_13nhu_113 {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: inherit;
  font-weight: 600;
}

._detailsButton_13nhu_113:hover {
  background: rgba(0, 0, 0, 0.15);
}

._closeButton_13nhu_128 {
  padding: 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
}

._closeButton_13nhu_128:hover {
  opacity: 1;
}

._failedList_13nhu_143 {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

._failedList_13nhu_143 p {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

._failedList_13nhu_143 ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
}

._failedList_13nhu_143 li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

._failedList_13nhu_143 code {
  padding: 0.125rem 0.25rem;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  font-size: 0.8125rem;
  font-family: 'Courier New', monospace;
}
._imageSlot_106or_1 {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  background: var(--bg);
}

._imageSlotDragOver_106or_8 {
  border-color: rgb(25, 135, 84);
  background: rgba(25, 135, 84, 0.08);
  outline: 2px dashed rgba(25, 135, 84, 0.5);
  outline-offset: 2px;
}

._imageSlotWrap_106or_15 {
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
._imageSlotWrap_106or_15._outstanding_106or_21 {
  background: rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.35);
}
._imageSlotWrap_106or_15._completed_106or_25 {
  background: rgba(25, 135, 84, 0.1);
  border-color: rgba(25, 135, 84, 0.3);
}
._imageSlotWrap_106or_15._na_106or_29 {
  background: rgba(0, 0, 0, 0.04);
  opacity: 0.85;
}
._imageSlotWrap_106or_15._na_106or_29 ._imageSlotLabel_106or_33,
._imageSlotWrap_106or_15._na_106or_29 ._imageSlotThumbGallery_106or_34,
._imageSlotWrap_106or_15._na_106or_29 ._imageSlotComment_106or_35 {
  text-decoration: line-through;
}
._imageSlotWrap_106or_15._na_106or_29 ._imageSlotPreview_106or_38 {
  text-decoration: line-through;
}
._imageSlotNaCheck_106or_41 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
._imageSlotNaCheck_106or_41 input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--accent);
}
._imageSlotNaLabel_106or_53 {
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

._imageSlotLabel_106or_33 {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

._imageSlotHeader_106or_67 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

._imageSlotHeaderToolbarOnly_106or_75 {
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 0.35rem;
}

._imageSlotTitleNa_106or_82 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

._imageSlotTitleNa_106or_82 ._imageSlotLabel_106or_33 {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

._imageSlotLabelHeading_106or_96 {
  margin-bottom: 0;
  width: 100%;
}

._imageSlotPopupOverlay_106or_101 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

._imageSlotPopupContent_106or_112 {
  width: 1024px;
  max-width: calc(100vw - 2rem);
  background: var(--bg);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
}

._imageSlotPopupImageWrap_106or_124 {
  width: 1024px;
  height: 768px;
  max-width: 100%;
  max-height: min(768px, 80vh);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

._imageSlotPopupImage_106or_124 {
  max-width: 1024px;
  max-height: 768px;
  width: auto;
  height: auto;
  object-fit: contain;
}

._imageSlotPopupMeta_106or_144 {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

._imageSlotThumbGallery_106or_34 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

._documentSlotGalleryScroll_106or_160 {
  max-height: 156px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}
._imageSlotThumbWrap_106or_166 {
  position: relative;
  flex-shrink: 0;
}
._imageSlotThumb_106or_34 {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  font-size: 12px;
}
._imageSlotThumb_106or_34:hover {
  border-color: var(--accent);
}
._imageSlotThumbSelected_106or_186 {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
._imageSlotThumbSelect_106or_186 {
  position: absolute;
  bottom: 2px;
  left: 2px;
  display: flex;
  align-items: center;
  cursor: pointer;
  z-index: 2;
}
._imageSlotThumbSelect_106or_186 input {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
  cursor: pointer;
}
._imageSlotThumb_106or_34 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
._imageSlotThumbRemove_106or_210 {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: none;
  background: rgba(220, 53, 69, 0.9);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
._imageSlotThumbRemove_106or_210:hover {
  background: #dc3545;
}
._imageSlotThumbMeta_106or_231 {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 2px;
}

._imageSlotComment_106or_35 {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
}


._imageSlotThumbDoc_106or_249 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.15;
  text-align: center;
  padding: 4px;
  word-break: break-all;
}

._imageSlotPopupNonImage_106or_264 {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  color: var(--text-muted);
  background: var(--surface, #f5f5f5);
  width: 100%;
}

._documentSlotCompact_106or_277 ._imageSlot_106or_1 {
  padding: 0.38rem;
}

._documentSlotCompact_106or_277 ._imageSlotWrap_106or_15 {
  padding: 0.28rem;
}

._documentSlotCompact_106or_277 ._imageSlotHeader_106or_67 {
  margin-bottom: 0.3rem;
  gap: 0.28rem;
}

._documentSlotCompact_106or_277 .scope-toolbar {
  gap: 0.12rem;
}

._documentSlotCompact_106or_277 .scope-toolbar-zip {
  gap: 0.3rem;
}

._documentSlotCompact_106or_277 .scope-toolbar-zip-label input {
  width: 14px;
  height: 14px;
}

._documentSlotCompact_106or_277 .scope-icon-btn {
  width: 28px;
  height: 28px;
}

._documentSlotCompact_106or_277 .scope-icon-btn-danger {
  width: 28px;
  height: 28px;
}

._documentSlotCompact_106or_277 ._imageSlotThumb_106or_34 {
  width: 52px;
  height: 52px;
}

._documentSlotCompact_106or_277 ._imageSlotThumbGallery_106or_34 {
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

._documentSlotCompact_106or_277 ._imageSlotLabelHeading_106or_96 {
  font-size: 0.78rem;
}

._documentSlotConstrained_106or_327 {
  width: fit-content;
  max-width: min(420px, 100%);
}

._documentSlotConstrained_106or_327 ._imageSlot_106or_1 {
  border-radius: 8px;
  max-width: 100%;
  box-sizing: border-box;
}

._documentSlotCompact_106or_277._documentSlotConstrained_106or_327 {
  max-width: min(360px, 100%);
}

._documentSlotEditDisabled_106or_342 ._imageSlotThumbRemove_106or_210,
._documentSlotEditDisabled_106or_342 .scope-icon-btn-danger,
._documentSlotEditDisabled_106or_342 ._imageSlotThumbSelect_106or_186 {
  visibility: hidden;
  pointer-events: none;
}

._documentSlotEditDisabled_106or_342 ._imageSlotThumb_106or_34:not(:disabled) {
  cursor: default;
}

/* ── Slot fills parent card (e.g. RET grid tiles): inner sheet stretches; toolbar top-right */
._documentSlotCardFill_106or_354._imageSlotWrap_106or_15 {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
}

._documentSlotCardFill_106or_354._documentSlotConstrained_106or_327,
._documentSlotCardFill_106or_354._documentSlotCompact_106or_277._documentSlotConstrained_106or_327 {
  width: 100%;
  max-width: 100%;
}

._documentSlotCardFill_106or_354 ._imageSlotSheet_106or_370 {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
}

._documentSlotCardFill_106or_354 ._imageSlotHeader_106or_67 {
  width: 100%;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
  margin-bottom: 0.38rem;
  gap: 0.35rem;
}

._documentSlotCardFill_106or_354 ._imageSlotHeaderToolbarOnly_106or_75 {
  margin-bottom: 0.38rem;
}

._documentSlotCardMain_106or_393 {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

._documentSlotCardGallery_106or_400 {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-bottom: 0;
  align-content: flex-start;
}

._documentSlotCardFill_106or_354._documentSlotCompact_106or_277 ._documentSlotCardMain_106or_393 {
  min-height: 3rem;
}
._section_3ud93_1 {
  margin-bottom: 1.25rem;
}

._sectionTitle_3ud93_5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: var(--text, inherit);
}

._lead_3ud93_12 {
  font-size: 0.85rem;
  color: var(--text-muted, #666);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

._formGrid_3ud93_19 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._field_3ud93_25 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

._label_3ud93_31 {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text, inherit);
}

._input_3ud93_37,
._select_3ud93_38,
._textarea_3ud93_39 {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--border, #ccc);
  border-radius: 6px;
  background: var(--bg, #fff);
  color: var(--text, inherit);
  font-size: 0.875rem;
  box-sizing: border-box;
}

._textarea_3ud93_39 {
  min-height: 3rem;
  resize: vertical;
}

._hint_3ud93_55 {
  font-size: 0.75rem;
  color: var(--text-muted, #666);
  margin: 0;
}

._error_3ud93_61 {
  color: var(--danger, #b00020);
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

._actions_3ud93_67 {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

._button_3ud93_74 {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border, #ccc);
  background: var(--surface-2, #f4f4f4);
  color: var(--text, inherit);
  font-size: 0.875rem;
  cursor: pointer;
}

._button_3ud93_74:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._buttonPrimary_3ud93_89 {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--primary, #2563eb);
  color: var(--on-primary, #fff);
  font-size: 0.875rem;
  cursor: pointer;
}

._buttonPrimary_3ud93_89:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._segmented_3ud93_104 {
  display: inline-flex;
  border: 1px solid var(--border, #ccc);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

._segmentedBtn_3ud93_112 {
  border: 0;
  background: var(--surface-2, #f4f4f4);
  color: var(--text, inherit);
  font-size: 0.8rem;
  padding: 0.38rem 0.75rem;
  cursor: pointer;
}

._segmentedBtnActive_3ud93_121 {
  background: var(--primary, #2563eb);
  color: var(--on-primary, #fff);
}

._workspacePage_3ud93_126 {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

._formGridTwo_3ud93_132 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

._inlineField_3ud93_138 {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.6rem;
}

._dialogOverlay_3ud93_146 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  display: grid;
  place-items: center;
  z-index: 9999;
}

._dialogCard_3ud93_155 {
  width: min(760px, calc(100vw - 2rem));
  max-height: min(80vh, 700px);
  overflow: auto;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #ccc);
  border-radius: 10px;
  padding: 0.85rem;
}

._dialogResults_3ud93_165 {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

._resultRow_3ud93_172 {
  text-align: left;
  border: 1px solid var(--border, #ccc);
  border-radius: 8px;
  background: var(--bg, #fff);
  color: var(--text, inherit);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}
._filterBar_585u8_1 {
  display: flex;
  gap: 4px;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
  flex-wrap: wrap;
}

._filterBtn_585u8_9 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--border, #e2e8f0);
  background: var(--surface, #fff);
  color: var(--text-muted, #64748b);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
  user-select: none;
}
._filterBtn_585u8_9:hover {
  background: var(--surface-hover, #f1f5f9);
}

._filterBtn_585u8_9._active_585u8_30 {
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}

._filterBtn_585u8_9._allActive_585u8_36 {
  background: #475569;
  border-color: #334155;
  color: #fff;
}

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

/* Journey-specific active styles — colours match sidebar left-border accents */
._filterBtn_585u8_9._onSiteActive_585u8_50 {
  background: #16a34a;
  border-color: #15803d;
}
._dotOnSite_585u8_54 { background: #16a34a; }

._filterBtn_585u8_9._desktopActive_585u8_56 {
  background: #2563eb;
  border-color: #1d4ed8;
}
._dotDesktop_585u8_60 { background: #2563eb; }

._filterBtn_585u8_9._backOfficeActive_585u8_62 {
  background: #7c3aed;
  border-color: #6d28d9;
}
._dotBackOffice_585u8_66 { background: #7c3aed; }

._count_585u8_68 {
  font-size: 0.6rem;
  font-weight: 400;
  opacity: 0.85;
}
/* Canonical programme / project / site summary — uses design tokens for light/dark */

._projectContextCard_as5mq_3 {
  margin-bottom: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--border) 74%, var(--primary) 26%);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-elevated) 82%, var(--primary) 18%) 0%,
    color-mix(in srgb, var(--surface-elevated) 93%, var(--primary) 7%) 100%
  );
  box-shadow: var(--shadow-md);
  padding: 0.72rem 0.8rem;
}

._projectContextRow_as5mq_17 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

._projectContextItem_as5mq_23 {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

._projectContextLabel_as5mq_30 {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

._projectContextValue_as5mq_38 {
  font-size: 0.82rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._projectContextAddress_as5mq_46 {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px dashed color-mix(in srgb, var(--border) 76%, var(--primary) 24%);
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

._projectContextAddress_as5mq_46 ._projectContextValue_as5mq_38 {
  white-space: normal;
}
._container_1yrty_1 {
  display: grid;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

._leftPane_1yrty_8 {
  overflow-y: auto;
  min-width: 0;
  min-height: 0;
}

._handle_1yrty_14 {
  cursor: col-resize;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

._handle_1yrty_14:hover {
  background: var(--accent, #3b82f6);
}

._handleBar_1yrty_27 {
  width: 2px;
  height: 32px;
  background: var(--text-muted);
  border-radius: 1px;
  opacity: 0.5;
}

._handle_1yrty_14:hover ._handleBar_1yrty_27 {
  background: #fff;
  opacity: 1;
}

._rightPane_1yrty_40 {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
/* Phase sidebar chrome — must match Planning workspace (collapsible rail + title + journey breadcrumb) */

._sidebar_1ghsx_3 {
  flex: 0 0 70px;
  width: 70px;
  min-height: 100vh;
  align-self: stretch;
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: width 0.25s ease, flex 0.25s ease;
  display: flex;
  flex-direction: column;
}

._sidebar_1ghsx_3._open_1ghsx_16 {
  flex: 0 0 280px;
  width: 280px;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.08);
  position: relative;
}

._sidebarContent_1ghsx_23 {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
  min-width: 0;
}

._sidebarHeaderRow_1ghsx_30 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
}

._sidebarTitle_1ghsx_38 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._processLabel_1ghsx_47 {
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  background: var(--surface-hover);
  border-radius: var(--radius);
  text-align: center;
  letter-spacing: 0.02em;
  margin: 0 0.5rem 0.25rem;
}

._sidebarToggleBtn_1ghsx_58 {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

._sidebarToggleBtn_1ghsx_58:hover {
  background: var(--surface-hover);
  color: var(--text);
}

._sidebarCollapsedHeader_1ghsx_79 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

._sidebarCollapsedLabel_1ghsx_88 {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  word-break: break-word;
}

._sidebarNav_1ghsx_99 {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0.25rem;
}

._journeyDimmed_1ghsx_106 {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.2s;
}
._card_wj9pr_1 {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

._cardNa_wj9pr_12 {
  opacity: 0.97;
}

._headerRow_wj9pr_16 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

._title_wj9pr_24 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

._signActions_wj9pr_33 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

._iconButton_wj9pr_40 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

._iconButton_wj9pr_40:hover:not(:disabled) {
  background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%);
  border-color: color-mix(in srgb, var(--border) 55%, var(--accent) 45%);
  color: var(--accent);
}

._iconButton_wj9pr_40:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

._iconButton_wj9pr_40:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

._iconButtonPen_wj9pr_74 {
  border-color: color-mix(in srgb, var(--border) 65%, #16a34a 35%);
  color: #15803d;
}

._iconButtonPen_wj9pr_74:hover:not(:disabled) {
  color: #14532d;
}

._iconButtonEraser_wj9pr_83 {
  border-color: color-mix(in srgb, var(--border) 65%, #d97706 35%);
  color: #b45309;
}

._iconButtonEraser_wj9pr_83:hover:not(:disabled) {
  color: #92400e;
}

._iconSvg_wj9pr_92 {
  flex-shrink: 0;
  display: block;
}

._statusLabel_wj9pr_97 {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

._statusLabelSigned_wj9pr_104 {
  color: var(--success, #15803d);
  font-weight: 600;
}

._statusLabelNa_wj9pr_109 {
  color: var(--text-muted);
  font-weight: 600;
}

._inputRow_wj9pr_114 {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

._input_wj9pr_114 {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}

._inputMuted_wj9pr_130 {
  opacity: 0.8;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

._overlay_wj9pr_135 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  display: grid;
  place-items: center;
  z-index: 1000;
}

._dialog_wj9pr_144 {
  width: min(380px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
  display: grid;
  gap: 0.65rem;
}

._removeDialog_wj9pr_155 {
  width: min(408px, 94vw);
  padding: 0;
  overflow: hidden;
  gap: 0;
}

._removeDialogAccent_wj9pr_162 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1rem 0.35rem;
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--danger, #dc2626) 10%, transparent) 0%,
    color-mix(in srgb, var(--accent, #6366f1) 8%, transparent) 100%
  );
}

._removeDialogAccentIcon_wj9pr_174 {
  flex-shrink: 0;
  color: color-mix(in srgb, var(--danger, #dc2626) 88%, var(--text));
  filter: drop-shadow(0 1px 0 color-mix(in srgb, var(--surface, #fff) 40%, transparent));
}

._removeDialogBody_wj9pr_180 {
  padding: 1rem 1.25rem 0.85rem;
  display: grid;
  gap: 0.85rem;
}

._removeDialogHeading_wj9pr_186 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--text);
  letter-spacing: -0.02em;
}

._removeDialogLead_wj9pr_195 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

._signaturePreview_wj9pr_202 {
  margin: 0;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  background: color-mix(in srgb, var(--surface) 97%, var(--text) 3%);
  display: grid;
  gap: 0.55rem;
}

._signaturePreviewRow_wj9pr_212 {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.86rem;
  line-height: 1.35;
}

._signaturePreviewRow_wj9pr_212 dt {
  margin: 0;
  font-weight: 600;
  color: var(--text-muted);
}

._signaturePreviewRow_wj9pr_212 dd {
  margin: 0;
  font-weight: 500;
  color: var(--text);
  overflow-wrap: anywhere;
}

._removeDialogActions_wj9pr_234 {
  display: flex;
  justify-content: stretch;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem 1.1rem;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 98%, transparent);
}

._removeDialogActions_wj9pr_234 ._button_wj9pr_244 {
  flex: 1 1 calc(50% - 0.325rem);
  min-width: 7rem;
}

._removeDialogActions_wj9pr_234 ._buttonDanger_wj9pr_249 {
  flex: 1 1 calc(50% - 0.325rem);
  min-width: 7rem;
}

._buttonDanger_wj9pr_249 {
  padding: 0.52rem 0.95rem;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--danger, #dc2626) 45%, var(--border));
  background: var(--danger, #dc2626);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    filter 0.15s ease;
}

._buttonDanger_wj9pr_249:hover {
  filter: brightness(1.06);
}

._buttonDanger_wj9pr_249:focus-visible {
  outline: 2px solid var(--danger, #dc2626);
  outline-offset: 2px;
}

._actions_wj9pr_277 {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

._button_wj9pr_244 {
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

._primary_wj9pr_292 {
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

._error_wj9pr_301 {
  color: var(--danger);
  font-size: 0.8rem;
}
._page_1njcl_1 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
}

._card_1njcl_9 {
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  border-radius: 14px;
  padding: 2.25rem;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
}

._header_1njcl_18 {
  text-align: center;
  margin-bottom: 1.5rem;
}

._logo_1njcl_23 {
  font-weight: 800;
  letter-spacing: 0.3em;
  color: #334155;
  margin-bottom: 0.75rem;
}

._header_1njcl_18 h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: #0f172a;
}

._subtitle_1njcl_36 {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.45;
}

._personaSectionHeading_1njcl_43 {
  margin: 1rem 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
}

._personas_1njcl_52 {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.5rem;
}

._persona_1njcl_43 {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  text-align: left;
  padding: 0.8rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
}

._persona_1njcl_43:hover {
  border-color: #94a3b8;
}

._persona_1njcl_43 strong {
  color: #0f172a;
}

._persona_1njcl_43 span {
  color: #475569;
  font-size: 0.85rem;
}

._persona_1njcl_43 code {
  color: #64748b;
  font-size: 0.72rem;
  background: transparent;
  padding: 0;
}

._personaActive_1njcl_93 {
  background: #eff6ff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

._loginBtn_1njcl_99 {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

._loginBtn_1njcl_99:hover {
  background: #1d4ed8;
}
._bar_121sq_1 {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: #0f172a;
  color: #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}

._brand_121sq_12 {
  display: flex;
  align-items: center;
}

._brandLink_121sq_17 {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

._brandMark_121sq_25 {
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #ffffff;
}

._brandSub_121sq_31 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #94a3b8;
  text-transform: uppercase;
}

._nav_121sq_38 {
  display: flex;
  gap: 0.4rem;
}

._navLink_121sq_43 {
  color: #cbd5e1;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

._navLink_121sq_43:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

._navLinkActive_121sq_56 {
  background: rgba(37, 99, 235, 0.25);
  color: #ffffff;
}

._meta_121sq_61 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

._orgPicker_121sq_68 {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

._orgLabel_121sq_74 {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

._orgPicker_121sq_68 select {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
}

._user_121sq_90 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

._userName_121sq_97 {
  font-weight: 600;
  color: #ffffff;
}

._userGroups_121sq_102 {
  font-size: 0.7rem;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

._logoutBtn_121sq_108 {
  background: transparent;
  border: 1px solid #475569;
  color: #e2e8f0;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
}

._logoutBtn_121sq_108:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #64748b;
}

@media (max-width: 720px) {
  ._bar_121sq_1 {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  ._meta_121sq_61 {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
._layout_thlgr_1 {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--bg, #f1f5f9);
}

._content_thlgr_8 {
  min-width: 0;
  min-height: 0;
  padding: 1.5rem 2rem 2.5rem;
}

@media (max-width: 720px) {
  ._content_thlgr_8 {
    padding: 1rem;
  }
}
._page_1wlkv_1 {
  display: grid;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

._welcome_1wlkv_8 h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  color: var(--text-strong);
}

._welcome_1wlkv_8 h1 span {
  color: var(--primary);
}

._welcome_1wlkv_8 p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

._welcomeActions_1wlkv_24 {
  margin-top: 0.9rem;
}

._profileLink_1wlkv_28 {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: 0.42rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 600;
}

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

._welcome_1wlkv_8 code {
  background: var(--surface-hover);
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--text);
}

._sectionTitle_1wlkv_53 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: var(--text-strong);
}

._sectionSub_1wlkv_59 {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

._empty_1wlkv_65 {
  margin: 0;
  color: var(--text-muted);
  background: var(--surface);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px dashed var(--border);
}

._worklistFilters_1wlkv_74 {
  display: grid;
  grid-template-columns: 1.6fr 0.6fr 0.8fr;
  gap: 0.5rem;
  margin: 0.45rem 0 0.75rem;
}

._worklistSearch_1wlkv_81,
._worklistSelect_1wlkv_82 {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.82rem;
  padding: 0.48rem 0.6rem;
}

._worklistSearch_1wlkv_81:focus,
._worklistSelect_1wlkv_82:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

._worklistTable_1wlkv_99 {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

._worklistTable_1wlkv_99 th,
._worklistTable_1wlkv_99 td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-size: 0.84rem;
  border-bottom: 1px solid var(--border);
}

._worklistTable_1wlkv_99 th {
  background: var(--surface-hover);
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

._worklistTable_1wlkv_99 tr:last-child td {
  border-bottom: none;
}

._worklistRow_1wlkv_129 {
  cursor: pointer;
}

._worklistRow_1wlkv_129:hover td {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

._worklistSub_1wlkv_137 {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

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

._grid_1wlkv_149 {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

._card_1wlkv_158 {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1.1rem 0.9rem;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-strong);
  min-height: 140px;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

._card_1wlkv_158:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  border-color: var(--border-strong);
}

._cardDenied_1wlkv_177 {
  background: var(--surface-hover);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.7;
  border-style: dashed;
}

._cardDenied_1wlkv_177:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

._cardHeader_1wlkv_191 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

._cardHeader_1wlkv_191 h3 {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-strong);
}

._card_1wlkv_158 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

._cardFooter_1wlkv_211 {
  margin-top: auto;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

._tag_1wlkv_218 {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface-hover);
  color: var(--text-muted);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

._tagFederated_1wlkv_228 {
  background: var(--primary-soft);
  color: var(--primary);
}

._deniedSection_1wlkv_233 {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
._page_7fkmy_1 {

  max-width: 960px;

  margin: 0 auto;

  padding: 1.25rem 1.25rem 2.5rem;

  display: grid;

  gap: 1rem;

}



._breadcrumb_7fkmy_17 {

  margin: 0;

  font-size: 0.875rem;

  color: var(--text-muted);

}



._breadcrumb_7fkmy_17 a {

  color: var(--primary);

  text-decoration: none;

}



._header_7fkmy_39 {

  margin-bottom: 0.25rem;

}



._title_7fkmy_47 {

  margin: 0 0 0.35rem;

  font-size: 1.6rem;

  color: var(--text-strong);

}



._lead_7fkmy_59 {

  margin: 0;

  color: var(--text-muted);

}



._card_7fkmy_69 {

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: 12px;

  padding: 1rem 1.1rem;

}



._cardTitle_7fkmy_83 {

  margin: 0 0 0.6rem;

  font-size: 1.05rem;

  color: var(--text-strong);

}



._form_7fkmy_95 {

  display: grid;

  gap: 0.75rem;

}



._field_7fkmy_105 {

  display: grid;

  gap: 0.3rem;

}



._field_7fkmy_105 span {

  font-size: 0.8rem;

  color: var(--text-muted);

  font-weight: 600;

}



._field_7fkmy_105 input {

  width: 100%;

  box-sizing: border-box;

  border: 1px solid var(--border);

  border-radius: 8px;

  padding: 0.5rem 0.6rem;

  font-size: 0.9rem;

  background: var(--surface);

  color: var(--text);

}



._field_7fkmy_105 input:read-only {

  background: var(--surface-hover);

}



._actions_7fkmy_157 {

  display: flex;

  justify-content: flex-end;

}



._primaryBtn_7fkmy_167 {

  border: 1px solid var(--primary);

  background: var(--primary);

  color: var(--text-inverse);

  border-radius: 8px;

  padding: 0.5rem 0.9rem;

  font-size: 0.85rem;

  cursor: pointer;

}



._primaryBtn_7fkmy_167:hover {

  background: var(--primary-hover);

}



._status_7fkmy_195 {

  margin: 0 0 0.5rem;

  color: var(--primary);

  font-size: 0.85rem;

}



._muted_7fkmy_207 {

  margin: 0 0 0.6rem;

  color: var(--text-muted);

  font-size: 0.85rem;

}

._tile_1vgti_1 {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: var(--surface, #fff);
  min-width: 0;
}

._neutral_1vgti_9 {
  border-left: 4px solid var(--text-muted, #64748b);
}

._success_1vgti_13 {
  border-left: 4px solid var(--success);
}

._warning_1vgti_17 {
  border-left: 4px solid var(--warning);
}

._danger_1vgti_21 {
  border-left: 4px solid var(--danger);
}

._label_1vgti_25 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted, #64748b);
  margin-bottom: 0.35rem;
}

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

._sub_1vgti_41 {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
}
._wrap_1pvdy_1 {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  background: var(--surface, #fff);
}

._title_1pvdy_8 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}

._hint_1pvdy_14 {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
}

._funnel_1pvdy_20 {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

._row_1pvdy_26 {
  display: grid;
  grid-template-columns: 110px 1fr 36px 48px;
  align-items: center;
  gap: 0.5rem;
}

._phaseLabel_1pvdy_33 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--text);
}

._barTrack_1pvdy_40 {
  height: 10px;
  background: var(--border, #e2e8f0);
  border-radius: 999px;
  overflow: hidden;
}

._barFill_1pvdy_47 {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  border-radius: 999px;
  min-width: 4px;
  transition: width 0.2s ease;
}

._count_1pvdy_55 {
  font-size: 0.85rem;
  font-weight: 700;
  text-align: right;
}

._drop_1pvdy_61 {
  font-size: 0.72rem;
  color: var(--warning);
  text-align: right;
}

._dropPlaceholder_1pvdy_67 {
  min-height: 1em;
}

@media (max-width: 640px) {
  ._row_1pvdy_26 {
    grid-template-columns: 1fr;
  }
  ._count_1pvdy_55,
  ._drop_1pvdy_61 {
    text-align: left;
  }
}
._wrap_1cloq_1 {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  background: var(--surface, #fff);
}

._title_1cloq_8 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}

._hint_1cloq_14 {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
}

._empty_1cloq_20 {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  padding: 0.5rem 0;
}

._list_1cloq_26 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._itemHead_1cloq_35 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

._name_1cloq_44 {
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

._warnIcon_1cloq_52 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 0.65rem;
  font-weight: 800;
}

._meta_1cloq_65 {
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
}

._overdueTag_1cloq_70 {
  color: var(--danger);
  font-weight: 600;
}

._barTrack_1cloq_75 {
  height: 8px;
  background: var(--border, #e2e8f0);
  border-radius: 999px;
  overflow: hidden;
}

._barOpen_1cloq_82 {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 999px;
  transition: width 0.2s ease;
}
._wrap_1v5gc_1 {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  background: var(--surface, #fff);
  min-width: 0;
}

._title_1v5gc_9 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}

._hint_1v5gc_15 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
}

._empty_1v5gc_21 {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
}

._tableScroll_1v5gc_26 {
  overflow-x: auto;
}

._table_1v5gc_26 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

._table_1v5gc_26 th,
._table_1v5gc_26 td {
  text-align: left;
  padding: 0.5rem 0.45rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
  vertical-align: top;
}

._table_1v5gc_26 th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted, #64748b);
}

._clickRow_1v5gc_51 {
  cursor: pointer;
}

._clickRow_1v5gc_51:hover {
  background: var(--surface-hover, #f8fafc);
}

._sub_1v5gc_59 {
  font-size: 0.72rem;
  color: var(--text-muted, #64748b);
  margin-top: 0.15rem;
}

._phase_1v5gc_65 {
  text-transform: capitalize;
}

._rag_1v5gc_69 {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  text-transform: capitalize;
}

._rag_red_1v5gc_77 {
  background: var(--danger-soft);
  color: var(--danger);
}

._rag_amber_1v5gc_82,
._rag_orange_1v5gc_83 {
  background: var(--warning-soft);
  color: var(--warning);
}

._rag_green_1v5gc_88 {
  background: var(--success-soft);
  color: var(--success);
}

._rag_not_set_1v5gc_93 {
  background: var(--surface-hover);
  color: var(--text-muted);
}

._muted_1v5gc_98 {
  color: var(--text-muted, #64748b);
  white-space: nowrap;
}

._badges_1v5gc_103 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

._badge_1v5gc_103 {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  background: var(--warning-soft);
  color: var(--warning);
}
._wrap_v1pll_1 {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  background: var(--surface, #fff);
  min-width: 0;
}

._title_v1pll_9 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}

._hint_v1pll_15 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
}

._empty_v1pll_21 {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
}

._tableScroll_v1pll_26 {
  overflow-x: auto;
}

._table_v1pll_26 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

._table_v1pll_26 th,
._table_v1pll_26 td {
  text-align: left;
  padding: 0.5rem 0.45rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
}

._table_v1pll_26 th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted, #64748b);
}

._clickRow_v1pll_50 {
  cursor: pointer;
}

._clickRow_v1pll_50:hover {
  background: var(--surface-hover, #f8fafc);
}

._phase_v1pll_58 {
  text-transform: capitalize;
}

._muted_v1pll_62 {
  color: var(--text-muted, #64748b);
  white-space: nowrap;
}

._days_v1pll_67 {
  font-weight: 700;
  color: var(--danger);
}
._wrap_2oils_1 {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  background: var(--surface, #fff);
}

._title_2oils_8 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}

._hint_2oils_14 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
}

._empty_2oils_20 {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
}

._list_2oils_25 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

._item_2oils_34 {
  display: flex;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border, #e2e8f0);
}

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

._icon_2oils_45 {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-hover);
  color: var(--text);
  border-radius: 8px;
  font-size: 0.75rem;
}

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

._line_2oils_63 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}

._projBtn_2oils_70 {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
}

._projBtn_2oils_70:disabled {
  color: var(--text);
  cursor: default;
}

._type_2oils_86 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--text-muted, #64748b);
}

._meta_2oils_93 {
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
  margin-top: 0.2rem;
  text-transform: capitalize;
}
._wrap_18g0b_1 {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  background: var(--surface, #fff);
  min-width: 0;
}

._title_18g0b_9 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
}

._hint_18g0b_16 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
}

._empty_18g0b_22 {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
}

._tableScroll_18g0b_27 {
  overflow-x: auto;
}

._table_18g0b_27 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

._table_18g0b_27 th,
._table_18g0b_27 td {
  text-align: left;
  padding: 0.5rem 0.45rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
  vertical-align: top;
}

._table_18g0b_27 th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted, #64748b);
}

._clickRow_18g0b_52 {
  cursor: pointer;
}

._clickRow_18g0b_52:hover {
  background: var(--surface-hover, #f8fafc);
}

._sub_18g0b_60 {
  font-size: 0.72rem;
  color: var(--text-muted, #64748b);
  margin-top: 0.15rem;
}

._phase_18g0b_66 {
  text-transform: capitalize;
}

._muted_18g0b_70 {
  color: var(--text-muted, #64748b);
  white-space: nowrap;
}
._badge_ha85m_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_ha85m_14 {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

._red_ha85m_21 { background: var(--danger-soft); color: var(--danger); }
._red_ha85m_21 ._dot_ha85m_14 { background: var(--rag-red); }

._amber_ha85m_24 { background: var(--warning-soft); color: var(--warning); }
._amber_ha85m_24 ._dot_ha85m_14 { background: var(--rag-amber); }

._green_ha85m_27 { background: var(--success-soft); color: var(--success); }
._green_ha85m_27 ._dot_ha85m_14 { background: var(--rag-green); }

._not_set_ha85m_30 { background: var(--surface-hover); color: var(--text-muted); }
._not_set_ha85m_30 ._dot_ha85m_14 { background: var(--rag-grey); }
._header_1dtbt_1 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
._title_1dtbt_9 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--text-strong);
}
._subtitle_1dtbt_15 {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 42rem;
}
._refreshed_1dtbt_21 {
  color: var(--text-muted);
}
._headerActions_1dtbt_24 {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

._kpiGrid_1dtbt_31 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

._twoCol_1dtbt_38 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: start;
}

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

._ragPanel_1dtbt_52 {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  background: var(--surface);
  min-width: 0;
}

._ragPanelTitle_1dtbt_60 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}

._ragPanelHint_1dtbt_66 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

._ragGrid_1dtbt_72 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  max-height: 280px;
  overflow-y: auto;
}

._ragCard_1dtbt_80 {
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  background: var(--surface-hover);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

._ragCard_1dtbt_80:hover {
  border-color: var(--primary, #2563eb);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

._ragCardTop_1dtbt_95 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

._ragCardPhase_1dtbt_103 {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--text-muted);
}

._ragCardName_1dtbt_110 {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

._ragCardSite_1dtbt_117 {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

._ragCardMeta_1dtbt_123 {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

._phaseVelocity_1dtbt_129 {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

._velocityChip_1dtbt_136 {
  display: inline-block;
  margin: 0.15rem 0.35rem 0 0;
  padding: 0.1rem 0.4rem;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.72rem;
  text-transform: capitalize;
  color: var(--text-muted);
}

._ragMini_1dtbt_148 {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.75rem;
}

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

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

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

._clickRow_1dtbt_203 {
  cursor: pointer;
}

._statusBadge_1dtbt_207 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}
._statusActive_1dtbt_215 { background: var(--success-soft); color: var(--success); }
._statusOnHold_1dtbt_216 { background: var(--warning-soft); color: var(--warning); }
._statusCompleted_1dtbt_217 { background: var(--primary-soft); color: var(--primary); }
._statusCancelled_1dtbt_218 { background: var(--danger-soft); color: var(--danger); }

._phaseBadge_1dtbt_220 {
  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_1dtbt_231 {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

._btn_1dtbt_238 {
  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_1dtbt_250 {
  background: var(--primary);
  color: var(--text-inverse);
}
._btnPrimary_1dtbt_250:hover {
  background: var(--primary-hover);
}

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

/* Create programme modal */
._overlay_1dtbt_286 {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
._modal_1dtbt_295 {
  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_1dtbt_303 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
._formField_1dtbt_308 {
  margin-bottom: 0.75rem;
}
._formLabel_1dtbt_311 {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
._formInput_1dtbt_318 {
  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);
  color: var(--text);
}
._formInput_1dtbt_318:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--accent-dim);
}
._modalActions_1dtbt_332 {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}
._btnGhost_1dtbt_338 {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
._btnGhost_1dtbt_338:hover {
  background: var(--surface-hover);
}

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

._btnDanger_1dtbt_356 {
  background: var(--danger, #dc2626);
  color: var(--text-inverse);
}
._btnDanger_1dtbt_356:hover:not(:disabled) {
  background: #b91c1c;
}

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

/* ── Demo data control bar ───────────────────────────────────────── */
._demoBar_1dtbt_370 {
  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_1dtbt_383 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-width: 0;
}
._demoBarLabel_1dtbt_390 {
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}
._demoBarLoaded_1dtbt_397 {
  color: var(--success, #16a34a);
  font-weight: 500;
}
._demoBarEmpty_1dtbt_401 {
  color: var(--text-muted);
}
._demoBarMutedText_1dtbt_404 {
  color: var(--text-muted);
  font-style: italic;
}
._demoBarActions_1dtbt_408 {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

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

/* Toast / inline status */
._inlineAlert_1dtbt_425 {
  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;
}
._inlineAlert_info_1dtbt_436 {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--primary);
}
._inlineAlert_success_1dtbt_441 {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.25);
  color: var(--success, #16a34a);
}
._inlineAlert_error_1dtbt_446 {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.25);
  color: var(--danger, #dc2626);
}
._inlineAlertClose_1dtbt_451 {
  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;
  }
}
._wrap_g40qa_1 {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

._trigger_g40qa_9 {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  text-align: left;
  border: none;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

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

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

._panel_g40qa_32 {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

._metricsList_g40qa_38 {
  list-style: none;
  margin: 0 0 0.75rem 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

._metricsList_g40qa_38 li {
  padding: 0.2rem 0;
}

._metricsList_g40qa_38 strong {
  color: var(--text);
  margin-left: 0.25rem;
}

._resizeBtn_g40qa_55 {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

._resizeBtn_g40qa_55:hover:not(:disabled) {
  filter: brightness(1.1);
}

._resizeBtn_g40qa_55:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* ================================================================== */
/*  Annotation overlay                                                 */
/* ================================================================== */

._overlay_1lrtq_5 {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* ================================================================== */
/*  Visual toolbar                                                     */
/* ================================================================== */

._toolStrip_1lrtq_16 {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  background: linear-gradient(180deg, rgba(30,30,30,0.92), rgba(22,22,22,0.96));
  pointer-events: auto;
  z-index: 20;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: visible;
  position: relative;
}

/* Stamp: anchored dropdown from toolbar button */
._stampToolWrap_1lrtq_31 {
  position: relative;
  z-index: 50;
}

._stampSplitBtn_1lrtq_36 {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px 4px 6px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  background: rgba(40,40,44,0.95);
  color: #ccc;
  cursor: pointer;
  font-size: 0.62rem;
  min-height: 44px;
}

._stampSplitBtn_1lrtq_36:hover {
  background: rgba(255,255,255,0.08);
}

._stampSplitBtn_1lrtq_36._toolActive_1lrtq_54 {
  background: var(--accent, #3b82f6);
  color: #fff;
  border-color: var(--accent, #3b82f6);
}

._stampSplitLabel_1lrtq_60 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

._stampPreview_1lrtq_67 {
  font-size: 0.58rem;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._stampSplitBtn_1lrtq_36._toolActive_1lrtq_54 ._stampPreview_1lrtq_67 {
  color: #fff;
}

._stampCaret_1lrtq_83 {
  font-size: 0.5rem;
  opacity: 0.85;
  margin-left: 2px;
}

._stampDropdownPanel_1lrtq_89 {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px;
  min-width: 148px;
  max-height: 240px;
  overflow-y: auto;
  background: rgba(22,22,26,0.98);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.6);
  z-index: 200;
}

._toolGroup_1lrtq_108 {
  display: flex;
  align-items: center;
  gap: 2px;
}

._toolDivider_1lrtq_114 {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  margin: 0 4px;
  flex-shrink: 0;
}

._toolItem_1lrtq_122 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #aaa;
  font-size: 0.62rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  min-width: 36px;
}

._toolItem_1lrtq_122:hover {
  background: rgba(255,255,255,0.08);
  color: #eee;
}

._toolActive_1lrtq_54 {
  background: var(--accent, #3b82f6);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}

._toolActive_1lrtq_54:hover {
  background: var(--accent, #3b82f6);
  color: #fff;
}

._toolIcon_1lrtq_154 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

._toolIcon_1lrtq_154 svg {
  width: 16px;
  height: 16px;
}

._toolLabel_1lrtq_167 {
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ================================================================== */
/*  Colour picker                                                      */
/* ================================================================== */

._colorPickerWrap_1lrtq_177 {
  position: relative;
}

._colorBtn_1lrtq_181 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

._colorSwatch_1lrtq_192 {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 2px solid rgba(255,255,255,0.3);
}

._colorDropdown_1lrtq_199 {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 6px;
  background: rgba(30,30,30,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  z-index: 30;
}

._colorOption_1lrtq_215 {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.1s;
}

._colorOption_1lrtq_215:hover {
  transform: scale(1.15);
  border-color: rgba(255,255,255,0.4);
}

._colorSelected_1lrtq_229 {
  border-color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3);
}

/* ================================================================== */
/*  Stamp dropdown                                                     */
/* ================================================================== */

._stampDropdown_1lrtq_89 {
  position: absolute;
  top: 100%;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  background: rgba(30,30,30,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  z-index: 30;
}

._stampOption_1lrtq_253 {
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  background: transparent;
  color: #ccc;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: left;
}

._stampOption_1lrtq_253:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

._stampSelected_1lrtq_272 {
  background: var(--accent, #3b82f6);
  color: #fff;
  border-color: var(--accent, #3b82f6);
}

._stampActive_1lrtq_278 {
  font-size: 0.65rem;
  font-weight: 600;
  color: #eab308;
  padding: 2px 6px;
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 3px;
  white-space: nowrap;
}

/* ================================================================== */
/*  Annotation count badge                                             */
/* ================================================================== */

._annotCount_1lrtq_292 {
  margin-left: auto;
  font-size: 0.68rem;
  color: #777;
  white-space: nowrap;
}

/* ================================================================== */
/*  Canvas                                                             */
/* ================================================================== */

._canvas_1lrtq_303 {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
}

/* ================================================================== */
/*  Text input overlay                                                 */
/* ================================================================== */

._textInputBox_1lrtq_314 {
  position: absolute;
  z-index: 20;
  display: flex;
  gap: 4px;
  pointer-events: auto;
}

._textField_1lrtq_322 {
  padding: 4px 8px;
  border: 2px solid #e11d48;
  border-radius: 4px;
  font-size: 0.82rem;
  background: #fff;
  color: #111;
  min-width: 180px;
}

._textSubmit_1lrtq_332 {
  padding: 4px 10px;
  border: none;
  border-radius: 4px;
  background: #e11d48;
  color: #fff;
  font-size: 0.78rem;
  cursor: pointer;
}

/* ================================================================== */
/*  Hover tooltip                                                      */
/* ================================================================== */

._hoverTooltip_1lrtq_346 {
  position: absolute;
  pointer-events: none;
  z-index: 25;
  padding: 6px 10px;
  background: rgba(15,15,15,0.94);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  min-width: 140px;
  max-width: 220px;
}

._hoverRow_1lrtq_359 {
  font-size: 0.72rem;
  color: #bbb;
  line-height: 1.5;
}

._hoverRow_1lrtq_359 strong {
  color: #fff;
  text-transform: capitalize;
}

._hoverRow_1lrtq_359[data-status='open'] {
  color: #22c55e;
  font-weight: 600;
}

._hoverRow_1lrtq_359[data-status='closed'] {
  color: #888;
  font-weight: 600;
  text-decoration: line-through;
}

._hoverHint_1lrtq_381 {
  font-size: 0.62rem;
  color: #666;
  margin-top: 4px;
  font-style: italic;
}

/* Floating stamp status editor on PDF (when stamp selected) */
._stampFloatSelect_1lrtq_389 {
  position: absolute;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(15,15,20,0.95);
  border: 1px solid rgba(59,130,246,0.5);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  pointer-events: auto;
}

._stampFloatLabel_1lrtq_403 {
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

._stampFloatDropdown_1lrtq_411 {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border, #334155);
  background: var(--surface, #1e293b);
  color: var(--text, #f1f5f9);
  cursor: pointer;
  min-width: 120px;
}

/* Pin note editor (double-click pin) */
._pinNoteEditor_1lrtq_424 {
  position: absolute;
  z-index: 50;
  pointer-events: auto;
  min-width: 220px;
  max-width: 280px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

._pinNoteTitle_1lrtq_437 {
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

._pinNoteTextarea_1lrtq_444 {
  width: 100%;
  box-sizing: border-box;
  font-size: 0.82rem;
  padding: 6px 8px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  resize: vertical;
  font-family: inherit;
}

._pinNoteActions_1lrtq_455 {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

._pinNoteCancel_1lrtq_462 {
  padding: 4px 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #f9fafb;
  cursor: pointer;
  font-size: 0.78rem;
}

._pinNoteSave_1lrtq_471 {
  padding: 4px 12px;
  border: none;
  border-radius: 4px;
  background: #e11d48;
  color: #fff;
  cursor: pointer;
  font-size: 0.78rem;
}

._keepToolLabel_1lrtq_481 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  color: #aaa;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

._keepToolLabel_1lrtq_481 input {
  cursor: pointer;
}

._undoRedo_1lrtq_496 {
  display: flex;
  gap: 2px;
}

._undoRedoBtn_1lrtq_501 {
  padding: 4px 8px;
  font-size: 0.62rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(40, 40, 44, 0.95);
  color: #ccc;
  cursor: pointer;
  min-height: 32px;
}

._undoRedoBtn_1lrtq_501:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

._undoRedoBtn_1lrtq_501:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
._pane_9pvad_1 {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
}

._toolbar_9pvad_9 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: var(--surface-hover);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  flex-wrap: wrap;
}

._uploadBtn_9pvad_20,
._uploadBtnLg_9pvad_21 {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--accent, #3b82f6);
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.15s;
}

._uploadBtn_9pvad_20:hover,
._uploadBtnLg_9pvad_21:hover {
  background: var(--accent, #3b82f6);
  color: #fff;
}

._uploadBtnLg_9pvad_21 {
  font-size: 0.9rem;
  padding: 10px 20px;
}

._restoredBadge_9pvad_44 {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: #22c55e22;
  color: #16a34a;
  border: 1px solid #22c55e44;
  white-space: nowrap;
}

._drawingSelect_9pvad_55 {
  font-size: 0.78rem;
  padding: 3px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  max-width: 200px;
}

._typeTag_9pvad_65 {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

._typeTag_9pvad_65[data-type='ga'] { background: #dbeafe; color: #1d4ed8; }
._typeTag_9pvad_65[data-type='dd'] { background: #fef3c7; color: #92400e; }
._typeTag_9pvad_65[data-type='as_built'] { background: #d1fae5; color: #065f46; }
._typeTag_9pvad_65[data-type='unknown'] { background: var(--surface-hover); color: var(--text-muted); }

._spacer_9pvad_79 { flex: 1; }

._toolBtn_9pvad_81 {
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.82rem;
  cursor: pointer;
}
._toolBtn_9pvad_81:hover { background: var(--surface-hover); }
._toolBtn_9pvad_81:disabled { opacity: 0.4; cursor: default; }
._toolBtnActive_9pvad_92 {
  background: var(--accent, #3b82f6);
  color: #fff;
  border-color: var(--accent, #3b82f6);
}

._autosaveWrap_9pvad_98 {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

._autosaveLabel_9pvad_106 {
  white-space: nowrap;
}

._autosaveSelect_9pvad_110 {
  padding: 3px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.72rem;
  max-width: 88px;
  cursor: pointer;
}

._zoomLabel_9pvad_121 {
  font-size: 0.75rem;
  min-width: 36px;
  text-align: center;
  color: var(--text-muted);
}

._pageNav_9pvad_128 { display: flex; align-items: center; gap: 4px; }
._pageLabel_9pvad_129 { font-size: 0.78rem; color: var(--text-muted); min-width: 48px; text-align: center; }

/* ================================================================== */
/*  Main area (viewer + optional audit sidebar)                        */
/* ================================================================== */

._mainArea_9pvad_135 {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
}

._viewer_9pvad_142 {
  flex: 1;
  overflow: auto;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 12px;
  min-width: 0;
}

._emptyState_9pvad_154 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  color: #888;
  text-align: center;
}

._loadingMsg_9pvad_165, ._errorMsg_9pvad_165 { padding: 2rem; text-align: center; font-size: 0.9rem; }
._loadingMsg_9pvad_165 { color: #888; }
._errorMsg_9pvad_165 { color: #ef4444; }

._pageWrapper_9pvad_169 { display: flex; flex-direction: column; align-items: center; gap: 6px; }
._pageNumber_9pvad_170 {
  font-size: 0.72rem; color: #aaa; padding: 2px 10px;
  background: rgba(255,255,255,0.08); border-radius: 3px;
}
._scrollHint_9pvad_174 { font-size: 0.65rem; color: #666; margin-top: 6px; letter-spacing: 0.02em; }
._canvasContainer_9pvad_175 { position: relative; display: inline-block; line-height: 0; }
._pdfCanvas_9pvad_176 { display: block; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.4); }

/* ================================================================== */
/*  Audit sidebar                                                      */
/* ================================================================== */

._auditSidebar_9pvad_182 {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

._auditHeader_9pvad_192 {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-hover);
  flex-shrink: 0;
}

._auditTabs_9pvad_201 { display: flex; gap: 2px; flex: 1; }

._auditTab_9pvad_201 {
  padding: 4px 10px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 500;
}
._auditTab_9pvad_201:hover { background: var(--surface); }
._auditTabActive_9pvad_214 {
  background: var(--accent, #3b82f6);
  color: #fff;
}

._auditClose_9pvad_219 {
  padding: 2px 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
}
._auditClose_9pvad_219:hover { color: var(--text); }

._auditBody_9pvad_229 {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

._auditEmpty_9pvad_238 {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
  padding: 2rem 1rem;
}

/* ================================================================== */
/*  Annotation detail panel                                            */
/* ================================================================== */

._annotDetail_9pvad_249 {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

._annotDetailHeader_9pvad_260 {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

._annotDetailType_9pvad_267 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--text);
}

._annotDetailPage_9pvad_274 {
  font-size: 0.68rem;
  color: var(--text-muted);
  background: var(--surface);
  padding: 1px 5px;
  border-radius: 3px;
}

._annotDetailSwatch_9pvad_282 {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

._annotDetailStatus_9pvad_289 {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: auto;
}
._statusOpen_9pvad_296 { background: #d1fae5; color: #065f46; }
._statusClosed_9pvad_297 { background: #e5e7eb; color: #6b7280; text-decoration: line-through; }

._annotDetailMeta_9pvad_299 {
  display: flex;
  gap: 8px;
  font-size: 0.68rem;
  color: var(--text-muted);
}

._annotDetailText_9pvad_306 {
  font-size: 0.78rem;
  color: var(--text);
  padding: 4px 6px;
  background: var(--surface);
  border-radius: 3px;
}

._annotDetailActions_9pvad_314 {
  display: flex;
  gap: 4px;
}

._closeBtn_9pvad_319, ._reopenBtn_9pvad_319, ._deselectBtn_9pvad_319 {
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.72rem;
  cursor: pointer;
  font-weight: 500;
}
._closeBtn_9pvad_319 { background: #fef3c7; color: #92400e; border-color: #fbbf24; }
._closeBtn_9pvad_319:hover { background: #fde68a; }
._reopenBtn_9pvad_319 { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
._reopenBtn_9pvad_319:hover { background: #a7f3d0; }
._deselectBtn_9pvad_319 { background: var(--surface); color: var(--text-muted); }
._deselectBtn_9pvad_319:hover { background: var(--surface-hover); }

/* ================================================================== */
/*  Comment thread                                                     */
/* ================================================================== */

._commentThread_9pvad_338 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

._commentThreadTitle_9pvad_344 {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

._commentItem_9pvad_352 {
  padding: 4px 6px;
  background: var(--surface);
  border-radius: 3px;
}

._commentMeta_9pvad_358 {
  font-size: 0.65rem;
  color: var(--text-muted);
}

._commentText_9pvad_363 {
  font-size: 0.75rem;
  color: var(--text);
  margin-top: 2px;
}

._commentInput_9pvad_369 {
  display: flex;
  gap: 3px;
}

._commentField_9pvad_374 {
  flex: 1;
  padding: 4px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.75rem;
}

._commentSubmit_9pvad_384 {
  padding: 4px 8px;
  border: none;
  border-radius: var(--radius);
  background: var(--accent, #3b82f6);
  color: #fff;
  font-size: 0.72rem;
  cursor: pointer;
}

/* ================================================================== */
/*  Per-page annotation list                                           */
/* ================================================================== */

._auditPageGroup_9pvad_398 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

._auditPageLabel_9pvad_404 {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 4px 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

._auditAnnotItem_9pvad_413 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 0.75rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s;
}
._auditAnnotItem_9pvad_413:hover { background: var(--surface-hover); }
._auditAnnotSelected_9pvad_428 {
  background: var(--surface-hover);
  border-color: var(--accent, #3b82f6);
}
._auditAnnotClosed_9pvad_432 {
  opacity: 0.5;
}

._auditAnnotIcon_9pvad_436 {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 24px;
}

._auditAnnotInfo_9pvad_444 {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  font-size: 0.72rem;
  color: var(--text-muted);
}

._auditCommentBadge_9pvad_453 {
  font-size: 0.6rem;
  background: var(--accent, #3b82f6);
  color: #fff;
  padding: 0 4px;
  border-radius: 99px;
  font-weight: 600;
}

._auditAnnotStatus_9pvad_462 {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
}

/* ================================================================== */
/*  Audit log items                                                    */
/* ================================================================== */

._auditLogItem_9pvad_473 {
  padding: 5px 6px;
  border-bottom: 1px solid var(--border);
}

._auditLogAction_9pvad_478 {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: capitalize;
  padding: 1px 5px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 2px;
}
._auditLogAction_9pvad_478[data-action='created'] { background: #d1fae5; color: #065f46; }
._auditLogAction_9pvad_478[data-action='deleted'] { background: #fee2e2; color: #991b1b; }
._auditLogAction_9pvad_478[data-action='commented'] { background: #dbeafe; color: #1d4ed8; }
._auditLogAction_9pvad_478[data-action='closed'] { background: #e5e7eb; color: #374151; }
._auditLogAction_9pvad_478[data-action='reopened'] { background: #fef3c7; color: #92400e; }
._auditLogAction_9pvad_478[data-action='updated'] { background: #e0e7ff; color: #3730a3; }

._auditLogDetail_9pvad_494 {
  font-size: 0.72rem;
  color: var(--text);
  line-height: 1.4;
}

._auditLogMeta_9pvad_500 {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 2px;
}
._container_1765l_1 {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid var(--border);
}

._tabs_1765l_10 {
  display: flex;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

._tab_1765l_10 {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: none;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

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

._tabActive_1765l_32 {
  background: var(--bg);
  color: var(--text);
  border-bottom: 2px solid var(--accent, #3b82f6);
}

._paneContent_1765l_38 {
  flex: 1;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

._docToolbar_1765l_47 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
  flex-wrap: wrap;
}

._docLabel_1765l_58 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._pageNav_1765l_69 {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

._pageNav_1765l_69 button {
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.7rem;
  cursor: pointer;
}

._pageNav_1765l_69 button:disabled {
  opacity: 0.4;
  cursor: default;
}

._downloadBtns_1765l_92 {
  display: flex;
  gap: 0.3rem;
}

._dlBtn_1765l_97 {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--accent, #3b82f6);
  border-radius: 4px;
  background: var(--accent, #3b82f6);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
}

._dlBtn_1765l_97:hover {
  filter: brightness(1.1);
}

._docViewer_1765l_112 {
  flex: 1;
  overflow: auto;
  background: #1a1a1a;
  display: flex;
  justify-content: center;
  padding: 1rem;
}

._docCanvas_1765l_121 {
  max-width: 100%;
  height: auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

._emptyState_1765l_127 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
}

._emptyHint_1765l_139 {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  max-width: 24rem;
}
/* ================================================================== */
/*  Layout                                                             */
/* ================================================================== */

._layout_2a37a_5 {
  display: flex;
  min-height: 100vh;
}

._taskOnlyLayout_2a37a_10 {
  min-height: 100vh;
  background: var(--surface);
}

._taskOnlyContent_2a37a_15 {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  background: linear-gradient(
    180deg,
    var(--surface-elevated) 0%,
    color-mix(in srgb, var(--surface-elevated) 94%, var(--primary) 6%) 100%
  );
  border: 1px solid color-mix(in srgb, var(--border) 78%, var(--primary) 22%);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

._taskOnlyHeader_2a37a_31 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

._projectContextCard_2a37a_39 {
  margin-bottom: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--border) 74%, var(--primary) 26%);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-elevated) 82%, var(--primary) 18%) 0%,
    color-mix(in srgb, var(--surface-elevated) 93%, var(--primary) 7%) 100%
  );
  box-shadow: var(--shadow-md);
  padding: 0.72rem 0.8rem;
}

._projectContextRow_2a37a_53 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

._projectContextItem_2a37a_59 {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

._projectContextLabel_2a37a_66 {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

._projectContextValue_2a37a_74 {
  font-size: 0.82rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._projectContextAddress_2a37a_82 {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px dashed color-mix(in srgb, var(--border) 76%, #2563eb 24%);
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

._taskOnlyActions_2a37a_91 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

._completeTaskBtn_2a37a_97 {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--success);
  border-radius: var(--radius);
  background: var(--success);
  color: var(--text-inverse);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

._completeTaskBtn_2a37a_97:hover:not(:disabled) {
  filter: brightness(1.06);
}

._completeTaskBtn_2a37a_97:disabled {
  opacity: 0.6;
  cursor: default;
}

._taskCompleteNotice_2a37a_117 {
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--success) 38%, transparent);
  border-radius: var(--radius);
  background: var(--success-soft);
  color: var(--text);
  font-size: 0.8rem;
}

/* ================================================================== */
/*  Collapsible sidebar                                                */
/* ================================================================== */

._sidebar_2a37a_131 {
  flex: 0 0 70px;
  width: 70px;
  min-height: 100vh;
  align-self: stretch;
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: width 0.25s ease, flex 0.25s ease;
  display: flex;
  flex-direction: column;
}
._sidebar_2a37a_131._open_2a37a_143 {
  flex: 0 0 280px;
  width: 280px;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.08);
  position: relative;
}

._sidebarContent_2a37a_150 {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
  min-width: 0;
}

/* Expanded header */
._sidebarHeaderRow_2a37a_158 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
}

._sidebarTitle_2a37a_166 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._processLabel_2a37a_175 {
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  background: var(--surface-hover);
  border-radius: var(--radius);
  text-align: center;
  letter-spacing: 0.02em;
  margin: 0 0.5rem 0.25rem;
}

._sidebarToggleBtn_2a37a_186 {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
._sidebarToggleBtn_2a37a_186:hover {
  background: var(--surface-hover);
  color: var(--text);
}

/* Collapsed header */
._sidebarCollapsedHeader_2a37a_207 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
._sidebarCollapsedLabel_2a37a_215 {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  word-break: break-word;
}

._sidebarNav_2a37a_226 {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0.25rem;
}

._journeyDimmed_2a37a_233 {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* ================================================================== */
/*  Main content area                                                  */
/* ================================================================== */

._content_2a37a_243 {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  height: 100vh;
}

._centerScroll_2a37a_250 {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--surface-elevated) 0%,
    color-mix(in srgb, var(--surface-elevated) 94%, var(--primary) 6%) 100%
  );
  border: 1px solid color-mix(in srgb, var(--border) 78%, var(--primary) 22%);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  margin: 0.75rem;
}

._contentHeader_2a37a_265 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

._headerActions_2a37a_274 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-wrap: wrap;
}

._togglePaneBtn_2a37a_282 {
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.75rem;
  cursor: pointer;
}

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

._stepCounter_2a37a_296 {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.35rem 0.75rem;
}

._contentTitle_2a37a_307 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
}

._saveBadgeWrap_2a37a_313 {
  flex-shrink: 0;
}

._placeholder_2a37a_317 {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 42rem;
}

/* ================================================================== */
/*  Overall progress bar                                               */
/* ================================================================== */

._progressBarWrap_2a37a_328 {
  margin-bottom: 1rem;
}
._progressBarLabel_2a37a_331 {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
._progressBarTrack_2a37a_338 {
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
}
._progressBarFill_2a37a_344 {
  height: 100%;
  background: var(--accent);
  border-radius: 5px;
  transition: width 0.2s ease;
}

/* ================================================================== */
/*  Form fields                                                        */
/* ================================================================== */

._formGrid_2a37a_355 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  max-width: 52rem;
}

._formField_2a37a_362 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

._fieldLabel_2a37a_368 {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

._input_2a37a_374 {
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
}

._input_2a37a_374:focus {
  outline: 2px solid var(--accent, #3b82f6);
  outline-offset: -1px;
}

._selectSmall_2a37a_388 {
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  width: 100%;
}

._textarea_2a37a_398 {
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  resize: vertical;
  font-family: inherit;
}

._textarea_2a37a_398:focus {
  outline: 2px solid var(--accent, #3b82f6);
  outline-offset: -1px;
}

/* ================================================================== */
/*  Checklist grid (pre-app consultation)                              */
/* ================================================================== */

._sectionSubheading_2a37a_418 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 1rem 0 0.5rem;
}

._checkGrid_2a37a_425 {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 30rem;
}

._checkField_2a37a_432 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
}

._checkField_2a37a_432 input[type='checkbox'] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent, #3b82f6);
}

/* ================================================================== */
/*  Tracking panels (dynamic per negotiation type)                     */
/* ================================================================== */

._trackingPanel_2a37a_451 {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

._trackingHeader_2a37a_459 {
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent, #3b82f6);
  letter-spacing: 0.02em;
}

._trackingPanel_2a37a_451 ._formGrid_2a37a_355 {
  padding: 0.75rem;
}

/* ================================================================== */
/*  Dependency table (constraint dependencies)                         */
/* ================================================================== */

._depTable_2a37a_476 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
  max-width: 52rem;
}

._depTable_2a37a_476 th {
  text-align: left;
  padding: 0.35rem 0.6rem;
  background: var(--surface-hover);
  border-bottom: 2px solid var(--border);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--text-muted);
}

._depTable_2a37a_476 td {
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

._depTable_2a37a_476 tr:hover td {
  background: var(--surface-hover);
}

._bulkAssignPanel_2a37a_504 {
  max-width: 52rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.75rem;
}

._bulkAssignTitle_2a37a_513 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

._bulkAssignHint_2a37a_519 {
  margin: 0.35rem 0 0.65rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

._bulkAssignControls_2a37a_525 {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr auto;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

._bulkAssignActions_2a37a_532 {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

._bulkSelectBtn_2a37a_539 {
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
}

._bulkSelectBtn_2a37a_539:hover {
  background: var(--surface-hover);
  color: var(--text);
}

._bulkAssignMessage_2a37a_554 {
  margin-left: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

._bulkAssignTable_2a37a_560 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.77rem;
}

._bulkAssignTable_2a37a_560 th {
  text-align: left;
  padding: 0.35rem 0.45rem;
  background: var(--surface-hover);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
}

._bulkAssignTable_2a37a_560 td {
  padding: 0.35rem 0.45rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

._revisionJourneyBadge_2a37a_581 {
  display: inline-block;
  padding: 0.14rem 0.42rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-hover);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

._bulkJourneySelect_2a37a_594 {
  width: 100%;
  min-width: 130px;
  padding: 0.28rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.75rem;
}

._depName_2a37a_605 {
  font-weight: 500;
}

._depSupplier_2a37a_609 {
  color: var(--text-muted);
  font-size: 0.75rem;
}

._depStatusBadge_2a37a_614 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  border: 1px solid;
  white-space: nowrap;
}

._naRow_2a37a_624 {
  opacity: 0.4;
  text-decoration: line-through;
}

._naRow_2a37a_624:hover {
  opacity: 0.6;
}

._addConstraintRow_2a37a_633 {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.4rem;
  max-width: 52rem;
}

._addConstraintInput_2a37a_640 {
  flex: 1;
  padding: 0.35rem 0.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.78rem;
}

._addConstraintInput_2a37a_640:focus {
  border-style: solid;
  border-color: var(--accent, #3b82f6);
  outline: none;
}

._addConstraintBtn_2a37a_656 {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--accent, #3b82f6);
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent, #3b82f6);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

._addConstraintBtn_2a37a_656:hover:not(:disabled) {
  background: rgba(59, 130, 246, 0.08);
}

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

/* ================================================================== */
/*  Link bar (Site Finder app link)                                    */
/* ================================================================== */

._linkBar_2a37a_681 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin: 0.5rem 0;
  border: 1px solid var(--accent, #3b82f6);
  border-radius: var(--radius);
  background: rgba(37, 99, 235, 0.06);
  cursor: pointer;
  transition: background 0.15s;
  max-width: 52rem;
}

._linkBar_2a37a_681:hover {
  background: rgba(37, 99, 235, 0.12);
}

._linkIcon_2a37a_699 {
  font-size: 1rem;
}

._linkText_2a37a_703 {
  font-size: 0.82rem;
  color: var(--accent, #3b82f6);
  font-weight: 500;
}

/* ================================================================== */
/*  Final gate banner                                                  */
/* ================================================================== */

._finalGateBanner_2a37a_713 {
  grid-column: 1 / -1;
  padding: 0.75rem 1rem;
  background: var(--success-soft);
  border: 1px solid color-mix(in srgb, var(--success) 38%, transparent);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ================================================================== */
/*  Responsive                                                         */
/* ================================================================== */

@media (max-width: 768px) {
  ._layout_2a37a_5 {
    flex-direction: column;
  }
  ._sidebar_2a37a_131, ._sidebar_2a37a_131._open_2a37a_143 {
    flex: none;
    width: 100% !important;
    min-height: auto;
    max-height: 50vh;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  ._formGrid_2a37a_355 {
    grid-template-columns: 1fr;
  }
  ._bulkAssignControls_2a37a_525 {
    grid-template-columns: 1fr;
  }
  ._projectContextRow_2a37a_53 {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}
._timeline_yqpdh_1 {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--surface);
}

._timelineHeader_yqpdh_9 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.75rem;
  background: var(--surface-hover);
  border-bottom: 1px solid var(--border);
}

._timelineTitle_yqpdh_18 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

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

._tracks_yqpdh_29 {
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

._track_yqpdh_29 {
  display: grid;
  grid-template-columns: 160px 1fr 80px;
  align-items: center;
  gap: 0.5rem;
}

._trackLabel_yqpdh_43 {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--text);
}

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

._trackDays_yqpdh_58 {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-left: auto;
}

._trackBar_yqpdh_64 {
  position: relative;
  height: 16px;
  background: var(--bg);
  border-radius: 8px;
  overflow: visible;
}

._trackFill_yqpdh_72 {
  height: 100%;
  border-radius: 8px;
  transition: width 0.3s ease;
}

._trackStatus_future_yqpdh_78 {
  background: var(--surface-hover) !important;
  border: 1px dashed var(--border);
}

._trackStatus_active_yqpdh_83 {
  background: repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(255,255,255,0.08) 3px, rgba(255,255,255,0.08) 6px) !important;
  border: 1px solid;
  animation: _pulse_yqpdh_1 2s infinite;
}

@keyframes _pulse_yqpdh_1 {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

._trackStatus_complete_yqpdh_94 {
  opacity: 1;
}

._trackMilestone_yqpdh_98 {
  position: absolute;
  top: -2px;
  font-size: 0.6rem;
  color: var(--text);
}

._trackDate_yqpdh_105 {
  position: absolute;
  right: -4px;
  top: -14px;
  font-size: 0.58rem;
  color: var(--text-muted);
  white-space: nowrap;
}

._trackOutcome_yqpdh_114 {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: right;
}

._outcomeApproved_yqpdh_121 { color: #16a34a; }
._outcomeRefused_yqpdh_122 { color: #dc2626; }
/* Drop zone */
._dropZone_1f4xy_2 {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-top: 0.75rem;
}
._dropZone_1f4xy_2:hover, ._dropZoneActive_1f4xy_11 {
  border-color: var(--accent, #3b82f6);
  background: rgba(59, 130, 246, 0.04);
}
._dropIcon_1f4xy_15 { font-size: 2rem; margin-bottom: 0.5rem; }
._dropTitle_1f4xy_16 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.25rem; }
._dropHint_1f4xy_17 { font-size: 0.78rem; color: var(--text-muted); }
._dropError_1f4xy_18 { font-size: 0.78rem; color: #ef4444; margin-top: 0.5rem; }

/* Parsed container */
._scfParsed_1f4xy_21 {
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

/* Header */
._scfHeader_1f4xy_29 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #fff;
}
._headerLeft_1f4xy_38 { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
._scfBadge_1f4xy_39 {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 0.15rem 0.4rem; border-radius: 3px;
  background: rgba(255,255,255,0.2); flex-shrink: 0;
}
._scfSite_1f4xy_44 { font-size: 0.85rem; font-weight: 600; }
._scfSub_1f4xy_45 { font-size: 0.68rem; opacity: 0.75; }
._headerActions_1f4xy_46 { display: flex; gap: 0.3rem; flex-shrink: 0; }
._viewBtn_1f4xy_47 {
  padding: 0.2rem 0.5rem; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px; background: transparent; color: #fff;
  font-size: 0.68rem; cursor: pointer;
}
._viewBtn_1f4xy_47:hover { background: rgba(255,255,255,0.15); }
._clearBtnSmall_1f4xy_53 {
  padding: 0.2rem 0.5rem; border: 1px solid rgba(239,68,68,0.5);
  border-radius: 4px; background: transparent; color: #fca5a5;
  font-size: 0.68rem; cursor: pointer;
}
._clearBtnSmall_1f4xy_53:hover { background: rgba(239,68,68,0.15); }

/* Confirm clear */
._confirmBanner_1f4xy_61 {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.5rem 0.75rem; background: rgba(239,68,68,0.08);
  border-bottom: 1px solid rgba(239,68,68,0.3); font-size: 0.75rem; color: #dc2626;
}
._confirmActions_1f4xy_66 { display: flex; gap: 0.3rem; }
._confirmYes_1f4xy_67 {
  padding: 0.2rem 0.5rem; border: none; border-radius: 4px;
  background: #dc2626; color: #fff; font-size: 0.7rem; cursor: pointer;
}
._confirmNo_1f4xy_71 {
  padding: 0.2rem 0.5rem; border: 1px solid var(--border); border-radius: 4px;
  background: var(--surface); color: var(--text); font-size: 0.7rem; cursor: pointer;
}

/* Toggle bar */
._toggleBar_1f4xy_77 {
  display: flex; gap: 0.3rem; padding: 0.35rem 0.75rem;
  border-bottom: 1px solid var(--border); background: var(--surface);
}
._toggleBtn_1f4xy_81 {
  padding: 0.15rem 0.5rem; border: 1px solid var(--border); border-radius: 4px;
  background: var(--bg); color: var(--text-muted); font-size: 0.68rem; cursor: pointer;
}
._toggleBtn_1f4xy_81:hover { background: var(--surface-hover); }
._toggleActive_1f4xy_86 { background: var(--accent, #3b82f6); color: #fff; border-color: var(--accent, #3b82f6); }

/* Update review */
._updateHeader_1f4xy_89 {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0.75rem; background: #1e40af; color: #fff; font-size: 0.82rem;
}
._noChanges_1f4xy_93 { padding: 0.75rem; font-size: 0.8rem; color: var(--text-muted); text-align: center; }
._changeList_1f4xy_94 { padding: 0.5rem 0.75rem; }
._changeRow_1f4xy_95 {
  display: flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0;
  border-bottom: 1px solid var(--border); font-size: 0.75rem;
}
._changeField_1f4xy_99 { font-weight: 600; min-width: 110px; color: var(--text); }
._changeOld_1f4xy_100 { color: #ef4444; text-decoration: line-through; }
._changeArrow_1f4xy_101 { color: var(--text-muted); font-size: 0.7rem; }
._changeNew_1f4xy_102 { color: #16a34a; font-weight: 500; }
._queryBtn_1f4xy_103 {
  width: 20px; height: 20px; border-radius: 50%; border: 1px solid #f59e0b;
  background: transparent; color: #f59e0b; font-size: 0.7rem; font-weight: 700;
  cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
._queryBtn_1f4xy_103:hover { background: rgba(245,158,11,0.15); }

._updateActions_1f4xy_110 {
  display: flex; gap: 0.4rem; padding: 0.5rem 0.75rem; border-top: 1px solid var(--border);
}
._confirmBtn_1f4xy_113 {
  padding: 0.3rem 0.7rem; border: none; border-radius: 4px;
  background: #16a34a; color: #fff; font-size: 0.78rem; cursor: pointer;
}
._cancelBtn_1f4xy_117 {
  padding: 0.3rem 0.7rem; border: 1px solid var(--border); border-radius: 4px;
  background: var(--surface); color: var(--text); font-size: 0.78rem; cursor: pointer;
}

/* Query form */
._queryForm_1f4xy_123 {
  margin: 0.5rem 0.75rem; padding: 0.5rem; border: 1px solid #f59e0b;
  border-radius: 6px; background: rgba(245,158,11,0.05);
}
._queryFormTitle_1f4xy_127 { font-size: 0.78rem; font-weight: 600; color: #92400e; margin-bottom: 0.25rem; }
._queryFormField_1f4xy_128 { font-size: 0.72rem; color: var(--text); margin-bottom: 0.35rem; }
._queryInput_1f4xy_129 {
  width: 100%; padding: 0.3rem 0.4rem; border: 1px solid var(--border);
  border-radius: 4px; background: var(--surface); color: var(--text);
  font-size: 0.78rem; font-family: inherit; resize: vertical;
}
._queryFormActions_1f4xy_134 { display: flex; gap: 0.3rem; margin-top: 0.35rem; }
._querySubmit_1f4xy_135 {
  padding: 0.2rem 0.6rem; border: none; border-radius: 4px;
  background: #f59e0b; color: #fff; font-size: 0.72rem; cursor: pointer;
}
._querySubmit_1f4xy_135:disabled { opacity: 0.5; cursor: default; }
._queryCancel_1f4xy_140 {
  padding: 0.2rem 0.6rem; border: 1px solid var(--border); border-radius: 4px;
  background: var(--surface); color: var(--text-muted); font-size: 0.72rem; cursor: pointer;
}

/* Archive panel */
._archivePanel_1f4xy_146, ._queriesPanel_1f4xy_146 { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); }
._archiveEntry_1f4xy_147 {
  border: 1px solid var(--border); border-radius: 4px; margin-bottom: 0.4rem; overflow: hidden;
}
._archiveHeader_1f4xy_150 {
  display: flex; justify-content: space-between; padding: 0.3rem 0.5rem;
  background: var(--surface-hover); font-size: 0.72rem; font-weight: 500;
}
._archiveDate_1f4xy_154 { color: var(--text-muted); font-size: 0.68rem; }
._archiveChanges_1f4xy_155 { padding: 0.25rem 0.5rem; }
._archiveChange_1f4xy_155 {
  display: flex; align-items: center; gap: 0.3rem; font-size: 0.7rem; padding: 0.1rem 0;
}

/* Query entries */
._queryEntry_1f4xy_161 {
  border: 1px solid var(--border); border-radius: 4px; margin-bottom: 0.4rem;
  padding: 0.4rem 0.5rem;
}
._queryEntryHeader_1f4xy_165 { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.2rem; }
._queryStatus_1f4xy_166 {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase; padding: 0.1rem 0.35rem;
  border-radius: 3px;
}
._queryStatus_open_1f4xy_170 { background: #fef3c7; color: #92400e; }
._queryStatus_confirmed_1f4xy_171 { background: #d1fae5; color: #065f46; }
._queryStatus_rejected_1f4xy_172 { background: #fecaca; color: #991b1b; }
._queryEntryField_1f4xy_173 { font-size: 0.72rem; font-weight: 500; flex: 1; }
._queryEntryReason_1f4xy_174 { font-size: 0.72rem; color: var(--text-muted); }
._queryEntryResponse_1f4xy_175 { font-size: 0.72rem; color: #16a34a; margin-top: 0.15rem; }
._queryEntryActions_1f4xy_176 { display: flex; gap: 0.25rem; margin-top: 0.25rem; }
._queryResolve_1f4xy_177 {
  padding: 0.15rem 0.4rem; border: none; border-radius: 3px;
  background: #16a34a; color: #fff; font-size: 0.65rem; cursor: pointer;
}
._queryReject_1f4xy_181 {
  padding: 0.15rem 0.4rem; border: none; border-radius: 3px;
  background: #dc2626; color: #fff; font-size: 0.65rem; cursor: pointer;
}

/* Discrepancy banner */
._discrepancyBanner_1f4xy_187 {
  padding: 0.5rem 0.75rem;
  background: rgba(245, 158, 11, 0.08);
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.75rem;
  color: #b45309;
}
._discrepancyList_1f4xy_194 {
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
._discrepancyRow_1f4xy_200 {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.72rem;
}
._discField_1f4xy_206 {
  font-weight: 600;
  min-width: 100px;
  color: #92400e;
}
._discStored_1f4xy_211 {
  color: #78716c;
  text-decoration: line-through;
}
._discScf_1f4xy_215 {
  color: #b45309;
  font-weight: 500;
}

/* Data tables */
._dataTable_1f4xy_221 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}
._dataTable_1f4xy_221 th {
  text-align: left;
  padding: 0.3rem 0.5rem;
  background: var(--surface-hover);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
._dataTable_1f4xy_221 td {
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
._dataTable_1f4xy_221 tr:hover td { background: var(--surface-hover); }

._sectionRow_1f4xy_244 td {
  padding: 0.35rem 0.5rem !important;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent, #3b82f6) !important;
  background: var(--surface) !important;
  border-bottom: 2px solid var(--accent, #3b82f6) !important;
}

._rowLabel_1f4xy_255 {
  font-weight: 500;
  color: var(--text-muted);
  width: 140px;
  white-space: nowrap;
}

._techCell_1f4xy_262 { font-weight: 600; color: var(--accent, #3b82f6); }
._mono_1f4xy_263 { font-family: 'SF Mono', 'Cascadia Code', monospace; font-size: 0.72rem; }

/* Table titles */
._tableTitle_1f4xy_266 {
  padding: 0.4rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent, #3b82f6);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

._subTableTitle_1f4xy_278 {
  padding: 0.3rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-hover);
  border-top: 1px solid var(--border);
}

/* Update SCF mini drop zone */
._updateDropZone_1f4xy_288 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 2px dashed var(--accent, #3b82f6);
  background: rgba(37, 99, 235, 0.04);
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
}
._updateDropZone_1f4xy_288:hover, ._updateDropActive_1f4xy_299 {
  background: rgba(37, 99, 235, 0.1);
}
._updateDropIcon_1f4xy_302 {
  font-size: 1.2rem;
  color: var(--accent, #3b82f6);
}
._updateDropText_1f4xy_306 {
  font-size: 0.78rem;
  color: var(--text);
}
._updateDropClose_1f4xy_310 {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}
._updateDropClose_1f4xy_310:hover {
  color: var(--text);
}

/* Active view button */
._viewBtnActive_1f4xy_327 {
  padding: 0.2rem 0.5rem; border: 1px solid #16a34a;
  border-radius: 4px; background: rgba(22,163,74,0.2); color: #4ade80;
  font-size: 0.68rem; cursor: pointer;
}

/* Request update button */
._requestBtn_1f4xy_334 {
  padding: 0.2rem 0.5rem; border: 1px solid #f59e0b;
  border-radius: 4px; background: transparent; color: #fbbf24;
  font-size: 0.68rem; cursor: pointer;
}
._requestBtn_1f4xy_334:hover { background: rgba(245,158,11,0.15); }

/* Request panel */
._requestPanel_1f4xy_342 {
  padding: 0.75rem; border-bottom: 2px solid var(--accent, #3b82f6);
  background: rgba(37, 99, 235, 0.04);
}
._requestTitle_1f4xy_346 {
  font-size: 0.85rem; font-weight: 700; color: var(--accent, #3b82f6); margin-bottom: 0.35rem;
}
._requestDesc_1f4xy_349 {
  font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; margin: 0 0 0.5rem;
}
._requestTextarea_1f4xy_352 {
  width: 100%; padding: 0.4rem 0.5rem; border: 1px solid var(--border);
  border-radius: 4px; background: var(--surface); color: var(--text);
  font-size: 0.78rem; font-family: inherit; resize: vertical;
}
._requestCheck_1f4xy_357 {
  display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem;
  color: var(--text); margin: 0.4rem 0; cursor: pointer;
}
._requestCheck_1f4xy_357 input { accent-color: var(--accent, #3b82f6); }
._requestActions_1f4xy_362 { display: flex; gap: 0.4rem; margin-top: 0.4rem; }
._requestSend_1f4xy_363 {
  padding: 0.3rem 0.7rem; border: none; border-radius: 4px;
  background: var(--accent, #3b82f6); color: #fff; font-size: 0.75rem; cursor: pointer;
}
._requestSend_1f4xy_363:disabled { opacity: 0.5; cursor: default; }

/* Email template preview */
._requestTemplate_1f4xy_370 {
  margin-top: 0.6rem; border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
}
._requestTemplateTitle_1f4xy_373 {
  padding: 0.25rem 0.5rem; background: var(--surface-hover);
  font-size: 0.68rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase;
}
._requestTemplateBody_1f4xy_377 {
  padding: 0.5rem; font-size: 0.72rem; color: var(--text); line-height: 1.5;
  background: var(--surface);
}

/* Edit mode button */
._editModeBtn_1f4xy_383 {
  padding: 0.2rem 0.5rem; border: 1px solid #f59e0b;
  border-radius: 4px; background: rgba(245,158,11,0.2); color: #fbbf24;
  font-size: 0.68rem; cursor: pointer;
}

/* Edit warning popup */
._editWarningBanner_1f4xy_390 {
  padding: 0.75rem; background: rgba(245, 158, 11, 0.06);
  border-bottom: 2px solid #f59e0b;
}
._editWarningTitle_1f4xy_394 {
  font-size: 0.85rem; font-weight: 700; color: #92400e; margin-bottom: 0.35rem;
}
._editWarningText_1f4xy_397 {
  font-size: 0.75rem; color: var(--text); line-height: 1.5; margin: 0.2rem 0;
}
._editWarningActions_1f4xy_400 {
  display: flex; gap: 0.4rem; margin-top: 0.5rem;
}
._editWarningAccept_1f4xy_403 {
  padding: 0.3rem 0.7rem; border: none; border-radius: 4px;
  background: #f59e0b; color: #fff; font-size: 0.75rem; font-weight: 500; cursor: pointer;
}

/* Edit mode banner */
._editModeBanner_1f4xy_409 {
  padding: 0.35rem 0.75rem; background: rgba(245,158,11,0.08);
  border-bottom: 1px solid rgba(245,158,11,0.3);
  font-size: 0.72rem; color: #b45309;
}

/* Inline editing */
._editPen_1f4xy_416 {
  border: none; background: transparent; color: var(--text-muted);
  font-size: 0.72rem; cursor: pointer; padding: 0 0.25rem; opacity: 0.4;
  transition: opacity 0.15s;
}
._editPen_1f4xy_416:hover { opacity: 1; color: var(--accent, #3b82f6); }
._editInline_1f4xy_422 {
  display: inline-flex; align-items: center; gap: 0.25rem;
}
._editInput_1f4xy_425 {
  padding: 0.15rem 0.35rem; border: 1px solid var(--accent, #3b82f6);
  border-radius: 3px; background: var(--bg); color: var(--text);
  font-size: 0.75rem; min-width: 120px; outline: none;
}
._editSave_1f4xy_430 {
  border: none; background: #16a34a; color: #fff; border-radius: 3px;
  padding: 0.1rem 0.35rem; font-size: 0.7rem; cursor: pointer;
}
._editCancel_1f4xy_434 {
  border: none; background: #dc2626; color: #fff; border-radius: 3px;
  padding: 0.1rem 0.35rem; font-size: 0.7rem; cursor: pointer;
}

/* Overridden values */
._overriddenValue_1f4xy_440 {
  color: #f59e0b;
}
._overrideStar_1f4xy_443 {
  color: #f59e0b; font-weight: 700; margin-right: 0.15rem;
}
._overrideInfo_1f4xy_446 {
  font-size: 0.62rem; color: var(--text-muted); font-style: italic; margin-left: 0.3rem;
}

/* Clear button */
._clearBtn_1f4xy_53 {
  display: block;
  width: 100%;
  padding: 0.4rem;
  border: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.72rem;
  cursor: pointer;
}
._clearBtn_1f4xy_53:hover { background: var(--surface-hover); color: #ef4444; }
._page_18b4h_1 {
  min-height: 100vh;
  padding: 2rem 1.5rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
  background: var(--bg);
  color: var(--text);
}

._header_18b4h_10 {
  margin-bottom: 1.25rem;
}

._headerRow_18b4h_14 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

._title_18b4h_22 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

._lead_18b4h_29 {
  margin: 0;
  max-width: 40rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-size: 0.95rem;
}

._toolbar_18b4h_37 {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

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

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

._field_18b4h_61 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

._fieldLabel_18b4h_68 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

._input_18b4h_76,
._select_18b4h_77 {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.875rem;
}

._tableWrap_18b4h_87 {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

._table_18b4h_87 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

._table_18b4h_87 thead {
  background: var(--surface-hover);
  border-bottom: 1px solid var(--border);
}

._table_18b4h_87 th {
  text-align: left;
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  white-space: nowrap;
  color: var(--text);
}

._thBtn_18b4h_113 {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

._thBtn_18b4h_113:hover {
  color: var(--accent, #2563eb);
}

._thAction_18b4h_129 {
  text-align: right;
  width: 4.5rem;
}

._table_18b4h_87 td {
  padding: 0.55rem 0.75rem;
  border-top: 1px solid var(--border);
  vertical-align: middle;
}

._table_18b4h_87 tbody tr:hover {
  background: var(--surface-hover);
}

._mono_18b4h_144 {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.82rem;
}

._emptyCell_18b4h_149 {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 1rem !important;
}

._openLink_18b4h_155 {
  font-weight: 600;
  color: var(--accent, #2563eb);
  text-decoration: none;
}

._openLink_18b4h_155:hover {
  text-decoration: underline;
}

._footerMeta_18b4h_165 {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

._primaryBtn_18b4h_171 {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  background: var(--accent, #2563eb);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

._primaryBtn_18b4h_171:hover {
  filter: brightness(1.05);
}

._secondaryBtn_18b4h_187 {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

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

._modalRoot_18b4h_202 {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

._modalBackdrop_18b4h_212 {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
}

._modal_18b4h_202 {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

._modalTitle_18b4h_236 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
}

._modalLead_18b4h_242 {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

._form_18b4h_249 {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

._formError_18b4h_255 {
  margin: 0;
  padding: 0.5rem 0.65rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #b91c1c;
  font-size: 0.82rem;
}

._modalActions_18b4h_265 {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding-top: 0.5rem;
}
._wrap_g40qa_1 {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

._trigger_g40qa_9 {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  text-align: left;
  border: none;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

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

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

._panel_g40qa_32 {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

._metricsList_g40qa_38 {
  list-style: none;
  margin: 0 0 0.75rem 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

._metricsList_g40qa_38 li {
  padding: 0.2rem 0;
}

._metricsList_g40qa_38 strong {
  color: var(--text);
  margin-left: 0.25rem;
}

._resizeBtn_g40qa_55 {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

._resizeBtn_g40qa_55:hover:not(:disabled) {
  filter: brightness(1.1);
}

._resizeBtn_g40qa_55:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
._wrapper_1ah07_1 {
  position: relative;
  display: inline-flex;
}

._trigger_1ah07_6 {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-hover);
  color: var(--accent, #3b82f6);
  font-size: 0.7rem;
  font-weight: 700;
  font-style: italic;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}

._trigger_1ah07_6:hover {
  background: var(--accent, #3b82f6);
  color: #fff;
}

._popover_1ah07_29 {
  position: absolute;
  top: 100%;
  left: -8px;
  z-index: 100;
  width: 420px;
  max-height: 480px;
  overflow-y: auto;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 0;
  margin-top: 4px;
}

._popoverHeader_1ah07_45 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface, #fff);
  z-index: 1;
}

._popoverTitle_1ah07_57 {
  font-weight: 600;
  font-size: 0.85rem;
}

._closeBtn_1ah07_62 {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0 4px;
}

._entry_1ah07_71 {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--border);
}

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

._codeLine_1ah07_80 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

._code_1ah07_80 {
  font-family: 'SF Mono', 'Cascadia Code', monospace;
  font-size: 0.78rem;
  padding: 0.1rem 0.4rem;
  background: var(--surface-hover);
  border-radius: 3px;
  color: var(--accent, #3b82f6);
}

._severity_1ah07_96 {
  font-size: 0.75rem;
  color: var(--text-muted);
}

._section_1ah07_101 {
  margin-bottom: 0.4rem;
}

._sectionTitle_1ah07_105 {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.2rem;
}

._sectionText_1ah07_114 {
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
  color: var(--text);
}

._issueList_1ah07_121 {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.8rem;
  line-height: 1.45;
}

._issueList_1ah07_121 li {
  margin-bottom: 0.15rem;
}

._meta_1ah07_132 {
  display: flex;
  gap: 1rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
/* ================================================================== */
/*  Annotation overlay                                                 */
/* ================================================================== */

._overlay_1lrtq_5 {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* ================================================================== */
/*  Visual toolbar                                                     */
/* ================================================================== */

._toolStrip_1lrtq_16 {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  background: linear-gradient(180deg, rgba(30,30,30,0.92), rgba(22,22,22,0.96));
  pointer-events: auto;
  z-index: 20;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: visible;
  position: relative;
}

/* Stamp: anchored dropdown from toolbar button */
._stampToolWrap_1lrtq_31 {
  position: relative;
  z-index: 50;
}

._stampSplitBtn_1lrtq_36 {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px 4px 6px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  background: rgba(40,40,44,0.95);
  color: #ccc;
  cursor: pointer;
  font-size: 0.62rem;
  min-height: 44px;
}

._stampSplitBtn_1lrtq_36:hover {
  background: rgba(255,255,255,0.08);
}

._stampSplitBtn_1lrtq_36._toolActive_1lrtq_54 {
  background: var(--accent, #3b82f6);
  color: #fff;
  border-color: var(--accent, #3b82f6);
}

._stampSplitLabel_1lrtq_60 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

._stampPreview_1lrtq_67 {
  font-size: 0.58rem;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._stampSplitBtn_1lrtq_36._toolActive_1lrtq_54 ._stampPreview_1lrtq_67 {
  color: #fff;
}

._stampCaret_1lrtq_83 {
  font-size: 0.5rem;
  opacity: 0.85;
  margin-left: 2px;
}

._stampDropdownPanel_1lrtq_89 {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px;
  min-width: 148px;
  max-height: 240px;
  overflow-y: auto;
  background: rgba(22,22,26,0.98);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.6);
  z-index: 200;
}

._toolGroup_1lrtq_108 {
  display: flex;
  align-items: center;
  gap: 2px;
}

._toolDivider_1lrtq_114 {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  margin: 0 4px;
  flex-shrink: 0;
}

._toolItem_1lrtq_122 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #aaa;
  font-size: 0.62rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  min-width: 36px;
}

._toolItem_1lrtq_122:hover {
  background: rgba(255,255,255,0.08);
  color: #eee;
}

._toolActive_1lrtq_54 {
  background: var(--accent, #3b82f6);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}

._toolActive_1lrtq_54:hover {
  background: var(--accent, #3b82f6);
  color: #fff;
}

._toolIcon_1lrtq_154 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

._toolIcon_1lrtq_154 svg {
  width: 16px;
  height: 16px;
}

._toolLabel_1lrtq_167 {
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ================================================================== */
/*  Colour picker                                                      */
/* ================================================================== */

._colorPickerWrap_1lrtq_177 {
  position: relative;
}

._colorBtn_1lrtq_181 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

._colorSwatch_1lrtq_192 {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 2px solid rgba(255,255,255,0.3);
}

._colorDropdown_1lrtq_199 {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 6px;
  background: rgba(30,30,30,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  z-index: 30;
}

._colorOption_1lrtq_215 {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.1s;
}

._colorOption_1lrtq_215:hover {
  transform: scale(1.15);
  border-color: rgba(255,255,255,0.4);
}

._colorSelected_1lrtq_229 {
  border-color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3);
}

/* ================================================================== */
/*  Stamp dropdown                                                     */
/* ================================================================== */

._stampDropdown_1lrtq_89 {
  position: absolute;
  top: 100%;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  background: rgba(30,30,30,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  z-index: 30;
}

._stampOption_1lrtq_253 {
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  background: transparent;
  color: #ccc;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: left;
}

._stampOption_1lrtq_253:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

._stampSelected_1lrtq_272 {
  background: var(--accent, #3b82f6);
  color: #fff;
  border-color: var(--accent, #3b82f6);
}

._stampActive_1lrtq_278 {
  font-size: 0.65rem;
  font-weight: 600;
  color: #eab308;
  padding: 2px 6px;
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 3px;
  white-space: nowrap;
}

/* ================================================================== */
/*  Annotation count badge                                             */
/* ================================================================== */

._annotCount_1lrtq_292 {
  margin-left: auto;
  font-size: 0.68rem;
  color: #777;
  white-space: nowrap;
}

/* ================================================================== */
/*  Canvas                                                             */
/* ================================================================== */

._canvas_1lrtq_303 {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
}

/* ================================================================== */
/*  Text input overlay                                                 */
/* ================================================================== */

._textInputBox_1lrtq_314 {
  position: absolute;
  z-index: 20;
  display: flex;
  gap: 4px;
  pointer-events: auto;
}

._textField_1lrtq_322 {
  padding: 4px 8px;
  border: 2px solid #e11d48;
  border-radius: 4px;
  font-size: 0.82rem;
  background: #fff;
  color: #111;
  min-width: 180px;
}

._textSubmit_1lrtq_332 {
  padding: 4px 10px;
  border: none;
  border-radius: 4px;
  background: #e11d48;
  color: #fff;
  font-size: 0.78rem;
  cursor: pointer;
}

/* ================================================================== */
/*  Hover tooltip                                                      */
/* ================================================================== */

._hoverTooltip_1lrtq_346 {
  position: absolute;
  pointer-events: none;
  z-index: 25;
  padding: 6px 10px;
  background: rgba(15,15,15,0.94);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  min-width: 140px;
  max-width: 220px;
}

._hoverRow_1lrtq_359 {
  font-size: 0.72rem;
  color: #bbb;
  line-height: 1.5;
}

._hoverRow_1lrtq_359 strong {
  color: #fff;
  text-transform: capitalize;
}

._hoverRow_1lrtq_359[data-status='open'] {
  color: #22c55e;
  font-weight: 600;
}

._hoverRow_1lrtq_359[data-status='closed'] {
  color: #888;
  font-weight: 600;
  text-decoration: line-through;
}

._hoverHint_1lrtq_381 {
  font-size: 0.62rem;
  color: #666;
  margin-top: 4px;
  font-style: italic;
}

/* Floating stamp status editor on PDF (when stamp selected) */
._stampFloatSelect_1lrtq_389 {
  position: absolute;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(15,15,20,0.95);
  border: 1px solid rgba(59,130,246,0.5);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  pointer-events: auto;
}

._stampFloatLabel_1lrtq_403 {
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

._stampFloatDropdown_1lrtq_411 {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border, #334155);
  background: var(--surface, #1e293b);
  color: var(--text, #f1f5f9);
  cursor: pointer;
  min-width: 120px;
}

/* Pin note editor (double-click pin) */
._pinNoteEditor_1lrtq_424 {
  position: absolute;
  z-index: 50;
  pointer-events: auto;
  min-width: 220px;
  max-width: 280px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

._pinNoteTitle_1lrtq_437 {
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

._pinNoteTextarea_1lrtq_444 {
  width: 100%;
  box-sizing: border-box;
  font-size: 0.82rem;
  padding: 6px 8px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  resize: vertical;
  font-family: inherit;
}

._pinNoteActions_1lrtq_455 {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

._pinNoteCancel_1lrtq_462 {
  padding: 4px 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #f9fafb;
  cursor: pointer;
  font-size: 0.78rem;
}

._pinNoteSave_1lrtq_471 {
  padding: 4px 12px;
  border: none;
  border-radius: 4px;
  background: #e11d48;
  color: #fff;
  cursor: pointer;
  font-size: 0.78rem;
}

._keepToolLabel_1lrtq_481 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  color: #aaa;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

._keepToolLabel_1lrtq_481 input {
  cursor: pointer;
}

._undoRedo_1lrtq_496 {
  display: flex;
  gap: 2px;
}

._undoRedoBtn_1lrtq_501 {
  padding: 4px 8px;
  font-size: 0.62rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(40, 40, 44, 0.95);
  color: #ccc;
  cursor: pointer;
  min-height: 32px;
}

._undoRedoBtn_1lrtq_501:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

._undoRedoBtn_1lrtq_501:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
._pane_9pvad_1 {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
}

._toolbar_9pvad_9 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: var(--surface-hover);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  flex-wrap: wrap;
}

._uploadBtn_9pvad_20,
._uploadBtnLg_9pvad_21 {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--accent, #3b82f6);
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.15s;
}

._uploadBtn_9pvad_20:hover,
._uploadBtnLg_9pvad_21:hover {
  background: var(--accent, #3b82f6);
  color: #fff;
}

._uploadBtnLg_9pvad_21 {
  font-size: 0.9rem;
  padding: 10px 20px;
}

._restoredBadge_9pvad_44 {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: #22c55e22;
  color: #16a34a;
  border: 1px solid #22c55e44;
  white-space: nowrap;
}

._drawingSelect_9pvad_55 {
  font-size: 0.78rem;
  padding: 3px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  max-width: 200px;
}

._typeTag_9pvad_65 {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

._typeTag_9pvad_65[data-type='ga'] { background: #dbeafe; color: #1d4ed8; }
._typeTag_9pvad_65[data-type='dd'] { background: #fef3c7; color: #92400e; }
._typeTag_9pvad_65[data-type='as_built'] { background: #d1fae5; color: #065f46; }
._typeTag_9pvad_65[data-type='unknown'] { background: var(--surface-hover); color: var(--text-muted); }

._spacer_9pvad_79 { flex: 1; }

._toolBtn_9pvad_81 {
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.82rem;
  cursor: pointer;
}
._toolBtn_9pvad_81:hover { background: var(--surface-hover); }
._toolBtn_9pvad_81:disabled { opacity: 0.4; cursor: default; }
._toolBtnActive_9pvad_92 {
  background: var(--accent, #3b82f6);
  color: #fff;
  border-color: var(--accent, #3b82f6);
}

._autosaveWrap_9pvad_98 {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

._autosaveLabel_9pvad_106 {
  white-space: nowrap;
}

._autosaveSelect_9pvad_110 {
  padding: 3px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.72rem;
  max-width: 88px;
  cursor: pointer;
}

._zoomLabel_9pvad_121 {
  font-size: 0.75rem;
  min-width: 36px;
  text-align: center;
  color: var(--text-muted);
}

._pageNav_9pvad_128 { display: flex; align-items: center; gap: 4px; }
._pageLabel_9pvad_129 { font-size: 0.78rem; color: var(--text-muted); min-width: 48px; text-align: center; }

/* ================================================================== */
/*  Main area (viewer + optional audit sidebar)                        */
/* ================================================================== */

._mainArea_9pvad_135 {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
}

._viewer_9pvad_142 {
  flex: 1;
  overflow: auto;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 12px;
  min-width: 0;
}

._emptyState_9pvad_154 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  color: #888;
  text-align: center;
}

._loadingMsg_9pvad_165, ._errorMsg_9pvad_165 { padding: 2rem; text-align: center; font-size: 0.9rem; }
._loadingMsg_9pvad_165 { color: #888; }
._errorMsg_9pvad_165 { color: #ef4444; }

._pageWrapper_9pvad_169 { display: flex; flex-direction: column; align-items: center; gap: 6px; }
._pageNumber_9pvad_170 {
  font-size: 0.72rem; color: #aaa; padding: 2px 10px;
  background: rgba(255,255,255,0.08); border-radius: 3px;
}
._scrollHint_9pvad_174 { font-size: 0.65rem; color: #666; margin-top: 6px; letter-spacing: 0.02em; }
._canvasContainer_9pvad_175 { position: relative; display: inline-block; line-height: 0; }
._pdfCanvas_9pvad_176 { display: block; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.4); }

/* ================================================================== */
/*  Audit sidebar                                                      */
/* ================================================================== */

._auditSidebar_9pvad_182 {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

._auditHeader_9pvad_192 {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-hover);
  flex-shrink: 0;
}

._auditTabs_9pvad_201 { display: flex; gap: 2px; flex: 1; }

._auditTab_9pvad_201 {
  padding: 4px 10px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 500;
}
._auditTab_9pvad_201:hover { background: var(--surface); }
._auditTabActive_9pvad_214 {
  background: var(--accent, #3b82f6);
  color: #fff;
}

._auditClose_9pvad_219 {
  padding: 2px 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
}
._auditClose_9pvad_219:hover { color: var(--text); }

._auditBody_9pvad_229 {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

._auditEmpty_9pvad_238 {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
  padding: 2rem 1rem;
}

/* ================================================================== */
/*  Annotation detail panel                                            */
/* ================================================================== */

._annotDetail_9pvad_249 {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

._annotDetailHeader_9pvad_260 {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

._annotDetailType_9pvad_267 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--text);
}

._annotDetailPage_9pvad_274 {
  font-size: 0.68rem;
  color: var(--text-muted);
  background: var(--surface);
  padding: 1px 5px;
  border-radius: 3px;
}

._annotDetailSwatch_9pvad_282 {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

._annotDetailStatus_9pvad_289 {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: auto;
}
._statusOpen_9pvad_296 { background: #d1fae5; color: #065f46; }
._statusClosed_9pvad_297 { background: #e5e7eb; color: #6b7280; text-decoration: line-through; }

._annotDetailMeta_9pvad_299 {
  display: flex;
  gap: 8px;
  font-size: 0.68rem;
  color: var(--text-muted);
}

._annotDetailText_9pvad_306 {
  font-size: 0.78rem;
  color: var(--text);
  padding: 4px 6px;
  background: var(--surface);
  border-radius: 3px;
}

._annotDetailActions_9pvad_314 {
  display: flex;
  gap: 4px;
}

._closeBtn_9pvad_319, ._reopenBtn_9pvad_319, ._deselectBtn_9pvad_319 {
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.72rem;
  cursor: pointer;
  font-weight: 500;
}
._closeBtn_9pvad_319 { background: #fef3c7; color: #92400e; border-color: #fbbf24; }
._closeBtn_9pvad_319:hover { background: #fde68a; }
._reopenBtn_9pvad_319 { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
._reopenBtn_9pvad_319:hover { background: #a7f3d0; }
._deselectBtn_9pvad_319 { background: var(--surface); color: var(--text-muted); }
._deselectBtn_9pvad_319:hover { background: var(--surface-hover); }

/* ================================================================== */
/*  Comment thread                                                     */
/* ================================================================== */

._commentThread_9pvad_338 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

._commentThreadTitle_9pvad_344 {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

._commentItem_9pvad_352 {
  padding: 4px 6px;
  background: var(--surface);
  border-radius: 3px;
}

._commentMeta_9pvad_358 {
  font-size: 0.65rem;
  color: var(--text-muted);
}

._commentText_9pvad_363 {
  font-size: 0.75rem;
  color: var(--text);
  margin-top: 2px;
}

._commentInput_9pvad_369 {
  display: flex;
  gap: 3px;
}

._commentField_9pvad_374 {
  flex: 1;
  padding: 4px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.75rem;
}

._commentSubmit_9pvad_384 {
  padding: 4px 8px;
  border: none;
  border-radius: var(--radius);
  background: var(--accent, #3b82f6);
  color: #fff;
  font-size: 0.72rem;
  cursor: pointer;
}

/* ================================================================== */
/*  Per-page annotation list                                           */
/* ================================================================== */

._auditPageGroup_9pvad_398 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

._auditPageLabel_9pvad_404 {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 4px 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

._auditAnnotItem_9pvad_413 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 0.75rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s;
}
._auditAnnotItem_9pvad_413:hover { background: var(--surface-hover); }
._auditAnnotSelected_9pvad_428 {
  background: var(--surface-hover);
  border-color: var(--accent, #3b82f6);
}
._auditAnnotClosed_9pvad_432 {
  opacity: 0.5;
}

._auditAnnotIcon_9pvad_436 {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 24px;
}

._auditAnnotInfo_9pvad_444 {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  font-size: 0.72rem;
  color: var(--text-muted);
}

._auditCommentBadge_9pvad_453 {
  font-size: 0.6rem;
  background: var(--accent, #3b82f6);
  color: #fff;
  padding: 0 4px;
  border-radius: 99px;
  font-weight: 600;
}

._auditAnnotStatus_9pvad_462 {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
}

/* ================================================================== */
/*  Audit log items                                                    */
/* ================================================================== */

._auditLogItem_9pvad_473 {
  padding: 5px 6px;
  border-bottom: 1px solid var(--border);
}

._auditLogAction_9pvad_478 {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: capitalize;
  padding: 1px 5px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 2px;
}
._auditLogAction_9pvad_478[data-action='created'] { background: #d1fae5; color: #065f46; }
._auditLogAction_9pvad_478[data-action='deleted'] { background: #fee2e2; color: #991b1b; }
._auditLogAction_9pvad_478[data-action='commented'] { background: #dbeafe; color: #1d4ed8; }
._auditLogAction_9pvad_478[data-action='closed'] { background: #e5e7eb; color: #374151; }
._auditLogAction_9pvad_478[data-action='reopened'] { background: #fef3c7; color: #92400e; }
._auditLogAction_9pvad_478[data-action='updated'] { background: #e0e7ff; color: #3730a3; }

._auditLogDetail_9pvad_494 {
  font-size: 0.72rem;
  color: var(--text);
  line-height: 1.4;
}

._auditLogMeta_9pvad_500 {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 2px;
}
._report_mukfv_1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

._header_mukfv_7 {
  margin-bottom: 0.25rem;
}

._title_mukfv_11 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

._subtitle_mukfv_17 {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

._stats_mukfv_23 {
  display: flex;
  gap: 1rem;
}

._stat_mukfv_23 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  min-width: 100px;
}

._statNum_mukfv_39 {
  font-size: 1.4rem;
  font-weight: 700;
}

._statLabel_mukfv_44 {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

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

._table_mukfv_56 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

._table_mukfv_56 th {
  text-align: left;
  padding: 0.45rem 0.5rem;
  background: var(--surface-hover);
  border-bottom: 2px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

._table_mukfv_56 td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

._rowFail_mukfv_77 {
  background: rgba(239, 68, 68, 0.06);
}

._rowComment_mukfv_81 {
  background: rgba(124, 58, 237, 0.04);
}

._cellSmall_mukfv_85 {
  font-size: 0.75rem;
  color: var(--text-muted);
}

._cellResult_mukfv_90 {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
}

._cellResult_mukfv_90[data-result='fail'] {
  color: #ef4444;
}

._cellResult_mukfv_90[data-result='comment'] {
  color: #7c3aed;
}

._actions_mukfv_104 {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

._copyBtn_mukfv_110 {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--accent, #3b82f6);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

._copyBtn_mukfv_110:hover {
  opacity: 0.9;
}
/* ================================================================== */
/*  Layout                                                             */
/* ================================================================== */

._layout_1dqq5_5 {
  position: relative;
  display: flex;
  min-height: 100vh;
}

._taskOnlyLayout_1dqq5_11 {
  min-height: 100vh;
  background: var(--surface);
}

._taskOnlyContent_1dqq5_16 {
  max-width: 980px;
  margin: 0.75rem auto;
  padding: 1rem 1.25rem 2rem;
  background: linear-gradient(
    180deg,
    var(--surface-elevated) 0%,
    color-mix(in srgb, var(--surface-elevated) 94%, var(--primary) 6%) 100%
  );
  border: 1px solid color-mix(in srgb, var(--border) 78%, var(--primary) 22%);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

._taskOnlyHeader_1dqq5_30 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

._projectContextCard_1dqq5_38 {
  margin-bottom: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--border) 74%, var(--primary) 26%);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-elevated) 82%, var(--primary) 18%) 0%,
    color-mix(in srgb, var(--surface-elevated) 93%, var(--primary) 7%) 100%
  );
  box-shadow: var(--shadow-md);
  padding: 0.72rem 0.8rem;
}

._projectContextRow_1dqq5_52 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

._projectContextItem_1dqq5_58 {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

._projectContextLabel_1dqq5_65 {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

._projectContextValue_1dqq5_73 {
  font-size: 0.82rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._projectContextAddress_1dqq5_81 {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px dashed color-mix(in srgb, var(--border) 76%, #2563eb 24%);
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

._taskOnlyActions_1dqq5_90 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

._completeTaskBtn_1dqq5_96 {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--success);
  border-radius: var(--radius);
  background: var(--success);
  color: var(--text-inverse);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

._completeTaskBtn_1dqq5_96:hover:not(:disabled) {
  filter: brightness(1.06);
}

._completeTaskBtn_1dqq5_96:disabled {
  opacity: 0.6;
  cursor: default;
}

._taskCompleteNotice_1dqq5_116 {
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--success) 38%, transparent);
  border-radius: var(--radius);
  background: var(--success-soft);
  color: var(--text);
  font-size: 0.8rem;
}

/* Collapsible sidebar */
._sidebar_1dqq5_127 {
  flex: 0 0 70px;
  width: 70px;
  min-height: 100vh;
  align-self: stretch;
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: width 0.25s ease, flex 0.25s ease;
  display: flex;
  flex-direction: column;
}
._sidebar_1dqq5_127._open_1dqq5_139 {
  flex: 0 0 280px;
  width: 280px;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.08);
  position: relative;
}

._sidebarContent_1dqq5_146 {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
  min-width: 0;
}

._sidebarHeaderRow_1dqq5_153 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
}

._sidebarTitle_1dqq5_161 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._processLabel_1dqq5_170 {
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  background: var(--surface-hover);
  border-radius: var(--radius);
  text-align: center;
  letter-spacing: 0.02em;
  margin: 0 0.5rem 0.25rem;
}

._sidebarToggleBtn_1dqq5_181 {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
._sidebarToggleBtn_1dqq5_181:hover {
  background: var(--surface-hover);
  color: var(--text);
}

._sidebarCollapsedHeader_1dqq5_201 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
._sidebarCollapsedLabel_1dqq5_209 {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  word-break: break-word;
}

._sidebarNav_1dqq5_220 {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0.25rem;
}

._sidebarItem_1dqq5_227 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  width: 100%;
  padding: 0.5rem 0.6rem;
  text-align: left;
  border: 1px solid transparent;
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

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

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

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

._subsectionBadge_1dqq5_262 {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  background: var(--border);
  color: var(--text-muted);
}

/* ================================================================== */
/*  Main content area                                                  */
/* ================================================================== */

._content_1dqq5_276 {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  height: 100vh;
}

._centerScroll_1dqq5_283 {
  padding: 1rem 1.25rem;
  overflow-y: auto;
  height: 100%;
}

._contentHeader_1dqq5_289 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

._contentTitle_1dqq5_298 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
}

._headerActions_1dqq5_304 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-wrap: wrap;
  min-width: 0;
  flex-shrink: 0;
}

._saveBadgeWrap_1dqq5_314 {
  display: inline-flex;
  flex-shrink: 0;
}

._stepCounter_1dqq5_319 {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.35rem 0.75rem;
}

._drawingTag_1dqq5_330 {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  white-space: nowrap;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}

._togglePaneBtn_1dqq5_342 {
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.75rem;
  cursor: pointer;
}

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

._placeholder_1dqq5_356 {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

._hubGrid_1dqq5_362 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0.75rem;
}

._hubCard_1dqq5_368 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
}

._hubTitle_1dqq5_375 {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  font-weight: 650;
}

._hubMeta_1dqq5_381 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

._hubSearchInput_1dqq5_389 {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 0.55rem;
  background: var(--surface);
  color: var(--text);
}

._hubSearchMeta_1dqq5_398 {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

._hubSearchErr_1dqq5_404 {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #dc2626;
}

._hubResultsWrap_1dqq5_410 {
  margin-top: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

._hubResultBtn_1dqq5_417 {
  border: 1px solid var(--border);
  background: var(--surface-hover);
  color: var(--text);
  border-radius: var(--radius);
  text-align: left;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

._hubResultBtn_1dqq5_417:hover {
  border-color: var(--accent, #2563eb);
}

._sidebarHomeRow_1dqq5_434 {
  padding: 0 0.5rem 0.35rem;
}

._sidebarHomeLink_1dqq5_438 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent, #2563eb);
  text-decoration: none;
}

._sidebarHomeLink_1dqq5_438:hover {
  text-decoration: underline;
}

._sidebarCreatePanel_1dqq5_449 {
  margin: 0.35rem 0.5rem 0.45rem;
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-hover);
}

._sidebarCreateTitle_1dqq5_457 {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
}

._sidebarCreateLead_1dqq5_463 {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.35;
}

._sidebarSearchBlock_1dqq5_470 {
  margin-top: 0.45rem;
}

._sidebarSearchLabel_1dqq5_474 {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

._sidebarSearchInput_1dqq5_481 {
  width: 100%;
  padding: 0.35rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.78rem;
}

._sidebarSearchMeta_1dqq5_491 {
  margin: 0.28rem 0 0;
  font-size: 0.68rem;
  color: var(--text-muted);
}

._sidebarSearchErr_1dqq5_497 {
  margin: 0.28rem 0 0;
  font-size: 0.68rem;
  color: #b91c1c;
}

._sidebarResultList_1dqq5_503 {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

._sidebarResultBtn_1dqq5_512 {
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 6px;
  padding: 0.28rem 0.4rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  font-size: 0.72rem;
}

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

._sidebarResultStatic_1dqq5_531 {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.28rem 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  background: var(--surface);
  font-size: 0.72rem;
}

._demoBtn_1dqq5_543 {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--accent, #3b82f6);
  border-radius: var(--radius);
  background: var(--accent, #3b82f6);
  color: #fff;
  font-size: 0.78rem;
  cursor: pointer;
  white-space: nowrap;
}

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

/* ================================================================== */
/*  Analyzing banner                                                   */
/* ================================================================== */

._analyzingBanner_1dqq5_563 {
  padding: 0.5rem 0.75rem;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: var(--radius);
  color: #4338ca;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

/* ================================================================== */
/*  Section content shared                                             */
/* ================================================================== */

._sectionContent_1dqq5_577 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._sectionDesc_1dqq5_583 {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* ================================================================== */
/*  Form grid (Summary, Sign Off)                                      */
/* ================================================================== */

._formGrid_1dqq5_594 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.6rem;
}

._formField_1dqq5_600 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

._fieldLabel_1dqq5_606 {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

._input_1dqq5_612 {
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
}

._input_1dqq5_612:focus {
  outline: 2px solid var(--accent, #3b82f6);
  outline-offset: -1px;
}

._textarea_1dqq5_626 {
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  resize: vertical;
  font-family: inherit;
}

._textarea_1dqq5_626:focus {
  outline: 2px solid var(--accent, #3b82f6);
  outline-offset: -1px;
}

/* ================================================================== */
/*  Parsed info & conflict resolution                                  */
/* ================================================================== */

._parsedBanner_1dqq5_646 {
  padding: 0.45rem 0.7rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  color: #065f46;
  font-size: 0.8rem;
}

._fieldConflict_1dqq5_655 {
  position: relative;
}

._fieldAutofilled_1dqq5_659 ._fieldLabel_1dqq5_606 {
  color: #059669;
}

._autofillBadge_1dqq5_663 {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.08rem 0.35rem;
  border-radius: 3px;
  background: #d1fae5;
  color: #059669;
  margin-left: 0.4rem;
  vertical-align: middle;
}

._inputConflict_1dqq5_676 {
  border-color: #f59e0b !important;
  background: #fffbeb !important;
}

._conflictBox_1dqq5_681 {
  margin-top: 0.3rem;
  padding: 0.45rem 0.55rem;
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-radius: var(--radius);
  font-size: 0.78rem;
}

._conflictHeader_1dqq5_690 {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: #b45309;
  margin-bottom: 0.3rem;
}

._conflictIcon_1dqq5_699 {
  font-size: 0.95rem;
}

._conflictValues_1dqq5_703 {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.35rem;
}

._conflictRow_1dqq5_710 {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

._conflictLabel_1dqq5_716 {
  font-size: 0.72rem;
  font-weight: 500;
  color: #78716c;
  min-width: 52px;
}

._conflictCurrent_1dqq5_723 {
  color: var(--text);
  text-decoration: line-through;
  opacity: 0.7;
}

._conflictParsed_1dqq5_729 {
  color: #059669;
  font-weight: 500;
}

._conflictActions_1dqq5_734 {
  display: flex;
  gap: 0.4rem;
}

._conflictAccept_1dqq5_739 {
  padding: 0.2rem 0.5rem;
  border: 1px solid #059669;
  border-radius: var(--radius);
  background: #059669;
  color: #fff;
  font-size: 0.72rem;
  cursor: pointer;
  font-weight: 500;
}

._conflictAccept_1dqq5_739:hover {
  background: #047857;
}

._conflictDismiss_1dqq5_754 {
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.72rem;
  cursor: pointer;
}

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

/* ================================================================== */
/*  Check / dependency tables                                          */
/* ================================================================== */

._checkTable_1dqq5_772 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

._checkTable_1dqq5_772 th {
  text-align: left;
  padding: 0.4rem 0.5rem;
  background: var(--surface-hover);
  border-bottom: 2px solid var(--border);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-muted);
  position: sticky;
  top: 0;
  z-index: 1;
}

._checkTable_1dqq5_772 td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

._checkTable_1dqq5_772 tbody tr:hover {
  background: var(--surface-hover);
}

._thWide_1dqq5_801 {
  min-width: 200px;
}

._cellMono_1dqq5_805 {
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
}

._cellSmall_1dqq5_811 {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 100px;
}

._selectSmall_1dqq5_817 {
  padding: 0.25rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.78rem;
  width: 100%;
  min-width: 90px;
}

._inputSmall_1dqq5_828 {
  padding: 0.25rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.78rem;
  width: 100%;
  min-width: 100px;
}

._rowFail_1dqq5_839 {
  background: rgba(239, 68, 68, 0.06);
}

._rowComment_1dqq5_843 {
  background: rgba(124, 58, 237, 0.04);
}

/* Status-coloured selects */
._status_pass_1dqq5_848 { color: #16a34a; }
._status_fail_1dqq5_849 { color: #ef4444; font-weight: 600; }
._status_comment_1dqq5_850 { color: #7c3aed; }
._status_na_1dqq5_851 { color: #94a3b8; }
._status_not_checked_1dqq5_852 { color: var(--text-muted); }

/* ================================================================== */
/*  Check item label / description rows                                */
/* ================================================================== */

._itemLabelRow_1dqq5_858 {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

._itemDesc_1dqq5_864 {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

._systemComment_1dqq5_870 {
  font-size: 0.72rem;
  color: #7c3aed;
  padding: 0.15rem 0.35rem;
  background: rgba(124, 58, 237, 0.06);
  border-radius: 3px;
  margin-top: 0.2rem;
  display: inline-block;
}

/* ================================================================== */
/*  QA checklist groups                                                */
/* ================================================================== */

._qaSummaryBar_1dqq5_884 {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0.6rem;
  background: var(--surface-hover);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  flex-wrap: wrap;
}

._qaCount_1dqq5_895[data-type='pass'] { color: #16a34a; }
._qaCount_1dqq5_895[data-type='fail'] { color: #ef4444; }
._qaCount_1dqq5_895[data-type='comment'] { color: #7c3aed; }
._qaCount_1dqq5_895[data-type='na'] { color: #94a3b8; }
._qaCount_1dqq5_895[data-type='not_checked'] { color: var(--text-muted); }

._qaAreaGroup_1dqq5_901 {
  margin-top: 0.35rem;
}

._qaAreaTitle_1dqq5_905 {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--border);
}

._qaAreaDesc_1dqq5_913 {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 0.3rem;
}

/* ================================================================== */
/*  Scope of works grid                                                */
/* ================================================================== */

._scopeGrid_1dqq5_923 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.6rem;
}

/* ================================================================== */
/*  Process flow (GA/DD process steps)                                 */
/* ================================================================== */

._processFlow_1dqq5_933 {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
}

._processStep_1dqq5_940 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0.6rem;
  border-left: 2px solid var(--border);
  margin-left: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.4;
  position: relative;
}

._processStep_1dqq5_940:last-child {
  border-left-color: transparent;
}

._processStepNum_1dqq5_956 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent, #3b82f6);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
  position: relative;
  left: -1.55rem;
  margin-right: -0.8rem;
}

/* ================================================================== */
/*  Sign off                                                           */
/* ================================================================== */

._signOffGrid_1dqq5_977 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

._signOffBlock_1dqq5_983 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

._signOffLabel_1dqq5_993 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

/* ================================================================== */
/*  Journey left-border coding                                         */
/* ================================================================== */

._journeyOnSite_1dqq5_1003 ._sidebarItem_1dqq5_227 {
  border-left-color: #16a34a;
}

._journeyDesktop_1dqq5_1007 ._sidebarItem_1dqq5_227 {
  border-left-color: #2563eb;
}

._journeyBackOffice_1dqq5_1011 ._sidebarItem_1dqq5_227 {
  border-left-color: #7c3aed;
}

._journeyDimmed_1dqq5_1015 {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* ================================================================== */
/*  Dependency table enhancements                                      */
/* ================================================================== */

._depStatusBadge_1dqq5_1025 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  border: 1px solid;
  white-space: nowrap;
}

._naRow_1dqq5_1035 {
  opacity: 0.4;
  text-decoration: line-through;
}

._naRow_1dqq5_1035:hover {
  opacity: 0.6;
}

._selectedRow_1dqq5_1044 {
  background: rgba(99, 102, 241, 0.06) !important;
}

/* ── Bulk action row ──────────────────────────────────────────────── */
._bulkActionRow_1dqq5_1049 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 8px;
}

._bulkCount_1dqq5_1060 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6366f1;
  flex: 1;
}

._bulkAssignBtn_1dqq5_1067 {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: #6366f1;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

._bulkAssignBtn_1dqq5_1067:hover {
  background: #4f46e5;
}

._bulkClearBtn_1dqq5_1082 {
  padding: 0.4rem 0.75rem;
  font-size: 0.825rem;
  font-weight: 500;
  color: #6366f1;
  background: transparent;
  border: 1px solid #6366f1;
  border-radius: 6px;
  cursor: pointer;
}

._bulkClearBtn_1dqq5_1082:hover {
  background: rgba(99,102,241,0.08);
}

/* ================================================================== */
/*  Overall progress bar                                               */
/* ================================================================== */

._progressBarWrap_1dqq5_1101 {
  margin-bottom: 1rem;
}
._progressBarLabel_1dqq5_1104 {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
._progressBarTrack_1dqq5_1111 {
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
}
._progressBarFill_1dqq5_1117 {
  height: 100%;
  background: var(--accent);
  border-radius: 5px;
  transition: width 0.2s ease;
}

/* ================================================================== */
/*  Responsive                                                         */
/* ================================================================== */

@media (max-width: 768px) {
  ._layout_1dqq5_5 {
    flex-direction: column;
  }

  ._sidebar_1dqq5_127, ._sidebar_1dqq5_127._open_1dqq5_139 {
    flex: none;
    width: 100% !important;
    min-height: auto;
    max-height: 50vh;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  ._signOffGrid_1dqq5_977 {
    grid-template-columns: 1fr;
  }

  ._formGrid_1dqq5_594 {
    grid-template-columns: 1fr;
  }

  ._contentHeader_1dqq5_289 {
    align-items: flex-start;
  }

  ._headerActions_1dqq5_304 {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
}
._root_1bl47_1 {
  height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

._root_1bl47_1 > * {
  flex: 1;
  min-height: 0;
  height: 100%;
}

._centered_1bl47_15 {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--surface, #0f172a);
  color: var(--text, #e2e8f0);
}

._loading_1bl47_26 {
  font-size: 0.95rem;
  opacity: 0.85;
}

._error_1bl47_31 {
  font-size: 0.95rem;
  max-width: 420px;
  text-align: center;
  line-height: 1.5;
}
._page_1h5ky_1 {
  min-height: 100vh;
  padding: 2rem 1.5rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
  background: var(--bg);
  color: var(--text);
}

._header_1h5ky_10 {
  margin-bottom: 1.25rem;
}

._headerRow_1h5ky_14 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

._title_1h5ky_22 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

._lead_1h5ky_29 {
  margin: 0;
  max-width: 40rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-size: 0.95rem;
}

._toolbar_1h5ky_37 {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

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

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

._field_1h5ky_61 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

._fieldLabel_1h5ky_68 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

._input_1h5ky_76,
._select_1h5ky_77,
._textarea_1h5ky_78 {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.875rem;
}

._textarea_1h5ky_78 {
  resize: vertical;
  min-height: 2.5rem;
  font-family: inherit;
}

._tableWrap_1h5ky_94 {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

._table_1h5ky_94 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

._table_1h5ky_94 thead {
  background: var(--surface-hover);
  border-bottom: 1px solid var(--border);
}

._table_1h5ky_94 th {
  text-align: left;
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  white-space: nowrap;
  color: var(--text);
}

._thBtn_1h5ky_120 {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

._thBtn_1h5ky_120:hover {
  color: var(--accent, #2563eb);
}

._thAction_1h5ky_136 {
  text-align: right;
  width: 4.5rem;
}

._table_1h5ky_94 td {
  padding: 0.55rem 0.75rem;
  border-top: 1px solid var(--border);
  vertical-align: middle;
}

._table_1h5ky_94 tbody tr:hover {
  background: var(--surface-hover);
}

._mono_1h5ky_151 {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.82rem;
}

._emptyCell_1h5ky_156 {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 1rem !important;
}

._badgeDemo_1h5ky_162,
._badgeUser_1h5ky_163 {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

._badgeDemo_1h5ky_162 {
  background: #e0e7ff;
  color: #3730a3;
}

._badgeUser_1h5ky_163 {
  background: #ecfdf5;
  color: #047857;
}

._openLink_1h5ky_183 {
  font-weight: 600;
  color: var(--accent, #2563eb);
  text-decoration: none;
}

._openLink_1h5ky_183:hover {
  text-decoration: underline;
}

._footerMeta_1h5ky_193 {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

._primaryBtn_1h5ky_199 {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  background: var(--accent, #2563eb);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

._primaryBtn_1h5ky_199:hover {
  filter: brightness(1.05);
}

._secondaryBtn_1h5ky_215 {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

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

/* Modal */
._modalRoot_1h5ky_231 {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

._modalBackdrop_1h5ky_241 {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
}

._modal_1h5ky_231 {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

._modalTitle_1h5ky_265 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
}

._modalLead_1h5ky_271 {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

._form_1h5ky_278 {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

._formField_1h5ky_284 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

._formRow_1h5ky_290 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

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

._hint_1h5ky_302 {
  font-size: 0.75rem;
  color: var(--text-muted);
}

._formError_1h5ky_307 {
  margin: 0;
  padding: 0.5rem 0.65rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #b91c1c;
  font-size: 0.82rem;
}

._modalActions_1h5ky_317 {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding-top: 0.5rem;
}
._shell_1cizm_1 {
  display: flex;
  min-height: 100vh;
}

._sidebar_1cizm_6 {
  flex: 0 0 70px;
  width: 70px;
  min-height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.25s ease, flex 0.25s ease;
}
._sidebar_1cizm_6._collapsed_1cizm_17 {
  flex: 0 0 70px;
  width: 70px;
}
._sidebar_1cizm_6:not(._collapsed_1cizm_17) {
  flex: 0 0 280px;
  width: 280px;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.08);
  position: relative;
}

._sidebarHeader_1cizm_28 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
  gap: 0.5rem;
}

._sidebarTitle_1cizm_36 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._collapseBtn_1cizm_45 {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
._collapseBtn_1cizm_45:hover {
  background: var(--surface-hover);
  color: var(--text);
}

._processLabel_1cizm_65 {
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  background: var(--surface-hover);
  border-radius: var(--radius);
  text-align: center;
  letter-spacing: 0.02em;
  margin: 0 0.5rem 0.25rem;
}

._sidebarScroll_1cizm_76 {
  flex: 1;
  overflow-y: auto;
  padding: 0.25rem 0;
}

._stageGroup_1cizm_82 {
  margin-bottom: 0.35rem;
}

._stageHeaderWithToggle_1cizm_86 {
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
}

._substepExpandBtn_1cizm_92 {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.5rem;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

._substepExpandBtn_1cizm_92:hover {
  background: var(--surface-hover);
  color: var(--text);
}

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

._stageItem_1cizm_116 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.6rem;
  border: 1px solid transparent;
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
}
._stageItem_1cizm_116:hover {
  background: var(--surface-hover);
  border-color: var(--border);
  text-decoration: none;
}
._stageItemActive_1cizm_144 {
  background: rgba(37, 99, 235, 0.06);
  border-color: var(--border);
  border-left-color: var(--primary);
  font-weight: 600;
}
._stageItemActive_1cizm_144:hover {
  background: rgba(37, 99, 235, 0.1);
}

._stageNumber_1cizm_154 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--border);
  color: var(--text);
  flex-shrink: 0;
}
._stageNumberActive_1cizm_168 {
  background: var(--border);
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border) 65%);
}
._stageNumberComplete_1cizm_173 {
  background: var(--success);
  color: #fff;
}

._stageLabel_1cizm_178 {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.3;
}

._ragDot_1cizm_187 {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
._ragRed_1cizm_194    { background: var(--rag-red); }
._ragAmber_1cizm_195  { background: var(--rag-amber); }
._ragGreen_1cizm_196  { background: var(--rag-green); }
._ragNotSet_1cizm_197 { background: var(--rag-grey); }

/* Collapsed sidebar: show only stage numbers */
._collapsed_1cizm_17 ._stageLabel_1cizm_178,
._collapsed_1cizm_17 ._sidebarTitle_1cizm_36,
._collapsed_1cizm_17 ._processLabel_1cizm_65 {
  display: none;
}
._collapsed_1cizm_17 ._stageItem_1cizm_116 {
  justify-content: center;
  margin: 0 0.4rem;
  padding: 0.65rem 0.4rem;
}
._collapsed_1cizm_17 ._sidebarHeader_1cizm_28 {
  justify-content: center;
  padding: 0.5rem 0.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
._collapsed_1cizm_17 ._substepList_1cizm_215 {
  display: none;
}

._content_1cizm_219 {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  height: 100vh;
}

._contentInner_1cizm_226 {
  padding: 1.25rem 1.5rem;
  max-width: 100%;
  margin: 0;
}

._substepList_1cizm_215 {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  margin: 0.18rem 0.35rem 0.5rem 0.35rem;
  padding: 0.2rem 0 0.1rem 0;
  border-left: 1px solid color-mix(in srgb, var(--border) 65%, var(--accent) 35%);
}

._substepItemWrap_1cizm_241 {
  margin-left: 1.1rem;
}

@media (max-width: 768px) {
  ._sidebar_1cizm_6 {
    flex: 0 0 70px;
    width: 70px;
  }
  ._stageLabel_1cizm_178 { display: none; }
  ._stageItem_1cizm_116 {
    justify-content: center;
    margin: 0 0.4rem;
    padding: 0.65rem 0.4rem;
  }
  ._substepList_1cizm_215 {
    display: none;
  }
}
._wrap_gqb9a_1 {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

._trigger_gqb9a_9 {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  text-align: left;
  border: none;
  background: var(--surface);
  color: var(--text);
  font-size: 0.92rem;
  cursor: pointer;
}

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

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

._panel_gqb9a_32 {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

._metricsList_gqb9a_38 {
  list-style: none;
  margin: 0 0 0.75rem 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

._metricsList_gqb9a_38 li {
  padding: 0.2rem 0;
}

._metricsList_gqb9a_38 strong {
  color: var(--text);
  margin-left: 0.25rem;
}

._resizeBtn_gqb9a_55 {
  padding: 0.65rem 0.95rem;
  font-size: 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

._resizeBtn_gqb9a_55:hover:not(:disabled) {
  filter: brightness(1.1);
}

._resizeBtn_gqb9a_55:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
._container_1yrty_1 {
  display: grid;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

._leftPane_1yrty_8 {
  overflow-y: auto;
  min-width: 0;
  min-height: 0;
}

._handle_1yrty_14 {
  cursor: col-resize;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

._handle_1yrty_14:hover {
  background: var(--accent, #3b82f6);
}

._handleBar_1yrty_27 {
  width: 2px;
  height: 32px;
  background: var(--text-muted);
  border-radius: 1px;
  opacity: 0.5;
}

._handle_1yrty_14:hover ._handleBar_1yrty_27 {
  background: #fff;
  opacity: 1;
}

._rightPane_1yrty_40 {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
/* ================================================================== */
/*  Annotation overlay                                                 */
/* ================================================================== */

._overlay_1lrtq_5 {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* ================================================================== */
/*  Visual toolbar                                                     */
/* ================================================================== */

._toolStrip_1lrtq_16 {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  background: linear-gradient(180deg, rgba(30,30,30,0.92), rgba(22,22,22,0.96));
  pointer-events: auto;
  z-index: 20;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: visible;
  position: relative;
}

/* Stamp: anchored dropdown from toolbar button */
._stampToolWrap_1lrtq_31 {
  position: relative;
  z-index: 50;
}

._stampSplitBtn_1lrtq_36 {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px 4px 6px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  background: rgba(40,40,44,0.95);
  color: #ccc;
  cursor: pointer;
  font-size: 0.62rem;
  min-height: 44px;
}

._stampSplitBtn_1lrtq_36:hover {
  background: rgba(255,255,255,0.08);
}

._stampSplitBtn_1lrtq_36._toolActive_1lrtq_54 {
  background: var(--accent, #3b82f6);
  color: #fff;
  border-color: var(--accent, #3b82f6);
}

._stampSplitLabel_1lrtq_60 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

._stampPreview_1lrtq_67 {
  font-size: 0.58rem;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._stampSplitBtn_1lrtq_36._toolActive_1lrtq_54 ._stampPreview_1lrtq_67 {
  color: #fff;
}

._stampCaret_1lrtq_83 {
  font-size: 0.5rem;
  opacity: 0.85;
  margin-left: 2px;
}

._stampDropdownPanel_1lrtq_89 {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px;
  min-width: 148px;
  max-height: 240px;
  overflow-y: auto;
  background: rgba(22,22,26,0.98);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.6);
  z-index: 200;
}

._toolGroup_1lrtq_108 {
  display: flex;
  align-items: center;
  gap: 2px;
}

._toolDivider_1lrtq_114 {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  margin: 0 4px;
  flex-shrink: 0;
}

._toolItem_1lrtq_122 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #aaa;
  font-size: 0.62rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  min-width: 36px;
}

._toolItem_1lrtq_122:hover {
  background: rgba(255,255,255,0.08);
  color: #eee;
}

._toolActive_1lrtq_54 {
  background: var(--accent, #3b82f6);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}

._toolActive_1lrtq_54:hover {
  background: var(--accent, #3b82f6);
  color: #fff;
}

._toolIcon_1lrtq_154 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

._toolIcon_1lrtq_154 svg {
  width: 16px;
  height: 16px;
}

._toolLabel_1lrtq_167 {
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ================================================================== */
/*  Colour picker                                                      */
/* ================================================================== */

._colorPickerWrap_1lrtq_177 {
  position: relative;
}

._colorBtn_1lrtq_181 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

._colorSwatch_1lrtq_192 {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 2px solid rgba(255,255,255,0.3);
}

._colorDropdown_1lrtq_199 {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 6px;
  background: rgba(30,30,30,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  z-index: 30;
}

._colorOption_1lrtq_215 {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.1s;
}

._colorOption_1lrtq_215:hover {
  transform: scale(1.15);
  border-color: rgba(255,255,255,0.4);
}

._colorSelected_1lrtq_229 {
  border-color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3);
}

/* ================================================================== */
/*  Stamp dropdown                                                     */
/* ================================================================== */

._stampDropdown_1lrtq_89 {
  position: absolute;
  top: 100%;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  background: rgba(30,30,30,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  z-index: 30;
}

._stampOption_1lrtq_253 {
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  background: transparent;
  color: #ccc;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: left;
}

._stampOption_1lrtq_253:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

._stampSelected_1lrtq_272 {
  background: var(--accent, #3b82f6);
  color: #fff;
  border-color: var(--accent, #3b82f6);
}

._stampActive_1lrtq_278 {
  font-size: 0.65rem;
  font-weight: 600;
  color: #eab308;
  padding: 2px 6px;
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 3px;
  white-space: nowrap;
}

/* ================================================================== */
/*  Annotation count badge                                             */
/* ================================================================== */

._annotCount_1lrtq_292 {
  margin-left: auto;
  font-size: 0.68rem;
  color: #777;
  white-space: nowrap;
}

/* ================================================================== */
/*  Canvas                                                             */
/* ================================================================== */

._canvas_1lrtq_303 {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
}

/* ================================================================== */
/*  Text input overlay                                                 */
/* ================================================================== */

._textInputBox_1lrtq_314 {
  position: absolute;
  z-index: 20;
  display: flex;
  gap: 4px;
  pointer-events: auto;
}

._textField_1lrtq_322 {
  padding: 4px 8px;
  border: 2px solid #e11d48;
  border-radius: 4px;
  font-size: 0.82rem;
  background: #fff;
  color: #111;
  min-width: 180px;
}

._textSubmit_1lrtq_332 {
  padding: 4px 10px;
  border: none;
  border-radius: 4px;
  background: #e11d48;
  color: #fff;
  font-size: 0.78rem;
  cursor: pointer;
}

/* ================================================================== */
/*  Hover tooltip                                                      */
/* ================================================================== */

._hoverTooltip_1lrtq_346 {
  position: absolute;
  pointer-events: none;
  z-index: 25;
  padding: 6px 10px;
  background: rgba(15,15,15,0.94);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  min-width: 140px;
  max-width: 220px;
}

._hoverRow_1lrtq_359 {
  font-size: 0.72rem;
  color: #bbb;
  line-height: 1.5;
}

._hoverRow_1lrtq_359 strong {
  color: #fff;
  text-transform: capitalize;
}

._hoverRow_1lrtq_359[data-status='open'] {
  color: #22c55e;
  font-weight: 600;
}

._hoverRow_1lrtq_359[data-status='closed'] {
  color: #888;
  font-weight: 600;
  text-decoration: line-through;
}

._hoverHint_1lrtq_381 {
  font-size: 0.62rem;
  color: #666;
  margin-top: 4px;
  font-style: italic;
}

/* Floating stamp status editor on PDF (when stamp selected) */
._stampFloatSelect_1lrtq_389 {
  position: absolute;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(15,15,20,0.95);
  border: 1px solid rgba(59,130,246,0.5);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  pointer-events: auto;
}

._stampFloatLabel_1lrtq_403 {
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

._stampFloatDropdown_1lrtq_411 {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border, #334155);
  background: var(--surface, #1e293b);
  color: var(--text, #f1f5f9);
  cursor: pointer;
  min-width: 120px;
}

/* Pin note editor (double-click pin) */
._pinNoteEditor_1lrtq_424 {
  position: absolute;
  z-index: 50;
  pointer-events: auto;
  min-width: 220px;
  max-width: 280px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

._pinNoteTitle_1lrtq_437 {
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

._pinNoteTextarea_1lrtq_444 {
  width: 100%;
  box-sizing: border-box;
  font-size: 0.82rem;
  padding: 6px 8px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  resize: vertical;
  font-family: inherit;
}

._pinNoteActions_1lrtq_455 {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

._pinNoteCancel_1lrtq_462 {
  padding: 4px 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #f9fafb;
  cursor: pointer;
  font-size: 0.78rem;
}

._pinNoteSave_1lrtq_471 {
  padding: 4px 12px;
  border: none;
  border-radius: 4px;
  background: #e11d48;
  color: #fff;
  cursor: pointer;
  font-size: 0.78rem;
}

._keepToolLabel_1lrtq_481 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  color: #aaa;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

._keepToolLabel_1lrtq_481 input {
  cursor: pointer;
}

._undoRedo_1lrtq_496 {
  display: flex;
  gap: 2px;
}

._undoRedoBtn_1lrtq_501 {
  padding: 4px 8px;
  font-size: 0.62rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(40, 40, 44, 0.95);
  color: #ccc;
  cursor: pointer;
  min-height: 32px;
}

._undoRedoBtn_1lrtq_501:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

._undoRedoBtn_1lrtq_501:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
._pane_9pvad_1 {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
}

._toolbar_9pvad_9 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: var(--surface-hover);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  flex-wrap: wrap;
}

._uploadBtn_9pvad_20,
._uploadBtnLg_9pvad_21 {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--accent, #3b82f6);
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.15s;
}

._uploadBtn_9pvad_20:hover,
._uploadBtnLg_9pvad_21:hover {
  background: var(--accent, #3b82f6);
  color: #fff;
}

._uploadBtnLg_9pvad_21 {
  font-size: 0.9rem;
  padding: 10px 20px;
}

._restoredBadge_9pvad_44 {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: #22c55e22;
  color: #16a34a;
  border: 1px solid #22c55e44;
  white-space: nowrap;
}

._drawingSelect_9pvad_55 {
  font-size: 0.78rem;
  padding: 3px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  max-width: 200px;
}

._typeTag_9pvad_65 {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

._typeTag_9pvad_65[data-type='ga'] { background: #dbeafe; color: #1d4ed8; }
._typeTag_9pvad_65[data-type='dd'] { background: #fef3c7; color: #92400e; }
._typeTag_9pvad_65[data-type='as_built'] { background: #d1fae5; color: #065f46; }
._typeTag_9pvad_65[data-type='unknown'] { background: var(--surface-hover); color: var(--text-muted); }

._spacer_9pvad_79 { flex: 1; }

._toolBtn_9pvad_81 {
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.82rem;
  cursor: pointer;
}
._toolBtn_9pvad_81:hover { background: var(--surface-hover); }
._toolBtn_9pvad_81:disabled { opacity: 0.4; cursor: default; }
._toolBtnActive_9pvad_92 {
  background: var(--accent, #3b82f6);
  color: #fff;
  border-color: var(--accent, #3b82f6);
}

._autosaveWrap_9pvad_98 {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

._autosaveLabel_9pvad_106 {
  white-space: nowrap;
}

._autosaveSelect_9pvad_110 {
  padding: 3px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.72rem;
  max-width: 88px;
  cursor: pointer;
}

._zoomLabel_9pvad_121 {
  font-size: 0.75rem;
  min-width: 36px;
  text-align: center;
  color: var(--text-muted);
}

._pageNav_9pvad_128 { display: flex; align-items: center; gap: 4px; }
._pageLabel_9pvad_129 { font-size: 0.78rem; color: var(--text-muted); min-width: 48px; text-align: center; }

/* ================================================================== */
/*  Main area (viewer + optional audit sidebar)                        */
/* ================================================================== */

._mainArea_9pvad_135 {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
}

._viewer_9pvad_142 {
  flex: 1;
  overflow: auto;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 12px;
  min-width: 0;
}

._emptyState_9pvad_154 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  color: #888;
  text-align: center;
}

._loadingMsg_9pvad_165, ._errorMsg_9pvad_165 { padding: 2rem; text-align: center; font-size: 0.9rem; }
._loadingMsg_9pvad_165 { color: #888; }
._errorMsg_9pvad_165 { color: #ef4444; }

._pageWrapper_9pvad_169 { display: flex; flex-direction: column; align-items: center; gap: 6px; }
._pageNumber_9pvad_170 {
  font-size: 0.72rem; color: #aaa; padding: 2px 10px;
  background: rgba(255,255,255,0.08); border-radius: 3px;
}
._scrollHint_9pvad_174 { font-size: 0.65rem; color: #666; margin-top: 6px; letter-spacing: 0.02em; }
._canvasContainer_9pvad_175 { position: relative; display: inline-block; line-height: 0; }
._pdfCanvas_9pvad_176 { display: block; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.4); }

/* ================================================================== */
/*  Audit sidebar                                                      */
/* ================================================================== */

._auditSidebar_9pvad_182 {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

._auditHeader_9pvad_192 {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-hover);
  flex-shrink: 0;
}

._auditTabs_9pvad_201 { display: flex; gap: 2px; flex: 1; }

._auditTab_9pvad_201 {
  padding: 4px 10px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 500;
}
._auditTab_9pvad_201:hover { background: var(--surface); }
._auditTabActive_9pvad_214 {
  background: var(--accent, #3b82f6);
  color: #fff;
}

._auditClose_9pvad_219 {
  padding: 2px 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
}
._auditClose_9pvad_219:hover { color: var(--text); }

._auditBody_9pvad_229 {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

._auditEmpty_9pvad_238 {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
  padding: 2rem 1rem;
}

/* ================================================================== */
/*  Annotation detail panel                                            */
/* ================================================================== */

._annotDetail_9pvad_249 {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

._annotDetailHeader_9pvad_260 {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

._annotDetailType_9pvad_267 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--text);
}

._annotDetailPage_9pvad_274 {
  font-size: 0.68rem;
  color: var(--text-muted);
  background: var(--surface);
  padding: 1px 5px;
  border-radius: 3px;
}

._annotDetailSwatch_9pvad_282 {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

._annotDetailStatus_9pvad_289 {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: auto;
}
._statusOpen_9pvad_296 { background: #d1fae5; color: #065f46; }
._statusClosed_9pvad_297 { background: #e5e7eb; color: #6b7280; text-decoration: line-through; }

._annotDetailMeta_9pvad_299 {
  display: flex;
  gap: 8px;
  font-size: 0.68rem;
  color: var(--text-muted);
}

._annotDetailText_9pvad_306 {
  font-size: 0.78rem;
  color: var(--text);
  padding: 4px 6px;
  background: var(--surface);
  border-radius: 3px;
}

._annotDetailActions_9pvad_314 {
  display: flex;
  gap: 4px;
}

._closeBtn_9pvad_319, ._reopenBtn_9pvad_319, ._deselectBtn_9pvad_319 {
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.72rem;
  cursor: pointer;
  font-weight: 500;
}
._closeBtn_9pvad_319 { background: #fef3c7; color: #92400e; border-color: #fbbf24; }
._closeBtn_9pvad_319:hover { background: #fde68a; }
._reopenBtn_9pvad_319 { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
._reopenBtn_9pvad_319:hover { background: #a7f3d0; }
._deselectBtn_9pvad_319 { background: var(--surface); color: var(--text-muted); }
._deselectBtn_9pvad_319:hover { background: var(--surface-hover); }

/* ================================================================== */
/*  Comment thread                                                     */
/* ================================================================== */

._commentThread_9pvad_338 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

._commentThreadTitle_9pvad_344 {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

._commentItem_9pvad_352 {
  padding: 4px 6px;
  background: var(--surface);
  border-radius: 3px;
}

._commentMeta_9pvad_358 {
  font-size: 0.65rem;
  color: var(--text-muted);
}

._commentText_9pvad_363 {
  font-size: 0.75rem;
  color: var(--text);
  margin-top: 2px;
}

._commentInput_9pvad_369 {
  display: flex;
  gap: 3px;
}

._commentField_9pvad_374 {
  flex: 1;
  padding: 4px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.75rem;
}

._commentSubmit_9pvad_384 {
  padding: 4px 8px;
  border: none;
  border-radius: var(--radius);
  background: var(--accent, #3b82f6);
  color: #fff;
  font-size: 0.72rem;
  cursor: pointer;
}

/* ================================================================== */
/*  Per-page annotation list                                           */
/* ================================================================== */

._auditPageGroup_9pvad_398 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

._auditPageLabel_9pvad_404 {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 4px 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

._auditAnnotItem_9pvad_413 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 0.75rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s;
}
._auditAnnotItem_9pvad_413:hover { background: var(--surface-hover); }
._auditAnnotSelected_9pvad_428 {
  background: var(--surface-hover);
  border-color: var(--accent, #3b82f6);
}
._auditAnnotClosed_9pvad_432 {
  opacity: 0.5;
}

._auditAnnotIcon_9pvad_436 {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 24px;
}

._auditAnnotInfo_9pvad_444 {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  font-size: 0.72rem;
  color: var(--text-muted);
}

._auditCommentBadge_9pvad_453 {
  font-size: 0.6rem;
  background: var(--accent, #3b82f6);
  color: #fff;
  padding: 0 4px;
  border-radius: 99px;
  font-weight: 600;
}

._auditAnnotStatus_9pvad_462 {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
}

/* ================================================================== */
/*  Audit log items                                                    */
/* ================================================================== */

._auditLogItem_9pvad_473 {
  padding: 5px 6px;
  border-bottom: 1px solid var(--border);
}

._auditLogAction_9pvad_478 {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: capitalize;
  padding: 1px 5px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 2px;
}
._auditLogAction_9pvad_478[data-action='created'] { background: #d1fae5; color: #065f46; }
._auditLogAction_9pvad_478[data-action='deleted'] { background: #fee2e2; color: #991b1b; }
._auditLogAction_9pvad_478[data-action='commented'] { background: #dbeafe; color: #1d4ed8; }
._auditLogAction_9pvad_478[data-action='closed'] { background: #e5e7eb; color: #374151; }
._auditLogAction_9pvad_478[data-action='reopened'] { background: #fef3c7; color: #92400e; }
._auditLogAction_9pvad_478[data-action='updated'] { background: #e0e7ff; color: #3730a3; }

._auditLogDetail_9pvad_494 {
  font-size: 0.72rem;
  color: var(--text);
  line-height: 1.4;
}

._auditLogMeta_9pvad_500 {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 2px;
}
._itemWrap_1j9zw_1 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.35rem 0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

._itemWrap_1j9zw_1._outstanding_1j9zw_12 {
  background: rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.35);
}

._itemWrap_1j9zw_1._completed_1j9zw_17 {
  background: rgba(25, 135, 84, 0.1);
  border-color: rgba(25, 135, 84, 0.3);
}

._itemWrap_1j9zw_1._na_1j9zw_22 {
  background: rgba(0, 0, 0, 0.04);
  opacity: 0.85;
}

._itemWrap_1j9zw_1._na_1j9zw_22 ._labelText_1j9zw_27,
._itemWrap_1j9zw_1._na_1j9zw_22 ._controlWrap_1j9zw_28 {
  text-decoration: line-through;
}

._labelWrap_1j9zw_32 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1 1 auto;
}

._labelText_1j9zw_27 {
  font-weight: 500;
  color: var(--text);
}

._naCheckWrap_1j9zw_45 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

._naCheckWrap_1j9zw_45 input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--accent);
}

._naLabel_1j9zw_59 {
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

._controlWrap_1j9zw_28 {
  width: 100%;
  min-width: 0;
}

._controlWrap_1j9zw_28 input,
._controlWrap_1j9zw_28 select,
._controlWrap_1j9zw_28 textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
._panel_bjoei_1 {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--surface);
}

._trigger_bjoei_9 {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: var(--surface-hover);
  border: none;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  font-family: inherit;
}

._trigger_bjoei_9:hover {
  filter: brightness(1.03);
}

._chevron_bjoei_29 {
  flex-shrink: 0;
  width: 1.25rem;
  margin-top: 0.08rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.4;
}

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

._meta_bjoei_43 {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

._body_bjoei_51 {
  padding: 0.85rem 0.95rem 1rem;
  border-top: 1px solid var(--border);
}
._rackContainer_ztdfo_1 {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
}

._palette_ztdfo_10 {
  flex-shrink: 0;
  width: 280px;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

._paletteTitle_ztdfo_19 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

._paletteList_ztdfo_26 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  align-items: start;
}

._paletteItem_ztdfo_33 {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  cursor: grab;
  border: 1px solid transparent;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  word-break: break-word;
}

._paletteItem_ztdfo_33:hover {
  border-color: var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

._paletteItem_ztdfo_33:active {
  cursor: grabbing;
}

._rackWrapper_ztdfo_56 {
  flex: 1 1 200px;
  min-width: 0;
  max-width: 240px;
  overflow: visible;
}

._rackSelector_ztdfo_63 {
  margin-bottom: 0.75rem;
}

._rackSelector_ztdfo_63 label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-right: 0.5rem;
}

._rackSelector_ztdfo_63 select {
  padding: 0.35rem 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.9rem;
}

._rackAndVoltage_ztdfo_82 {
  display: grid;
  gap: 0;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: visible;
  max-width: 100%;
  box-sizing: border-box;
  padding-bottom: 0.25rem;
}

._rackFrame_ztdfo_93 {
  background: var(--surface);
  border: none;
  border-radius: 6px 0 0 6px;
  padding: 0.35rem 0.5rem 0.35rem 0.35rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.15);
  min-width: 100px;
}

@media (prefers-color-scheme: light) {
  ._rackFrame_ztdfo_93 {
    background: #f8fafc;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.04);
  }
}

._voltageColumn_ztdfo_109 {
  background: var(--bg);
  border: none;
  border-radius: 0 6px 6px 0;
  padding: 0.25rem 0.35rem;
}

._voltageColumnHeader_ztdfo_116 {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  padding: 0.15rem 0;
}

._voltageCell_ztdfo_124 {
  display: flex;
  align-items: stretch;
  min-height: 0;
}

._voltageCell_ztdfo_124 select {
  width: 100%;
  flex: 1;
  min-height: 100%;
  padding: 0.15rem 0.2rem;
  font-size: 0.65rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

/* Power type indicator – coloured left border, neutral bg for dropdown readability */
._voltageCell_ztdfo_124 select[data-voltage="-48VDC"] {
  background: var(--surface);
  border-color: var(--border);
  border-left-width: 4px;
  border-left-color: #ec4899;
  color: var(--text);
}

._voltageCell_ztdfo_124 select[data-voltage="+24VDC"] {
  background: var(--surface);
  border-color: var(--border);
  border-left-width: 4px;
  border-left-color: #22c55e;
  color: var(--text);
}

._voltageCell_ztdfo_124 select[data-voltage="n/a"] {
  background: var(--surface);
  border-color: var(--border);
  border-left-width: 4px;
  border-left-color: #94a3b8;
  color: var(--text);
}

._voltageCell_ztdfo_124 select[data-voltage="AC"] {
  background: var(--surface);
  border-color: var(--border);
  border-left-width: 4px;
  border-left-color: #ef4444;
  color: var(--text);
}

/* Ensure dropdown options use theme colours for readability */
._voltageCell_ztdfo_124 select option {
  background: var(--surface);
  color: var(--text);
}

/* Selected (focused) state */
._voltageCell_ztdfo_124 select:focus {
  outline: none;
  border-color: var(--success);
  box-shadow: 0 0 0 2px var(--accent-dim);
}

._rackSlot_ztdfo_190 {
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--text-muted);
}

._rackSlot_ztdfo_190._dragOver_ztdfo_202 {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.6);
  outline: 2px dashed rgba(34, 197, 94, 0.5);
}

/* Full-space insertion preview – styled like placed component, subtle fit indicator */
._insertionPreview_ztdfo_209 {
  grid-column: 1;
  pointer-events: auto;
  z-index: 15;
  cursor: copy;
}

._insertionPreviewFit_ztdfo_216 {
  border: 2px solid rgba(34, 197, 94, 0.8);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

/* Occupied or out-of-bounds: component turns red */
._insertionPreviewClash_ztdfo_222 {
  border: 2px solid rgba(239, 68, 68, 0.9);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.55) !important;
}

/* Slots when dragging: preserve U space background, show labels */
._rackSlot_ztdfo_190._rackSlotDropOnly_ztdfo_229 {
  /* Keep normal background and border from .rackSlot */
  color: var(--text-muted);
}

._rackSlotNoDrop_ztdfo_234 {
  opacity: 0.5;
  pointer-events: auto;
}

._contextMenu_ztdfo_239 {
  position: fixed;
  z-index: 1000;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 0.25rem 0;
  min-width: 120px;
}

._contextMenu_ztdfo_239 button {
  display: block;
  width: 100%;
  padding: 0.4rem 0.75rem;
  border: none;
  background: none;
  color: var(--text);
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
}

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

._ventilationGap_ztdfo_266 {
  background: repeating-linear-gradient(
    -45deg,
    rgba(100, 116, 139, 0.15),
    rgba(100, 116, 139, 0.15) 4px,
    rgba(100, 116, 139, 0.08) 4px,
    rgba(100, 116, 139, 0.08) 8px
  );
  border: 1px dashed rgba(100, 116, 139, 0.4);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--text-muted);
  pointer-events: none;
}

._fixedDcUnit_ztdfo_284 {
  background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
  border: 1px solid rgba(185, 28, 28, 0.6);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  pointer-events: none;
}

._fixedSubEnclosure_ztdfo_297 {
  background: linear-gradient(180deg, #475569 0%, #334155 100%);
  border: 1px solid rgba(100, 116, 139, 0.5);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

._placedComponent_ztdfo_310 {
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  cursor: default;
  overflow: visible;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 8px;
  min-width: 72px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

._placedComponentMove_ztdfo_329 {
  position: absolute;
  left: 2px;
  top: 2px;
  font-size: 0.65rem;
  font-weight: bold;
  color: #f8fafc;
  cursor: grab;
  line-height: 1;
  padding: 2px 3px;
  border-radius: 3px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

._placedComponentMove_ztdfo_329:active {
  cursor: grabbing;
}

._placedComponentMove_ztdfo_329:hover {
  background: #334155;
  border-color: rgba(255, 255, 255, 0.6);
}

._placedComponentDelete_ztdfo_354 {
  position: absolute;
  right: 2px;
  top: 2px;
  font-size: 0.8rem;
  font-weight: bold;
  color: #fef2f2;
  cursor: pointer;
  line-height: 1;
  padding: 0 3px;
  border-radius: 2px;
  background: #991b1b;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

._placedComponentDelete_ztdfo_354:hover {
  background: rgba(239, 68, 68, 0.4);
  color: #fff;
}

._placedComponent_ztdfo_310:hover {
  filter: brightness(1.15);
}

/* Other components that would be overlapped by the current drop – show red */
._placedComponentOverlapped_ztdfo_379 {
  border: 2px solid rgba(239, 68, 68, 0.9) !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.6);
}

._supplyVoltage_ztdfo_384 {
  margin-top: 1rem;
}

._supplyVoltage_ztdfo_384 input {
  padding: 0.5rem;
  width: 100%;
  max-width: 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}

._rackNotes_ztdfo_398 {
  margin-top: 1rem;
}

._rackNotes_ztdfo_398 textarea {
  width: 100%;
  min-height: 80px;
  padding: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
}

/* Drag-drop hint overlay – shown briefly when Edit is clicked */
@keyframes _dragHintFadeIn_ztdfo_1 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes _dragHintFadeOut_ztdfo_1 {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes _dragHintArrow_ztdfo_496 {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.8;
  }
  50% {
    transform: translateX(40px);
    opacity: 1;
  }
}

@keyframes _dragHintPaletteGlow_ztdfo_1 {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 4px rgba(59, 130, 246, 0.5);
  }
}

@keyframes _dragHintRackGlow_ztdfo_1 {
  0%,
  100% {
    box-shadow: inset 0 0 0 0 rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: inset 0 0 30px 4px rgba(59, 130, 246, 0.4);
  }
}

._dragHintOverlay_ztdfo_464 {
  position: absolute;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: _dragHintFadeIn_ztdfo_1 0.3s ease-out;
}

._dragHintOverlayHiding_ztdfo_475 {
  animation: _dragHintFadeOut_ztdfo_1 0.4s ease-in forwards;
}

._dragHintContent_ztdfo_479 {
  background: rgba(15, 23, 42, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.6);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

._dragHintText_ztdfo_490 {
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 500;
}

._dragHintArrow_ztdfo_496 {
  font-size: 1.5rem;
  color: #3b82f6;
  animation: _dragHintArrow_ztdfo_496 1.2s ease-in-out infinite;
}

._dragHintPaletteHighlight_ztdfo_502 {
  animation: _dragHintPaletteGlow_ztdfo_1 1.5s ease-in-out 2;
}

._dragHintRackHighlight_ztdfo_506 {
  animation: _dragHintRackGlow_ztdfo_1 1.5s ease-in-out 2 0.3s;
}

/* Placement hint – shown once after user drops first component */
@keyframes _placementHintGripPulse_ztdfo_1 {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
  }
}

@keyframes _placementHintDeletePulse_ztdfo_1 {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
  }
}

._placementHintOverlay_ztdfo_535 {
  position: absolute;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: _dragHintFadeIn_ztdfo_1 0.3s ease-out;
}

._placementHintOverlayHiding_ztdfo_546 {
  animation: _dragHintFadeOut_ztdfo_1 0.4s ease-in forwards;
}

._placementHintContent_ztdfo_550 {
  background: rgba(15, 23, 42, 0.96);
  border: 2px solid rgba(59, 130, 246, 0.5);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  max-width: 320px;
}

._placementHintText_ztdfo_563 {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

._placementHintIcons_ztdfo_571 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.1rem;
}

._placementHintGripDemo_ztdfo_578 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 6px;
  animation: _placementHintGripPulse_ztdfo_1 1.5s ease-in-out 2;
}

._placementHintDeleteDemo_ztdfo_588 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(239, 68, 68, 0.2);
  border-radius: 6px;
  animation: _placementHintDeletePulse_ztdfo_1 1.5s ease-in-out 2 0.3s;
}

._placementHintGripHighlight_ztdfo_598 {
  animation: _placementHintGripPulse_ztdfo_1 1.5s ease-in-out 2;
}

._placementHintDeleteHighlight_ztdfo_602 {
  animation: _placementHintDeletePulse_ztdfo_1 1.5s ease-in-out 2 0.3s;
}
@keyframes _editButtonPulse_gzkln_1 {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.15);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.25);
  }
}

._editRackButton_gzkln_13 {
  animation: _editButtonPulse_gzkln_1 2s ease-in-out infinite;
  color: #3b82f6 !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
}

._editRackButton_gzkln_13:hover {
  background: rgba(59, 130, 246, 0.2) !important;
  border-color: #3b82f6 !important;
  color: #60a5fa !important;
}

@keyframes _saveButtonPulse_gzkln_1 {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.35);
  }
}

._saveRackButton_gzkln_37 {
  animation: _saveButtonPulse_gzkln_1 2s ease-in-out infinite;
  color: #fff !important;
  border-color: rgba(34, 197, 94, 0.6) !important;
}

._saveRackButton_gzkln_37:hover {
  background: rgba(34, 197, 94, 0.5) !important;
  border-color: #22c55e !important;
}

@keyframes _resetButtonPulse_gzkln_1 {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.5);
    background: rgba(147, 51, 234, 0.15);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(147, 51, 234, 0.2);
    background: rgba(147, 51, 234, 0.25);
  }
}

._resetRackButton_gzkln_60 {
  animation: _resetButtonPulse_gzkln_1 2s ease-in-out infinite;
  color: #a78bfa !important;
  border-color: rgba(147, 51, 234, 0.5) !important;
}

._resetRackButton_gzkln_60:hover {
  background: rgba(147, 51, 234, 0.15) !important;
  border-color: #9333ea !important;
  color: #c4b5fd !important;
}

@keyframes _removeButtonPulse_gzkln_1 {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.15);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.25);
  }
}

._removeRackButton_gzkln_84 {
  animation: _removeButtonPulse_gzkln_1 2s ease-in-out infinite;
  color: #f87171 !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
}

._removeRackButton_gzkln_84:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: #ef4444 !important;
  color: #fca5a5 !important;
}

/* Confirmation modal */
._confirmOverlay_gzkln_97 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

._confirmModal_gzkln_108 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

._confirmTitle_gzkln_118 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

._confirmMessage_gzkln_125 {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

._confirmActions_gzkln_132 {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

._confirmCancel_gzkln_138 {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
}

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

._confirmConfirm_gzkln_152 {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

._confirmConfirmReset_gzkln_161 {
  background: #9333ea;
  color: #fff;
}

._confirmConfirmReset_gzkln_161:hover {
  background: #7e22ce;
}

._confirmConfirmRemove_gzkln_170 {
  background: #ef4444;
  color: #fff;
}

._confirmConfirmRemove_gzkln_170:hover {
  background: #dc2626;
}
@keyframes _editButtonPulse_gzkln_1 {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.15);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.25);
  }
}

._editRackButton_gzkln_13 {
  animation: _editButtonPulse_gzkln_1 2s ease-in-out infinite;
  color: #3b82f6 !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
}

._editRackButton_gzkln_13:hover {
  background: rgba(59, 130, 246, 0.2) !important;
  border-color: #3b82f6 !important;
  color: #60a5fa !important;
}

@keyframes _saveButtonPulse_gzkln_1 {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.35);
  }
}

._saveRackButton_gzkln_37 {
  animation: _saveButtonPulse_gzkln_1 2s ease-in-out infinite;
  color: #fff !important;
  border-color: rgba(34, 197, 94, 0.6) !important;
}

._saveRackButton_gzkln_37:hover {
  background: rgba(34, 197, 94, 0.5) !important;
  border-color: #22c55e !important;
}

@keyframes _resetButtonPulse_gzkln_1 {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.5);
    background: rgba(147, 51, 234, 0.15);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(147, 51, 234, 0.2);
    background: rgba(147, 51, 234, 0.25);
  }
}

._resetRackButton_gzkln_60 {
  animation: _resetButtonPulse_gzkln_1 2s ease-in-out infinite;
  color: #a78bfa !important;
  border-color: rgba(147, 51, 234, 0.5) !important;
}

._resetRackButton_gzkln_60:hover {
  background: rgba(147, 51, 234, 0.15) !important;
  border-color: #9333ea !important;
  color: #c4b5fd !important;
}

@keyframes _removeButtonPulse_gzkln_1 {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.15);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.25);
  }
}

._removeRackButton_gzkln_84 {
  animation: _removeButtonPulse_gzkln_1 2s ease-in-out infinite;
  color: #f87171 !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
}

._removeRackButton_gzkln_84:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: #ef4444 !important;
  color: #fca5a5 !important;
}

/* Confirmation modal */
._confirmOverlay_gzkln_97 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

._confirmModal_gzkln_108 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

._confirmTitle_gzkln_118 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

._confirmMessage_gzkln_125 {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

._confirmActions_gzkln_132 {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

._confirmCancel_gzkln_138 {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
}

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

._confirmConfirm_gzkln_152 {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

._confirmConfirmReset_gzkln_161 {
  background: #9333ea;
  color: #fff;
}

._confirmConfirmReset_gzkln_161:hover {
  background: #7e22ce;
}

._confirmConfirmRemove_gzkln_170 {
  background: #ef4444;
  color: #fff;
}

._confirmConfirmRemove_gzkln_170:hover {
  background: #dc2626;
}
/**
 * Sign-off rows: keep UserSignControl cards from stretching edge-to-edge;
 * up to four slots per row on wide viewports.
 */
._signControlsRow_50av4_5 {
  display: grid;
  gap: 0.75rem;
  align-items: start;
  justify-items: start;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}

._signControlsRow_50av4_5 > * {
  min-width: 0;
  width: 100%;
  max-width: min(22rem, 100%);
}

@media (min-width: 960px) {
  ._signControlsRow_50av4_5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  ._signControlsRow_50av4_5 > * {
    max-width: 100%;
  }
}

._commentsField_50av4_29 {
  margin-top: 0.75rem;
}

._commentsField_50av4_29 > * {
  max-width: 100%;
}
._container_16hod_1 {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

._header_16hod_7 {
  margin-bottom: 1rem;
}

._header_16hod_7 h1 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

._header_16hod_7 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

._stepIndicator_16hod_23 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.35rem 0.75rem;
}

._headerMetaRow_16hod_33 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

._saveStatusBadge_16hod_42 {
  flex-shrink: 0;
}

._form_16hod_46 {
  background: var(--surface);
  border-radius: 14px;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

._section_16hod_54 {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

._section_16hod_54:last-child {
  margin-bottom: 0;
}

._section_16hod_54 h2 {
  font-size: 0.98rem;
  margin: 0;
  padding: 0 0 0.7rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

._grid_16hod_73 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem 1rem;
  align-items: start;
}

._grid_16hod_73 label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

._grid_16hod_73 label._fullWidth_16hod_86 {
  grid-column: 1 / -1;
}

._grid_16hod_73 input,
._grid_16hod_73 select,
._grid_16hod_73 textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

._grid_16hod_73 input:hover,
._grid_16hod_73 select:hover,
._grid_16hod_73 textarea:hover {
  border-color: color-mix(in srgb, var(--border) 45%, var(--accent) 55%);
}

._grid_16hod_73 input:focus,
._grid_16hod_73 select:focus,
._grid_16hod_73 textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

._grid_16hod_73 input._fullWidth_16hod_86,
._grid_16hod_73 textarea._fullWidth_16hod_86 {
  grid-column: 1 / -1;
}

._grid_16hod_73 textarea {
  resize: vertical;
  min-height: 90px;
  font-family: inherit;
}

._hint_16hod_130 {
  margin: -0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

._worklistTaskTopBanner_16hod_137 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 0.84rem;
  color: var(--text-muted);
  background: color-mix(in srgb, var(--surface) 94%, var(--accent) 6%);
}

._phaseGateShellInset_16hod_151 {
  margin-top: 1.25rem;
}

._headerTrailingActions_16hod_155 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

._completeTaskBtn_16hod_163 {
  padding: 0.35rem 0.7rem;
  border: 1px solid #16a34a;
  border-radius: var(--radius);
  background: #16a34a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

._completeTaskBtn_16hod_163:hover:not(:disabled) {
  background: #15803d;
  border-color: #15803d;
}

._completeTaskBtn_16hod_163:disabled {
  opacity: 0.6;
  cursor: default;
}

._taskCompleteNotice_16hod_184 {
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(22, 163, 74, 0.35);
  border-radius: var(--radius);
  background: rgba(22, 163, 74, 0.08);
  color: #166534;
  font-size: 0.8rem;
}

._linkButton_16hod_194 {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
}

._button_16hod_205,
._buttonSecondary_16hod_206 {
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

._button_16hod_205 {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

._button_16hod_205:hover {
  filter: brightness(1.1);
}

._buttonSecondary_16hod_206 {
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

._buttonSecondary_16hod_206:hover {
  background: var(--surface-hover);
  color: var(--text);
}

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

._successCard_16hod_235 h2 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: var(--success);
}

._successCard_16hod_235 p {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

._steps_16hod_253 {
  margin: 1rem 0;
  padding-left: 1.25rem;
  line-height: 1.6;
}

._steps_16hod_253 li {
  margin-bottom: 0.5rem;
}

._successCard_16hod_235 code {
  background: var(--bg);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  word-break: break-all;
}

._note_16hod_271 {
  font-size: 0.85rem;
  margin-top: 1rem !important;
}

._photoGrid_16hod_276 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

/* Site Access (4.x step "Access") — at most five photo-slot cards per row on wide layouts */
._photoGridMax5Cols_16hod_283 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  ._photoGridMax5Cols_16hod_283 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  ._photoGridMax5Cols_16hod_283 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

._subsection_16hod_301 {
  font-size: 0.9rem;
  margin: 1rem 0 0.15rem;
  color: var(--text);
  font-weight: 600;
}

._progressBarWrap_16hod_308 {
  margin-bottom: 1rem;
}
._progressBarLabel_16hod_311 {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
._progressBarTrack_16hod_318 {
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
}
._progressBarFill_16hod_324 {
  height: 100%;
  background: var(--accent);
  border-radius: 5px;
  transition: width 0.2s ease;
}

._layoutWithSidebar_16hod_331 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: visible;
  align-items: stretch;
}

._layoutRow_16hod_339 {
  display: flex;
  flex: 1;
  min-height: 0;
  align-items: flex-start;
}

._hsAlertBanner_16hod_346 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 1rem;
  background: #b91c1c;
  color: #fff;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  flex-shrink: 0;
  transition: background 0.2s, filter 0.2s;
}
._hsAlertBanner_16hod_346:hover {
  background: #991b1b;
  filter: brightness(1.05);
}
._hsAlertBannerIcon_16hod_367 {
  font-size: 1.1rem;
  flex-shrink: 0;
}
._hsAlertBannerText_16hod_371 {
  max-width: 720px;
}

._sidebar_16hod_375 {
  flex: 0 0 70px;
  width: 70px;
  min-height: 100vh;
  align-self: stretch;
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: width 0.25s ease, flex 0.25s ease;
  display: flex;
  flex-direction: column;
}
._sidebar_16hod_375._open_16hod_387 {
  flex: 0 0 280px;
  width: 280px;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.08);
  position: relative;
}

._sidebarContent_16hod_394 {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
  min-width: 0;
}

._sidebarHeaderRow_16hod_401 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
}
._sidebarToggleBtn_16hod_408 {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
._sidebarToggleBtn_16hod_408:hover {
  background: var(--surface-hover);
  color: var(--text);
}

._sidebarCollapsedHeader_16hod_428 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
._sidebarCollapsedLabel_16hod_436 {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  word-break: break-word;
}

._sidebarSectionCollapsed_16hod_447 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem;
  border: none;
  border-left: 4px solid transparent;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
._sidebarSectionCollapsed_16hod_447:hover {
  background: var(--surface-hover);
}
._sidebarSectionCollapsed_16hod_447._sidebarSectionComplete_16hod_465 {
  border-left-color: var(--success, #22c55e);
}
._sidebarSectionCollapsed_16hod_447._sidebarSectionIncomplete_16hod_468 {
  border-left-color: #ef4444;
}

._mainContent_16hod_472 {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  overflow: hidden;
}

._mainSplitHost_16hod_483 {
  flex: 1;
  min-height: 0;
  min-width: 0;
}

._mainScrollArea_16hod_489 {
  padding: 1rem 1.25rem;
  overflow-y: auto;
  height: 100%;
}

._sidebarSection_16hod_447 {
  display: block;
  width: 100%;
  padding: 0.5rem 0.6rem;
  text-align: left;
  border: 1px solid transparent;
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
._sidebarSection_16hod_447:hover {
  background: var(--surface-hover);
}
._sidebarSectionComplete_16hod_465 {
  background: rgba(34, 197, 94, 0.12);
  border-left-color: var(--success, #22c55e);
}
._sidebarSectionIncomplete_16hod_468 {
  background: rgba(239, 68, 68, 0.08);
  border-left-color: #ef4444;
}
._sidebarSectionMeta_16hod_520 {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
._sidebarSectionNa_16hod_525 {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1px;
}

._sidebarSectionRow_16hod_531 {
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
}
._sidebarSectionRow_16hod_531 ._sidebarSection_16hod_447 {
  flex: 1;
  min-width: 0;
}
._sidebarExpandBtn_16hod_540 {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
._sidebarExpandBtn_16hod_540:hover {
  background: var(--surface-hover);
  color: var(--text);
}

._sidebarSubsection_16hod_560 {
  display: block;
  width: 100%;
  padding: 0.42rem 0.8rem 0.42rem 2.6rem;
  text-align: left;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  position: relative;
}

._sidebarSubsection_16hod_560::before {
  content: '';
  position: absolute;
  left: 1.7rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 1px;
  background: color-mix(in srgb, var(--border) 65%, var(--accent) 35%);
}
._sidebarSubsection_16hod_560:hover {
  background: var(--surface-hover);
  color: var(--text);
}

._sidebarNavHint_16hod_588 {
  margin: 0;
  padding: 0.35rem 0.8rem 0.35rem 2.6rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}
._sidebarHeader_16hod_401 {
  padding: 0 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Journey color-coded left-border accents */
._journeyOnSite_16hod_604 ._sidebarSection_16hod_447,
._journeyOnSite_16hod_604._sidebarSectionCollapsed_16hod_447 {
  border-left-color: #16a34a;
}
._journeyDesktop_16hod_608 ._sidebarSection_16hod_447,
._journeyDesktop_16hod_608._sidebarSectionCollapsed_16hod_447 {
  border-left-color: #2563eb;
}
._journeyBackOffice_16hod_612 ._sidebarSection_16hod_447,
._journeyBackOffice_16hod_612._sidebarSectionCollapsed_16hod_447 {
  border-left-color: #7c3aed;
}

/* Dimmed when filtered out */
._journeyDimmed_16hod_618 {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.2s;
}

._scopeOfWorksLayout_16hod_624 {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.5rem;
}

._scopeGanttFixed_16hod_631 {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

._scopeDaysScroll_16hod_643 {
  flex: 1;
  min-height: 0;
}

@media (max-width: 560px) {
  ._grid_16hod_73 {
    grid-template-columns: 1fr;
  }
  ._photoGrid_16hod_276 {
    grid-template-columns: 1fr;
  }
  ._photoGridMax5Cols_16hod_283 {
    grid-template-columns: 1fr;
  }
}
._centerScroll_lx6x0_1 {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--surface-elevated) 0%,
    color-mix(in srgb, var(--surface-elevated) 94%, var(--primary) 6%) 100%
  );
  border: 1px solid color-mix(in srgb, var(--border) 78%, var(--primary) 22%);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

._progressBarWrap_lx6x0_15 {
  margin-bottom: 0.75rem;
}

._progressBarLabel_lx6x0_19 {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

._progressBarTrack_lx6x0_27 {
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
}

._progressBarFill_lx6x0_34 {
  height: 100%;
  background: var(--accent);
  border-radius: 5px;
  transition: width 0.2s ease;
}

._taskToolbar_lx6x0_41 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

._completeTaskBtn_lx6x0_49 {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--success);
  border-radius: var(--radius, 8px);
  background: var(--success);
  color: var(--text-inverse);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

._completeTaskBtn_lx6x0_49:hover:not(:disabled) {
  filter: brightness(1.06);
}

._completeTaskBtn_lx6x0_49:disabled {
  opacity: 0.6;
  cursor: default;
}

._worklistTaskBanner_lx6x0_69 {
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--warning) 42%, var(--border) 58%);
  border-radius: var(--radius, 8px);
  background: var(--warning-soft);
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.4;
}

._worklistTaskBannerHint_lx6x0_80 {
  opacity: 0.9;
  font-size: 0.78rem;
}

._taskSignedInNotice_lx6x0_85 {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(22, 163, 74, 0.35);
  border-radius: var(--radius, 8px);
  background: rgba(22, 163, 74, 0.08);
  color: #166534;
  font-size: 0.8rem;
}
._centerScroll_1unp8_1 {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--surface-elevated) 0%,
    color-mix(in srgb, var(--surface-elevated) 94%, var(--primary) 6%) 100%
  );
  border: 1px solid color-mix(in srgb, var(--border) 78%, var(--primary) 22%);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

._projectContextCard_1unp8_15 {
  margin-bottom: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--border) 74%, var(--primary) 26%);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-elevated) 82%, var(--primary) 18%) 0%,
    color-mix(in srgb, var(--surface-elevated) 93%, var(--primary) 7%) 100%
  );
  box-shadow: var(--shadow-md);
  padding: 0.72rem 0.8rem;
}

._projectContextRow_1unp8_29 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

._projectContextItem_1unp8_35 {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

._projectContextLabel_1unp8_42 {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

._projectContextValue_1unp8_50 {
  font-size: 0.82rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._projectContextAddress_1unp8_58 {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px dashed color-mix(in srgb, var(--border) 76%, #2563eb 24%);
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

._progressBarWrap_1unp8_67 {
  margin-bottom: 0.75rem;
}

._progressBarLabel_1unp8_71 {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

._progressBarTrack_1unp8_79 {
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
}

._progressBarFill_1unp8_86 {
  height: 100%;
  background: var(--accent);
  border-radius: 5px;
  transition: width 0.2s ease;
}

._contentHeader_1unp8_93 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

._contentTitle_1unp8_102 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

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

._stepCounter_1unp8_115 {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.75rem;
  color: var(--text-muted);
}

._saveBadgeWrap_1unp8_126 {
  display: inline-flex;
}

._sectionMetrics_1unp8_130 {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 0.55rem 0.7rem;
  margin-bottom: 0.75rem;
}
._page_1okpw_1 {
  max-width: 900px;
  display: grid;
  gap: 0.8rem;
}

._title_1okpw_7 {
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
  font-weight: 700;
}

._lead_1okpw_13 {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

._progressBarWrap_1okpw_26 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
}

._progressBarLabel_1okpw_33 {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

._progressBarTrack_1okpw_42 {
  height: 9px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

._progressBarFill_1okpw_49 {
  height: 100%;
  background: var(--accent);
  transition: width 180ms ease;
}

._cardTitle_1okpw_55 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

._list_1okpw_60 {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  line-height: 1.5;
}

._primaryBtn_1okpw_67,
._button_1okpw_68,
._buttonSecondary_1okpw_69 {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.4rem 0.8rem;
}

._buttonSecondary_1okpw_69 {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

._primaryBtn_1okpw_67:hover,
._button_1okpw_68:hover,
._buttonSecondary_1okpw_69:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

._assignTitle_1okpw_95 {
  margin: 0;
  font-size: 1rem;
}

._assignLead_1okpw_100 {
  margin: 0.4rem 0 0.8rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

._controlsRow_1okpw_106 {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.55rem 0 0.75rem;
}

._message_1okpw_113 {
  color: var(--text-muted);
  font-size: 0.85rem;
  align-self: center;
}

._table_1okpw_119 {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

._table_1okpw_119 th,
._table_1okpw_119 td {
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}

._table_1okpw_119 th {
  background: var(--surface-hover);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
}

._table_1okpw_119 tr:last-child td {
  border-bottom: none;
}

._infoBar_1okpw_148 {
  margin-top: 0.85rem;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  color: var(--text);
  font-size: 0.9rem;
}
._page_18b4h_1 {
  min-height: 100vh;
  padding: 2rem 1.5rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
  background: var(--bg);
  color: var(--text);
}

._header_18b4h_10 {
  margin-bottom: 1.25rem;
}

._headerRow_18b4h_14 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

._title_18b4h_22 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

._lead_18b4h_29 {
  margin: 0;
  max-width: 40rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-size: 0.95rem;
}

._toolbar_18b4h_37 {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

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

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

._field_18b4h_61 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

._fieldLabel_18b4h_68 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

._input_18b4h_76,
._select_18b4h_77 {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.875rem;
}

._tableWrap_18b4h_87 {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

._table_18b4h_87 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

._table_18b4h_87 thead {
  background: var(--surface-hover);
  border-bottom: 1px solid var(--border);
}

._table_18b4h_87 th {
  text-align: left;
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  white-space: nowrap;
  color: var(--text);
}

._thBtn_18b4h_113 {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

._thBtn_18b4h_113:hover {
  color: var(--accent, #2563eb);
}

._thAction_18b4h_129 {
  text-align: right;
  width: 4.5rem;
}

._table_18b4h_87 td {
  padding: 0.55rem 0.75rem;
  border-top: 1px solid var(--border);
  vertical-align: middle;
}

._table_18b4h_87 tbody tr:hover {
  background: var(--surface-hover);
}

._mono_18b4h_144 {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.82rem;
}

._emptyCell_18b4h_149 {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 1rem !important;
}

._openLink_18b4h_155 {
  font-weight: 600;
  color: var(--accent, #2563eb);
  text-decoration: none;
}

._openLink_18b4h_155:hover {
  text-decoration: underline;
}

._footerMeta_18b4h_165 {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

._primaryBtn_18b4h_171 {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  background: var(--accent, #2563eb);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

._primaryBtn_18b4h_171:hover {
  filter: brightness(1.05);
}

._secondaryBtn_18b4h_187 {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

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

._modalRoot_18b4h_202 {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

._modalBackdrop_18b4h_212 {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
}

._modal_18b4h_202 {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

._modalTitle_18b4h_236 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
}

._modalLead_18b4h_242 {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

._form_18b4h_249 {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

._formError_18b4h_255 {
  margin: 0;
  padding: 0.5rem 0.65rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #b91c1c;
  font-size: 0.82rem;
}

._modalActions_18b4h_265 {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding-top: 0.5rem;
}
._itemWrap_et71i_1 {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 78%, var(--surface-hover) 22%);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

._itemWrap_et71i_1._outstanding_et71i_12 {
  border-color: color-mix(in srgb, var(--border) 50%, #f59e0b 50%);
  box-shadow: inset 3px 0 0 #f59e0b;
}

._itemWrap_et71i_1._completed_et71i_17 {
  border-color: color-mix(in srgb, var(--border) 55%, #22c55e 45%);
  box-shadow: inset 3px 0 0 #22c55e;
}

._itemWrap_et71i_1._na_et71i_22 {
  background: var(--surface);
  opacity: 0.88;
}

._itemWrap_et71i_1._na_et71i_22 ._labelText_et71i_27,
._itemWrap_et71i_1._na_et71i_22 ._controlWrap_et71i_28 {
  text-decoration: line-through;
}

._labelWrap_et71i_32 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  flex-wrap: wrap;
}

._labelText_et71i_27 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

._naCheckWrap_et71i_47 {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

._naCheckWrap_et71i_47 input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--accent);
}

._naLabel_et71i_65 {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

._controlWrap_et71i_28 {
  width: 100%;
  min-width: 0;
}

._controlWrap_et71i_28 input,
._controlWrap_et71i_28 select,
._controlWrap_et71i_28 textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  background: var(--surface);
}
._imageSlot_59mo4_1 {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  background: var(--bg);
}

._imageSlotDragOver_59mo4_8 {
  border-color: rgb(25, 135, 84);
  background: rgba(25, 135, 84, 0.08);
  outline: 2px dashed rgba(25, 135, 84, 0.5);
  outline-offset: 2px;
}

/* N/A + red/green wrapper for image slots */
._imageSlotWrap_59mo4_16 {
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
._imageSlotWrap_59mo4_16._outstanding_59mo4_22 {
  background: rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.35);
}
._imageSlotWrap_59mo4_16._completed_59mo4_26 {
  background: rgba(25, 135, 84, 0.1);
  border-color: rgba(25, 135, 84, 0.3);
}
._imageSlotWrap_59mo4_16._na_59mo4_30 {
  background: rgba(0, 0, 0, 0.04);
  opacity: 0.85;
}
._imageSlotWrap_59mo4_16._na_59mo4_30 ._imageSlotLabel_59mo4_34,
._imageSlotWrap_59mo4_16._na_59mo4_30 ._imageSlotActions_59mo4_35,
._imageSlotWrap_59mo4_16._na_59mo4_30 ._imageSlotPreview_59mo4_36 {
  text-decoration: line-through;
}
._imageSlotNaRow_59mo4_39 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
._imageSlotNaRow_59mo4_39 ._imageSlotLabel_59mo4_34 {
  margin-bottom: 0;
  flex: 1;
}
._imageSlotNaCheck_59mo4_49 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
._imageSlotNaCheck_59mo4_49 input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--accent);
}
._imageSlotNaLabel_59mo4_61 {
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

._imageSlotLabel_59mo4_34 {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

._imageSlotActions_59mo4_35 {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0.5rem;
}

._imageSlotDragIcon_59mo4_83 {
  display: inline-flex;
  color: var(--text-muted);
  flex-shrink: 0;
}
._imageSlotDragIcon_59mo4_83 svg {
  width: 20px;
  height: 20px;
}
._imageSlot_59mo4_1:hover ._imageSlotDragIcon_59mo4_83 {
  color: var(--text);
}

._imageSlotPreviewWrap_59mo4_96 {
  display: inline-block;
  cursor: pointer;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid transparent;
}
._imageSlotPreviewWrap_59mo4_96:hover {
  border-color: var(--border);
  background: var(--surface);
}

._imageSlotPreview_59mo4_36 {
  max-width: 160px;
  max-height: 120px;
  object-fit: contain;
  display: block;
}

._imageSlotMeta_59mo4_115 {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  line-height: 1.3;
}

._imageSlotMetaNone_59mo4_125 {
  font-style: italic;
  opacity: 0.8;
}

/* Popup: 1024x768 frame, click outside to close */
._imageSlotPopupOverlay_59mo4_131 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

._imageSlotPopupContent_59mo4_142 {
  width: 1024px;
  max-width: calc(100vw - 2rem);
  background: var(--bg);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
}

._imageSlotPopupImageWrap_59mo4_154 {
  width: 1024px;
  height: 768px;
  max-width: 100%;
  max-height: min(768px, 80vh);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

._imageSlotPopupImage_59mo4_154 {
  max-width: 1024px;
  max-height: 768px;
  width: auto;
  height: auto;
  object-fit: contain;
}

._imageSlotPopupMeta_59mo4_174 {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

._imageSlotComment_59mo4_183 {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
}

._fileSlot_59mo4_194 {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  background: var(--bg);
}

._fileSlotDragOver_59mo4_201 {
  border-color: rgb(25, 135, 84);
  background: rgba(25, 135, 84, 0.08);
  outline: 2px dashed rgba(25, 135, 84, 0.5);
  outline-offset: 2px;
}

._fileSlotActions_59mo4_208 {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0.25rem;
}

._fileSlotDragIcon_59mo4_216 {
  display: inline-flex;
  color: var(--text-muted);
}
._fileSlot_59mo4_194:hover ._fileSlotDragIcon_59mo4_216 {
  color: var(--text);
}

._fileSlotLabel_59mo4_224 {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

._fileSlotFileName_59mo4_231 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

._fileSlotError_59mo4_237 {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--error, #c2410c);
  line-height: 1.45;
}

._socBlock_59mo4_244 {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background: var(--bg);
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
}

._socBlockFullWidth_59mo4_254 {
  grid-column: 1 / -1;
}

._socBlockLabel_59mo4_258 {
  font-size: 0.9rem;
  color: var(--text-muted);
}

._socBlockSignaturePreview_59mo4_263 {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 4px;
}

._checklistRow_59mo4_271 {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr auto;
  gap: 0.5rem 1rem;
  align-items: start;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

._checklistRowNa_59mo4_280 {
  opacity: 0.6;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 4px;
  margin: 0 -4px;
  padding: 0.5rem 4px;
}

/* Green when Yes + file uploaded */
._checklistRowComplete_59mo4_289 {
  background: rgba(25, 135, 84, 0.1);
  border-radius: 4px;
  margin: 0 -4px;
  padding: 0.5rem 4px;
  border: 1px solid rgba(25, 135, 84, 0.3);
}

._checklistRowLabel_59mo4_297 {
  font-size: 0.9rem;
  color: var(--text-muted);
}

._checklistRowNaCheck_59mo4_302 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

._checklistRowNaCheck_59mo4_302 input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--accent);
}

._checklistRowNaCheck_59mo4_302 span {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

._checklistRowCommentWrap_59mo4_321 {
  grid-column: 4;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  min-height: 2.5rem;
}

/* White box with red border/prompt when explanation required */
._checklistRowCommentWrapRequired_59mo4_331 {
  border-color: rgba(220, 53, 69, 0.6);
  background: #fff;
}

._checklistRowComment_59mo4_321 {
  width: 100%;
  min-height: 2rem;
  padding: 0.35rem 0;
  border: none;
  background: transparent;
  font: inherit;
  color: var(--text);
  resize: none;
  outline: none;
  display: block;
}

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

._checklistRowCommentWrapRequired_59mo4_331 ._checklistRowComment_59mo4_321::placeholder {
  color: rgba(220, 53, 69, 0.9);
}

/* Red prompt text inside the white box */
._checklistRowCommentPrompt_59mo4_358 {
  font-size: 0.75rem;
  color: rgba(220, 53, 69, 0.95);
  margin: 0.35rem 0 0 0;
}

/* Once completed – typed text goes green */
._checklistRowCommentComplete_59mo4_365 ._checklistRowComment_59mo4_321 {
  color: rgb(25, 135, 84);
}

._checklistRowFile_59mo4_369 {
  grid-column: 5;
}

._btnSecondary_59mo4_373 {
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
}

._btnSecondary_59mo4_373:hover {
  background: var(--surface-hover);
  color: var(--text);
}

@media (max-width: 640px) {
  ._checklistRow_59mo4_271 {
    grid-template-columns: 1fr;
  }
  ._checklistRowCommentWrap_59mo4_321,
  ._checklistRowFile_59mo4_369 {
    grid-column: 1;
  }
}
/* Equal-height tiles + flex chain into slotFill ImageSlot — matches embedded SoC grids */
._photoGridStretch_75tcj_2 {
  align-items: stretch;
}

._photoGridStretch_75tcj_2 > div {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 220px;
}

._photoGridStretch_75tcj_2 > div > div:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

._photoGridStretch_75tcj_2 [data-slot-fill] {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
/* Structured file + optional link/N-A rows — slot width capped via shared constrainLayout */

._attachColumn_1ijlx_3 {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  align-items: flex-start;
}

._linkFallback_1ijlx_11,
._naReasonFallback_1ijlx_12 {
  width: 100%;
  max-width: 100%;
}

._linkHint_1ijlx_17 {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.28rem;
}

/*
 * Matches RET triple row so each tile — including GPS in column 1 — has identical column width.
 * Not named `.grid` so MHOP `.docStepSplitMain .grid { single column }` does not flatten RET.
 */
._retTripleGrid_1ijlx_29 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  align-items: stretch;
}

._retTripleCell_1ijlx_36 {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* FieldWithNa root — fill grid cell so short (empty) slots match tall neighbors */
._retTripleCell_1ijlx_36 > div {
  flex: 1;
  min-height: 0;
}

._retTripleCell_1ijlx_36 > div > div:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

._retTripleCell_1ijlx_36 ._attachColumn_1ijlx_3 {
  flex: 1;
  min-height: 0;
  width: 100%;
  align-items: stretch;
  align-self: stretch;
}

._retTripleCell_1ijlx_36 ._attachColumn_1ijlx_3 > :first-child {
  flex: 1;
  min-height: 0;
}

._retTripleCell_1ijlx_36 ._attachColumn_1ijlx_3 > :not(:first-child) {
  flex-shrink: 0;
}

/*
 * Generic `.grid` file rows (Antenna / PIM): same flex chain as `.retTripleCell` so
 * `slotFill` slots stretch to card height with toolbar + status area like RET tiles.
 */
._gridFileSlots_1ijlx_76 {
  align-items: stretch;
}

._gridFileSlots_1ijlx_76 > div {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

._gridFileSlots_1ijlx_76 > div > div:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

._gridFileSlots_1ijlx_76 ._attachColumn_1ijlx_3 {
  flex: 1;
  min-height: 0;
  width: 100%;
  align-items: stretch;
  align-self: stretch;
}

._gridFileSlots_1ijlx_76 ._attachColumn_1ijlx_3 > :first-child {
  flex: 1;
  min-height: 0;
}

._gridFileSlots_1ijlx_76 ._attachColumn_1ijlx_3 > :not(:first-child) {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  ._retTripleGrid_1ijlx_29 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  ._retTripleGrid_1ijlx_29 {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Test call tables – compact layout, pass/fail/na row colours */
._testCallTable_18oyk_2 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}
._testCallTable_18oyk_2 th,
._testCallTable_18oyk_2 td {
  padding: 0.3rem 0.35rem;
  border: 1px solid var(--border);
  vertical-align: middle;
}
._testCallTable_18oyk_2 th {
  background: var(--surface);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
/* Column min-widths so dropdown and header text fit */
._testCallTable_18oyk_2 th:nth-child(1),
._testCallTable_18oyk_2 td:nth-child(1) { min-width: 5.5rem; }  /* Tested + N/A */
._testCallTable_18oyk_2 th:nth-child(2),
._testCallTable_18oyk_2 td:nth-child(2) { min-width: 4.5rem; }  /* Tech */
._testCallTable_18oyk_2 th:nth-child(3),
._testCallTable_18oyk_2 td:nth-child(3) { min-width: 3.25rem; }  /* Freq */
._testCallTable_18oyk_2 th:nth-child(4),
._testCallTable_18oyk_2 td:nth-child(4) { min-width: 4rem; }     /* Band */
._testCallTable_18oyk_2 th:nth-child(5),
._testCallTable_18oyk_2 td:nth-child(5) { min-width: 7rem; }     /* Cell Naming */
._testCallTable_18oyk_2 th:nth-child(6),
._testCallTable_18oyk_2 td:nth-child(6) { min-width: 4.5rem; }   /* Cell ID */
._testCallTable_18oyk_2 th:nth-child(7),
._testCallTable_18oyk_2 td:nth-child(7) { min-width: 3.5rem; }   /* ARFN */
/* S1–S4 result columns: enough for PASS/FAIL/NA */
._testCallTable_18oyk_2 th:nth-child(n+8):nth-child(-n+19),
._testCallTable_18oyk_2 td:nth-child(n+8):nth-child(-n+19) { min-width: 4rem; }
/* Remove dropdown arrow – only the list shows when opened */
._testCallTable_18oyk_2 select,
._callTestTypeSelect_18oyk_39 {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
}
._testCallTable_18oyk_2 select {
  width: 100%;
  min-width: 0;
  padding: 0.2rem 0.35rem;
  font-size: 0.75rem;
  box-sizing: border-box;
}
._callTestTypeSelect_18oyk_39 {
  min-width: 11rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.875rem;
  box-sizing: border-box;
}
._testCallTable_18oyk_2 input[type="text"] {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.2rem 0.35rem;
  font-size: 0.75rem;
  box-sizing: border-box;
}
._rowNa_18oyk_66 {
  text-decoration: line-through;
  opacity: 0.85;
  background: rgba(0, 0, 0, 0.03);
}
._rowTestedNo_18oyk_71 {
  background: rgba(0, 0, 0, 0.35);
  opacity: 0.7;
  pointer-events: auto;
}
._rowTestedNo_18oyk_71 input,
._rowTestedNo_18oyk_71 select {
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
}
._cellPass_18oyk_81 {
  background: rgba(34, 197, 94, 0.35);
}
._cellPass_18oyk_81 select {
  background: rgba(34, 197, 94, 0.25);
}
._cellFail_18oyk_87 {
  background: rgba(239, 68, 68, 0.35);
}
._cellFail_18oyk_87 select {
  background: rgba(239, 68, 68, 0.25);
}
._testedCell_18oyk_93 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}
._naCheck_18oyk_99 {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--text-muted);
}

._testCallTable_18oyk_2 th:last-child {
  min-width: 6.75rem;
}

._screenshotCell_18oyk_111 {
  min-width: 6.75rem;
  max-width: 12rem;
  vertical-align: top;
}

._embedScreenshotSlot_18oyk_117 {
  min-width: 0;
}
._wrap_g40qa_1 {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

._trigger_g40qa_9 {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  text-align: left;
  border: none;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

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

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

._panel_g40qa_32 {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

._metricsList_g40qa_38 {
  list-style: none;
  margin: 0 0 0.75rem 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

._metricsList_g40qa_38 li {
  padding: 0.2rem 0;
}

._metricsList_g40qa_38 strong {
  color: var(--text);
  margin-left: 0.25rem;
}

._resizeBtn_g40qa_55 {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

._resizeBtn_g40qa_55:hover:not(:disabled) {
  filter: brightness(1.1);
}

._resizeBtn_g40qa_55:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
._backdrop_1buqj_1 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

/* Document preview panel – scrollable content */
._panel_1buqj_9 {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 900px);
  height: min(85vh, 700px);
  background: var(--bg);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  border: 1px solid var(--border);
}

._panelHeader_1buqj_25 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  gap: 0.5rem;
}

._panelTitle_1buqj_35 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

._panelActions_1buqj_46 {
  display: flex;
  gap: 0.35rem;
}

._panelBtn_1buqj_51 {
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
._panelBtn_1buqj_51:hover {
  background: var(--surface-hover);
}

._panelBody_1buqj_64 {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0;
}

._panelIframe_1buqj_71 {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: none;
  display: block;
}

/* PDF.js canvas rendering */
._panelPdfContainer_1buqj_80 {
  flex: 1;
  min-height: 400px;
  overflow: auto;
  background: #1a1a1a;
  position: relative;
}
._panelPdfLoading_1buqj_87,
._panelPdfError_1buqj_88 {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}
._panelPdfError_1buqj_88 {
  color: var(--danger, #dc3545);
}
._panelPdfPages_1buqj_96 {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
._panelPdfPageWrap_1buqj_103 {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  background: #fff;
}
._panelPdfPageWrap_1buqj_103 canvas {
  display: block;
  max-width: 100%;
  height: auto;
}
._pdfPageCanvas_1buqj_112 {
  max-width: 100%;
  height: auto;
}

._panelPdfFallback_1buqj_117 {
  padding: 1.5rem;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.9rem;
}
._panelPdfFallback_1buqj_117 p {
  margin: 0 0 0.5rem 0;
}
._panelPdfFallbackBar_1buqj_126 {
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
._panelPdfOpenLink_1buqj_133 {
  color: var(--accent, #0d6efd);
  text-decoration: none;
}
._panelPdfOpenLink_1buqj_133:hover {
  text-decoration: underline;
}

._panelPre_1buqj_141 {
  margin: 0;
  padding: 1rem;
  font-size: 0.85rem;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
  font-family: ui-monospace, monospace;
}

._panelOther_1buqj_151 {
  padding: 1.5rem;
  color: var(--text-muted);
}
._downloadLink_1buqj_155 {
  color: var(--accent, #0d6efd);
}

/* Right-hand toolbar – list of open document viewers */
._toolbar_1buqj_160 {
  position: fixed;
  top: 80px;
  right: 0;
  width: 220px;
  max-height: calc(100vh - 100px);
  background: var(--bg);
  border-left: 1px solid var(--border);
  padding: 0.5rem 0;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
}

._toolbarTitle_1buqj_175 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
}

._toolbarList_1buqj_186 {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  overflow-y: auto;
}

._toolbarItem_1buqj_193 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
}

._toolbarBtn_1buqj_200 {
  flex: 1;
  min-width: 0;
  text-align: left;
  padding: 0.4rem 0.5rem;
  font-size: 0.8rem;
  border-radius: 4px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
._toolbarBtn_1buqj_200:hover {
  background: var(--surface-hover);
}
._toolbarBtnActive_1buqj_215 {
  background: rgba(25, 135, 84, 0.15);
  border-color: rgba(25, 135, 84, 0.4);
}

._toolbarBtnLabel_1buqj_220 {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._toolbarClose_1buqj_227 {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}
._toolbarClose_1buqj_227:hover {
  color: var(--text);
  background: var(--surface-hover);
}

/* Docked sidebar (survey split layout — no fullscreen modal) */

._panelDockRoot_1buqj_247 {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

._panelDocked_1buqj_255 {
  position: relative;
  top: unset;
  left: unset;
  transform: none;
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 1;
  border-radius: 0;
  box-shadow: none;
  border: none;
  z-index: auto;
  display: flex;
  flex-direction: column;
  max-height: none;
}

._panelDocked_1buqj_255 ._panelBody_1buqj_64 {
  flex: 1;
  min-height: 0;
}

._panelDocked_1buqj_255 ._panelPdfContainer_1buqj_80 {
  flex: 1;
  min-height: 200px;
}

._previewDockPlaceholder_1buqj_283 {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  background: color-mix(in srgb, var(--surface-hover) 40%, transparent);
}

._previewDockHint_1buqj_298 {
  margin: 0;
  max-width: 22rem;
  line-height: 1.45;
}

._previewDockInnerBar_1buqj_304 {
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}

._toolbarDocked_1buqj_311 {
  position: relative;
  top: unset;
  right: unset;
  width: 100%;
  max-height: 160px;
  border-left: none;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  flex-shrink: 0;
}

._toolbarDocked_1buqj_311 ._toolbarTitle_1buqj_175 {
  padding: 0.45rem 0.75rem 0.3rem;
}
._container_1kjm5_1 {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

._taskOnlyLayout_1kjm5_7 {
  min-height: 100vh;
  background: var(--surface);
}

._taskOnlyContent_1kjm5_12 {
  max-width: 980px;
  margin: 0.75rem auto;
  padding: 1rem 1.25rem 2rem;
  background: linear-gradient(
    180deg,
    var(--surface-elevated) 0%,
    color-mix(in srgb, var(--surface-elevated) 94%, var(--primary) 6%) 100%
  );
  border: 1px solid color-mix(in srgb, var(--border) 78%, var(--primary) 22%);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

._projectContextCard_1kjm5_26 {
  margin-bottom: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--border) 74%, var(--primary) 26%);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-elevated) 82%, var(--primary) 18%) 0%,
    color-mix(in srgb, var(--surface-elevated) 93%, var(--primary) 7%) 100%
  );
  box-shadow: var(--shadow-md);
  padding: 0.72rem 0.8rem;
}

._projectContextRow_1kjm5_40 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

._projectContextItem_1kjm5_46 {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

._projectContextLabel_1kjm5_53 {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

._projectContextValue_1kjm5_61 {
  font-size: 0.82rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._projectContextAddress_1kjm5_69 {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px dashed color-mix(in srgb, var(--border) 76%, #2563eb 24%);
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

._taskOnlyActions_1kjm5_78 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

._completeTaskBtn_1kjm5_84 {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--success);
  border-radius: var(--radius);
  background: var(--success);
  color: var(--text-inverse);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

._completeTaskBtn_1kjm5_84:hover:not(:disabled) {
  filter: brightness(1.06);
}

._completeTaskBtn_1kjm5_84:disabled {
  opacity: 0.6;
  cursor: default;
}

._taskCompleteNotice_1kjm5_104 {
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--success) 38%, transparent);
  border-radius: var(--radius);
  background: var(--success-soft);
  color: var(--text);
  font-size: 0.8rem;
}

._header_1kjm5_114 {
  margin-bottom: 1rem;
}

._header_1kjm5_114 h1 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

._header_1kjm5_114 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

._stepIndicator_1kjm5_130 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.35rem 0.75rem;
}

._headerMetaRow_1kjm5_140 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

._saveStatusBadge_1kjm5_149 {
  flex-shrink: 0;
}

._form_1kjm5_153 {
  background: var(--surface);
  border-radius: 14px;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

/* Document-heavy MHOP steps: narrow form lane + sticky preview fills remainder */
._docStepSplit_1kjm5_162 {
  display: grid;
  grid-template-columns: minmax(280px, min(448px, 40vw)) minmax(0, 1fr);
  gap: 1rem 1.35rem;
  align-items: stretch;
  width: 100%;
}

._docStepSplitMain_1kjm5_170 {
  min-width: 0;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.35rem;
}

._docStepSplitMain_1kjm5_170 ._grid_1kjm5_178 {
  grid-template-columns: minmax(0, 1fr);
}

._docStepSplitPreview_1kjm5_182 {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: min(520px, calc(100vh - 180px));
  max-height: calc(100vh - 132px);
  border: 1px solid color-mix(in srgb, var(--border) 82%, var(--accent) 18%);
  border-radius: 14px;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--surface) 92%, white) 0%,
    var(--bg) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 4px 14px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  position: sticky;
  top: 0;
  align-self: start;
}

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

  ._docStepSplitMain_1kjm5_170 {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  ._docStepSplitPreview_1kjm5_182 {
    position: relative;
    top: unset;
    min-height: min(440px, 62vh);
    max-height: 65vh;
  }
}

._docStepSplitPreview_1kjm5_182 > :last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

._section_1kjm5_230 {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

._section_1kjm5_230:last-child {
  margin-bottom: 0;
}

._section_1kjm5_230 h2 {
  font-size: 0.98rem;
  margin: 0;
  padding: 0 0 0.7rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

._grid_1kjm5_178 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem 1rem;
  align-items: start;
}

._grid_1kjm5_178 label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

._grid_1kjm5_178 label._fullWidth_1kjm5_262 {
  grid-column: 1 / -1;
}

._grid_1kjm5_178 input,
._grid_1kjm5_178 select,
._grid_1kjm5_178 textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

._grid_1kjm5_178 input:hover,
._grid_1kjm5_178 select:hover,
._grid_1kjm5_178 textarea:hover {
  border-color: color-mix(in srgb, var(--border) 45%, var(--accent) 55%);
}

._grid_1kjm5_178 input:focus,
._grid_1kjm5_178 select:focus,
._grid_1kjm5_178 textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

._grid_1kjm5_178 input._fullWidth_1kjm5_262,
._grid_1kjm5_178 textarea._fullWidth_1kjm5_262 {
  grid-column: 1 / -1;
}

._grid_1kjm5_178 textarea {
  resize: vertical;
  min-height: 90px;
  font-family: inherit;
}

._hint_1kjm5_306 {
  margin: -0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

._infoBar_1kjm5_313 {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}


._actions_1kjm5_325 {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

._button_1kjm5_333,
._buttonSecondary_1kjm5_334 {
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

._button_1kjm5_333 {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

._button_1kjm5_333:hover {
  filter: brightness(1.05);
}

._buttonSecondary_1kjm5_334 {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
}

._buttonSecondary_1kjm5_334:hover {
  background: var(--surface-hover);
  color: var(--text);
}

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

._successCard_1kjm5_363 h2 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: var(--success);
}

._successCard_1kjm5_363 p {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

._steps_1kjm5_381 {
  margin: 1rem 0;
  padding-left: 1.25rem;
  line-height: 1.6;
}

._steps_1kjm5_381 li {
  margin-bottom: 0.5rem;
}

._successCard_1kjm5_363 code {
  background: var(--bg);
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  font-size: 0.84rem;
  word-break: break-all;
}

._note_1kjm5_399 {
  font-size: 0.84rem;
  margin-top: 1rem !important;
}

._photoGrid_1kjm5_404 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

._subsection_1kjm5_410 {
  font-size: 0.9rem;
  margin: 1rem 0 0.15rem;
  color: var(--text);
  font-weight: 600;
}

._progressBarWrap_1kjm5_417 {
  margin-bottom: 1rem;
}

._progressBarLabel_1kjm5_421 {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

._progressBarTrack_1kjm5_430 {
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
}

._progressBarFill_1kjm5_437 {
  height: 100%;
  background: var(--accent);
  border-radius: 5px;
  transition: width 0.2s ease;
}

._layoutWithSidebar_1kjm5_444 {
  display: flex;
  min-height: 100vh;
}

._sidebar_1kjm5_449 {
  flex: 0 0 70px;
  width: 70px;
  min-height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: width 0.25s ease, flex 0.25s ease;
  display: flex;
  flex-direction: column;
}

._sidebar_1kjm5_449._open_1kjm5_461 {
  flex: 0 0 280px;
  width: 280px;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.08);
  position: relative;
}

._sidebarContent_1kjm5_468 {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
  min-width: 0;
}

._sidebarHeaderRow_1kjm5_475 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
}

._sidebarToggleBtn_1kjm5_483 {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

._sidebarToggleBtn_1kjm5_483:hover {
  background: var(--surface-hover);
  color: var(--text);
}

._sidebarCollapsedHeader_1kjm5_504 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

._sidebarCollapsedLabel_1kjm5_513 {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  word-break: break-word;
}

._sidebarHeader_1kjm5_475 {
  padding: 0 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

._journeyDimmed_1kjm5_532 {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.2s;
}

._mainContent_1kjm5_538 {
  flex: 1;
  min-width: 0;
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

._formVersionFooter_1kjm5_546 {
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 900px) {
  ._mainContent_1kjm5_538 {
    padding: 0.9rem 1rem;
  }
}

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

  ._photoGrid_1kjm5_404 {
    grid-template-columns: 1fr;
  }

  ._actions_1kjm5_325 {
    flex-direction: column;
  }
}
._page_jf6w0_1 {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem;
}

._header_jf6w0_7 {
  margin-bottom: 1rem;
}

._headerRow_jf6w0_11 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

._title_jf6w0_19 {
  margin: 0;
  font-size: 1.75rem;
}

._lead_jf6w0_24,
._footerMeta_jf6w0_25,
._modalLead_jf6w0_26 {
  color: var(--text-muted);
}

._mono_jf6w0_30 {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

._primaryBtn_jf6w0_34,
._secondaryBtn_jf6w0_35,
._openLink_jf6w0_36,
._thBtn_jf6w0_37 {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

._primaryBtn_jf6w0_34,
._secondaryBtn_jf6w0_35 {
  padding: 0.65rem 1rem;
}

._primaryBtn_jf6w0_34 {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

._toolbar_jf6w0_56 {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 220px;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

._field_jf6w0_63 {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

._input_jf6w0_74,
._select_jf6w0_75 {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
}

._tableWrap_jf6w0_84 {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

._table_jf6w0_84 {
  width: 100%;
  border-collapse: collapse;
}

._table_jf6w0_84 th,
._table_jf6w0_84 td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

._thBtn_jf6w0_37 {
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
}

._thAction_jf6w0_110 {
  width: 110px;
}

._openLink_jf6w0_36 {
  display: inline-flex;
  padding: 0.4rem 0.7rem;
  text-decoration: none;
}

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

._formError_jf6w0_126 {
  color: #dc2626;
}

._modalRoot_jf6w0_130 {
  position: fixed;
  inset: 0;
  z-index: 50;
}

._modalBackdrop_jf6w0_136 {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(15, 23, 42, 0.45);
}

._modal_jf6w0_26 {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 2rem));
  margin: 3rem auto;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

._modalTitle_jf6w0_154 {
  margin-top: 0;
}

._modalActions_jf6w0_158 {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

._form_jf6w0_126 {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  ._toolbar_jf6w0_56 {
    grid-template-columns: 1fr;
  }
}
._page_1ka2a_1 {
  max-width: 900px;
  display: grid;
  gap: 0.8rem;
}

._title_1ka2a_7 {
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
  font-weight: 700;
}

._lead_1ka2a_13 {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

._progressBarWrap_1ka2a_26 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
}

._progressBarLabel_1ka2a_33 {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

._progressBarTrack_1ka2a_42 {
  height: 9px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

._progressBarFill_1ka2a_49 {
  height: 100%;
  background: var(--accent);
  transition: width 180ms ease;
}

._cardTitle_1ka2a_55 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

._list_1ka2a_60 {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  line-height: 1.5;
}

._primaryBtn_1ka2a_67,
._button_1ka2a_68,
._buttonSecondary_1ka2a_69 {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

._buttonSecondary_1ka2a_69 {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

._primaryBtn_1ka2a_67:hover,
._button_1ka2a_68:hover,
._buttonSecondary_1ka2a_69:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

._assignTitle_1ka2a_96 {
  margin: 0;
  font-size: 1rem;
}

._assignLead_1ka2a_101 {
  margin: 0.4rem 0 0.8rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

._controlsRow_1ka2a_107 {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.55rem 0 0.75rem;
}

._message_1ka2a_114 {
  color: var(--text-muted);
  font-size: 0.85rem;
  align-self: center;
}

._table_1ka2a_120 {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

._table_1ka2a_120 th,
._table_1ka2a_120 td {
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}

._table_1ka2a_120 th {
  background: var(--surface-hover);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
}

._table_1ka2a_120 tr:last-child td {
  border-bottom: none;
}

._infoBar_1ka2a_149 {
  margin-top: 0.85rem;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  color: var(--text);
  font-size: 0.9rem;
}
/* ================================================================== */
/*  Layout                                                             */
/* ================================================================== */

._layout_1pmqg_5 {
  display: flex;
  min-height: 100vh;
}

._taskOnlyLayout_1pmqg_10 {
  min-height: 100vh;
  background: var(--surface);
}

._taskOnlyContent_1pmqg_15 {
  max-width: 980px;
  margin: 0.75rem auto;
  padding: 1rem 1.25rem 2rem;
  background: linear-gradient(
    180deg,
    var(--surface-elevated) 0%,
    color-mix(in srgb, var(--surface-elevated) 94%, var(--primary) 6%) 100%
  );
  border: 1px solid color-mix(in srgb, var(--border) 78%, var(--primary) 22%);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

._projectContextCard_1pmqg_29 {
  margin-bottom: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--border) 74%, var(--primary) 26%);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-elevated) 82%, var(--primary) 18%) 0%,
    color-mix(in srgb, var(--surface-elevated) 93%, var(--primary) 7%) 100%
  );
  box-shadow: var(--shadow-md);
  padding: 0.72rem 0.8rem;
}

._projectContextRow_1pmqg_43 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

._projectContextItem_1pmqg_49 {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

._projectContextLabel_1pmqg_56 {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

._projectContextValue_1pmqg_64 {
  font-size: 0.82rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._projectContextAddress_1pmqg_72 {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px dashed color-mix(in srgb, var(--border) 76%, #2563eb 24%);
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

._taskOnlyActions_1pmqg_81 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

._completeTaskBtn_1pmqg_87 {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--success);
  border-radius: var(--radius);
  background: var(--success);
  color: var(--text-inverse);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

._completeTaskBtn_1pmqg_87:hover:not(:disabled) {
  filter: brightness(1.06);
}

._completeTaskBtn_1pmqg_87:disabled {
  opacity: 0.6;
  cursor: default;
}

._taskCompleteNotice_1pmqg_107 {
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--success) 38%, transparent);
  border-radius: var(--radius);
  background: var(--success-soft);
  color: var(--text);
  font-size: 0.8rem;
}

/* ================================================================== */
/*  Collapsible sidebar                                                */
/* ================================================================== */

._sidebar_1pmqg_121 {
  flex: 0 0 70px;
  width: 70px;
  min-height: 100vh;
  align-self: stretch;
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: width 0.25s ease, flex 0.25s ease;
  display: flex;
  flex-direction: column;
}
._sidebar_1pmqg_121._open_1pmqg_133 {
  flex: 0 0 280px;
  width: 280px;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.08);
  position: relative;
}

._sidebarContent_1pmqg_140 {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
  min-width: 0;
}

/* Expanded header */
._sidebarHeaderRow_1pmqg_148 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
}

._sidebarTitle_1pmqg_156 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._processLabel_1pmqg_165 {
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  background: var(--surface-hover);
  border-radius: var(--radius);
  text-align: center;
  letter-spacing: 0.02em;
  margin: 0 0.5rem 0.25rem;
}

._sidebarToggleBtn_1pmqg_176 {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
._sidebarToggleBtn_1pmqg_176:hover {
  background: var(--surface-hover);
  color: var(--text);
}

/* Collapsed header */
._sidebarCollapsedHeader_1pmqg_197 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
._sidebarCollapsedLabel_1pmqg_205 {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  word-break: break-word;
}

._sidebarNav_1pmqg_216 {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0.25rem;
}

/* Journey filter dimmed */
._journeyDimmed_1pmqg_224 {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* ================================================================== */
/*  Main content area                                                  */
/* ================================================================== */

._content_1pmqg_234 {
  flex: 1;
  min-width: 0;
  padding: 1.5rem 2rem;
  overflow-y: auto;
}

._centerScroll_1pmqg_241 {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--surface-elevated) 0%,
    color-mix(in srgb, var(--surface-elevated) 94%, var(--primary) 6%) 100%
  );
  border: 1px solid color-mix(in srgb, var(--border) 78%, var(--primary) 22%);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

._progressBarWrap_1pmqg_255 {
  margin-bottom: 0.75rem;
}

._progressBarLabel_1pmqg_259 {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

._progressBarTrack_1pmqg_267 {
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
}

._progressBarFill_1pmqg_274 {
  height: 100%;
  background: var(--accent);
  border-radius: 5px;
  transition: width 0.2s ease;
}

._contentHeader_1pmqg_281 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

._contentTitle_1pmqg_290 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
}

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

._stepCounter_1pmqg_302 {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.75rem;
  color: var(--text-muted);
}

._sectionMetrics_1pmqg_313 {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 0.55rem 0.7rem;
  margin-bottom: 0.75rem;
}

._placeholder_1pmqg_323 {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  ._layout_1pmqg_5 {
    flex-direction: column;
  }
  ._sidebar_1pmqg_121, ._sidebar_1pmqg_121._open_1pmqg_133 {
    flex: none;
    width: 100% !important;
    min-height: auto;
    max-height: 50vh;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}
._page_jf6w0_1 {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem;
}

._header_jf6w0_7 {
  margin-bottom: 1rem;
}

._headerRow_jf6w0_11 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

._title_jf6w0_19 {
  margin: 0;
  font-size: 1.75rem;
}

._lead_jf6w0_24,
._footerMeta_jf6w0_25,
._modalLead_jf6w0_26 {
  color: var(--text-muted);
}

._mono_jf6w0_30 {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

._primaryBtn_jf6w0_34,
._secondaryBtn_jf6w0_35,
._openLink_jf6w0_36,
._thBtn_jf6w0_37 {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

._primaryBtn_jf6w0_34,
._secondaryBtn_jf6w0_35 {
  padding: 0.65rem 1rem;
}

._primaryBtn_jf6w0_34 {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

._toolbar_jf6w0_56 {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 220px;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

._field_jf6w0_63 {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

._input_jf6w0_74,
._select_jf6w0_75 {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
}

._tableWrap_jf6w0_84 {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

._table_jf6w0_84 {
  width: 100%;
  border-collapse: collapse;
}

._table_jf6w0_84 th,
._table_jf6w0_84 td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

._thBtn_jf6w0_37 {
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
}

._thAction_jf6w0_110 {
  width: 110px;
}

._openLink_jf6w0_36 {
  display: inline-flex;
  padding: 0.4rem 0.7rem;
  text-decoration: none;
}

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

._formError_jf6w0_126 {
  color: #dc2626;
}

._modalRoot_jf6w0_130 {
  position: fixed;
  inset: 0;
  z-index: 50;
}

._modalBackdrop_jf6w0_136 {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(15, 23, 42, 0.45);
}

._modal_jf6w0_26 {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 2rem));
  margin: 3rem auto;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

._modalTitle_jf6w0_154 {
  margin-top: 0;
}

._modalActions_jf6w0_158 {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

._form_jf6w0_126 {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  ._toolbar_jf6w0_56 {
    grid-template-columns: 1fr;
  }
}
._bar_1qc05_1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

._breadcrumb_1qc05_11 {
  display: flex;
  align-items: center;
  gap: 6px;
}

._segment_1qc05_17 {
  display: flex;
  align-items: center;
  gap: 4px;
}

._select_1qc05_23 {
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
  max-width: 240px;
}

._select_1qc05_23:focus {
  outline: none;
  border-color: var(--primary);
}

._clear_1qc05_39 {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

._clear_1qc05_39:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

._separator_1qc05_58 {
  color: var(--text-muted);
  font-size: 16px;
}

._context_1qc05_63 {
  font-size: 11px;
  color: var(--primary);
  font-weight: 500;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
._shell_1hdfv_1 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

._header_1hdfv_7 {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  height: 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

._brand_1hdfv_20 {
  display: flex;
  align-items: center;
  gap: 10px;
}

._logo_1hdfv_26 {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

._brandText_1hdfv_39 {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

._brandName_1hdfv_45 {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

._brandSub_1hdfv_51 {
  font-size: 11px;
  color: var(--text-muted);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._nav_1hdfv_60 {
  display: flex;
  gap: 4px;
  flex: 1;
  margin-left: 16px;
}

._navLink_1hdfv_67 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s;
}

._navLink_1hdfv_67:hover {
  background: var(--surface-hover);
  color: var(--text);
  text-decoration: none;
}

._navActive_1hdfv_86 {
  background: var(--accent-dim);
  color: var(--primary);
}

._navIcon_1hdfv_91 {
  font-size: 15px;
}

._sessionArea_1hdfv_95 {
  display: flex;
  align-items: center;
  gap: 12px;
}

._timer_1hdfv_101 {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-hover);
}

._timerWarn_1hdfv_111 {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.15);
  animation: _timerPulse_1hdfv_1 1s infinite;
}

._session_1hdfv_95 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
}

._sessionDot_1hdfv_126 {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: _pulse_1hdfv_1 2s infinite;
}

._logoutBtn_1hdfv_134 {
  padding: 5px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

._logoutBtn_1hdfv_134:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

._timeoutBanner_1hdfv_151 {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(239, 68, 68, 0.3);
}

@keyframes _pulse_1hdfv_1 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes _timerPulse_1hdfv_1 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

._main_1hdfv_171 {
  flex: 1;
  padding: 24px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
._gatePage_1o0xs_1 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  padding: 24px;
}

._gateCard_1o0xs_10 {
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

._headerArea_1o0xs_20 {
  text-align: center;
  margin-bottom: 28px;
}

._logoMark_1o0xs_25 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
  border-radius: 14px;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 12px;
}

._headerArea_1o0xs_20 h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

._muted_1o0xs_45 {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

._code_1o0xs_52 {
  font-size: 0.85em;
  padding: 0.15em 0.45em;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.12);
}

._errorText_1o0xs_59 {
  font-size: 14px;
  color: var(--danger);
  margin: 0 0 16px;
  line-height: 1.5;
}

._actions_1o0xs_66 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

._primaryBtn_1o0xs_73 {
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

._primaryBtn_1o0xs_73:hover {
  background: var(--primary-hover);
}

._secondaryBtn_1o0xs_88 {
  padding: 10px 20px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  cursor: pointer;
}

._secondaryBtn_1o0xs_88:hover {
  border-color: var(--primary);
  color: var(--primary);
}
/* ---- Layout ---- */
._page_1r4zw_2 { display: flex; flex-direction: column; gap: 20px; }
._pageHeader_1r4zw_3 { display: flex; align-items: center; gap: 12px; }
._pageHeader_1r4zw_3 h1 { font-size: 22px; font-weight: 700; }
._badge_1r4zw_5 {
  font-size: 12px; font-weight: 500; padding: 2px 10px;
  background: var(--accent-dim); color: var(--primary);
  border-radius: 20px;
}

._empty_1r4zw_11 {
  text-align: center; padding: 80px 24px;
  color: var(--text-muted);
}
._empty_1r4zw_11 h2 { margin-bottom: 8px; color: var(--text); }
._hint_1r4zw_16 { font-size: 13px; margin-top: 12px; }

/* ---- KPI Cards ---- */
._kpiGrid_1r4zw_19 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
._kpiCard_1r4zw_22 {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 20px;
  display: flex; flex-direction: column; align-items: center;
}
._kpiValue_1r4zw_27 { font-size: 28px; font-weight: 700; }
._kpiLabel_1r4zw_28 { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
._kpiDanger_1r4zw_29 ._kpiValue_1r4zw_27 { color: var(--danger); }
._kpiClickable_1r4zw_30 { cursor: pointer; transition: all 0.15s; }
._kpiClickable_1r4zw_30:hover { border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }

/* ---- Cards ---- */
._card_1r4zw_34 {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 20px; overflow: hidden;
}
._cardHeader_1r4zw_38 {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
._cardHeader_1r4zw_38 h2 { font-size: 15px; font-weight: 600; }
._cardLink_1r4zw_43 { font-size: 13px; color: var(--primary); }
._cardEmpty_1r4zw_44 { font-size: 13px; color: var(--text-muted); text-align: center; padding: 24px 0; }

/* ---- Two Column ---- */
._twoCol_1r4zw_47 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- List Stack ---- */
._listStack_1r4zw_50 { display: flex; flex-direction: column; gap: 8px; }
._listItem_1r4zw_51 {
  padding: 10px 12px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid transparent;
  transition: border-color 0.15s;
}
._listItem_1r4zw_51:hover { border-color: var(--border); }
._listItemClickable_1r4zw_57 { cursor: pointer; }
._listItemClickable_1r4zw_57:hover { border-color: var(--primary); background: var(--surface-hover); }
._listItemTop_1r4zw_59 { display: flex; align-items: center; gap: 8px; }
._listTitle_1r4zw_60 { font-size: 13px; font-weight: 500; flex: 1; }
._listMeta_1r4zw_61 {
  display: flex; gap: 12px; font-size: 11px; color: var(--text-muted); margin-top: 4px;
  text-transform: capitalize;
}

/* ---- Priority Dots ---- */
._priorityDot_1r4zw_67 {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
._prio_urgent_1r4zw_70 { background: var(--danger); }
._prio_high_1r4zw_71 { background: var(--warning); }
._prio_medium_1r4zw_72 { background: var(--primary); }
._prio_low_1r4zw_73 { background: var(--rag-grey); }

/* ---- Status Badges ---- */
._statusBadge_1r4zw_76 {
  font-size: 11px; padding: 2px 8px; border-radius: 10px;
  font-weight: 500; text-transform: capitalize; white-space: nowrap;
}
._status_draft_1r4zw_80 { background: #e2e8f0; color: #475569; }
._status_sent_1r4zw_81 { background: #dbeafe; color: #1e40af; }
._status_acknowledged_1r4zw_82 { background: #e0e7ff; color: #4338ca; }
._status_in_progress_1r4zw_83 { background: #fef3c7; color: #92400e; }
._status_completed_1r4zw_84 { background: #d1fae5; color: #065f46; }
._status_overdue_1r4zw_85 { background: #fee2e2; color: #991b1b; }
._status_cancelled_1r4zw_86 { background: #f1f5f9; color: #64748b; }

._docStatus_clean_1r4zw_88 { background: #d1fae5; color: #065f46; }
._docStatus_approved_1r4zw_89 { background: #d1fae5; color: #065f46; }
._docStatus_rejected_1r4zw_90 { background: #fee2e2; color: #991b1b; }
._docStatus_quarantined_1r4zw_91 { background: #fef3c7; color: #92400e; }
._docStatus_scanning_1r4zw_92 { background: #dbeafe; color: #1e40af; }
._docStatus_uploading_1r4zw_93 { background: #e0e7ff; color: #4338ca; }
._docStatus_archived_1r4zw_94 { background: #f1f5f9; color: #64748b; }
._docStatus_superseded_1r4zw_95 { background: #f1f5f9; color: #64748b; }

/* ---- File Icon ---- */
._fileIcon_1r4zw_98 { font-size: 16px; }
._fileName_1r4zw_99 { display: flex; align-items: center; gap: 6px; font-size: 13px; }
._catBadge_1r4zw_100 {
  font-size: 11px; padding: 1px 6px; border-radius: 6px;
  background: var(--surface-hover); text-transform: capitalize;
}

/* ---- Overdue ---- */
._overdue_1r4zw_106 { color: var(--danger); font-weight: 600; }

/* ---- Workspace Cards ---- */
._wsGrid_1r4zw_109 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
._wsCard_1r4zw_110 {
  padding: 14px 16px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border);
  transition: all 0.15s;
}
._wsCardClickable_1r4zw_115 { cursor: pointer; }
._wsCardClickable_1r4zw_115:hover { border-color: var(--primary); background: var(--surface-hover); }
._wsName_1r4zw_117 { font-size: 14px; font-weight: 600; }
._wsBadge_1r4zw_118 {
  display: inline-block; font-size: 11px; padding: 1px 8px;
  border-radius: 10px; margin-top: 4px; text-transform: capitalize;
}
._ws_active_1r4zw_122 { background: #d1fae5; color: #065f46; }
._ws_suspended_1r4zw_123 { background: #fef3c7; color: #92400e; }
._ws_archived_1r4zw_124 { background: #f1f5f9; color: #64748b; }
._wsMeta_1r4zw_125 {
  display: flex; gap: 12px; font-size: 11px; color: var(--text-muted); margin-top: 8px;
}

/* ---- Filter Bar ---- */
._filterBar_1r4zw_130 {
  display: flex; gap: 4px; flex-wrap: wrap;
}
._filterBtn_1r4zw_133 {
  padding: 5px 12px; border-radius: 20px; font-size: 12px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted); cursor: pointer; text-transform: capitalize;
  transition: all 0.15s;
}
._filterBtn_1r4zw_133:hover { border-color: var(--primary); color: var(--text); }
._filterActive_1r4zw_140 {
  background: var(--accent-dim); color: var(--primary);
  border-color: var(--primary);
}

/* ---- Instructions ---- */
._instrList_1r4zw_146 { display: flex; flex-direction: column; gap: 8px; }
._instrCard_1r4zw_147 {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
._instrOverdue_1r4zw_151 { border-left: 3px solid var(--danger); }
._instrHeader_1r4zw_152 {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; cursor: pointer;
}
._instrHeader_1r4zw_152:hover { background: var(--surface-hover); }
._instrTitle_1r4zw_157 { flex: 1; min-width: 0; }
._instrName_1r4zw_158 { font-size: 14px; font-weight: 500; display: block; }
._instrType_1r4zw_159 { font-size: 11px; color: var(--text-muted); text-transform: capitalize; }
._instrRight_1r4zw_160 { display: flex; align-items: center; gap: 10px; }
._instrDue_1r4zw_161 { font-size: 12px; color: var(--text-muted); }
._chevron_1r4zw_162 { font-size: 10px; color: var(--text-muted); }

._instrBody_1r4zw_164 { padding: 0 16px 16px; }
._instrDesc_1r4zw_165 { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
._instrMeta_1r4zw_166 {
  display: flex; gap: 16px; font-size: 12px; color: var(--text-muted);
  margin-bottom: 12px; text-transform: capitalize;
}
._quoteInfo_1r4zw_170 {
  font-size: 14px; font-weight: 600; color: var(--primary);
  margin-bottom: 12px;
}

/* ---- Response Area ---- */
._responseArea_1r4zw_176 { margin-top: 12px; }
._fieldLabel_1r4zw_177 { font-size: 12px; font-weight: 500; color: var(--text-muted); margin-bottom: 4px; display: block; }
._textarea_1r4zw_178 {
  width: 100%; padding: 8px 10px; border-radius: var(--radius);
  border: 1px solid var(--border); font-size: 13px; resize: vertical;
  background: var(--bg);
}
._dateInput_1r4zw_183 {
  padding: 6px 10px; border-radius: var(--radius);
  border: 1px solid var(--border); font-size: 13px;
}
._responseRow_1r4zw_187 {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-top: 8px;
}
._responseActions_1r4zw_191 { display: flex; gap: 8px; }

/* ---- Buttons ---- */
._btnPrimary_1r4zw_194, ._btnSecondary_1r4zw_194, ._btnSuccess_1r4zw_194 {
  padding: 6px 16px; border-radius: var(--radius); font-size: 13px;
  font-weight: 500; border: none; cursor: pointer; transition: all 0.15s;
}
._btnPrimary_1r4zw_194 { background: var(--primary); color: #fff; }
._btnPrimary_1r4zw_194:hover { background: var(--primary-hover); }
._btnSecondary_1r4zw_194 { background: var(--surface-hover); color: var(--text); border: 1px solid var(--border); }
._btnSecondary_1r4zw_194:hover { background: var(--border); }
._btnSuccess_1r4zw_194 { background: var(--success); color: #fff; }
._btnSuccess_1r4zw_194:hover { opacity: 0.9; }

._instrActions_1r4zw_205 { display: flex; gap: 8px; margin-top: 12px; }

/* ---- Instruction Attachments ---- */
._docSection_1r4zw_208 { margin-top: 12px; }
._docSectionHeader_1r4zw_209 {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
._docList_1r4zw_213 { display: flex; flex-direction: column; gap: 4px; }
._docItem_1r4zw_214 {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border);
  font-size: 13px;
}
._docName_1r4zw_220 { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
._docSize_1r4zw_221 { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
._docEmpty_1r4zw_222 {
  font-size: 12px; color: var(--text-muted);
  padding: 10px; background: var(--bg); border-radius: var(--radius);
  border: 1px dashed var(--border); text-align: center;
}
._btnUploadSmall_1r4zw_227 {
  padding: 4px 10px; border-radius: var(--radius); font-size: 12px;
  font-weight: 500; border: 1px solid var(--primary); background: transparent;
  color: var(--primary); cursor: pointer; transition: all 0.15s;
}
._btnUploadSmall_1r4zw_227:hover { background: var(--accent-dim); }
._requiredTag_1r4zw_233 { color: var(--danger); font-weight: 600; }
._attachIcon_1r4zw_234 { margin-left: 6px; font-size: 14px; }
._btnMarkup_1r4zw_235 {
  padding: 2px 8px; border-radius: var(--radius); font-size: 10px;
  font-weight: 600; border: 1px solid var(--primary); background: transparent;
  color: var(--primary); cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
._btnMarkup_1r4zw_235:hover { background: var(--accent-dim); }

._markupOverlay_1r4zw_242 {
  position: fixed; inset: 0; z-index: 250;
  background: var(--bg);
  display: flex; flex-direction: column;
}

._siteBadge_1r4zw_248 {
  margin-left: 8px; padding: 1px 6px; border-radius: 4px;
  background: var(--accent-dim); color: var(--primary);
  font-size: 10px; font-weight: 600; text-transform: none;
}

/* ---- Drop Zone ---- */
._dropZone_1r4zw_255 {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 10px; transition: all 0.2s; min-height: 60px;
}
._dropZoneActive_1r4zw_259 {
  border-color: var(--primary); background: var(--accent-dim);
}
._dropEmpty_1r4zw_262 {
  text-align: center; padding: 16px 12px; color: var(--text-muted);
}
._dropIcon_1r4zw_265 { font-size: 22px; display: block; margin-bottom: 4px; }
._dropEmpty_1r4zw_262 p { font-size: 12px; margin-bottom: 4px; }
._dropFormats_1r4zw_267 { font-size: 10px; color: var(--text-muted); opacity: 0.7; }
._dropHint_1r4zw_268 {
  font-size: 11px; color: var(--text-muted); text-align: center;
  padding: 6px 0 2px; opacity: 0.7;
}
._btnRemoveDoc_1r4zw_272 {
  width: 22px; height: 22px; border-radius: 50%; border: none;
  background: transparent; color: var(--text-muted); cursor: pointer;
  font-size: 12px; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; flex-shrink: 0;
}
._btnRemoveDoc_1r4zw_272:hover { background: rgba(239, 68, 68, 0.15); color: var(--danger); }

/* ---- History ---- */
._historyDetails_1r4zw_281 { margin-top: 12px; font-size: 12px; }
._historyDetails_1r4zw_281 summary { cursor: pointer; color: var(--text-muted); font-weight: 500; }
._historyList_1r4zw_283 { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
._historyItem_1r4zw_284 { display: flex; gap: 12px; padding: 4px 0; }
._historyStatus_1r4zw_285 { text-transform: capitalize; font-weight: 500; min-width: 100px; }
._historyBy_1r4zw_286 { color: var(--text-muted); min-width: 80px; }
._historyDate_1r4zw_287 { color: var(--text-muted); }

/* ---- Upload Zone ---- */
._uploadZone_1r4zw_290 {
  border: 2px dashed var(--border); border-radius: var(--radius-lg);
  padding: 32px; text-align: center; cursor: pointer;
  transition: all 0.2s; color: var(--text-muted);
}
._uploadZone_1r4zw_290:hover { border-color: var(--primary); background: var(--accent-dim); }
._uploadDragOver_1r4zw_296 { border-color: var(--primary); background: var(--accent-dim); }
._uploadIcon_1r4zw_297 { font-size: 28px; margin-bottom: 8px; }
._uploadHint_1r4zw_298 { font-size: 11px; margin-top: 4px; display: block; }
._uploadError_1r4zw_299 { font-size: 13px; color: var(--danger); margin-top: 4px; }

/* ---- Table ---- */
._tableWrap_1r4zw_302 { overflow-x: auto; }
._table_1r4zw_302 {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
._table_1r4zw_302 th {
  text-align: left; padding: 8px 12px; font-size: 11px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-muted); border-bottom: 1px solid var(--border);
}
._table_1r4zw_302 td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
._table_1r4zw_302 tr:last-child td { border-bottom: none; }
._table_1r4zw_302 tbody tr:hover { background: var(--surface-hover); }
._tableEmpty_1r4zw_314 { text-align: center; color: var(--text-muted); padding: 24px !important; }

/* ---- Metrics ---- */
._ratingBanner_1r4zw_317 {
  display: flex; align-items: center; gap: 20px;
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #fff; padding: 24px 28px; border-radius: var(--radius-lg);
}
._ratingCircle_1r4zw_322 {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,0.15); display: flex;
  align-items: baseline; justify-content: center; flex-shrink: 0;
}
._ratingValue_1r4zw_327 { font-size: 32px; font-weight: 700; }
._ratingMax_1r4zw_328 { font-size: 16px; opacity: 0.7; }
._ratingText_1r4zw_329 h2 { font-size: 18px; font-weight: 600; }
._ratingText_1r4zw_329 p { font-size: 13px; opacity: 0.8; margin-top: 4px; }

._metricsGrid_1r4zw_332 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
._metricCard_1r4zw_333 {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  display: flex; flex-direction: column;
  border-top: 3px solid transparent;
}
._metricMet_1r4zw_339 { border-top-color: var(--success); }
._metricMissed_1r4zw_340 { border-top-color: var(--danger); }
._metricValue_1r4zw_341 { font-size: 24px; font-weight: 700; }
._metricLabel_1r4zw_342 { font-size: 13px; font-weight: 500; margin-top: 2px; }
._metricTarget_1r4zw_343 { font-size: 11px; color: var(--text-muted); margin-top: 6px; }
._metricDetail_1r4zw_344 { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

._summaryGrid_1r4zw_346 { display: flex; flex-direction: column; gap: 6px; }
._summaryRow_1r4zw_347 {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
._summaryRow_1r4zw_347:last-child { border-bottom: none; }
._summaryValue_1r4zw_353 { font-weight: 600; font-size: 15px; }

._miniBar_1r4zw_355 {
  display: flex; align-items: center; gap: 8px; height: 18px;
}
._miniBar_1r4zw_355 span { font-size: 12px; font-weight: 500; min-width: 36px; }
._miniBarFill_1r4zw_359 {
  height: 6px; background: var(--success); border-radius: 3px;
  min-width: 0; max-width: 100px; transition: width 0.3s;
}

/* ---- Toast ---- */
._toast_1r4zw_365 {
  position: fixed;
  top: 70px;
  right: 24px;
  background: var(--success);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: _slideIn_1r4zw_1 0.3s ease;
}
@keyframes _slideIn_1r4zw_1 {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ---- Completed Response ---- */
._completedResponse_1r4zw_385 {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--success);
}
._completedResponse_1r4zw_385 p { font-size: 13px; margin-top: 4px; }

/* ---- Status: pending ---- */
._status_pending_1r4zw_395 { background: #e0e7ff; color: #4338ca; }

/* ---- Completeness/Programme ---- */
._progGrid_1r4zw_398 { display: flex; flex-direction: column; gap: 12px; }
._progBar_1r4zw_399 { }
._progInfo_1r4zw_400 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
._progName_1r4zw_401 { font-size: 13px; font-weight: 500; }
._progPct_1r4zw_402 { font-size: 14px; font-weight: 700; color: var(--primary); }
._progTrack_1r4zw_403 {
  height: 8px; background: var(--border); border-radius: 4px; overflow: hidden;
}
._progFill_1r4zw_406 {
  height: 100%; background: linear-gradient(90deg, var(--primary), var(--success));
  border-radius: 4px; transition: width 0.5s;
}
._progDetail_1r4zw_410 { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

._overdueBadge_1r4zw_412 {
  font-size: 11px; padding: 2px 8px; border-radius: 10px;
  background: #fee2e2; color: #991b1b; font-weight: 600; white-space: nowrap;
}
._badgeDanger_1r4zw_416 { background: rgba(239, 68, 68, 0.15); color: var(--danger); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  ._twoCol_1r4zw_47 { grid-template-columns: 1fr; }
  ._kpiGrid_1r4zw_19 { grid-template-columns: repeat(2, 1fr); }
  ._metricsGrid_1r4zw_332 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  ._kpiGrid_1r4zw_19 { grid-template-columns: 1fr 1fr; }
  ._metricsGrid_1r4zw_332 { grid-template-columns: 1fr; }
}
._overlay_gj2l1_1 {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 300;
}
._modal_gj2l1_6 {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); width: 480px; max-width: 95vw;
  max-height: 85vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
._header_gj2l1_12 {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 0;
}
._header_gj2l1_12 h3 { font-size: 16px; font-weight: 700; }
._closeBtn_gj2l1_17 {
  width: 28px; height: 28px; border-radius: 50%; border: none;
  background: transparent; color: var(--text-muted); font-size: 14px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
._closeBtn_gj2l1_17:hover { background: var(--surface-hover); }
._subtitle_gj2l1_23 {
  padding: 4px 20px 12px; font-size: 13px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
._checkList_gj2l1_27 { padding: 12px 20px; display: flex; flex-direction: column; gap: 8px; }
._checkRow_gj2l1_28 {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 12px; border-radius: var(--radius);
}
._checkPassed_gj2l1_32 { background: rgba(34, 197, 94, 0.08); }
._checkFailed_gj2l1_33 { background: rgba(239, 68, 68, 0.08); }
._checkIcon_gj2l1_34 {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
._checkPassed_gj2l1_32 ._checkIcon_gj2l1_34 { background: rgba(34, 197, 94, 0.2); color: #16a34a; }
._checkFailed_gj2l1_33 ._checkIcon_gj2l1_34 { background: rgba(239, 68, 68, 0.2); color: #dc2626; }
._checkContent_gj2l1_41 { flex: 1; }
._checkLabel_gj2l1_42 { display: block; font-size: 13px; font-weight: 500; }
._checkMessage_gj2l1_43 { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
._footer_gj2l1_44 { padding: 12px 20px 16px; border-top: 1px solid var(--border); }
._readyMsg_gj2l1_45 { font-size: 13px; color: var(--success); font-weight: 500; margin-bottom: 10px; }
._blockedMsg_gj2l1_46 { font-size: 13px; color: var(--danger); font-weight: 500; margin-bottom: 10px; }
._footerActions_gj2l1_47 { display: flex; gap: 8px; justify-content: flex-end; }
._cancelBtn_gj2l1_48 {
  padding: 8px 16px; border-radius: var(--radius); font-size: 13px;
  border: 1px solid var(--border); background: transparent; color: var(--text);
  cursor: pointer;
}
._cancelBtn_gj2l1_48:hover { background: var(--surface-hover); }
._confirmBtn_gj2l1_54 {
  padding: 8px 20px; border-radius: var(--radius); font-size: 13px;
  border: none; background: var(--success); color: #fff;
  cursor: pointer; font-weight: 600;
}
._confirmBtn_gj2l1_54:hover { opacity: 0.9; }
._viewer_vzi63_1 {
  display: flex; flex-direction: column; height: 100%; background: var(--bg);
  border-left: 1px solid var(--border);
}

._toolbar_vzi63_6 {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px; background: var(--surface);
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
._filename_vzi63_11 { font-size: 12px; font-weight: 600; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
._toolbarCenter_vzi63_12 { font-size: 11px; color: var(--text-muted); }
._toolbarRight_vzi63_13 { display: flex; align-items: center; gap: 6px; }
._zoomBtn_vzi63_14 {
  width: 26px; height: 26px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
._zoomBtn_vzi63_14:hover { background: var(--surface-hover); }
._zoomLevel_vzi63_20 { font-size: 11px; font-weight: 500; min-width: 36px; text-align: center; }
._closeBtn_vzi63_21 {
  width: 26px; height: 26px; border-radius: var(--radius); border: none;
  background: transparent; color: var(--text-muted); font-size: 14px; cursor: pointer;
  margin-left: 8px;
}
._closeBtn_vzi63_21:hover { background: var(--surface-hover); color: var(--danger); }
._annotCount_vzi63_27 { padding: 2px 8px; border-radius: 10px; background: var(--accent-dim); color: var(--primary); font-weight: 500; }

._viewerBody_vzi63_29 { display: flex; flex: 1; min-height: 0; overflow: hidden; }

._canvasArea_vzi63_31 { flex: 1; overflow: auto; display: flex; justify-content: center; padding: 12px; background: #1a1a2e; }
._canvasWrapper_vzi63_32 { position: relative; transition: transform 0.15s; }

._placeholder_vzi63_34 {
  position: relative; background: #1e293b; border: 1px solid #334155; box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
._placeholderTitle_vzi63_37 {
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 2px;
}
._placeholderLabel_vzi63_41 { font-size: 14px; font-weight: 700; color: #94a3b8; letter-spacing: 1px; }
._placeholderFile_vzi63_42 { font-size: 11px; color: #64748b; }
._placeholderInfo_vzi63_43 { font-size: 10px; color: #475569; }
._placeholderGrid_vzi63_44 { position: absolute; top: 0; left: 0; pointer-events: none; }

._overlay_vzi63_46 { position: absolute; top: 0; left: 0; pointer-events: all; }
._annotationGroup_vzi63_47 { transition: opacity 0.2s; }

/* ---- Comment Panel ---- */
._commentPanel_vzi63_50 {
  width: 280px; flex-shrink: 0; background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden;
}
._commentHeader_vzi63_55 {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-bottom: 1px solid var(--border);
}
._commentType_vzi63_59 { font-size: 12px; font-weight: 600; text-transform: capitalize; margin-right: 6px; }
._commentStatus_vzi63_60 { font-size: 10px; padding: 1px 6px; border-radius: 8px; font-weight: 600; }
._statusOpen_vzi63_61 { background: #fef3c7; color: #92400e; }
._statusClosed_vzi63_62 { background: #d1fae5; color: #065f46; }
._commentClose_vzi63_63 {
  width: 22px; height: 22px; border-radius: 50%; border: none;
  background: transparent; color: var(--text-muted); font-size: 12px; cursor: pointer;
}
._commentClose_vzi63_63:hover { background: var(--surface-hover); }
._commentAuthor_vzi63_68 { font-size: 11px; color: var(--text-muted); padding: 4px 12px; }

._commentList_vzi63_70 { flex: 1; overflow-y: auto; padding: 8px 12px; display: flex; flex-direction: column; gap: 8px; }
._commentItem_vzi63_71 {
  padding: 8px; border-radius: var(--radius); background: var(--bg);
  border-left: 3px solid var(--border);
}
._commentReply_vzi63_75 { border-left-color: var(--primary); background: var(--accent-dim); }
._commentMeta_vzi63_76 { display: flex; justify-content: space-between; margin-bottom: 3px; }
._commentName_vzi63_77 { font-size: 11px; font-weight: 600; }
._commentTime_vzi63_78 { font-size: 10px; color: var(--text-muted); }
._commentText_vzi63_79 { font-size: 12px; line-height: 1.4; }

._replyArea_vzi63_81 { padding: 8px 12px; border-top: 1px solid var(--border); }
._replyInput_vzi63_82 {
  width: 100%; padding: 6px 8px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--bg); color: var(--text);
  font-size: 12px; resize: none;
}
._replyInput_vzi63_82:focus { outline: none; border-color: var(--primary); }
._replyBtn_vzi63_88 {
  margin-top: 4px; padding: 4px 12px; border-radius: var(--radius);
  border: none; background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 500; cursor: pointer; float: right;
}
._replyBtn_vzi63_88:hover { opacity: 0.9; }
._replyBtn_vzi63_88:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---- Annotation List (bottom bar) ---- */
._annotList_vzi63_97 {
  padding: 8px 12px; border-top: 1px solid var(--border);
  background: var(--surface); flex-shrink: 0;
}
._annotListTitle_vzi63_101 { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
._annotItems_vzi63_102 { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
._annotItem_vzi63_102 {
  display: flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg);
  font-size: 11px; cursor: pointer; color: var(--text);
}
._annotItem_vzi63_102:hover { border-color: var(--primary); }
._annotItemSelected_vzi63_110 { border-color: var(--primary); background: var(--accent-dim); }
._annotDot_vzi63_111 { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
._annotDotOpen_vzi63_112 { background: #f59e0b; }
._annotDotClosed_vzi63_113 { background: #22c55e; }
._annotLabel_vzi63_114 { text-transform: capitalize; font-weight: 500; }
._annotComments_vzi63_115 { color: var(--text-muted); }
/* this gets exported as style.css and can be used for the default theming */
/* these are the necessary styles for React/Svelte Flow, they get used by base.css and style.css */
.react-flow {
  direction: ltr;

  --xy-edge-stroke-default: #b1b1b7;
  --xy-edge-stroke-width-default: 1;
  --xy-edge-stroke-selected-default: #555;

  --xy-connectionline-stroke-default: #b1b1b7;
  --xy-connectionline-stroke-width-default: 1;

  --xy-attribution-background-color-default: rgba(255, 255, 255, 0.5);

  --xy-minimap-background-color-default: #fff;
  --xy-minimap-mask-background-color-default: rgba(240, 240, 240, 0.6);
  --xy-minimap-mask-stroke-color-default: transparent;
  --xy-minimap-mask-stroke-width-default: 1;
  --xy-minimap-node-background-color-default: #e2e2e2;
  --xy-minimap-node-stroke-color-default: transparent;
  --xy-minimap-node-stroke-width-default: 2;

  --xy-background-color-default: transparent;
  --xy-background-pattern-dots-color-default: #91919a;
  --xy-background-pattern-lines-color-default: #eee;
  --xy-background-pattern-cross-color-default: #e2e2e2;
  background-color: var(--xy-background-color, var(--xy-background-color-default));
  --xy-node-color-default: inherit;
  --xy-node-border-default: 1px solid #1a192b;
  --xy-node-background-color-default: #fff;
  --xy-node-group-background-color-default: rgba(240, 240, 240, 0.25);
  --xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, 0.08);
  --xy-node-boxshadow-selected-default: 0 0 0 0.5px #1a192b;
  --xy-node-border-radius-default: 3px;

  --xy-handle-background-color-default: #1a192b;
  --xy-handle-border-color-default: #fff;

  --xy-selection-background-color-default: rgba(0, 89, 220, 0.08);
  --xy-selection-border-default: 1px dotted rgba(0, 89, 220, 0.8);

  --xy-controls-button-background-color-default: #fefefe;
  --xy-controls-button-background-color-hover-default: #f4f4f4;
  --xy-controls-button-color-default: inherit;
  --xy-controls-button-color-hover-default: inherit;
  --xy-controls-button-border-color-default: #eee;
  --xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.08);

  --xy-edge-label-background-color-default: #ffffff;
  --xy-edge-label-color-default: inherit;
  --xy-resize-background-color-default: #3367d9;
}
.react-flow.dark {
  --xy-edge-stroke-default: #3e3e3e;
  --xy-edge-stroke-width-default: 1;
  --xy-edge-stroke-selected-default: #727272;

  --xy-connectionline-stroke-default: #b1b1b7;
  --xy-connectionline-stroke-width-default: 1;

  --xy-attribution-background-color-default: rgba(150, 150, 150, 0.25);

  --xy-minimap-background-color-default: #141414;
  --xy-minimap-mask-background-color-default: rgba(60, 60, 60, 0.6);
  --xy-minimap-mask-stroke-color-default: transparent;
  --xy-minimap-mask-stroke-width-default: 1;
  --xy-minimap-node-background-color-default: #2b2b2b;
  --xy-minimap-node-stroke-color-default: transparent;
  --xy-minimap-node-stroke-width-default: 2;

  --xy-background-color-default: #141414;
  --xy-background-pattern-dots-color-default: #777;
  --xy-background-pattern-lines-color-default: #777;
  --xy-background-pattern-cross-color-default: #777;
  --xy-node-color-default: #f8f8f8;
  --xy-node-border-default: 1px solid #3c3c3c;
  --xy-node-background-color-default: #1e1e1e;
  --xy-node-group-background-color-default: rgba(240, 240, 240, 0.25);
  --xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, 0.08);
  --xy-node-boxshadow-selected-default: 0 0 0 0.5px #999;

  --xy-handle-background-color-default: #bebebe;
  --xy-handle-border-color-default: #1e1e1e;

  --xy-selection-background-color-default: rgba(200, 200, 220, 0.08);
  --xy-selection-border-default: 1px dotted rgba(200, 200, 220, 0.8);

  --xy-controls-button-background-color-default: #2b2b2b;
  --xy-controls-button-background-color-hover-default: #3e3e3e;
  --xy-controls-button-color-default: #f8f8f8;
  --xy-controls-button-color-hover-default: #fff;
  --xy-controls-button-border-color-default: #5b5b5b;
  --xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.08);

  --xy-edge-label-background-color-default: #141414;
  --xy-edge-label-color-default: #f8f8f8;
}
.react-flow__background {
  background-color: var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));
  pointer-events: none;
  z-index: -1;
}
.react-flow__container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.react-flow__pane {
  z-index: 1;
}
.react-flow__pane.draggable {
    cursor: grab;
  }
.react-flow__pane.dragging {
    cursor: grabbing;
  }
.react-flow__pane.selection {
    cursor: pointer;
  }
.react-flow__viewport {
  transform-origin: 0 0;
  z-index: 2;
  pointer-events: none;
}
.react-flow__renderer {
  z-index: 4;
}
.react-flow__selection {
  z-index: 6;
}
.react-flow__nodesselection-rect:focus,
.react-flow__nodesselection-rect:focus-visible {
  outline: none;
}
.react-flow__edge-path {
  stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
  stroke-width: var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));
  fill: none;
}
.react-flow__connection-path {
  stroke: var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));
  stroke-width: var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));
  fill: none;
}
.react-flow .react-flow__edges {
  position: absolute;
}
.react-flow .react-flow__edges svg {
    overflow: visible;
    position: absolute;
    pointer-events: none;
  }
.react-flow__edge {
  pointer-events: visibleStroke;
}
.react-flow__edge.selectable {
    cursor: pointer;
  }
.react-flow__edge.animated path {
    stroke-dasharray: 5;
    animation: dashdraw 0.5s linear infinite;
  }
.react-flow__edge.animated path.react-flow__edge-interaction {
    stroke-dasharray: none;
    animation: none;
  }
.react-flow__edge.inactive {
    pointer-events: none;
  }
.react-flow__edge.selected,
  .react-flow__edge:focus,
  .react-flow__edge:focus-visible {
    outline: none;
  }
.react-flow__edge.selected .react-flow__edge-path,
  .react-flow__edge.selectable:focus .react-flow__edge-path,
  .react-flow__edge.selectable:focus-visible .react-flow__edge-path {
    stroke: var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default));
  }
.react-flow__edge-textwrapper {
    pointer-events: all;
  }
.react-flow__edge .react-flow__edge-text {
    pointer-events: none;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
/* Arrowhead marker styles - use CSS custom properties as default */
.react-flow__arrowhead polyline {
  stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
}
.react-flow__arrowhead polyline.arrowclosed {
  fill: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
}
.react-flow__connection {
  pointer-events: none;
}
.react-flow__connection .animated {
    stroke-dasharray: 5;
    animation: dashdraw 0.5s linear infinite;
  }
svg.react-flow__connectionline {
  z-index: 1001;
  overflow: visible;
  position: absolute;
}
.react-flow__nodes {
  pointer-events: none;
  transform-origin: 0 0;
}
.react-flow__node {
  position: absolute;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: all;
  transform-origin: 0 0;
  box-sizing: border-box;
  cursor: default;
}
.react-flow__node.selectable {
    cursor: pointer;
  }
.react-flow__node.draggable {
    cursor: grab;
    pointer-events: all;
  }
.react-flow__node.draggable.dragging {
      cursor: grabbing;
    }
.react-flow__nodesselection {
  z-index: 3;
  transform-origin: left top;
  pointer-events: none;
}
.react-flow__nodesselection-rect {
    position: absolute;
    pointer-events: all;
    cursor: grab;
  }
.react-flow__handle {
  position: absolute;
  pointer-events: none;
  min-width: 5px;
  min-height: 5px;
  width: 6px;
  height: 6px;
  background-color: var(--xy-handle-background-color, var(--xy-handle-background-color-default));
  border: 1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));
  border-radius: 100%;
}
.react-flow__handle.connectingfrom {
    pointer-events: all;
  }
.react-flow__handle.connectionindicator {
    pointer-events: all;
    cursor: crosshair;
  }
.react-flow__handle-bottom {
    top: auto;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
  }
.react-flow__handle-top {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
  }
.react-flow__handle-left {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
  }
.react-flow__handle-right {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
  }
.react-flow__edgeupdater {
  cursor: move;
  pointer-events: all;
}
.react-flow__pane.selection .react-flow__panel {
  pointer-events: none;
}
.react-flow__panel {
  position: absolute;
  z-index: 5;
  margin: 15px;
}
.react-flow__panel.top {
    top: 0;
  }
.react-flow__panel.bottom {
    bottom: 0;
  }
.react-flow__panel.top.center, .react-flow__panel.bottom.center {
      left: 50%;
      transform: translateX(-15px) translateX(-50%);
    }
.react-flow__panel.left {
    left: 0;
  }
.react-flow__panel.right {
    right: 0;
  }
.react-flow__panel.left.center, .react-flow__panel.right.center {
      top: 50%;
      transform: translateY(-15px) translateY(-50%);
    }
.react-flow__attribution {
  font-size: 10px;
  background: var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));
  padding: 2px 3px;
  margin: 0;
}
.react-flow__attribution a {
    text-decoration: none;
    color: #999;
  }
@keyframes dashdraw {
  from {
    stroke-dashoffset: 10;
  }
}
.react-flow__edgelabel-renderer {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  left: 0;
  top: 0;
}
.react-flow__viewport-portal {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.react-flow__minimap {
  background: var(
    --xy-minimap-background-color-props,
    var(--xy-minimap-background-color, var(--xy-minimap-background-color-default))
  );
}
.react-flow__minimap-svg {
    display: block;
  }
.react-flow__minimap-mask {
    fill: var(
      --xy-minimap-mask-background-color-props,
      var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default))
    );
    stroke: var(
      --xy-minimap-mask-stroke-color-props,
      var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default))
    );
    stroke-width: var(
      --xy-minimap-mask-stroke-width-props,
      var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default))
    );
  }
.react-flow__minimap-node {
    fill: var(
      --xy-minimap-node-background-color-props,
      var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default))
    );
    stroke: var(
      --xy-minimap-node-stroke-color-props,
      var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default))
    );
    stroke-width: var(
      --xy-minimap-node-stroke-width-props,
      var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default))
    );
  }
.react-flow__background-pattern.dots {
    fill: var(
      --xy-background-pattern-color-props,
      var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default))
    );
  }
.react-flow__background-pattern.lines {
    stroke: var(
      --xy-background-pattern-color-props,
      var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default))
    );
  }
.react-flow__background-pattern.cross {
    stroke: var(
      --xy-background-pattern-color-props,
      var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default))
    );
  }
.react-flow__controls {
  display: flex;
  flex-direction: column;
  box-shadow: var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default));
}
.react-flow__controls.horizontal {
    flex-direction: row;
  }
.react-flow__controls-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 26px;
    width: 26px;
    padding: 4px;
    border: none;
    background: var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));
    border-bottom: 1px solid
      var(
        --xy-controls-button-border-color-props,
        var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default))
      );
    color: var(
      --xy-controls-button-color-props,
      var(--xy-controls-button-color, var(--xy-controls-button-color-default))
    );
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
.react-flow__controls-button svg {
      width: 100%;
      max-width: 12px;
      max-height: 12px;
      fill: currentColor;
    }
.react-flow__edge.updating .react-flow__edge-path {
      stroke: #777;
    }
.react-flow__edge-text {
    font-size: 10px;
  }
.react-flow__node.selectable:focus,
  .react-flow__node.selectable:focus-visible {
    outline: none;
  }
.react-flow__node-input,
.react-flow__node-default,
.react-flow__node-output,
.react-flow__node-group {
  padding: 10px;
  border-radius: var(--xy-node-border-radius, var(--xy-node-border-radius-default));
  width: 150px;
  font-size: 12px;
  color: var(--xy-node-color, var(--xy-node-color-default));
  text-align: center;
  border: var(--xy-node-border, var(--xy-node-border-default));
  background-color: var(--xy-node-background-color, var(--xy-node-background-color-default));
}
.react-flow__node-input.selectable:hover, .react-flow__node-default.selectable:hover, .react-flow__node-output.selectable:hover, .react-flow__node-group.selectable:hover {
      box-shadow: var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default));
    }
.react-flow__node-input.selectable.selected,
    .react-flow__node-input.selectable:focus,
    .react-flow__node-input.selectable:focus-visible,
    .react-flow__node-default.selectable.selected,
    .react-flow__node-default.selectable:focus,
    .react-flow__node-default.selectable:focus-visible,
    .react-flow__node-output.selectable.selected,
    .react-flow__node-output.selectable:focus,
    .react-flow__node-output.selectable:focus-visible,
    .react-flow__node-group.selectable.selected,
    .react-flow__node-group.selectable:focus,
    .react-flow__node-group.selectable:focus-visible {
      box-shadow: var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default));
    }
.react-flow__node-group {
  background-color: var(--xy-node-group-background-color, var(--xy-node-group-background-color-default));
}
.react-flow__nodesselection-rect,
.react-flow__selection {
  background: var(--xy-selection-background-color, var(--xy-selection-background-color-default));
  border: var(--xy-selection-border, var(--xy-selection-border-default));
}
.react-flow__nodesselection-rect:focus,
  .react-flow__nodesselection-rect:focus-visible,
  .react-flow__selection:focus,
  .react-flow__selection:focus-visible {
    outline: none;
  }
.react-flow__controls-button:hover {
      background: var(
        --xy-controls-button-background-color-hover-props,
        var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default))
      );
      color: var(
        --xy-controls-button-color-hover-props,
        var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default))
      );
    }
.react-flow__controls-button:disabled {
      pointer-events: none;
    }
.react-flow__controls-button:disabled svg {
        fill-opacity: 0.4;
      }
.react-flow__controls-button:last-child {
    border-bottom: none;
  }
.react-flow__controls.horizontal .react-flow__controls-button {
    border-bottom: none;
    border-right: 1px solid
      var(
        --xy-controls-button-border-color-props,
        var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default))
      );
  }
.react-flow__controls.horizontal .react-flow__controls-button:last-child {
    border-right: none;
  }
.react-flow__resize-control {
  position: absolute;
}
.react-flow__resize-control.left,
.react-flow__resize-control.right {
  cursor: ew-resize;
}
.react-flow__resize-control.top,
.react-flow__resize-control.bottom {
  cursor: ns-resize;
}
.react-flow__resize-control.top.left,
.react-flow__resize-control.bottom.right {
  cursor: nwse-resize;
}
.react-flow__resize-control.bottom.left,
.react-flow__resize-control.top.right {
  cursor: nesw-resize;
}
/* handle styles */
.react-flow__resize-control.handle {
  width: 5px;
  height: 5px;
  border: 1px solid #fff;
  border-radius: 1px;
  background-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
  translate: -50% -50%;
}
.react-flow__resize-control.handle.left {
  left: 0;
  top: 50%;
}
.react-flow__resize-control.handle.right {
  left: 100%;
  top: 50%;
}
.react-flow__resize-control.handle.top {
  left: 50%;
  top: 0;
}
.react-flow__resize-control.handle.bottom {
  left: 50%;
  top: 100%;
}
.react-flow__resize-control.handle.top.left {
  left: 0;
}
.react-flow__resize-control.handle.bottom.left {
  left: 0;
}
.react-flow__resize-control.handle.top.right {
  left: 100%;
}
.react-flow__resize-control.handle.bottom.right {
  left: 100%;
}
/* line styles */
.react-flow__resize-control.line {
  border-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
  border-width: 0;
  border-style: solid;
}
.react-flow__resize-control.line.left,
.react-flow__resize-control.line.right {
  width: 1px;
  transform: translate(-50%, 0);
  top: 0;
  height: 100%;
}
.react-flow__resize-control.line.left {
  left: 0;
  border-left-width: 1px;
}
.react-flow__resize-control.line.right {
  left: 100%;
  border-right-width: 1px;
}
.react-flow__resize-control.line.top,
.react-flow__resize-control.line.bottom {
  height: 1px;
  transform: translate(0, -50%);
  left: 0;
  width: 100%;
}
.react-flow__resize-control.line.top {
  top: 0;
  border-top-width: 1px;
}
.react-flow__resize-control.line.bottom {
  border-bottom-width: 1px;
  top: 100%;
}
.react-flow__edge-textbg {
  fill: var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default));
}
.react-flow__edge-text {
  fill: var(--xy-edge-label-color, var(--xy-edge-label-color-default));
}
._page_1d89a_1 {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

._breadcrumb_1d89a_7 {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
}

._breadcrumb_1d89a_7 a {
  color: #2563eb;
  text-decoration: none;
}

._breadcrumb_1d89a_7 a:hover {
  text-decoration: underline;
}

._header_1d89a_22 {
  margin-bottom: 1.5rem;
}

._title_1d89a_26 {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
  color: #0f172a;
}

._lead_1d89a_32 {
  margin: 0;
  color: #475569;
  line-height: 1.55;
  font-size: 0.95rem;
}

._codeInline_1d89a_39 {
  font-size: 0.85em;
  background: #f1f5f9;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  word-break: break-all;
}

._grid_1d89a_47 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

._card_1d89a_53 {
  display: block;
  padding: 1.25rem 1.35rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

._card_1d89a_53:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

._cardTitle_1d89a_69 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #0f172a;
}

._cardBody_1d89a_75 {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

._notice_1d89a_82 {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
}

._tabs_1d89a_92 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
}

._tab_1d89a_92 {
  padding: 0.45rem 0.85rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 8px;
  font-size: 0.875rem;
  cursor: pointer;
  color: #475569;
}

._tab_1d89a_92:hover {
  background: #f8fafc;
}

._tabActive_1d89a_113 {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1e40af;
  font-weight: 600;
}

._tableWrap_1d89a_120 {
  overflow: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

._table_1d89a_120 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

._table_1d89a_120 th,
._table_1d89a_120 td {
  text-align: left;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

._table_1d89a_120 th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  white-space: nowrap;
}

._clickableRow_1d89a_148 {
  cursor: pointer;
}

._clickableRow_1d89a_148:hover {
  background: #f8fafc;
}

._muted_1d89a_156 {
  color: #94a3b8;
  font-size: 0.8rem;
}

._pill_1d89a_161 {
  display: inline-block;
  margin: 0.1rem 0.25rem 0.1rem 0;
  padding: 0.12rem 0.45rem;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 0.72rem;
  color: #475569;
}

._btn_1d89a_171 {
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #fff;
  cursor: pointer;
  color: #334155;
}

a._btn_1d89a_171 {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

._btn_1d89a_171:hover {
  background: #f8fafc;
}

._btnPrimary_1d89a_192 {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

._btnPrimary_1d89a_192:hover {
  background: #1d4ed8;
}

._error_1d89a_202 {
  color: #b91c1c;
  font-size: 0.875rem;
  margin: 0 0 0.75rem;
}

._split_1d89a_208 {
  margin-top: 2rem;
}

._splitRow_1d89a_212 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

._splitRow_1d89a_212 ._splitTitle_1d89a_221 {
  margin: 0;
}

._splitTitle_1d89a_221 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: #0f172a;
}

._splitRowTools_1d89a_231 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.75rem;
  flex: 1;
  min-width: 220px;
}

._directoryFilterGroup_1d89a_241 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  flex: 1;
  min-width: min(280px, 100%);
}

._directorySearchWrap_1d89a_250 {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  max-width: 320px;
  min-width: 180px;
}

._directoryAccountFilter_1d89a_259 {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 140px;
  max-width: 200px;
}

._paginationBar_1d89a_267 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}

._paginationMeta_1d89a_278 {
  font-size: 0.8125rem;
  color: #64748b;
}

._paginationActions_1d89a_283 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

._pageSizeInline_1d89a_290 {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #64748b;
}

._pageSizeInline_1d89a_290 select {
  padding: 0.3rem 0.45rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.8125rem;
}

._btnGhost_1d89a_305 {
  background: transparent;
  border-color: #cbd5e1;
}

._btnGhost_1d89a_305:hover:not(:disabled) {
  background: #f8fafc;
}

._btnGhost_1d89a_305:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

._modalOverlay_1d89a_319 {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  z-index: 50;
  overflow-y: auto;
}

._modal_1d89a_319 {
  background: #fff;
  border-radius: 12px;
  max-width: 640px;
  width: 100%;
  padding: 1.25rem 1.35rem 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

._modal_1d89a_319 h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

._formGrid_1d89a_345 {
  display: grid;
  gap: 0.65rem;
}

._formGrid_1d89a_345._two_1d89a_350 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 560px) {
  ._formGrid_1d89a_345._two_1d89a_350 {
    grid-template-columns: 1fr;
  }
}

._label_1d89a_360 {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.2rem;
}

._input_1d89a_368,
._textarea_1d89a_369,
._select_1d89a_370 {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.875rem;
}

._textarea_1d89a_369 {
  min-height: 72px;
  font-family: inherit;
}

._textarea_1d89a_369._mono_1d89a_383 {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  min-height: 100px;
}

/* Use with `.textarea` when the compound selector export is awkward in JS */
._mono_1d89a_383 {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
}

._fieldset_1d89a_395 {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0 0 0.85rem;
}

._fieldset_1d89a_395 legend {
  padding: 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

._modalActions_1d89a_409 {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

._checkboxGrid_1d89a_416 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

._checkboxLabel_1d89a_422 {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #334155;
}

._competencyScroll_1d89a_430 {
  max-height: 220px;
  overflow-y: auto;
  padding: 0.35rem 0.15rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fafafa;
}

._detailsBlock_1d89a_439 {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
}

._detailsSummary_1d89a_446 {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

._qualCard_1d89a_453 {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  margin-top: 0.5rem;
  background: #fff;
}

._qualHeader_1d89a_461 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

._qualOk_1d89a_469 {
  font-size: 0.72rem;
  font-weight: 700;
  color: #15803d;
}

._qualBad_1d89a_475 {
  font-size: 0.72rem;
  font-weight: 700;
  color: #b91c1c;
}

._qualBlocker_1d89a_481 {
  font-size: 0.75rem;
  color: #7f1d1d;
  margin-top: 0.35rem;
  line-height: 1.4;
}

._qualWarn_1d89a_488 {
  font-size: 0.72rem;
  color: #b45309;
  margin-top: 0.3rem;
  line-height: 1.35;
}

._hint_1d89a_495 {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0.25rem 0 0;
}

._textLink_1d89a_501 {
  font-size: 0.875rem;
  color: #2563eb;
  text-decoration: none;
}

._textLink_1d89a_501:hover {
  text-decoration: underline;
}

._detailPanel_1d89a_511 {
  margin-top: 0.5rem;
  padding: 1.25rem 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

._pageActions_1d89a_522 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
}

._pillToggleRow_1d89a_531 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

._pillToggle_1d89a_531 {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0.25rem 0.55rem;
  font-size: 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
}

._pillToggle_1d89a_531:hover {
  background: #f8fafc;
}

._pillToggleActive_1d89a_557 {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1e40af;
  font-weight: 600;
}

._cardHeading_1d89a_564 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
}

._stackGap_1d89a_571 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
._listSection_vl9v8_1 {
  margin: 0 0 1rem;
}

._listLabel_vl9v8_5 {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.45rem;
}

._listRows_vl9v8_13 {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

._listRow_vl9v8_13 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

._listRowGrow_vl9v8_27 {
  flex: 1;
  min-width: 140px;
}

._smallBtn_vl9v8_32 {
  padding: 0.35rem 0.65rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  color: #334155;
}

._smallBtn_vl9v8_32:hover {
  background: #f8fafc;
}

._smallBtnDanger_vl9v8_46 {
  border-color: #fecaca;
  color: #b91c1c;
}

._smallBtnDanger_vl9v8_46:hover {
  background: #fef2f2;
}

._certRowOuter_vl9v8_55 {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: end;
}

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

._certTwoCol_vl9v8_68 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  min-width: 0;
}

@media (max-width: 480px) {
  ._certTwoCol_vl9v8_68 {
    grid-template-columns: 1fr;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  color: var(--text, #1e293b);
  background: var(--bg, #f1f5f9);
}

a {
  color: inherit;
}

code {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    'Liberation Mono',
    'Courier New',
    monospace;
  font-size: 0.85em;
}
._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);
}
._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_3uz8r_1 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
._backBtn_3uz8r_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_3uz8r_7:hover { background: var(--surface-hover); }
._title_3uz8r_17 { font-size: 1.5rem; font-weight: 700; }

._meta_3uz8r_19 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}
._statusBadge_3uz8r_28 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}
._statusActive_3uz8r_36 { background: var(--success-soft); color: var(--success); }
._statusOnHold_3uz8r_37 { background: var(--warning-soft); color: var(--warning); }
._statusCompleted_3uz8r_38 { background: var(--primary-soft); color: var(--primary); }
._phaseBadge_3uz8r_39 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  background: var(--surface-hover);
  color: var(--text-muted);
  text-transform: capitalize;
}

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

/* Phase timeline */
._timeline_3uz8r_58 {
  margin-bottom: 2rem;
}
._timelineTitle_3uz8r_61 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
._phaseTrack_3uz8r_66 {
  display: flex;
  gap: 2px;
  height: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
}
._phaseSegment_3uz8r_74 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-inverse);
  text-transform: capitalize;
  min-width: 40px;
  padding: 0 0.5rem;
  transition: flex 0.3s;
}
._phaseSegmentEmpty_3uz8r_86 {
  background: var(--surface-hover);
  color: var(--text-muted);
}
._phaseSegmentActive_3uz8r_90 {
  background: var(--primary);
}
._phaseSegmentDone_3uz8r_93 {
  background: var(--success);
}

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

._table_3uz8r_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_3uz8r_116 th,
._table_3uz8r_116 td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
}
._table_3uz8r_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_3uz8r_116 tr:last-child td { border-bottom: none; }

._mStatus_3uz8r_142 {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}
._mNotStarted_3uz8r_150 { background: var(--surface-hover); color: var(--text-muted); }
._mInProgress_3uz8r_151 { background: var(--primary-soft); color: var(--primary); }
._mCompleted_3uz8r_152 { background: var(--success-soft); color: var(--success); }
._mBlocked_3uz8r_153 { background: var(--danger-soft); color: var(--danger); }

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

._btn_3uz8r_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_3uz8r_172 {
  background: var(--primary);
  color: var(--text-inverse);
}
._btnPrimary_3uz8r_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);
}
._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_94itt_1 {
  max-width: 1200px;
}

._backLink_94itt_5 {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

._backLink_94itt_5:hover {
  text-decoration: underline;
}

._headerRow_94itt_20 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

._titleBlock_94itt_28 h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

._titleBlock_94itt_28 p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

._headerActions_94itt_40 {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

._detailTabs_94itt_46 {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
}

._detailTab_94itt_46 {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
}

._detailTab_94itt_46:hover {
  color: var(--text);
  background: var(--surface-elevated, rgba(0, 0, 0, 0.04));
}

._detailTabActive_94itt_71 {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
}

._layout_94itt_77 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}

._formCard_94itt_84,
._sidebarCard_94itt_85 {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

._cardBody_94itt_92 {
  padding: 1rem;
}

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

._sidebarSection_94itt_101 {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

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

._sectionTitle_94itt_110 {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--primary);
}

._metaRow_94itt_119 {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  padding: 0.2rem 0;
}

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

._tagList_94itt_131 {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

._tag_94itt_131 {
  font-size: 0.68rem;
  padding: 0.16rem 0.4rem;
  border-radius: 999px;
  background: var(--surface-hover);
  color: var(--text-muted);
}

._qualRow_94itt_145 {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}

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

._qualHeader_94itt_154 {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
}

._qualPass_94itt_162 {
  color: #16a34a;
}

._qualFail_94itt_166 {
  color: #dc2626;
}

._qualBlocker_94itt_170,
._qualWarning_94itt_171 {
  margin-top: 0.25rem;
  font-size: 0.72rem;
}

._qualBlocker_94itt_170 {
  color: #dc2626;
}

._qualWarning_94itt_171 {
  color: #d97706;
}

._emptyState_94itt_184 {
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 1.25rem;
  color: var(--text-muted);
}

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

  ._sidebarCard_94itt_85 {
    position: static;
  }

  ._headerRow_94itt_20 {
    flex-direction: column;
    align-items: stretch;
  }
}
._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; }
}
