@charset "UTF-8";@font-face {
  font-family: 'Geist';
  src: url('/assets/Geist-VariableFont_wght-C2BNBXFg.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('/assets/GeistMono-VariableFont_wght-aobeVSSS.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* react/src/styles/variables.css */
:root {

   /* ─── Typography ────────────────────────────────────────── */
   --font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
   --font-family-mono: 'Geist Mono', 'Courier New', monospace;

   /* ─── Brand Core ─────────────────────────────────────────── */
   /* The four colors from your brand guidelines. Never use these
     as raw values in components — use semantic tokens below.    */
   --brand-indigo: #6D28D9;
   --brand-cyan: #06B6D4;
   --brand-navy: #0B1220;
   --brand-amber: #F59E0B;

   /* ─── Primary Blue Scale ─────────────────────────────────── */
   /* The workhorse blue for buttons, links, and primary UI.
     Slightly cyan-leaning to harmonize with --brand-cyan.       */
   --blue-50: #EFF6FF;
   --blue-100: #DBEAFE;
   --blue-200: #BFDBFE;
   --blue-300: #93C5FD;
   --blue-400: #60A5FA;
   --blue-500: #3B82F6;
   /* Mid-tone, illustrations, charts      */
   --blue-600: #2563EB;
   /* Primary — buttons, links, focus      */
   --blue-700: #1D4ED8;
   /* Hover on primary                     */
   --blue-800: #1E40AF;
   /* Active/pressed states                */
   --blue-900: #1E3A8A;

   /* ─── Indigo Scale (AI features) ─────────────────────────── */
   /* Reserved for AI-generated content, AI-active states,
     and anywhere the user is interacting with the AI itself.   */
   --indigo-50: #F5F3FF;
   --indigo-100: #EDE9FE;
   --indigo-200: #DDD6FE;
   --indigo-300: #C4B5FD;
   --indigo-400: #A78BFA;
   --indigo-500: #8B5CF6;
   --indigo-600: #7C3AED;
   /* Hover on AI primary                */
   --indigo-700: #6D28D9;
   /* Electric Indigo — AI primary       */
   --indigo-800: #5B21B6;
   /* Active/pressed AI states           */
   --indigo-900: #4C1D95;

   /* ─── Cyan Scale (accents, AI-active indicators) ─────────── */
   /* Used sparingly for emphasis, AI-in-motion signals,
     and secondary chart series.                                */
   --cyan-50: #ECFEFF;
   --cyan-100: #CFFAFE;
   --cyan-200: #A5F3FC;
   --cyan-300: #67E8F9;
   --cyan-400: #22D3EE;
   --cyan-500: #06B6D4;
   /* Cyan Current — brand accent          */
   --cyan-600: #0891B2;
   /* Hover; AA-safe on white              */
   --cyan-700: #0E7490;
   --cyan-800: #155E75;
   --cyan-900: #164E63;

   /* ─── Slate (neutrals, text, borders, surfaces) ──────────── */
   /* Cool-leaning gray that pairs cleanly with blue and indigo. */
   --slate-50: #F8FAFC;
   --slate-100: #F1F5F9;
   --slate-200: #FAFAF9;
   --slate-300: #CBD5E1;
   --slate-400: #94A3B8;
   --slate-500: #64748B;
   --slate-600: #475569;
   --slate-700: #334155;
   --slate-800: #1E293B;
   --slate-900: #0F172A;
   --slate-1000: #0B1220;
   /* = Deep Space Navy                       */

   /* ─── Gray Scale (true neutral) ──────────────────────────── */
   /* Pure neutrals with no blue or warm cast. Use for page
      backgrounds, borders, and any surface that should read
      as "completely neutral."                                  */
   --gray-50: #F5F5F5;
   --gray-100: #EAEAEA;
   --gray-200: #D4D4D4;
   --gray-300: #BABABA;
   --gray-400: #999999;
   --gray-500: #7A7A7A;
   --gray-600: #5C5C5C;
   --gray-700: #424242;
   --gray-800: #292929;
   --gray-900: #171717;

   /* ─── Semantic — Saturated (functional state) ────────────── */
   /* Use for toasts, validation, destructive actions, alerts.   */
   --success-50: #F0FDF4;
   --success-500: #22C55E;
   --success-600: #16A34A;
   /* Default success color             */
   --success-700: #15803D;

   --warning-50: #FFFBEB;
   --warning-200: #FDE68A;
   --warning-500: #F59E0B;
   /* Same as --brand-amber             */
   --warning-600: #D97706;
   --warning-700: #B45309;
   --warning-800: #92400E;

   --error-50: #FEF2F2;
   --error-500: #EF4444;
   --error-600: #DC2626;
   /* Default error color               */
   --error-700: #B91C1C;

   --info-50: #EFF6FF;
   --info-500: #3B82F6;
   --info-600: #2563EB;
   /* Same as --blue-600                */

   /* ─── Semantic — Pastel (dashboard cards, soft surfaces) ─── */
   /* The decorative tints currently in your dashboard.
     Used for stat cards, empty states, banners.                */
   --pastel-blue: #F0F7FF;
   --pastel-pink: #FCE8F3;
   --pastel-mint: #DCFCE7;
   --pastel-yellow: #FEF9C3;
   --pastel-lavender: #F3E8FF;
   --pastel-peach: #FFEDD5;

   /* ─── Surface & Background ───────────────────────────────── */
   --surface-page: #FAFAF9;
   --surface-subtle: var(--gray-100);
   --surface-card: #FFFFFF;
   --surface-card-hover: var(--slate-50);
   --surface-overlay: rgba(15, 23, 42, 0.5);
   /* modal scrim     */

   /* AI-specific surface for content generated by AI            */
   --surface-ai: var(--indigo-50);
   --surface-ai-hover: var(--indigo-100);

   /* ─── Borders & Dividers ─────────────────────────────────── */
   --border-subtle: #E2E8F0;
   --border-default: var(--slate-300);
   --border-strong: var(--slate-400);
   --border-focus: var(--blue-600);
   --border-ai: var(--indigo-200);
   --border-error: var(--error-500);

   /* ─── Text ───────────────────────────────────────────────── */
   --text-primary: var(--slate-800);
   --text-secondary: var(--slate-600);
   --text-tertiary: var(--slate-500);
   --text-disabled: var(--slate-400);
   --text-inverse: #FFFFFF;
   --text-link: var(--blue-600);
   --text-link-hover: var(--blue-700);
   --text-accent: var(--blue-600);
   --text-accent-alt: var(--blue-700);
   --icon-muted: var(--slate-400);
   --text-ai: var(--indigo-700);
   --text-error: var(--error-600);
   --text-success: var(--success-600);
   --text-warning: var(--warning-700);

   /* Section header pattern (title and subtitle of each Orchestrator stage) */
   --section-title-size: 1.25rem;
   --section-title-weight: 600;
   --section-title-line-height: 1.75rem;
   --section-subtitle-size: 0.875rem;
   --section-subtitle-line-height: 1.25rem;

   /* ─── Interactive (buttons, controls) ────────────────────── */
   /* Primary — default actions */
   --action-primary-bg: var(--blue-600);
   --action-primary-bg-hover: var(--blue-700);
   --action-primary-bg-active: var(--blue-800);
   --action-primary-text: #FFFFFF;

   /* Secondary — less prominent actions */
   --action-secondary-bg: var(--slate-100);
   --action-secondary-bg-hover: var(--slate-200);
   --action-secondary-bg-active: var(--slate-300);
   --action-secondary-text: var(--slate-800);

   /* AI — actions that invoke AI behavior */
   --action-ai-bg: var(--indigo-700);
   --action-ai-bg-hover: var(--indigo-600);
   --action-ai-bg-active: var(--indigo-800);
   --action-ai-text: #FFFFFF;

   /* Destructive — delete, remove, dangerous actions */
   --action-destructive-bg: var(--error-600);
   --action-destructive-bg-hover: var(--error-700);
   --action-destructive-text: #FFFFFF;

   /* ─── Data Visualization ─────────────────────────────────── */
   /* Ordered series for charts; use in sequence.                */
   --chart-1: var(--blue-600);
   /* Primary data               */
   --chart-2: var(--cyan-500);
   /* Secondary / AI-derived     */
   --chart-3: var(--indigo-500);
   /* Tertiary                   */
   --chart-4: var(--success-500);
   /* Positive metric            */
   --chart-5: var(--warning-500);
   /* Caution metric             */
   --chart-6: var(--error-500);
   /* Negative metric            */
   --chart-7: var(--slate-500);
   /* Neutral baseline           */

   /* ─── Migration Strategy ───────────────────────────────────── */
   /* Per-strategy colors for workload migration tags and charts. */
   --strategy-retire: #64748B;
   --strategy-retain: #475569;
   --strategy-rehost: #3B82F6;
   --strategy-relocate: #6366F1;
   --strategy-repurchase: #0EA5E9;
   --strategy-replatform: #10B981;
   --strategy-refactor: #22C55E;

   /* ─── Slide / Presentation Theme (dark) ──────────────────── */
   /* Used by the fullscreen presentation and inline editor.     */
   --slide-bg-primary: #0f172a;
   --slide-bg-secondary: #1e293b;
   --slide-highlight: #f97316;
   --slide-highlight-hover: #fb923c;
   --slide-text-primary: #f8fafc;
   --slide-text-secondary: #94a3b8;
   --slide-text-on-highlight: #ffffff;
   --slide-card-bg: #1e293b;
   --slide-card-bg-transparent: rgba(30, 41, 59, 0.7);
   --slide-border: #334155;
   --slide-danger: #ef4444;
   --slide-high: #f97316;
   --slide-high-text: #fb923c;
   --slide-success: #22c55e;
   --slide-warning: #eab308;
   --slide-info: #60a5fa;
   --slide-font-family: var(--font-family);
   --cover-title-size: 3.9rem;
   --cover-title-line-height: 1.1;
   --cover-title-height: calc(var(--cover-title-size) * var(--cover-title-line-height));
   --slide-gradient-accent-1: rgba(99, 50, 200, 0.4);
   --slide-gradient-accent-2: rgba(29, 78, 216, 0.35);
   --slide-gradient-accent-3: rgba(139, 92, 246, 0.2);
   --slide-overlay: rgba(0, 0, 0, 0.6);
   --slide-overlay-heavy: rgba(0, 0, 0, 0.7);
   --slide-nav-idle: rgba(255, 255, 255, 0.15);
   --slide-nav-hover: rgba(255, 255, 255, 0.8);
   --slide-nav-muted: rgba(255, 255, 255, 0.35);
   --slide-nav-muted-hover: rgba(255, 255, 255, 0.9);
   --slide-card-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
   --slide-card-hover-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(249, 115, 22, 0.1);
   --slide-card-hover-shadow-danger: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(239, 68, 68, 0.1);
   --slide-letterbox: #000000;

   /* ─── Focus & Selection ──────────────────────────────────── */
   --focus-ring: rgba(37, 99, 235, 0.5);
   /* blue-600 @ 50%      */
   --focus-ring-ai: rgba(109, 40, 217, 0.5);
   /* indigo-700 @ 50%*/
   --selection-bg: var(--blue-100);
   --selection-text: var(--slate-900);

   /* ─── Navy (MAP Incentives, dark panels) ──────────────────── */
   --navy-800: #1E2A55;
   --navy-700: #2A3A6B;
   --navy-600: #3A456B;
   --navy-surface: #F1F3FB;
   --navy-border: #D4D9EC;
   --navy-text: #1E2A55;
   --navy-muted: #6B7388;
   --navy-row-alt: #E9ECF6;
   --navy-row-border: #E6E8EF;

   /* ─── Green (MAP impact, savings) ────────────────────────── */
   --green-50: #F0FDF4;
   --green-100: #DCFCE7;
   --green-200: #BBF7D0;
   --green-500: #22C55E;
   --green-600: #16A34A;
   --green-700: #15803D;
   --green-800: #166534;
   --green-accent: #2F9E6A;
   --green-accent-surface: #EAF6EF;
   --green-accent-border: #B8E0C8;

   /* ─── Indigo (reserved pricing, highlighted cards) ───────── */
   --indigo-surface: #EEF2FF;
   --indigo-border: #C7D2FE;

   /* ─── Gray (neutral UI, table backgrounds) ───────────────── */
   --gray-table-bg: #F9FAFB;
   --gray-table-border: #E5E7EB;
   --gray-text: #6B7280;
   --gray-dark: #111827;
   --gray-selector-bg: #F3F4F6;

   /* ─── Border Radius ────────────────────────────────────── */
   /* Single radius for the entire system (8px).
      Only avatars use border-radius: 50%.                      */
   --radius: 8px;
   --radius-pill: 9999px;

   /* ─── Shadows ────────────────────────────────────────────── */
   --shadow-xs: 0 0.0625rem 0.125rem 0 rgba(0, 0, 0, 0.05);
   --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
   --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1),
      0 2px 4px -2px rgba(15, 23, 42, 0.05);
   --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1),
      0 4px 6px -4px rgba(15, 23, 42, 0.05);
   --shadow-card: 0rem 0.0625rem 0.1875rem 0rem rgba(0, 0, 0, 0.1);
   --shadow-card-hover: 0rem 0.125rem 0.25rem 0rem rgba(0, 0, 0, 0.1);
   --shadow-focus: 0 0 0 3px var(--focus-ring);
   --shadow-focus-ai: 0 0 0 3px var(--focus-ring-ai);

   /* ─── AI Questionnaire (legacy purple for stale/AI badges) ─ */
   --ai-purple: #9810FA;
   --ai-purple-bg: rgba(152, 16, 250, 0.1);
   --ai-purple-border: rgba(152, 16, 250, 0.3);
   --ai-purple-progress: rgba(152, 16, 250, 0.2);
   --ai-purple-shadow: rgba(152, 16, 250, 0.1);
   --ai-purple-gradient: linear-gradient(135deg, rgba(152, 16, 250, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
   --ai-blue: var(--blue-600);
   --ai-blue-light: var(--blue-400);
   --ai-blue-bg: color-mix(in srgb, var(--blue-600) 10%, transparent);
   --ai-blue-border: color-mix(in srgb, var(--blue-600) 30%, transparent);

   /* ─── Auth Panel ──────────────────────────────────────── */
   --auth-panel-bg-start: #0d1e35;
   --auth-panel-bg-mid: #0a1929;
   --auth-panel-bg-end: #071220;
   --ai-blue-shadow: 0rem 0.25rem 0.75rem color-mix(in srgb, var(--blue-600) 20%, transparent);

   /* ─── Interaction feedback ──────────────────────────────── */
   --approve-bg-hover: rgba(16, 185, 129, 0.08);
   --destructive-bg-hover: rgba(239, 68, 68, 0.08);
   --border-separator: rgba(0, 0, 0, 0.08);

   /* ─── Accent (used in both light and dark) ─────────────── */
   --accent-fg: var(--indigo-600);
   --accent-fg-alpha-08: rgba(124, 58, 237, 0.08);
   --accent-fg-alpha-12: rgba(124, 58, 237, 0.12);

   /* ─── Warning badge (used in both modes) ────────────────── */
   --warn-surface: var(--warning-50);
   --warn-border: var(--warning-200);
   --warn-text: var(--warning-800);

   /* Paused-run questions banner (cream surface, brown text) */
   --surface-pause: var(--warning-50);
   --surface-pause-strong: color-mix(in srgb, var(--warning-50), var(--warning-700) 12%);
   --border-pause: var(--warning-200);
   --text-pause: var(--warning-800);
}


/* ─── DARK MODE ───────────────────────────────────────────────────────────── */
html.dark {
   /* ─── New OKLCH Palette ─── */
   --dark-canvas: oklch(0.19 0.012 285);
   --dark-surface: oklch(0.235 0.014 285);
   --dark-surface-2: oklch(0.255 0.014 285);
   --dark-surface-blur: oklch(0.235 0.014 285 / 0.85);
   --dark-hover: oklch(0.275 0.016 285);
   --dark-sunken: oklch(0.285 0.016 285);
   --dark-sunken-2: oklch(0.315 0.018 285);
   --dark-track: oklch(0.31 0.016 285);
   --dark-border-soft: oklch(0.29 0.014 285);
   --dark-border: oklch(0.32 0.016 285);
   --dark-border-2: oklch(0.35 0.018 285);
   --dark-border-3: oklch(0.44 0.02 285);
   --dark-faint: oklch(0.5 0.02 285);
   --dark-text: oklch(0.96 0.006 285);
   --dark-text-2: oklch(0.88 0.008 285);
   --dark-text-3: oklch(0.78 0.01 285);
   --dark-muted: oklch(0.68 0.014 285);
   --dark-muted-2: oklch(0.6 0.014 285);
   --dark-accent-bg: oklch(0.32 0.045 285);
   --dark-accent-ring: oklch(0.34 0.05 285);
   --dark-accent-fg: oklch(0.52 0.19 285);
   --dark-accent-fg-alpha-08: oklch(0.52 0.19 285 / 0.08);
   --dark-accent-fg-alpha-12: oklch(0.52 0.19 285 / 0.12);

   /* ─── Accent (remapped for dark) ─── */
   --accent-fg: var(--dark-accent-fg);
   --accent-fg-alpha-08: var(--dark-accent-fg-alpha-08);
   --accent-fg-alpha-12: var(--dark-accent-fg-alpha-12);

   /* ─── Warning badge (remapped for dark) ─── */
   --warn-surface: var(--dark-warn-fg);
   --warn-border: var(--dark-warn-muted);
   --warn-text: var(--dark-warn-border);
   --surface-pause: oklch(0.3 0.04 80);
   --surface-pause-strong: oklch(0.36 0.05 75);
   --border-pause: oklch(0.4 0.08 60);
   --text-pause: oklch(0.8 0.12 80);
   --dark-warn-bg: oklch(0.3 0.04 80);
   --dark-warn-fg: oklch(0.96 0.04 85);
   --dark-warn-muted: oklch(0.88 0.08 85);
   --dark-warn-border: oklch(0.4 0.08 60);
   --dark-pink-bg: oklch(0.3 0.04 350);
   --dark-ok-bg: oklch(0.3 0.05 150);
   --dark-ok-ring: oklch(0.32 0.06 150);
   --dark-ok-border: oklch(0.42 0.08 150);
   --dark-ok-fg: oklch(0.8 0.13 150);
   --dark-bad-bg: oklch(0.3 0.045 25);
   --dark-bad-border: oklch(0.42 0.08 25);
   --dark-bad-fg: oklch(0.8 0.12 25);
   --dark-bad-soft: oklch(0.4 0.05 25);
   --dark-overlay: rgba(8, 8, 16, 0.6);

   /* ─── Surface & Background (mapped to OKLCH) ─── */
   --surface-page: var(--dark-canvas);
   --surface-subtle: var(--dark-surface);
   --surface-card: var(--dark-surface);
   --surface-card-hover: var(--dark-surface-2);
   --surface-overlay: var(--dark-overlay);
   --surface-ai: var(--dark-accent-bg);
   --surface-ai-hover: var(--dark-hover);

   /* ─── Borders ─── */
   --border-subtle: var(--dark-border-soft);
   --border-default: var(--dark-border);
   --border-strong: var(--dark-border-2);
   --border-focus: var(--blue-400);
   --border-ai: var(--dark-accent-ring);
   --border-separator: var(--dark-border-soft);

   /* ─── Text ─── */
   --text-primary: var(--dark-text);
   --text-secondary: var(--dark-text-2);
   --text-tertiary: var(--dark-text-3);
   --text-disabled: var(--dark-muted-2);
   --text-inverse: var(--dark-canvas);
   --text-link: var(--dark-text);
   --text-link-hover: var(--dark-text-2);
   --text-ai: var(--indigo-300);
   --text-error: var(--dark-bad-fg);
   --text-success: var(--dark-ok-fg);
   --text-warning: oklch(0.8 0.12 80);

   /* ─── Slate overrides ─── */
   --slate-50: var(--dark-surface);
   --slate-100: var(--dark-surface-2);
   --slate-200: var(--dark-surface);
   --slate-300: var(--dark-border);
   --slate-400: var(--dark-faint);
   --slate-500: var(--dark-muted);
   --slate-600: var(--dark-text-3);
   --slate-700: var(--dark-text-2);
   --slate-800: var(--dark-text);
   --slate-900: var(--dark-text);

   /* ─── Gray overrides ─── */
   --gray-50: var(--dark-surface);
   --gray-100: var(--dark-surface-2);
   --gray-200: var(--dark-hover);
   --gray-300: var(--dark-border);
   --gray-400: var(--dark-muted);
   --gray-500: var(--dark-text-3);
   --gray-600: var(--dark-text-2);
   --gray-table-bg: var(--dark-surface);
   --gray-table-border: var(--dark-border-soft);
   --gray-selector-bg: var(--dark-surface-2);

   /* ─── Interactive ─── */
   --action-primary-bg: #3B82F6;
   --action-primary-bg-hover: #60A5FA;
   --action-primary-bg-active: #2563EB;

   /* Blue overrides for text usage in dark mode */
   --text-accent: var(--dark-text);
   --text-accent-alt: var(--dark-text-2);
   --icon-muted: var(--dark-text-3);
   --action-secondary-bg: var(--dark-surface-2);
   --action-secondary-bg-hover: var(--dark-hover);

   /* Light palette scales used by category pills and the upload area */
   --indigo-50: var(--dark-accent-bg);
   --indigo-200: var(--dark-accent-ring);
   --indigo-800: var(--indigo-300);
   --blue-50: var(--dark-accent-bg);
   --blue-100: var(--dark-hover);
   --blue-200: var(--dark-accent-ring);
   --blue-900: var(--dark-text);
   --cyan-50: var(--dark-accent-bg);
   --cyan-200: var(--dark-accent-ring);
   --cyan-800: var(--cyan-300);
   --cyan-100: var(--dark-accent-bg);
   --indigo-100: var(--dark-accent-bg);
   --blue-800: var(--blue-300);
   --action-secondary-bg-active: var(--dark-sunken);
   --action-secondary-text: var(--dark-text);
   --action-ai-bg: var(--indigo-600);
   --action-ai-bg-hover: var(--indigo-500);

   /* ─── Shadows ─── */
   --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
   --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
   --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
   --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.65);
   --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.5);
   --shadow-card-hover: 0 2px 8px rgba(0, 0, 0, 0.6);
   --focus-ring: rgba(96, 165, 250, 0.5);

   /* ─── Pastels (muted in dark) ─── */
   --pastel-blue: var(--dark-accent-bg);
   --pastel-pink: oklch(0.3 0.04 350);
   --pastel-mint: var(--dark-ok-bg);
   --pastel-yellow: oklch(0.3 0.04 80);
   --pastel-lavender: var(--dark-accent-bg);
   --pastel-peach: var(--dark-bad-bg);

   /* ─── Navy ─── */
   --navy-surface: var(--dark-surface);
   --navy-border: var(--dark-border);
   --navy-text: var(--dark-text);
   --navy-muted: var(--dark-muted);
   --navy-row-alt: var(--dark-surface);
   --navy-row-border: var(--dark-border-soft);

   /* ─── Status colors ─── */
   --success-50: var(--dark-ok-bg);
   --warning-50: oklch(0.3 0.04 80);
   --error-50: var(--dark-bad-bg);
   --info-50: var(--dark-accent-bg);

   /* ─── Stale banner ─── */
   --color-stale: #f59e0b;
   --color-stale-dark: #fbbf24;
   --color-stale-darker: #fcd34d;
   --color-stale-bg-hover: rgba(245, 158, 11, 0.1);

   /* ─── Approve/Destructive feedback ─── */
   --approve-bg-hover: rgba(16, 185, 129, 0.15);
   --destructive-bg-hover: rgba(239, 68, 68, 0.15);
}
._toastContainer_1volt_1 {
    position: fixed;
    top: 4.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

._toast_1volt_1 {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: var(--surface-card, white);
    border-radius: 8px;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.08);
    border-left: 0.1875rem solid var(--border-subtle);
    pointer-events: auto;
    animation: _toastIn_1volt_1 0.25s ease-out;
    max-width: 22.5rem;
}

._toast_success_1volt_26 {
    border-left-color: var(--success-500);
}

._toast_error_1volt_30 {
    border-left-color: var(--error-500);
}

._toast_info_1volt_34 {
    border-left-color: var(--ai-blue);
}

._toastMessage_1volt_38 {
    font-size: 0.8125rem;
    color: var(--text-primary, var(--slate-700));
    flex: 1;
    line-height: 1.4;
}

._toastClose_1volt_45 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-tertiary, var(--slate-400));
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.1s;
}

._toastClose_1volt_45:hover {
    background: var(--surface-subtle, var(--slate-100));
    color: var(--text-primary, var(--slate-700));
}

@keyframes _toastIn_1volt_1 {
    from {
        opacity: 0;
        transform: translateX(1.25rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 30rem) {
    ._toastContainer_1volt_1 {
        right: 0.75rem;
        left: 0.75rem;
    }
}
/* Global styles for Mapinator MVP */

:root {
  /* Stale / needs-review palette */
  --color-stale: var(--warning-500);
  --color-stale-dark: var(--warning-700);
  --color-stale-darker: var(--warning-800);
  --color-stale-bg: rgba(245, 158, 11, 0.02);
  --color-stale-bg-hover: rgba(245, 158, 11, 0.05);
  --color-stale-bg-active: rgba(245, 158, 11, 0.08);
  --color-stale-pill-bg: #FFF7ED;
}

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

/* GLOBAL SCROLLBAR - EXACTLY like sidebar */
*::-webkit-scrollbar {
  width: 0.25rem;
  height: 0.25rem;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 0.25rem;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--slate-400);
}

html, body {
  height: 100%;
  overflow: hidden;
}

html {
  font-size: 16px; /* Base size */
}

/* Responsive scaling for smaller screens */
@media (max-width: 1200px) {
  html {
    font-size: 14.4px; /* 90% of 16px */
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 13.6px; /* 85% of 16px */
  }
}

@media (max-width: 768px) {
  html {
    font-size: 12.8px; /* 80% of 16px */
  }
}

body {
  margin: 0;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--surface-subtle);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

#root {
  width: 100%;
  height: 100%;
}

.App {
  width: 100%;
  height: 100%;
}

/* Loading spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


body.col-resizing,
body.col-resizing * {
  cursor: col-resize !important;
  user-select: none !important;
}


/* ─── DARK MODE global overrides ─────────────────────────────────────────── */
html.dark body {
  background: var(--surface-page);
  color: var(--text-primary);
}

html.dark input,
html.dark select,
html.dark textarea {
  background: var(--surface-card);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

html.dark input::placeholder,
html.dark textarea::placeholder {
  color: var(--text-disabled);
}

html.dark table {
  color: var(--text-primary);
}

html.dark hr {
  border-color: var(--border-subtle);
}



/* ==========================================================================
   Skeleton placeholder — global utility
   Used by inline skeleton blocks (audit log, credits history, etc.) that set
   their own width/height and rely on this class for the shimmer treatment.
   ========================================================================== */

@keyframes skeleton-shimmer-slide {
  0% {
    background-position: -62.5rem 0;
  }
  100% {
    background-position: 62.5rem 0;
  }
}

.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    var(--slate-300) 0%,
    var(--slate-100) 50%,
    var(--slate-300) 100%
  );
  background-size: 62.5rem 100%;
  animation: skeleton-shimmer-slide 1.6s infinite linear;
  border-radius: 0.375rem;
}

html.dark .skeleton-shimmer {
  background: linear-gradient(
    90deg,
    var(--surface-subtle) 0%,
    var(--border-default) 50%,
    var(--surface-subtle) 100%
  );
  background-size: 62.5rem 100%;
}

/* Respect users who prefer reduced motion: keep the placeholder, drop the slide */
@media (prefers-reduced-motion: reduce) {
  .skeleton-shimmer {
    animation: none;
    background: var(--slate-300);
  }

  html.dark .skeleton-shimmer {
    animation: none;
    background: var(--border-default);
  }
}
._container_1xwz8_1 {
  --auth-panel-bg-start: #0d1e35;
  --auth-panel-bg-mid: #0a1929;
  --auth-panel-bg-end: #071220;
  --auth-accent: var(--ai-blue);
  --auth-accent-light: var(--ai-blue-light);
  --auth-panel-text: rgba(255, 255, 255, 0.55);
  --auth-panel-text-muted: rgba(255, 255, 255, 0.4);
  --auth-panel-text-faint: rgba(255, 255, 255, 0.25);
  --auth-panel-grid: rgba(255, 255, 255, 0.04);
  --auth-panel-glow: rgba(16, 185, 129, 0.08);
  --auth-btn-shadow: 0 4px 14px color-mix(in srgb, var(--blue-600) 30%, transparent);

  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* Left Panel */
._leftPanel_1xwz8_20 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  min-width: 400px;
  padding: 3rem 3.5rem;
  background: linear-gradient(155deg, var(--auth-panel-bg-start) 0%, var(--auth-panel-bg-mid) 60%, var(--auth-panel-bg-end) 100%);
  position: relative;
  overflow: hidden;
}

._leftPanel_1xwz8_20::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--auth-panel-glow) 0%, transparent 60%);
  pointer-events: none;
}

._leftPanel_1xwz8_20::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--auth-panel-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--auth-panel-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

._leftContent_1xwz8_54 {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

._logo_1xwz8_61 {
  height: 28px;
  width: auto;
}

._logoRow_1xwz8_66 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

._partnerLabel_1xwz8_72 {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--auth-panel-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

._headline_1xwz8_80 {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--action-primary-text, white);
  margin: 2rem 0 1rem;
  transition: transform 0.4s ease;
}

._leftPanel_1xwz8_20:hover ._headline_1xwz8_80 {
  transform: translateY(-2px);
}

._headlineAccent_1xwz8_94 {
  display: block;
  background: linear-gradient(90deg, var(--auth-accent), var(--auth-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

._leftDescription_1xwz8_102 {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--auth-panel-text);
  max-width: 440px;
  margin: 0;
  transition: opacity 0.3s ease;
}

._leftPanel_1xwz8_20:hover ._leftDescription_1xwz8_102 {
  opacity: 0.9;
}

/* Route line animation */
._routeContainer_1xwz8_116 {
  position: relative;
  width: 100%;
  height: 64px;
  margin-top: 2rem;
}

._routeSvg_1xwz8_123 {
  display: block;
  overflow: visible;
}

._routeAnim_1xwz8_128 {
  animation: _routeDash_1xwz8_1 3s linear infinite;
}

@keyframes _routeDash_1xwz8_1 {
  to { stroke-dashoffset: -100; }
}

._routePulse_1xwz8_136 {
  animation: _pulse_1xwz8_1 2s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes _pulse_1xwz8_1 {
  0%, 100% { r: 4.5; opacity: 0.5; }
  50% { r: 8; opacity: 0; }
}

/* Separator */
._separator_1xwz8_147 {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 2rem 0;
}

/* Stats */
._stats_1xwz8_155 {
  display: flex;
  justify-content: space-between;
}

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

._statValue_1xwz8_166 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--action-primary-text);
}

._statLabel_1xwz8_172 {
  font-size: 0.6875rem;
  color: var(--auth-panel-text-muted);
}

._leftFooter_1xwz8_177 {
  font-size: 0.6875rem;
  color: var(--auth-panel-text-faint);
  margin: 0;
  position: absolute;
  bottom: 3rem;
  left: 3.5rem;
  z-index: 1;
}

/* Right Panel */
._rightPanel_1xwz8_188 {
  flex: 1;
  background: var(--surface-card, white);
  display: flex;
  flex-direction: column;
}

._rightContent_1xwz8_195 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

._rightFooter_1xwz8_203 {
  padding: 1.25rem 2rem;
  text-align: center;
}

._rightFooterText_1xwz8_208 {
  font-size: 0.6875rem;
  color: var(--text-quaternary, var(--slate-300));
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  ._container_1xwz8_1 {
    flex-direction: column;
  }

  ._leftPanel_1xwz8_20 {
    width: 100%;
    min-width: unset;
    padding: 2rem;
    min-height: auto;
  }

  ._headline_1xwz8_80 {
    font-size: 1.5rem;
  }

  ._leftDescription_1xwz8_102 {
    display: none;
  }

  ._rightContent_1xwz8_195 {
    padding: 2rem;
  }
}
._formWrapper_16ebd_1 {
  width: 100%;
  max-width: 360px;
}

._formTitle_16ebd_6 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
  margin: 0 0 0.25rem;
}

._formSubtitle_16ebd_13 {
  font-size: 0.8125rem;
  color: var(--text-tertiary, #94a3b8);
  margin: 0 0 2rem;
}

/* Form */
._form_16ebd_1 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Input group */
._inputGroup_16ebd_27 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  transition: all 0.3s ease-in-out;
}

/* Label */
._label_16ebd_35 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary, #64748b);
  margin-bottom: 0.25rem;
}

/* Input wrapper */
._inputWrapper_16ebd_48 {
  position: relative;
  width: 100%;
}

/* Input */
._input_16ebd_27 {
  width: 100%;
  height: 2.5rem;
  padding: 0.625rem 1rem;
  padding-right: 2.5rem;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border-subtle, #e2e8f0);
  border-radius: 0;
  font-size: 0.8125rem;
  color: var(--text-primary, #1e293b);
  transition: border-color 0.2s ease;
}

._input_16ebd_27::placeholder {
  color: var(--text-quaternary, #cbd5e1);
}

._input_16ebd_27:focus {
  outline: none;
  border-bottom-color: var(--action-primary-bg, var(--blue-600));
}

._inputError_16ebd_77 {
  border-bottom-color: var(--error-500) !important;
}

._inputShake_16ebd_81 {
  animation: _shake_16ebd_1 0.4s ease-in-out;
}

@keyframes _shake_16ebd_1 {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

/* Toggle button */
._toggleButton_16ebd_94 {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.5;
  transition: opacity 0.2s;
}

._toggleButton_16ebd_94:hover {
  opacity: 1;
}

._toggleIcon_16ebd_116 {
  width: 1.125rem;
  height: 1.125rem;
}

/* Error message */
._errorMessage_16ebd_122 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: var(--error-500);
  margin-top: 0.25rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
}

._errorMessage_16ebd_122._show_16ebd_135 {
  max-height: 3rem;
  opacity: 1;
}

._errorIcon_16ebd_140 {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
  filter: invert(35%) sepia(89%) saturate(3026%) hue-rotate(346deg) brightness(98%) contrast(92%);
}

/* Options (checkbox + forgot password) */
._options_16ebd_148 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
}

/* Checkbox + forgot-password row uses the shared common/Checkbox component.
   The custom-checkbox CSS that previously lived here was removed when the
   markup migrated to <Checkbox variant="brand" />. */

/* Link */
._link_16ebd_160 {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.6875rem;
  color: var(--action-primary-bg, var(--blue-600));
  cursor: pointer;
  text-decoration: none;
  transition: text-decoration 0.2s;
}

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

/* Submit button */
._submitButton_16ebd_176 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 2.75rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--action-primary-bg, var(--blue-600)), var(--blue-700));
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--action-primary-text, white);
  cursor: pointer;
  box-shadow: var(--auth-btn-shadow, 0 4px 14px color-mix(in srgb, var(--blue-600) 30%, transparent));
  transition: opacity 0.2s;
}

._submitButton_16ebd_176:hover {
  opacity: 0.9;
}

._submitButton_16ebd_176:active {
  opacity: 0.8;
}

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

._buttonIcon_16ebd_208 {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) invert(1);
}

/* Divider */
._divider_16ebd_215 {
  position: relative;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.75rem 0;
}

._divider_16ebd_215::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border-subtle, #e2e8f0);
}

._dividerText_16ebd_234 {
  position: relative;
  padding: 0 0.75rem;
  background: var(--surface-card, white);
  font-size: 0.75rem;
  color: var(--text-tertiary, #94a3b8);
  z-index: 1;
}

/* Help/signup link */
._helpLink_16ebd_244 {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.75rem;
  color: var(--action-primary-bg, var(--blue-600));
  cursor: pointer;
  text-decoration: none;
  align-self: center;
}

._helpLink_16ebd_244:hover {
  text-decoration: underline;
}
._wrapper_oakhk_1 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

._wrapper_oakhk_1._disabled_oakhk_8 {
  cursor: not-allowed;
}

._boxWrapper_oakhk_12 {
  position: relative;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Visually-hidden native checkbox (keeps keyboard/screen-reader behavior). */
._input_oakhk_20 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}

._box_oakhk_12 {
  width: 1rem;
  height: 1rem;
  background: transparent;
  border: 1.5px solid var(--border-subtle);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-sizing: border-box;
}

/* Check icon hidden until checked. */
._checkIcon_oakhk_45 {
  width: 0.625rem;
  height: 0.625rem;
  opacity: 0;
  color: var(--action-primary-text);
  transition: opacity 0.15s;
}

._input_oakhk_20:checked + ._box_oakhk_12 ._checkIcon_oakhk_45 {
  opacity: 1;
}

/* ---- variant: brand (primary selection) ---- */
._input_oakhk_20:checked + ._box--brand_oakhk_58 {
  background: var(--action-primary-bg);
  border-color: var(--action-primary-bg);
}

/* ---- variant: success (task complete) ---- */
._input_oakhk_20:checked + ._box--success_oakhk_64 {
  background: var(--success-500);
  border-color: var(--success-500);
}

/* ---- variant: warning (destructive confirm) ---- */
._input_oakhk_20:checked + ._box--warning_oakhk_70 {
  background: var(--warning-600);
  border-color: var(--warning-600);
}

._input_oakhk_20:disabled + ._box_oakhk_12 {
  opacity: 0.5;
}

._input_oakhk_20:focus-visible + ._box_oakhk_12 {
  outline: 2px solid var(--action-primary-bg);
  outline-offset: 2px;
}

._label_oakhk_84 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}
._formWrapper_zzpr7_1 {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
}

._formTitle_zzpr7_8 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
  margin: 0 0 0.25rem;
}

._formSubtitle_zzpr7_15 {
  font-size: 0.8125rem;
  color: var(--text-tertiary, #94a3b8);
  margin: 0 0 2rem;
}

._form_zzpr7_1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

._label_zzpr7_33 {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary, #64748b);
  margin-bottom: 0.25rem;
}

._input_zzpr7_27 {
  width: 100%;
  height: 2.5rem;
  padding: 0.625rem 1rem;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border-subtle, #e2e8f0);
  border-radius: 0;
  font-size: 0.8125rem;
  color: var(--text-primary, #1e293b);
  transition: border-color 0.2s ease;
}

._input_zzpr7_27::placeholder {
  color: var(--text-quaternary, #cbd5e1);
}

._input_zzpr7_27:focus {
  outline: none;
  border-bottom-color: var(--action-primary-bg, var(--blue-600));
}

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

._errorMessage_zzpr7_69 {
  margin: 0;
  font-size: 0.75rem;
  color: var(--error-500);
  line-height: 1.25rem;
}

._submitButton_zzpr7_76 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 2.75rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--action-primary-bg, var(--blue-600)), var(--blue-700));
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--action-primary-text, white);
  cursor: pointer;
  box-shadow: var(--auth-btn-shadow, 0 4px 14px color-mix(in srgb, var(--blue-600) 30%, transparent));
  transition: opacity 0.2s;
}

._submitButton_zzpr7_76:hover {
  opacity: 0.9;
}

._submitButton_zzpr7_76:active {
  opacity: 0.8;
}

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

._divider_zzpr7_108 {
  position: relative;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.75rem 0;
}

._divider_zzpr7_108::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border-subtle, #e2e8f0);
}

._dividerText_zzpr7_127 {
  position: relative;
  padding: 0 0.75rem;
  background: var(--surface-card, white);
  font-size: 0.75rem;
  color: var(--text-tertiary, #94a3b8);
  z-index: 1;
}

._linkButton_zzpr7_136 {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.75rem;
  color: var(--action-primary-bg, var(--blue-600));
  cursor: pointer;
  text-decoration: none;
  align-self: center;
  transition: text-decoration 0.2s;
}

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

._successContent_zzpr7_152 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem 0;
}

._successIconWrapper_zzpr7_161 {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success-500), var(--success-600));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

._successIconImg_zzpr7_172 {
  width: 1.25rem;
  height: 1.25rem;
  filter: brightness(0) invert(1);
}

._successTitle_zzpr7_178 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
}

._successText_zzpr7_185 {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
/* ResetPasswordSuccessScreen — same structure as LoginScreen */

._formWrapper_16t9r_3 {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
}

/* Success icon */
._successIconWrapper_16t9r_11 {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success-500, var(--success-500)), var(--success-600, var(--success-600)));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  align-self: center;
  box-shadow: 0 0.625rem 0.9375rem -0.1875rem color-mix(in srgb, var(--success-500) 30%, transparent),
    0 0.25rem 0.375rem -0.25rem color-mix(in srgb, var(--success-500) 20%, transparent);
}

._successIcon_16t9r_11 {
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0) invert(1);
}

._formTitle_16t9r_31 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary, var(--slate-800));
  margin: 0 0 0.25rem;
  text-align: center;
  letter-spacing: -0.025rem;
}

._formSubtitle_16t9r_40 {
  font-size: 0.875rem;
  color: var(--text-tertiary, var(--slate-400));
  margin: 0 0 1.75rem;
  line-height: 1.5;
  text-align: center;
}

/* Submit button */
._submitButton_16t9r_49 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 2.75rem;
  background: linear-gradient(135deg, var(--action-primary-bg, var(--ai-blue)), var(--blue-700));
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--action-primary-text, white);
  cursor: pointer;
  box-shadow: 0 0.625rem 0.9375rem -0.1875rem color-mix(in srgb, var(--ai-blue) 30%, transparent),
    0 0.25rem 0.375rem -0.25rem color-mix(in srgb, var(--ai-blue) 20%, transparent);
  transition: opacity 0.2s;
}

._submitButton_16t9r_49:hover {
  opacity: 0.9;
}

._submitButton_16t9r_49:active {
  opacity: 0.8;
}

._buttonIconBack_16t9r_76 {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) invert(1);
  transform: rotate(180deg);
}

/* Security note */
._securityNote_16t9r_84 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 1rem;
}

._securityIcon_16t9r_92 {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0.4;
}

._securityNote_16t9r_84 span {
  font-size: 0.6875rem;
  color: var(--text-quaternary, var(--slate-400));
}
/* PasswordRecoveryEmailSent — same structure as LoginScreen */

._formWrapper_1g1sy_3 {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
}

/* Success icon */
._successIconWrapper_1g1sy_11 {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success-500, var(--success-500)), var(--success-600, var(--success-600)));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  align-self: center;
  box-shadow: 0 0.625rem 0.9375rem -0.1875rem color-mix(in srgb, var(--success-500) 30%, transparent),
    0 0.25rem 0.375rem -0.25rem color-mix(in srgb, var(--success-500) 20%, transparent);
}

._successIcon_1g1sy_11 {
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0) invert(1);
}

._formTitle_1g1sy_31 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary, var(--slate-800));
  margin: 0 0 0.25rem;
  text-align: center;
  letter-spacing: -0.025rem;
}

._formSubtitle_1g1sy_40 {
  font-size: 0.875rem;
  color: var(--text-tertiary, var(--slate-400));
  margin: 0 0 1.5rem;
  line-height: 1.5;
  text-align: center;
}

/* Steps card */
._stepsCard_1g1sy_49 {
  background: color-mix(in srgb, var(--ai-blue) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--ai-blue) 15%, transparent);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

._stepsTitle_1g1sy_57 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary, var(--slate-600));
  margin: 0 0 0.625rem;
}

._stepsList_1g1sy_66 {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._stepsList_1g1sy_66 li {
  font-size: 0.8125rem;
  color: var(--text-secondary, var(--slate-600));
  line-height: 1.4;
}

/* Expiry note */
._expiry_1g1sy_81 {
  font-size: 0.6875rem;
  color: var(--text-quaternary, var(--slate-400));
  margin: 0 0 1.5rem;
}

/* Submit button */
._submitButton_1g1sy_88 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 2.75rem;
  background: linear-gradient(135deg, var(--action-primary-bg, var(--ai-blue)), var(--blue-700));
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--action-primary-text, white);
  cursor: pointer;
  box-shadow: 0 0.625rem 0.9375rem -0.1875rem color-mix(in srgb, var(--ai-blue) 30%, transparent),
    0 0.25rem 0.375rem -0.25rem color-mix(in srgb, var(--ai-blue) 20%, transparent);
  transition: opacity 0.2s;
}

._submitButton_1g1sy_88:hover {
  opacity: 0.9;
}

._submitButton_1g1sy_88:active {
  opacity: 0.8;
}

._buttonIconBack_1g1sy_115 {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) invert(1);
  transform: rotate(180deg);
}
/* ExpiredLinkScreen — same structure as LoginScreen */

._formWrapper_1b6zj_3 {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
}

/* Error icon */
._errorIconWrapper_1b6zj_11 {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--error-500, var(--error-500)), var(--error-600, var(--error-600)));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  align-self: center;
  box-shadow: 0 0.625rem 0.9375rem -0.1875rem color-mix(in srgb, var(--error-500) 30%, transparent),
    0 0.25rem 0.375rem -0.25rem color-mix(in srgb, var(--error-500) 20%, transparent);
}

._errorIcon_1b6zj_11 {
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0) invert(1);
}

._formTitle_1b6zj_31 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary, var(--slate-800));
  margin: 0 0 0.25rem;
  text-align: center;
  letter-spacing: -0.025rem;
}

._formSubtitle_1b6zj_40 {
  font-size: 0.875rem;
  color: var(--text-tertiary, var(--slate-400));
  margin: 0 0 1.5rem;
  line-height: 1.5;
  text-align: center;
}

/* Steps card */
._stepsCard_1b6zj_49 {
  background: color-mix(in srgb, var(--blue-50) 50%, transparent);
  border: 1px solid color-mix(in srgb, var(--error-500) 10%, transparent);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

._stepsTitle_1b6zj_57 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary, var(--slate-600));
  margin: 0 0 0.625rem;
}

._stepsList_1b6zj_66 {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._stepsList_1b6zj_66 li {
  font-size: 0.8125rem;
  color: var(--text-secondary, var(--slate-600));
  line-height: 1.4;
}

/* Submit button */
._submitButton_1b6zj_81 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 2.75rem;
  background: linear-gradient(135deg, var(--action-primary-bg, var(--ai-blue)), var(--blue-700));
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--action-primary-text, white);
  cursor: pointer;
  box-shadow: 0 0.625rem 0.9375rem -0.1875rem color-mix(in srgb, var(--ai-blue) 30%, transparent),
    0 0.25rem 0.375rem -0.25rem color-mix(in srgb, var(--ai-blue) 20%, transparent);
  transition: opacity 0.2s;
}

._submitButton_1b6zj_81:hover {
  opacity: 0.9;
}

._submitButton_1b6zj_81:active {
  opacity: 0.8;
}

._buttonIcon_1b6zj_108 {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) invert(1);
}

/* Back link */
._backLink_1b6zj_115 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--action-primary-bg, var(--ai-blue));
  cursor: pointer;
  align-self: center;
  margin-top: 0.75rem;
  transition: text-decoration 0.2s;
}

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

._backIcon_1b6zj_136 {
  width: 0.75rem;
  height: 0.75rem;
  filter: invert(35%) sepia(50%) saturate(800%) hue-rotate(180deg) brightness(95%) contrast(95%);
  transform: rotate(180deg);
}
/* PasswordRecovery — same structure as LoginScreen */

._formWrapper_1e4eg_3 {
  width: 100%;
  max-width: 360px;
}

._formTitle_1e4eg_8 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary, var(--slate-800));
  margin: 0 0 0.25rem;
  letter-spacing: -0.025rem;
}

._formSubtitle_1e4eg_16 {
  font-size: 0.875rem;
  color: var(--text-tertiary, var(--slate-400));
  margin: 0 0 2rem;
  line-height: 1.5;
}

/* Form */
._form_1e4eg_3 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Input group */
._inputGroup_1e4eg_31 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  transition: all 0.3s ease-in-out;
}

/* Label */
._label_1e4eg_39 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary, var(--slate-600));
  line-height: 1.25rem;
  margin-bottom: 0.25rem;
}

/* Input */
._input_1e4eg_31 {
  width: 100%;
  height: 2.25rem;
  padding: 1rem;
  background: color-mix(in srgb, var(--surface-card) 95%, transparent);
  border: 0.125rem solid var(--slate-300, var(--slate-300));
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-primary, var(--slate-800));
  line-height: normal;
  transition: border-color 0.3s ease-in-out;
}

._input_1e4eg_31::placeholder {
  color: var(--text-tertiary, var(--slate-400));
}

._input_1e4eg_31:focus {
  outline: none;
  border-color: var(--action-primary-bg, var(--ai-blue));
}

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

._inputError_1e4eg_79 {
  border-color: var(--error-500) !important;
}

._inputShake_1e4eg_83 {
  animation: _shake_1e4eg_1 0.4s ease-in-out;
}

@keyframes _shake_1e4eg_1 {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-0.1875rem); }
  40% { transform: translateX(0.1875rem); }
  60% { transform: translateX(-0.1875rem); }
  80% { transform: translateX(0.1875rem); }
}

/* Error message */
._errorMessage_1e4eg_96 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--error-500);
  line-height: 1rem;
  margin-top: 0.125rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
}

._errorMessage_1e4eg_96._show_1e4eg_111 {
  max-height: 3rem;
  opacity: 1;
}

._errorIcon_1e4eg_116 {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  filter: invert(35%) sepia(89%) saturate(3026%) hue-rotate(346deg) brightness(98%) contrast(92%);
}

/* Submit button */
._submitButton_1e4eg_124 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 2.25rem;
  margin-top: 0.75rem;
  background: linear-gradient(135deg, var(--action-primary-bg, var(--ai-blue)), var(--blue-700));
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--action-primary-text, white);
  cursor: pointer;
  box-shadow: 0 0.625rem 0.9375rem -0.1875rem color-mix(in srgb, var(--ai-blue) 30%, transparent),
    0 0.25rem 0.375rem -0.25rem color-mix(in srgb, var(--ai-blue) 20%, transparent);
  transition: opacity 0.2s;
}

._submitButton_1e4eg_124:hover {
  opacity: 0.9;
}

._submitButton_1e4eg_124:active {
  opacity: 0.8;
}

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

._buttonIcon_1e4eg_157 {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) invert(1);
}

/* Rate limit banner */
._rateLimitBanner_1e4eg_164 {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--warning-500) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--warning-500) 30%, transparent);
  border-radius: 8px;
  margin-bottom: 0.25rem;
}

._rateLimitIcon_1e4eg_175 {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  filter: invert(68%) sepia(72%) saturate(600%) hue-rotate(5deg) brightness(98%) contrast(95%);
}

._rateLimitTitle_1e4eg_183 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--warning-700, var(--warning-700));
  margin: 0 0 0.125rem;
}

._rateLimitText_1e4eg_190 {
  font-size: 0.6875rem;
  color: var(--warning-600, var(--warning-600));
  margin: 0;
  line-height: 1.4;
}

/* Back link */
._backLink_1e4eg_198 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--action-primary-bg, var(--ai-blue));
  cursor: pointer;
  align-self: center;
  margin-top: 0.5rem;
  transition: text-decoration 0.2s;
}

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

._backIcon_1e4eg_219 {
  width: 0.75rem;
  height: 0.75rem;
  filter: invert(35%) sepia(50%) saturate(800%) hue-rotate(180deg) brightness(95%) contrast(95%);
  transform: rotate(180deg);
}
._formWrapper_1mnm5_1 {
  width: 100%;
  max-width: 360px;
}

._formTitle_1mnm5_6 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary, var(--slate-800));
  margin: 0 0 1.5rem;
}

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

/* Rate limit banner */
._rateLimitBanner_1mnm5_20 {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
}

._rateLimitIcon_1mnm5_30 {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  filter: invert(68%) sepia(72%) saturate(600%) hue-rotate(5deg) brightness(98%) contrast(95%);
}

._rateLimitTitle_1mnm5_38 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--warning-700, var(--warning-700));
  margin: 0 0 0.125rem;
}

._rateLimitText_1mnm5_45 {
  font-size: 0.6875rem;
  color: var(--warning-600, var(--warning-600));
  margin: 0;
  line-height: 1.4;
}

._inputGroup_1mnm5_52 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  position: relative;
}

._labelWithTooltip_1mnm5_59 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

._label_1mnm5_59 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary, var(--slate-500));
  margin-bottom: 0.25rem;
}

._labelIcon_1mnm5_77 {
  width: 0.875rem;
  height: 0.875rem;
  opacity: 0.6;
}

._inputWrapper_1mnm5_83 {
  position: relative;
  width: 100%;
}

._input_1mnm5_52 {
  width: 100%;
  height: 2.5rem;
  padding: 0.625rem 1rem;
  padding-right: 2.5rem;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border-subtle, var(--border-subtle));
  border-radius: 0;
  font-size: 0.8125rem;
  color: var(--text-primary, var(--slate-800));
  transition: border-color 0.2s ease;
}

._input_1mnm5_52::placeholder {
  color: var(--text-quaternary, var(--slate-300));
}

._input_1mnm5_52:focus {
  outline: none;
  border-bottom-color: var(--action-primary-bg, var(--ai-blue));
}

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

._inputSuccess_1mnm5_116 {
  border-bottom-color: var(--success-500) !important;
}

._inputError_1mnm5_120 {
  border-bottom-color: var(--error-500) !important;
}

._toggleButton_1mnm5_124 {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.5;
  transition: opacity 0.2s;
}

._toggleButton_1mnm5_124:hover {
  opacity: 1;
}

._toggleIcon_1mnm5_146 {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
}

/* Tooltip */
._tooltipContainer_1mnm5_153 {
  position: relative;
}

._tooltipIcon_1mnm5_157 {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  opacity: 0.6;
}

._tooltipIconImage_1mnm5_164 {
  width: 1rem;
  height: 1rem;
}

._tooltip_1mnm5_153 {
  display: none;
  position: absolute;
  right: 0;
  top: 1.5rem;
  width: 14rem;
  background: var(--surface-card, white);
  border: 1px solid var(--border-subtle, var(--border-subtle));
  border-radius: 8px;
  padding: 0.75rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  z-index: 10;
}

._tooltipContainer_1mnm5_153:hover ._tooltip_1mnm5_153 {
  display: block;
}

._tooltipTitle_1mnm5_187 {
  margin: 0 0 0.25rem 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

._tooltipList_1mnm5_194 {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* Password strength indicator */
._strengthIndicator_1mnm5_203 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

._strengthBars_1mnm5_209 {
  display: flex;
  gap: 0.25rem;
  height: 0.25rem;
}

._strengthBar_1mnm5_209 {
  flex: 1;
  background: var(--slate-200, var(--border-subtle));
  border-radius: 0.125rem;
  transition: background-color 0.3s ease-in-out;
}

._strengthBar--weak_1mnm5_222 { background: var(--error-500); }
._strengthBar--medium_1mnm5_223 { background: var(--warning-500); }
._strengthBar--strong_1mnm5_224 { background: var(--info-500); }
._strengthBar--very-strong_1mnm5_225 { background: var(--success-500); }

._strengthLabel_1mnm5_227 {
  margin: 0;
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}

._strengthText--weak_1mnm5_233 { color: var(--error-500); font-weight: 700; }
._strengthText--medium_1mnm5_234 { color: var(--warning-500); font-weight: 700; }
._strengthText--strong_1mnm5_235 { color: var(--info-500); font-weight: 700; }
._strengthText--very-strong_1mnm5_236 { color: var(--success-500); font-weight: 700; }

/* Password match indicator */
._matchIndicator_1mnm5_239 {
  margin-top: 0.125rem;
}

._matchSuccess_1mnm5_243,
._matchError_1mnm5_244 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
}

._matchSuccess_1mnm5_243 { background: rgba(16, 185, 129, 0.1); }
._matchError_1mnm5_244 { background: rgba(239, 68, 68, 0.1); }

._matchIcon_1mnm5_255 {
  width: 1rem;
  height: 1rem;
}

._matchText_1mnm5_260 {
  font-size: 0.6875rem;
  line-height: 1rem;
  white-space: pre-line;
}

._matchSuccess_1mnm5_243 ._matchText_1mnm5_260 { color: var(--success-500); }
._matchError_1mnm5_244 ._matchText_1mnm5_260 { color: var(--error-500); }

/* Submit button */
._submitButton_1mnm5_270 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 2.75rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--action-primary-bg, var(--ai-blue)), var(--blue-700));
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--action-primary-text, white);
  cursor: pointer;
  box-shadow: var(--auth-btn-shadow, 0 4px 14px color-mix(in srgb, var(--blue-600) 30%, transparent));
  transition: opacity 0.2s;
}

._submitButton_1mnm5_270:hover:not(:disabled) { opacity: 0.9; }
._submitButton_1mnm5_270:active:not(:disabled) { opacity: 0.8; }
._submitButton_1mnm5_270:disabled { opacity: 0.5; cursor: not-allowed; }
._submitButtonLoading_1mnm5_292 { opacity: 0.7; }

._buttonIcon_1mnm5_294 {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) invert(1);
}

._spinner_1mnm5_300 {
  width: 1rem;
  height: 1rem;
  border: 0.125rem solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--action-primary-text, white);
  border-radius: 50%;
  animation: _spin_1mnm5_300 0.8s linear infinite;
}

@keyframes _spin_1mnm5_300 {
  to { transform: rotate(360deg); }
}

._link_1mnm5_313 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.75rem;
  color: var(--action-primary-bg, var(--ai-blue));
  cursor: pointer;
  text-decoration: none;
  align-self: center;
  transition: text-decoration 0.2s;
}

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

._backIcon_1mnm5_331 {
  width: 0.75rem;
  height: 0.75rem;
  transform: rotate(180deg);
}
/* Error404 Styles - Mapinator MVP */

/* Container principal */
._container_b8h5i_7 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background com gradientes */
._background_b8h5i_31 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--blue-600) 1.6%, transparent) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

/* Card de erro */
._errorCard_b8h5i_53 {
  position: relative;
  width: 28rem;
  z-index: 1;
}

/* Card glow effect */
._cardGlow_b8h5i_67 {
  position: absolute;
  top: -0.7rem;
  left: -0.7rem;
  width: 29.4rem;
  height: 28.3882rem;
  background: linear-gradient(to right, color-mix(in srgb, var(--blue-600) 10%, transparent), color-mix(in srgb, var(--blue-600) 10%, transparent));
  border-radius: 8px;
  filter: blur(6rem);
}

._cardInner_b8h5i_89 {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border: 0.0417rem solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  box-shadow: 0rem 1.25rem 1.5625rem -0.3125rem rgba(0, 0, 0, 0.1), 0rem 0.5rem 0.625rem -0.375rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Header azul */
._header_b8h5i_109 {
  position: relative;
  height: 8.375rem;
  background: linear-gradient(0deg, var(--slate-800), var(--slate-1000));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  overflow: hidden;
}

._headerContent_b8h5i_133 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

/* Logo container */
._logoContainer_b8h5i_153 {
  position: relative;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.3);
  border: 0.0417rem solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  box-shadow: 0rem 0.625rem 0.9375rem -0.1875rem rgba(0, 0, 0, 0.1), 0rem 0.25rem 0.375rem -0.25rem rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

._logoBackground_b8h5i_179 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
  border-radius: 8px;
}

._logoBlur_b8h5i_199 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  filter: blur(0.125rem);
  border-radius: 8px 8px 0 0;
}

._logoIcon_b8h5i_221 {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

._logoIcon_b8h5i_221 img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(4456%) hue-rotate(351deg) brightness(95%) contrast(95%);
}

/* Título */
._title_b8h5i_251 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-inverse);
  text-align: center;
  letter-spacing: -0.0312rem;
  text-shadow: 0rem 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

/* Subtitle */
._subtitle_b8h5i_273 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  text-shadow: 0rem 0.1875rem 0.375rem rgba(0, 0, 0, 0.12);
}

/* Body */
._body_b8h5i_293 {
  padding: 1.25rem 1.5rem 2rem 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Description */
._description_b8h5i_311 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.4219rem;
}

/* Info box */
._infoBox_b8h5i_331 {
  padding: 0.75rem;
  background: var(--blue-50);
  border: 0.0417rem solid var(--blue-200);
  border-radius: 8px;
}

._infoText_b8h5i_345 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-accent);
  text-align: center;
  line-height: 1.2188rem;
}

/* Button Group */
._buttonGroup_b8h5i_365 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Button */
._button_b8h5i_365 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  background: var(--action-primary-bg);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
  box-shadow: 0rem 0.25rem 0.375rem -0.0625rem rgba(0, 0, 0, 0.1), 0rem 0.125rem 0.25rem -0.125rem rgba(0, 0, 0, 0.1);
}

._button_b8h5i_365:hover {
  opacity: 0.9;
}

._button_b8h5i_365:active {
  opacity: 0.8;
}

._button_b8h5i_365 img {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) invert(1);
}

/* Logout Button */
._logoutButton_b8h5i_443 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  background: transparent;
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._logoutButton_b8h5i_443:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
}

._logoutButton_b8h5i_443:active {
  background: var(--slate-200);
}

._logoutButton_b8h5i_443 img {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) saturate(100%) invert(47%) sepia(8%) saturate(1015%) hue-rotate(177deg) brightness(92%) contrast(87%);
}

/* Footer */
._footer_b8h5i_507 {
  padding-top: 0.75rem;
  border-top: 0.0417rem solid var(--border-subtle);
}

._footerText_b8h5i_517 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1rem;
}

/* Responsividade */
@media (max-width: 48rem) {
  ._errorCard_b8h5i_53 {
    width: 90%;
    max-width: 28rem;
  }

  ._body_b8h5i_293 {
    padding: 1.25rem 1.5rem 1.5rem 1.5rem;
  }
}

@media (max-width: 30rem) {
  ._errorCard_b8h5i_53 {
    width: 95%;
  }

  ._body_b8h5i_293 {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
  }

  ._header_b8h5i_109 {
    padding: 1rem 1.5rem;
  }
}
._pageTransition_q278j_1 {
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  width: 100%;
  height: 100%;
}

._pageTransition_q278j_1._visible_q278j_9 {
  opacity: 1;
  transform: translateY(0);
}
/* ClientsSidebar Styles - Mapinator MVP */
/* Matches the reference sidebar.html layout exactly. */

._sidebar_100vb_4 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 212px;
  height: 100vh;
  background: var(--surface-card);
  border-right: 1px solid var(--border-subtle);
  padding: 20px 12px;
  overflow: hidden;
  transition: width 180ms ease;
  flex-shrink: 0;
  position: relative;
}

._sidebarCollapsed_100vb_19 {
  width: 56px;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
}

._sidebarCollapsed_100vb_19 ._header_100vb_26 {
  justify-content: center;
}

._sidebarCollapsed_100vb_19 ._addButton_100vb_30 {
  width: 40px;
  padding: 0;
}

._sidebarCollapsed_100vb_19 ._content_100vb_35 {
  align-items: center;
  width: 100%;
}

._sidebarCollapsed_100vb_19 ._clientList_100vb_40 {
  align-items: center;
  width: 100%;
}

._sidebarCollapsed_100vb_19 ._clientCard_100vb_45 {
  justify-content: center;
  padding: 0;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 8px;
}

._sidebarCollapsed_100vb_19 ._clientCardSelected_100vb_54 {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: color-mix(in srgb, var(--blue-600) 8%, transparent);
  border: 1px solid transparent;
  border-radius: 8px;
}

/* ===== HEADER (Brand) ===== */
._header_100vb_26 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 34px;
  padding: 0;
  border-bottom: none;
  background: transparent;
  overflow: visible;
}

._logoButton_100vb_76 {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

._logoButton_100vb_76:hover {
  opacity: 0.8;
}

._logo_100vb_76 {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

._logoIcon_100vb_100 {
  width: 28px;
  height: 28px;
}

._horizontalLockup_100vb_105 {
  height: 22px;
  width: auto;
}

._collapseToggle_100vb_110 {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--blue-400);
  cursor: pointer;
  border: none;
  background: none;
}

._collapseToggle_100vb_110:hover {
  background: color-mix(in srgb, var(--blue-600) 10%, transparent);
}

/* Hide inline chevron when collapsed, show solo chevron */
._sidebarCollapsed_100vb_19 ._collapseToggle_100vb_110._collapseInline_100vb_129 {
  display: none;
}

._collapseToggleSolo_100vb_133 {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--blue-400);
  cursor: pointer;
  border: none;
  background: none;
  align-self: center;
}

._collapseToggleSolo_100vb_133:hover {
  background: color-mix(in srgb, var(--blue-600) 10%, transparent);
}

._sidebar_100vb_4:not(._sidebarCollapsed_100vb_19) ._collapseToggleSolo_100vb_133 {
  display: none;
}

._horizontalLockup_100vb_105 {
  max-width: 100%;
  height: 1.6rem;
  flex-shrink: 0;
}

/* Title removed — wordmark is part of HorizontalLockup SVG */

/* ===== CONTENT ===== */
._content_100vb_35 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  overflow: hidden;
  padding: 0;
}

/* ===== SECTION HEADER (CLIENTES label) ===== */
._sectionHeader_100vb_175 {
  display: flex;
  align-items: center;
  padding: 4px 8px 6px;
}

._sidebarCollapsed_100vb_19 ._sectionHeader_100vb_175 {
  display: none;
}

._sectionTitle_100vb_185 {
  font-family: var(--font-family-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-disabled);
  margin: 0;
}

/* ===== ADD BUTTON ===== */
._addButton_100vb_30 {
  height: 36px;
  flex: 0 0 36px;
  border: none;
  background: var(--action-primary-bg);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  padding: 0;
  transition: opacity 0.15s;
}

._addButton_100vb_30:hover {
  opacity: 0.9;
}

._addButton_100vb_30 span {
  white-space: nowrap;
  overflow: hidden;
}

._addButtonIcon_100vb_223 {
  display: none;
  font-size: 18px;
  font-weight: 400;
}

._addButtonText_100vb_229 {
  white-space: nowrap;
  overflow: hidden;
}

._sidebarCollapsed_100vb_19 ._addButtonText_100vb_229 {
  display: none;
}

._sidebarCollapsed_100vb_19 ._addButtonIcon_100vb_223 {
  display: block;
}

/* ===== CLIENT LIST ===== */
._clientList_100vb_40 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

._clientCardWrapper_100vb_252 {
  position: relative;
}

._sectionLabel_100vb_256 {
  font-family: var(--font-family-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-disabled);
  padding: 4px 8px 6px;
}

/* ===== CLIENT CARD ===== */
._clientCard_100vb_45 {
  height: 40px;
  flex: 0 0 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
  cursor: pointer;
  overflow: hidden;
  color: var(--text-tertiary);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: background 0.1s, color 0.1s;
}

._clientCard_100vb_45:hover {
  background: color-mix(in srgb, var(--blue-600) 5%, transparent);
  color: var(--text-secondary);
}

._clientCardSelected_100vb_54 {
  background: color-mix(in srgb, var(--blue-600) 8%, transparent);
  color: var(--text-primary);
}

._clientCardInactive_100vb_294 {
  opacity: 0.5;
}

._clientCardWrapper_100vb_252:hover ._clientCardInactive_100vb_294 {
  opacity: 0.6;
}

._clientCardWrapper_100vb_252:hover ._clientCard_100vb_45 {
  background: color-mix(in srgb, var(--blue-600) 5%, transparent);
}

._clientCardWrapper_100vb_252:hover ._clientCardSelected_100vb_54 {
  background: color-mix(in srgb, var(--blue-600) 8%, transparent);
}

/* Client acronym — matches .ini */
._clientAcronym_100vb_311 {
  width: 30px;
  flex: 0 0 30px;
  text-align: center;
  font-family: var(--font-family-mono);
  font-size: 12px;
  color: inherit;
}

/* Client info — matches .full */
._clientInfo_100vb_321 {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  transition: padding-right 0.1s;
}

/* Reserve space for the edit button so long names truncate before it */
._clientCardWrapper_100vb_252:hover ._clientInfo_100vb_321 {
  padding-right: 1.75rem;
}

._sidebarCollapsed_100vb_19 ._clientCardWrapper_100vb_252:hover ._clientInfo_100vb_321 {
  padding-right: 0;
}

._sidebarCollapsed_100vb_19 ._clientInfo_100vb_321 {
  display: none;
}

/* Hide acronym icon when sidebar is expanded */
._sidebar_100vb_4:not(._sidebarCollapsed_100vb_19) ._clientCard_100vb_45 ._clientAcronym_100vb_311 {
  display: none;
}

._clientName_100vb_347 {
  font-size: 13px;
  font-weight: 400;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  line-height: 1.3;
}

._clientProjects_100vb_358 {
  display: none;
}

/* ===== EDIT BUTTON ===== */
._editButton_100vb_363 {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  background: transparent;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  padding: 0;
}

._clientCardWrapper_100vb_252:hover ._editButton_100vb_363 {
  display: flex;
}

._sidebarCollapsed_100vb_19 ._clientCardWrapper_100vb_252:hover ._editButton_100vb_363 {
  display: none;
}

._editButton_100vb_363:hover {
  transform: translateY(-50%) scale(1.15);
}

._editIcon_100vb_392 {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--text-accent);
}

/* ===== COLLAPSE BUTTON ===== */
._collapseButton_100vb_399 {
  position: absolute;
  top: 2.7rem;
  right: -0.75rem;
  width: 1.4583rem;
  height: 1.4583rem;
  background: var(--surface-card);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease-in-out;
  z-index: 10;
  padding: 0;
}

._collapseButton_100vb_399:hover {
  border-color: var(--indigo-700);
}

._collapseButton_100vb_399:hover ._collapseIcon_100vb_422 {
  color: var(--indigo-700);
}

._collapseIcon_100vb_422 {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--text-tertiary);
  transition: all 0.3s ease-in-out;
}

._collapseIconFlipped_100vb_433 {
  transform: rotate(180deg);
}

/* ===== SCROLLBAR ===== */
._content_100vb_35::-webkit-scrollbar {
  width: 0.25rem;
}

._content_100vb_35::-webkit-scrollbar-track {
  background: transparent;
}

._content_100vb_35::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 0.125rem;
}

._content_100vb_35::-webkit-scrollbar-thumb:hover {
  background: var(--slate-400);
}

/* ===== TOOLTIP (when collapsed) ===== */
._clientTooltip_100vb_456 {
  position: fixed;
  background: var(--surface-card);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  box-shadow: 0 0.25rem 0.375rem -0.0625rem rgba(0, 0, 0, 0.1), 0 0.125rem 0.25rem -0.125rem rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
  min-width: 11.25rem;
}

._clientTooltip_100vb_456::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 0.375rem solid transparent;
  border-right-color: var(--border-subtle);
}

._clientTooltip_100vb_456::after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 0.3125rem solid transparent;
  border-right-color: var(--surface-card);
  margin-right: -0.0625rem;
}

._sidebarCollapsed_100vb_19 ._clientCardWrapper_100vb_252:hover ._clientTooltip_100vb_456 {
  opacity: 1;
  visibility: visible;
}

._clientTooltipName_100vb_498 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25rem;
  margin-bottom: 0.25rem;
}

._clientTooltipProjects_100vb_506 {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-tertiary);
  line-height: 1rem;
}


/* ─── Dark Mode Overrides ────────────────────────────────────────────────── */
html.dark ._sidebar_100vb_4 {
  background: var(--dark-canvas);
  border-right-color: var(--dark-border-soft);
}

html.dark ._clientCard_100vb_45 {
  background: transparent;
  border: none;
}

html.dark ._clientCard_100vb_45:hover {
  background: var(--dark-hover);
}

html.dark ._clientCardSelected_100vb_54 {
  background: var(--dark-hover);
  border: none;
}

html.dark ._clientName_100vb_347 {
  color: var(--dark-text-2);
}

html.dark ._clientCardSelected_100vb_54 ._clientName_100vb_347 {
  color: var(--dark-text);
}

html.dark ._addButton_100vb_30 {
  border-color: var(--dark-border);
  background: var(--dark-surface);
  color: var(--dark-text-2);
}

html.dark ._addButton_100vb_30:hover {
  border-color: var(--dark-border-3);
  color: var(--dark-text);
}

html.dark ._collapseToggle_100vb_110,
html.dark ._collapseToggleSolo_100vb_133 {
  color: var(--dark-muted);
}

html.dark ._collapseToggle_100vb_110:hover,
html.dark ._collapseToggleSolo_100vb_133:hover {
  background: var(--dark-hover);
}

html.dark ._sectionLabel_100vb_256 {
  color: var(--dark-muted-2);
}

html.dark ._searchInput_100vb_567 {
  background: var(--dark-surface);
  border-color: var(--dark-border);
  color: var(--dark-text-2);
}

html.dark ._searchInput_100vb_567:focus {
  border-color: var(--dark-border-3);
}


/* ═══════ Search ═══════ */
._searchWrapper_100vb_579 {
  position: relative;
}

._searchInput_100vb_567 {
  width: 100%;
  height: 32px;
  flex: 0 0 32px;
  padding: 0 10px 0 30px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  font-size: 12.5px;
  color: var(--text-secondary);
  outline: none;
}

._searchInput_100vb_567:focus {
  border-color: var(--indigo-700);
}

._searchInput_100vb_567::placeholder {
  color: var(--text-disabled);
}

._sidebarCollapsed_100vb_19 ._searchWrapper_100vb_579 {
  display: none;
}

._searchClear_100vb_608 {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 50%;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

._searchClear_100vb_608:hover {
  color: var(--text-primary);
  background: var(--surface-subtle);
}

._emptySearch_100vb_631 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 1.5rem 0.75rem;
  text-align: center;
}

/* ===== View All Button ===== */
._viewAllButton_100vb_641 {
  height: 40px;
  flex: 0 0 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 8px;
  font-size: 12px;
  color: var(--text-disabled);
  cursor: pointer;
  overflow: hidden;
  border: none;
  background: none;
  width: 40px;
  text-align: center;
  transition: background 0.1s, color 0.1s;
}

._sidebar_100vb_4:not(._sidebarCollapsed_100vb_19) ._viewAllButton_100vb_641 {
  width: 100%;
  justify-content: flex-start;
}

._viewAllButton_100vb_641:hover {
  background: var(--surface-subtle);
  color: var(--text-secondary);
}

._viewAllText_100vb_671 {
  font-size: 12.5px;
  white-space: nowrap;
}

._sidebarCollapsed_100vb_19 ._viewAllText_100vb_671 {
  display: none;
}


._sectionIcon_100vb_681 {
  color: var(--text-accent);
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
}/* Header Styles - Mapinator MVP */

._header_r1rga_5 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1.5rem;
  height: 3.5rem;
  background: color-mix(in srgb, var(--surface-card) 88%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: none;
  gap: 0.75rem;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Navigation */
._nav_r1rga_43 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Nav button - icon only */
._navButton_r1rga_57 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  position: relative;
  padding: 0;
}

._navButton_r1rga_57:hover {
  background: var(--slate-100);
}

._navButton_r1rga_57:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

._navIcon_r1rga_107 {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-secondary);
  fill: var(--text-secondary);
}

html.dark ._header_r1rga_5 {
  background: color-mix(in srgb, var(--dark-canvas) 70%, transparent);
  border-bottom-color: var(--dark-border-soft);
}

html.dark ._navButton_r1rga_57 {
  color: var(--dark-text-2);
}

html.dark ._navIcon_r1rga_107 {
  color: var(--dark-text-2);
  fill: var(--dark-text-2);
}

/* Badge for notifications */
._navButtonWithBadge_r1rga_151 {
  position: relative;
}


._badge_r1rga_161 {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  background: var(--error-500);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  color: var(--text-inverse);
  line-height: 1;
  font-weight: 600;
}

/* --- Credits Badge -------------------------------------------------------- */
._creditsWrapper_r1rga_199 {
  position: relative;
}

._creditsBadge_r1rga_207 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
}

._creditsBadge_r1rga_207:hover {
  background: var(--slate-100);
  border-color: var(--border-default);
}

._creditsBadgeLow_r1rga_245 {
  border-color: var(--warning-500);
  background: var(--warning-50);
  color: var(--warning-700);
}

._creditsIcon_r1rga_257 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

._creditsNumber_r1rga_267 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: inherit;
}

._creditsLabel_r1rga_279 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: inherit;
}

._creditsChevron_r1rga_291 {
  color: inherit;
  transition: transform 0.2s ease;
  margin-left: 0.125rem;
}

._creditsChevronOpen_r1rga_303 {
  transform: rotate(180deg);
}

/* Credits Dropdown */
._creditsDropdown_r1rga_313 {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 272px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 0.875rem 1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._creditsDropdownHeader_r1rga_345 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

._creditsDropdownTitle_r1rga_359 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-900);
}

._creditsPlanBadge_r1rga_371 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-accent);
  background: var(--blue-50);
  padding: 0.1875rem 0.625rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

._creditsProgressBar_r1rga_391 {
  width: 100%;
  height: 0.5rem;
  background: var(--slate-200);
  border-radius: 8px;
  overflow: hidden;
}

._creditsProgressFill_r1rga_407 {
  height: 100%;
  background: var(--cyan-500);
  border-radius: 8px;
  transition: width 0.3s ease;
}

._creditsProgressLabel_r1rga_421 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._creditsDivider_r1rga_431 {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
}

._creditsWarningBanner_r1rga_443 {
  background: var(--indigo-900);
  border: 1px solid var(--indigo-800);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--border-subtle);
  line-height: 1.5;
}

._creditsUnlock_r1rga_463 {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

._creditsUpgradeBtn_r1rga_473 {
  width: 100%;
  padding: 0.5625rem 0.75rem;
  background: var(--blue-600);
  color: var(--action-primary-text);
  border: none;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}

._creditsUpgradeBtn_r1rga_473:hover {
  opacity: 0.92;
}

/* Vertical divider */
._divider_r1rga_511 {
  width: 1px;
  height: 1.5rem;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* User section */
._userSection_r1rga_527 {
  position: relative;
}

._avatarButton_r1rga_535 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 8px;
  transition: background 0.2s ease-in-out;
}

._avatarButton_r1rga_535:hover {
  background: var(--slate-100);
}

._avatarButton_r1rga_535:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

._avatar_r1rga_535 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--slate-200);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

._chevron_r1rga_607 {
  transition: transform 0.2s ease-in-out;
  flex-shrink: 0;
  color: var(--text-tertiary);
}

._chevronOpen_r1rga_619 {
  transform: rotate(180deg);
}

/* Dropdown */
._dropdown_r1rga_629 {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 16rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  overflow: hidden;
  animation: _dropdownFadeIn_r1rga_1 0.15s ease-out;
}

@keyframes _dropdownFadeIn_r1rga_1 {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dropdown user info section */
._dropdownUserInfo_r1rga_681 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
}

._dropdownAvatar_r1rga_695 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--slate-200);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

._dropdownUserText_r1rga_725 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

._dropdownUserName_r1rga_739 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._dropdownUserEmail_r1rga_757 {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dropdown divider */
._dropdownDivider_r1rga_775 {
  height: 1px;
  background: var(--border-subtle);
  margin: 0;
}

/* Dropdown menu items */
._dropdownItem_r1rga_789 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  font-size: 0.875rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.15s ease-in-out;
  text-align: left;
}

._dropdownItem_r1rga_789:hover {
  background: var(--surface-subtle);
}

._dropdownItem_r1rga_789:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: -2px;
}

._dropdownItemIcon_r1rga_837 {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--text-secondary);
  fill: var(--text-secondary);
  flex-shrink: 0;
}

/* Danger item (Sair) */
._dropdownItemDanger_r1rga_855 {
  color: var(--error-500);
}

._dropdownItemDanger_r1rga_855 ._dropdownItemIcon_r1rga_837 {
  color: var(--error-500);
  fill: var(--error-500);
}

._dropdownItemDanger_r1rga_855:hover {
  background: var(--error-50);
}

/* Loading spinner */
._loadingSpinner_r1rga_883 {
  width: 0.875rem;
  height: 0.875rem;
  border: 0.125rem solid var(--blue-100);
  border-top-color: var(--blue-600);
  border-radius: 50%;
  animation: _spin_r1rga_1 0.8s linear infinite;
  flex-shrink: 0;
  position: absolute;
  top: -0.125rem;
  left: -0.125rem;
}

@keyframes _spin_r1rga_1 {
  to {
    transform: rotate(360deg);
  }
}
/* NotificationBell Styles - Mapinator MVP */

/* ─── Trigger Button ─────────────────────────────────────────────────── */

._bellButton_1rtip_5 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-accent);
    cursor: pointer;
    transition: background 0.2s ease-in-out;
    padding: 0;
}

._bellButton_1rtip_5:hover {
    background: var(--blue-50);
}

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

._bellIcon_1rtip_30 {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-secondary);
}

._badge_1rtip_36 {
    position: absolute;
    top: 0.125rem;
    right: 0.125rem;
    min-width: 0.9375rem;
    height: 0.9375rem;
    padding: 0 0.1875rem;
    background: var(--error-600);
    border: 1.5px solid var(--surface-card);
    box-sizing: content-box;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5625rem;
    color: var(--text-inverse);
    line-height: 1;
    font-weight: 600;
}

/* ─── Popover ────────────────────────────────────────────────────────── */

._popoverWrapper_1rtip_58 {
    position: relative;
}

._popover_1rtip_58 {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 22.5rem;
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    overflow: hidden;
    animation: _popoverFadeIn_1rtip_1 0.15s ease-out;
}

._popover_1rtip_58 button {
    font-family: inherit;
}

@keyframes _popoverFadeIn_1rtip_1 {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Popover Header ─────────────────────────────────────────────────── */

._popoverHeader_1rtip_94 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

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

._sparkleIcon_1rtip_108 {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--text-accent);
}

._popoverTitle_1rtip_114 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

._unreadBadge_1rtip_120 {
    font-size: 0.625rem;
    background: var(--blue-50);
    color: var(--text-accent);
    border-radius: 8px;
    padding: 0.125rem 0.375rem;
    font-weight: 500;
}

._markAllButton_1rtip_129 {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.375rem;
    border-radius: 8px;
    transition: color 0.15s;
}

._markAllButton_1rtip_129:hover {
    color: var(--text-primary);
}

._markAllButton_1rtip_129:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

._markAllIcon_1rtip_152 {
    width: 0.75rem;
    height: 0.75rem;
}

/* ─── Popover List ───────────────────────────────────────────────────── */

._popoverList_1rtip_159 {
    max-height: 21.25rem;
    overflow-y: auto;
}

._popoverEmpty_1rtip_164 {
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

._noteItem_1rtip_171 {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    background: transparent;
    cursor: pointer;
    transition: background 0.15s;
}

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

._noteItem_1rtip_171:hover {
    background: var(--slate-50);
}

._noteItemUnread_1rtip_191 {
    background: var(--blue-50);
}

._noteItemInner_1rtip_195 {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

._unreadDot_1rtip_201 {
    margin-top: 0.375rem;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    flex-shrink: 0;
}

._unreadDotActive_1rtip_209 {
    background: var(--blue-600);
}

._unreadDotInactive_1rtip_213 {
    background: transparent;
}

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

._noteItemMeta_1rtip_222 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.125rem;
}

._noteItemTitle_1rtip_229 {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

._noteItemTitleUnread_1rtip_235 {
    font-weight: 600;
    color: var(--text-primary);
}

._noteItemDate_1rtip_240 {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* ─── Tags ───────────────────────────────────────────────────────────── */

._tag_1rtip_248 {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 8px;
}

._tagFeature_1rtip_257 {
    background: var(--blue-50);
    color: var(--text-accent);
}

._tagImprovement_1rtip_262 {
    background: var(--warning-50);
    color: var(--warning-600);
}

._tagFix_1rtip_267 {
    background: var(--success-50);
    color: var(--success-600);
}

._versionLabel_1rtip_272 {
    font-family: var(--font-family-mono);
    font-size: 0.625rem;
    color: var(--text-secondary);
}

/* ─── Popover Footer ─────────────────────────────────────────────────── */

._popoverFooter_1rtip_280 {
    border-top: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
}

._viewAllButton_1rtip_285 {
    display: block;
    width: 100%;
    font-size: 0.75rem;
    color: var(--text-accent);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    text-align: center;
    border-radius: 8px;
    transition: background 0.15s;
}

._viewAllButton_1rtip_285:hover {
    background: var(--blue-50);
    text-decoration: underline;
}

/* ─── Central Modal ──────────────────────────────────────────────────── */

._centralOverlay_1rtip_306 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 1.5rem;
}

._centralContent_1rtip_320 {
    background: var(--surface-card);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 48rem;
    height: 32.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: _modalSlideIn_1rtip_1 0.2s ease-out;
}

._centralContent_1rtip_320 button {
    font-family: inherit;
}

._centralContent_1rtip_320 input {
    font-family: inherit;
}

@keyframes _modalSlideIn_1rtip_1 {
    from {
        opacity: 0;
        transform: translateY(-1.25rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

._centralHeader_1rtip_353 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

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

._centralTitle_1rtip_368 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

._centralCloseButton_1rtip_375 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    padding: 0;
}

._centralCloseButton_1rtip_375:hover {
    background: var(--slate-50);
    color: var(--slate-700);
}

/* ─── Central Grid ───────────────────────────────────────────────────── */

._centralGrid_1rtip_397 {
    display: grid;
    grid-template-columns: 17.5rem 1fr;
    flex: 1;
    min-height: 0;
}

/* ─── Central List Panel ─────────────────────────────────────────────── */

._centralListPanel_1rtip_406 {
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

._centralSearchArea_1rtip_413 {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

._searchInputWrapper_1rtip_418 {
    position: relative;
}

._searchIcon_1rtip_422 {
    position: absolute;
    left: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.875rem;
    height: 0.875rem;
    color: var(--text-secondary);
    pointer-events: none;
}

._searchInput_1rtip_418 {
    width: 100%;
    padding: 0.375rem 0.5rem 0.375rem 2rem;
    font-size: 0.75rem;
    background: var(--slate-50);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-primary);
    transition: border-color 0.15s;
}

._searchInput_1rtip_418::placeholder {
    color: var(--slate-400);
}

._searchInput_1rtip_418:focus {
    outline: none;
    border-color: var(--blue-600);
}

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

._searchCount_1rtip_460 {
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

._searchMarkAll_1rtip_465 {
    font-size: 0.6875rem;
    color: var(--text-accent);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

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

._searchMarkAll_1rtip_465:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: none;
}

._centralList_1rtip_406 {
    flex: 1;
    overflow-y: auto;
}

._centralListItem_1rtip_489 {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.625rem 0.75rem;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    background: transparent;
    cursor: pointer;
    transition: background 0.15s;
}

._centralListItem_1rtip_489:hover {
    background: var(--slate-50);
}

._centralListItemActive_1rtip_505 {
    background: var(--blue-50);
}

._centralListItemMeta_1rtip_509 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.125rem;
}

._centralListItemDot_1rtip_516 {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

._centralListItemDotUnread_1rtip_524 {
    background: var(--blue-600);
}

._centralListItemDotRead_1rtip_528 {
    background: transparent;
}

._centralListItemTitle_1rtip_532 {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

._centralListItemTitleUnread_1rtip_538 {
    font-weight: 600;
    color: var(--text-primary);
}

._centralListItemDate_1rtip_543 {
    font-size: 0.625rem;
    color: var(--text-secondary);
    margin-top: 0.125rem;
}

/* ─── Central Detail Panel ───────────────────────────────────────────── */

._centralDetailPanel_1rtip_551 {
    overflow-y: auto;
    padding: 1.25rem;
}

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

._detailMetaItem_1rtip_564 {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-family-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

._detailMetaIcon_1rtip_573 {
    width: 0.75rem;
    height: 0.75rem;
}

._detailTitle_1rtip_578 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
}

._detailSummary_1rtip_586 {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 0.5rem;
}

._detailSummary_1rtip_586 h1,
._detailSummary_1rtip_586 h2,
._detailSummary_1rtip_586 h3,
._detailSummary_1rtip_586 h4,
._detailSummary_1rtip_586 h5,
._detailSummary_1rtip_586 h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    line-height: 1.3;
}

._detailSummary_1rtip_586 h1 {
    font-size: 1.125rem;
}

._detailSummary_1rtip_586 h2 {
    font-size: 1rem;
}

._detailSummary_1rtip_586 h3 {
    font-size: 0.9375rem;
}

._detailSummary_1rtip_586 h4,
._detailSummary_1rtip_586 h5,
._detailSummary_1rtip_586 h6 {
    font-size: 0.875rem;
}

._detailSummary_1rtip_586 p {
    margin: 0.5rem 0;
}

._detailSummary_1rtip_586 ul,
._detailSummary_1rtip_586 ol {
    padding-left: 1.25rem;
    margin: 0.5rem 0;
}

._detailSummary_1rtip_586 li {
    margin: 0.25rem 0;
}

._detailSummary_1rtip_586 strong {
    color: var(--text-primary);
    font-weight: 600;
}

._detailSummary_1rtip_586 code {
    background: var(--slate-100);
    padding: 0.125rem 0.375rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-family: var(--font-family-mono);
}

._detailSummary_1rtip_586 pre {
    background: var(--slate-100);
    padding: 0.75rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 0.5rem 0;
}

._detailSummary_1rtip_586 pre code {
    background: transparent;
    padding: 0;
}

._detailSummary_1rtip_586 hr {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 0.75rem 0;
}

._detailSummary_1rtip_586 a {
    color: var(--text-accent);
    text-decoration: underline;
}

._detailSummary_1rtip_586 a:hover {
    color: var(--text-accent-alt);
}

._detailSummary_1rtip_586 blockquote {
    border-left: 3px solid var(--blue-200);
    padding-left: 0.75rem;
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

._detailHighlightsSection_1rtip_685 {
    margin-top: 1.25rem;
}

._detailHighlightsTitle_1rtip_689 {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

._detailHighlightItem_1rtip_707 {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-primary);
    line-height: 1.4;
}

._detailHighlightDot_1rtip_716 {
    margin-top: 0.375rem;
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    background: var(--blue-600);
    flex-shrink: 0;
}

/* ─── Empty Detail State ─────────────────────────────────────────────── */

._detailEmpty_1rtip_727 {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    color: var(--text-secondary);
}

._detailEmptyIcon_1rtip_738 {
    width: 2rem;
    height: 2rem;
    opacity: 0.4;
    margin-bottom: 0.75rem;
}

._detailEmptyText_1rtip_745 {
    font-size: 0.8125rem;
}

._detailEmptySubtext_1rtip_749 {
    font-size: 0.6875rem;
    margin-top: 0.25rem;
    opacity: 0.8;
}
/* HomeScreen.module.css */
._homeScreen_h7lgl_2 {
  display: flex;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, var(--surface-subtle), var(--surface-page));
  overflow: hidden;
}

._mainContent_h7lgl_10 {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

/* DashboardContent.module.css */
._dashboardContent_h7lgl_19 {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  padding-bottom: 3rem;
  background: var(--surface-page);
  gap: 1rem;
}

/* Header Card - card with title and welcome */
._headerCard_h7lgl_29 {
  background: var(--surface-card);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0rem 0.0625rem 0.1875rem 0rem rgba(0, 0, 0, 0.1), 0rem 0.0625rem 0.125rem -0.0625rem rgba(0, 0, 0, 0.1);
  padding: 1.25rem 1.5rem;
  flex-shrink: 0;
}

._dashboardTitle_h7lgl_38 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 2rem;
  margin: 0 0 0.25rem 0;
}

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

._welcomeText_h7lgl_52 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  margin: 0;
}

._infoButton_h7lgl_59 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-disabled);
  transition: color 0.2s ease-in-out;
  padding: 0;
}

._infoButton_h7lgl_59:hover {
  color: var(--text-accent);
}

._infoButton_h7lgl_59 svg {
  width: 1rem;
  height: 1rem;
}

/* Tooltip */
._infoButton_h7lgl_59::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: var(--surface-subtle);
  color: var(--text-primary);
  font-size: 0.8125rem;
  line-height: 1.125rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 1000;
  box-shadow: 0rem 0.25rem 0.75rem color-mix(in srgb, var(--blue-600) 20%, transparent);
  border: 0.0625rem solid var(--border-subtle);
}

/* Tooltip arrow */
._infoButton_h7lgl_59::before {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0.375rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.3125rem 0.375rem 0.3125rem 0;
  border-color: transparent var(--surface-subtle) transparent transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 1000;
}

._infoButton_h7lgl_59:hover::after,
._infoButton_h7lgl_59:hover::before {
  opacity: 1;
}

/* Main card - FIXED LAYOUT */
._mainCard_h7lgl_131 {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0rem 0.0625rem 0.1875rem 0rem rgba(0, 0, 0, 0.1), 0rem 0.0625rem 0.125rem -0.0625rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

._tabsContainer_h7lgl_143 {
  border-bottom: 0.0417rem solid var(--border-subtle);
  flex-shrink: 0;
}

._cardContent_h7lgl_148 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

._cardHeader_h7lgl_157 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

._cardHeader_h7lgl_157 > svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--text-accent);
  stroke: var(--blue-600);
}

._cardHeader_h7lgl_157 > img {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  display: block;
}

._cardHeaderIcon_h7lgl_179 {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

._cardHeaderIcon_h7lgl_179 svg {
  width: 100%;
  height: 100%;
  color: var(--text-accent);
  stroke: var(--blue-600);
}

._cardIcon_h7lgl_195 {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 8px;
  flex-shrink: 0;
}

html.dark ._cardIcon_h7lgl_195 {
  background: transparent;
}

._cardIcon_h7lgl_195 img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  filter: none;
}

._cardIcon_h7lgl_195 svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-accent);
  fill: white;
  stroke: white;
}

._cardTitleWrapper_h7lgl_225 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

._cardTitle_h7lgl_225 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 2rem;
  margin: 0;
}

._cardSubtitle_h7lgl_239 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1rem;
  margin: 0;
}

/* Dashboard Tabs */
._dashboardTabs_h7lgl_247 {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

._dashboardTab_h7lgl_247 {
  padding: 12px 20px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-tertiary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}

._dashboardTab_h7lgl_247:hover {
  color: var(--text-primary);
}

._dashboardTabActive_h7lgl_270 {
  color: var(--border-focus);
  font-weight: 500;
  border-bottom-color: var(--border-focus);
}

/* Panel Header */
._panelHeader_h7lgl_277 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

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

._panelLabel_h7lgl_290 {
  font-family: var(--font-family-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-accent);
  font-weight: 600;
}

._panelTitle_h7lgl_299 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

._panelSubtitle_h7lgl_307 {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0;
}

._panelHeaderRight_h7lgl_313 {
  display: flex;
  align-items: center;
  gap: 10px;
}

._panelExportBtn_h7lgl_319 {
  height: 34px;
  padding: 0 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.15s;
}

._panelExportBtn_h7lgl_319:hover {
  border-color: var(--border-default);
}

._panelNewBtn_h7lgl_336 {
  height: 34px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  background: var(--action-primary-bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s;
}

._panelNewBtn_h7lgl_336:hover {
  opacity: 0.9;
}

/* Stats grid */
._statsGrid_h7lgl_354 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.125rem;
}

._statsGrid_h7lgl_354 > div {
  cursor: pointer;
  border-radius: 8px;
  transition: box-shadow 0.15s, transform 0.15s;
}

._statsGrid_h7lgl_354 > div:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-0.125rem);
}

._statCardActive_h7lgl_371 {
  border-radius: 8px;
}

._statCardActive_h7lgl_371 ._statCard_h7lgl_371 {
  border-color: color-mix(in srgb, var(--blue-600) 40%, transparent);
}

._statCardClickable_h7lgl_379 {
  cursor: pointer;
  border-radius: 8px;
  transition: box-shadow 0.15s, transform 0.15s;
}

._statCardClickable_h7lgl_379:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-0.125rem);
}

/* Chart Panel */
._chartPanel_h7lgl_391 {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

._chartHeader_h7lgl_398 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 0;
}

._chartTitle_h7lgl_405 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

._chartSubtitle_h7lgl_412 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._chartPeriodToggle_h7lgl_417 {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--slate-100);
  border-radius: 8px;
}

._chartPeriodBtn_h7lgl_425 {
  padding: 4px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  cursor: pointer;
}

._chartPeriodActive_h7lgl_435 {
  padding: 4px 10px;
  border: none;
  border-radius: 8px;
  background: var(--surface-card);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

._chartClose_h7lgl_447 {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 8px;
  font-size: 1.125rem;
  color: var(--text-tertiary);
  cursor: pointer;
}

._chartClose_h7lgl_447:hover {
  background: var(--surface-subtle);
  color: var(--text-primary);
}

._chartBody_h7lgl_466 {
  padding: 2.5rem 1.5rem 1.5rem;
}

._chartBars_h7lgl_470 {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 16rem;
}

._chartBarCol_h7lgl_477 {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  height: 100%;
}

._chartBarTrack_h7lgl_486 {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

._chartBar_h7lgl_470 {
  width: 100%;
  max-width: 3.5rem;
  background: color-mix(in srgb, var(--blue-600) 30%, transparent);
  border-radius: 8px 8px 0 0;
  min-height: 4px;
  transition: height 0.3s ease;
}

._chartBarHighlight_h7lgl_503 {
  background: var(--blue-600);
}

._chartBarLabel_h7lgl_507 {
  font-size: 0.625rem;
  color: var(--text-disabled);
}

._chartBarValue_h7lgl_512 {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

._chartFooter_h7lgl_518 {
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

._chartInsight_h7lgl_523 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.5;
}

/* Description text */
._descriptionText_h7lgl_531 {
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--slate-100);
}

._descriptionText_h7lgl_531 p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4219rem;
  margin: 0;
}

._highlight_h7lgl_543 {
  font-weight: 700;
  color: var(--text-accent);
}

._highlightGreen_h7lgl_548 {
  font-weight: 700;
  color: var(--success-600);
}

._highlightOrange_h7lgl_553 {
  font-weight: 700;
  color: var(--warning-700);
}

@media (max-width: 64rem) {
  ._statsGrid_h7lgl_354 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 48rem) {
  ._dashboardHeader_h7lgl_565 {
    flex-direction: column;
  }
  
  ._statsGrid_h7lgl_354 {
    grid-template-columns: 1fr;
  }
}

/* StatCard Styles */
._statCard_h7lgl_371 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  height: auto;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 0.0417rem solid;
  transition: transform 0.2s ease-in-out;
}

._statCard_h7lgl_371:hover {
}

._statHeader_h7lgl_590 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

._statTitle_h7lgl_596 {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

._statBadge_h7lgl_602 {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

._statValue_h7lgl_608 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

._statProgress_h7lgl_615 {
  height: 4px;
  border-radius: 8px;
  background: var(--border-subtle);
  overflow: hidden;
}

._statProgressBar_h7lgl_622 {
  height: 100%;
  border-radius: 8px;
  width: 70%;
}

._statProgressBarBlue_h7lgl_628 { background: var(--blue-600); width: 70%; }
._statProgressBarPurple_h7lgl_629 { background: var(--indigo-600); width: 48%; }
._statProgressBarGreen_h7lgl_630 { background: var(--success-500); width: 5%; }
._statProgressBarYellow_h7lgl_631 { background: var(--warning-500); width: 5%; }

._statFooter_h7lgl_633 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

._statSubtitle_h7lgl_639 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._statPercentage_h7lgl_644 {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

._statIcon_h7lgl_650 {
  min-width: 1.5rem;
  min-height: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

._statIcon_h7lgl_650 img {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

/* Icon colors by variant - usando cores específicas do Figma */
._statCardBlue_h7lgl_668 ._statIcon_h7lgl_650 {
  color: var(--blue-600);
}

._statCardBlue_h7lgl_668 ._statIcon_h7lgl_650 img {
  filter: brightness(0) saturate(100%) invert(47%) sepia(96%) saturate(1234%) hue-rotate(199deg) brightness(101%) contrast(96%);
}

._statCardPurple_h7lgl_676 ._statIcon_h7lgl_650 {
  color: var(--indigo-600);
}

._statCardPurple_h7lgl_676 ._statIcon_h7lgl_650 img {
  filter: brightness(0) saturate(100%) invert(44%) sepia(89%) saturate(2476%) hue-rotate(262deg) brightness(98%) contrast(96%);
}

._statCardGreen_h7lgl_684 ._statIcon_h7lgl_650 {
  color: var(--success-500);
}

._statCardGreen_h7lgl_684 ._statIcon_h7lgl_650 img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(57%) saturate(4282%) hue-rotate(95deg) brightness(96%) contrast(101%);
}

._statCardYellow_h7lgl_692 ._statIcon_h7lgl_650 {
  color: var(--warning-500);
}

._statCardYellow_h7lgl_692 ._statIcon_h7lgl_650 img {
  filter: brightness(0) saturate(100%) invert(70%) sepia(98%) saturate(1466%) hue-rotate(359deg) brightness(102%) contrast(103%);
}

._statTitle_h7lgl_596 {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1rem;
  color: var(--text-secondary);
}

._statContent_h7lgl_707 {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-left: 0.375rem;
}

._statValue_h7lgl_608 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2rem;
  color: var(--slate-900);
}

._statSubtitle_h7lgl_639 {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1rem;
  color: var(--text-tertiary);
}

/* StatCard Variants */
._statCardBlue_h7lgl_668 {
  background: var(--surface-card);
  border-color: var(--border-subtle);
}

._statCardBlue_h7lgl_668 ._statTitle_h7lgl_596,
._statCardBlue_h7lgl_668 ._statValue_h7lgl_608,
._statCardBlue_h7lgl_668 ._statSubtitle_h7lgl_639 {
  color: var(--text-secondary);
}

._statCardPurple_h7lgl_676 {
  background: var(--surface-card);
  border-color: var(--border-subtle);
}

._statCardPurple_h7lgl_676 ._statTitle_h7lgl_596,
._statCardPurple_h7lgl_676 ._statValue_h7lgl_608,
._statCardPurple_h7lgl_676 ._statSubtitle_h7lgl_639 {
  color: var(--text-secondary);
}

._statCardGreen_h7lgl_684 {
  background: var(--surface-card);
  border-color: var(--border-subtle);
}

._statCardGreen_h7lgl_684 ._statTitle_h7lgl_596,
._statCardGreen_h7lgl_684 ._statValue_h7lgl_608,
._statCardGreen_h7lgl_684 ._statSubtitle_h7lgl_639 {
  color: var(--text-secondary);
}

._statCardYellow_h7lgl_692 {
  background: var(--surface-card);
  border-color: var(--border-subtle);
}

._statCardYellow_h7lgl_692 ._statTitle_h7lgl_596,
._statCardYellow_h7lgl_692 ._statValue_h7lgl_608,
._statCardYellow_h7lgl_692 ._statSubtitle_h7lgl_639 {
  color: var(--text-secondary);
}

/* Dark mode - remove colored backgrounds, use card surface */
html.dark ._statCardBlue_h7lgl_668,
html.dark ._statCardPurple_h7lgl_676,
html.dark ._statCardGreen_h7lgl_684,
html.dark ._statCardYellow_h7lgl_692 {
  background: transparent;
  border-color: var(--border-subtle);
}

html.dark ._statCardBlue_h7lgl_668 ._statTitle_h7lgl_596,
html.dark ._statCardBlue_h7lgl_668 ._statValue_h7lgl_608,
html.dark ._statCardBlue_h7lgl_668 ._statSubtitle_h7lgl_639,
html.dark ._statCardPurple_h7lgl_676 ._statTitle_h7lgl_596,
html.dark ._statCardPurple_h7lgl_676 ._statValue_h7lgl_608,
html.dark ._statCardPurple_h7lgl_676 ._statSubtitle_h7lgl_639,
html.dark ._statCardGreen_h7lgl_684 ._statTitle_h7lgl_596,
html.dark ._statCardGreen_h7lgl_684 ._statValue_h7lgl_608,
html.dark ._statCardGreen_h7lgl_684 ._statSubtitle_h7lgl_639,
html.dark ._statCardYellow_h7lgl_692 ._statTitle_h7lgl_596,
html.dark ._statCardYellow_h7lgl_692 ._statValue_h7lgl_608,
html.dark ._statCardYellow_h7lgl_692 ._statSubtitle_h7lgl_639 {
  color: var(--text-primary);
}

/* AlertCard Styles */
._alertCard_h7lgl_798 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 2.9375rem;
  padding: 0 0.75rem;
  background: linear-gradient(to right, var(--warning-50), var(--pastel-peach));
  border: 0.0417rem solid var(--warning-500);
  border-radius: 8px;
  flex-shrink: 0;
}

._alertContent_h7lgl_811 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._alertIconContainer_h7lgl_817 {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warning-500);
  border-radius: 8px;
  flex-shrink: 0;
}

._alertIconContainer_h7lgl_817 svg {
  width: 1.5rem;
  height: 1.5rem;
}

._alertIcon_h7lgl_817 {
  width: 1rem;
  height: 1rem;
}

._alertText_h7lgl_838 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._alertTitle_h7lgl_844 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 0.9375rem;
}

._alertSubtitle_h7lgl_851 {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 0.9375rem;
}

._alertButton_h7lgl_858 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 1.75rem;
  padding: 0 0.75rem;
  background: var(--warning-500);
  border: none;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--action-primary-text);
  line-height: 1rem;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._alertButton_h7lgl_858:hover {
  opacity: 0.9;
}

._alertButton_h7lgl_858 svg {
  width: 1rem;
  height: 1rem;
}

._alertButtonIcon_h7lgl_884 {
  width: 1rem;
  height: 1rem;
}

/* Client Stats Grid */
._clientStatsGrid_h7lgl_890 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Client List Section */
._clientListSection_h7lgl_897 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--slate-100);
}

._clientListHeader_h7lgl_905 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

._clientListTitle_h7lgl_917 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.5rem;
  margin: 0;
}

._addClientButton_h7lgl_925 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2rem;
  padding: 0 1rem;
  background: linear-gradient(to bottom, var(--blue-600), var(--blue-700));
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--action-primary-text);
  line-height: 1.25rem;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

html.dark ._addClientButton_h7lgl_925 {
  background: linear-gradient(to bottom, var(--blue-600), var(--blue-700));
}

._addClientButton_h7lgl_925:hover {
  opacity: 0.9;
}

._addClientButton_h7lgl_925 img {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) invert(1);
}

._clientList_h7lgl_897 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._clientListItem_h7lgl_962 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--surface-subtle);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  transition: background 0.2s ease-in-out;
}

._clientListItem_h7lgl_962:hover {
  background: var(--slate-100);
}

._clientListItemButton_h7lgl_977 {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}

._clientListItemContent_h7lgl_989 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

._clientStatusDot_h7lgl_996 {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

._clientListItemInfo_h7lgl_1003 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._clientListItemName_h7lgl_1009 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--slate-900);
  line-height: 1.25rem;
  margin: 0;
}

._clientListItemProjects_h7lgl_1017 {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-tertiary);
  line-height: 1rem;
  margin: 0;
}

@media (max-width: 64rem) {
  ._clientStatsGrid_h7lgl_890 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 48rem) {
  ._clientStatsGrid_h7lgl_890 {
    grid-template-columns: 1fr;
  }
}


/* Tooltip Styles for Dashboard */
._tooltipContainer_h7lgl_1039 {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 0.25rem;
}

._tooltipIcon_h7lgl_1046 {
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  color: var(--text-disabled);
  transition: color 0.2s ease-in-out;
}

._tooltipIcon_h7lgl_1046 img {
  filter: brightness(0) saturate(100%) invert(67%) sepia(8%) saturate(1089%) hue-rotate(177deg) brightness(88%) contrast(88%);
  transition: filter 0.2s ease-in-out;
}

._tooltipIcon_h7lgl_1046:hover {
  color: var(--text-accent);
}

._tooltipIcon_h7lgl_1046:hover img {
  filter: brightness(0) saturate(100%) invert(47%) sepia(96%) saturate(1234%) hue-rotate(175deg) brightness(91%) contrast(91%);
}

._tooltip_h7lgl_1039 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-0.25rem);
  margin-top: 0.5rem;
  width: 19.25rem;
  padding: 0.875rem;
  background: var(--surface-subtle);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0rem 0.25rem 0.75rem color-mix(in srgb, var(--blue-600) 20%, transparent);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
  z-index: 100;
  pointer-events: none;
}

._tooltipContainer_h7lgl_1039:hover ._tooltip_h7lgl_1039 {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

._tooltipTitle_h7lgl_1095 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.125rem;
  margin: 0 0 0.375rem 0;
}

._tooltipText_h7lgl_1103 {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-tertiary);
  line-height: 1.125rem;
  margin: 0;
}

/* Arrow for tooltip */
._tooltip_h7lgl_1039::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.375rem solid transparent;
  border-right: 0.375rem solid transparent;
  border-bottom: 0.375rem solid var(--surface-subtle);
}

._tooltip_h7lgl_1039::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.4375rem solid transparent;
  border-right: 0.4375rem solid transparent;
  border-bottom: 0.4375rem solid var(--border-subtle);
  margin-bottom: 0.0625rem;
}

/* Loading content with skeleton */
._loadingContent_h7lgl_1140 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
}

._content_h7lgl_1147 {
  flex: 1;
  overflow-y: auto;
}

._clientListItemArchived_h7lgl_1152 {
  opacity: 0.65;
  background: var(--surface-subtle);
}

._clientRestoreButton_h7lgl_1157 {
  padding: 0.25rem 0.625rem;
  margin: 0 0.375rem;
  background: var(--surface-card);
  border: 0.094rem solid var(--blue-600);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-accent);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

._clientRestoreButton_h7lgl_1157:hover {
  background: color-mix(in srgb, var(--blue-600) 6%, transparent);
}

._clientDeleteButton_h7lgl_1176 {
  padding: 0.25rem 0.625rem;
  margin: 0 0.375rem;
  background: var(--surface-card);
  border: 0.094rem solid var(--error-500);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--error-500);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

._clientDeleteButton_h7lgl_1176:hover {
  background: var(--error-50);
}

._emptyFilteredState_h7lgl_1195 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--slate-100);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  width: 100%;
  min-height: 10rem;
}

._emptyFilteredState_h7lgl_1195 p {
  font-size: 1.5rem;
  color: var(--text-disabled);
  margin: 0;
}

/* ═══════ Clients Table ═══════ */
._clientsFilterToggle_h7lgl_1214 {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

._clientsFilterBtn_h7lgl_1222 {
  padding: 7px 14px;
  border: none;
  background: transparent;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

._clientsFilterBtn_h7lgl_1222:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
}

._clientsFilterBtnActive_h7lgl_1238 {
  font-weight: 600;
  color: var(--text-primary);
  background: var(--surface-subtle);
}

._clientsFilterBtn_h7lgl_1222:hover:not(._clientsFilterBtnActive_h7lgl_1238) {
  background: var(--surface-subtle);
  color: var(--text-secondary);
}

._clientsSearch_h7lgl_1249 {
  height: 34px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  font-size: 12.5px;
  color: var(--text-secondary);
  outline: none;
  width: 100%;
}

._clientsSearchWrapper_h7lgl_1261 {
  position: relative;
  width: 200px;
}

._clientsSearch_h7lgl_1249:focus {
  border-color: var(--accent-fg);
}

._clientsSearch_h7lgl_1249::placeholder {
  color: var(--text-disabled);
}

._clientsTable_h7lgl_1274 {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

._clientsTableHeader_h7lgl_1280 {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

._clientsTableCol_h7lgl_1287 {
  font-family: var(--font-family-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-disabled);
}

._clientsTableRow_h7lgl_1295 {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background 0.1s;
}

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

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

._clientsTableCellClient_h7lgl_1312 {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

._clientsTableAvatar_h7lgl_1320 {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 8px;
  background: var(--surface-subtle);
  display: grid;
  place-items: center;
  font-family: var(--font-family-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
}

._clientsTableClientInfo_h7lgl_1334 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

._clientsTableClientName_h7lgl_1341 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._clientsTableClientDesc_h7lgl_1350 {
  font-size: 11.5px;
  color: var(--text-disabled);
}

._clientsTableCellStage_h7lgl_1355 {
  width: 10rem;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

._clientsTableStageDot_h7lgl_1364 {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success-500);
}

._clientsTableCellProjects_h7lgl_1371 {
  width: 8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

._clientsTableBar_h7lgl_1381 {
  height: 6px;
  border-radius: 3px;
  background: var(--accent-fg);
  min-width: 4px;
}

._clientsTableCellDate_h7lgl_1388 {
  width: 7rem;
  font-size: 12.5px;
  color: var(--text-disabled);
}

._clientsTableChevron_h7lgl_1394 {
  width: 2rem;
  text-align: center;
  font-size: 16px;
  color: var(--text-disabled);
}

._clientsEmptyRow_h7lgl_1401 {
  padding: 3rem;
  text-align: center;
  color: var(--text-disabled);
  font-size: 13px;
}

/* Summary Card — always visible */
._summaryCard_h7lgl_1409 {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}

._summaryText_h7lgl_1416 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin: 0;
}

._summaryText_h7lgl_1416 strong {
  color: var(--text-primary);
  font-weight: 700;
}

._clientsContentWrapper_h7lgl_1428 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Section Card — white wrapper */
._sectionCard_h7lgl_1435 {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem;
}

/* Overview stat cards: standalone cards, no icon */
._statsWrapper_h7lgl_1443 {
  width: 100%;
}

._statCard_h7lgl_371 {
  gap: 0.375rem;
  padding: 1rem 1.25rem;
  border-width: 1px;
}

._statCard_h7lgl_371 ._statHeader_h7lgl_590 {
  align-items: baseline;
}

._statCard_h7lgl_371 ._statTitle_h7lgl_596 {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.125rem;
  color: var(--text-tertiary);
}

._statCard_h7lgl_371 ._statBadge_h7lgl_602 {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-tertiary);
}

._statCard_h7lgl_371 ._statValue_h7lgl_608 {
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 2.25rem;
  color: var(--text-primary);
  margin: 0.125rem 0 0.25rem;
}

._statCard_h7lgl_371 ._statSubtitle_h7lgl_639 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._statCard_h7lgl_371 ._statPercentage_h7lgl_644 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Chart view toggle and donut chart */
._chartViewToggle_h7lgl_1490 {
  display: flex;
  gap: 2px;
  padding: 3px;
  margin-left: auto;
  margin-right: 0.5rem;
  background: var(--slate-100);
  border-radius: 8px;
}

._chartViewToggle_h7lgl_1490 button {
  display: flex;
  align-items: center;
  justify-content: center;
}

._chartViewIcon_h7lgl_1506 {
  font-size: 1rem;
}

._donutLayout_h7lgl_1510 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

._donutChart_h7lgl_1519 {
  position: relative;
  width: 13.75rem;
  height: 13.75rem;
}

._donutSvg_h7lgl_1525 {
  width: 100%;
  height: 100%;
  display: block;
}

._donutCenter_h7lgl_1531 {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  pointer-events: none;
}

._donutCenterLabel_h7lgl_1542 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._donutCenterValue_h7lgl_1547 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

._donutLegend_h7lgl_1553 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 17rem;
}

._donutLegendRow_h7lgl_1563 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._donutSwatch_h7lgl_1569 {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 3px;
  flex-shrink: 0;
}

._donutLegendLabel_h7lgl_1576 {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

._donutLegendHint_h7lgl_1582 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._donutLegendValue_h7lgl_1587 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

._donutSegmentLight_h7lgl_1593 {
  stroke: var(--blue-200);
  background: var(--blue-200);
}

._donutSegmentMedium_h7lgl_1598 {
  stroke: var(--blue-400);
  background: var(--blue-400);
}

._donutSegmentStrong_h7lgl_1603 {
  stroke: var(--blue-600);
  background: var(--blue-600);
}

/* Donut entrance animation */
@keyframes _donutSegmentDraw_h7lgl_1 {
  from {
    stroke-dasharray: 0 calc(var(--segment-length) + var(--segment-rest));
  }
  to {
    stroke-dasharray: var(--segment-length) var(--segment-rest);
  }
}

@keyframes _donutLegendIn_h7lgl_1 {
  from {
    opacity: 0;
    transform: translateX(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

._donutChart_h7lgl_1519 circle {
  animation: _donutSegmentDraw_h7lgl_1 0.7s ease-out both;
}

._donutLegendRow_h7lgl_1563 {
  animation: _donutLegendIn_h7lgl_1 0.45s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  ._donutChart_h7lgl_1519 circle,
  ._donutLegendRow_h7lgl_1563 {
    animation: none;
  }
}

/* Donut hover */
._donutChart_h7lgl_1519 circle {
  transition: stroke-width 0.2s ease-out, opacity 0.2s ease-out;
  cursor: pointer;
}

._donutSegmentActive_h7lgl_1650 {
  stroke-width: 46px;
}

._donutSegmentDim_h7lgl_1654 {
  opacity: 0.45;
}

._donutCenterPercent_h7lgl_1658 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 2rem;
  color: var(--text-primary);
}

@media (prefers-reduced-motion: reduce) {
  ._donutChart_h7lgl_1519 circle {
    transition: none;
  }
}

/* Clients tab: header card, status filter and table */
._clientsPanelHeader_h7lgl_1672 {
  align-items: flex-start;
  gap: 1rem;
}

._clientsPanelHeader_h7lgl_1672 ._panelHeaderLeft_h7lgl_284 {
  gap: 0.5rem;
}

._clientsPanelHeader_h7lgl_1672 ._panelSubtitle_h7lgl_307 {
  max-width: 24rem;
  font-size: 0.8125rem;
  line-height: 1.4;
}

._clientsPanelLabel_h7lgl_1687 {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

._clientsPanelTitle_h7lgl_1695 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

._clientsPanelHeader_h7lgl_1672 ._panelNewBtn_h7lgl_336 {
  height: 2.125rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
}

._clientsPanelHeader_h7lgl_1672 ._clientsFilterToggle_h7lgl_1214 {
  gap: 2px;
  padding: 4px;
  border: none;
  overflow: visible;
  background: color-mix(in srgb, var(--blue-600) 8%, transparent);
}

._clientsPanelHeader_h7lgl_1672 ._clientsFilterBtn_h7lgl_1222 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3125rem 0.625rem;
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

._clientsPanelHeader_h7lgl_1672 ._clientsFilterBtn_h7lgl_1222:not(:last-child) {
  border-right: none;
}

._clientsPanelHeader_h7lgl_1672 ._clientsFilterBtnActive_h7lgl_1238 {
  background: var(--surface-card);
  box-shadow: var(--shadow-xs);
  font-weight: 700;
  color: var(--text-primary);
}

._clientsFilterDot_h7lgl_1739 {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  flex-shrink: 0;
}

._clientsFilterDotAll_h7lgl_1746 {
  background: var(--blue-400);
}

._clientsFilterDotActive_h7lgl_1750 {
  background: var(--success-500);
}

._clientsFilterDotInactive_h7lgl_1754 {
  background: var(--warning-500);
}

._clientsFilterCount_h7lgl_1758 {
  min-width: 1.25rem;
  padding: 0 0.3125rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--blue-600) 12%, transparent);
  font-size: 0.6875rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-tertiary);
}

._clientsFilterBtnActive_h7lgl_1238 ._clientsFilterCount_h7lgl_1758 {
  background: color-mix(in srgb, var(--blue-600) 12%, transparent);
  color: var(--blue-600);
}

._clientsPanelHeader_h7lgl_1672 ._clientsSearchWrapper_h7lgl_1261 {
  width: 13rem;
}

._clientsPanelHeader_h7lgl_1672 ._clientsSearch_h7lgl_1249 {
  height: 2.125rem;
  padding-left: 2.25rem;
  font-size: 0.8125rem;
}

._clientsSearchIcon_h7lgl_1784 {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-tertiary);
  pointer-events: none;
}

._clientsTableCard_h7lgl_1794 {
  padding: 0;
  overflow: hidden;
}

._clientsTableCard_h7lgl_1794 ._clientsTable_h7lgl_1274 {
  border-top: none;
}

._clientsTableCard_h7lgl_1794 ._clientsTableHeader_h7lgl_1280 {
  padding: 0.625rem 1.25rem;
  background: color-mix(in srgb, var(--blue-600) 8%, transparent);
}

._clientsTableCard_h7lgl_1794 ._clientsTableCol_h7lgl_1287 {
  font-family: inherit;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

._clientsTableCard_h7lgl_1794 ._clientsTableRow_h7lgl_1295 {
  padding: 0.625rem 1.25rem;
}

._clientsTableCard_h7lgl_1794 ._clientsTableAvatar_h7lgl_1320 {
  width: 2rem;
  height: 2rem;
  flex-basis: 2rem;
  background: color-mix(in srgb, var(--blue-600) 10%, transparent);
  color: var(--text-accent);
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
}

._clientsTableCard_h7lgl_1794 ._clientsTableClientName_h7lgl_1341 {
  font-size: 0.8125rem;
  font-weight: 500;
}

._clientsTableCard_h7lgl_1794 ._clientsTableClientDesc_h7lgl_1350 {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}

._clientsTableCard_h7lgl_1794 ._clientsTableCellStage_h7lgl_1355 {
  font-size: 0.75rem;
}

._clientsTableBarTrack_h7lgl_1844 {
  width: 3rem;
  height: 4px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--blue-600) 12%, transparent);
  overflow: hidden;
  flex-shrink: 0;
}

._clientsTableBarTrack_h7lgl_1844 ._clientsTableBar_h7lgl_1381 {
  height: 100%;
  max-width: none;
  border-radius: var(--radius-pill);
  background: var(--blue-600);
}

._clientsTableCard_h7lgl_1794 ._clientsTableCellProjects_h7lgl_1371 {
  font-size: 0.75rem;
  font-weight: 400;
}

._clientsTableCard_h7lgl_1794 ._clientsTableCellDate_h7lgl_1388 {
  text-align: right;
  padding-right: 1rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._clientsTableCard_h7lgl_1794 ._clientsTableChevron_h7lgl_1394 {
  color: var(--text-disabled);
}

._clientsTableCard_h7lgl_1794 ._clientsTableRow_h7lgl_1295:hover {
  background: color-mix(in srgb, var(--blue-600) 5%, transparent);
}
._loadingText_17ras_1 {
  display: inline-flex;
  align-items: center;
}

._dots_17ras_6 {
  display: inline-flex;
  margin-left: 0.125rem;
}

._dot_17ras_6 {
  animation: _blink_17ras_1 1.4s infinite;
  opacity: 0;
}

._dot_17ras_6:nth-child(1) {
  animation-delay: 0s;
}

._dot_17ras_6:nth-child(2) {
  animation-delay: 0.2s;
}

._dot_17ras_6:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes _blink_17ras_1 {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
._loadingScreen_puer9_1 {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 9999;
}

/* -- Skeleton background -- */
._skeletonBg_puer9_13 {
  position: absolute;
  inset: 0;
  display: flex;
  filter: blur(3px);
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
}

/* Sidebar */
._skeletonSidebar_puer9_24 {
  width: 13.5rem;
  flex-shrink: 0;
  background: var(--surface-card);
  border-right: 0.0625rem solid var(--border-subtle);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

._skeletonLogo_puer9_35 {
  width: 7.5rem;
  height: 1.75rem;
  background: var(--slate-200);
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

._skeletonNavButton_puer9_43 {
  width: 100%;
  height: 2.25rem;
  background: var(--action-primary-bg);
  border-radius: 8px;
}

._skeletonNavGroup_puer9_50 {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

._skeletonNavLabel_puer9_56 {
  width: 4rem;
  height: 0.625rem;
  background: var(--border-default);
  border-radius: 8px;
  margin-bottom: 0.125rem;
}

._skeletonNavItem_puer9_64 {
  width: 100%;
  height: 0.875rem;
  background: var(--slate-200);
  border-radius: 8px;
}

/* Main */
._skeletonMain_puer9_72 {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--surface-subtle);
  overflow: hidden;
}

/* Header */
._skeletonHeader_puer9_81 {
  height: 3.75rem;
  background: var(--surface-card);
  border-bottom: 0.0625rem solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  flex-shrink: 0;
}

._skeletonHeaderLeft_puer9_92 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._skeletonHeaderTitle_puer9_98 {
  width: 10rem;
  height: 1rem;
  background: var(--slate-200);
  border-radius: 8px;
}

._skeletonHeaderSub_puer9_105 {
  width: 6rem;
  height: 0.625rem;
  background: var(--slate-100);
  border-radius: 8px;
}

._skeletonHeaderActions_puer9_112 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._skeletonChip_puer9_118 {
  width: 8rem;
  height: 2rem;
  background: var(--warning-50);
  border-radius: 8px;
}

._skeletonAvatar_puer9_125 {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--slate-200);
  border-radius: 50%;
}

/* Gray wrapper */
._skeletonWrapper_puer9_133 {
  flex: 1;
  background: var(--slate-200);
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
}

/* Breadcrumb */
._skeletonBreadcrumb_puer9_144 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

._skeletonBreadcrumbItem_puer9_151 {
  width: 4rem;
  height: 0.75rem;
  background: var(--border-default);
  border-radius: 8px;
}

._skeletonBreadcrumbSep_puer9_158 {
  width: 0.375rem;
  height: 0.375rem;
  background: var(--text-disabled);
  border-radius: 50%;
}

/* White card */
._skeletonCard_puer9_166 {
  flex: 1;
  background: var(--surface-card);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Tabs */
._skeletonTabs_puer9_176 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 1.25rem;
  border-bottom: 0.0625rem solid var(--border-subtle);
  height: 3rem;
  flex-shrink: 0;
}

._skeletonTabActive_puer9_186 {
  width: 5.5rem;
  height: 1.75rem;
  background: color-mix(in srgb, var(--blue-600) 12%, transparent);
  border-radius: 8px;
  border-bottom: 2px solid var(--action-primary-bg);
}

._skeletonTab_puer9_176 {
  width: 4.5rem;
  height: 1.75rem;
  background: var(--slate-100);
  border-radius: 8px;
}

/* Card body */
._skeletonCardBody_puer9_202 {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

._skeletonCardHeader_puer9_210 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

._skeletonLine_puer9_217 {
  height: 0.875rem;
  background: var(--slate-200);
  border-radius: 8px;
}

._skeletonAccordion_puer9_223 {
  width: 100%;
  height: 3.5rem;
  background: var(--surface-subtle);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
}

/* -- Loading overlay -- */
._overlay_puer9_232 {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(2px);
  z-index: 10;
}

._logo_puer9_244 {
  width: 12rem;
  height: auto;
  margin-bottom: 1.25rem;
  animation: _pulse_puer9_1 2s ease-in-out infinite;
}

@keyframes _pulse_puer9_1 {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

._message_puer9_256 {
  font-size: 1rem;
  color: var(--text-tertiary);
  margin: 0 0 1.5rem 0;
}

._progressBar_puer9_262 {
  width: 15rem;
  height: 0.375rem;
  background: var(--border-default);
  border-radius: 8px;
  overflow: hidden;
}

._progressFill_puer9_270 {
  height: 100%;
  width: 30%;
  background: var(--action-primary-bg);
  border-radius: 8px;
  animation: _infiniteBar_puer9_1 1.4s ease-in-out infinite;
}

@keyframes _infiniteBar_puer9_1 {
  0% { transform: translateX(-200%); }
  100% { transform: translateX(500%); }
}
/* Modal Styles - Mapinator MVP */

._modalOverlay_c7min_5 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

._modalContent_c7min_33 {
  background: var(--surface-card);
  border-radius: 8px;
  box-shadow: 0rem 0.625rem 0.9375rem -0.1875rem rgba(0, 0, 0, 0.1), 0rem 0.25rem 0.375rem -0.25rem rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 26rem;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: _modalSlideIn_c7min_1 0.2s ease-out;
}

@keyframes _modalSlideIn_c7min_1 {
  from {
    opacity: 0;
    transform: translateY(-1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

._modalHeader_c7min_79 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem;
  border-bottom: 0.0417rem solid var(--border-subtle);
}

._modalTitleContainer_c7min_95 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._modalIcon_c7min_107 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

._modalTitle_c7min_95 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25rem;
  margin: 0;
}

._closeButton_c7min_137 {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  padding: 0;
}

._closeButton_c7min_137 svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

._closeButton_c7min_137:hover {
  background: var(--surface-subtle);
  color: var(--text-secondary);
}

._modalBody_c7min_189 {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
}

/* Scrollbar customization */
._modalBody_c7min_189::-webkit-scrollbar {
  width: 0.25rem;
}

._modalBody_c7min_189::-webkit-scrollbar-track {
  background: transparent;
}

._modalBody_c7min_189::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: 0.125rem;
}

._modalBody_c7min_189::-webkit-scrollbar-thumb:hover {
  background: var(--border-strong);
}

/* ─── Dark Mode ──────────────────────────────────────────────────────────── */
html.dark ._modalContent_c7min_33 {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

html.dark ._modalHeader_c7min_79 {
  border-bottom-color: var(--dark-border-soft);
}

html.dark ._modalTitle_c7min_95 {
  color: var(--dark-text);
}

html.dark ._closeButton_c7min_137 {
  color: var(--dark-text-3);
}

html.dark ._closeButton_c7min_137:hover {
  background: var(--dark-hover);
  color: var(--dark-text);
}

._modalTitleText_c7min_284 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

._modalSubtitle_c7min_291 {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.125rem;
  color: var(--text-tertiary);
}
._button_5hkf6_1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease-in-out;
}

/* ---- primary: main submit / confirm action (modal footer convention) ---- */
._button--primary_5hkf6_13 {
  height: 2.5rem;
  padding: 0 1.25rem;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  background: linear-gradient(to bottom, var(--action-primary-bg), var(--action-primary-bg-hover));
  color: var(--action-primary-text);
}

._button--primary_5hkf6_13:hover:not(:disabled) {
  opacity: 0.9;
}

._button--primary_5hkf6_13:active:not(:disabled) {
  transform: translateY(0.0625rem);
}

/* ---- secondary: cancel / back action ---- */
._button--secondary_5hkf6_33 {
  height: 2.5rem;
  padding: 0 1.25rem;
  border: 0.125rem solid var(--border-subtle);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  background: var(--surface-card);
  color: var(--text-tertiary);
}

._button--secondary_5hkf6_33:hover:not(:disabled) {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-secondary);
}

/* ---- danger: destructive confirm (delete) ---- */
._button--danger_5hkf6_51 {
  height: 2.5rem;
  padding: 0 1.25rem;
  border: 0.125rem solid var(--error-500);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  background: var(--surface-card);
  color: var(--error-500);
}

._button--danger_5hkf6_51:hover:not(:disabled) {
  background: var(--error-50);
}

/* ---- ai: "Generate / Regenerate with AI" (indigo fill) ---- */
._button--ai_5hkf6_67 {
  height: 2.25rem;
  padding: 0 1rem;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--indigo-700);
  color: var(--action-primary-text);
}

._button--ai_5hkf6_67:hover:not(:disabled) {
  opacity: 0.9;
}

._button--ai_5hkf6_67:disabled {
  background: var(--indigo-700);
  opacity: 0.4;
}

._button_5hkf6_1:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/*
 * Shared ModalFooter layout wrapper.
 *
 * Intentionally THIN: this component owns only the footer LAYOUT
 * (alignment / gap / top divider / spacing) that was previously
 * copy-pasted as an identical `.actions` block across the form modals.
 * It does NOT style the buttons inside it — those come from the shared
 * common/Button component passed in as children.
 *
 * The `.end` variant below is byte-equivalent to the former per-modal
 * `.actions` rule (flex-end, gap 0.75rem, margin-top 0.5rem,
 * padding-top 1.25rem, border-top var(--border-subtle)), so migrating a
 * modal onto <ModalFooter align="end"> is a pure no-op on rendered layout.
 */

._footer_qvuf9_16 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 0.0417rem solid var(--border-subtle);
}

._end_qvuf9_10 {
  justify-content: flex-end;
}

._center_qvuf9_29 {
  justify-content: center;
}

._between_qvuf9_33 {
  justify-content: space-between;
}
._errorMessage_129qx_1 {
  font-size: 0.75rem;
  color: var(--error-500);
  line-height: 1rem;
  margin-top: -0.25rem;
}
/* AddClientModal Styles - Mapinator MVP */

._form_deudo_5 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

._formGroup_deudo_17 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._label_deudo_29 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25rem;
}

._input_deudo_43 {
  width: 100%;
  height: 2.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  transition: border-color 0.2s ease-in-out;
}

._input_deudo_43::placeholder {
  color: var(--text-disabled);
}

._input_deudo_43:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._input_deudo_43:hover:not(:focus) {
  border-color: var(--slate-300);
}

._inputError_deudo_95 {
  border-color: var(--error-500);
}

._inputError_deudo_95:focus {
  border-color: var(--error-500);
}

._actions_deudo_111 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 0.0417rem solid var(--border-subtle);
}

._cancelButton_deudo_131 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._cancelButton_deudo_131:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-secondary);
}

._submitButton_deudo_171 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: linear-gradient(to bottom, var(--action-primary-bg), var(--action-primary-bg-hover));
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  line-height: 1.25rem;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._submitButton_deudo_171:hover {
  opacity: 0.9;
}

._submitButton_deudo_171:active {
  transform: translateY(0.0625rem);
}
/* EditClientModal Styles - Mapinator MVP */

._form_1oumv_3 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

._formGroup_1oumv_9 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._label_1oumv_15 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25rem;
}

._input_1oumv_22 {
  width: 100%;
  height: 2.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  transition: border-color 0.2s ease-in-out;
}

._input_1oumv_22::placeholder {
  color: var(--text-disabled);
}

._input_1oumv_22:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._input_1oumv_22:hover:not(:focus) {
  border-color: var(--slate-300);
}

._inputError_1oumv_48 {
  border-color: var(--error-500);
}

._inputError_1oumv_48:focus {
  border-color: var(--error-500);
}

._actions_1oumv_56 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 0.0417rem solid var(--border-subtle);
}

._cancelButton_1oumv_66 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._cancelButton_1oumv_66:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-secondary);
}

._submitButton_1oumv_86 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: linear-gradient(to bottom, var(--action-primary-bg), var(--action-primary-bg-hover));
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  line-height: 1.25rem;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._submitButton_1oumv_86:hover {
  opacity: 0.9;
}

._submitButton_1oumv_86:active {
  transform: translateY(0.0625rem);
}
._warningIcon_1yool_1 {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

._infoBox_1yool_13 {
  background: var(--warning-50);
  border: 0.0625rem solid var(--warning-500);
  border-radius: 8px;
  padding: 0.625rem 0.875rem;
}

._infoText_1yool_20 {
  font-size: 0.75rem;
  color: var(--warning-700);
  line-height: 1.5;
  margin: 0;
}

._checkboxBox_1yool_27 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--pastel-peach);
  border: 0.0625rem solid var(--warning-500);
  border-radius: 8px;
  padding: 0.625rem 0.875rem;
  cursor: pointer;
}

._checkboxBoxChecked_1yool_38 {
  border-color: var(--warning-600);
}

._checkbox_1yool_27 {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.0625rem;
  accent-color: var(--warning-600);
  cursor: pointer;
}

._checkboxText_1yool_51 {
  font-size: 0.75rem;
  color: var(--warning-700);
  line-height: 1.4;
}

._actions_1yool_57 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding-top: 0.375rem;
}

._primaryBtn_1yool_65 {
  height: 2.25rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--action-primary-bg);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--action-primary-bg);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

._primaryBtn_1yool_65:hover:not(:disabled) {
  background: color-mix(in srgb, var(--blue-600) 6%, transparent);
}

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

._deleteBtn_1yool_88 {
  height: 2.25rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-disabled);
  cursor: not-allowed;
  transition: all 0.15s;
  white-space: nowrap;
}

._deleteBtnActive_1yool_102 {
  border-color: var(--error-500);
  color: var(--error-500);
  cursor: pointer;
}

._deleteBtnActive_1yool_102:hover {
  background: var(--error-50);
}

._cancelBtn_1yool_112 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

._cancelBtn_1yool_112:hover:not(:disabled) {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-secondary);
}

._cancelBtn_1yool_112:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
._overlay_wuvdz_1 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

._modal_wuvdz_12 {
  background: var(--surface-card);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  width: 24rem;
  max-width: 90vw;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

._logoContainer_wuvdz_26 {
  margin-bottom: 0.5rem;
}

._title_wuvdz_30 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0;
}

._description_wuvdz_37 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin: 0;
  max-width: 20rem;
}

._features_wuvdz_45 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  margin: 0.5rem 0;
}

._featureItem_wuvdz_54 {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

._featureCheck_wuvdz_60 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

._featureText_wuvdz_68 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

._startButton_wuvdz_74 {
  width: 100%;
  padding: 0.875rem;
  background: var(--indigo-600);
  color: var(--action-primary-text);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 0.5rem;
}

._startButton_wuvdz_74:hover {
  background: var(--indigo-700);
}

._learnMore_wuvdz_92 {
  font-size: 0.8125rem;
  color: var(--indigo-600);
  text-decoration: underline;
  cursor: pointer;
}

._footer_wuvdz_99 {
  font-size: 0.6875rem;
  color: var(--text-disabled);
  margin: 0.5rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}
/* Breadcrumb Styles */

._breadcrumb_hwuvy_3 {
  padding: 0.5rem 1.5rem 0.75rem 1.5rem;
}

._breadcrumbList_hwuvy_7 {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

._breadcrumbItem_hwuvy_16 {
  display: flex;
  align-items: center;
  gap: 0;
}

._homeIcon_hwuvy_22 {
  width: 1rem;
  height: 1rem;
  color: var(--text-secondary);
  margin-right: 0.75rem;
  margin-bottom: 0.125rem;
  flex-shrink: 0;
}

._breadcrumbLink_hwuvy_31 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
  line-height: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0;
}

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

._breadcrumbLink_hwuvy_31:hover ._homeIcon_hwuvy_22 {
  color: var(--text-primary);
}

._breadcrumbSeparator_hwuvy_54 {
  width: 1rem;
  height: 1rem;
  color: var(--text-secondary);
  margin: 0 0.5rem;
  flex-shrink: 0;
}

._breadcrumbCurrent_hwuvy_62 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.25rem;
}
/*
 * AddProjectModal styles.
 *
 * The AddProjectModal body itself is rendered with inline styles (see index.tsx)
 * to match the inline "compose card" look. This stylesheet holds the styling for
 * the (currently inactive / commented-out) "managed services" required field,
 * adapted from ux's reference UX. Colors are mapped to theme tokens instead of
 * ux's hardcoded rgba() values:
 *   - ux color-mix(in srgb, var(--blue-600) 12%, transparent) badge bg          -> var(--ai-blue-bg)
 *   - ux color-mix(in srgb, var(--blue-600) 6%, transparent) active option bg  -> var(--ai-blue-bg)
 *   - ux var(--action-primary-bg) active border     -> kept (already a token)
 * These rules are inert until the commented-out managed-services JSX in
 * AddProjectModal/index.tsx is uncommented.
 */

/* Managed-services required field */
._managedServicesGroup_1my8x_17 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

._label_1my8x_29 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25rem;
}

._requiredBadge_1my8x_36 {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-accent);
  background: var(--ai-blue-bg);
}

._radioGroup_1my8x_47 {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

._radioOption_1my8x_53 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1rem;
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-card);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}

._radioOption_1my8x_53:hover {
  border-color: var(--slate-300);
}

._radioOptionActive_1my8x_72 {
  border-color: var(--action-primary-bg);
  background: var(--ai-blue-bg);
}

._radioMark_1my8x_77 {
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.0625rem;
  border: 0.125rem solid var(--border-default);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color 0.15s;
}

._radioOptionActive_1my8x_72 ._radioMark_1my8x_77 {
  border-color: var(--action-primary-bg);
}

._radioDot_1my8x_93 {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--action-primary-bg);
}

._radioText_1my8x_100 {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

._errorText_1my8x_107 {
  font-size: 0.75rem;
  color: var(--error-500);
  line-height: 1rem;
}

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

._typeCard_1my8x_119 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.875rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-default);
  border-radius: 0.625rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

._typeCard_1my8x_119:hover {
  border-color: var(--slate-300);
}

._typeCardSelected_1my8x_138 {
  border-color: var(--action-primary-bg);
  background: var(--blue-50);
}

._typeCardIcon_1my8x_143 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--surface-subtle);
  color: var(--text-tertiary);
}

._typeCardSelected_1my8x_138 ._typeCardIcon_1my8x_143 {
  background: var(--action-primary-bg);
  color: white;
}

._typeCardTitle_1my8x_159 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25rem;
}

._typeCardDesc_1my8x_166 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1rem;
}

._typeCardRadio_1my8x_172 {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 0.125rem solid var(--border-default);
  background: var(--surface-card);
}

._typeCardSelected_1my8x_138 ._typeCardRadio_1my8x_172 {
  border-color: var(--action-primary-bg);
  border-width: 0.3125rem;
}
/* EditProjectModal Styles - Mapinator MVP */

._form_1esbm_3 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

._formGroup_1esbm_9 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._label_1esbm_15 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25rem;
}

._input_1esbm_22 {
  width: 100%;
  height: 2.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  transition: border-color 0.2s ease-in-out;
}

._input_1esbm_22::placeholder {
  color: var(--text-disabled);
}

._input_1esbm_22:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._input_1esbm_22:hover:not(:focus) {
  border-color: var(--slate-300);
}

._inputError_1esbm_48 {
  border-color: var(--error-500);
}

._inputError_1esbm_48:focus {
  border-color: var(--error-500);
}

._actions_1esbm_56 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 0.0417rem solid var(--border-subtle);
}

._cancelButton_1esbm_66 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._cancelButton_1esbm_66:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-secondary);
}

._submitButton_1esbm_86 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: linear-gradient(to bottom, var(--action-primary-bg), var(--action-primary-bg-hover));
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  line-height: 1.25rem;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._submitButton_1esbm_86:hover {
  opacity: 0.9;
}

._submitButton_1esbm_86:active {
  transform: translateY(0.0625rem);
}

._optional_1esbm_108 {
  font-weight: 400;
  color: var(--text-disabled);
}
._wrapper_171qn_1 {
  position: relative;
  display: inline-block;
}

._trigger_171qn_6 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.1875rem;
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

._trigger_171qn_6 span {
  display: block;
  flex: 0 0 0.1875rem;
  width: 0.1875rem;
  height: 0.1875rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--text-tertiary);
}

._trigger_171qn_6:hover {
  background: var(--slate-100);
}

._trigger_171qn_6:focus-visible {
  outline: 0.125rem solid var(--border-focus);
  outline-offset: 0.125rem;
}

._menu_171qn_40 {
  position: absolute;
  right: 0;
  top: calc(100% + 0.125rem);
  min-width: 11.25rem;
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  z-index: 100;
  overflow: hidden;
}

._item_171qn_53 {
  display: block;
  width: 100%;
  padding: 0.625rem 1rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 0.875rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.15s;
}

._item_171qn_53:hover:not(:disabled) {
  background: var(--surface-subtle);
}

._itemDisabled_171qn_70 {
  color: var(--text-disabled);
  cursor: not-allowed;
}

._itemDanger_171qn_75 {
  color: var(--error-500);
}

._itemDanger_171qn_75:hover {
  background: var(--error-50);
}
._formCard_1rdh2_1 {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  /* Inset from the card edges so it lines up with the project list/header
     (which use 1.25rem padding) instead of sitting flush to the sides. */
  margin: 1.25rem 1.25rem 1.75rem 1.25rem;
  /* Fixed-height within the card's flex column so the project list below keeps
     its own scroll (doesn't get squeezed when the form is open). */
  flex-shrink: 0;
  background: var(--surface-card);
  border: 1.5px solid var(--action-primary-bg);
  border-radius: 0.625rem;
  box-shadow: var(--shadow-sm);
}

/* Header */
._formHeader_1rdh2_19 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

._formTitle_1rdh2_27 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

._optionToggle_1rdh2_34 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

._optionLabel_1rdh2_40 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._segmented_1rdh2_45 {
  display: inline-flex;
  padding: 0.1875rem;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
}

._segmentedItem_1rdh2_53 {
  padding: 0.375rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

._segmentedItemActive_1rdh2_65 {
  background: var(--surface-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}

/* Fields */
._field_1rdh2_72 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._fieldLabel_1rdh2_78 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

._requiredMark_1rdh2_84 {
  margin-left: 0.125rem;
  font-weight: 700;
  color: var(--text-error);
}

._input_1rdh2_90 {
  height: 2.25rem;
  padding: 0 0.75rem;
  background: var(--surface-card);
  border: 1.5px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: border-color 0.15s ease;
}

._input_1rdh2_90:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._input_1rdh2_90::placeholder {
  color: var(--text-tertiary);
}

/* Radio rows */
._radioRow_1rdh2_111 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

._radioRow_1rdh2_111:hover {
  border-color: var(--action-primary-bg);
}

._radioRowActive_1rdh2_126 {
  border-color: var(--action-primary-bg);
  background: var(--info-50);
}

._radioRow_1rdh2_111 input {
  accent-color: var(--action-primary-bg);
  flex-shrink: 0;
}

._radioText_1rdh2_136 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Start cards */
._startCards_1rdh2_142 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

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

._startCard_1rdh2_142 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

._startCard_1rdh2_142:hover {
  border-color: var(--action-primary-bg);
}

._startCardActive_1rdh2_171 {
  border-color: var(--action-primary-bg);
  background: var(--info-50);
}

._startRadio_1rdh2_176 {
  position: relative;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  border: 2px solid var(--border-default);
  border-radius: 50%;
}

._startCardActive_1rdh2_171 ._startRadio_1rdh2_176 {
  border-color: var(--action-primary-bg);
}

._startCardActive_1rdh2_171 ._startRadio_1rdh2_176::after {
  content: '';
  position: absolute;
  inset: 0.1875rem;
  border-radius: 50%;
  background: var(--action-primary-bg);
}

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

._startCardTitle_1rdh2_205 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

._startCardDesc_1rdh2_211 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.35;
}

/* Footer */
._footer_1rdh2_218 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

._footerHint_1rdh2_228 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

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

._cancelButton_1rdh2_240 {
  height: 2.25rem;
  padding: 0 1.125rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

._cancelButton_1rdh2_240:hover:not(:disabled) {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._submitButton_1rdh2_257 {
  height: 2.25rem;
  padding: 0 1.125rem;
  background: var(--action-primary-bg);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

._submitButton_1rdh2_257:hover:not(:disabled) {
  opacity: 0.9;
}

._submitButton_1rdh2_257:disabled {
  background: var(--slate-300);
  cursor: not-allowed;
}

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

/* ClientDetailsScreen.module.css */

._clientDetailsScreen_9mkq6_3 {
  display: flex;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, var(--surface-subtle), var(--surface-page));
  overflow: hidden;
}

._mainContent_9mkq6_11 {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  background: var(--surface-page);
}

._contentWrapper_9mkq6_19 {
  flex: 1;
  background: var(--surface-page);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

html.dark ._contentWrapper_9mkq6_19 {
  background: var(--surface-page);
}

._breadcrumbContainer_9mkq6_31 {
  padding: 0.75rem 1.5rem 0.75rem;
}

._content_9mkq6_19 {
  flex: 1;
  padding: 0 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  min-height: 0;
}

/* Client Header */
._clientHeader_9mkq6_46 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  flex-shrink: 0;
  margin-bottom: 1.5rem;
}

._clientInfo_9mkq6_55 {
  display: flex;
  align-items: flex-start;
  flex: 1;
}

._clientIcon_9mkq6_61 {
  width: 2.25rem;
  height: 2.25rem;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

._clientDetails_9mkq6_3 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
}

._clientNameRow_9mkq6_79 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2rem;
  width: 100%;
}

._clientName_9mkq6_79 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 2rem;
  margin: 0;
}

._editClientButton_9mkq6_95 {
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  padding: 0;
  flex-shrink: 0;
}

._editClientButton_9mkq6_95:hover {
  transform: scale(1.15);
}

._editClientButton_9mkq6_95 svg {
  color: var(--text-accent);
  fill: var(--blue-600);
  transition: all 0.2s ease-in-out;
}

._clientProjects_9mkq6_119 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  margin: 0.25rem 0 0;
  min-height: 1.25rem;
}

/* Client Status Dropdown */
._clientStatusContainer_9mkq6_128 {
  position: relative;
  margin-left: auto;
}

._clientStatus_9mkq6_128 {
  background: var(--pastel-mint);
  color: var(--success-600);
  font-size: 0.8125rem;
  line-height: 1.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  height: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--success-500);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  white-space: nowrap;
}

._clientStatus_9mkq6_128:hover {
  background: var(--success-50);
}

._clientStatusInactive_9mkq6_154 {
  background: var(--slate-100) !important;
  color: var(--text-tertiary) !important;
}

._clientStatusInactive_9mkq6_154:hover {
  background: var(--slate-200) !important;
}

._statusChevron_9mkq6_163 {
  transition: transform 0.3s ease-in-out;
}

._statusDropdown_9mkq6_167 {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  background: var(--surface-page);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0rem 0.25rem 0.375rem -0.0625rem rgba(0, 0, 0, 0.1), 0rem 0.125rem 0.25rem -0.125rem rgba(0, 0, 0, 0.1);
  min-width: 11.25rem;
  z-index: 10;
  overflow: hidden;
}

._dropdownItem_9mkq6_180 {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface-page);
  border: none;
  font-size: 0.875rem;
  color: var(--error-500);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

._dropdownItem_9mkq6_180:hover {
  background: var(--error-50);
}

/* Confirmation UI */
._confirmationContainer_9mkq6_197 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._confirmationButton_9mkq6_203 {
  background: var(--surface-page);
  color: var(--error-500);
  font-size: 1rem;
  line-height: 1.5rem;
  padding: 0.5rem 1rem;
  border: 0.125rem solid var(--error-500);
  border-radius: 8px;
  height: 2.5rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

._confirmationActions_9mkq6_217 {
  display: flex;
  gap: 0.5rem;
}

._confirmYes_9mkq6_222 {
  background: var(--pastel-mint);
  color: var(--success-600);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  height: 2.25rem;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  min-width: 3.75rem;
}

._confirmYes_9mkq6_222:hover {
  background: var(--success-50);
}

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

._confirmNo_9mkq6_246 {
  background: var(--slate-100);
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  height: 2.25rem;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  min-width: 3.75rem;
}

._confirmNo_9mkq6_246:hover {
  background: var(--border-subtle);
}

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

/* Projects Card */
._projectsCard_9mkq6_271 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  position: relative;
}

._projectsHeader_9mkq6_284 {
  background: transparent;
  border-bottom: 0.0625rem solid var(--border-subtle);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

._projectsTitle_9mkq6_294 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-accent);
  line-height: 1.25rem;
}

._newProjectButton_9mkq6_304 {
  background: var(--action-primary-bg);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
  height: 2rem;
}

._newProjectButton_9mkq6_304:hover {
  opacity: 0.9;
}

/* Projects List */
._projectsList_9mkq6_325 {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  overflow-y: auto;
  flex: 1;
  align-content: start;
}

._projectCard_9mkq6_335 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
  position: relative;
  min-height: 5.5rem;
}

._projectCard_9mkq6_335:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-0.125rem);
}

/* The hover transform makes the card its own stacking context, so an open menu would sit under the next card */
._projectCard_9mkq6_335:hover {
  z-index: 10;
}

/* Must outrank a hovered neighbour, or hovering the next card while the menu is open covers it */
._projectCard_9mkq6_335:has([aria-expanded='true']) {
  z-index: 20;
}

/* Card Menu (three dots) */
._cardMenuWrapper_9mkq6_364 {
  position: relative;
}

._cardMenuBtn_9mkq6_368 {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-disabled);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

._cardMenuBtn_9mkq6_368:hover {
  background: var(--slate-100);
  color: var(--text-secondary);
}

._cardMenuDropdown_9mkq6_387 {
  display: none;
  position: absolute;
  bottom: calc(100% + 0.25rem);
  right: 0;
  min-width: 10rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 50;
  overflow: hidden;
}

._cardMenuOpen_9mkq6_401 ._cardMenuDropdown_9mkq6_387 {
  display: flex;
  flex-direction: column;
}

._cardMenuItem_9mkq6_406 {
  width: 100%;
  padding: 0.625rem 1rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 0.8125rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.1s;
}

._cardMenuItem_9mkq6_406:hover {
  background: var(--slate-50);
}

._cardMenuItemDanger_9mkq6_422 {
  color: var(--error-500);
}

._cardMenuItemDanger_9mkq6_422:hover {
  background: var(--error-50);
}

/* List View */
._projectsListView_9mkq6_431 {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex: 1;
}

._listHeader_9mkq6_439 {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--slate-50);
}

._listHeaderCol_9mkq6_447 {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

._listRow_9mkq6_455 {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background 0.1s;
}

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

._listRow_9mkq6_455:hover {
  background: var(--slate-50);
}

._listColName_9mkq6_472 {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._listColStatus_9mkq6_482 {
  width: 7rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--success-600);
}

._listColDate_9mkq6_491 {
  width: 10rem;
  font-family: var(--font-family-mono);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

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

._projectCardActions_9mkq6_504 {
  margin-left: auto;
  flex-shrink: 0;
}

._projectCardTitle_9mkq6_509 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-900);
  line-height: 1.25rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

._projectCardStatus_9mkq6_522 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  margin: 0;
}

._projectCardButton_9mkq6_529 {
  background: var(--blue-600);
  color: var(--action-primary-text);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
  width: fit-content;
}

._projectCardButton_9mkq6_529:hover {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 64rem) {
  ._projectsList_9mkq6_325 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 48rem) {
  ._projectsList_9mkq6_325 {
    grid-template-columns: 1fr;
  }

  ._clientHeader_9mkq6_46 {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  ._clientStatus_9mkq6_128 {
    align-self: flex-start;
  }

  ._projectsHeader_9mkq6_284 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    height: auto;
    padding: 1rem;
  }

  ._newProjectButton_9mkq6_304 {
    width: 100%;
    justify-content: center;
  }
}

/* Loading and Error States */
._loadingState_9mkq6_587,
._errorState_9mkq6_588 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--indigo-500) 0%, var(--indigo-800) 100%);
  position: relative;
  overflow: hidden;
}

/* Background decorativo animado */
._loadingState_9mkq6_587::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0.0625rem, transparent 0.0625rem);
  background-size: 3.125rem 3.125rem;
  animation: _moveBackground_9mkq6_1 20s linear infinite;
  pointer-events: none;
}

@keyframes _moveBackground_9mkq6_1 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(3.125rem, 3.125rem);
  }
}

/* Card de loading */
._loadingCard_9mkq6_624 {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem 4rem;
  border-radius: 8px;
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Spinner */
._spinner_9mkq6_635 {
  width: 3.5rem;
  height: 3.5rem;
  border: 0.3125rem solid var(--slate-200);
  border-top: 0.3125rem solid var(--blue-600);
  border-radius: 50%;
  animation: _spin_9mkq6_635 0.8s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes _spin_9mkq6_635 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

._loadingTitle_9mkq6_655 {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

._loadingSubtitle_9mkq6_662 {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  margin: 0;
}

._errorState_9mkq6_588 p {
  color: var(--error-500);
}

._loadingProjects_9mkq6_672 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

._loadingProjects_9mkq6_672 p {
  font-size: 0.875rem;
  color: var(--text-accent);
}

._emptyProjects_9mkq6_685 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 3rem;
  text-align: center;
  gap: 1rem;
}

._emptyProjects_9mkq6_685 svg {
  width: 4rem;
  height: 4rem;
  opacity: 0.4;
}

._emptyProjects_9mkq6_685 p {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-accent);
  margin: 0;
}

/* Error state additional styles */
._errorState_9mkq6_588 h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--error-500);
  margin-bottom: 0.75rem;
}

._errorActions_9mkq6_720 {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

._retryButton_9mkq6_726,
._logoutButton_9mkq6_727 {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

._retryButton_9mkq6_726 {
  background: var(--blue-600);
  color: var(--action-primary-text);
}

._retryButton_9mkq6_726:hover {
  background: var(--blue-700);
}

._logoutButton_9mkq6_727 {
  background: var(--error-500);
  color: var(--action-primary-text);
}

._logoutButton_9mkq6_727:hover {
  background: var(--error-600);
}

/* Edit Project Button */
._editProjectButton_9mkq6_756 {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  padding: 0;
  flex-shrink: 0;
  z-index: 5;
}

._editProjectButton_9mkq6_756:hover {
  transform: scale(1.15);
}

._editProjectButton_9mkq6_756 svg {
  color: var(--text-accent);
  fill: var(--blue-600);
  transition: all 0.2s ease-in-out;
}

/* Skeleton Loading Animation */
._skeleton_9mkq6_785 {
  background: linear-gradient(90deg, var(--slate-200) 25%, var(--slate-100) 50%, var(--slate-200) 75%);
  background-size: 200% 100%;
  animation: _shimmer_9mkq6_1 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes _shimmer_9mkq6_1 {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

._projectCardDate_9mkq6_802 {
  font-size: 0.75rem;
  color: var(--text-disabled);
  line-height: 1rem;
  margin: 0.25rem 0 0 0;
}

._projectCardArchived_9mkq6_809 {
  background: var(--surface-subtle);
  border-color: var(--border-subtle);
  box-shadow: none;
}

._projectCardArchived_9mkq6_809 ._projectCardTitle_9mkq6_509 {
  color: var(--text-disabled);
}

._projectCardArchived_9mkq6_809 ._projectCardStatus_9mkq6_522,
._projectCardArchived_9mkq6_809 ._projectCardDate_9mkq6_802 {
  color: var(--border-default);
}

/* The icon inherits this color through the SVG's fill="currentColor",
   matching the folder icon in the section header. */
._projectCardIcon_9mkq6_826 {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-accent);
  flex-shrink: 0;
}

._projectCardArchived_9mkq6_809 ._projectCardIcon_9mkq6_826 {
  color: var(--text-disabled);
  box-shadow: none;
}


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

._emptyFilteredState_9mkq6_846 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: transparent;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  width: max-content;
  color: var(--text-disabled);
}

._emptyFilteredState_9mkq6_846 p {
  font-size: 1.5rem;
  color: var(--text-disabled);
  margin: 0;
}

._projectCardButtonRestore_9mkq6_868 {
  background: var(--surface-page);
  color: var(--text-accent);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0rem 0.125rem 0.25rem 0rem rgba(0, 0, 0, 0.08);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
}

._projectCardButtonRestore_9mkq6_868:hover {
  background: color-mix(in srgb, var(--ai-blue) 6%, transparent);
}

._projectCardActions_9mkq6_504 {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
}


/* Dark mode fixes */

html.dark ._projectCardButton_9mkq6_529 {
  background: var(--blue-600);
}

html.dark ._projectCardButtonRestore_9mkq6_868 {
  background: transparent;
  color: var(--blue-400);
  border-color: color-mix(in srgb, var(--slate-400) 20%, transparent);
}


/* Hide breadcrumb home icon to align text with content */
._breadcrumbContainer_9mkq6_31 nav {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ─── Financial Visibility Section (AA0000-485) ──────────────────────────── */
._fvDetails_9mkq6_918 {
  margin-top: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0.625rem;
  background: var(--surface-card);
  overflow: hidden;
}

._fvSummary_9mkq6_926 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}

._fvSummary_9mkq6_926::-webkit-details-marker {
  display: none;
}

._fvTable_9mkq6_942 {
  border-top: 1px solid var(--border-subtle);
}

._fvTableHead_9mkq6_946 {
  display: grid;
  grid-template-columns: 1fr 11rem;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

._fvRow_9mkq6_960 {
  display: grid;
  grid-template-columns: 1fr 11rem;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

._fvItemInfo_9mkq6_973 {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

._fvItemLabel_9mkq6_980 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

._fvItemDescription_9mkq6_986 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._fvColItem_9mkq6_991 {
  min-width: 0;
}

._fvColToggle_9mkq6_995 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

._fvToggleState_9mkq6_1001 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._fvToggle_9mkq6_1001 {
  position: relative;
  flex-shrink: 0;
  width: 2.25rem;
  height: 1.25rem;
  border: none;
  border-radius: 9999px;
  background: var(--slate-300);
  cursor: pointer;
  transition: background 0.15s ease;
  padding: 0;
}

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

._fvToggleOn_9mkq6_1024 {
  background: var(--action-primary-bg);
}

._fvToggleKnob_9mkq6_1028 {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--surface-card);
  transition: transform 0.15s ease;
}

._fvToggleOn_9mkq6_1024 ._fvToggleKnob_9mkq6_1028 {
  transform: translateX(1rem);
}

/* Client page: header, toolbar and project cards */
._clientStatusBadge_9mkq6_1044 {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.125rem 0.625rem;
  margin-bottom: 0.375rem;
  border-radius: var(--radius-pill);
  background: var(--pastel-mint);
  color: var(--success-600);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25rem;
}

._clientStatusBadgeInactive_9mkq6_1059 {
  background: var(--slate-100);
  color: var(--text-tertiary);
}

._clientStatusDot_9mkq6_1064 {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--success-500);
}

._clientStatusBadgeInactive_9mkq6_1059 ._clientStatusDot_9mkq6_1064 {
  background: var(--text-disabled);
}

._projectsToolbar_9mkq6_1075 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

._projectSearchWrapper_9mkq6_1084 {
  position: relative;
  width: 14rem;
}

._projectSearchIcon_9mkq6_1089 {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1.25rem;
  line-height: 1;
  overflow: hidden;
  color: var(--text-tertiary);
  pointer-events: none;
}

._projectSearchInput_9mkq6_1103 {
  width: 100%;
  height: 2.125rem;
  padding: 0 0.75rem 0 2.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  outline: none;
}

._projectSearchInput_9mkq6_1103:focus {
  border-color: var(--border-focus);
}

._projectStatusToggle_9mkq6_1120,
._projectViewToggle_9mkq6_1121 {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--slate-100);
  border-radius: 8px;
}

._projectStatusButton_9mkq6_1129 {
  padding: 0.3125rem 0.75rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  cursor: pointer;
  white-space: nowrap;
}

._projectStatusButtonActive_9mkq6_1142 {
  background: var(--surface-card);
  box-shadow: var(--shadow-xs);
  font-weight: 700;
  color: var(--text-primary);
}

._projectViewButton_9mkq6_1149 {
  width: 2rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-disabled);
  cursor: pointer;
}

._projectViewButton_9mkq6_1149 .material-symbols-outlined {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1.25rem;
  line-height: 1;
  overflow: hidden;
}

._projectViewButtonActive_9mkq6_1170 {
  background: var(--surface-card);
  box-shadow: var(--shadow-xs);
  color: var(--text-primary);
}

._projectsCard_9mkq6_271 ._newProjectButton_9mkq6_304 {
  height: 2.125rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

._projectCardName_9mkq6_1183 {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
}

._projectCardNameArchived_9mkq6_1195 {
  color: var(--text-disabled);
}

._projectCardDate_9mkq6_802 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._projectCardTopRow_9mkq6_1204 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 1.5rem;
  margin-right: -0.25rem;
}

/* Archived project card: same layout as active, gray state */
._projectCardMenu_9mkq6_1214 {
  margin-left: auto;
}

._projectCardArchived_9mkq6_809 {
  background: color-mix(in srgb, var(--surface-subtle) 50%, var(--surface-card));
  border-color: var(--border-subtle);
}

._projectCardArchived_9mkq6_809:hover {
  box-shadow: none;
  transform: none;
}

._projectCardArchived_9mkq6_809 ._projectCardDate_9mkq6_802 {
  color: var(--text-disabled);
}
/* Tabs Styles */

._tabs_epwgv_5 {
  display: flex;
  align-items: flex-start;
  background: var(--surface-card);
  position: relative;
  border-bottom: 0.0417rem solid var(--border-subtle);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar styling is handled by global CSS in index.css */

._tab_epwgv_5 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.875rem;
  padding: 0 0.75rem 0.125rem 0.75rem;
  background: transparent;
  border: none;
  border-bottom: 0.125rem solid transparent;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative;
  white-space: nowrap;
}

._tab_epwgv_5:hover {
  background: transparent;
  color: var(--action-primary-bg);
}

._tab_epwgv_5:hover ._tabIcon_epwgv_77 {
  color: var(--action-primary-bg);
}

._tabActive_epwgv_85 {
  color: var(--action-primary-bg);
  font-weight: 400;
  border-bottom-color: var(--action-primary-bg);
  background: transparent;
}

._tabActive_epwgv_85 ._tabIcon_epwgv_77 {
  color: var(--action-primary-bg);
}

._tabIcon_epwgv_77 {
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: color 0.2s ease-in-out;
}

._tabIcon_epwgv_77 svg {
  width: 1rem;
  height: 1rem;
}

._tabIcon_epwgv_77 svg path {
  stroke: currentColor !important;
}

._tabDisabled_epwgv_147 {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

._tabDisabled_epwgv_147:hover {
  background: transparent;
  color: var(--text-secondary);
}

._tabStale_epwgv_169 {
  color: var(--color-stale-dark);
  border-bottom-color: var(--color-stale);
}

._tabStale_epwgv_169 ._tabIcon_epwgv_77 {
  color: var(--color-stale-dark);
}

._tabStale_epwgv_169:hover {
  background: var(--color-stale-bg-active);
  color: var(--color-stale-dark);
}

._tabStale_epwgv_169:hover ._tabIcon_epwgv_77 {
  color: var(--color-stale-dark);
}

._tabStale_epwgv_169._tabActive_epwgv_85 {
  color: var(--color-stale-dark);
  border-bottom-color: var(--color-stale);
  background: var(--color-stale-bg-active);
}

._tabStale_epwgv_169._tabActive_epwgv_85 ._tabIcon_epwgv_77 {
  color: var(--color-stale-dark);
}
/* UnsavedChangesModal Styles - Body content and footer only */
/* Overlay, modalContent, closeButton, header, and animations are handled by shared Modal base */

._subtitle_c5r21_4 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  margin: 0 0 0.5rem 0;
}

/* Content */
._content_c5r21_13 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

._mainText_c5r21_20 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.5rem;
  margin: 0;
}

/* Warning box */
._warningBox_c5r21_29 {
  background: var(--warning-50);
  border: 0.0417rem solid var(--warning-500);
  border-radius: 8px;
  padding: 1.0417rem;
}

._warningText_c5r21_36 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--warning-700);
  line-height: 1.25rem;
  margin: 0;
}

._warningText_c5r21_36 strong {
  font-weight: 700;
}

._optionsText_c5r21_48 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.25rem;
  margin: 0;
}

/* Options */
._options_c5r21_48 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._option_c5r21_48 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

._option_c5r21_48 svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--action-primary-bg);
  stroke: var(--action-primary-bg);
}

._optionText_c5r21_78 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.25rem;
}

._optionText_c5r21_78 strong {
  font-weight: 700;
  color: var(--text-secondary);
}

/* Footer */
._footer_c5r21_91 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

._cancelButton_c5r21_98 {
  height: 2.25rem;
  padding: 0.5417rem 1.0417rem;
  background: var(--surface-card);
  border: 0.0417rem solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--slate-900);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

._cancelButton_c5r21_98:hover:not(:disabled) {
  background: var(--surface-subtle);
}

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

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

._discardButton_c5r21_126 {
  height: 2.25rem;
  padding: 0.5417rem 1.0417rem;
  background: var(--surface-card);
  border: 0.0417rem solid var(--error-500);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--error-600);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._discardButton_c5r21_126:hover:not(:disabled) {
  background: var(--error-50);
}

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

._saveButton_c5r21_148 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.25rem;
  padding: 0.5417rem 1.0417rem;
  background: var(--action-primary-bg);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._saveButton_c5r21_148:hover:not(:disabled) {
  opacity: 0.9;
}

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

._saveButton_c5r21_148 svg {
  color: var(--action-primary-text);
  stroke: white;
}

/* Responsive */
@media (max-width: 37.5rem) {
  ._footer_c5r21_91 {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  ._actionButtons_c5r21_120 {
    width: 100%;
    flex-direction: column;
  }

  ._discardButton_c5r21_126,
  ._saveButton_c5r21_148 {
    width: 100%;
    justify-content: center;
  }
}
._previewButton_ap0yg_1._previewButton_ap0yg_1 svg {
  color: var(--text-tertiary);
}

._previewButton_ap0yg_1._previewButton_ap0yg_1:hover:not(:disabled) svg {
  color: var(--action-primary-bg);
}

._previewButton_ap0yg_1:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

._previewModal_ap0yg_14 {
  max-width: 60rem;
  width: 90vw;
  max-height: 85vh;
}

._previewContent_ap0yg_20 {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.25rem;
  margin: 0;
  max-height: 65vh;
  overflow-y: auto;
}

._previewContent_ap0yg_20 h1,
._previewContent_ap0yg_20 h2,
._previewContent_ap0yg_20 h3 {
  margin: 1rem 0 0.5rem;
  color: var(--slate-900);
}

._previewContent_ap0yg_20 h1 { font-size: 1.25rem; }
._previewContent_ap0yg_20 h2 { font-size: 1.1rem; }
._previewContent_ap0yg_20 h3 { font-size: 1rem; }

._previewContent_ap0yg_20 p {
  margin: 0.5rem 0;
}

._previewContent_ap0yg_20 table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.75rem 0;
  font-size: 0.8125rem;
}

._previewContent_ap0yg_20 th,
._previewContent_ap0yg_20 td {
  border: 1px solid var(--border-subtle);
  padding: 0.375rem 0.625rem;
  text-align: left;
}

._previewContent_ap0yg_20 th {
  background: var(--slate-100);
  font-weight: 600;
}

._previewContent_ap0yg_20 ul,
._previewContent_ap0yg_20 ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

._previewContent_ap0yg_20 code {
  background: var(--border-subtle);
  padding: 0.125rem 0.375rem;
  border-radius: 8px;
  font-size: 0.8125rem;
}

._previewContent_ap0yg_20 pre code {
  display: block;
  padding: 0.75rem;
  overflow-x: auto;
}
._row_w911n_1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-top: 6px;
  position: relative;
}

._pill_w911n_10 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.625rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 400;
  white-space: nowrap;
  border: 0.0417rem solid;
  line-height: 1.5;
  cursor: pointer;
}

._dot_w911n_24 {
  width: 0.875rem;
  height: 0.875rem;
  min-width: 0.875rem;
  min-height: 0.875rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

._dotX_w911n_36 {
  opacity: 1;
  display: block;
}

._pill_w911n_10:hover ._dot_w911n_24 {
  opacity: 0.8;
}

._addBtn_w911n_45 {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 8px;
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  background: var(--slate-100);
  border: 0.0417rem dashed var(--border-default);
  white-space: nowrap;
  line-height: 1.5;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

._addBtn_w911n_45:hover {
  color: var(--action-primary-bg);
  border-color: var(--action-primary-bg);
  background: color-mix(in srgb, var(--blue-50) 50%, transparent);
}

._dropdownWrapper_w911n_66 {
  position: relative;
  display: inline-flex;
}

._dropdown_w911n_66 {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--surface-card);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  min-width: 180px;
  padding: 4px;
}

._dropdownItem_w911n_84 {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  font-size: 0.75rem;
  color: var(--text-primary);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
  height: 32px;
}

._dropdownItem_w911n_84:hover:not(:disabled) {
  background: var(--surface-subtle);
}

._dropdownItemDisabled_w911n_105 {
  opacity: 0.4;
  cursor: not-allowed;
}

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

._check_w911n_117 {
  margin-left: auto;
  color: var(--action-primary-bg);
  font-size: 0.75rem;
}

._minCategoryTooltip_w911n_123 {
  position: absolute;
  bottom: calc(100% + 0.375rem);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.5rem;
  background: var(--slate-900);
  color: var(--text-inverse);
  font-size: 0.6875rem;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  animation: _fadeInOut_w911n_1 2s ease-in-out forwards;
  z-index: 10;
}

._minCategoryTooltip_w911n_123::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 0.25rem solid transparent;
  border-top-color: var(--slate-900);
}

@keyframes _fadeInOut_w911n_1 {
  0% { opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}
._iconContainer_p2wvk_1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

._success_p2wvk_9 svg {
    color: var(--success-500);
}

._error_p2wvk_13 svg {
    color: var(--error-500);
}

._processing_p2wvk_17 svg {
    color: var(--action-primary-bg);
}

._spinner_p2wvk_21 {
    animation: _spin_p2wvk_21 1s linear infinite;
}

@keyframes _spin_p2wvk_21 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* DocumentsTab.module.css */

._documentsTab_3j6cp_3 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

/* Header */
._header_3j6cp_11 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

._title_3j6cp_17 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5rem;
  margin: 0;
}

._subtitle_3j6cp_25 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  margin: 0;
}

/* Upload Area */
._uploadArea_3j6cp_33 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.375rem;
  border: 2px dashed var(--blue-200);
  border-radius: 8px;
  background: var(--blue-50);
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

._uploadArea_3j6cp_33:hover {
  border-color: var(--blue-600);
  background: var(--blue-100);
}

._uploadAreaDragging_3j6cp_51 {
  border-color: var(--blue-600);
  background: var(--blue-100);
  padding: 2.5rem 1.375rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 10rem;
  text-align: center;
}

._uploadAreaExpanded_3j6cp_63 {
  border-color: var(--blue-300);
  background: var(--blue-50);
  padding: 2rem 1.375rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 8rem;
  text-align: center;
}

._uploadAreaDisabled_3j6cp_75 {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

._uploadAreaDisabled_3j6cp_75:hover {
  border-color: var(--blue-200);
  background: var(--blue-50);
}

._uploadIconBox_3j6cp_86 {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--surface-card);
  border-radius: 8px;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.07), 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

._uploadTextContainer_3j6cp_98 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

._uploadText_3j6cp_98 {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-900);
  line-height: 1.25rem;
  margin: 0;
}

._uploadSubtext_3j6cp_113 {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-tertiary);
  line-height: 1rem;
  margin: 0;
}

._uploadButton_3j6cp_121 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9375rem;
  background: var(--surface-card);
  border: 1px solid var(--blue-600);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-accent);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  flex-shrink: 0;
}

._uploadButton_3j6cp_121:hover:not(:disabled) {
  background: var(--blue-50);
}

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

/* Loading State */
._loading_3j6cp_148 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18.75rem;
}

._loading_3j6cp_148 p {
  font-size: 1rem;
  color: var(--text-tertiary);
}

/* Error Message */
._errorMessage_3j6cp_161 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--error-50);
  border: 0.0625rem solid var(--error-50);
  border-radius: 8px;
}

._errorMessage_3j6cp_161 span {
  font-size: 0.875rem;
  color: var(--error-700);
  line-height: 1.25rem;
}

/* Documents Section */
._documentsSection_3j6cp_178 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._documentsHeader_3j6cp_184 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5rem;
  margin: 0;
}

/* Documents List */
._documentsList_3j6cp_196 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._documentCard_3j6cp_202 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.0417rem;
  background: var(--surface-card);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

._documentCard_3j6cp_202:hover {
  background: var(--surface-subtle);
  box-shadow: 0rem 0.125rem 0.25rem 0rem rgba(0, 0, 0, 0.05);
}

._documentCard_3j6cp_202:hover ._documentActions_3j6cp_219 {
  opacity: 1;
}

._documentMain_3j6cp_223 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

._documentIcon_3j6cp_231 {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

._documentIconPdf_3j6cp_241 {
  background: var(--error-50);
}

._documentIconDoc_3j6cp_245 {
  background: var(--blue-100);
}

._documentIconXls_3j6cp_249 {
  background: var(--pastel-mint);
}

._documentIconDefault_3j6cp_253 {
  background: var(--slate-100);
}

._documentIcon_3j6cp_231 svg {
  width: 1.25rem;
  height: 1.25rem;
}

._documentInfo_3j6cp_262 {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-width: 0;
}

._documentName_3j6cp_270 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--slate-900);
  line-height: 1.25rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._documentMeta_3j6cp_281 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1rem;
  margin: 0;
}

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

._documentStatus_3j6cp_294 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
}

._documentActions_3j6cp_219 {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

._actionButton_3j6cp_309 {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._actionButton_3j6cp_309:hover {
  background: var(--slate-100);
}

._actionButton_3j6cp_309 svg {
  width: 1rem;
  height: 1rem;
  color: var(--error-500);
  /* Red color for trash icon */
}

._actionButton_3j6cp_309:hover svg {
  color: var(--error-600);
  /* Darker red on hover */
}

._downloadButton_3j6cp_338 {
  color: var(--text-accent);
}

._downloadButton_3j6cp_338 svg {
  color: var(--text-accent);
  fill: var(--blue-600);
}

._downloadButton_3j6cp_338:hover {
  background: color-mix(in srgb, var(--blue-50) 50%, transparent);
  color: var(--text-accent);
}

._downloadButton_3j6cp_338:hover svg {
  color: var(--text-accent);
  fill: var(--blue-600);
}

/* Empty State */
._emptyState_3j6cp_358 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 12.5rem;
  padding: 3rem 1.5rem;
}

._emptyStateIcon_3j6cp_368 {
  width: 4rem;
  height: 4rem;
  color: var(--text-disabled);
}

._emptyStateText_3j6cp_374 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
}

._emptyStateSubtext_3j6cp_381 {
  font-size: 0.875rem;
  color: var(--text-disabled);
  margin: 0;
}

/* Responsive */
@media (max-width: 48rem) {
  ._uploadArea_3j6cp_33 {
    height: auto;
    padding: 2rem 1rem;
  }

  ._documentCard_3j6cp_202 {
    flex-direction: column;
    align-items: flex-start;
  }

  ._documentActions_3j6cp_219 {
    opacity: 1;
    width: 100%;
    justify-content: flex-end;
  }
}

/* Loading State */
._loadingState_3j6cp_407 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

._loadingState_3j6cp_407 p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin: 0;
}

/* Delete Confirmation */
._deleteConfirmation_3j6cp_422 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem;
  width: 100%;
}

._confirmationText_3j6cp_432 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  text-align: center;
  margin: 0;
}

._confirmationActions_3j6cp_440 {
  display: flex;
  gap: 0.75rem;
}

._confirmYes_3j6cp_445,
._confirmNo_3j6cp_446 {
  height: 2rem;
  padding: 0 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: none;
}

._confirmYes_3j6cp_445 {
  background: var(--error-500);
  color: var(--action-primary-text);
}

._confirmYes_3j6cp_445:hover:not(:disabled) {
  background: var(--error-600);
}

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

._confirmNo_3j6cp_446 {
  background: var(--slate-200);
  color: var(--text-secondary);
}

._confirmNo_3j6cp_446:hover:not(:disabled) {
  background: var(--border-default);
}

._confirmNo_3j6cp_446:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Shared Document Accordion Styles */
._accordionSection_yw50n_2 {
  background: var(--surface-card);
  border: 0.667px solid var(--border-subtle);
  border-radius: 8px;
  overflow: visible;
}

._accordionHeader_yw50n_9 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 66px;
  padding: 0 24px;
  background: var(--surface-card);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px 10px 0 0;
}

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

._accordionHeaderExpanded_yw50n_27 {
  border-radius: 8px 10px 0 0;
}

._accordionTitle_yw50n_31 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 20px;
  flex: 1;
  position: relative;
  z-index: 1;
  min-width: 0;
}

._accordionTitleIcon_yw50n_45 {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

._accordionTitleIcon_yw50n_45 svg {
  width: 22px;
  height: 22px;
}

._accordionInfoIcon_yw50n_60 {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--action-primary-bg);
  flex-shrink: 0;
  margin-left: 4px;
  cursor: pointer;
  z-index: 1;
}

._accordionInfoIcon_yw50n_60 svg {
  width: 20px;
  height: 20px;
}

._accordionInfoIcon_yw50n_60 ._infoTooltip_yw50n_79 {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--slate-900);
  border-radius: 8px;
  padding: 1rem;
  width: 26rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 10000;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-inverse);
  line-height: 1.5;
  white-space: normal;
}

._accordionInfoIcon_yw50n_60 ._infoTooltipArrow_yw50n_98 {
  position: absolute;
  bottom: 100%;
  left: 0.75rem;
  border: 0.375rem solid transparent;
  border-bottom-color: var(--slate-900);
}

._accordionInfoIcon_yw50n_60:hover ._infoTooltip_yw50n_79 {
  opacity: 1;
  pointer-events: auto;
}

._accordionChevron_yw50n_111 {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(0deg);
  flex-shrink: 0;
  color: var(--slate-900);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

._accordionChevron_yw50n_111 svg {
  width: 20px;
  height: 20px;
}

._accordionChevronExpanded_yw50n_128 {
  transform: rotate(180deg);
}

._accordionBadge_yw50n_132 {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-disabled);
  font-style: italic;
  margin-left: auto;
  margin-right: 8px;
}

._accordionContent_yw50n_141 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px;
  animation: _slideDown_yw50n_1 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  border-radius: 0 0 10px 10px;
  overflow: visible;
}

@keyframes _slideDown_yw50n_1 {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

._accordionEmpty_yw50n_163 {
  font-size: 0.8125rem;
  color: var(--text-disabled);
  font-style: italic;
  margin: 0;
  padding: 0.5rem 0;
}
._tooltipWrapper_a6fkr_1 {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: visible;
}

._tooltipTrigger_a6fkr_8 {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 1.5rem;
    height: 1.5rem;
}

._tooltip_a6fkr_1 {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    transform: none;
    background: var(--slate-900);
    border-radius: 8px;
    padding: 1rem;
    width: 26rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

._tooltipWrapper_a6fkr_1:hover ._tooltip_a6fkr_1 {
    opacity: 1;
    pointer-events: auto;
}

._tooltipArrow_a6fkr_40 {
    position: absolute;
    bottom: 100%;
    left: 0.75rem;
    transform: none;
    border: 0.375rem solid transparent;
    border-bottom-color: var(--slate-900);
}

._tooltipTitle_a6fkr_49 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-inverse);
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

._tooltipSubtitle_a6fkr_58 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-inverse);
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

._progressTrack_a6fkr_67 {
    width: 100%;
    height: 0.625rem;
    background: var(--slate-200);
    border-radius: 8px;
    overflow: hidden;
}

._progressFill_a6fkr_75 {
    height: 100%;
    background: var(--action-primary-bg);
    border-radius: 8px;
    transition: width 0.3s ease-in-out;
}

._progressFillOver_a6fkr_82 {
    background: var(--error-500);
}

._tooltipPercentage_a6fkr_86 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-inverse);
    margin: 0;
    text-align: right;
}

._percentageOver_a6fkr_94 {
    color: var(--error-500);
}
._regenerateModal_1y5ni_1 {
  max-width: 52rem;
  width: 90vw;
}

._modalContent_1y5ni_6 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

._subtitle_1y5ni_12 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ─── Scope segmented control + preview (redesign) ───────────────────────── */
._regenBlock_1y5ni_27 {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

._blockLabel_1y5ni_33 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

._muted_1y5ni_39 {
  color: var(--text-tertiary);
  font-size: 0.75rem;
}

._segmented_1y5ni_44 {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: var(--surface-subtle);
  border-radius: 8px;
}

._segOpt_1y5ni_52 {
  flex: 1;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

._segOptActive_1y5ni_69 {
  background: var(--surface-card);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

._regenPreview_1y5ni_76 {
  border: 1px solid color-mix(in srgb, var(--indigo-700) 14%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--indigo-700) 6%, transparent);
  overflow: hidden;
}

._previewHead_1y5ni_83 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border-bottom: 1px solid color-mix(in srgb, var(--indigo-700) 12%, transparent);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--indigo-700);
}

._previewList_1y5ni_94 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 9rem;
  overflow-y: auto;
  padding: 11px 13px;
}

._previewRow_1y5ni_103 {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

._previewText_1y5ni_112 {
  flex: 1;
}

._tagWarn_1y5ni_116 {
  font-size: 0.625rem;
  padding: 1px 6px;
  border-radius: 8px;
  background: var(--warning-50);
  color: var(--warning-800);
  flex-shrink: 0;
  white-space: nowrap;
}

._regenChoose_1y5ni_126 {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 12rem;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

._chooseRow_1y5ni_137 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--text-primary);
}

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

._chooseText_1y5ni_152 {
  flex: 1;
}

._checkbox_1y5ni_156 {
  width: 16px;
  height: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--action-primary-text);
}

._chooseRowChecked_1y5ni_168 ._checkbox_1y5ni_156,
._docChipChecked_1y5ni_169 ._checkbox_1y5ni_156 {
  background: var(--indigo-700);
  border-color: var(--indigo-700);
}

._footerCount_1y5ni_174 {
  margin-right: auto;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  align-self: center;
}

/* ─── Documents + context (unified layout) ───────────────────────────────── */
._bordered_1y5ni_182 {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

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

._linkBtn_1y5ni_194 {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--indigo-700);
  cursor: pointer;
  padding: 0;
}

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

/* ─── Region selector (pricing/extended analysis path) ───────────────────── */
._regionOptions_1y5ni_210 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

._regionOption_1y5ni_210 {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-default);
  background: var(--surface-card);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

._regionOption_1y5ni_210:hover {
  border-color: var(--indigo-700);
}

._regionOptionActive_1y5ni_233 {
  border: 0.125rem solid var(--indigo-700);
  background: color-mix(in srgb, var(--indigo-700) 5%, transparent);
  color: var(--indigo-700);
  font-weight: 600;
}

._docGroup_1y5ni_240 {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

._docGroup_1y5ni_240 + ._docGroup_1y5ni_240 {
  margin-top: 12px;
}

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

._docGroupLabel_1y5ni_257 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

._docChips_1y5ni_265 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

._docChip_1y5ni_169 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 7px 9px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--text-primary);
  transition: border-color 0.15s, background 0.15s;
}

._docChip_1y5ni_169:hover:not(._docChipDisabled_1y5ni_286) {
  border-color: var(--border-default);
}

._docChipChecked_1y5ni_169 {
  /* indigo-700 alpha tints via the codebase's color-mix convention
     (var(--indigo-700) is #6D28D9 === rgb(109,40,217)); no raw hex/rgb. */
  border-color: color-mix(in srgb, var(--indigo-700) 35%, transparent);
  background: color-mix(in srgb, var(--indigo-700) 5%, transparent);
}

._docChipDisabled_1y5ni_286 {
  opacity: 0.55;
  cursor: not-allowed;
}

._docChipName_1y5ni_302 {
  font-weight: 500;
}

._tokenBar_1y5ni_306 {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 11px 13px;
  border-radius: 8px;
  background: var(--surface-subtle);
}

._tokenBarLabel_1y5ni_315 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

._track_1y5ni_321 {
  height: 4px;
  border-radius: 8px;
  background: var(--slate-200);
  overflow: hidden;
}

._fill_1y5ni_328 {
  height: 100%;
  border-radius: 8px;
  background: var(--indigo-700);
  transition: width 0.3s ease;
}

._fillOverLimit_1y5ni_335 {
  background: var(--error-600);
}

._tokenCountOverLimit_1y5ni_339 {
  color: var(--error-600);
  font-weight: 600;
}

._tokenLimitError_1y5ni_344 {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--error-700);
  line-height: 1.4;
}

._tokenLimitError_1y5ni_344 svg {
  flex-shrink: 0;
  margin-top: 1px;
}

._hint_1y5ni_359 {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

._contextTextarea_1y5ni_365 {
  width: 100%;
  min-height: 64px;
  resize: vertical;
  padding: 11px 12px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--surface-card);
  outline: none;
  box-sizing: border-box;
}

._contextTextarea_1y5ni_365:focus {
  border-color: var(--indigo-700);
}

._contextTextarea_1y5ni_365::placeholder {
  color: var(--text-tertiary);
}

/* Option Cards */
._optionCard_1y5ni_390 {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 8px;
  border: 0.125rem solid transparent;
  background: var(--surface-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

._optionCard_1y5ni_390:hover {
  transform: translateY(-0.125rem);
}

/* Purple option (unanswered) */
._optionCardPurple_1y5ni_409 {
  border-color: var(--border-subtle);
}

._optionCardPurple_1y5ni_409:hover:not(:disabled) {
  background: color-mix(in srgb, var(--indigo-700) 5%, transparent);
  border-color: color-mix(in srgb, var(--indigo-700) 30%, transparent);
}

._optionCardPurple_1y5ni_409._optionCardSelected_1y5ni_418 {
  background: color-mix(in srgb, var(--indigo-700) 5%, transparent);
  border-color: var(--indigo-700);
  border-width: 0.125rem;
}

._optionCardPurple_1y5ni_409:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--surface-subtle);
}

._optionCardPurple_1y5ni_409:disabled ._optionIcon_1y5ni_430,
._optionCardPurple_1y5ni_409:disabled ._optionTitle_1y5ni_431,
._optionCardPurple_1y5ni_409:disabled ._optionDescription_1y5ni_432,
._optionCardPurple_1y5ni_409:disabled ._optionBadge_1y5ni_433 {
  opacity: 0.6;
}

._optionCardPurple_1y5ni_409 ._optionIcon_1y5ni_430 {
  color: var(--indigo-700);
}

._optionCardPurple_1y5ni_409 ._optionBadge_1y5ni_433 {
  background: color-mix(in srgb, var(--indigo-700) 10%, transparent);
  color: var(--indigo-700);
}

/* Orange option (regenerate all) */
._optionCardOrange_1y5ni_447 {
  border-color: var(--border-subtle);
}

._optionCardOrange_1y5ni_447:hover {
  background: color-mix(in srgb, var(--warning-500) 5%, transparent);
  border-color: color-mix(in srgb, var(--warning-500) 30%, transparent);
}

._optionCardOrange_1y5ni_447._optionCardSelected_1y5ni_418 {
  background: color-mix(in srgb, var(--warning-500) 5%, transparent);
  border-color: var(--warning-500);
  border-width: 0.125rem;
}

._optionCardOrange_1y5ni_447 ._optionIcon_1y5ni_430 {
  color: var(--warning-500);
}

._optionCardOrange_1y5ni_447 ._optionBadge_1y5ni_433 {
  background: color-mix(in srgb, var(--warning-500) 10%, transparent);
  color: var(--warning-500);
  flex-direction: row;
  align-items: center;
  gap: 0.375rem;
}

._optionIcon_1y5ni_430 {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
}

._optionContent_1y5ni_484 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._optionTitle_1y5ni_431 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

._optionDescription_1y5ni_432 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

._optionBadge_1y5ni_433 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  align-self: stretch;
}

/* Accordion */
._accordion_1y5ni_517 {
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

._accordionButton_1y5ni_523 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem;
  background: var(--surface-subtle);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

._accordionButton_1y5ni_523:hover {
  background: var(--slate-100);
}

._accordionTitle_1y5ni_539 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

._accordionChevron_1y5ni_545 {
  transition: transform 0.2s ease;
  color: var(--text-secondary);
}

._accordionChevronOpen_1y5ni_550 {
  transform: rotate(180deg);
}

._accordionContent_1y5ni_554 {
  max-height: 0;
  overflow: hidden;
  background: var(--surface-card);
  border-top: 0.0625rem solid var(--border-subtle);
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1rem;
}

._accordionContentOpen_1y5ni_563 {
  max-height: 31.25rem;
  padding: 1rem;
  transition: max-height 0.3s ease-in, padding 0.3s ease-in;
}

._questionsList_1y5ni_569 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 15rem;
  overflow-y: auto;
}

._questionCheckbox_1y5ni_577 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

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

._questionCheckbox_1y5ni_577 input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
  accent-color: var(--action-primary-bg);
}

._checkboxLabel_1y5ni_598 {
  font-size: 0.875rem;
  color: var(--text-primary);
  cursor: pointer;
  flex: 1;
}


/* Footer */
._footer_1y5ni_174 {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 0.0625rem solid var(--border-subtle);
}

._backButton_1y5ni_615 {
  margin-right: auto;
  padding: 0.75rem 1.25rem;
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

._backButton_1y5ni_615:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
}

._cancelButton_1y5ni_633 {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 0.0625rem solid var(--border-subtle);
  background: var(--surface-card);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

._cancelButton_1y5ni_633:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
}

._nextButton_1y5ni_650 {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  background: var(--action-primary-bg);
  color: var(--action-primary-text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

._nextButton_1y5ni_650:hover:not(:disabled) {
  background: var(--action-primary-bg-hover);
}

._nextButton_1y5ni_650:disabled {
  background: var(--border-default);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Purple AI variant (unified generate button) */
._nextButtonAi_1y5ni_673 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--indigo-700);
}

._nextButtonAi_1y5ni_673:hover:not(:disabled) {
  background: var(--indigo-800);
}

._globalRegenCounter_1y5ni_684 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

._globalRegenCounterExhausted_1y5ni_695 {
  background: var(--red-50);
  border-color: var(--red-200);
}

._globalRegenLabel_1y5ni_700 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._globalRegenBadge_1y5ni_705 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-accent-alt);
  background: var(--blue-50);
  padding: 0.125rem 0.5rem;
  border-radius: 8px;
}

._globalRegenExhausted_1y5ni_714 {
  color: var(--red-700);
  background: var(--red-50);
}
._subtitle_1tf3i_1 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
}

._actions_1tf3i_7 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

._primaryButton_1tf3i_14 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  background: linear-gradient(135deg, var(--indigo-500) 0%, var(--indigo-800) 100%);
  color: var(--text-inverse);
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

._primaryButton_1tf3i_14:hover { opacity: 0.9; }

._primaryButton_1tf3i_14:focus-visible {
  outline: 2px solid var(--indigo-800);
  outline-offset: 2px;
}

._secondaryButton_1tf3i_37 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  background: var(--surface-card);
  color: var(--action-primary-bg);
  border: 1px solid var(--action-primary-bg);
  border-radius: 8px;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.15s;
}

._secondaryButton_1tf3i_37:hover { background: color-mix(in srgb, var(--blue-600) 6%, transparent); }

._secondaryButton_1tf3i_37:focus-visible {
  outline: 2px solid var(--action-primary-bg);
  outline-offset: 2px;
}

._cancelButton_1tf3i_59 {
  display: block;
  width: 100%;
  padding: 0.5rem;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  font-size: 0.875rem;
  cursor: pointer;
  text-align: center;
}

._cancelButton_1tf3i_59:hover { color: var(--text-primary); }
._reviewLabel_1d79r_1 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

._approveButton_1d79r_9 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: var(--surface-card);
  border: 0.09375rem solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
}

/* Icon neutral by default, green on hover */
._approveButton_1d79r_9 svg path { stroke: var(--border-strong); transition: stroke 0.2s ease-in-out; }
._approveButton_1d79r_9:hover:not(:disabled) { background: rgba(16, 185, 129, 0.08); border-color: var(--success-500); }
._approveButton_1d79r_9:hover:not(:disabled) svg path { stroke: var(--success-500); }
._approveButton_1d79r_9:disabled { opacity: 0.5; cursor: not-allowed; }
._approveButton_1d79r_9:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }

/* Reviewed/selected state — light green bg + green icon */
._approveButtonReviewed_1d79r_32 {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--success-500);
  cursor: default;
}
._approveButtonReviewed_1d79r_32 svg path { stroke: var(--success-500); }
._approveButtonReviewed_1d79r_32:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--success-500);
}
._approveButtonReviewed_1d79r_32:hover:not(:disabled) svg path { stroke: var(--success-500); }

._editButtonHeader_1d79r_44 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: var(--surface-card);
  border: 0.09375rem solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
}

/* Icon darker by default, red on hover */
._editButtonHeader_1d79r_44 svg path { stroke: var(--text-tertiary); transition: stroke 0.2s ease-in-out; }
._editButtonHeader_1d79r_44:hover:not(:disabled) { background: rgba(239, 68, 68, 0.08); border-color: var(--error-500); }
._editButtonHeader_1d79r_44:hover:not(:disabled) svg path { stroke: var(--error-500); }
._editButtonHeader_1d79r_44:disabled { opacity: 0.5; cursor: not-allowed; }
._editButtonHeader_1d79r_44:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }

._validatedBadge_1d79r_66 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: 1.5rem;
  padding: 0 0.625rem;
  background: rgba(16, 185, 129, 0.12);
  border: 0.0625rem solid var(--success-500);
  border-radius: 8px;
  color: var(--success-600);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.0312rem;
  flex-shrink: 0;
}

._validatedBadge_1d79r_66 svg path {
  stroke: var(--success-600);
}
._acceptButton_o70o4_1 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 1rem;
  background: var(--surface-card);
  border: 1.5px solid var(--color-stale);
  border-radius: 8px;
  color: var(--color-stale-dark);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

._acceptButton_o70o4_1:hover:not(:disabled) {
  background: var(--color-stale-bg-active);
}

._acceptButton_o70o4_1:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
._wrapper_c5u63_1 {
  position: relative;
  display: inline-block;
}

._tooltip_c5u63_6 {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--surface-subtle);
  color: var(--text-primary);
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1.4;
  white-space: normal;
  width: 16rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 1000;
  box-shadow: var(--ai-blue-shadow);
  border: 0.0625rem solid var(--border-subtle);
}

._tooltip_c5u63_6::after {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 1rem;
  border: 0.375rem solid transparent;
  border-bottom-color: var(--surface-subtle);
}

._tooltip_c5u63_6::before {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 1rem;
  border: 0.375rem solid transparent;
  border-bottom-color: var(--border-subtle);
  margin-bottom: 0.0625rem;
}

._wrapper_c5u63_1:hover ._tooltip_c5u63_6,
._wrapper_c5u63_1:focus-within ._tooltip_c5u63_6 {
  opacity: 1;
}
/* AI Progress Bar - Smooth infinite sweep animation */

@keyframes _sweep_hi5iv_1 {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

._progressContainer_hi5iv_8 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

._progressLabel_hi5iv_15 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1rem;
}

._progressBar_hi5iv_21 {
  width: 100%;
  height: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--indigo-200); /* soft purple base */
}

/* Glowing sweep element */
._progressBar_hi5iv_21::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--indigo-300) 30%,
    var(--indigo-400) 50%,
    var(--indigo-300) 70%,
    transparent 100%
  );
  animation: _sweep_hi5iv_1 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

._progressFill_hi5iv_50 {
  display: none;
}
/* ProjectQuestionnaireTab.module.css */

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

/* Header */
._header_160u6_10 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  --hx: calc(var(--card-pad-x, 1.5rem) + var(--tab-inset-x, 0px));
  --hy: calc(var(--card-pad-top, 1.5rem) + var(--tab-inset-top, 0px));
  position: sticky;
  top: calc(-1 * var(--card-pad-top, 1.5rem));
  z-index: 5;
  margin: calc(-1 * var(--hy)) calc(-1 * var(--hx)) -0.75rem;
  padding: var(--hy) var(--hx) 0.75rem;
  background: var(--surface-card);
}

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

._title_160u6_31 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5rem;
  margin: 0;
}

._subtitle_160u6_39 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._progress_160u6_45 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

._progressText_160u6_51 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.25rem;
}

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

._aiIcon_160u6_63 {
  font-size: 1rem;
}

._spinner_160u6_67 {
  animation: _spin_160u6_67 1s linear infinite;
}

._spinnerIcon_160u6_71 {
  animation: _spin_160u6_67 1s linear infinite;
}

@keyframes _spin_160u6_67 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

._newQuestionButton_160u6_85 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2rem;
  padding: 0 0.75rem;
  background: var(--blue-600);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._newQuestionButton_160u6_85:hover {
  opacity: 0.9;
}

/* Questions List */
._questionsList_160u6_105 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

._questionCard_160u6_111 {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(164deg, var(--surface-card) 0%, color-mix(in srgb, var(--slate-50) 50%, transparent) 100%);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: var(--shadow-card), 0rem 0.0625rem 0.125rem -0.0625rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: border-color 0.3s ease-in-out;
}

/* Question Header - NEW */
._questionHeader_160u6_124 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  min-height: 3.25rem;
  background: var(--surface-subtle);
  border-bottom: 0.0625rem solid var(--border-subtle);
  position: relative;
}

._questionTitle_160u6_135 {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25rem;
  margin: 0;
}

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

._reviewLabel_160u6_151 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

._approveButton_160u6_159 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 2rem;
  padding: 0 0.75rem;
  background: white;
  border: 0.09375rem solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
}

._approveButton_160u6_159:hover:not(:disabled) {
  background: var(--approve-bg-hover);
}

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

._approveButton_160u6_159:focus-visible {
  outline: 2px solid var(--border-subtle);
  outline-offset: 2px;
}

._approveButton_160u6_159 svg path {
  stroke: var(--success-500);
}

._editButtonHeader_160u6_193 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: 2rem;
  padding: 0 0.75rem;
  background: white;
  border: 0.09375rem solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
}

._editButtonHeader_160u6_193:hover:not(:disabled) {
  background: var(--destructive-bg-hover);
}

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

._editButtonHeader_160u6_193:focus-visible {
  outline: 2px solid var(--border-subtle);
  outline-offset: 2px;
}

._editButtonHeader_160u6_193 svg path {
  stroke: var(--error-500);
}

/* Borda amarela quando está editando */
._questionCardEditing_160u6_229 {
  border-color: var(--border-subtle);
}

/* Borda vermelha quando tem mudanças não salvas */
._questionCardUnsaved_160u6_234 {
  border-color: var(--border-subtle);
}

/* Borda verde quando foi revisada pelo usuário */
._questionCardReviewed_160u6_239 {
  border-color: var(--border-subtle);
}

/* Borda amarela quando não tem resposta */
._questionCardEmpty_160u6_244 {
  border-color: var(--border-subtle);
}

/* Borda roxa para perguntas geradas por IA (que ainda não foram revisadas) */
._questionCardAiGenerated_160u6_249 {
  border-color: var(--border-subtle);
}

/* Borda amarela quando o tab está stale */
._questionCardStale_160u6_254 {
  border-color: var(--color-stale);
  background: var(--color-stale-bg);
}

._questionNumber_160u6_259 {
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, var(--blue-600), var(--blue-700));
  border-radius: 50%;
  box-shadow: var(--shadow-card-hover);
  font-size: 0.75rem;
  color: var(--action-primary-text);
  font-weight: 600;
}

._questionContent_160u6_274 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
}

._questionRow_160u6_281 {
  display: flex;
  gap: 0.75rem;
}

._questionField_160u6_286 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._answerField_160u6_293 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._answerActions_160u6_300 {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

._label_160u6_307 {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1rem;
}

._input_160u6_313 {
  width: 100%;
  min-height: 5rem;
  padding: 0.5rem 0.75rem;
  background: var(--slate-100);
  border: 0.0417rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  resize: none;
  transition: border-color 0.2s ease-in-out;
}

._input_160u6_313:focus {
  outline: none;
  border-color: var(--blue-600);
}

._inputDisabled_160u6_332 {
  opacity: 0.8;
  cursor: not-allowed;
}

._textareaWrapper_160u6_337 {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
}

._textarea_160u6_337 {
  width: 100%;
  min-height: 8.5625rem;
  padding: 0.5rem 4.5rem 0.5rem 0.75rem;
  /* Added right padding for AI badge */
  background: var(--surface-subtle);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  resize: none;
  transition: all 0.2s ease-in-out;
  outline: none;
  box-sizing: border-box;
  flex: 1;
}

._textarea_160u6_337:disabled {
  cursor: not-allowed;
  user-select: none;
}

._textarea_160u6_337[readonly] {
  cursor: default;
}

._textarea_160u6_337:disabled:active,
._textarea_160u6_337:disabled:focus {
  background: var(--surface-subtle) !important;
  outline: none !important;
}

._textarea_160u6_337::placeholder {
  color: var(--text-tertiary);
}

._textarea_160u6_337:focus {
  outline: none;
  box-shadow: none;
}

/* AI Generated Textarea */
._textareaAi_160u6_387 {
  background: var(--surface-subtle);
  border-color: var(--indigo-700);
}

._textareaStale_160u6_392 {
  background: var(--slate-50);
  border-color: var(--color-stale);
}

/* Editing textarea */
._textareaEditing_160u6_398 {
  border-color: var(--color-stale);
}

/* Keep same background when disabled and AI-generated */
._textareaAi_160u6_387:disabled {
  background: var(--surface-subtle) !important;
  outline: none !important;
}

/* When user edits, background stays white */
._textareaAi_160u6_387:focus {
  background: white;
  box-shadow: none;
  outline: none;
}

/* Reviewed textarea - locked appearance */
._textareaReviewed_160u6_416 {
  background: var(--slate-100) !important;
  color: var(--slate-500) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 0.85;
  border-color: var(--success-500);
}

._aiBadge_160u6_425 {
  position: absolute;
  top: 0.875rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: var(--ai-purple-bg);
  border: 0.0625rem solid var(--ai-purple-border);
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--indigo-700);
  text-transform: uppercase;
  letter-spacing: 0.0312rem;
  line-height: 0.9375rem;
}

._aiBadge_160u6_425 svg path {
  stroke: var(--indigo-700);
}

._questionActions_160u6_448 {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 0.0417rem solid var(--border-subtle);
}

._editButton_160u6_193 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2rem;
  width: 2rem;
  padding: 0;
  background: white;
  border: 0.0417rem solid var(--blue-600);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-accent);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

._editButton_160u6_193:hover {
  background: var(--ai-blue-bg);
}

._cancelButton_160u6_476 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background: var(--error-500);
  border: 0.09375rem solid var(--error-500);
  border-radius: 8px;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  flex-shrink: 0;
}

._cancelButton_160u6_476:hover:not(:disabled) {
  background: var(--error-600);
  border-color: var(--error-600);
}

._saveButton_160u6_497 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background: var(--success-500);
  border: 0.09375rem solid var(--success-500);
  border-radius: 8px;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  flex-shrink: 0;
}

._saveButton_160u6_497:hover:not(:disabled) {
  background: var(--success-700);
  border-color: var(--success-700);
}

._saveButton_160u6_497:disabled,
._cancelButton_160u6_476:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._saveLabel_160u6_524 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Submit Section */
._submitSection_160u6_533 {
  display: flex;
  justify-content: center;
  padding-top: 1.5rem;
}

._submitButton_160u6_539 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.5rem;
  background: var(--blue-600);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._submitButton_160u6_539:hover {
  opacity: 0.9;
}

/* Accordion */
._accordion_160u6_559 {
  background: var(--blue-50);
  border: 0.0417rem solid var(--blue-600);
  border-radius: 8px;
  margin-top: 1rem;
  overflow: hidden;
}

._accordionButton_160u6_567 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

._accordionButton_160u6_567:hover {
  background: var(--ai-blue-bg);
}

._accordionHeader_160u6_583 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--blue-800);
  font-weight: 400;
}

._accordionChevron_160u6_592 {
  transition: transform 0.2s ease-in-out;
}

._accordionChevron_160u6_592 path {
  stroke: var(--blue-600);
}

._accordionChevronOpen_160u6_600 {
  transform: rotate(180deg);
}

._accordionContent_160u6_604 {
  padding: 0 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._accordionSection_160u6_611 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._accordionSectionTitle_160u6_617 {
  font-size: 0.875rem;
  color: var(--blue-800);
  font-weight: 400;
  margin: 0;
}

._accordionList_160u6_624 {
  list-style: none;
  padding: 0 0 0 0.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

._accordionList_160u6_624 li {
  font-size: 0.75rem;
  color: var(--blue-800);
  line-height: 1rem;
}

._accordionList_160u6_624 li strong {
  font-weight: 600;
}

._accordionTip_160u6_643 {
  background: var(--blue-100);
  padding: 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--blue-800);
  line-height: 1rem;
}

/* Warning Box */
._warningBox_160u6_653 {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--blue-50);
  border: 0.0417rem solid var(--blue-600);
  border-radius: 8px;
  margin-top: 1.5rem;
}

._warningBox_160u6_653 svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

._warningBox_160u6_653 svg circle,
._warningBox_160u6_653 svg path {
  stroke: var(--blue-600);
}

._warningBox_160u6_653 p {
  font-size: 0.875rem;
  color: var(--blue-800);
  line-height: 1.25rem;
  margin: 0;
}

._warningBox_160u6_653 strong {
  font-weight: 600;
}

/* Loading, Error and Empty States */
._loadingState_160u6_686,
._errorState_160u6_687,
._emptyState_160u6_688 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  background: white;
  border-radius: 8px;
  margin: 1.5rem 0;
}

._loadingState_160u6_686 p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

._errorState_160u6_687 p {
  font-size: 0.875rem;
  color: var(--error-500);
  font-weight: 500;
}

._emptyState_160u6_688 p {
  font-size: 0.875rem;
  color: var(--text-accent);
  line-height: 1.6;
}

/* AI Generating Card */
._aiGeneratingCard_160u6_718 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--ai-purple-gradient);
  border: 0.0625rem solid var(--ai-purple-progress);
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

._aiGeneratingHeader_160u6_729 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._aiIcon_160u6_63 {
  flex-shrink: 0;
  animation: _pulse_160u6_1 2s ease-in-out infinite;
}

@keyframes _pulse_160u6_1 {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

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

._aiGeneratingTitle_160u6_760 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.5rem;
}

._aiGeneratingSubtitle_160u6_768 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.25rem;
}

._aiProgressBar_160u6_775 {
  width: 100%;
  height: 0.5rem;
  background: var(--ai-purple-progress);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

._aiProgressFill_160u6_784 {
  height: 100%;
  background: linear-gradient(90deg, var(--indigo-700) 0%, var(--indigo-400) 100%);
  border-radius: 8px;
  transition: width 0.3s ease-in-out;
}

._aiProgressText_160u6_791 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--indigo-900);
  text-align: right;
}

/* Responsive */
@media (max-width: 48rem) {

  /* Header */
  ._title_160u6_31 {
    font-size: 1rem;
  }

  ._progressText_160u6_51 {
    font-size: 0.75rem;
  }

  /* Question cards */
  ._questionNumber_160u6_259 {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.6875rem;
  }

  ._questionCard_160u6_111 {
    padding: 0.75rem;
    padding-top: 1rem;
  }

  ._label_160u6_307 {
    font-size: 0.6875rem;
  }

  ._input_160u6_313,
  ._textarea_160u6_337 {
    font-size: 0.75rem;
    min-height: 6.25rem;
  }

  /* Buttons */
  ._saveButton_160u6_497,
  ._cancelButton_160u6_476,
  ._editButton_160u6_193 {
    height: 1.75rem;
    padding: 0 0.625rem;
    font-size: 0.75rem;
  }

  ._editButton_160u6_193 {
    width: 1.75rem;
  }

  /* AI Badge */
  ._aiBadge_160u6_425 {
    font-size: 0.5625rem;
    padding: 0 0.3125rem;
    height: 1.125rem;
  }

  /* Accordion */
  ._accordionHeader_160u6_583 {
    font-size: 0.75rem;
  }

  ._accordionSectionTitle_160u6_617 {
    font-size: 0.75rem;
  }

  ._accordionList_160u6_624 li {
    font-size: 0.6875rem;
  }

  ._accordionTip_160u6_643 {
    font-size: 0.6875rem;
  }

  /* Warning box */
  ._warningBox_160u6_653 {
    padding: 0.75rem;
  }

  ._warningBox_160u6_653 p {
    font-size: 0.75rem;
  }

  /* Submit button */
  ._submitButton_160u6_539 {
    height: 2.5rem;
    padding: 0 1.25rem;
    font-size: 0.875rem;
  }

  /* AI Generating card */
  ._aiGeneratingTitle_160u6_760 {
    font-size: 0.875rem;
  }

  ._aiGeneratingSubtitle_160u6_768 {
    font-size: 0.75rem;
  }

  /* Info state */
  ._infoTitle_160u6_895 {
    font-size: 0.875rem;
  }

  ._infoText_160u6_899 {
    font-size: 0.75rem;
  }

  ._infoTextSecondary_160u6_903 {
    font-size: 0.6875rem;
  }
}


/* Skeleton Loading Animation */
._skeleton_160u6_910 {
  display: block;
  background: linear-gradient(90deg, var(--slate-200) 25%, var(--slate-100) 50%, var(--slate-200) 75%);
  background-size: 200% 100%;
  animation: _shimmer_160u6_1 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes _shimmer_160u6_1 {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}
/* wiggle.module.css
 * Single source of truth for the wiggle shake animation used across all editable tabs.
 * Usage: import wiggleStyles from '../../../styles/wiggle.module.css';
 *        className={isWiggling ? wiggleStyles.wiggle : ''}
 */

@keyframes _wiggle_gb7po_4 {
  0%   { transform: translateX(0); }
  15%  { transform: translateX(-6px); }
  30%  { transform: translateX(6px); }
  45%  { transform: translateX(-5px); }
  60%  { transform: translateX(5px); }
  75%  { transform: translateX(-3px); }
  90%  { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

._wiggle_gb7po_4 {
  animation: _wiggle_gb7po_4 0.5s ease-in-out;
  border-color: var(--warning-500) !important;
}

._wiggle_gb7po_4 textarea,
._wiggle_gb7po_4 input[type="text"],
._wiggle_gb7po_4 input:not([type]),
._wiggle_gb7po_4 input[type="search"] {
  border-color: var(--warning-500) !important;
  outline-color: var(--warning-500) !important;
}
._infoIconWrapper_1yg48_1 {
  display: inline-flex;
  align-items: center;
  margin-left: 0.375rem;
  color: var(--slate-400);
  cursor: help;
  vertical-align: middle;
  position: relative;
}

._infoIconWrapper_1yg48_1:hover {
  color: var(--action-primary-bg);
}
._painsList_vcasn_1 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._painItem_vcasn_7 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  border: 0.0625rem solid var(--border-subtle);
  background: var(--surface-card);
  transition: background 0.2s ease-in-out, padding 0.2s ease-in-out;
  position: relative;
  min-height: 2.25rem;
}

._painItem_vcasn_7:hover {
  background: rgba(226, 232, 240, 0.3);
}

._painItemStale_vcasn_24 {
  border-color: var(--color-stale);
  background: var(--color-stale-bg);
}

._painItemStale_vcasn_24:hover {
  background: var(--color-stale-bg-hover);
}

._painItemEditing_vcasn_33 {
  background: rgba(251, 146, 60, 0.02);
  padding: 0.625rem 0.75rem;
  min-height: auto;
}

._painItemEditing_vcasn_33:hover {
  background: rgba(251, 146, 60, 0.08);
}

._painItemReviewed_vcasn_43:hover {
  background: rgba(16, 185, 129, 0.04);
}

._painItemAI_vcasn_47:hover {
  background: rgba(109, 40, 217, 0.04);
}

._painItemDeleting_vcasn_51 {
  opacity: 0.6;
  pointer-events: none;
  background: var(--surface-subtle) !important;
}

._deletingText_vcasn_57 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  font-style: italic;
  margin: 0;
  animation: _deletingDots_vcasn_1 1.5s infinite;
}

._savingText_vcasn_65 {
  font-size: 0.8125rem;
  color: var(--action-primary-bg);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@keyframes _deletingDots_vcasn_1 {
  0%, 20% { content: 'Excluindo'; }
  40% { content: 'Excluindo.'; }
  60% { content: 'Excluindo..'; }
  80%, 100% { content: 'Excluindo...'; }
}

._painNumber_vcasn_81 {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-subtle);
  color: var(--text-tertiary);
  font-size: 0.625rem;
  font-weight: 600;
}

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

._painText_vcasn_100 {
  font-size: 0.8125rem;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
  word-wrap: break-word;
  white-space: normal;
}

._painTextarea_vcasn_109 {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.375rem 0.625rem;
  border: 0.0625rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--text-primary);
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

._painTextarea_vcasn_109:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 0.0625rem color-mix(in srgb, var(--blue-600) 10%, transparent);
}

._painTextarea_vcasn_109::placeholder {
  color: var(--text-disabled);
}

._painActions_vcasn_132 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
  margin-right: 3.75rem;
  min-height: 1.25rem;
}

._editButton_vcasn_141,
._deleteButton_vcasn_142,
._reviewButton_vcasn_143,
._saveButton_vcasn_144,
._cancelButton_vcasn_145 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.25s ease-in-out;
  color: var(--text-tertiary);
}

._editButton_vcasn_141:hover {
  background: color-mix(in srgb, var(--blue-600) 10%, transparent);
  color: var(--action-primary-bg);
}

._reviewButton_vcasn_143 {
  color: var(--success-500);
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

._reviewButton_vcasn_143:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-500);
}

/* Reviewed/selected state — always visible, green */
._reviewButtonReviewed_vcasn_176 {
  color: var(--success-500) !important;
  background: rgba(16, 185, 129, 0.1) !important;
  cursor: default;
}

._deleteButton_vcasn_142 {
  color: var(--error-500);
}

._deleteButton_vcasn_142:hover {
  background: var(--error-50);
  color: var(--error-600);
}

._hidden_vcasn_191 {
  opacity: 0;
  pointer-events: none;
}

._saveButton_vcasn_144 {
  background: transparent;
  color: var(--success-500);
}

._saveButton_vcasn_144:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-600);
}

._saveButton_vcasn_144:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

._saveButton_vcasn_144:disabled:hover {
  background: transparent;
  color: var(--success-500);
}

._cancelButton_vcasn_145 {
  background: transparent;
  color: var(--error-500);
}

._cancelButton_vcasn_145:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error-600);
}

._aiBadge_vcasn_226 {
  position: absolute;
  top: 50%;
  right: 0.375rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: rgba(109, 40, 217, 0.1);
  border: 0.0625rem solid rgba(109, 40, 217, 0.3);
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--indigo-700);
  text-transform: uppercase;
}

._aiBadge_vcasn_226 svg path {
  stroke: var(--indigo-700);
}

._addPainContainer_vcasn_248 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-subtle);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.5rem 0.5rem 0.5rem 0.75rem;
  transition: border-color 0.2s ease-in-out;
}

._addPainContainer_vcasn_248:hover {
  border-color: var(--border-focus);
}

._addPainContainer_vcasn_248:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}

._addPainContainer_vcasn_248:has(input:disabled):hover {
  border-color: var(--border-subtle);
}

._addPainInput_vcasn_272 {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.8125rem;
  color: var(--text-disabled);
  outline: none;
  cursor: pointer;
}

._addPainInput_vcasn_272::placeholder {
  color: var(--text-disabled);
}

._addPainButton_vcasn_286 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border: none;
  border-radius: 8px;
  background: var(--action-primary-bg);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

._addPainButton_vcasn_286:hover {
  background: var(--action-primary-bg-hover);
}

._deleteConfirm_vcasn_304 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

._deleteConfirmLabel_vcasn_311 {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

._confirmYesButton_vcasn_317 {
  height: 1.5rem;
  padding: 0 0.5rem;
  background: var(--error-500);
  border: none;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-inverse);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

._confirmYesButton_vcasn_317:hover {
  background: var(--error-600);
}

._confirmNoButton_vcasn_334 {
  height: 1.5rem;
  padding: 0 0.5rem;
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

._confirmNoButton_vcasn_334:hover {
  background: var(--surface-subtle);
}
/* WorkloadInfoTab.module.css */

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

/* Header */
._header_yx659_10 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  --hx: calc(var(--card-pad-x, 1.5rem) + var(--tab-inset-x, 0px));
  --hy: calc(var(--card-pad-top, 1.5rem) + var(--tab-inset-top, 0px));
  position: sticky;
  top: calc(-1 * var(--card-pad-top, 1.5rem));
  z-index: 5;
  margin: calc(-1 * var(--hy)) calc(-1 * var(--hx)) -0.75rem;
  padding: var(--hy) var(--hx) 0.75rem;
  background: var(--surface-card);
}

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

._title_yx659_31 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5rem;
  margin: 0;
}

._subtitle_yx659_39 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._progress_yx659_45 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

._progressText_yx659_51 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.25rem;
}

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

._aiIcon_yx659_63 {
  font-size: 1rem;
}

._spinner_yx659_67 {
  animation: _spin_yx659_67 1s linear infinite;
}

._spinnerIcon_yx659_71 {
  animation: _spin_yx659_67 1s linear infinite;
}

@keyframes _spin_yx659_67 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Fields List */
._fieldsList_yx659_86 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Field Number Circle */
._fieldNumber_yx659_93 {
  position: absolute;
  top: 0.875rem;
  left: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, var(--action-primary-bg), var(--action-primary-bg-hover));
  border-radius: 50%;
  box-shadow: 0rem 0.125rem 0.25rem 0rem rgba(0, 0, 0, 0.15);
  font-size: 0.75rem;
  color: var(--action-primary-text);
  font-weight: 600;
  z-index: 1;
}

/* Field Card */
._fieldCard_yx659_112 {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(164deg, var(--surface-card) 0%, color-mix(in srgb, var(--slate-50) 50%, transparent) 100%);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0rem 0.0625rem 0.1875rem 0rem rgba(0, 0, 0, 0.1), 0rem 0.0625rem 0.125rem -0.0625rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: border-color 0.3s ease-in-out;
}

/* Borda amarela quando está editando */

/* Borda verde quando foi revisada pelo usuário */

/* Borda roxa para campos gerados por IA (que ainda não foram revisados) */

._fieldLabel_yx659_130 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25rem;
  margin: 0;
}

._fieldContent_yx659_138 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
}

._textareaWrapper_yx659_145 {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
}

._textarea_yx659_145 {
  width: 100%;
  min-height: 8.5625rem;
  padding: 0.5rem 4.5rem 0.5rem 0.75rem;
  background: var(--surface-subtle);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  resize: none;
  transition: all 0.2s ease-in-out;
  outline: none;
  box-sizing: border-box;
  flex: 1;
}

._textarea_yx659_145:disabled {
  cursor: not-allowed;
  user-select: none;
}

._textarea_yx659_145[readonly] {
  cursor: default;
}

._textarea_yx659_145:disabled:active,
._textarea_yx659_145:disabled:focus {
  background: var(--surface-subtle) !important;
  outline: none !important;
}

._textarea_yx659_145::placeholder {
  color: var(--text-tertiary);
}

._textarea_yx659_145:focus {
  outline: none;
  box-shadow: none;
}

/* AI Generated Textarea */
._textareaAi_yx659_194 {
  background: var(--surface-subtle);
  border-color: var(--indigo-700);
}

/* Stale Textarea - yellow border instead of purple when tab is stale */
._textareaStale_yx659_200 {
  background: var(--slate-50);
  border-color: var(--color-stale);
}

/* Keep same background when disabled and AI-generated */
._textareaAi_yx659_194:disabled {
  background: var(--surface-subtle) !important;
  outline: none !important;
}

/* When user edits, background stays white */
._textareaAi_yx659_194:focus {
  background: white;
  box-shadow: none;
  outline: none;
}

/* Reviewed textarea - locked appearance */
._textareaReviewed_yx659_219 {
  background: var(--slate-100) !important;
  color: var(--slate-500) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 0.85;
  border-color: var(--success-500) !important;
}

/* AI Badge */
._aiBadge_yx659_229 {
  position: absolute;
  top: 0.875rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: var(--ai-purple-bg);
  border: 0.0625rem solid var(--ai-purple-border);
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--indigo-700);
  text-transform: uppercase;
  letter-spacing: 0.0312rem;
  line-height: 0.9375rem;
}

._aiBadge_yx659_229 svg path {
  stroke: var(--indigo-700);
}

/* Field Actions */
._fieldActions_yx659_253 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

._editButton_yx659_260 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2rem;
  width: 2rem;
  padding: 0;
  background: white;
  border: 0.0417rem solid var(--action-primary-bg);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--action-primary-bg);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

._editButton_yx659_260:hover {
  background: var(--ai-blue-bg);
}

._saveButton_yx659_281 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background: var(--success-500);
  border: 0.09375rem solid var(--success-500);
  border-radius: 8px;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  flex-shrink: 0;
}

._saveButton_yx659_281:hover:not(:disabled) {
  background: var(--success-600);
  border-color: var(--success-600);
}

._saveButton_yx659_281:disabled,
._cancelButton_yx659_303:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

._cancelButton_yx659_303 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background: var(--error-500);
  border: 0.09375rem solid var(--error-500);
  border-radius: 8px;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  flex-shrink: 0;
}

._cancelButton_yx659_303:hover:not(:disabled) {
  background: var(--error-600);
  border-color: var(--error-600);
}

._saveLabel_yx659_334 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* AI Generating Card */
._aiGeneratingCard_yx659_343 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--ai-purple-gradient);
  border: 0.0625rem solid var(--ai-purple-progress);
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

._aiGeneratingHeader_yx659_354 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

._aiGeneratingTitle_yx659_366 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5rem;
  margin: 0;
}

._aiGeneratingSubtitle_yx659_374 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  margin: 0;
}

._aiProgressBar_yx659_381 {
  width: 100%;
  height: 0.5rem;
  background: var(--ai-purple-bg);
  border-radius: 8px;
  overflow: hidden;
}

._aiProgressFill_yx659_389 {
  height: 100%;
  background: linear-gradient(90deg, var(--indigo-400) 0%, var(--indigo-700) 50%, var(--indigo-500) 100%);
  border-radius: 8px;
  transition: width 0.3s ease-in-out;
}

._aiProgressText_yx659_396 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--indigo-700);
  text-align: center;
  line-height: 1.25rem;
}

/* Responsive */
@media (max-width: 48rem) {
  ._fieldLabel_yx659_130 {
    font-size: 0.875rem;
  }

  ._textarea_yx659_145 {
    font-size: 0.75rem;
  }

  ._saveButton_yx659_281,
  ._cancelButton_yx659_303,
  ._editButton_yx659_260 {
    height: 1.75rem;
    padding: 0 0.625rem;
    font-size: 0.75rem;
  }

  ._editButton_yx659_260 {
    width: 1.75rem;
  }
}

/* Question Header - COPIED FROM QUESTIONNAIRE */
._questionHeader_yx659_428 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  min-height: 3.25rem;
  background: var(--surface-subtle);
  border-bottom: 0.0625rem solid var(--border-subtle);
  position: relative;
}

/* First question header should have rounded top corners */
._questionHeader_yx659_428:first-of-type {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

._questionTitle_yx659_445 {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25rem;
  margin: 0;
  padding-left: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

._fieldIcon_yx659_458 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

._fieldIcon_yx659_458 svg {
  width: 1.25rem;
  height: 1.25rem;
}

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

._reviewLabel_yx659_479 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

._editButtonHeader_yx659_487 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: 2rem;
  padding: 0 0.75rem;
  background: white;
  border: 0.09375rem solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
}

._editButtonHeader_yx659_487:hover:not(:disabled) {
  background: var(--destructive-bg-hover);
}

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

._editButtonHeader_yx659_487:focus-visible {
  outline: 2px solid var(--border-subtle);
  outline-offset: 2px;
}

._editButtonHeader_yx659_487 svg path {
  stroke: var(--error-500);
}

._reviewLabel_yx659_479 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

._approveButton_yx659_530 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 2rem;
  padding: 0 0.75rem;
  background: white;
  border: 0.09375rem solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
}

._approveButton_yx659_530:hover:not(:disabled) {
  background: var(--approve-bg-hover);
}

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

._approveButton_yx659_530 svg path {
  stroke: var(--success-500);
}

._validatedBadge_yx659_559 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: 1.5rem;
  padding: 0 0.625rem;
  background: var(--approve-bg-hover);
  border: 0.0625rem solid var(--success-500);
  border-radius: 8px;
  color: var(--success-600);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03rem;
  flex-shrink: 0;
}


/* Skeleton Loading Animation */
._skeleton_yx659_578 {
  display: block;
  background: linear-gradient(90deg, var(--slate-200) 25%, var(--slate-100) 50%, var(--slate-200) 75%);
  background-size: 200% 100%;
  animation: _shimmer_yx659_1 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes _shimmer_yx659_1 {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* AA0000-479: no-business-pain toggle and empty state */
._noPainToggle_yx659_596 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

._noPainSwitch_yx659_606 {
  position: relative;
  width: 2.125rem;
  height: 1.25rem;
  border-radius: 999px;
  border: none;
  background: var(--slate-200);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  padding: 0;
  flex-shrink: 0;
}

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

._noPainSwitchOn_yx659_624 {
  background: var(--indigo-700);
}

._noPainSwitchKnob_yx659_628 {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--surface-card);
  transition: left 0.2s ease-in-out;
}

._noPainSwitchOn_yx659_624 ._noPainSwitchKnob_yx659_628 {
  left: 1rem;
}

._noPainState_yx659_643 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  border: 0.0625rem dashed var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-subtle);
}

._noPainTitle_yx659_655 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

._noPainDescription_yx659_661 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._noPainReasonInput_yx659_666 {
  width: 100%;
  max-width: 24rem;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  padding: 0.5rem 0.75rem;
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 6px;
  background: var(--surface-card);
  color: var(--text-primary);
}

._noPainReasonInput_yx659_666:disabled {
  opacity: 0.6;
}

._noPainFilled_yx659_682 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--success-600);
}

._noPainConfirm_yx659_691 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

._noPainConfirmBody_yx659_697 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

._noPainConfirmActions_yx659_703 {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

._noPainConfirmCancel_yx659_709 {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 0.0625rem solid var(--border-subtle);
  background: var(--surface-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.8125rem;
}

._noPainConfirmSubmit_yx659_719 {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
  background: var(--action-primary-bg);
  color: var(--action-primary-text);
  cursor: pointer;
  font-size: 0.8125rem;
}

._noPainConfirmSubmit_yx659_719:hover {
  background: var(--action-primary-bg-hover);
}
._group_d381k_1 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

._groupHeader_d381k_8 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

._groupTitle_d381k_15 {
  font-family: var(--font-family-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-disabled);
}

._groupCount_d381k_23 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._moveButton_d381k_28 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

._moveButton_d381k_28:hover:not(:disabled) {
  background: var(--slate-100);
  color: var(--text-primary);
}

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

._savingHint_d381k_54 {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._formError_d381k_61 {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--error-600);
}

/* ── Card presentation (pre-assessment "Pessoas do projeto") ─────────────── */
._cardGroup_d381k_70 {
  gap: 0.875rem;
  padding-bottom: 1rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
}

/* Everything below the header gets the card's horizontal padding. */
._cardGroup_d381k_70 > :not(._cardHeader_d381k_79) {
  margin-left: 1rem;
  margin-right: 1rem;
}

._cardHeader_d381k_79 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

._cardIcon_d381k_92 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: var(--surface-subtle);
  color: var(--text-secondary);
}

._cardIconConsultancy_d381k_104 {
  background: var(--blue-50);
  color: var(--text-link);
}

._cardIcon_d381k_92 ._material-symbols-outlined_d381k_109 {
  font-size: 1.25rem;
}

._cardHeading_d381k_113 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
  min-width: 0;
}

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

._cardTitle_d381k_121 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

._cardCount_d381k_133 {
  min-width: 1.25rem;
  padding: 0 0.375rem;
  border-radius: 9999px;
  background: var(--surface-subtle);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-align: center;
  color: var(--text-tertiary);
}

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

._cardAction_d381k_153 {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-link);
  cursor: pointer;
}

._cardAction_d381k_153:hover:not(:disabled) {
  text-decoration: underline;
}

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

._cardDescription_d381k_173 {
  display: flex;
  align-items: center;
  min-height: 1.5rem;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-tertiary);
}

._cardEmpty_d381k_184 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  flex: 1;
  justify-content: center;
}

._cardEmptyTitle_d381k_197 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

._cardEmptyText_d381k_203 {
  max-width: 22rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-tertiary);
}

/* ── Card loading state (skeleton rows) ──────────────────────────────────── */
@keyframes _peopleSkeletonShimmer_d381k_1 {
  0% { background-position: -40rem 0; }
  100% { background-position: 40rem 0; }
}

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

._skeletonRow_d381k_222 {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
}

._skeletonAvatar_d381k_232,
._skeletonBar_d381k_233,
._cardCountLoading_d381k_234 {
  background: linear-gradient(90deg, var(--slate-100) 0%, var(--surface-card) 50%, var(--slate-100) 100%);
  background-size: 40rem 100%;
  animation: _peopleSkeletonShimmer_d381k_1 1.6s infinite linear;
}

._skeletonAvatar_d381k_232 {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
}

._skeletonLines_d381k_247 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

._skeletonBar_d381k_233 {
  display: block;
  height: 0.75rem;
  border-radius: var(--radius-pill);
}

._skeletonBarTitle_d381k_261 {
  width: 45%;
}

._skeletonBarSubtitle_d381k_265 {
  width: 70%;
}

/* The count badge keeps its pill size but shows a shimmer instead of a number. */
._cardCountLoading_d381k_234 {
  display: inline-block;
  width: 1.5rem;
  height: 1.25rem;
}

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

@media (prefers-reduced-motion: reduce) {
  ._skeletonAvatar_d381k_232,
  ._skeletonBar_d381k_233,
  ._cardCountLoading_d381k_234 {
    animation: none;
  }
}

/* ── Card presentation: add / edit person form ───────────────────────────── */
._personForm_d381k_297 {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius);
}

._personFormHeader_d381k_305 {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

._personFormAvatar_d381k_313 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-subtle);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary);
}

._personFormHeading_d381k_327 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

._personFormTitle_d381k_334 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

._personFormBody_d381k_351 {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1rem;
}

._personFormGrid_d381k_358 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem 0.75rem;
}

@media (max-width: 640px) {
  ._personFormGrid_d381k_358 {
    grid-template-columns: minmax(0, 1fr);
  }
}

._personFormField_d381k_370 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

._personFormFieldFull_d381k_377 {
  grid-column: 1 / -1;
}

._personFormLabel_d381k_381 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

._personFormInput_d381k_387 {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.875rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

._personFormSelectWrap_d381k_399 {
  position: relative;
  display: block;
  width: 100%;
}

._personFormSelect_d381k_399 {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

._personFormSelectIcon_d381k_412 {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-tertiary);
  pointer-events: none;
}

._personFormInput_d381k_387::placeholder {
  color: var(--text-disabled);
}

._personFormInput_d381k_387:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--shadow-focus);
}

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

._personFormInputError_d381k_438,
._personFormInputError_d381k_438:focus {
  border-color: var(--border-error);
}

._personFormCheck_d381k_443 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
}

._personFormCheckDisabled_d381k_452 {
  color: var(--text-disabled);
  cursor: not-allowed;
}

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

._personFormHint_d381k_465 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._personFormActions_d381k_470 {
  display: flex;
  gap: 0.625rem;
  margin-left: auto;
}

._personFormCancel_d381k_476,
._personFormSave_d381k_477 {
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

._personFormCancel_d381k_476 {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
}

._personFormCancel_d381k_476:hover:not(:disabled) {
  background: var(--surface-card-hover);
}

._personFormSave_d381k_477 {
  background: var(--action-primary-bg);
  border: 1px solid var(--action-primary-bg);
  color: var(--action-primary-text);
}

._personFormSave_d381k_477:hover:not(:disabled) {
  background: var(--action-primary-bg-hover);
  border-color: var(--action-primary-bg-hover);
}

._personFormSave_d381k_477:disabled {
  background: var(--action-secondary-bg);
  border-color: var(--action-secondary-bg);
  color: var(--text-disabled);
  cursor: not-allowed;
}

._personFormCancel_d381k_476:focus-visible,
._personFormSave_d381k_477:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* ── Card presentation: filled state (person rows, back-cover selection) ─── */
._cardSelectionPill_d381k_522 {
  flex-shrink: 0;
  padding: 0.1875rem 0.625rem;
  border-radius: var(--radius-pill);
  background: var(--surface-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

._cardHintRow_d381k_533 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

._cardHintRow_d381k_533 ._cardAction_d381k_153 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

._cardHintRow_d381k_533 ._cardAction_d381k_153 .material-symbols-outlined {
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
  line-height: 1;
  overflow: hidden;
}

._cardHintRow_d381k_533 ._cardAction_d381k_153 ._material-symbols-outlined_d381k_109 {
  font-size: 1rem;
  line-height: 1;
}

._personList_d381k_562 {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

._personRow_d381k_572 {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  transition: opacity 0.15s ease-in-out;
}

._personRowSaving_d381k_583 {
  opacity: 0.6;
}

._personAvatar_d381k_587 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-subtle);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary);
}

._personAvatarConsultancy_d381k_601 {
  background: var(--blue-50);
  color: var(--text-link);
}

._personInfo_d381k_606 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
  min-width: 0;
}

._personNameRow_d381k_614 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

._personName_d381k_614 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._personPrimaryBadge_d381k_630 {
  flex-shrink: 0;
  padding: 0.0625rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--surface-subtle);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

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

/* Back-cover switch */
._personSwitch_d381k_649 {
  position: relative;
  width: 2.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--border-default);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

._personSwitchOn_d381k_662 {
  background: var(--action-primary-bg);
}

._personSwitchKnob_d381k_666 {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--surface-card);
  box-shadow: var(--shadow-xs);
  transition: left 0.2s ease-in-out;
}

._personSwitchOn_d381k_662 ._personSwitchKnob_d381k_666 {
  left: 1.125rem;
}

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

._personSwitch_d381k_649:focus-visible,
._personMenuButton_d381k_688:focus-visible,
._personMenuItem_d381k_689:focus-visible,
._cardFooterAction_d381k_690:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* Row actions menu */
._personMenuWrapper_d381k_696 {
  position: relative;
  flex-shrink: 0;
}

._personMenuButton_d381k_688 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: var(--radius);
  color: var(--text-tertiary);
  cursor: pointer;
}

._personMenuButton_d381k_688:hover:not(:disabled) {
  background: var(--surface-card-hover);
  color: var(--text-secondary);
}

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

._personMenuButton_d381k_688 ._material-symbols-outlined_d381k_109 {
  font-size: 1.25rem;
}

._personMenuBackdrop_d381k_729 {
  position: fixed;
  inset: 0;
  z-index: 20;
}

._personMenu_d381k_688 {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  z-index: 21;
  display: flex;
  flex-direction: column;
  min-width: 12.5rem;
  padding: 0.25rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

._personMenuItem_d381k_689 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.5rem 0.625rem;
  background: none;
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  text-align: left;
  color: var(--text-primary);
  cursor: pointer;
}

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

._personMenuItem_d381k_689 ._material-symbols-outlined_d381k_109 {
  font-size: 1rem;
  color: var(--text-secondary);
}

._personMenuItemDanger_d381k_774,
._personMenuItemDanger_d381k_774 ._material-symbols-outlined_d381k_109 {
  color: var(--text-error);
}

._personMenuDivider_d381k_779 {
  height: 1px;
  margin: 0.25rem 0;
  background: var(--border-subtle);
}

/* Consultancy footer: selection count + clear all */
._cardFooterRow_d381k_786 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

._cardFooterText_d381k_793 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._cardFooterAction_d381k_690 {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius);
  cursor: pointer;
}

._cardFooterAction_d381k_690:hover:not(:disabled) {
  color: var(--text-primary);
  text-decoration: underline;
}

._cardFooterAction_d381k_690:disabled {
  color: var(--text-disabled);
  cursor: not-allowed;
}
._errorCallout_1027w_1 {
  font-size: 0.875rem;
  color: var(--error-500);
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: var(--error-50);
  border: 0.0625rem solid var(--error-500);
  border-radius: 8px;
}
/* EditProjectModal Styles - Mapinator MVP */

._form_1ti39_3 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

._formGroup_1ti39_9 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._label_1ti39_15 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25rem;
}

._input_1ti39_22 {
  width: 100%;
  height: 2.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  transition: border-color 0.2s ease-in-out;
}

._input_1ti39_22::placeholder {
  color: var(--text-disabled);
}

select._input_1ti39_22 {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2345556C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

._input_1ti39_22:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._input_1ti39_22:hover:not(:focus) {
  border-color: var(--slate-300);
}

._inputError_1ti39_57 {
  border-color: var(--error-500);
}

._inputError_1ti39_57:focus {
  border-color: var(--error-500);
}

._optional_1ti39_65 {
  font-weight: 400;
  color: var(--text-disabled);
}

._checkboxLabel_1ti39_70 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
}

._checkboxLabel_1ti39_70:has(input:disabled) {
  cursor: not-allowed;
}

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

._checkbox_1ti39_70 {
  width: 1rem;
  height: 1rem;
  accent-color: var(--action-primary-bg);
  cursor: pointer;
}

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

._checkboxHint_1ti39_101 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-style: italic;
  padding-left: 1.5rem;
}
._icon_l1e81_1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
}

._iconMove_l1e81_12 {
  background: var(--blue-50);
  color: var(--text-link);
}

._iconDanger_l1e81_17 {
  background: var(--error-50);
  color: var(--text-error);
}

._content_l1e81_22 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

._message_l1e81_28 {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

._actions_l1e81_35 {
  display: flex;
  justify-content: flex-end;
  gap: 0.625rem;
}

._cancelButton_l1e81_41,
._moveButton_l1e81_42,
._removeButton_l1e81_43 {
  height: 2.25rem;
  padding: 0 1.125rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

._cancelButton_l1e81_41 {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
}

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

._moveButton_l1e81_42 {
  background: var(--action-primary-bg);
  border: 1px solid var(--action-primary-bg);
  color: var(--action-primary-text);
}

._moveButton_l1e81_42:hover {
  background: var(--action-primary-bg-hover);
  border-color: var(--action-primary-bg-hover);
}

._removeButton_l1e81_43 {
  background: var(--action-destructive-bg);
  border: 1px solid var(--action-destructive-bg);
  color: var(--action-destructive-text);
}

._removeButton_l1e81_43:hover {
  background: var(--action-destructive-bg-hover);
  border-color: var(--action-destructive-bg-hover);
}

._cancelButton_l1e81_41:focus-visible,
._moveButton_l1e81_42:focus-visible,
._removeButton_l1e81_43:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}
/* StatusTab.module.css */

._statusTab_nzwr9_3 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 4px 16px;
  color: var(--text-primary);
}

/* Compact (pre-assessment): size to content so the following card sits right below. */
._statusTabCompact_nzwr9_12 {
  height: auto;
}

/* Project Info Card */
/* Project Info Card — region/language area */
._entityInfoCard_nzwr9_18 {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  padding: 0.75rem 1rem;
  box-shadow: none;
  flex-shrink: 0;
}

._entityTopRow_nzwr9_28 {
  display: flex;
  align-items: center;
  gap: 2rem;
}

._entityLeft_nzwr9_34 {
  display: flex;
  flex-direction: column;
}

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

._entityName_nzwr9_46 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0;
}

._statusBadge_nzwr9_53 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: var(--success-50);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--success-700);
  font-weight: 500;
}

._statusDot_nzwr9_65 {
  width: 0.375rem;
  height: 0.375rem;
  background: var(--success-500);
  border-radius: 50%;
}

._entityMeta_nzwr9_72 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
}

._metaLabel_nzwr9_79 {
  color: var(--text-tertiary);
}

._metaValue_nzwr9_83 {
  color: var(--text-accent);
  font-weight: 500;
}

._metaItem_nzwr9_88 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

._metaSeparator_nzwr9_94 {
  color: var(--border-default);
}

/* Tasks Overview Card */
._tasksOverviewCard_nzwr9_99 {
  background: linear-gradient(135deg, var(--warning-50) 0%, var(--pastel-peach) 100%);
  border: 0.0417rem solid var(--warning-500);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: var(--shadow-card-hover);
  flex-shrink: 0;
}

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

._overviewTitle_nzwr9_115 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--warning-700);
  margin: 0;
}

._overviewStats_nzwr9_122 {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}

._statsCount_nzwr9_128 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--warning-700);
}

._statsLabel_nzwr9_134 {
  font-size: 0.875rem;
  color: var(--warning-600);
}

._overviewSubtitle_nzwr9_139 {
  font-size: 0.875rem;
  color: var(--warning-600);
  margin: 0 0 0.75rem 0;
}

/* Progress Bar */
._progressBar_nzwr9_146 {
  width: 100%;
  height: 0.5rem;
  background: color-mix(in srgb, var(--surface-card) 50%, transparent);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

._progressFill_nzwr9_155 {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--blue-400) 100%); /* Changed from green to Mapinator blue */
  border-radius: 8px;
  transition: width 0.3s ease-in-out;
}

/* Task Breakdown */
._taskBreakdown_nzwr9_163 {
  display: flex;
  gap: 2rem;
}

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

._breakdownDot_nzwr9_174 {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
}

._breakdownLabel_nzwr9_180 {
  font-size: 0.875rem;
  color: var(--warning-700);
}

._breakdownValue_nzwr9_185 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--warning-700);
}

._bottomSection_nzwr9_191 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1; /* CRITICAL: Takes all remaining space */
  min-height: 0; /* CRITICAL: Allows flex child to shrink */
  overflow: visible; /* CHANGED: Remove scroll from here, let cardContent handle it */
  padding-right: 0.25rem; /* Space for scrollbar */
}

/* Bottom Grid - FILLS AVAILABLE SPACE */
._bottomGrid_nzwr9_202 {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 14px;
  flex: 1;
  min-height: 0;
}

/* Card Styles - FILLS AVAILABLE HEIGHT WITH INTERNAL SCROLL */
._card_nzwr9_211 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* CRITICAL: Prevents card from growing */
  height: 100%; /* Fill all available space in grid */
  min-height: 14rem;
}

/* Tasks card - clean border */
._card_nzwr9_211:first-child {
  border: 0.0625rem solid var(--border-subtle);
}

/* Notes card - clean border */
._card_nzwr9_211:last-child {
  border: 0.0625rem solid var(--border-subtle);
}

._cardHeaderWithProgress_nzwr9_233 {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 0.0417rem solid var(--border-subtle);
  flex-shrink: 0;
  min-height: auto;
  height: auto;
}

/* Tasks card header */
._card_nzwr9_211:first-child ._cardHeaderWithProgress_nzwr9_233 {
  background: transparent;
}

/* Notes card header */
._card_nzwr9_211:last-child ._cardHeaderNoProgress_nzwr9_250 {
  background: transparent;
}

._cardHeaderNoProgress_nzwr9_250 {
  padding: 1rem 1.25rem;
  border-bottom: 0.0417rem solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  min-height: 4rem;
  height: 4rem;
}

._cardTitleRow_nzwr9_265 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-shrink: 0;
}

._cardHeader_nzwr9_233 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

._cardTitle_nzwr9_265 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-900);
  width: 100%;
}

._completionText_nzwr9_291 {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-tertiary);
  margin-top: 0.125rem;
}

._completionBadge_nzwr9_299 {
  padding: 0.25rem 0.75rem;
  background: var(--surface-page);
  border: 0.0417rem solid var(--blue-600);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-accent);
  font-weight: 500;
  margin-left: auto;
}

/* Small Progress Bar in Card Header */
._progressBarSmall_nzwr9_311 {
  width: 100%;
  height: 0.375rem;
  background: var(--border-default);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0.25rem;
}

._progressFillSmall_nzwr9_320 {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--success-500) 0%,
    color-mix(in srgb, var(--success-500) 60%, white) 100%
  );
  border-radius: 8px;
  transition: width 0.3s ease-in-out;
}

/* Tasks List */
._tasksList_nzwr9_332 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  padding-right: 1rem;
  min-height: 0;
}

/* Scrollbar styling for tasksList */
._tasksList_nzwr9_332::-webkit-scrollbar {
  width: 0.25rem;
}

._tasksList_nzwr9_332::-webkit-scrollbar-track {
  background: transparent;
}

._tasksList_nzwr9_332::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: 0.125rem;
}

._tasksList_nzwr9_332::-webkit-scrollbar-thumb:hover {
  background: var(--text-disabled);
}

/* Hide scroll buttons */
._tasksList_nzwr9_332::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

._taskItem_nzwr9_368 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem;
  background: var(--surface-page);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
}

._taskItem_nzwr9_368:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-xs);
}

._taskCheckbox_nzwr9_385 {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

._taskCheckbox_nzwr9_385 input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

._checkmark_nzwr9_398 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-page);
  transition: all 0.2s ease-in-out;
}

._taskCheckbox_nzwr9_385 input[type="checkbox"]:checked ~ ._checkmark_nzwr9_398 {
  background: var(--success-500);
  border-color: var(--success-500);
}

._taskText_nzwr9_415 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  flex: 1;
}

._taskTextCompleted_nzwr9_422 {
  font-size: 0.875rem;
  color: var(--text-disabled);
  line-height: 1.25rem;
  text-decoration: line-through;
  flex: 1;
}

/* Add Button */
._addButton_nzwr9_431 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--action-primary-bg);
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
  flex-shrink: 0;
}

._addButton_nzwr9_431:hover {
  opacity: 0.7;
}

/* Add Note Form */
._addNoteForm_nzwr9_453 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  margin: 1rem 1.25rem 1.25rem 1.25rem;
  background: var(--surface-subtle);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
}

._noteInput_nzwr9_464 {
  width: 100%;
  min-height: 5rem;
  padding: 0.625rem 0.75rem;
  background: var(--surface-page);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  resize: vertical;
  transition: border-color 0.2s ease-in-out;
}

._noteInput_nzwr9_464:focus {
  outline: none;
  border-color: var(--blue-600);
}

/* Note title input (single line) — shared by add and edit forms */
._noteTitleInput_nzwr9_484 {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: var(--surface-page);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color 0.2s ease-in-out;
}

._noteTitleInput_nzwr9_484::placeholder {
  color: var(--text-disabled);
  font-weight: 400;
}

._noteTitleInput_nzwr9_484:focus {
  outline: none;
  border-color: var(--blue-600);
}

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

._saveButton_nzwr9_512 {
  padding: 0.5rem 1rem;
  background: var(--blue-600);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._saveButton_nzwr9_512:hover {
  opacity: 0.9;
}

._cancelButton_nzwr9_527 {
  padding: 0.5rem 1rem;
  background: var(--surface-page);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

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

/* Notes List */
._notesList_nzwr9_543 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  padding-right: 1rem;
  min-height: 0;
}

/* Scrollbar styling for notesList */
._notesList_nzwr9_543::-webkit-scrollbar {
  width: 0.25rem;
}

._notesList_nzwr9_543::-webkit-scrollbar-track {
  background: transparent;
}

._notesList_nzwr9_543::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: 0.125rem;
}

._notesList_nzwr9_543::-webkit-scrollbar-thumb:hover {
  background: var(--text-disabled);
}

/* Hide scroll buttons */
._notesList_nzwr9_543::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

._noteItem_nzwr9_579 {
  padding: 0.875rem 1.125rem;
  background: var(--surface-subtle);
  border: 0.0417rem solid var(--border-subtle);
  border-left: 0.1875rem solid var(--warning-500);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex-shrink: 0;
}

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

/* Note accordion */
._noteAccordionHeader_nzwr9_599 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

._noteAccordionToggle_nzwr9_606 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
}

._noteAccordionChevron_nzwr9_620 {
  font-size: 1.125rem;
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: transform 0.2s ease-in-out;
}

._noteAccordionChevronOpen_nzwr9_627 {
  transform: rotate(90deg);
}

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

._noteAccordionBody_nzwr9_640 {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-left: 1.625rem;
}

._noteText_nzwr9_647 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  margin: 0;
  flex: 1;
}

._noteActions_nzwr9_655 {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

._noteItem_nzwr9_579:hover ._noteActions_nzwr9_655 {
  opacity: 1;
}

._noteActionButton_nzwr9_667 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  color: var(--text-tertiary);
}

._noteActionButton_nzwr9_667:hover {
  background: var(--slate-100);
  color: var(--text-accent);
}

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

._noteDeleteButton_nzwr9_691 {
  color: var(--error-500);
}

._noteDeleteButton_nzwr9_691:hover {
  background: var(--error-50);
  color: var(--error-600);
}

._noteEditInput_nzwr9_700 {
  width: 100%;
  min-height: 5rem;
  padding: 0.625rem 0.75rem;
  background: var(--surface-page);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  resize: vertical;
  transition: border-color 0.2s ease-in-out;
}

._noteEditInput_nzwr9_700:focus {
  outline: none;
  border-color: var(--blue-600);
}

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

._noteSaveButton_nzwr9_725 {
  padding: 0.5rem 1rem;
  background: var(--blue-600);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._noteSaveButton_nzwr9_725:hover {
  opacity: 0.9;
}

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

._noteCancelButton_nzwr9_745 {
  padding: 0.5rem 1rem;
  background: var(--surface-page);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

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

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

._noteMeta_nzwr9_765 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._noteAuthor_nzwr9_773 {
  font-weight: 500;
}

._noteSeparator_nzwr9_777 {
  color: var(--border-default);
}

._noteDate_nzwr9_781 {
  color: var(--text-disabled);
}

/* Empty State */
._emptyState_nzwr9_786 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  flex: 1;
}

._emptyState_nzwr9_786 p {
  font-size: 0.875rem;
  color: var(--text-disabled);
  margin: 0;
}

/* Responsive */
@media (max-width: 48rem) {
  /* Container */
  ._statusTab_nzwr9_3 {
    gap: 0.5rem;
  }

  /* Header adjustments */
  ._entityHeader_nzwr9_39 {
    height: 2.5rem;
    padding: 0 1rem;
  }
  
  ._entityLabel_nzwr9_814 {
    font-size: 0.75rem;
  }
  
  ._entityIcon_nzwr9_818 {
    font-size: 1rem;
  }
  
  /* Project info card */
  ._entityInfoCard_nzwr9_18 {
    padding: 0.75rem;
  }

  ._entityName_nzwr9_46 {
    font-size: 1rem;
  }
  
  ._statusBadge_nzwr9_53 {
    font-size: 0.6875rem;
    padding: 0.1875rem 0.625rem;
  }
  
  ._entityMeta_nzwr9_72 {
    font-size: 0.75rem;
  }
  
  /* Tasks overview card */
  ._tasksOverviewCard_nzwr9_99 {
    padding: 0.75rem;
  }

  ._overviewTitle_nzwr9_115 {
    font-size: 1rem;
  }
  
  ._statsCount_nzwr9_128 {
    font-size: 1.25rem;
  }
  
  ._statsLabel_nzwr9_134 {
    font-size: 0.75rem;
  }
  
  ._overviewSubtitle_nzwr9_139 {
    font-size: 0.75rem;
  }
  
  ._breakdownLabel_nzwr9_180 {
    font-size: 0.75rem;
  }
  
  ._breakdownValue_nzwr9_185 {
    font-size: 1rem;
  }
  
  /* Bottom grid */
  ._bottomGrid_nzwr9_202 {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  ._taskBreakdown_nzwr9_163 {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Cards */
  ._card_nzwr9_211 {
    min-height: 15.625rem;
  }

  ._cardHeader_nzwr9_233 {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  
  /* Card headers - maintain same height on mobile */
  ._cardHeaderWithProgress_nzwr9_233,
  ._cardHeaderNoProgress_nzwr9_250 {
    min-height: 5rem;
    height: 5rem;
    padding: 0.625rem 0.75rem;
  }
  
  /* Card titles */
  ._cardTitle_nzwr9_265 {
    font-size: 0.875rem;
  }
  
  ._completionText_nzwr9_291 {
    font-size: 0.75rem;
  }
  
  ._completionBadge_nzwr9_299 {
    font-size: 0.6875rem;
    padding: 0.1875rem 0.625rem;
  }
  
  /* Add button */
  ._addButton_nzwr9_431 {
    height: 1.75rem;
    padding: 0 0.625rem;
    font-size: 0.75rem;
  }
  
  /* Info cards */
  ._infoCards_nzwr9_920 {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  ._infoCard_nzwr9_920 {
    padding: 0.625rem 0.75rem;
  }
  
  ._infoLabel_nzwr9_929 {
    font-size: 0.6875rem;
  }
  
  ._infoValue_nzwr9_933 {
    font-size: 0.875rem;
  }
  
  ._infoIcon_nzwr9_937 {
    width: 2rem;
    height: 2rem;
  }

  /* Lists */
  ._activitiesList_nzwr9_943,
  ._notesList_nzwr9_543 {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  
  /* Activity items */
  ._activityContent_nzwr9_950 {
    padding: 0.625rem 0.75rem;
  }

  ._activityTitle_nzwr9_954 {
    font-size: 0.75rem;
  }
  
  ._activityStatus_nzwr9_958 {
    font-size: 0.6875rem;
    padding: 0.1875rem 0.5rem;
  }
  
  ._activityMeta_nzwr9_963 {
    font-size: 0.6875rem;
  }
  
  /* Task items */
  ._taskText_nzwr9_415,
  ._taskTextCompleted_nzwr9_422 {
    font-size: 0.75rem;
  }
  
  /* Note items */
  ._noteCard_nzwr9_974 {
    padding: 0.625rem 0.75rem;
  }

  ._noteText_nzwr9_647 {
    font-size: 0.75rem;
  }
  
  ._noteMeta_nzwr9_765 {
    font-size: 0.6875rem;
  }
}

/* Delete Confirmation */
._deleteConfirmation_nzwr9_988 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--error-50);
  border: 0.0417rem solid var(--error-50);
  border-radius: 8px;
}

._confirmationText_nzwr9_998 {
  font-size: 0.875rem;
  color: var(--error-700);
  margin: 0;
  font-weight: 500;
}

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

._confirmYes_nzwr9_1011 {
  padding: 0.5rem 1rem;
  background: var(--error-500);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
  font-weight: 500;
}

._confirmYes_nzwr9_1011:hover {
  opacity: 0.9;
}

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

._confirmNo_nzwr9_1032 {
  padding: 0.5rem 1rem;
  background: var(--surface-page);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

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

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

/* Bottom Info Cards - AT BOTTOM OF TAB (NOT FIXED) */
._infoCards_nzwr9_920 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem; /* Space from content above */
  padding: 0;
  flex-shrink: 0; /* Don't shrink */
}

@media (max-width: 64rem) {
  ._infoCards_nzwr9_920 {
    grid-template-columns: 1fr; /* Stack vertically on smaller screens */
  }
}

@media (max-width: 48rem) {
  ._infoCards_nzwr9_920 {
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
}

._infoCard_nzwr9_920 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface-page);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

._infoIcon_nzwr9_937 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  flex-shrink: 0;
}

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

._infoLabel_nzwr9_929 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._infoValue_nzwr9_933 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-900);
}


/* Activities List (Timeline) */
._activitiesList_nzwr9_943 {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  padding-right: 1rem;
  min-height: 0;
}

/* Scrollbar styling for activitiesList */
._activitiesList_nzwr9_943::-webkit-scrollbar {
  width: 0.25rem;
}

._activitiesList_nzwr9_943::-webkit-scrollbar-track {
  background: transparent;
}

._activitiesList_nzwr9_943::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: 0.125rem;
}

._activitiesList_nzwr9_943::-webkit-scrollbar-thumb:hover {
  background: var(--text-disabled);
}

/* Hide scroll buttons */
._activitiesList_nzwr9_943::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

._activityItem_nzwr9_1151 {
  display: flex;
  gap: 0.75rem;
  position: relative;
  flex-shrink: 0;
}

._activityIndicator_nzwr9_1158 {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-top: 0.5rem;
}

._activityDot_nzwr9_1166 {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 0.125rem solid white;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

._activityLine_nzwr9_1175 {
  width: 0.125rem;
  flex: 1;
  background: var(--slate-200);
  margin: 0.25rem 0;
  min-height: 1.25rem;
}

._activityContent_nzwr9_950 {
  flex: 1;
  padding: 0 0 1.25rem 0;
  border-radius: 0;
  border: none;
  transition: all 0.2s ease-in-out;
  min-height: 0;
}

._activityHeader_nzwr9_1192 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

._activityTitle_nzwr9_954 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
  line-height: 1.4;
}

._activityStatusIcon_nzwr9_1208 {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 8px;
  font-size: 0.6875rem;
  font-weight: 500;
  flex-shrink: 0;
  border: 1px solid currentColor;
  opacity: 0.8;
}

._activityStatusIcon_nzwr9_1208 svg {
  width: 1.5rem;
  height: 1.5rem;
}

._activityMeta_nzwr9_963 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

._activityAssignee_nzwr9_1232,
._activityDate_nzwr9_1233 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

._activitySeparator_nzwr9_1239 {
  color: var(--border-default);
}

/* Stakeholders */
._divider_nzwr9_1244 {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0.75rem 0 0;
}

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

._stakeholderGroupsGrid_nzwr9_1256 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
}

._stakeholderGroupsGridDivided_nzwr9_1262 {
  gap: 0;
}

._stakeholderGroupsGridDivided_nzwr9_1262 > :first-child {
  padding-right: 1.5rem;
  border-right: 1px solid var(--border-subtle);
}

._stakeholderGroupsGridDivided_nzwr9_1262 > :last-child {
  padding-left: 1.5rem;
}

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

  ._stakeholderGroupsGridDivided_nzwr9_1262 > :first-child {
    padding-right: 0;
    padding-bottom: 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  ._stakeholderGroupsGridDivided_nzwr9_1262 > :last-child {
    padding-left: 0;
    padding-top: 1.5rem;
  }
}

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

._collapseBtn_nzwr9_1300 {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-tertiary);
  transition: background 0.15s, color 0.15s;
}

._collapseBtn_nzwr9_1300:hover {
  background: var(--slate-100);
  color: var(--text-secondary);
}

._collapseIcon_nzwr9_1320 {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

._collapseIconCollapsed_nzwr9_1325 {
  transform: rotate(180deg);
}

._stakeholderSectionTitle_nzwr9_1329 {
  font-family: var(--font-family-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-disabled);
}

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

/* Collapsible animation */
._stakeholderCardsCollapsible_nzwr9_1344 {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.3s ease, opacity 0.25s ease;
  opacity: 1;
}

._stakeholderCardsCollapsible_nzwr9_1344 > * {
  overflow: visible;
}

._stakeholderCardsHidden_nzwr9_1355 > * {
  overflow: hidden;
}

._stakeholderCardsHidden_nzwr9_1355 {
  grid-template-rows: 0fr;
  opacity: 0;
}

._stakeholderCards_nzwr9_1337 > * {
  width: calc(33.333% - 0.5rem);
  min-width: calc(33.333% - 0.5rem);
  max-width: calc(33.333% - 0.5rem);
  box-sizing: border-box;
}

/* Inline Add Stakeholder Card */
._inlineAddCard_nzwr9_1372 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

._inlineAddTitle_nzwr9_1383 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

._inlineAddFields_nzwr9_1389 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.625rem;
}

._inlineAddInput_nzwr9_1395 {
  width: 100%;
  height: 2.25rem;
  padding: 0 0.75rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--text-primary);
  transition: border-color 0.2s;
}

._inlineAddInput_nzwr9_1395::placeholder {
  color: var(--text-disabled);
}

._inlineAddInput_nzwr9_1395:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._inlineAddInputError_nzwr9_1416 {
  border-color: var(--error-500);
}

._inlineAddOptions_nzwr9_1420 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

._inlineAddTypeLabel_nzwr9_1432 {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

._inlineAddTypeBtn_nzwr9_1440 {
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

._inlineAddTypeBtn_nzwr9_1440:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._inlineAddTypeBtnActive_nzwr9_1456 {
  background: var(--action-primary-bg);
  border-color: var(--action-primary-bg);
  color: var(--action-primary-text);
}

._inlineAddCheckboxLabel_nzwr9_1462 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
}

._inlineAddCheckbox_nzwr9_1462 {
  width: 0.875rem;
  height: 0.875rem;
  accent-color: var(--action-primary-bg);
  cursor: pointer;
}

._inlineAddCheckboxLabelDisabled_nzwr9_1478 {
  cursor: not-allowed;
  color: var(--text-disabled);
}

._inlineAddCheckboxLabelDisabled_nzwr9_1478 ._inlineAddCheckbox_nzwr9_1462 {
  cursor: not-allowed;
  accent-color: var(--text-disabled);
}

._inlineAddActions_nzwr9_1488 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

._inlineAddCancelBtn_nzwr9_1495 {
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

._inlineAddCancelBtn_nzwr9_1495:hover {
  border-color: var(--border-default);
  background: var(--surface-subtle);
}

._inlineAddSubmitBtn_nzwr9_1511 {
  padding: 0.375rem 0.875rem;
  border: none;
  border-radius: 8px;
  background: var(--action-primary-bg);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s;
}

._inlineAddSubmitBtn_nzwr9_1511:hover { opacity: 0.9; }
._inlineAddSubmitBtn_nzwr9_1511:disabled { opacity: 0.5; cursor: not-allowed; }

/* Stakeholder Chips Row */
._stakeholderChipsRow_nzwr9_1527 {
  display: flex;
  align-items: center;
  gap: 0.75rem 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

._stakeholderChipWrapper_nzwr9_1535 {
  position: relative;
}

._stakeholderChip_nzwr9_1527 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 7px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.15s;
}

._stakeholderChipAvatar_nzwr9_1553 {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--slate-100);
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

._stakeholderChip_nzwr9_1527:hover {
  border-color: var(--border-default);
}

._stakeholderChipActive_nzwr9_1571 {
  border-color: var(--accent-fg);
}

._stakeholderChipAvatar_nzwr9_1553 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-subtle);
  color: var(--text-tertiary);
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

._stakeholderChipName_nzwr9_1589 {
  font-weight: 500;
  font-size: 13px;
}

._stakeholderChipRole_nzwr9_1594 {
  color: var(--text-disabled);
  font-size: 11.5px;
}

._stakeholderChipStar_nzwr9_1599 {
  color: var(--accent-fg);
  font-size: 11px;
  line-height: 1;
}

._stakeholderChipClose_nzwr9_1605 {
  font-size: 11px;
  line-height: 1;
  color: var(--text-disabled);
  cursor: pointer;
  transition: color 0.15s;
}

._stakeholderChipClose_nzwr9_1605:hover {
  color: var(--error-500);
}

/* Stakeholder Popover */
._stakeholderPopoverBackdrop_nzwr9_1618 {
  position: fixed;
  inset: 0;
  z-index: 49;
}

._stakeholderPopover_nzwr9_1618 {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 50;
  min-width: 14rem;
  padding: 1rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._stakeholderPopoverClose_nzwr9_1640 {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.125rem;
  color: var(--text-tertiary);
  display: grid;
  place-items: center;
  border-radius: 8px;
}

._stakeholderPopoverClose_nzwr9_1640:hover {
  background: var(--surface-subtle);
  color: var(--text-primary);
}

._stakeholderPopoverHeader_nzwr9_1661 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

._stakeholderPopoverAvatar_nzwr9_1667 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--indigo-600);
  color: var(--action-primary-text);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

._stakeholderPopoverInfo_nzwr9_1681 {
  display: flex;
  flex-direction: column;
}

._stakeholderPopoverName_nzwr9_1686 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

._stakeholderPopoverRole_nzwr9_1692 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._stakeholderPopoverField_nzwr9_1697 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._stakeholderPopoverLabel_nzwr9_1703 {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

._stakeholderPopoverValue_nzwr9_1711 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-primary);
}

._stakeholderPopoverCopy_nzwr9_1720 {
  background: none;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--action-primary-bg);
  cursor: pointer;
  padding: 0;
  transition: opacity 0.15s;
}

._stakeholderPopoverCopy_nzwr9_1720:hover {
  opacity: 0.7;
}

._stakeholderPopoverEdit_nzwr9_1735 {
  width: 100%;
  padding: 0.5rem 0;
  border: none;
  border-top: 1px solid var(--border-subtle);
  background: transparent;
  font-size: 0.8125rem;
  color: var(--text-primary);
  cursor: pointer;
  text-align: center;
  transition: color 0.15s;
  margin-top: 0.25rem;
}

._stakeholderPopoverEdit_nzwr9_1735:hover {
  color: var(--action-primary-bg);
}

._stakeholderCount_nzwr9_1753 {
  margin-left: auto;
  font-family: var(--font-family-mono);
  font-size: 11.5px;
  color: var(--text-disabled);
}

._stakeholderBadge_nzwr9_1760 {
  padding: 0.125rem 0.375rem;
  background: var(--success-50);
  border: 0.0417rem solid var(--success-500);
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--success-700);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

._addStakeholderBtn_nzwr9_1772 {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-accent);
  cursor: pointer;
  white-space: nowrap;
}

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

/* Stakeholder Info Tooltip */
._stakeholderInfoButton_nzwr9_1792 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-disabled);
  transition: color 0.2s ease-in-out;
  padding: 0;
}

._stakeholderInfoButton_nzwr9_1792:hover {
  color: var(--text-accent);
}

._stakeholderInfoButton_nzwr9_1792 svg {
  width: 0.875rem;
  height: 0.875rem;
}

._stakeholderInfoButton_nzwr9_1792::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: var(--surface-subtle);
  color: var(--text-primary);
  font-size: 0.8125rem;
  line-height: 1.125rem;
  border-radius: 8px;
  max-width: 18rem;
  white-space: normal;
  text-wrap: balance;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 1000;
  box-shadow: var(--ai-blue-shadow);
  border: 0.0625rem solid var(--border-subtle);
}

._stakeholderInfoButton_nzwr9_1792::before {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0.375rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.3125rem 0.375rem 0.3125rem 0;
  border-color: transparent var(--surface-subtle) transparent transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 1000;
}

._stakeholderInfoButton_nzwr9_1792:hover::after,
._stakeholderInfoButton_nzwr9_1792:hover::before {
  opacity: 1;
}

/* Language selector */
._entityRight_nzwr9_1864 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
._regionBlock_nzwr9_1869 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
}
._languageBlock_nzwr9_1879 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
}
._regionBlockLabel_nzwr9_1889 {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
._languageCompact_nzwr9_1896 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
}
._languageSelectCompact_nzwr9_1906 {
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: auto;
}

._languageSelector_nzwr9_1919 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

._languageIcon_nzwr9_1926 {
  font-size: 16px;
  color: var(--ai-blue);
}

._languageLabel_nzwr9_1931 {
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 500;
}

._languageSelect_nzwr9_1906 {
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
}


/* View History Link */
._viewHistoryLink_nzwr9_1947 {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--action-primary-bg);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
._viewHistoryLink_nzwr9_1947:hover {
  text-decoration: underline;
}

/* Stakeholder Detail Modal */
._stakeholderDetailModal_nzwr9_1960 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

._stakeholderDetailHeader_nzwr9_1966 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

._stakeholderDetailAvatar_nzwr9_1972 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--indigo-600);
  color: var(--text-inverse);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

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

._stakeholderDetailName_nzwr9_1992 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
}

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

._stakeholderDetailRole_nzwr9_2004 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

._stakeholderDetailFields_nzwr9_2009 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

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

._stakeholderDetailFieldLabel_nzwr9_2023 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

._stakeholderDetailFieldValue_nzwr9_2031 {
  font-size: 0.875rem;
  color: var(--text-primary);
}

/* ── Compact (pre-assessment) layout overrides ───────────────────────────────
   In compact mode, stack the region/language block BELOW the title (full width,
   left-aligned) instead of crowding it on the right. Scoped to .statusTabCompact
   so the full-assessment layout is unaffected. */
/* Compact (pre-assessment): title row stays horizontal with the region/language
   pills aligned to the right on the same line as the project name. */
._statusTabCompact_nzwr9_12 ._entityTopRow_nzwr9_28 {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

/* Name and meta moved to the page header: keep region and language on the right. */
._statusTabCompact_nzwr9_12 ._compactControls_nzwr9_2050 {
  margin-left: auto;
}

/* Compact (pre-assessment): the top block is flat (no card chrome) — just the
   name/meta and the region/language pills, like the mock. */
._statusTabCompact_nzwr9_12 ._entityInfoCard_nzwr9_18 {
  padding: 0.5rem 0.25rem 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* ── Compact region + language pills ─────────────────────────────────────── */
._compactControls_nzwr9_2050 {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

._regionPill_nzwr9_2073,
._languagePill_nzwr9_2074 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.375rem 0.875rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  box-sizing: border-box;
}

._pillColumn_nzwr9_2086 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._pillLabel_nzwr9_2092 {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  line-height: 1;
}

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

._pillValue_nzwr9_2101 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

._primaryTag_nzwr9_2114 {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--action-primary-bg);
  background: var(--info-50);
  border: 1px solid var(--action-primary-bg);
  border-radius: 9999px;
  padding: 0.0625rem 0.5rem;
  line-height: 1.4;
  white-space: nowrap;
}

._pillChevron_nzwr9_2126 {
  font-size: 1.125rem;
  color: var(--text-tertiary);
  cursor: pointer;
}

._pillSeparator_nzwr9_2132 {
  width: 1px;
  align-self: stretch;
  background: var(--border-default);
  margin: -0.375rem 0;
}

._addRegionBtn_nzwr9_2139 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--action-primary-bg);
  cursor: pointer;
  white-space: nowrap;
}

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

._languageSelectPill_nzwr9_2157 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: auto;
}

/* Compact status: language select shows the short code with a custom chevron */
._languagePillSelectWrap_nzwr9_2170 {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 7rem;
}

._languagePillSelectWrap_nzwr9_2170 ._languageSelectPill_nzwr9_2157 {
  width: 100%;
  padding-right: 1.5rem;
  appearance: none;
  -webkit-appearance: none;
}

._languagePillChevron_nzwr9_2184 {
  position: absolute;
  right: 0;
  pointer-events: none;
}

/* Full status: the region value opens the region modal */
._pillValueButton_nzwr9_2191 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

._pillValueButton_nzwr9_2191:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Compact (pre-assessment): "Pessoas do projeto" section ──────────────── */
._peopleSection_nzwr9_2210 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.75rem;
}

/* Full flow: cancel the info card padding so the section lines up with the timeline/notes cards below. */
._statusTab_nzwr9_3:not(._statusTabCompact_nzwr9_12) ._peopleSection_nzwr9_2210 {
  margin-left: -1rem;
  margin-right: -0.75rem;
  margin-bottom: -0.75rem;
  border-color: var(--border-subtle);
  border-radius: 8px;
}

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

._peopleTitle_nzwr9_2236 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
}

._peopleSubtitle_nzwr9_2243 {
  max-width: 44rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-tertiary);
}

._peopleGrid_nzwr9_2251 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  ._peopleGrid_nzwr9_2251 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Section titles on the full status tab */
._sectionStack_nzwr9_2265 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}

._sectionHeading_nzwr9_2272 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  color: var(--text-primary);
}
._container_28n25_1 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

._cloudIcon_28n25_11 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--slate-400);
  flex-shrink: 0;
}

._cloudIcon_28n25_11 svg {
  width: 18px;
  height: 18px;
}

._chip_28n25_26 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  height: auto;
  border: none;
  border-radius: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

._chip_28n25_26 + ._chip_28n25_26::before {
  content: '·';
  margin-right: 6px;
  color: var(--slate-400);
  font-size: 16px;
}

._chipRemove_28n25_51 {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-400);
  font-size: 14px;
  padding: 0 2px;
  line-height: 1;
}

._chipRemove_28n25_51:hover {
  color: var(--error-500);
}

._addButton_28n25_65 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  height: 33px;
  border: 0.667px dashed var(--cyan-400);
  border-radius: 8px;
  background: transparent;
  color: var(--cyan-600);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  white-space: nowrap;
}

._addButton_28n25_65:hover {
  background: var(--cyan-50);
}

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

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

._editButton_28n25_99 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
  transition: background 0.15s ease;
}

._editButton_28n25_99 svg {
  width: 14px;
  height: 14px;
}

._editButton_28n25_99:hover {
  background: var(--cyan-50);
}

._modalOverlay_28n25_123 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: _fadeIn_28n25_1 0.2s ease;
}

._modal_28n25_123 {
  background: var(--surface-card);
  border-radius: 8px;
  width: 448px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: _slideUp_28n25_1 0.2s ease;
}

@keyframes _fadeIn_28n25_1 {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes _slideUp_28n25_1 {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

._modalHeader_28n25_156 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 0.667px solid var(--border-subtle);
  flex-shrink: 0;
}

._modalIconWrapper_28n25_165 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--cyan-50);
  border-radius: 8px;
  flex-shrink: 0;
}

._modalIconWrapper_28n25_165 svg {
  width: 20px;
  height: 20px;
  color: var(--cyan-500);
}

._modalHeader_28n25_156 h3 {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: var(--slate-800);
}

._modalClose_28n25_191 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-500);
  font-size: 20px;
  border-radius: 8px;
}

._modalClose_28n25_191:hover {
  background: var(--slate-100);
}

._modalClose_28n25_191 svg {
  width: 20px;
  height: 20px;
}

._modalList_28n25_214 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 16px;
  overflow-y: auto;
  flex: 1;
}

._regionItem_28n25_223 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  height: 41px;
  border: 0.667px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--slate-700);
  text-align: left;
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

._regionItem_28n25_223:hover:not(:disabled) {
  border-color: var(--cyan-500);
  background: var(--cyan-50);
}

._regionItem_28n25_223:active:not(:disabled) {
  transform: scale(0.98);
}

._regionItemSelected_28n25_251 {
  background: var(--cyan-50);
  border-color: var(--cyan-500);
  cursor: default;
}

._regionItemSelected_28n25_251:hover {
  background: var(--cyan-50);
  border-color: var(--cyan-500);
}

._primaryBadge_28n25_262 {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: var(--cyan-500);
  margin-left: auto;
  animation: _badgeFadeIn_28n25_1 0.2s ease;
}

._secondaryBadge_28n25_271 {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: var(--slate-400);
  margin-left: auto;
  animation: _badgeFadeIn_28n25_1 0.2s ease;
}

@keyframes _badgeFadeIn_28n25_1 {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: translateX(0); }
}

._modalWarning_28n25_285 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 24px 16px 24px;
  padding: 10px 12px;
  background: var(--warning-50);
  border: 0.667px solid var(--warning-200);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: var(--warning-800);
  flex-shrink: 0;
}

._warningIcon_28n25_301 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

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

._modalFooter_28n25_315 {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 0.667px solid var(--border-subtle);
  flex-shrink: 0;
}

._cancelButton_28n25_323 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  height: 36px;
  background: none;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--slate-600);
  cursor: pointer;
}

._cancelButton_28n25_323:hover {
  background: var(--slate-100);
}

._removeBadge_28n25_343 {
  font-size: 16px;
  color: var(--error-500);
  font-weight: 600;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 2px;
  margin-left: 8px;
  width: 16px;
}

._removeBadge_28n25_343:hover {
  color: var(--error-600);
}

._selectedSection_28n25_360 {
  padding-bottom: 4px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border-subtle);
}

/* ─── Dark Mode ──────────────────────────────────────────────────────────── */
html.dark ._modal_28n25_123 {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.6);
}

html.dark ._modalHeader_28n25_156 {
  border-bottom-color: var(--dark-border-soft);
}

html.dark ._modalHeader_28n25_156 h3 {
  color: var(--dark-text);
}

html.dark ._modalClose_28n25_191 {
  color: var(--dark-text-3);
}

html.dark ._modalClose_28n25_191:hover {
  background: var(--dark-hover);
}

html.dark ._regionItem_28n25_223 {
  background: var(--dark-surface-2);
  border-color: var(--dark-border);
  color: var(--dark-text-2);
}

html.dark ._regionItem_28n25_223:hover {
  background: var(--dark-hover);
  border-color: var(--dark-border-2);
}

html.dark ._modalFooter_28n25_315 {
  border-top-color: var(--dark-border-soft);
}
/* WorkloadCard.module.css */
._workloadCard_1tvwg_2 {
  background: var(--surface-card);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0rem 0.0625rem 0.1875rem 0rem rgba(0, 0, 0, 0.1), 0rem 0.0625rem 0.125rem 0rem rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._workloadCard_1tvwg_2:hover {
  box-shadow: 0rem 0.25rem 0.375rem 0rem rgba(0, 0, 0, 0.1), 0rem 0.125rem 0.25rem 0rem rgba(0, 0, 0, 0.1);
  transform: translateY(-0.125rem);
}

._cardContent_1tvwg_17 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._headerRow_1tvwg_23 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

._header_1tvwg_23 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2rem;
  flex: 1;
}

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

._workloadName_1tvwg_44 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--slate-900);
  line-height: 1.5rem;
  margin: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._description_1tvwg_57 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  margin: 0;
  text-align: justify;
}

._metadata_1tvwg_65 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

._metadataItem_1tvwg_72 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* Priority badges */
._priorityHigh_1tvwg_79 {
  background: var(--error-50);
  border-color: var(--error-500);
  color: var(--error-600);
}

._priorityMedium_1tvwg_85 {
  background: var(--pastel-yellow);
  border-color: var(--warning-500);
  color: var(--warning-700);
}

._priorityLow_1tvwg_91 {
  background: var(--pastel-mint);
  border-color: var(--success-500);
  color: var(--success-600);
}

._separator_1tvwg_97 {
  font-size: 0.75rem;
  color: var(--text-disabled);
  line-height: 1rem;
}

._timestampLabel_1tvwg_103 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1rem;
}

._timestamp_1tvwg_103 {
  font-size: 0.75rem;
  color: var(--text-disabled);
  line-height: 1rem;
}

/* Stale pill */
._stalePill_1tvwg_116 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: 8px;
  background: var(--color-stale-pill-bg);
  border: 1px solid var(--color-stale);
  color: var(--color-stale-dark);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  vertical-align: middle;
}

._stalePillIcon_1tvwg_132 {
  font-size: 0.7rem;
}

/* Read more / Read less */
._descriptionWrapper_1tvwg_137 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

._readMoreBtn_1tvwg_143 {
  background: none;
  border: none;
  padding: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent-fg);
  cursor: pointer;
  text-align: left;
  transition: opacity 0.15s;
}

._readMoreBtn_1tvwg_143:hover {
  opacity: 0.7;
}

/* Priority row — top of card */
._priorityRow_1tvwg_160 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

._priorityLabel_1tvwg_167 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-tertiary);
}

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

._priorityDot_1tvwg_175._priorityHigh_1tvwg_79 {
  background: var(--error-500);
}

._priorityDot_1tvwg_175._priorityMedium_1tvwg_85 {
  background: var(--warning-500);
}

._priorityDot_1tvwg_175._priorityLow_1tvwg_91 {
  background: var(--slate-400);
}
/* AddWorkloadModal Styles - Mapinator MVP */

._form_1l80e_3 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

._formGroup_1l80e_9 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._label_1l80e_15 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25rem;
}

._input_1l80e_22 {
  width: 100%;
  height: 2.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  transition: border-color 0.2s ease-in-out;
}

._input_1l80e_22::placeholder {
  color: var(--text-disabled);
}

._input_1l80e_22:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._input_1l80e_22:hover:not(:focus) {
  border-color: var(--slate-300);
}

._inputError_1l80e_48 {
  border-color: var(--error-500);
}

._inputError_1l80e_48:focus {
  border-color: var(--error-500);
}

._textarea_1l80e_56 {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5rem;
  resize: vertical;
  transition: border-color 0.2s ease-in-out;
}

._textarea_1l80e_56::placeholder {
  color: var(--text-disabled);
}

._textarea_1l80e_56:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._textarea_1l80e_56:hover:not(:focus) {
  border-color: var(--slate-300);
}

._select_1l80e_82 {
  width: 100%;
  height: 2.75rem;
  padding: 0 1rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2390a1b9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: border-color 0.2s ease-in-out;
}

._select_1l80e_82:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._select_1l80e_82:hover:not(:focus) {
  border-color: var(--slate-300);
}

._optional_1l80e_108 {
  font-weight: 400;
  color: var(--text-disabled);
  font-size: 0.75rem;
}
/* EditWorkloadModal Styles - Mapinator MVP */

._form_1vqnr_3 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

._formGroup_1vqnr_9 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._label_1vqnr_15 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25rem;
}

._input_1vqnr_22 {
  width: 100%;
  height: 2.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  transition: border-color 0.2s ease-in-out;
}

._input_1vqnr_22::placeholder {
  color: var(--text-disabled);
}

._input_1vqnr_22:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._input_1vqnr_22:hover:not(:focus) {
  border-color: var(--slate-300);
}

._inputError_1vqnr_48 {
  border-color: var(--error-500);
}

._inputError_1vqnr_48:focus {
  border-color: var(--error-500);
}

._hintText_1vqnr_56 {
  font-size: 0.75rem;
  color: var(--text-disabled);
  line-height: 1rem;
}

._optional_1vqnr_62 {
  font-weight: 400;
  color: var(--text-disabled);
}

._textarea_1vqnr_67 {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.2s ease-in-out;
}

._textarea_1vqnr_67::placeholder {
  color: var(--text-disabled);
}

._textarea_1vqnr_67:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._textarea_1vqnr_67:hover:not(:focus) {
  border-color: var(--slate-300);
}

._select_1vqnr_93 {
  width: 100%;
  height: 2.75rem;
  padding: 0 1rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s ease-in-out;
  appearance: auto;
}

._select_1vqnr_93:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._select_1vqnr_93:hover:not(:focus) {
  border-color: var(--slate-300);
}

._actions_1vqnr_116 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 0.0417rem solid var(--border-subtle);
}

._cancelButton_1vqnr_126 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._cancelButton_1vqnr_126:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-secondary);
}

._submitButton_1vqnr_146 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: linear-gradient(to bottom, var(--action-primary-bg), var(--action-primary-bg-hover));
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  line-height: 1.25rem;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._submitButton_1vqnr_146:hover {
  opacity: 0.9;
}

._submitButton_1vqnr_146:active {
  transform: translateY(0.0625rem);
}
/* GenerateAIWorkloadWarningModal Styles - Mapinator MVP */

/* Custom modal styling for purple title */
._warningModal_rlaq8_4 .modalTitle {
  color: var(--indigo-700) !important;
}

._content_rlaq8_8 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Warning Box */
._warningBox_rlaq8_15 {
  background: var(--warning-50);
  border: 0.0625rem solid var(--warning-500);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._warningItem_rlaq8_25 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._warningIcon_rlaq8_31 {
  flex-shrink: 0;
}

._warningText_rlaq8_35 {
  font-size: 0.875rem;
  color: var(--warning-700);
  line-height: 1.25rem;
}

._warningText_rlaq8_35 strong {
  font-weight: 600;
  color: var(--warning-700);
}

/* Question */
._question_rlaq8_47 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5rem;
  text-align: center;
}

/* Subtitle */
._subtitle_rlaq8_56 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  text-align: center;
}

/* Actions */
._actions_rlaq8_64 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 0.0417rem solid var(--border-subtle);
}

._noButton_rlaq8_74 {
  height: 2.5rem;
  padding: 0 2rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._noButton_rlaq8_74:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-secondary);
}

._yesButton_rlaq8_94 {
  height: 2.5rem;
  padding: 0 2rem;
  background: var(--action-ai-bg);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  line-height: 1.25rem;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._yesButton_rlaq8_94:hover {
  opacity: 0.9;
}

._yesButton_rlaq8_94:active {
  transform: translateY(0.0625rem);
}
/* WorkloadsTab.module.css */
._workloadsTab_sv7kx_2 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

._header_sv7kx_9 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  --hx: calc(var(--card-pad-x, 1.5rem) + var(--tab-inset-x, 0px));
  --hy: calc(var(--card-pad-top, 1.5rem) + var(--tab-inset-top, 0px));
  position: sticky;
  top: calc(-1 * var(--card-pad-top, 1.5rem));
  z-index: 5;
  margin: calc(-1 * var(--hy)) calc(-1 * var(--hx)) -0.75rem;
  padding: var(--hy) var(--hx) 0.75rem;
  background: var(--surface-card);
}

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

._title_sv7kx_30 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5rem;
  margin: 0;
}

._subtitle_sv7kx_38 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

._count_sv7kx_44 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.25rem;
}

._checkIcon_sv7kx_50 {
  flex-shrink: 0;
}

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

._aiButtonWrapper_sv7kx_60 {
  position: relative;
  display: inline-block;
}

._tooltip_sv7kx_65 {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--surface-subtle);
  color: var(--text-primary);
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1.125rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 1000;
  box-shadow: 0rem 0.25rem 0.75rem color-mix(in srgb, var(--blue-600) 20%, transparent);
  border: 0.0625rem solid var(--border-subtle);
}

._tooltip_sv7kx_65::after {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 1rem;
  border: 0.375rem solid transparent;
  border-bottom-color: var(--surface-subtle);
}

._tooltip_sv7kx_65::before {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 1rem;
  border: 0.375rem solid transparent;
  border-bottom-color: var(--border-subtle);
  margin-bottom: 0.0625rem;
}

._aiButtonWrapper_sv7kx_60:hover ._tooltip_sv7kx_65 {
  opacity: 1;
}

._newButton_sv7kx_107 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.25rem;
  padding: 0 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._newButton_sv7kx_107 {
  background: linear-gradient(to bottom, var(--blue-600), var(--blue-700));
}

._newButton_sv7kx_107:hover {
  opacity: 0.9;
}

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

._aiIcon_sv7kx_135 {
  font-size: 1rem;
}

._workloadsList_sv7kx_139 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-content: start;
}

._loadingState_sv7kx_146,
._errorState_sv7kx_147,
._emptyState_sv7kx_148 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: var(--surface-card);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0rem 0.0625rem 0.1875rem 0rem rgba(0, 0, 0, 0.1), 0rem 0.0625rem 0.125rem 0rem rgba(0, 0, 0, 0.1);
  gap: 0.75rem;
}

._emptyState_sv7kx_148 {
  background: linear-gradient(to bottom, var(--surface-subtle), var(--surface-page));
}

._loadingState_sv7kx_146 p,
._errorState_sv7kx_147 p,
._emptyState_sv7kx_148 p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  margin: 0;
  text-align: center;
}

._errorState_sv7kx_147 p {
  color: var(--error-600);
}

/* Delete Confirmation */
._deleteConfirmation_sv7kx_180 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface-card);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0rem 0.0625rem 0.1875rem 0rem rgba(0, 0, 0, 0.1), 0rem 0.0625rem 0.125rem 0rem rgba(0, 0, 0, 0.1);
}

._confirmationText_sv7kx_191 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.25rem;
  margin: 0;
  text-align: center;
}

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

._confirmYes_sv7kx_206,
._confirmNo_sv7kx_207 {
  height: 2.25rem;
  padding: 0 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._confirmYes_sv7kx_206 {
  background: var(--error-600);
  color: var(--action-primary-text);
}

._confirmYes_sv7kx_206:hover:not(:disabled) {
  opacity: 0.9;
}

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

._confirmNo_sv7kx_207 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  color: var(--text-secondary);
}

._confirmNo_sv7kx_207:hover:not(:disabled) {
  background: var(--surface-subtle);
}

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

/* Responsive */
@media (max-width: 48rem) {
  ._header_sv7kx_9 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  ._title_sv7kx_30 {
    font-size: 1rem;
  }

  ._subtitle_sv7kx_38 {
    font-size: 0.75rem;
  }

  ._addButton_sv7kx_263 {
    height: 2rem;
    padding: 0 0.75rem;
    font-size: 0.75rem;
    width: 100%;
  }

  ._workloadsGrid_sv7kx_270 {
    grid-template-columns: 1fr;
  }
}

/* Toolbar — search + filters */
._workloadsToolbar_sv7kx_276 {
  display: flex;
  align-items: center;
  gap: 12px;
}

._workloadsSearch_sv7kx_282 {
  height: 34px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  font-size: 12.5px;
  color: var(--text-secondary);
  outline: none;
  width: 100%;
}

._workloadsSearchWrapper_sv7kx_294 {
  position: relative;
  width: 180px;
}

._workloadsSearch_sv7kx_282:focus {
  border-color: var(--accent-fg);
}

._workloadsSearch_sv7kx_282::placeholder {
  color: var(--text-disabled);
}

._workloadsFilterToggle_sv7kx_307 {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

._workloadsFilterBtn_sv7kx_315 {
  padding: 7px 14px;
  border: none;
  background: transparent;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

._workloadsFilterBtn_sv7kx_315:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
}

._workloadsFilterBtnActive_sv7kx_331 {
  font-weight: 600;
  color: var(--text-primary);
  background: var(--surface-subtle);
}

._workloadsFilterBtn_sv7kx_315:hover:not(._workloadsFilterBtnActive_sv7kx_331) {
  background: var(--surface-subtle);
  color: var(--text-secondary);
}
/* ExecutiveSummaryTab.module.css */

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

/* Header Banner */
._headerBanner_dg3v6_10 {
    --hx: var(--card-pad-x, 1.5rem);
    --hy: var(--card-pad-top, 1.5rem);
    position: sticky;
    top: calc(-1 * var(--card-pad-top, 1.5rem));
    z-index: 5;
    margin: calc(-1 * var(--hy)) calc(-1 * var(--hx)) -0.75rem;
    padding: var(--hy) var(--hx) 0.75rem;
    background: var(--surface-card);
}

._headerContent_dg3v6_21 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

._headerTitle_dg3v6_33 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--border-focus);
    margin: 0;
    line-height: 1.5rem;
}

._headerSubtitle_dg3v6_41 {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.25rem;
}

._headerIcon_dg3v6_48 {
    width: 2.5rem;
    height: 2.5rem;
    background: color-mix(in srgb, var(--blue-600) 10%, transparent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border-focus);
}

._headerIcon_dg3v6_48 svg path {
    stroke: currentColor;
}

/* Loading State */
._loadingState_dg3v6_64 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 12.5rem;
}

/* Empty State */
._emptyState_dg3v6_72 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 1.5rem;
    text-align: center;
    max-width: 37.5rem;
    margin: 0 auto;
}

._emptyIcon_dg3v6_84 {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-disabled);
}

._emptyTitle_dg3v6_93 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

._emptyDescription_dg3v6_100 {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
    max-width: 28rem;
    line-height: 1.5;
}

._generateButton_dg3v6_108 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 2.5rem;
    padding: 0 1.5rem;
    background: linear-gradient(to bottom, var(--blue-600), var(--blue-700));
    border: none;
    border-radius: 8px;
    color: var(--action-primary-text);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
    margin-top: 0.5rem;
}

._generateButton_dg3v6_108:hover {
    opacity: 0.9;
}

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

._aiIcon_dg3v6_135 {
    font-size: 1rem;
}

._errorText_dg3v6_139 {
    font-size: 0.75rem;
    color: var(--error-500);
    margin: 0;
}

._readinessWarning_dg3v6_145 {
    font-size: 0.8125rem;
    color: var(--color-stale);
    margin: 0;
    text-align: center;
    max-width: 480px;
    line-height: 1.4;
}

/* Sections List */
._sectionsList_dg3v6_155 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Section Card (Accordion) */
._sectionCard_dg3v6_162 {
    background: var(--surface-card);
    border: 0.125rem solid var(--border-subtle);
    border-radius: 8px;
    transition: border-color 0.2s ease-in-out;
}

._sectionCardExpanded_dg3v6_169 {
    border-color: var(--blue-600);
}

._sectionButton_dg3v6_173 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease-in-out;
}

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

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

._sectionHeader_dg3v6_196 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

._sectionIconBox_dg3v6_202 {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--blue-600);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--action-primary-text);
    flex-shrink: 0;
}

._sectionInfo_dg3v6_214 {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    text-align: left;
}

._sectionTitle_dg3v6_221 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25rem;
}

._sectionSubtitle_dg3v6_229 {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1rem;
}

._chevron_dg3v6_236 {
    flex-shrink: 0;
    transition: transform 0.2s ease-in-out;
}

._chevronOpen_dg3v6_241 {
    transform: rotate(180deg);
}

/* Section Content */
._sectionContent_dg3v6_246 {
    padding: 0 1.25rem 1.25rem 1.25rem;
    border-top: 1px solid var(--border-subtle);
}

._accordionCollapsible_dg3v6_251 {
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Content Grid */
._contentGrid_dg3v6_257 {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1rem;
}

._contentBlock_dg3v6_264 {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

._contentLabel_dg3v6_270 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-disabled);
    text-transform: uppercase;
    letter-spacing: 0.0375rem;
    margin: 0;
}

._contentText_dg3v6_279 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

._contentTextHighlight_dg3v6_286 {
    font-size: 0.875rem;
    color: var(--text-accent);
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

/* Metrics Row */
._metricsRow_dg3v6_295 {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

._metricCard_dg3v6_301 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1.25rem;
    background: var(--surface-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    min-width: 7.5rem;
    flex: 1;
}

._metricValue_dg3v6_314 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

._metricLabel_dg3v6_320 {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* Risks List */
._risksList_dg3v6_326 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

._riskBadge_dg3v6_338 {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.125rem 0.5rem;
    border-radius: 8px;
    letter-spacing: 0.025rem;
}

._riskAlta_dg3v6_347 {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-500);
}

._riskMedia_dg3v6_352 {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-stale);
}

._riskBaixa_dg3v6_357 {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-500);
}

._riskText_dg3v6_362 {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Strategies List */
._strategiesList_dg3v6_368 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

._strategyItem_dg3v6_374 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

._strategyName_dg3v6_380 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    min-width: 5.5rem;
    font-weight: 500;
}

._strategyBar_dg3v6_387 {
    flex: 1;
    height: 0.5rem;
    background: var(--slate-200);
    border-radius: 8px;
    overflow: hidden;
}

._strategyFill_dg3v6_395 {
    height: 100%;
    background: linear-gradient(to right, var(--blue-600), var(--blue-700));
    border-radius: 8px;
    transition: width 0.3s ease-in-out;
}

._strategyPercent_dg3v6_402 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-accent);
    min-width: 2.5rem;
    text-align: right;
}

/* Bullet & Numbered Lists */
._bulletList_dg3v6_411,
._numberedList_dg3v6_412 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
    padding-left: 1.25rem;
}

._bulletList_dg3v6_411 li,
._numberedList_dg3v6_412 li {
    margin-bottom: 0.25rem;
}

/* Download Container */
._sectionsListStale_dg3v6_426 {
    border: 1.5px solid var(--color-stale);
    border-radius: 8px;
    background: var(--color-stale-bg);
}

._downloadContainer_dg3v6_432 {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

._regenerateButton_dg3v6_439 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 2.5rem;
    padding: 0 1.5rem;
    background: var(--surface-card);
    border: 1.5px solid var(--blue-600);
    border-radius: 8px;
    color: var(--text-accent);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

._regenerateButton_dg3v6_439:hover {
    background: color-mix(in srgb, var(--blue-600) 5%, transparent);
}

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

._downloadButton_dg3v6_465 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 2.5rem;
    padding: 0 1.5rem;
    background: linear-gradient(to bottom, var(--blue-600), var(--blue-700));
    border: none;
    border-radius: 8px;
    color: var(--action-primary-text);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

._downloadButton_dg3v6_465:hover {
    opacity: 0.9;
}

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


/* ===== Opportunity Section (Por Que Estamos Aqui) ===== */

._opportunityColumns_dg3v6_494 {
    display: flex;
    gap: 1rem;
}

/* Green card - A Oportunidade */
._opportunityCard_dg3v6_500 {
    flex: 1;
    background: var(--success-50);
    border-left: 4px solid var(--success-500);
    border-radius: 0 0.625rem 0.625rem 0;
    padding: 0.75rem;
}

._opportunityCardTitle_dg3v6_508 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--success-700);
    margin: 0 0 0.75rem 0;
    line-height: 1.75rem;
}

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

._opportunityLabel_dg3v6_522 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-900);
    margin: 0 0 0.25rem 0;
    line-height: 1.25rem;
}

._opportunityText_dg3v6_530 {
    font-size: 0.75rem;
    color: var(--slate-700);
    line-height: 1.3;
    margin: 0;
    text-align: justify;
}

._opportunityBulletList_dg3v6_538 {
    font-size: 0.75rem;
    color: var(--slate-700);
    line-height: 1.625;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: justify;
}

._opportunityBulletList_dg3v6_538 li::before {
    content: '• ';
}

/* Red card - Custo da Inação */
._inactionCard_dg3v6_553 {
    flex: 1;
    background: var(--error-50);
    border-left: 4px solid var(--error-500);
    border-radius: 0 0.625rem 0.625rem 0;
    padding: 0.75rem;
}

._inactionCardTitle_dg3v6_561 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--error-600);
    margin: 0 0 0.75rem 0;
    line-height: 1.75rem;
}

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

._inactionLabel_dg3v6_575 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-900);
    margin: 0 0 0.25rem 0;
    line-height: 1.25rem;
}


/* ===== Findings Section (O Que Encontramos) ===== */

._findingsMetrics_dg3v6_586 {
    display: flex;
    gap: 0.75rem;
}

._findingsMetricCard_dg3v6_591 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: 8px;
    border: 0.667px solid;
}

._findingsMetricBlue_dg3v6_602 {
    background: var(--blue-50);
    border-color: var(--blue-200);
}

._findingsMetricPurple_dg3v6_607 {
    background: var(--indigo-50);
    border-color: var(--indigo-200);
}

._findingsMetricCyan_dg3v6_612 {
    background: var(--cyan-50);
    border-color: var(--cyan-200);
}

._findingsMetricIndigo_dg3v6_617 {
    background: var(--indigo-50);
    border-color: var(--indigo-200);
}

._findingsMetricHeader_dg3v6_622 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--slate-600);
    font-size: 0.75rem;
    line-height: 1rem;
}

._findingsMetricValue_dg3v6_632 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
    text-align: center;
}

/* Two-column layout */
._findingsColumns_dg3v6_640 {
    display: flex;
    gap: 1rem;
}

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

._findingsSectionTitle_dg3v6_652 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-900);
    margin: 0;
    line-height: 1.5rem;
}

/* Criticidade bars */
._criticidadeList_dg3v6_661 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

._criticidadeItem_dg3v6_667 {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

._criticidadeHeader_dg3v6_673 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

._criticidadeLabel_dg3v6_679 {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--slate-700);
}

._criticidadeValue_dg3v6_685 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-900);
}

._criticidadeBarBg_dg3v6_691 {
    width: 100%;
    height: 1rem;
    background: var(--slate-200);
    border-radius: 8px;
    overflow: hidden;
}

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

/* Risks list */
._findingsRisksList_dg3v6_706 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

._findingsRiskBadge_dg3v6_718 {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--action-primary-text);
    padding: 0.125rem 0.5rem;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

._findingsRiskText_dg3v6_728 {
    font-size: 0.75rem;
    color: var(--slate-700);
    line-height: 1.25;
}


/* ===== Approach Section (Abordagem Recomendada) ===== */

._approachColumns_dg3v6_737 {
    display: flex;
    gap: 1rem;
}

._approachChartColumn_dg3v6_742 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

._pieChartContainer_dg3v6_750 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: visible;
}

._pieLegend_dg3v6_758 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 1.5rem;
    justify-content: center;
}

._pieLegendItem_dg3v6_765 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

._pieLegendDot_dg3v6_771 {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    flex-shrink: 0;
}

._pieLegendText_dg3v6_778 {
    font-size: 0.8125rem;
    color: var(--slate-700);
}

/* Right cards column */
._approachCardsColumn_dg3v6_784 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Blue card */
._approachCardBlue_dg3v6_792 {
    background: var(--blue-50);
    border-left: 4px solid var(--blue-600);
    border-radius: 0 0.625rem 0.625rem 0;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
}

/* Green card */
._approachCardGreen_dg3v6_800 {
    background: var(--success-50);
    border-left: 4px solid var(--success-600);
    border-radius: 0 0.625rem 0.625rem 0;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
}

/* Orange card */
._approachCardOrange_dg3v6_808 {
    background: var(--warning-50);
    border-left: 4px solid var(--warning-600);
    border-radius: 0 0.625rem 0.625rem 0;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
}

._approachCardTitle_dg3v6_815 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-900);
    margin: 0 0 0.5rem 0;
    line-height: 1.25rem;
}

._approachCardText_dg3v6_823 {
    font-size: 0.75rem;
    color: var(--slate-700);
    line-height: 1.625;
    margin: 0;
}

._approachStrategyList_dg3v6_830 {
    font-size: 0.75rem;
    color: var(--slate-700);
    line-height: 1.625;
    margin: 0;
    padding: 0;
    list-style: none;
}

._approachStrategyList_dg3v6_830 li::before {
    content: '• ';
}

._approachStrategyBold_dg3v6_843 {
    font-weight: 700;
}


/* ===== Investment Section (Investimento e TCO) ===== */

/* Modalidade de Contratação Header */
._tcoModalidadeHeader_dg3v6_851 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

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

._tcoModalidadeTitle_dg3v6_864 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin: 0;
    line-height: 1.25rem;
}

._tcoModalidadeDesc_dg3v6_872 {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-text);
    margin: 0;
    line-height: 1.125rem;
}

/* Info Banner */
._tcoInfoBanner_dg3v6_881 {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
    background: var(--blue-100);
    border-radius: 8px;
}

._tcoInfoBannerIcon_dg3v6_890 {
    color: var(--blue-900);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

._tcoInfoBannerText_dg3v6_897 {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--blue-900);
    line-height: 1.125rem;
}

/* Summary Cards */
._tcoSummaryCards_dg3v6_905 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

._tcoSummaryCardNeutral_dg3v6_911 {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    background: var(--gray-table-bg);
    border: 0.667px solid var(--gray-table-border);
    border-radius: 8px;
}

._tcoSummaryCardLabel_dg3v6_920 {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--gray-text);
    line-height: 1rem;
    letter-spacing: 0.034rem;
    text-transform: uppercase;
}

._tcoSummaryCardValue_dg3v6_929 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-dark);
    line-height: 1.75rem;
    font-variant-numeric: tabular-nums;
    margin-top: 0.25rem;
}

._tcoSummaryCardSub_dg3v6_938 {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--gray-text);
    line-height: 1rem;
    margin-top: 0.125rem;
}

._tcoSummaryCardIndigo_dg3v6_946 {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    background: var(--indigo-surface);
    border: 0.667px solid var(--indigo-border);
    border-radius: 8px;
}

._tcoSummaryCardLabelIndigo_dg3v6_955 {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--blue-800);
    line-height: 1rem;
    letter-spacing: 0.034rem;
    text-transform: uppercase;
}

._tcoSummaryCardValueIndigo_dg3v6_964 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--blue-800);
    line-height: 1.75rem;
    font-variant-numeric: tabular-nums;
    margin-top: 0.25rem;
}

._tcoSummaryCardSubIndigo_dg3v6_973 {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--indigo-800);
    line-height: 1rem;
    margin-top: 0.125rem;
}

._tcoSummaryCardGreen_dg3v6_981 {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    background: var(--green-50);
    border: 0.667px solid var(--green-200);
    border-radius: 8px;
}

._tcoSummaryCardGreenHeader_dg3v6_990 {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--green-700);
}

._tcoSummaryCardLabelGreen_dg3v6_997 {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--green-700);
    line-height: 1rem;
    letter-spacing: 0.034rem;
    text-transform: uppercase;
}

._tcoSummaryCardValueGreen_dg3v6_1006 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--green-700);
    line-height: 1.75rem;
    font-variant-numeric: tabular-nums;
    margin-top: 0.25rem;
}

._tcoSummaryCardSubGreen_dg3v6_1015 {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--green-800);
    line-height: 1rem;
    margin-top: 0.125rem;
}

/* TCO Table */
._investmentTitle_dg3v6_1024 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin: 0;
    line-height: 1.25rem;
}

._tcoTableWrapper_dg3v6_1032 {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 0.667px solid var(--gray-table-border);
}

._tcoTable_dg3v6_1032 {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

._tcoHeaderRow_dg3v6_1045 {
    background: var(--gray-dark);
}

._tcoHeaderCell_dg3v6_1049 {
    padding: 0.5rem 0.75rem;
    color: var(--action-primary-text);
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1rem;
    white-space: nowrap;
}

._tcoBodyRow_dg3v6_1058 {
    background: var(--surface-card);
    border-top: 0.667px solid var(--gray-table-border);
}

._tcoBodyRowAlt_dg3v6_1063 {
    background: var(--gray-table-bg);
    border-top: 0.667px solid var(--gray-table-border);
}

._tcoBodyCell_dg3v6_1068 {
    padding: 0.5rem 0.75rem;
    color: var(--gray-dark);
    font-size: 0.75rem;
    line-height: 1rem;
    text-align: left;
}

._tcoBodyCellRight_dg3v6_1076 {
    padding: 0.5rem 0.75rem;
    color: var(--gray-dark);
    font-size: 0.75rem;
    line-height: 1rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

._tcoBodyCellRightGreen_dg3v6_1085 {
    padding: 0.5rem 0.75rem;
    color: var(--green-700);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

._tcoTotalRow_dg3v6_1095 {
    background: var(--gray-dark);
}

._tcoTotalCell_dg3v6_1099 {
    padding: 0.625rem 0.75rem;
    color: var(--action-primary-text);
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1rem;
    text-align: left;
}

._tcoTotalCellRight_dg3v6_1108 {
    padding: 0.625rem 0.75rem;
    color: var(--action-primary-text);
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

._tcoTotalCellRightGreenTotal_dg3v6_1118 {
    padding: 0.625rem 0.75rem;
    color: var(--green-100);
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}


/* ===== Conclusion Section (Conclusão) ===== */

._conclusionGrid_dg3v6_1131 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.5rem;
}

/* Em Resumo — blue left-border card */
._conclusionResumoCard_dg3v6_1139 {
    background: var(--surface-card);
    border-left: 4px solid var(--blue-600);
    border-radius: 0 0.625rem 0.625rem 0;
    padding: 1rem 1rem 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

._conclusionResumoTitle_dg3v6_1149 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-accent);
    margin: 0;
    line-height: 1.25rem;
}

._conclusionResumoList_dg3v6_1157 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

._conclusionResumoItem_dg3v6_1163 {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

._conclusionResumoBullet_dg3v6_1169 {
    font-size: 0.75rem;
    color: var(--text-accent);
    line-height: 1.25rem;
    flex-shrink: 0;
}

._conclusionResumoText_dg3v6_1176 {
    font-size: 0.75rem;
    color: var(--slate-700);
    line-height: 1.25rem;
    margin: 0;
}

/* O Pedido */
._conclusionPedidoSection_dg3v6_1184 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

._conclusionPedidoLabel_dg3v6_1190 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-900);
    margin: 0;
    line-height: 1.25rem;
}

._conclusionPedidoCard_dg3v6_1198 {
    background: var(--surface-card);
    border: 2px solid var(--blue-600);
    border-radius: 8px;
    padding: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

._conclusionPedidoText_dg3v6_1208 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-accent);
    text-align: center;
    margin: 0;
    line-height: 1.25rem;
}

/* Próximos Passos — orange card */
._conclusionPassosCard_dg3v6_1218 {
    background: var(--warning-50);
    border: 2px solid var(--warning-500);
    border-radius: 8px;
    padding: 1.125rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

._conclusionPassosTitle_dg3v6_1228 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--warning-700);
    margin: 0;
    line-height: 1.25rem;
}

._conclusionPassosList_dg3v6_1236 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

._conclusionPassosNumber_dg3v6_1248 {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--warning-600);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--action-primary-text);
    flex-shrink: 0;
    line-height: 0.833rem;
}

._conclusionPassosText_dg3v6_1263 {
    font-size: 0.75rem;
    color: var(--slate-900);
    margin: 0;
    line-height: 1rem;
}

/* Contact footer */
._conclusionContactCard_dg3v6_1271 {
    background: var(--surface-subtle);
    border: 0.667px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

._conclusionContactText_dg3v6_1281 {
    font-size: 0.75rem;
    margin: 0;
    line-height: 1rem;
    text-align: center;
}

._conclusionContactBlue_dg3v6_1288 {
    font-weight: 500;
    color: var(--text-accent);
}

._conclusionContactSep_dg3v6_1293 {
    color: var(--slate-600);
}

._conclusionContactDark_dg3v6_1297 {
    color: var(--slate-900);
}

/* Clean text rendering (markdown cleanup) */
._cleanTextList_dg3v6_1302 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

._cleanTextItem_dg3v6_1311 {
    font-size: 0.8125rem;
    color: var(--slate-700);
    line-height: 1.25rem;
    padding-left: 12px;
    position: relative;
}

._cleanTextItem_dg3v6_1311::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-disabled);
}


/* ===== Regenerate Modal ===== */

._modalOverlay_dg3v6_1329 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: _fadeIn_dg3v6_1 0.15s ease-out;
}

@keyframes _fadeIn_dg3v6_1 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes _slideUp_dg3v6_1 {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

._modalContent_dg3v6_1366 {
    background: var(--surface-card);
    border-radius: 8px;
    padding: 28px;
    width: 100%;
    max-width: 540px;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
    animation: _slideUp_dg3v6_1 0.2s ease-out;
}

._modalHeader_dg3v6_1376 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

._modalHeaderLeft_dg3v6_1383 {
    display: flex;
    align-items: center;
    gap: 12px;
}

._modalIconBadge_dg3v6_1389 {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-600));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

._modalTitle_dg3v6_1400 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

._modalClose_dg3v6_1407 {
    background: none;
    border: none;
    color: var(--text-disabled);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

._modalClose_dg3v6_1407:hover {
    color: var(--text-secondary);
    background: var(--slate-100);
}

._modalDescription_dg3v6_1425 {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

._modalTextarea_dg3v6_1432 {
    width: 100%;
    min-height: 120px;
    padding: 12px 14px;
    border: 1.5px solid var(--slate-200);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    resize: vertical;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background: var(--surface-subtle);
}

._modalTextarea_dg3v6_1432::placeholder {
    color: var(--text-disabled);
}

._modalTextarea_dg3v6_1432:focus {
    outline: none;
    border-color: var(--blue-600);
    background: var(--surface-card);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-600) 10%, transparent);
}

._modalWarning_dg3v6_1458 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 8px;
    margin-top: 14px;
}

._modalWarningIcon_dg3v6_1469 {
    flex-shrink: 0;
    margin-top: 1px;
}

._modalWarning_dg3v6_1458 span:last-child {
    font-size: 0.8125rem;
    color: var(--blue-800);
    line-height: 1.45;
}

._modalActions_dg3v6_1480 {
    display: flex;
    justify-content: flex-end;
    gap: 0.625rem;
    margin-top: 20px;
}

._modalCancelButton_dg3v6_1487 {
    height: 2.375rem;
    padding: 0 1.125rem;
    background: var(--surface-card);
    border: 1.5px solid var(--slate-200);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

._modalCancelButton_dg3v6_1487:hover {
    background: var(--surface-subtle);
    border-color: var(--border-default);
}

._modalConfirmButton_dg3v6_1504 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    height: 2.375rem;
    padding: 0 1.25rem;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-600));
    border: none;
    border-radius: 8px;
    color: var(--action-primary-text);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px color-mix(in srgb, var(--blue-600) 25%, transparent);
}

._modalConfirmButton_dg3v6_1504:hover {
    box-shadow: 0 4px 12px color-mix(in srgb, var(--blue-600) 30%, transparent);
    transform: translateY(-1px);
}

._modalConfirmButton_dg3v6_1504:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


/* ===== Generation Loading State ===== */

._generatingCentered_dg3v6_1537 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;
    max-width: 32rem;
    margin: 0 auto;
}

._generatingTitle_dg3v6_1548 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 2rem;
    margin: 0;
}

._generatingDescription_dg3v6_1556 {
    font-size: 1rem;
    color: var(--text-tertiary);
    line-height: 1.5rem;
    margin: 0;
    max-width: 28rem;
}

._generatingInfoBox_dg3v6_1564 {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 8px;
    max-width: 28rem;
    width: 100%;
}

._generatingInfoIcon_dg3v6_1576 {
    flex-shrink: 0;
    margin-top: 1px;
}

._generatingInfoText_dg3v6_1581 {
    font-size: 0.75rem;
    color: var(--blue-800);
    line-height: 1.25rem;
    margin: 0;
    text-align: left;
}

/* Steps */
._loadingSteps_dg3v6_1590 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

._loadingStep_dg3v6_1590 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.4s ease-in-out;
}

._loadingStepDot_dg3v6_1604 {
    width: 2rem;
    height: 2rem;
    background: var(--indigo-50);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out, background 0.3s ease-in-out;
}

._loadingStepDot_dg3v6_1604::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: var(--indigo-700);
    border-radius: 50%;
    position: absolute;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
}

._loadingStepDotActive_dg3v6_1627 {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--indigo-200);
    box-shadow: 0 0 0 0.25rem rgba(152, 16, 250, 0.15);
    animation: _pulse_dg3v6_1 1.4s ease-in-out infinite;
}

._loadingStepDotActive_dg3v6_1627::after {
    width: 0.625rem;
    height: 0.625rem;
}

@keyframes _pulse_dg3v6_1 {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

._loadingStepLabel_dg3v6_1654 {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1rem;
    transition: font-size 0.3s ease-in-out, color 0.3s ease-in-out, font-weight 0.3s ease-in-out;
}

._loadingStepLabelActive_dg3v6_1661 {
    color: var(--indigo-900);
    font-weight: 700;
    font-size: 1rem;
}

._loadingDots_dg3v6_1667 {
    display: inline-flex;
    gap: 0.2rem;
    margin-left: 0.25rem;
}

._loadingDots_dg3v6_1667 span {
    width: 0.25rem;
    height: 0.25rem;
    background: var(--indigo-700);
    border-radius: 50%;
    animation: _dotBounce_dg3v6_1 1.2s ease-in-out infinite;
}

._loadingDots_dg3v6_1667 span:nth-child(2) {
    animation-delay: 0.2s;
}

._loadingDots_dg3v6_1667 span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes _dotBounce_dg3v6_1 {

    0%,
    80%,
    100% {
        opacity: 0.3;
    }

    40% {
        opacity: 1;
    }
}


/* ===== Section Edit Controls ===== */

._sectionActions_dg3v6_1705 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

._editButton_dg3v6_1712 {
    background: none;
    border: none;
    color: var(--text-accent);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

._editButton_dg3v6_1712:hover {
    background: color-mix(in srgb, var(--blue-600) 8%, transparent);
}

._headerReviewLabel_dg3v6_1729 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

._headerReviewButton_dg3v6_1737 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    background: var(--surface-card);
    border: 0.09375rem solid var(--slate-400);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}

._headerReviewButton_dg3v6_1737 svg path {
    stroke: var(--slate-400);
    transition: stroke 0.2s ease-in-out;
}

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

._headerReviewButtonSave_dg3v6_1762 {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--success-500);
    color: var(--success-500);
}

._headerReviewButtonSave_dg3v6_1762 svg path {
    stroke: var(--success-500);
}

._headerReviewButtonSave_dg3v6_1762:hover:not(:disabled) {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--success-600);
}

._headerReviewButtonSave_dg3v6_1762:hover:not(:disabled) svg path {
    stroke: var(--success-600);
}

._headerReviewButtonRejected_dg3v6_1781 {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error-500);
    color: var(--error-500);
}

._headerReviewButtonRejected_dg3v6_1781 svg path {
    stroke: var(--error-500);
}

._headerReviewButtonRejected_dg3v6_1781:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.18);
    border-color: var(--error-600);
}

._headerReviewButtonRejected_dg3v6_1781:hover:not(:disabled) svg path {
    stroke: var(--error-600);
}

._savingDots_dg3v6_1800 {
    color: var(--action-primary-text);
    font-weight: bold;
}

/* ===== Array Item Editing ===== */

._arrayItemRow_dg3v6_1807 {
    display: flex;
    align-items: flex-start;
    gap: 0.375rem;
}

._arrayItemRow_dg3v6_1807 textarea {
    flex: 1;
}

._removeItemButton_dg3v6_1817 {
    background: none;
    border: none;
    color: var(--text-disabled);
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    border-radius: 8px;
    transition: color 0.15s ease;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

._removeItemButton_dg3v6_1817:hover {
    color: var(--error-500);
}

._addItemButton_dg3v6_1835 {
    background: none;
    border: none;
    color: var(--text-accent);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0;
    transition: opacity 0.15s ease;
}

._addItemButton_dg3v6_1835:hover {
    opacity: 0.7;
}

/* ===== Edit Textareas ===== */

._editTextarea_dg3v6_1852 {
    width: 100%;
    padding: 0.5rem 0.625rem;
    border: 1.5px solid var(--slate-200);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
    resize: none;
    overflow: hidden;
    box-sizing: border-box;
    background: var(--surface-card);
    transition: border-color 0.2s ease;
}

._editTextarea_dg3v6_1852:focus {
    outline: none;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue-600) 10%, transparent);
}

._editTextareaSmall_dg3v6_1873 {
    width: 100%;
    padding: 0.375rem 0.5rem;
    border: 1.5px solid var(--slate-200);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    resize: none;
    overflow: hidden;
    box-sizing: border-box;
    background: var(--surface-card);
    transition: border-color 0.2s ease;
}

._editTextareaSmall_dg3v6_1873:focus {
    outline: none;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue-600) 10%, transparent);
}


/* ===== Character Counter ===== */

._countedTextareaWrapper_dg3v6_1897 {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    width: 100%;
}

._charCounter_dg3v6_1904 {
    font-size: 0.625rem;
    color: var(--text-disabled);
    text-align: right;
    line-height: 1;
}


/* ===== Non-Editable Notice ===== */

._nonEditableNotice_dg3v6_1914 {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--blue-50);
    border: 2px solid var(--blue-200);
    border-radius: 8px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 1px 2px 0px rgba(0, 0, 0, 0.1);
}

._nonEditableNotice_dg3v6_1914 svg {
    flex-shrink: 0;
    margin-top: 0;
}

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

._nonEditableNoticeTitle_dg3v6_1936 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-900);
    line-height: 1.25rem;
}

._nonEditableNoticeDescription_dg3v6_1943 {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--slate-900);
    line-height: 1.22rem;
}


/* ===== MAP Card (new design) ===== */

._mapCard_dg3v6_1953 {
    border: 0.667px solid var(--navy-border);
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.05), 0 1px 2px 0 rgba(15, 23, 42, 0.04);
}

._mapCardHeader_dg3v6_1960 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--navy-800);
    border-radius: 8px 0.75rem 0 0;
}

._mapCardHeaderLeft_dg3v6_1969 {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

._mapCardIcon_dg3v6_1975 {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--action-primary-text);
}

._mapCardHeaderInfo_dg3v6_1986 {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

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

._mapCardHeaderTitle_dg3v6_1992 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--action-primary-text);
    line-height: 1.3125rem;
}

._mapCardHeaderBadge_dg3v6_2005 {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--action-primary-text);
    background: rgba(255, 255, 255, 0.15);
    padding: 0.125rem 0.5rem;
    border-radius: 8px;
    letter-spacing: 0.031rem;
    text-transform: uppercase;
}

._mapCardHeaderSubtitle_dg3v6_2016 {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--action-primary-text);
    opacity: 0.8;
    line-height: 1rem;
}

._mapCardHeaderRight_dg3v6_2024 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

._mapCardArrLabel_dg3v6_2031 {
    font-size: 0.625rem;
    font-weight: 400;
    color: var(--action-primary-text);
    opacity: 0.8;
    letter-spacing: 0.031rem;
    text-transform: uppercase;
    line-height: 0.9375rem;
}

._mapCardArrValue_dg3v6_2041 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--action-primary-text);
    line-height: 1.375rem;
    font-variant-numeric: tabular-nums;
}

._mapCardBody_dg3v6_2049 {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem;
}

/* MAP Metrics Grid */
._mapMetricsGrid_dg3v6_2057 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

._mapMetricCardNavy_dg3v6_2063 {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    background: var(--navy-surface);
    border: 0.667px solid var(--navy-border);
    border-radius: 8px;
}

._mapMetricCardGreen_dg3v6_2072 {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    background: var(--green-accent-surface);
    border: 0.667px solid var(--green-accent-border);
    border-radius: 8px;
}

._mapMetricCardHeader_dg3v6_2081 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--navy-text);
}

._mapMetricCardLabel_dg3v6_2088 {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--navy-text);
    line-height: 1rem;
    letter-spacing: 0.034rem;
    text-transform: uppercase;
}

._mapMetricCardLabelGreen_dg3v6_2097 {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--green-accent);
    line-height: 1rem;
    letter-spacing: 0.034rem;
    text-transform: uppercase;
}

._mapMetricCardValue_dg3v6_2106 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy-text);
    line-height: 1.75rem;
    font-variant-numeric: tabular-nums;
    margin-top: 0.25rem;
}

._mapMetricCardValueGreen_dg3v6_2115 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--green-accent);
    line-height: 1.75rem;
    font-variant-numeric: tabular-nums;
    margin-top: 0.25rem;
}

._mapMetricCardSub_dg3v6_2124 {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--navy-text);
    line-height: 1rem;
    margin-top: 0.125rem;
}

._mapMetricCardSubGreen_dg3v6_2132 {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--green-accent);
    line-height: 1rem;
    margin-top: 0.125rem;
}

/* MAP Breakdown Grid */
._mapBreakdownGrid_dg3v6_2141 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    overflow: visible;
}

._mapBreakdownTableCard_dg3v6_2148 {
    border: 0.667px solid var(--navy-border);
    border-radius: 8px;
    overflow: visible;
}

._mapBreakdownTableHeader_dg3v6_2154 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: var(--navy-surface);
    border-bottom: 0.667px solid var(--navy-border);
}

._mapBreakdownTableHeaderLeft_dg3v6_2163 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--navy-text);
}

._mapBreakdownTableTitle_dg3v6_2170 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy-text);
    line-height: 1.125rem;
}

._mapBreakdownTableSubtitle_dg3v6_2177 {
    font-size: 0.625rem;
    font-weight: 400;
    color: var(--navy-text);
    letter-spacing: 0.031rem;
    line-height: 0.9375rem;
}

._mapBreakdownTable_dg3v6_2148 {
    width: 100%;
    border-collapse: collapse;
}

._mapBreakdownTableRow_dg3v6_2190 {
    border-top: 0.667px solid var(--navy-row-border);
}

._mapBreakdownTableRowAlt_dg3v6_2194 {
    border-top: 0.667px solid var(--navy-row-border);
    background: var(--surface-card);
}

._mapBreakdownTableRowTotal_dg3v6_2199 {
    border-top: 0.667px solid var(--navy-border);
    background: var(--navy-surface);
}

._mapBreakdownTableCellLink_dg3v6_2204 {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--navy-text);
    text-decoration: underline;
    line-height: 1rem;
}

._mapBreakdownTableCellValue_dg3v6_2213 {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--navy-text);
    text-align: right;
    font-variant-numeric: tabular-nums;
    line-height: 1rem;
}

._mapBreakdownTableCellMuted_dg3v6_2223 {
    color: var(--navy-muted);
}

._mapBreakdownTableCellTotal_dg3v6_2227 {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy-text);
    line-height: 1rem;
}

._mapBreakdownTableCellTotalValue_dg3v6_2235 {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy-text);
    text-align: right;
    font-variant-numeric: tabular-nums;
    line-height: 1rem;
}

._mapBreakdownValueWithIcon_dg3v6_2245 {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

._mapBreakdownCashIcon_dg3v6_2251 {
    width: 13px;
    height: 16px;
    flex-shrink: 0;
    position: relative;
    top: -1.4px;
}

._mapBreakdownCashIcon_dg3v6_2251 path {
    fill: var(--navy-text);
}

/* MAP Footer Note */
._mapFooterNote_dg3v6_2264 {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: var(--navy-surface);
    border: 0.667px solid var(--navy-border);
    border-radius: 8px;
}

._mapFooterNoteIcon_dg3v6_2274 {
    color: var(--navy-text);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

._mapFooterNoteText_dg3v6_2280 {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--navy-600);
    line-height: 1.125rem;
    margin: 0;
}

._mapFooterNoteHighlight_dg3v6_2288 {
    font-weight: 700;
    color: var(--green-accent);
}

/* Formula Tooltip — Navy card design */
._formulaTooltipWrapper_dg3v6_2294 {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted var(--navy-border);
}

._formulaTooltip_dg3v6_2294 {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 12px);
    right: -8px;
    background: var(--navy-800);
    border: 0.667px solid var(--navy-800);
    color: var(--navy-surface);
    padding: 1rem;
    border-radius: 8px;
    width: 320px;
    z-index: 50;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    box-shadow: 0 6px 8px rgba(15, 23, 42, 0.18), 0 16px 20px rgba(15, 23, 42, 0.28);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

._formulaTooltip_dg3v6_2294::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 16px;
    border-width: 6px;
    border-style: solid;
    border-color: var(--navy-800) transparent transparent transparent;
}

._formulaTooltipWrapper_dg3v6_2294:hover ._formulaTooltip_dg3v6_2294 {
    visibility: visible;
    opacity: 1;
}

._formulaTooltipTitle_dg3v6_2336 {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--navy-surface);
    letter-spacing: 0.034rem;
    line-height: 1.2;
}

._formulaTooltipFormula_dg3v6_2344 {
    font-family: var(--font-family-mono);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--navy-surface);
    line-height: 1.2;
    white-space: pre-wrap;
    word-break: break-word;
}

._formulaTooltipDetails_dg3v6_2354 {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--navy-surface);
    line-height: 1.2;
}

._formulaTooltipDetailItem_dg3v6_2365 {
    display: block;
    padding-left: 0;
    line-height: 1.2;
}



/* ===== Pricing Model Selector ===== */

._pricingModelSelector_dg3v6_2375 {
    display: flex;
    gap: 0;
    background: var(--gray-selector-bg);
    border: 0.667px solid var(--gray-table-border);
    border-radius: 8px;
    padding: 0.25rem;
    width: fit-content;
    flex-shrink: 0;
}

._pricingModelBtn_dg3v6_2386 {
    padding: 0.375rem 0.75rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

._pricingModelBtn_dg3v6_2386:hover {
    color: var(--text-secondary);
}

._pricingModelBtnActive_dg3v6_2403 {
    background: var(--surface-card);
    color: var(--blue-800);
    font-weight: 500;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05), 0 0 0 rgba(0, 0, 0, 0.2);
}

/* ===== TCO Column Highlight (legacy, kept for compatibility) ===== */

._tcoHighlightedHeader_dg3v6_2412 {
    background: color-mix(in srgb, var(--blue-600) 15%, transparent) !important;
}

._tcoHighlightedCell_dg3v6_2416 {
    background: color-mix(in srgb, var(--blue-600) 8%, transparent);
    font-weight: 700;
}

._tcoHighlightedTotal_dg3v6_2421 {
    background: color-mix(in srgb, var(--blue-600) 20%, transparent) !important;
}

/* Greenfield Toggle — shown to the left of pricing selector */
._tcoModalidadeControls_dg3v6_2426 {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

._greenfieldToggle_dg3v6_2433 {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

._greenfieldToggle_dg3v6_2433 input {
    display: none;
}

._greenfieldSlider_dg3v6_2445 {
    width: 36px;
    height: 20px;
    background: var(--slate-700);
    border-radius: 8px;
    position: relative;
    transition: background 0.2s ease;
}

._greenfieldSlider_dg3v6_2445::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--surface-page);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

._greenfieldToggle_dg3v6_2433 input:checked+._greenfieldSlider_dg3v6_2445 {
    background: var(--blue-600);
}

._greenfieldToggle_dg3v6_2433 input:checked+._greenfieldSlider_dg3v6_2445::after {
    transform: translateX(16px);
}

._greenfieldLabel_dg3v6_2474 {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-disabled);
}

._greenfieldToggle_dg3v6_2433 input:checked~._greenfieldLabel_dg3v6_2474 {
    color: var(--text-accent);
}

/* ===== Mode Toggle (RegenerateModal) ===== */

._modeToggleGroup_dg3v6_2486 {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 8px;
}

._modeToggleBtn_dg3v6_2493 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.875rem 1rem;
    background: var(--surface-subtle);
    border: 1.5px solid var(--slate-200);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
    width: 100%;
}

._modeToggleBtn_dg3v6_2493:hover {
    border-color: var(--blue-300);
    background: var(--blue-50);
}

._modeToggleBtnActive_dg3v6_2513 {
    border-color: var(--blue-600);
    background: color-mix(in srgb, var(--blue-600) 6%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-600) 10%, transparent);
}

._modeToggleTitle_dg3v6_2519 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.25rem;
}

._modeToggleDesc_dg3v6_2526 {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    line-height: 1.25rem;
}

._modeToggleBtnActive_dg3v6_2513 ._modeToggleTitle_dg3v6_2519 {
    color: var(--text-accent-alt);
}


/* Skeleton Loading */
._skeletonContainer_dg3v6_2538 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

._skeleton_dg3v6_2538 {
    display: block;
    background: linear-gradient(90deg, var(--slate-200) 25%, var(--slate-100) 50%, var(--slate-200) 75%);
    background-size: 200% 100%;
    animation: _shimmer_dg3v6_1 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes _shimmer_dg3v6_1 {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ─── Palette banner (links to Settings > Identidade Visual) ─────────────── */
._paletteBanner_dg3v6_2563 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
    background: var(--slate-50);
    border: 1px solid var(--border-default);
    border-radius: 0.625rem;
}

._paletteBannerInfo_dg3v6_2576 {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    min-width: 0;
}

._paletteBannerSwatches_dg3v6_2583 {
    display: inline-flex;
    flex-shrink: 0;
    border-radius: 0.375rem;
    overflow: hidden;
    border: 1px solid var(--border-default);
}

._paletteBannerSwatch_dg3v6_2583 {
    width: 1.5rem;
    height: 2rem;
}

._paletteBannerText_dg3v6_2596 {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

._paletteBannerTitle_dg3v6_2603 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

._paletteBannerSubtitle_dg3v6_2609 {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

._paletteBannerButton_dg3v6_2614 {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    background: var(--surface-card);
    border: 1px solid var(--border-default);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--action-primary-bg);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

._paletteBannerButton_dg3v6_2614:hover {
    border-color: var(--action-primary-bg);
    background: var(--selection-bg);
}
._container_1faxp_1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 0;
}

._subtitle_1faxp_8 {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

._loading_1faxp_14 {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

._error_1faxp_21 {
  text-align: center;
  padding: 1rem;
  color: var(--text-error);
  font-size: 0.875rem;
}

._summaryCard_1faxp_28 {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 1rem;
}

._summaryRow_1faxp_35 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

._summaryLabel_1faxp_41 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

._summaryValue_1faxp_47 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

._breakdownSection_1faxp_53 {
  border: 1px solid var(--border-default);
  border-radius: 8px;
  overflow: hidden;
}

._expandToggle_1faxp_59 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface-card);
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-size: 0.875rem;
}

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

._chevron_1faxp_77 {
  display: inline-flex;
  transition: transform 0.2s;
  color: var(--text-secondary);
}

._chevronExpanded_1faxp_83 {
  transform: rotate(90deg);
}

._expandLabel_1faxp_87 {
  font-weight: 500;
  flex: 1;
}

._workloadCount_1faxp_92 {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

._workloadList_1faxp_97 {
  border-top: 1px solid var(--border-default);
}

._workloadItem_1faxp_101 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem 0.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

._workloadName_1faxp_113 {
  font-size: 0.8125rem;
  color: var(--text-primary);
}

._workloadArr_1faxp_118 {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

._creditSection_1faxp_124 {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._creditLabel_1faxp_134 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._creditDescription_1faxp_140 {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

._creditValue_1faxp_145 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

._balanceRow_1faxp_151 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

._balanceLabel_1faxp_159 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._balanceValue_1faxp_164 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

._freeLabel_1faxp_176 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-success);
}

._freeDescription_1faxp_182 {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

._warningSection_1faxp_187 {
  background: var(--surface-warning);
  border: 1px solid var(--border-warning);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._warningTitle_1faxp_197 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-warning);
}

._warningDescription_1faxp_203 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._buyButton_1faxp_208 {
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--action-primary-bg);
  color: var(--action-primary-text);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

._buyButton_1faxp_208:hover {
  background: var(--action-primary-bg-hover);
}

._footer_1faxp_225 {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

._cancelButton_1faxp_232 {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  cursor: pointer;
}

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

._generateButton_1faxp_246 {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--action-primary-bg);
  color: var(--action-primary-text);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

._generateButton_1faxp_246:hover {
  background: var(--action-primary-bg-hover);
}

._generateButton_1faxp_246:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.slide-edit-mode .slide-chrome {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}


/* ===== Atmosphere ===== */
.slide-edit-mode .slide-chrome-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 120% at 50% 90%, var(--slide-gradient-accent-1) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, var(--slide-gradient-accent-2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, var(--slide-gradient-accent-3) 0%, transparent 50%);
  pointer-events: none;
}


/* ===== Content ===== */
.slide-edit-mode .chrome-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}


/* ===== Page Counter ===== */
.slide-edit-mode .chrome-page-counter {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  z-index: 2;
  font-size: 14px;
  font-weight: 600;
  color: var(--slide-text-secondary);
  opacity: 0.7;
}

.cover-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 3rem 6rem;
  box-sizing: border-box;
  color: var(--slide-text-primary);
  font-family: var(--slide-font-family);
  overflow: hidden;
}

/* ===== Decorative layers (behind all content) ===== */

/* Item 2: faint hexagon mesh for texture. A seamless-tiling inline SVG hex
   tile (stroke = currentColor), pinned to the top-right and masked to fade
   out diagonally so it never competes with the lower-left title block.
   `color` is set from --slide-border so the mesh tracks the tenant palette at
   the original faint strength; the SVG stroke inherits it via currentColor. */
.cover-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: var(--slide-border);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath fill='none' stroke='currentColor' stroke-width='1' d='M28 0 L56 16 L56 48 L28 64 L0 48 L0 16 Z M28 64 L56 80 M28 64 L0 80 M28 64 L28 96'/%3E%3C/svg%3E");
  background-size: 3.75rem 6.43rem;
  background-repeat: repeat;
  opacity: 0.6;
  /* Cover a sweep from the top-right across the upper slide, fading out
     toward the lower-left so the title block stays clear. */
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 100% 0%, #000 0%, #000 28%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 80% at 100% 0%, #000 0%, #000 28%, transparent 72%);
}

/* Item 3: second atmosphere bloom anchored top-left, balancing SlideChrome's
   bottom-center glow across the diagonal. Reuses the theme's accent-3 stop so
   it tracks the tenant palette. */
.cover-glow-topleft {
  position: absolute;
  top: -20%;
  left: -15%;
  width: 60%;
  height: 70%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 55% at 25% 25%, var(--slide-gradient-accent-3) 0%, transparent 65%);
}

/* Keep real content above the decorative layers. */
.cover-header,
.cover-body,
.cover-footer {
  position: relative;
  z-index: 1;
}

/* ===== Header: label + date ===== */
.cover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cover-label {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--slide-highlight);
}

.cover-date {
  font-size: 1rem;
  color: var(--slide-text-secondary);
}

/* ===== Body: logo + accent bar + title + subtitle ===== */
.cover-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

/* Logo slot (real logo or placeholder) */
/* Zero-height slot: the logo grows upward from the title block so resizing it never moves the title. */
.cover-logo {
  position: relative;
  align-self: flex-start;
  height: 0;
  margin-bottom: 0.75rem;
}

/* Width and height come from CoverLogo, capped to the space between header and title. */
.cover-logo-img {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: none;
  object-fit: contain;
}

.cover-logo-placeholder {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  height: var(--cover-title-height);
  padding: 0 1.25rem;
  border: 2px dashed var(--slide-border);
  border-radius: 0.625rem;
  background: var(--slide-card-bg-transparent);
}

.cover-logo-placeholder-text {
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slide-text-secondary);
}

/* Item 4: title + subtitle framed as a deliberate block with a vertical
   accent rule on the left, instead of floating text under a short bar. */
.cover-title-block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 1.75rem;
}

.cover-title-block::before {
  content: '';
  position: absolute;
  top: 0.35rem;
  bottom: 0.35rem;
  left: 0;
  width: 0.25rem;
  border-radius: 9999px;
  background: var(--slide-highlight);
}

.cover-accent-bar {
  width: 4rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--slide-highlight);
}

.cover-title {
  margin: 0;
  /* 3.25rem + 20% */
  font-size: var(--cover-title-size);
  font-weight: 800;
  line-height: var(--cover-title-line-height);
  letter-spacing: -0.02em;
  color: var(--slide-text-primary);
  max-width: 90%;
}

.cover-subtitle {
  margin: 0;
  /* 1.25rem + 40% */
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--slide-text-secondary);
  max-width: 85%;
}

/* ===== Footer: divider + meta row (item 5) ===== */
.cover-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cover-divider {
  width: 100%;
  height: 1px;
  background: var(--slide-border);
}

.cover-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Left side: brand chip (when a brand name exists) or a plain meta line. */
.cover-footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  /* 0.95rem + 30% */
  font-size: 1.235rem;
  letter-spacing: 0.04em;
  color: var(--slide-text-secondary);
}

.cover-footer-dot {
  opacity: 0.6;
}

.cover-footer-date {
  color: var(--slide-text-secondary);
}

/* Right side: three-dot step indicator, first dot active. */
.cover-steps {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cover-step {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--slide-border);
}

.cover-step-active {
  width: 1.5rem;
  background: var(--slide-highlight);
}

.cover-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background: var(--slide-card-bg-transparent);
  border: 1px solid var(--slide-border);
  border-radius: 0.625rem;
}

.cover-brand-logo {
  max-height: 2rem;
  max-width: 8rem;
  object-fit: contain;
}

.cover-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slide-text-primary);
}
.backcover-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 3rem 4rem;
  box-sizing: border-box;
  color: var(--slide-text-primary);
  font-family: var(--slide-font-family);
  overflow: hidden;
}

/* ===== Main: left text + right contacts ===== */
.backcover-main {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.backcover-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Brand */
.backcover-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background: var(--slide-card-bg-transparent);
  border: 1px solid var(--slide-border);
  border-radius: 0.625rem;
  margin-bottom: 0.5rem;
}

.backcover-brand-logo {
  max-height: 2rem;
  max-width: 8rem;
  object-fit: contain;
}

.backcover-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slide-text-primary);
}

.backcover-accent-bar {
  width: 4rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--slide-highlight);
}

.backcover-title {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--slide-text-primary);
}

.backcover-subtitle {
  margin: 0;
  font-size: 1.25rem;
  color: var(--slide-text-secondary);
  max-width: 90%;
}

/* ===== Contacts =====
   Grid that widens and scales down (--bc-scale) as the stakeholder count grows. */
.backcover-contacts {
  --bc-scale: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(1rem * var(--bc-scale));
  width: 42%;
  flex-shrink: 0;
  align-content: center;
  max-height: 100%;
}

.backcover-contacts[data-count="4"],
.backcover-contacts[data-count="5"],
.backcover-contacts[data-count="6"] {
  grid-template-columns: 1fr 1fr;
  width: 58%;
}

.backcover-contacts[data-count="7"],
.backcover-contacts[data-count="8"],
.backcover-contacts[data-count="9"] {
  grid-template-columns: 1fr 1fr 1fr;
  width: 70%;
  --bc-scale: 0.8;
}

.backcover-contact-more {
  justify-content: center;
}

.backcover-contact-card {
  display: flex;
  align-items: center;
  gap: calc(1rem * var(--bc-scale));
  padding: calc(1rem * var(--bc-scale)) calc(1.25rem * var(--bc-scale));
  background: var(--slide-card-bg-transparent);
  border: 1px solid var(--slide-border);
  border-radius: 0.75rem;
  box-shadow: var(--slide-card-shadow);
  min-width: 0;
}

.backcover-contact-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(2.75rem * var(--bc-scale));
  height: calc(2.75rem * var(--bc-scale));
  flex-shrink: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--slide-highlight) 18%, transparent);
  color: var(--slide-highlight);
  font-size: calc(0.9rem * var(--bc-scale));
  font-weight: 700;
}

.backcover-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.backcover-contact-name {
  font-size: calc(1.25rem * var(--bc-scale));
  font-weight: 700;
  color: var(--slide-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backcover-contact-role {
  font-size: calc(1rem * var(--bc-scale));
  color: var(--slide-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backcover-contact-email {
  font-size: calc(1rem * var(--bc-scale));
  color: var(--slide-highlight);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backcover-contact-phone {
  font-size: calc(1rem * var(--bc-scale));
  color: var(--slide-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Footer ===== */
.backcover-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slide-border);
}

.backcover-footer-label,
.backcover-footer-date {
  font-size: 0.95rem;
  color: var(--slide-text-secondary);
}
/* ===== Slide Container ===== */
.slide-edit-mode .slide.why-we-are-here {
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--slide-text-primary);
  font-family: var(--slide-font-family);
  display: flex;
  flex-direction: column;
  padding: 2rem 6rem;
  box-sizing: border-box;
  overflow: hidden;
}

/* ===== Header ===== */
.slide-edit-mode .slide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.slide-edit-mode .slide-header-top {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.slide-edit-mode .slide-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slide-highlight);
}

.slide-edit-mode .client-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--slide-text-primary);
}

/* ===== Title Section ===== */
.slide-edit-mode .slide-title-section {
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.slide-edit-mode .slide-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}

.slide-edit-mode .slide-subtitle {
  font-size: 1.3rem;
  color: var(--slide-text-secondary);
  margin: 0;
}

/* ===== Strategic Objectives Section ===== */
.slide-edit-mode .slide1-objectives-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.slide-edit-mode .slide1-section-divider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
  flex-shrink: 0;
}

.slide-edit-mode .slide1-section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slide-highlight);
  flex-shrink: 0;
}

.slide-edit-mode .slide1-section-label {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
  white-space: nowrap;
}

.slide-edit-mode .slide1-section-rule {
  flex: 1;
  height: 1px;
  background: var(--slide-border);
}

/* ===== 3x2 Grid ===== */
.slide-edit-mode .slide1-objectives-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3rem;
  flex: 1;
  min-height: 0;
}

.slide-edit-mode .slide1-objective-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 3px solid var(--slide-border);
  border-top: 3px solid var(--slide-highlight);
  border-radius: 1rem;
  padding: 1.5rem 2.5rem;
  box-shadow: var(--slide-card-shadow);
  text-align: left;
  min-height: 0;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.slide-edit-mode .slide1-objective-card:hover {
  border-color: var(--slide-highlight);
  transform: translateY(-2px);
  box-shadow: var(--slide-card-hover-shadow);
}

.slide-edit-mode .slide1-objective-number {
  position: absolute;
  top: 2rem;
  left: 2.5rem;
  font-size: 6rem;
  font-weight: 800;
  color: var(--slide-highlight);
  line-height: 1;
  opacity: 0.15;
  pointer-events: none;
}

.slide-edit-mode .slide1-objective-goal {
  font-weight: 700;
  color: var(--slide-text-primary);
  line-height: 1.3;
  display: block;
  width: 100%;
  text-align: left;
}

/* ===== Footer Card ===== */
.slide-edit-mode .slide1-footer-card {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  width: 70%;
  align-self: center;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slide-border);
  border-left: 3px solid var(--slide-highlight);
  border-radius: 0.75rem;
  box-shadow: var(--slide-card-shadow);
}

.slide-edit-mode .slide1-footer-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slide-text-primary);
  line-height: 1.4;
  text-align: center;
}

/* ===== Objective Modal ===== */
.slide-edit-mode .slide1-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 200;
}

.slide-edit-mode .slide1-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 80%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-top: 4px solid var(--slide-highlight);
  border-radius: 1.25rem;
  padding: 2.5rem 3rem;
  z-index: 201;
  text-align: center;
}

.slide-edit-mode .slide1-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.slide-edit-mode .slide1-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.slide-edit-mode .slide1-modal-icon {
  margin-bottom: 1.25rem;
}

.slide-edit-mode .slide1-modal-icon-svg.slide-icon svg {
  width: 3rem;
  height: 3rem;
}

.slide-edit-mode .slide1-modal-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.slide-edit-mode .slide1-modal-text {
  font-size: 2.1rem;
  line-height: 1.5;
  color: var(--slide-text-secondary);
  margin: 0;
}

.slide-edit-mode .slide1-modal-edit-field {
  width: 100%;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 0.325rem;
  padding: 0.5rem;
  font-family: var(--slide-font-family);
  font-size: 0.9rem;
  color: var(--slide-text-primary);
  resize: vertical;
  margin-bottom: 0.5rem;
}

.slide-edit-mode .slide1-modal-edit-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.slide-edit-mode .slide1-modal-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.slide-edit-mode .slide1-modal-cancel {
  padding: 0.4rem 0.8rem;
  background: transparent;
  border: 1px solid var(--slide-border);
  border-radius: 0.325rem;
  color: var(--slide-text-secondary);
  cursor: pointer;
  font-size: 0.8rem;
}

.slide-edit-mode .slide1-modal-save {
  padding: 0.4rem 0.8rem;
  background: var(--slide-highlight);
  border: none;
  border-radius: 0.325rem;
  color: #fff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}

.slide-edit-mode .slide1-modal-save:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== Fullscreen edit mode — scaled-up modal for fullscreen context ===== */
.slide-fullscreen-edit .slide1-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 200;
}

.slide-fullscreen-edit .slide1-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1000px, 85%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-top: 4px solid var(--slide-highlight);
  border-radius: 1.25rem;
  padding: 3rem 3.5rem;
  z-index: 201;
  text-align: center;
}

.slide-fullscreen-edit .slide1-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.slide-fullscreen-edit .slide1-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.slide-fullscreen-edit .slide1-modal-icon {
  margin-bottom: 1.5rem;
}

.slide-fullscreen-edit .slide1-modal-icon-svg.slide-icon svg {
  width: 3.5rem;
  height: 3.5rem;
}

.slide-fullscreen-edit .slide1-modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.slide-fullscreen-edit .slide1-modal-text {
  font-size: 2rem;
  line-height: 1.6;
  color: var(--slide-text-secondary);
  margin: 0;
}

.slide-fullscreen-edit .slide1-modal-edit-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--slide-border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: var(--slide-font-family);
  font-size: 1.25rem;
  color: var(--slide-text-primary);
  resize: vertical;
  margin-bottom: 0.75rem;
  outline: none;
  box-sizing: border-box;
  line-height: 1.5;
}

.slide-fullscreen-edit .slide1-modal-edit-field:focus {
  border-color: var(--slide-highlight);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

.slide-fullscreen-edit .slide1-modal-edit-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.slide-fullscreen-edit .slide1-modal-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.slide-fullscreen-edit .slide1-modal-cancel {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid var(--slide-border);
  border-radius: 6px;
  color: var(--slide-text-secondary);
  cursor: pointer;
  font-size: 1rem;
}

.slide-fullscreen-edit .slide1-modal-save {
  padding: 0.5rem 1.25rem;
  background: var(--slide-highlight);
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

.slide-fullscreen-edit .slide1-modal-save:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== Edit mode styles ===== */
.slide-editing .slide1-objective-card.edit-card {
  border-style: dashed !important;
  cursor: pointer;
}


/* ===== Connector Lines ===== */
.slide-edit-mode .slide1-connector-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
.slide-edit-mode .side-panel-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.slide-edit-mode .side-panel-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.slide-edit-mode .side-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(950px, 90%);
  background: var(--slide-bg-secondary);
  border-left: 1px solid var(--slide-border);
  z-index: 101;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.slide-edit-mode .side-panel.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide-edit-mode .side-panel.side-panel-left {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--slide-border);
  transform: translateX(-60px);
}

.slide-edit-mode .side-panel.side-panel-left.open {
  transform: translateX(0);
}

.slide-edit-mode .side-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--slide-border);
  flex-shrink: 0;
}

.slide-edit-mode .side-panel-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slide-text-primary);
  margin: 0;
}

.slide-edit-mode .side-panel-close {
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: color 0.2s, background 0.2s;
}

.slide-edit-mode .side-panel-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.slide-edit-mode .side-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Cards inside panel reuse item-card styles from WhyWeAreHereSlide-edit.css */
.slide-edit-mode .side-panel-content .item-card {
  flex: unset;
  min-height: 3.5rem;
}

.slide-edit-mode .side-panel-content .item-card-content {
  padding-right: 7rem;
}

/* ===== Fullscreen edit mode — same as presentation SidePanel ===== */
.slide-fullscreen-edit .side-panel-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.slide-fullscreen-edit .side-panel-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.slide-fullscreen-edit .side-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(1250px, 50%);
  background: var(--slide-bg-secondary);
  border-left: 1px solid var(--slide-border);
  z-index: 101;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.slide-fullscreen-edit .side-panel.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide-fullscreen-edit .side-panel.side-panel-left {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--slide-border);
  transform: translateX(-60px);
}

.slide-fullscreen-edit .side-panel.side-panel-left.open {
  transform: translateX(0);
}

.slide-fullscreen-edit .side-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--slide-border);
  flex-shrink: 0;
}

.slide-fullscreen-edit .side-panel-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slide-text-primary);
  margin: 0;
}

.slide-fullscreen-edit .side-panel-close {
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: color 0.2s, background 0.2s;
}

.slide-fullscreen-edit .side-panel-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.slide-fullscreen-edit .side-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Cards inside panel reuse item-card styles from WhyWeAreHereSlide-edit.css */
.slide-fullscreen-edit .side-panel-content .item-card {
  flex: unset;
  min-height: 7rem;
}

.slide-fullscreen-edit .side-panel-content .item-card-content {
  padding-right: 8rem;
}

/* ===== Edit mode cards (dotted border + drag reorder) ===== */
.slide-editing .side-panel-content.edit-list {
  outline: 1px dashed var(--slide-border);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  gap: 0.75rem;
}

.slide-editing .side-panel-content .edit-card {
  border-style: dashed !important;
  cursor: grab;
  position: relative;
}

.slide-editing .side-panel-content .edit-card:active { cursor: grabbing; }

.slide-editing .side-panel-content .edit-drag-handle {
  color: var(--slide-text-secondary);
  font-size: 0.9rem;
  cursor: grab;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.15s;
  align-self: center;
  padding: 0 2px;
}

.slide-editing .side-panel-content .edit-card:hover .edit-drag-handle { opacity: 1; }
.slide-edit-mode .detail-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 200;
}


.slide-edit-mode .detail-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}


.slide-edit-mode .detail-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(1000px, 85%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1.25rem;
  padding: 3rem 3.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 201;
  text-align: center;
}


.slide-edit-mode .detail-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}


.slide-edit-mode .detail-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}


.slide-edit-mode .detail-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}


.slide-edit-mode .detail-modal-icon-area {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}


.slide-edit-mode .detail-modal-icon-area .slide-icon svg {
  width: 3.5rem;
  height: 3.5rem;
}


.slide-edit-mode .detail-modal-icon-area .opportunity-icon {
  color: var(--slide-highlight);
}


.slide-edit-mode .detail-modal-icon-area .risk-icon {
  color: var(--slide-danger);
}


.slide-edit-mode .detail-modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0 0 1.25rem;
  line-height: 1.2;
}


.slide-edit-mode .detail-modal-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}


.slide-edit-mode .detail-badge {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 0.4rem;
}


.slide-edit-mode .detail-badge.impact-high {
  background: color-mix(in srgb, var(--slide-high) 15%, transparent);
  color: var(--slide-high-text);
}

.slide-edit-mode .detail-badge.impact-medium {
  background: color-mix(in srgb, var(--slide-warning) 15%, transparent);
  color: var(--slide-warning);
}

.slide-edit-mode .detail-badge.impact-low {
  background: color-mix(in srgb, var(--slide-success) 15%, transparent);
  color: var(--slide-success);
}


.slide-edit-mode .detail-badge.severity-critical {
  background: color-mix(in srgb, var(--slide-danger) 15%, transparent);
  color: var(--slide-danger);
}

.slide-edit-mode .detail-badge.severity-high {
  background: color-mix(in srgb, var(--slide-high) 15%, transparent);
  color: var(--slide-high-text);
}

.slide-edit-mode .detail-badge.severity-medium {
  background: color-mix(in srgb, var(--slide-warning) 15%, transparent);
  color: var(--slide-warning);
}

.slide-edit-mode .detail-badge.severity-low {
  background: color-mix(in srgb, var(--slide-info) 15%, transparent);
  color: var(--slide-info);
}



.slide-edit-mode .detail-badge.savings {
  background: color-mix(in srgb, var(--slide-success) 10%, transparent);
  color: var(--slide-success);
}


.slide-edit-mode .detail-badge.cost {
  background: color-mix(in srgb, var(--slide-danger) 15%, transparent);
  color: var(--slide-danger);
}


.slide-edit-mode .detail-badge.timeline {
  background: var(--slide-border);
  color: var(--slide-text-secondary);
}


.slide-edit-mode .detail-modal-description {
  font-size: 2rem;
  line-height: 1.6;
  color: var(--slide-text-secondary);
  margin: 0;
}


.detail-modal-edit-title,
.detail-modal-edit-description {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--slide-border);
  border-radius: 6px;
  color: var(--slide-text-primary);
  line-height: 1.5;
  padding: 0.5rem 0.75rem;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}

.detail-modal-edit-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.detail-modal-edit-title:focus,
.detail-modal-edit-description:focus {
  border-color: var(--slide-highlight);
  box-shadow: 0 0 0 2px rgba(249,115,22,0.2);
}

.detail-modal-edit-description {
  font-size: 0.85rem;
}

.detail-modal-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.detail-modal-cancel {
  background: transparent;
  border: 1px solid var(--slide-border);
  color: var(--slide-text-secondary);
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  cursor: pointer;
}

.detail-modal-save {
  background: var(--slide-highlight);
  border: none;
  color: #fff;
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.detail-modal-save:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== Fullscreen edit mode — use same sizes as presentation modal ===== */
.slide-fullscreen-edit .detail-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 200;
}

.slide-fullscreen-edit .detail-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.slide-fullscreen-edit .detail-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(1000px, 85%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1.25rem;
  padding: 3rem 3.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 201;
  text-align: center;
}

.slide-fullscreen-edit .detail-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.slide-fullscreen-edit .detail-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.slide-fullscreen-edit .detail-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.slide-fullscreen-edit .detail-modal-icon-area {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.slide-fullscreen-edit .detail-modal-icon-area .slide-icon svg {
  width: 3.5rem;
  height: 3.5rem;
}

.slide-fullscreen-edit .detail-modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.slide-fullscreen-edit .detail-modal-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.slide-fullscreen-edit .detail-badge {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 0.4rem;
}

.slide-fullscreen-edit .detail-badge-select {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 0.4rem;
  border: 1px solid var(--slide-border);
  background: var(--slide-bg-secondary);
  color: var(--slide-text-primary);
  cursor: pointer;
  outline: none;
  appearance: auto;
}

.slide-fullscreen-edit .detail-badge-select option {
  background: var(--slide-bg-secondary);
  color: var(--slide-text-primary);
}

.slide-fullscreen-edit .detail-badge-select.impact-high { background: color-mix(in srgb, var(--slide-high) 15%, transparent); color: var(--slide-high-text); }
.slide-fullscreen-edit .detail-badge-select.impact-medium { background: color-mix(in srgb, var(--slide-warning) 15%, transparent); color: var(--slide-warning); }
.slide-fullscreen-edit .detail-badge-select.impact-low { background: color-mix(in srgb, var(--slide-success) 15%, transparent); color: var(--slide-success); }
.slide-fullscreen-edit .detail-badge-select.severity-critical { background: color-mix(in srgb, var(--slide-danger) 15%, transparent); color: var(--slide-danger); }
.slide-fullscreen-edit .detail-badge-select.severity-high { background: color-mix(in srgb, var(--slide-high) 15%, transparent); color: var(--slide-high-text); }
.slide-fullscreen-edit .detail-badge-select.severity-medium { background: color-mix(in srgb, var(--slide-warning) 15%, transparent); color: var(--slide-warning); }
.slide-fullscreen-edit .detail-badge-select.severity-low { background: color-mix(in srgb, var(--slide-info) 15%, transparent); color: var(--slide-info); }

.slide-fullscreen-edit .detail-modal-description {
  font-size: 2rem;
  line-height: 1.6;
  color: var(--slide-text-secondary);
  margin: 0;
}

.slide-fullscreen-edit .detail-modal-edit-title,
.slide-fullscreen-edit .detail-modal-edit-description {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--slide-border);
  border-radius: 6px;
  color: var(--slide-text-primary);
  line-height: 1.5;
  padding: 0.75rem 1rem;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}

.slide-fullscreen-edit .detail-modal-edit-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.slide-fullscreen-edit .detail-modal-edit-description {
  font-size: 1.25rem;
}

.slide-fullscreen-edit .detail-modal-edit-title:focus,
.slide-fullscreen-edit .detail-modal-edit-description:focus {
  border-color: var(--slide-highlight);
  box-shadow: 0 0 0 2px rgba(249,115,22,0.2);
}

.slide-fullscreen-edit .detail-modal-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.slide-fullscreen-edit .detail-modal-cancel {
  background: transparent;
  border: 1px solid var(--slide-border);
  color: var(--slide-text-secondary);
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  cursor: pointer;
}

.slide-fullscreen-edit .detail-modal-save {
  background: var(--slide-highlight);
  border: none;
  color: #fff;
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
/* ===== Environment Slide ===== */
.slide-edit-mode .environment-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--slide-font-family);
  color: var(--slide-text-primary);
  padding: 2rem 3rem;
  box-sizing: border-box;
  overflow: hidden;
}


/* ===== Header ===== */
.slide-edit-mode .env-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  height: 6rem;
  flex-shrink: 0;
}


.slide-edit-mode .env-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}


.slide-edit-mode .env-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slide-highlight);
}


.slide-edit-mode .env-client-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--slide-text-primary);
}


/* ===== Title ===== */
.slide-edit-mode .env-title-section {
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}


.slide-edit-mode .env-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}


.slide-edit-mode .env-subtitle {
  font-size: 1.3rem;
  color: var(--slide-text-secondary);
  margin: 0;
}


/* ===== Metrics Row ===== */
.slide-edit-mode .env-metrics-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}


.slide-edit-mode .env-metric-card {
  flex: 1;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slide-border);
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  box-shadow: var(--slide-card-shadow);
}


.slide-edit-mode .env-metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--slide-highlight);
  line-height: 1;
}


.slide-edit-mode .env-metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slide-text-secondary);
}


/* ===== Section Divider ===== */
.slide-edit-mode .env-section-divider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}


.slide-edit-mode .env-section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slide-highlight);
  flex-shrink: 0;
}


.slide-edit-mode .env-section-dot-success {
  background: var(--slide-success);
}


.slide-edit-mode .env-section-label {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
  white-space: nowrap;
}


.slide-edit-mode .env-section-rule {
  flex: 1;
  height: 1px;
  background: var(--slide-border);
}


/* ===== Opportunities & Risks Two-Column Layout ===== */
.slide-edit-mode .env-middle {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 1.25rem;
}

.slide-edit-mode .env-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  flex: 1;
  min-height: 0;
}

.slide-edit-mode .env-column {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.slide-edit-mode .env-column-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.slide-edit-mode .env-column-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
}

.slide-edit-mode .env-column-icon {
  font-size: 1rem;
  color: var(--slide-success);
}

.slide-edit-mode .env-column-icon.danger {
  color: var(--slide-danger);
}

.slide-edit-mode .env-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.390rem;
  flex: 1;
  min-height: 0;
}

.slide-edit-mode .env-item-card {
  position: relative;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slide-border);
  border-radius: 0.488rem;
  padding: 0;
  display: flex;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  box-shadow: var(--slide-card-shadow);
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
}

.slide-edit-mode .env-item-card:hover {
  border-color: var(--slide-highlight);
  transform: translateY(-2px);
  box-shadow: var(--slide-card-hover-shadow);
}

.slide-edit-mode .env-risk-card:hover {
  border-color: var(--slide-danger);
  box-shadow: var(--slide-card-hover-shadow-danger);
}

.slide-edit-mode .env-item-card-icon-area {
  flex-shrink: 0;
  width: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--slide-highlight) 6%, transparent);
  border-right: 1px solid var(--slide-border);
  border-radius: 0.75rem 0 0 0.75rem;
}

.slide-edit-mode .env-item-card-icon-area.env-risk-icon-area {
  background: color-mix(in srgb, var(--slide-danger) 6%, transparent);
}

.slide-edit-mode .env-item-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
  padding: 1rem 6rem 1rem 1.5rem;
}

.slide-edit-mode .env-item-title {
  /* No font-size here: the size is computed by FitText and set inline.
     A `font-size !important` would override that inline size and pin the
     card text small (and differently from fullscreen). */
  font-weight: 700;
  line-height: 1.25;
  color: var(--slide-text-primary);
}

.slide-edit-mode .env-item-card-meta {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== Item Card (shared with SidePanel) ===== */
.slide-edit-mode .item-card {
  position: relative;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slide-border);
  border-radius: 1rem;
  padding: 0;
  display: flex;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  box-shadow: var(--slide-card-shadow);
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
}

.slide-edit-mode .item-card:hover {
  border-color: var(--slide-highlight);
  transform: translateY(-2px);
  box-shadow: var(--slide-card-hover-shadow);
}

.slide-edit-mode .risk-card:hover {
  border-color: var(--slide-danger);
  box-shadow: var(--slide-card-hover-shadow-danger);
}

.slide-edit-mode .item-card-icon-area {
  flex-shrink: 0;
  width: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--slide-highlight) 6%, transparent);
  border-right: 1px solid var(--slide-border);
  border-radius: 1rem 0 0 1rem;
}

.slide-edit-mode .item-card-icon-area.risk-icon-area {
  background: color-mix(in srgb, var(--slide-danger) 6%, transparent);
}

.slide-edit-mode .item-card-icon-area .slide-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-edit-mode .item-card-icon-area .slide-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.slide-edit-mode .item-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
  padding: 1.5rem 5rem 1.5rem 2rem;
}

.slide-edit-mode .item-title {
  font-size: 1.1rem !important;
  font-weight: 700;
  line-height: 1.25;
  color: var(--slide-text-primary);
}

.slide-edit-mode .item-card-meta {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slide-editing .edit-list {
  outline: 1px dashed var(--slide-border);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
}

.slide-editing .edit-card {
  border-style: dashed !important;
  cursor: grab;
  position: relative;
}

.slide-editing .edit-card:active { cursor: grabbing; }

.slide-editing .edit-drag-handle {
  color: var(--slide-text-secondary);
  font-size: 0.9rem;
  cursor: grab;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.15s;
  align-self: center;
  padding: 0 2px;
}

.slide-editing .edit-card:hover .edit-drag-handle { opacity: 1; }

/* ===== Badges ===== */
.slide-edit-mode .impact-badge,
.slide-edit-mode .severity-badge {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem;
  border-radius: 0.35rem;
}

.slide-edit-mode .impact-badge.impact-critical {
  background: color-mix(in srgb, var(--slide-danger) 15%, transparent);
  color: var(--slide-danger);
}

.slide-edit-mode .impact-badge.impact-high {
  background: color-mix(in srgb, var(--slide-high) 15%, transparent);
  color: var(--slide-high-text);
}

.slide-edit-mode .impact-badge.impact-medium {
  background: color-mix(in srgb, var(--slide-warning) 15%, transparent);
  color: var(--slide-warning);
}

.slide-edit-mode .impact-badge.impact-low {
  background: color-mix(in srgb, var(--slide-success) 15%, transparent);
  color: var(--slide-success);
}

.slide-edit-mode .severity-badge.severity-critical {
  background: color-mix(in srgb, var(--slide-danger) 15%, transparent);
  color: var(--slide-danger);
}

.slide-edit-mode .severity-badge.severity-high {
  background: color-mix(in srgb, var(--slide-high) 15%, transparent);
  color: var(--slide-high-text);
}

.slide-edit-mode .severity-badge.severity-medium {
  background: color-mix(in srgb, var(--slide-warning) 15%, transparent);
  color: var(--slide-warning);
}

.slide-edit-mode .severity-badge.severity-low {
  background: color-mix(in srgb, var(--slide-info) 15%, transparent);
  color: var(--slide-info);
}

/* ===== Icon Colors ===== */
.slide-edit-mode .env-item-card-icon-area .slide-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-edit-mode .env-item-card-icon-area .slide-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.slide-edit-mode .card-icon.opportunity-icon {
  color: var(--slide-success);
}

.slide-edit-mode .card-icon.risk-icon {
  color: var(--slide-danger);
}

.slide-edit-mode .item-savings {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slide-success);
  background: color-mix(in srgb, var(--slide-success) 10%, transparent);
  padding: 0.25rem 0.7rem;
  border-radius: 0.35rem;
}

.slide-edit-mode .item-timeline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slide-text-secondary);
  background: var(--slide-border);
  padding: 0.25rem 0.7rem;
  border-radius: 0.35rem;
}

.slide-edit-mode .item-cost {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slide-danger);
  background: color-mix(in srgb, var(--slide-danger) 15%, transparent);
  padding: 0.25rem 0.7rem;
  border-radius: 0.35rem;
}

.slide-edit-mode .env-more-button {
  margin-top: 0.325rem;
  padding: 0.260rem 0.812rem;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1.300rem;
  color: var(--slide-highlight);
  font-size: 0.650rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  align-self: center;
  text-align: center;
  flex-shrink: 0;
}

.slide-edit-mode .env-more-button:hover {
  border-color: var(--slide-highlight);
  transform: translateY(-1px);
}

.slide-edit-mode .env-more-button.danger {
  color: var(--slide-danger);
}

.slide-edit-mode .env-more-button.danger:hover {
  border-color: var(--slide-danger);
}

/* ===== Issues Section (bottom-aligned) ===== */
.slide-edit-mode .env-issues-section {
  flex-shrink: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}



/* ===== Findings Grid ===== */
.slide-edit-mode .env-findings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  overflow: hidden;
}


.slide-edit-mode .env-finding-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 3px solid var(--slide-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  min-height: 4.5rem;
  box-shadow: var(--slide-card-shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  overflow: hidden;
}


.slide-edit-mode .env-finding-card.env-finding-critical:hover {
  border-color: var(--slide-danger);
  box-shadow: var(--slide-card-hover-shadow);
}


.slide-edit-mode .env-finding-card.env-finding-high:hover {
  border-color: var(--slide-warning);
  box-shadow: var(--slide-card-hover-shadow);
}


.slide-edit-mode .env-finding-card.env-finding-medium:hover {
  border-color: var(--slide-info);
  box-shadow: var(--slide-card-hover-shadow);
}


.slide-edit-mode .env-finding-card.env-finding-critical {
  border-left: 3px solid var(--slide-danger);
}


.slide-edit-mode .env-finding-card.env-finding-high {
  border-left: 3px solid var(--slide-warning);
}


.slide-edit-mode .env-finding-card.env-finding-medium {
  border-left: 3px solid var(--slide-info);
}


/* Icon area */
.slide-edit-mode .env-finding-icon-area {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}


.slide-edit-mode .env-finding-icon-area .slide-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}


.slide-edit-mode .env-icon-critical {
  color: var(--slide-danger);
}


.slide-edit-mode .env-icon-high {
  color: var(--slide-warning);
}


.slide-edit-mode .env-icon-medium {
  color: var(--slide-info);
}


/* Content */
.slide-edit-mode .env-finding-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
}


.slide-edit-mode .env-finding-pain {
  font-weight: 700;
  color: var(--slide-text-primary);
  line-height: 1.25;
}


.slide-edit-mode .env-finding-resolution {
  display: none;
}

/* Info button */
.slide-edit-mode .env-finding-info {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--slide-border);
  background: transparent;
  color: var(--slide-text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  font-style: italic;
  font-family: var(--font-family);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}


.slide-edit-mode .env-finding-info:hover {
  background: color-mix(in srgb, var(--slide-highlight) 10%, transparent);
  border-color: var(--slide-highlight);
  color: var(--slide-highlight);
}


/* More badge */
.slide-edit-mode .env-more-badge-row {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
  flex-shrink: 0;
}


.slide-edit-mode .env-more-badge {
  padding: 0.5rem 1.5rem;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 2rem;
  color: var(--slide-highlight);
  font-size: 1.1rem;
  font-weight: 700;
}


/* ===== Finding Modal ===== */
.slide-edit-mode .env-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 200;
}


.slide-edit-mode .env-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 80%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1.25rem;
  padding: 2.5rem 3rem;
  z-index: 201;
  text-align: center;
}


.slide-edit-mode .env-modal.env-modal-critical {
  border-top: 4px solid var(--slide-danger);
}


.slide-edit-mode .env-modal.env-modal-high {
  border-top: 4px solid var(--slide-warning);
}


.slide-edit-mode .env-modal.env-modal-medium {
  border-top: 4px solid var(--slide-info);
}


.slide-edit-mode .env-modal.env-modal-objectives {
  border-top: 4px solid var(--slide-success);
}


.slide-edit-mode .env-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}


.slide-edit-mode .env-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}


.slide-edit-mode .env-modal-icon {
  margin-bottom: 1.25rem;
}


.slide-edit-mode .env-modal-icon-svg.slide-icon svg {
  width: 3rem;
  height: 3rem;
}


.slide-edit-mode .env-modal-pain {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}


.slide-edit-mode .env-modal-section {
  text-align: left;
  margin-bottom: 1.25rem;
}


.slide-edit-mode .env-modal-label {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
  display: block;
  margin-bottom: 0.3rem;
}


.slide-edit-mode .env-modal-text {
  font-size: 2.1rem;
  line-height: 1.5;
  color: var(--slide-text-secondary);
  margin: 0;
}


.slide-edit-mode .env-modal-resolution {
  color: var(--slide-success);
  font-weight: 600;
}


/* ===== Edit mode ===== */
.slide-editing .edit-card {
  border-style: dashed !important;
  cursor: pointer;
}

.slide-editing .edit-drag-handle {
  color: var(--slide-text-secondary);
  font-size: 0.85rem;
  cursor: grab;
  opacity: 0;
  transition: opacity 0.15s;
  align-self: center;
  padding: 0 2px;
  flex-shrink: 0;
}

.slide-editing .edit-card:hover .edit-drag-handle { opacity: 1; }

.env-modal-edit-field {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--slide-border);
  border-radius: 6px;
  color: var(--slide-text-primary);
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.4rem 0.6rem;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 0.5rem;
}

.env-modal-edit-field:focus {
  border-color: var(--slide-highlight);
  box-shadow: 0 0 0 2px rgba(249,115,22,0.2);
}

.env-modal-edit-title { font-size: 1rem; font-weight: 700; }

.env-modal-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.env-modal-cancel {
  background: transparent;
  border: 1px solid var(--slide-border);
  color: var(--slide-text-secondary);
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  cursor: pointer;
}

.env-modal-save {
  background: var(--slide-highlight);
  border: none;
  color: #fff;
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.env-modal-save:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== Fullscreen edit mode — larger modal sizes ===== */
.slide-fullscreen-edit .env-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 200;
}

.slide-fullscreen-edit .env-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1000px, 85%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1.25rem;
  padding: 3rem 3.5rem;
  z-index: 201;
  text-align: center;
}

.slide-fullscreen-edit .env-modal.env-modal-critical {
  border-top: 4px solid var(--slide-danger);
}

.slide-fullscreen-edit .env-modal.env-modal-high {
  border-top: 4px solid var(--slide-warning);
}

.slide-fullscreen-edit .env-modal.env-modal-medium {
  border-top: 4px solid var(--slide-info);
}

.slide-fullscreen-edit .env-modal.env-modal-objectives {
  border-top: 4px solid var(--slide-success);
}

.slide-fullscreen-edit .env-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.slide-fullscreen-edit .env-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.slide-fullscreen-edit .env-modal-icon {
  margin-bottom: 1.5rem;
}

.slide-fullscreen-edit .env-modal-icon-svg.slide-icon svg {
  width: 3.5rem;
  height: 3.5rem;
}

.slide-fullscreen-edit .env-modal-pain {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.slide-fullscreen-edit .env-modal-section {
  text-align: left;
  margin-bottom: 1rem;
}

.slide-fullscreen-edit .env-modal-label {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
  display: block;
  margin-bottom: 0.3rem;
}

.slide-fullscreen-edit .env-modal-text {
  font-size: 2rem;
  line-height: 1.5;
  color: var(--slide-text-secondary);
  margin: 0;
}

.slide-fullscreen-edit .env-modal-resolution {
  color: var(--slide-success);
  font-weight: 600;
}

.slide-fullscreen-edit .env-modal-edit-field {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--slide-border);
  border-radius: 6px;
  color: var(--slide-text-primary);
  font-size: 1.25rem;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}

.slide-fullscreen-edit .env-modal-edit-field:focus {
  border-color: var(--slide-highlight);
  box-shadow: 0 0 0 2px rgba(249,115,22,0.2);
}

.slide-fullscreen-edit .env-modal-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.slide-fullscreen-edit .env-modal-cancel {
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
}

.slide-fullscreen-edit .env-modal-save {
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
}
/* ===== Approach Slide ===== */
.slide-edit-mode .approach-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--slide-font-family);
  color: var(--slide-text-primary);
  padding: 2rem 3rem;
  box-sizing: border-box;
  overflow: hidden;
}


/* ===== Header (same pattern as slide 1) ===== */
.slide-edit-mode .approach-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  height: 6rem;
  flex-shrink: 0;
}


.slide-edit-mode .approach-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}


.slide-edit-mode .approach-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slide-highlight);
}


.slide-edit-mode .approach-client-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--slide-text-primary);
}


.slide-edit-mode .approach-metrics-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1rem;
  padding: 1.25rem 2.5rem;
}


.slide-edit-mode .approach-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}


.slide-edit-mode .approach-metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slide-highlight);
  line-height: 1;
}


.slide-edit-mode .approach-metric-value.approach-metric-amber {
  color: var(--slide-warning);
}


.slide-edit-mode .approach-metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
}


.slide-edit-mode .approach-metric-divider {
  width: 1px;
  height: 3rem;
  background: var(--slide-border);
}


/* ===== Title Section ===== */
.slide-edit-mode .approach-title-section {
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}


.slide-edit-mode .approach-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}


.slide-edit-mode .approach-subtitle {
  font-size: 1.3rem;
  color: var(--slide-text-secondary);
  margin: 0;
}


/* ===== Section Header ===== */
.slide-edit-mode .section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 8px;
}


.slide-edit-mode .section-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--slide-highlight);
  flex-shrink: 0;
}


.slide-edit-mode .section-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
  white-space: nowrap;
}


.slide-edit-mode .section-rule {
  flex: 1;
  height: 1px;
  background: var(--slide-border);
}


/* ===== Strategy Distribution Section ===== */
.slide-edit-mode .approach-strategy-section {
  flex-shrink: 0;
  margin-bottom: 1.25rem;
}


/* ===== Strategy Bar ===== */
.slide-edit-mode .strategy-bar-container {
  position: relative;
  margin-bottom: 6px;
}


.slide-edit-mode .strategy-bar {
  display: flex;
  width: 100%;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
}


.slide-edit-mode .strategy-segment {
  height: 100%;
  transition: opacity 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


.slide-edit-mode .strategy-segment:hover {
  opacity: 0.8;
}


.slide-edit-mode .segment-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}


.slide-edit-mode .strategy-tooltip {
  position: absolute;
  transform: translateX(-50%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 0.4rem;
  padding: 0.3rem 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  pointer-events: none;
  white-space: nowrap;
  z-index: 10;
}


.slide-edit-mode .strategy-tooltip strong {
  font-size: 14px;
  color: var(--slide-text-primary);
}


.slide-edit-mode .strategy-tooltip span {
  font-size: 12px;
  color: var(--slide-text-secondary);
}


/* ===== Axis Labels ===== */
.slide-edit-mode .strategy-axis {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 8px;
}


.slide-edit-mode .axis-label {
  font-size: 13px;
  color: var(--slide-text-secondary);
  white-space: nowrap;
}


.slide-edit-mode .axis-gradient {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--slide-border), var(--slide-success));
  border-radius: 1px;
}


/* ===== Legend Grid ===== */
.slide-edit-mode .strategy-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 1.5rem;
}


.slide-edit-mode .legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}


.slide-edit-mode .legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}


.slide-edit-mode .legend-name {
  font-size: 14px;
  color: var(--slide-text-secondary);
}


.slide-edit-mode .legend-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--slide-text-primary);
}


/* ===== Workloads Section ===== */
.slide-edit-mode .approach-workloads-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--slide-border) transparent;
}


.slide-edit-mode .approach-workloads-section::-webkit-scrollbar {
  width: 6px;
}


.slide-edit-mode .approach-workloads-section::-webkit-scrollbar-track {
  background: transparent;
}


.slide-edit-mode .approach-workloads-section::-webkit-scrollbar-thumb {
  background: var(--slide-border);
  border-radius: 3px;
}


.slide-edit-mode .approach-workloads-section::-webkit-scrollbar-thumb:hover {
  background: var(--slide-text-secondary);
}


/* ===== Workload List ===== */
.slide-edit-mode .workload-list {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 8px;
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
}


.slide-edit-mode .workload-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 3px solid transparent;
  border-left: 3px solid;
  border-radius: 0.75rem;
  padding: 0.6rem 1.25rem;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  box-shadow: var(--slide-card-shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}


.slide-edit-mode .workload-card:hover {
  border-color: var(--wl-color);
  box-shadow: var(--slide-card-hover-shadow);
}


.slide-edit-mode .workload-strategy-badge {
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  padding: 4px 10px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 6.5rem;
  text-align: center;
}


.slide-edit-mode .workload-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}


.slide-edit-mode .workload-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slide-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.slide-edit-mode .workload-rationale {
  font-size: 0.95rem;
  color: var(--slide-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ===== More Badge ===== */
.slide-edit-mode .more-badge {
  margin-top: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 2rem;
  color: var(--slide-highlight);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  align-self: center;
  font-family: var(--slide-font-family);
  flex-shrink: 0;
}


.slide-edit-mode .more-badge:hover {
  border-color: var(--slide-highlight);
  transform: translateY(-1px);
}


/* ===== Bottom Band ===== */
.slide-edit-mode .approach-bottom-band {
  display: flex;
  padding-top: 0.75rem;
  gap: 3rem;
  border-top: 1px solid var(--slide-border);
  flex-shrink: 0;
  margin-top: 0.75rem;
}


.slide-edit-mode .bottom-band-left {
  width: 58%;
}


.slide-edit-mode .bottom-band-divider {
  width: 1px;
  align-self: stretch;
  background: var(--slide-border);
}


.slide-edit-mode .bottom-band-right {
  width: 38%;
}


.slide-edit-mode .section-label-sm {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
  display: block;
  margin-bottom: 4px;
}


.slide-edit-mode .rationale-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--slide-text-secondary);
  margin: 0;
}


.slide-edit-mode .considerations-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.slide-edit-mode .considerations-list li {
  font-size: 15px;
  color: var(--slide-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
}


.slide-edit-mode .consideration-bullet {
  color: var(--slide-highlight);
  font-weight: 700;
  flex-shrink: 0;
}


/* ===== Workload Panel ===== */
.slide-edit-mode .workload-panel-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 100;
}


.slide-edit-mode .workload-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 44%;
  background: var(--slide-bg-secondary);
  border-left: 1px solid var(--slide-border);
  z-index: 101;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


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

.slide-edit-mode .workload-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--slide-border);
}


.slide-edit-mode .workload-panel-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slide-text-primary);
  margin: 0;
}


.slide-edit-mode .workload-panel-close {
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: color 0.2s, background 0.2s;
}


.slide-edit-mode .workload-panel-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}


.slide-edit-mode .workload-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}


.slide-edit-mode .workload-panel-content .workload-card {
  flex: 0 0 auto;
  padding: 1rem 1.25rem;
}


.slide-edit-mode .workload-panel-content .workload-name {
  font-size: 1.5rem;
}


.slide-edit-mode .workload-panel-content .workload-rationale {
  font-size: 1.1rem;
}


.slide-edit-mode .workload-panel-content .workload-strategy-badge {
  font-size: 0.85rem;
}


/* ===== Workload Info Button ===== */
.slide-edit-mode .workload-info-btn {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--slide-border);
  background: transparent;
  color: var(--slide-text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  font-style: italic;
  font-family: var(--font-family);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}


.slide-edit-mode .workload-info-btn:hover {
  background: color-mix(in srgb, var(--slide-highlight) 10%, transparent);
  border-color: var(--slide-highlight);
  color: var(--slide-highlight);
}


/* ===== Workload Detail Modal ===== */
.slide-edit-mode .wl-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 200;
}


.slide-edit-mode .wl-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1650px, 90%);
  max-height: 85%;
  overflow-y: auto;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1.25rem;
  padding: 2.5rem 3rem;
  z-index: 201;
  scrollbar-width: thin;
  scrollbar-color: var(--slide-border) transparent;
}


.slide-edit-mode .wl-modal::-webkit-scrollbar {
  width: 6px;
}


.slide-edit-mode .wl-modal::-webkit-scrollbar-track {
  background: transparent;
}


.slide-edit-mode .wl-modal::-webkit-scrollbar-thumb {
  background: var(--slide-border);
  border-radius: 3px;
}


.slide-edit-mode .wl-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}


.slide-edit-mode .wl-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}


/* Modal Header */
.slide-edit-mode .wl-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}


.slide-edit-mode .wl-modal-strategy {
  font-size: 2.4rem;
  font-weight: 700;
  border-radius: 0.3rem;
  padding: 0.25rem 0.75rem;
  text-transform: uppercase;
}


.slide-edit-mode .wl-modal-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0;
  flex: 1;
}


.slide-edit-mode .wl-modal-cost {
  font-size: 2.275rem;
  font-weight: 700;
  color: var(--slide-highlight);
  background: color-mix(in srgb, var(--slide-highlight) 10%, transparent);
  padding: 0.3rem 0.8rem;
  border-radius: 0.4rem;
}


/* Overview */
.slide-edit-mode .wl-modal-overview {
  font-size: 1.925rem;
  line-height: 1.6;
  color: var(--slide-text-secondary);
  margin: 0 0 1.5rem;
}


/* Architecture Diagram */
.slide-edit-mode .wl-modal-architecture {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--slide-bg-primary);
  border: 1px solid var(--slide-border);
  border-radius: 0.75rem;
}


.slide-edit-mode .wl-arch-image {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 0.5rem;
}


/* Architecture Image Section (below everything) */
.slide-edit-mode .wl-modal-arch-image-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slide-border);
}


.slide-edit-mode .wl-modal-arch-image-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slide-text-secondary);
  margin: 0 0 0.75rem;
}


.slide-edit-mode .wl-modal-arch-image-section .wl-arch-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 0.5rem;
  background: var(--slide-bg-primary);
  border: 1px solid var(--slide-border);
  padding: 1rem;
}


.slide-edit-mode .wl-arch-node {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
}


.slide-edit-mode .wl-arch-source {
  background: color-mix(in srgb, var(--slide-danger) 12%, transparent);
  color: var(--slide-danger);
  border: 1px solid color-mix(in srgb, var(--slide-danger) 30%, transparent);
}


.slide-edit-mode .wl-arch-service {
  background: color-mix(in srgb, var(--slide-info) 12%, transparent);
  color: var(--slide-info);
  border: 1px solid color-mix(in srgb, var(--slide-info) 30%, transparent);
}


.slide-edit-mode .wl-arch-target {
  background: color-mix(in srgb, var(--slide-success) 12%, transparent);
  color: var(--slide-success);
  border: 1px solid color-mix(in srgb, var(--slide-success) 30%, transparent);
}


.slide-edit-mode .wl-arch-arrow {
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.2rem;
  padding: 0;
}


/* Two-column details */
.slide-edit-mode .wl-modal-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Resource table overrides for edit mode (scaled down) */
.slide-edit-mode .wl-modal-resource-table {
  gap: 0.3rem;
}

.slide-edit-mode .wl-modal-resource-current {
  font-size: 1.6rem;
}

.slide-edit-mode .wl-modal-resource-service {
  font-size: 1.6rem;
}

.slide-edit-mode .wl-modal-resource-table .wl-modal-strategy {
  font-size: 1.4rem;
  padding: 0.15rem 0.5rem;
}


.slide-edit-mode .wl-modal-full-width h3 {
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slide-text-secondary);
  margin: 1rem 0 1rem;
}

.slide-edit-mode .wl-modal-col h3 {
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slide-text-secondary);
  margin: 1rem 0 1rem;
}


.slide-edit-mode .wl-modal-col h3:not(:first-child) {
  margin-top: 1.25rem;
}


.slide-edit-mode .wl-modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}


.slide-edit-mode .wl-modal-list li {
  font-size: 1.75rem;
  color: var(--slide-text-primary);
  padding-left: 1.75rem;
  position: relative;
}


.slide-edit-mode .wl-modal-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--slide-text-secondary);
}


.slide-edit-mode .wl-list-pain li::before {
  color: var(--slide-danger);
}


.slide-edit-mode .wl-list-pros li::before {
  content: '✓';
  color: var(--slide-success);
}


.slide-edit-mode .wl-list-cons li::before {
  content: '✗';
  color: var(--slide-warning);
}


/* Edit mode */
.wl-modal-edit-field {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--slide-border);
  border-radius: 6px;
  color: var(--slide-text-primary);
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.4rem 0.6rem;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}
.wl-modal-edit-field:focus { border-color: var(--slide-highlight); box-shadow: 0 0 0 2px rgba(249,115,22,0.2); }
.wl-modal-edit-actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 0.75rem; }
.wl-modal-cancel { background: transparent; border: 1px solid var(--slide-border); color: var(--slide-text-secondary); border-radius: 6px; padding: 0.5rem 1.25rem; font-size: 1rem; cursor: pointer; }
.wl-modal-save { background: var(--slide-highlight); border: none; color: #fff; border-radius: 6px; padding: 0.5rem 1.25rem; font-size: 1rem; font-weight: 600; cursor: pointer; }
.wl-modal-save:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== Fullscreen edit mode — larger modal sizes ===== */
.slide-fullscreen-edit .wl-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 200;
}

.slide-fullscreen-edit .wl-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1650px, 90%);
  max-height: 85%;
  overflow-y: auto;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1.25rem;
  padding: 3rem 3.5rem;
  z-index: 201;
  scrollbar-width: thin;
  scrollbar-color: var(--slide-border) transparent;
}

.slide-fullscreen-edit .wl-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.slide-fullscreen-edit .wl-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.slide-fullscreen-edit .wl-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.slide-fullscreen-edit .wl-modal-strategy {
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.3rem;
  padding: 0.25rem 0.75rem;
  text-transform: uppercase;
}

.slide-fullscreen-edit .wl-modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0;
  flex: 1;
}

.slide-fullscreen-edit .wl-modal-cost {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slide-highlight);
  background: color-mix(in srgb, var(--slide-highlight) 10%, transparent);
  padding: 0.3rem 0.75rem;
  border-radius: 0.4rem;
}

.slide-fullscreen-edit .wl-modal-overview {
  font-size: 2rem;
  line-height: 1.6;
  color: var(--slide-text-secondary);
  margin: 0 0 1.5rem;
}

.slide-fullscreen-edit .wl-modal-architecture {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--slide-bg-primary);
  border: 1px solid var(--slide-border);
  border-radius: 0.75rem;
}

.slide-fullscreen-edit .wl-arch-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 0.5rem;
}

.slide-fullscreen-edit .wl-modal-arch-image-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slide-border);
}

.slide-fullscreen-edit .wl-modal-edit-field {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--slide-border);
  border-radius: 6px;
  color: var(--slide-text-primary);
  font-size: 1.25rem;
  line-height: 2;
  padding: 0.75rem 1rem;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}

.slide-fullscreen-edit .wl-modal-edit-field:focus {
  border-color: var(--slide-highlight);
  box-shadow: 0 0 0 2px rgba(249,115,22,0.2);
}

.slide-fullscreen-edit .wl-modal-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}
/* ===== Investment Slide ===== */
.slide-edit-mode .investment-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--slide-font-family);
  color: var(--slide-text-primary);
  padding: 2rem 3rem;
  box-sizing: border-box;
  overflow: hidden;
}


/* ===== Header ===== */
.slide-edit-mode .investment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  height: 6rem;
  flex-shrink: 0;
}


.slide-edit-mode .investment-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}


.slide-edit-mode .investment-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slide-highlight);
}


.slide-edit-mode .investment-client-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--slide-text-primary);
}


.slide-edit-mode .investment-metrics-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1rem;
  padding: 1rem 2.5rem;
}


.slide-edit-mode .investment-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}


.slide-edit-mode .investment-metric-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--slide-highlight);
  line-height: 1;
}


.slide-edit-mode .investment-metric-value.investment-metric-success {
  color: var(--slide-success);
}


.slide-edit-mode .investment-metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slide-text-secondary);
}


.slide-edit-mode .investment-metric-divider {
  width: 1px;
  height: 3rem;
  background: var(--slide-border);
}


/* ===== Title Row ===== */
.slide-edit-mode .investment-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}


.slide-edit-mode .investment-title-section {
  display: flex;
  flex-direction: column;
}


.slide-edit-mode .investment-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}


.slide-edit-mode .investment-subtitle {
  font-size: 1.3rem;
  color: var(--slide-text-secondary);
  margin: 0;
}


/* ===== Modality Tabs ===== */
.slide-edit-mode .modality-tabs {
  display: flex;
  gap: 3px;
  background: var(--slide-border);
  border-radius: 0.6rem;
  padding: 3px;
}


.slide-edit-mode .modality-tab {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1.4rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--slide-text-secondary);
  cursor: pointer;
  font-family: var(--slide-font-family);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}


.slide-edit-mode .modality-tab.active {
  background: var(--slide-highlight);
  color: var(--slide-text-on-highlight);
}


.slide-edit-mode .modality-tab:hover:not(.active) {
  color: var(--slide-text-primary);
}


/* ===== Period Tabs ===== */
.slide-edit-mode .period-tabs {
  display: flex;
  gap: 3px;
  background: var(--slide-border);
  border-radius: 0.6rem;
  padding: 3px;
}


.slide-edit-mode .period-tab {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1.4rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--slide-text-secondary);
  cursor: pointer;
  font-family: var(--slide-font-family);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}


.slide-edit-mode .period-tab.active {
  background: var(--slide-highlight);
  color: var(--slide-text-on-highlight);
}


.slide-edit-mode .period-tab:hover:not(.active) {
  color: var(--slide-text-primary);
}


/* ===== Sortable headers ===== */
.slide-edit-mode .investment-table th.sortable-th {
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}


.slide-edit-mode .investment-table th.sortable-th:hover {
  color: var(--slide-text-primary);
}


.slide-edit-mode .investment-table th.sortable-th:focus-visible {
  outline: 2px solid var(--slide-highlight);
  outline-offset: -2px;
  color: var(--slide-text-primary);
}


/* ===== KPI Cards Row ===== */
.slide-edit-mode .investment-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}


.slide-edit-mode .investment-kpi-card {
  background: var(--slide-card-bg-transparent);
  border: 1px solid var(--slide-border);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}


.slide-edit-mode .investment-kpi-card.kpi-highlight {
  border-color: var(--slide-highlight);
}


.slide-edit-mode .investment-kpi-card.kpi-success {
  border-color: var(--slide-success);
}


.slide-edit-mode .kpi-card-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slide-text-secondary);
}


.slide-edit-mode .kpi-card-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  line-height: 1.1;
}


.slide-edit-mode .kpi-highlight .kpi-card-value {
  color: var(--slide-highlight);
}


.slide-edit-mode .kpi-success .kpi-card-value {
  color: var(--slide-success);
}


.slide-edit-mode .kpi-card-sub {
  font-size: 0.85rem;
  color: var(--slide-text-secondary);
}


/* ===== TCO Table ===== */
.slide-edit-mode .investment-table-container {
  flex: 1;
  min-height: 0;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}


.slide-edit-mode .table-view-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 0.75rem;
  align-self: flex-start;
  border: 1px solid var(--slide-border);
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}


.slide-edit-mode .view-toggle-btn {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border: none;
  background: transparent;
  color: var(--slide-text-secondary);
  cursor: pointer;
  font-family: var(--slide-font-family);
  transition: background 0.2s, color 0.2s;
}


.slide-edit-mode .view-toggle-btn.active {
  background: var(--slide-highlight);
  color: var(--slide-text-on-highlight);
}


.slide-edit-mode .view-toggle-btn:hover:not(.active) {
  color: var(--slide-text-primary);
}


.slide-edit-mode .investment-table-scroll {
  display: none;
}


.slide-edit-mode .investment-table-footer {
  display: none;
}


.slide-edit-mode .investment-table-wrapper {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--slide-border) transparent;
}


.slide-edit-mode .investment-table-wrapper::-webkit-scrollbar {
  width: 6px;
}


.slide-edit-mode .investment-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}


.slide-edit-mode .investment-table-wrapper::-webkit-scrollbar-thumb {
  background: var(--slide-border);
  border-radius: 3px;
}


.slide-edit-mode .investment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1rem;
  table-layout: fixed;
}


.slide-edit-mode .investment-table th:first-child, .slide-edit-mode .investment-table td:first-child {
  width: 30%;
}


.slide-edit-mode .investment-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--slide-bg-primary);
}


.slide-edit-mode .investment-table tfoot {
  position: sticky;
  bottom: 0;
  z-index: 1;
  background: var(--slide-bg-primary);
}


.slide-edit-mode .investment-table th {
  text-align: right;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slide-text-secondary);
  padding: 0.6rem 1.25rem;
  border-bottom: 1px solid var(--slide-border);
}


.slide-edit-mode .investment-table th:first-child {
  text-align: left;
}


.slide-edit-mode .investment-table td {
  padding: 0.55rem 1.25rem;
  text-align: right;
  color: var(--slide-text-secondary);
  border-bottom: 1px solid color-mix(in srgb, var(--slide-border) 50%, transparent);
}


.slide-edit-mode .investment-table td:first-child {
  text-align: left;
  color: var(--slide-text-primary);
  font-weight: 600;
}


.slide-edit-mode .investment-table td:not(:first-child) {
  font-family: var(--font-family-mono);
  font-variant-numeric: tabular-nums;
}


.slide-edit-mode .investment-table td.active-col {
  color: var(--slide-text-primary);
  font-weight: 700;
  background: color-mix(in srgb, var(--slide-text-secondary) 8%, transparent);
}


.slide-edit-mode .investment-table th.active-col {
  background: color-mix(in srgb, var(--slide-text-secondary) 8%, transparent);
}


.slide-edit-mode .investment-table tfoot td {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--slide-text-primary);
  border-top: 1px solid var(--slide-border);
  border-bottom: none;
  padding-top: 0.7rem;
}


/* ===== Incentives Section ===== */
.slide-edit-mode .investment-incentives {
  flex-shrink: 0;
  background: var(--slide-card-bg-transparent);
  border: 1px solid var(--slide-border);
  border-radius: 0.75rem;
  padding: 1rem 1.75rem;
}


.slide-edit-mode .incentives-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}


.slide-edit-mode .incentives-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}


.slide-edit-mode .incentives-info-button {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--slide-border);
  background: transparent;
  color: var(--slide-text-secondary);
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  font-family: var(--font-family);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}


.slide-edit-mode .incentives-info-button:hover {
  background: color-mix(in srgb, var(--slide-highlight) 10%, transparent);
  border-color: var(--slide-highlight);
  color: var(--slide-highlight);
}


.slide-edit-mode .incentives-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}


.slide-edit-mode .incentives-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slide-text-primary);
}


.slide-edit-mode .incentives-tier {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--slide-border);
  color: var(--slide-text-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: 0.3rem;
  text-transform: uppercase;
}


.slide-edit-mode .incentives-arr {
  font-size: 1rem;
  color: var(--slide-text-secondary);
}


.slide-edit-mode .incentives-arr strong {
  color: var(--slide-text-primary);
}


.slide-edit-mode .incentives-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}


.slide-edit-mode .incentive-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}


.slide-edit-mode .incentive-kpi-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slide-text-secondary);
}


.slide-edit-mode .incentive-kpi-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--slide-text-primary);
}


.slide-edit-mode .incentive-kpi-highlight .incentive-kpi-value {
  color: var(--slide-success);
}


/* ===== Incentives Modal ===== */
.slide-edit-mode .incentives-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 200;
}


.slide-edit-mode .incentives-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1150px, 85%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1.25rem;
  padding: 2.5rem 3rem;
  z-index: 201;
}


.slide-edit-mode .incentives-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}


.slide-edit-mode .incentives-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}


.slide-edit-mode .incentives-modal-title {
  font-size: 3.0625rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0 0 1.5rem;
}


.slide-edit-mode .incentives-modal-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.slide-edit-mode .incentives-modal-columns-single {
  grid-template-columns: 1fr;
}


.slide-edit-mode .incentives-modal-col h3 {
  font-size: 1.925rem;
  font-weight: 700;
  color: var(--slide-text-primary);
  margin: 0 0 0.75rem;
}


.slide-edit-mode .incentives-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.75rem;
}


.slide-edit-mode .incentives-detail-table th {
  text-align: left;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slide-text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--slide-border);
}


.slide-edit-mode .incentives-detail-table th:last-child {
  text-align: right;
}


.slide-edit-mode .incentives-detail-table td {
  padding: 0.4rem 0;
  color: var(--slide-text-secondary);
  border-bottom: 1px solid color-mix(in srgb, var(--slide-border) 50%, transparent);
}


.slide-edit-mode .incentives-detail-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--slide-text-primary);
}


.slide-edit-mode .incentives-detail-table tfoot td {
  font-weight: 800;
  color: var(--slide-text-primary);
  border-top: 1px solid var(--slide-border);
  border-bottom: none;
  padding-top: 0.5rem;
}


/* VMware SPI info tooltip */
.slide-edit-mode .incentive-label-with-info {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.slide-edit-mode .incentive-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
  outline: none;
}

.slide-edit-mode .incentive-info-icon {
  width: 0.85em;
  height: 0.85em;
  color: var(--slide-text-secondary);
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.slide-edit-mode .incentive-info:hover .incentive-info-icon,
.slide-edit-mode .incentive-info:focus-visible .incentive-info-icon {
  opacity: 1;
}

.slide-edit-mode .incentive-info-tooltip {
  position: absolute;
  bottom: calc(100% + 0.4rem);
  left: 0;
  z-index: 20;
  display: none;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 15rem;
  padding: 0.6rem 0.7rem;
  background: var(--slide-bg-secondary, #1e293b);
  border: 1px solid var(--slide-border);
  border-radius: 0.4rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  font-size: 0.8em;
  font-weight: 400;
  color: var(--slide-text-secondary);
  text-align: left;
  white-space: normal;
}

.slide-edit-mode .incentive-info:hover .incentive-info-tooltip,
.slide-edit-mode .incentive-info:focus-visible .incentive-info-tooltip,
.slide-edit-mode .incentive-info:focus-within .incentive-info-tooltip {
  display: flex;
}

.slide-edit-mode .incentive-info-tooltip-title {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slide-text-primary);
  margin-bottom: 0.15rem;
}

.slide-edit-mode .incentive-info-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.slide-edit-mode .incentive-info-row > span:last-child {
  font-weight: 600;
  color: var(--slide-text-primary);
  white-space: nowrap;
}

.slide-edit-mode .incentive-info-row-pending > span {
  opacity: 0.6;
  font-style: italic;
}


/* Greenfield toggle */

.slide-edit-mode .investment-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slide-edit-mode .investment-greenfield-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
  background: var(--slide-border);
  border-radius: 0.390rem;
  padding: 3px 0.910rem;
  box-sizing: border-box;
  align-self: stretch;
}

.slide-edit-mode .investment-greenfield-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.slide-edit-mode .investment-toggle-track {
  width: 2.75rem;
  height: 1.25rem;
  background: rgba(255,255,255,0.35);
  border-radius: 4px;
  position: relative;
  transition: background 0.35s;
  flex-shrink: 0;
}

.slide-edit-mode .investment-greenfield-toggle input:checked + .investment-toggle-track {
  background: var(--brand-amber, var(--warning-500));
}

.slide-edit-mode .investment-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: 1rem;
  background: white;
  border-radius: 2px;
  transition: transform 0.35s ease;
}

.slide-edit-mode .investment-greenfield-toggle input:checked + .investment-toggle-track .investment-toggle-thumb {
  transform: translateX(1.5rem);
}

.slide-edit-mode .investment-toggle-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slide-text-secondary);
  font-family: var(--slide-font-family);
  white-space: nowrap;
  transition: color 0.2s;
}

.slide-edit-mode .investment-greenfield-toggle:hover .investment-toggle-label {
  color: var(--slide-text-primary);
}

.slide-edit-mode .investment-greenfield-toggle:hover .investment-toggle-track {
  background: rgba(255,255,255,0.5);
}

.incentive-kpi-bonus {
  font-size: 0.65em;
  opacity: 0.75;
  font-weight: 400;
  white-space: nowrap;
}

/* ===== Fullscreen edit mode — larger modal sizes ===== */
.slide-fullscreen-edit .incentives-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 200;
}

.slide-fullscreen-edit .incentives-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1150px, 85%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1.25rem;
  padding: 3rem 3.5rem;
  z-index: 201;
}

.slide-fullscreen-edit .incentives-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.slide-fullscreen-edit .incentives-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.slide-fullscreen-edit .incentives-modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0 0 1.5rem;
}

.slide-fullscreen-edit .incentives-modal-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.slide-fullscreen-edit .incentives-modal-columns-single {
  grid-template-columns: 1fr;
}

.slide-fullscreen-edit .incentives-modal-col h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slide-text-primary);
  margin: 0 0 0.75rem;
}

.slide-fullscreen-edit .incentives-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1rem;
}

.slide-fullscreen-edit .incentives-detail-table th {
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slide-text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--slide-border);
}

.slide-fullscreen-edit .incentives-detail-table th:last-child {
  text-align: right;
}

.slide-fullscreen-edit .incentives-detail-table td {
  padding: 0.4rem 0;
  color: var(--slide-text-secondary);
  border-bottom: 1px solid color-mix(in srgb, var(--slide-border) 50%, transparent);
}

.slide-fullscreen-edit .incentives-detail-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--slide-text-primary);
}

.slide-fullscreen-edit .incentives-detail-table tfoot td {
  font-weight: 800;
  color: var(--slide-text-primary);
  border-top: 1px solid var(--slide-border);
  border-bottom: none;
  padding-top: 0.5rem;
}

.slide-edit-mode .investment-upfront-note {
  font-size: 0.7rem;
  color: var(--slide-text-secondary);
  margin: 0.4rem 0 0;
  text-align: center;
  font-style: italic;
}
/* ===== Conclusion Slide ===== */
.slide-edit-mode .conclusion-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--slide-font-family);
  color: var(--slide-text-primary);
  padding: 2rem 3rem;
  box-sizing: border-box;
}

/* ===== Header ===== */
.slide-edit-mode .conclusion-header,
.slide-fullscreen-edit .conclusion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.650rem;
  height: 3.900rem;
  flex-shrink: 0;
}

.slide-edit-mode .conclusion-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.slide-edit-mode .conclusion-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slide-highlight);
}

.slide-edit-mode .conclusion-client-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--slide-text-primary);
}

/* ===== Headline ===== */
.slide-edit-mode .conclusion-headline-section {
  margin-bottom: 2rem;
  flex-shrink: 0;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.488rem;
  padding: 0.488rem;
  box-sizing: border-box;
}

.slide-editing .conclusion-headline-section {
  border: 1px solid var(--slate-700);
}

.slide-edit-mode .conclusion-headline {
  font-weight: 800;
  font-style: italic;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  display: block;
  width: 100%;
  overflow: hidden;
}

/* ===== Main Two-Column ===== */
.slide-edit-mode .conclusion-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.slide-edit-mode .conclusion-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* ===== Section Headers ===== */
.slide-edit-mode .conclusion-section-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.slide-edit-mode .conclusion-section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slide-highlight);
  flex-shrink: 0;
}

.slide-edit-mode .conclusion-dot-highlight {
  background: var(--slide-highlight);
}

.slide-edit-mode .conclusion-section-label {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
  white-space: nowrap;
}

.slide-edit-mode .conclusion-section-rule {
  flex: 1;
  height: 1px;
  background: var(--slide-border);
}

/* ===== Key Takeaways ===== */
.slide-edit-mode .conclusion-takeaway-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-height: 0;
}

.slide-edit-mode .conclusion-takeaway-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slide-border);
  border-left: 3px solid var(--slide-highlight);
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  box-shadow: var(--slide-card-shadow);
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.slide-edit-mode .conclusion-takeaway-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-edit-mode .conclusion-takeaway-icon .slide-icon svg {
  width: 2rem;
  height: 2rem;
}

.slide-edit-mode .conclusion-tk-icon {
  color: var(--slide-highlight);
}

.slide-edit-mode .conclusion-takeaway-text {
  font-weight: 700;
  color: var(--slide-text-primary);
  line-height: 1.25;
  flex: 1;
  min-width: 0;
  padding-right: 1.5rem;
}

/* ===== Next Steps ===== */
.slide-edit-mode .conclusion-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-height: 0;
}

.slide-edit-mode .conclusion-step-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slide-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  box-shadow: var(--slide-card-shadow);
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.slide-edit-mode .conclusion-step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--slide-highlight) 12%, transparent);
  color: var(--slide-highlight);
  font-size: 1.2rem;
  font-weight: 800;
}

.slide-edit-mode .conclusion-step-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
  padding-right: 6rem;
}

.slide-edit-mode .conclusion-step-text {
  font-weight: 700;
  color: var(--slide-text-primary);
  line-height: 1.25;
}

.slide-edit-mode .conclusion-step-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slide-edit-mode .conclusion-step-owner {
  font-size: 1.05rem;
  color: var(--slide-text-secondary);
  font-weight: 500;
}

.slide-edit-mode .conclusion-step-timeline {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slide-success);
  background: color-mix(in srgb, var(--slide-success) 10%, transparent);
  padding: 0.15rem 0.6rem;
  border-radius: 0.25rem;
}

/* ===== Footer: CTA ===== */
.slide-edit-mode .conclusion-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.325rem 0.975rem;
  border: 1px solid var(--slate-700);
  border-radius: 0.488rem;
  flex-shrink: 0;
  height: 2.6rem;
  overflow: hidden;
}

.slide-edit-mode .conclusion-cta-text,
.slide-edit-mode .conclusion-footer textarea {
  height: 100%;
  resize: none;
}

.slide-edit-mode .conclusion-headline-field {
  font-style: italic;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
}

.slide-edit-mode .conclusion-cta-text {
  font-size: 1.8rem;
  font-weight: 700;
  font-style: italic;
  color: var(--slide-highlight);
  line-height: 1.3;
  text-align: center;
}

/* ===== Inline edit fields ===== */
.slide-edit-mode .conclusion-inline-field,
.slide-fullscreen-edit .conclusion-inline-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  color: var(--slate-50);
  font-weight: 700;
  line-height: 1.4;
  padding: 0.4rem 0.6rem;
  resize: none;
  outline: none;
  box-sizing: border-box;
  font-size: inherit;
}

.slide-edit-mode .conclusion-inline-field:focus,
.slide-fullscreen-edit .conclusion-inline-field:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

/* ===== Inline Edit Actions (slide-level Save/Cancel in header) ===== */
.slide-edit-mode .conclusion-edit-actions,
.slide-fullscreen-edit .conclusion-edit-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slide-edit-mode .conclusion-edit-cancel,
.slide-fullscreen-edit .conclusion-edit-cancel {
  height: 32px;
  padding: 0 1rem;
  background: transparent;
  border: 1px solid var(--slide-border);
  color: var(--slide-text-secondary);
  border-radius: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.slide-edit-mode .conclusion-edit-cancel:hover,
.slide-fullscreen-edit .conclusion-edit-cancel:hover {
  border-color: var(--slide-text-secondary);
}

.slide-edit-mode .conclusion-edit-save,
.slide-fullscreen-edit .conclusion-edit-save {
  height: 32px;
  padding: 0 1rem;
  background: var(--slide-highlight);
  border: none;
  color: var(--action-primary-text, #fff);
  border-radius: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.slide-edit-mode .conclusion-edit-save:hover,
.slide-fullscreen-edit .conclusion-edit-save:hover {
  opacity: 0.9;
}

/* Fix footer overflow when editing */
.slide-editing .conclusion-footer {
  height: auto;
  min-height: 2.6rem;
  overflow: visible;
}
.presentation-container {
  position: fixed;
  inset: 0;
  background: var(--slide-letterbox);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 9999;
  font-family: var(--slide-font-family);
  -webkit-font-smoothing: antialiased;
}

/* Fixed 1920x1080 design canvas, scaled to fit via --slide-scale — identical
   mechanism to the fullscreen path (see Presentation/presentation.css). */
.presentation-inner {
  width: 1920px;
  height: 1080px;
  flex: 0 0 auto;
  background: var(--slide-bg-primary);
  overflow: hidden;
  position: relative;
  transform-origin: center center;
  transform: scale(var(--slide-scale, 1));
  font-size: 16px;
}

html.presentation-mode {
  font-size: 16px;
}

.presentation-nav-btn {
  position: fixed;
  top: 10%;
  bottom: 10%;
  z-index: 10000;
  background: none;
  border: none;
  color: var(--slide-nav-idle);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.presentation-nav-btn:hover {
  color: var(--slide-nav-hover);
}

.presentation-nav-prev { left: 0; }
.presentation-nav-next { right: 0; }
.presentation-close-btn {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  background: none;
  border: none;
  color: var(--slide-nav-muted);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  cursor: pointer;
  font-family: var(--slide-font-family);
  transition: color 0.2s;
}

.presentation-close-btn:hover {
  color: var(--slide-nav-muted-hover);
}

/* ===== Exit Dialog ===== */
.exit-dialog-overlay {
  position: fixed;
  inset: 0;
  background: var(--slide-overlay-heavy);
  z-index: 10001;
}

.exit-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10002;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 320px;
  font-family: var(--slide-font-family);
}

.exit-dialog-title {
  color: var(--slide-text-primary);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.exit-dialog-description {
  color: var(--slide-text-secondary);
  font-size: 14px;
  margin: 0;
}

.exit-dialog-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.exit-dialog-cancel {
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid var(--slide-border);
  background: transparent;
  color: var(--slide-text-secondary);
  font-size: 14px;
  cursor: pointer;
}

.exit-dialog-confirm {
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  background: var(--slide-highlight);
  color: var(--slide-text-on-highlight);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
._wrapper_2imkx_1 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Toolbar ── */
._toolbar_2imkx_9 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  height: 48px;
  background: var(--surface-card);
  border: 1px solid var(--gray-200, var(--slate-200));
  border-radius: 8px;
}

._toolbarLeft_2imkx_22 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

._toolbarLogo_2imkx_30 {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

._toolbarSep_2imkx_36 {
  color: var(--gray-300, #d1d5db);
  font-size: 0.875rem;
}

._toolbarProject_2imkx_41 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700, #374151);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._toolbarCenter_2imkx_50 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

._toolbarNav_2imkx_60 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gray-200, var(--slate-200));
  border-radius: 8px;
  background: var(--surface-card);
  color: var(--gray-600, #4b5563);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  padding: 0;
}

._toolbarNav_2imkx_60:hover:not(:disabled) {
  background: var(--gray-50, #f9fafb);
  color: var(--gray-900, var(--slate-900));
}

._toolbarNav_2imkx_60:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

._toolbarCounter_2imkx_85 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700, #374151);
  min-width: 32px;
  text-align: center;
}

._toolbarSlideName_2imkx_93 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-cyan, var(--cyan-500));
  background: transparent;
  border: none;
  padding: 0;
  white-space: nowrap;
  min-width: unset;
  text-align: left;
}

._toolbarRight_2imkx_105 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

._toolbarEditing_2imkx_112 {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--warning-600);
}

._toolbarCancel_2imkx_118 {
  height: 32px;
  padding: 0 1rem;
  background: var(--surface-card);
  border: 0.09375rem solid var(--error-500, var(--error-500));
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--error-500, var(--error-500));
  cursor: pointer;
  transition: background 0.2s;
}

._toolbarCancel_2imkx_118:hover { background: var(--error-50); }

._toolbarEdit_2imkx_112,
._toolbarSave_2imkx_134 {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 1rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

._toolbarEdit_2imkx_112 {
  background: var(--surface-card);
  border: 0.09375rem solid var(--border-subtle, var(--slate-200));
  color: var(--text-tertiary, var(--slate-500));
}

._toolbarEdit_2imkx_112:hover { background: var(--surface-subtle, #f9fafb); }

._toolbarSave_2imkx_134 {
  background: var(--surface-card);
  border: 0.09375rem solid var(--success-500, var(--success-500));
  color: var(--success-700, #15803d);
}

._toolbarSave_2imkx_134:hover:not(:disabled) { background: var(--success-50); }

._toolbarAccept_2imkx_163 {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 1rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  background: var(--surface-card);
  border: 1.5px solid var(--color-stale, var(--warning-500));
  color: var(--color-stale-dark, var(--warning-700));
}

._toolbarAccept_2imkx_163:hover { background: var(--color-stale-bg-active, var(--warning-50)); }

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

._toolbarRegenerate_2imkx_186 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: var(--action-ai-bg, #7c3aed);
  border: 1px solid var(--action-ai-bg, #7c3aed);
  border-radius: 6px;
  color: var(--action-ai-text, #ffffff);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s ease;
  margin-left: 0.5rem;
  padding-left: 1rem;
}

._toolbarRegenerate_2imkx_186:hover {
  background: var(--action-ai-bg-hover, #6d28d9);
  border-color: var(--action-ai-bg-hover, #6d28d9);
}

._toolbarPresent_2imkx_209 {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  background: linear-gradient(to bottom, var(--blue-600, var(--blue-600)), var(--blue-700, var(--blue-700)));
  border: none;
  border-radius: 8px;
  color: var(--action-primary-text);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

._toolbarPresent_2imkx_209:hover {
  opacity: 0.9;
}

/* ── Slide box ── */
._slideBox_2imkx_230 {
  position: relative !important;
  inset: unset !important;
  z-index: 1 !important;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: transparent !important;
  /* Center the fixed design canvas; useSlideScale scales it to fit. */
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* The inner is a fixed 1920x1080 canvas scaled via --slide-scale; do not force
   it to fill the box (that would defeat the scale-to-fit model). */
._slideBox_2imkx_230 .presentation-inner {
  flex: 0 0 auto !important;
}

/* ── Fullscreen edit mode ── */
._fullscreenWrapper_2imkx_252 {
  z-index: 9998 !important;
  flex-direction: column !important;
  align-items: unset !important;
  justify-content: unset !important;
}

._toolbarFullscreen_2imkx_259 {
  flex-shrink: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  z-index: 9999;
  font-size: 1.1125rem;
}

._toolbarFullscreen_2imkx_259 ._toolbarSep_2imkx_36,
._toolbarFullscreen_2imkx_259 ._toolbarProject_2imkx_41,
._toolbarFullscreen_2imkx_259 ._toolbarSlideName_2imkx_93,
._toolbarFullscreen_2imkx_259 ._toolbarCounter_2imkx_85,
._toolbarFullscreen_2imkx_259 ._toolbarEditing_2imkx_112 {
  font-size: 1.1125rem;
}

._toolbarFullscreen_2imkx_259 ._toolbarCancel_2imkx_118,
._toolbarFullscreen_2imkx_259 ._toolbarEdit_2imkx_112,
._toolbarFullscreen_2imkx_259 ._toolbarSave_2imkx_134,
._toolbarFullscreen_2imkx_259 ._toolbarRegenerate_2imkx_186,
._toolbarFullscreen_2imkx_259 ._toolbarPresent_2imkx_209 {
  font-size: 1.1125rem;
}

._slideBoxFullscreen_2imkx_286 {
  flex: 1;
  position: relative !important;
  inset: unset !important;
  z-index: 1 !important;
  width: 100% !important;
  border-radius: 0 !important;
  overflow: hidden;
  background: var(--slate-900) !important;
  /* Center the fixed design canvas; useSlideScale scales it to fit. */
  display: flex !important;
  align-items: center;
  justify-content: center;
}

._slideBoxFullscreen_2imkx_286 .presentation-inner {
  position: relative !important;
  top: unset !important;
  left: unset !important;
  flex: 0 0 auto !important;
  aspect-ratio: unset !important;
}
._serversTab_gs5mt_1 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Tab Header */
._tabHeader_gs5mt_8 {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    --hx: calc(var(--card-pad-x, 1.5rem) + var(--tab-inset-x, 0px));
    --hy: calc(var(--card-pad-top, 1.5rem) + var(--tab-inset-top, 0px));
    position: sticky;
    top: calc(-1 * var(--card-pad-top, 1.5rem));
    z-index: 5;
    margin: calc(-1 * var(--hy)) calc(-1 * var(--hx)) -0.75rem;
    padding: var(--hy) var(--hx) 0.75rem;
    background: var(--surface-card);
}

._tabTitle_gs5mt_22 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

._tabSubtitle_gs5mt_30 {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.4;
}

/* Stats Row */
._statsRow_gs5mt_38 {
    display: flex;
    gap: 0.75rem;
}

._statCard_gs5mt_43 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.05);
    min-width: 8rem;
}

._statDot_gs5mt_55 {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

._statLabel_gs5mt_62 {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

._statValue_gs5mt_67 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-left: auto;
}

._statSpinner_gs5mt_74 {
    width: 17px;
    height: 17px;
    border: 2px solid var(--blue-200);
    border-top-color: var(--blue-600);
    border-radius: 50%;
    animation: _statSpin_gs5mt_74 0.8s linear infinite;
}

._loadingIndicator_gs5mt_83 {
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes _statSpin_gs5mt_74 {
    to {
        transform: rotate(360deg);
    }
}

._statLoadingText_gs5mt_95 {
    font-size: 13px;
    color: var(--text-secondary);
    margin-left: -2px;
}

._statOnline_gs5mt_101 {
    border-left: 0.1875rem solid var(--success-500);
}

._statWarning_gs5mt_105 {
    border-left: 0.1875rem solid var(--warning-500);
}

._statOffline_gs5mt_109 {
    border-left: 0.1875rem solid var(--error-500);
}

/* Toolbar */
._toolbar_gs5mt_114 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

._toolbarLeft_gs5mt_122,
._toolbarRight_gs5mt_123 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

._toolbarRight_gs5mt_123 {
    margin-left: auto;
    flex: 1 1 auto;
    min-width: 0;
}

._toolbarBtn_gs5mt_136 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    height: 2.125rem;
    padding: 0 0.75rem;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

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

._spinning_gs5mt_156 {
    animation: _spin_gs5mt_156 1s linear infinite;
}

._mappingBanner_gs5mt_160 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    border-radius: 8px;
    color: var(--text-accent-alt);
    font-size: 0.8125rem;
    font-weight: 500;
}

._statsBanner_gs5mt_173 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: var(--warning-50);
    border: 1px solid var(--warning-200);
    border-radius: 8px;
    color: var(--warning-700);
    font-size: 0.75rem;
    font-weight: 500;
}

._statsBannerClose_gs5mt_186 {
    background: none;
    border: none;
    color: var(--warning-700);
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
    opacity: 0.7;
}

._statsBannerClose_gs5mt_186:hover {
    opacity: 1;
}

@keyframes _spin_gs5mt_156 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

._toolbarBtnPrimary_gs5mt_211 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    height: 2.125rem;
    padding: 0 0.875rem;
    background: linear-gradient(to bottom, var(--blue-600), var(--blue-700));
    border: none;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--action-primary-text);
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
}

._toolbarBtnPrimary_gs5mt_211:hover {
    opacity: 0.9;
}

._toolbarBtnAi_gs5mt_231 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    height: 2.5rem;
    padding: 0 1.125rem;
    background: linear-gradient(to bottom, var(--indigo-600), var(--indigo-700));
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--action-primary-text);
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
}

._toolbarBtnAi_gs5mt_231:hover {
    opacity: 0.9;
}

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

/* Column Picker */
._columnPickerWrapper_gs5mt_258 {
    position: relative;
}

._toolbarBtnActive_gs5mt_262 {
    background: color-mix(in srgb, var(--blue-50) 80%, transparent);
    border-color: var(--blue-600);
    color: var(--text-accent);
}

._columnCount_gs5mt_268 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 1.125rem;
    padding: 0 0.3125rem;
    background: var(--border-subtle);
    border-radius: 8px;
    font-size: 0.6875rem;
    color: var(--text-tertiary);
}

._toolbarBtnActive_gs5mt_262 ._columnCount_gs5mt_268 {
    background: color-mix(in srgb, var(--blue-600) 15%, transparent);
    color: var(--text-accent);
}

._columnPicker_gs5mt_258 {
    position: absolute;
    top: calc(100% + 0.375rem);
    left: 0;
    z-index: 200;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
    width: 16.25rem;
    overflow: hidden;
}

._columnPickerHeader_gs5mt_299 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.875rem 0.625rem;
    border-bottom: 0.0417rem solid var(--slate-100);
}

._columnPickerTitle_gs5mt_307 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
}

._columnPickerReset_gs5mt_313 {
    font-size: 0.75rem;
    color: var(--text-accent);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.125rem 0.375rem;
    border-radius: 8px;
    transition: background 0.1s;
}

._columnPickerReset_gs5mt_313:hover {
    background: color-mix(in srgb, var(--blue-600) 8%, transparent);
}

._columnGroup_gs5mt_328 {
    padding: 0.625rem 0.875rem 0.5rem;
    border-bottom: 0.0417rem solid var(--slate-100);
}

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

._columnGroupLabel_gs5mt_337 {
    display: block;
    font-size: 0.625rem;
    font-weight: 400;
    color: var(--text-disabled);
    text-transform: uppercase;
    letter-spacing: 0.0375rem;
    margin-bottom: 0.5rem;
}

._columnGroupItems_gs5mt_347 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

._columnChip_gs5mt_353 {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    height: 1.625rem;
    padding: 0 0.625rem;
    background: var(--slate-100);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

._columnChip_gs5mt_353:hover {
    background: var(--border-subtle);
    color: var(--text-secondary);
}

._columnChipActive_gs5mt_374 {
    background: color-mix(in srgb, var(--blue-50) 90%, transparent);
    border-color: var(--blue-600);
    color: var(--text-accent);
}

._columnChipActive_gs5mt_374:hover {
    background: var(--blue-50);
}

/* Table */
._tableWrapper_gs5mt_385 {
    overflow-x: auto;
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 0.5rem;
    background: var(--surface-card);
}

._stickyScrollbar_gs5mt_392 {
    position: sticky;
    bottom: 0;
    overflow-x: auto;
    overflow-y: hidden;
    height: 12px;
    z-index: 3;
}

._table_gs5mt_385 {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

._table_gs5mt_385 thead {
    background: var(--surface-subtle);
    border-bottom: 0.0417rem solid var(--border-subtle);
}

._th_gs5mt_412,
._thName_gs5mt_413,
._thActions_gs5mt_414 {
    padding: 0.625rem 0.875rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-tertiary);
    white-space: nowrap;
    border-bottom: 0.0417rem solid var(--border-subtle);
    position: sticky;
    top: 0;
    background: var(--surface-card);
    z-index: 2;
}

._th_gs5mt_412,
._thName_gs5mt_413 {
    position: relative;
}

._resizeHandle_gs5mt_433 {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    cursor: col-resize;
    background: transparent;
}

._resizeHandle_gs5mt_433:hover {
    background: var(--blue-300);
}

._thName_gs5mt_413 {
    min-width: 10rem;
}

._thActions_gs5mt_414 {
    width: 4.5rem;
}

._tr_gs5mt_455 {
    border-bottom: 0.0417rem solid var(--slate-100);
    transition: background 0.1s;
}

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

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

._td_gs5mt_468,
._tdName_gs5mt_469,
._tdActions_gs5mt_470 {
    padding: 0.625rem 0.875rem;
    color: var(--text-secondary);
    vertical-align: middle;
    text-align: left;
}

._tdActions_gs5mt_470 {
    text-align: right;
}

/* Server name cell */
._serverName_gs5mt_482 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    color: var(--text-primary);
}

._serverDot_gs5mt_490 {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

._dot_online_gs5mt_497 {
    background: var(--success-500);
}

._dot_warning_gs5mt_501 {
    background: var(--warning-500);
}

._dot_offline_gs5mt_505 {
    background: var(--error-500);
}

/* Status badge */
._statusBadge_gs5mt_510 {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 400;
    white-space: nowrap;
}

._statusOnline_gs5mt_520 {
    background: var(--success-50);
    color: var(--success-700);
}

._statusWarning_gs5mt_525 {
    background: var(--warning-50);
    color: var(--warning-700);
}

._statusOffline_gs5mt_530 {
    background: var(--error-50);
    color: var(--error-700);
}

/* Env tag */
._envTag_gs5mt_536 {
    display: inline-flex;
    padding: 0.125rem 0.5rem;
    background: color-mix(in srgb, var(--blue-50) 80%, transparent);
    border: 0.0417rem solid var(--blue-200);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--blue-800);
    white-space: nowrap;
}

/* Mono text */
._monoText_gs5mt_548 {
    font-family: var(--font-family-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

._hostname_gs5mt_555 {
    font-size: 0.6875rem;
    color: var(--text-disabled);
}

._dimText_gs5mt_560 {
    color: var(--text-tertiary);
    font-size: 0.75rem;
}

/* Metric bar */
._metricBar_gs5mt_566 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    min-width: 5rem;
}

._metricBarTrack_gs5mt_573 {
    flex: 1;
    height: 0.25rem;
    background: var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
}

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

._metricValue_gs5mt_587 {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    min-width: 2rem;
    text-align: right;
}

._metricEmpty_gs5mt_594 {
    color: var(--text-disabled);
}

/* Edit button */
._editBtn_gs5mt_599 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: transparent;
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.15s;
    margin-left: auto;
}

._editBtn_gs5mt_599:hover {
    background: var(--surface-subtle);
    color: var(--text-accent);
    border-color: var(--blue-600);
}

/* Modal */
._modalOverlay_gs5mt_621 {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

._modal_gs5mt_621 {
    background: var(--surface-card);
    border-radius: 8px;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
    width: 32.5rem;
    max-width: 90vw;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

._modalHeader_gs5mt_643 {
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 0.0417rem solid var(--border-subtle);
}

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

._modalSubtitle_gs5mt_655 {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin: 0;
}

._modalBody_gs5mt_661 {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    overflow-y: auto;
    flex: 1;
}

._formGroup_gs5mt_670 {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

._formLabel_gs5mt_676 {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

._formSelect_gs5mt_681,
._formInput_gs5mt_682 {
    height: 2.25rem;
    padding: 0 0.75rem;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-default);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    outline: none;
    transition: border-color 0.15s;
}

._formSelect_gs5mt_681:focus,
._formInput_gs5mt_682:focus {
    border-color: var(--blue-600);
}

._modalFooter_gs5mt_699 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-top: 0.0417rem solid var(--border-subtle);
}

._modalCancel_gs5mt_708 {
    height: 2.125rem;
    padding: 0 1rem;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s;
}

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

._modalSave_gs5mt_724 {
    height: 2.125rem;
    padding: 0 1rem;
    background: linear-gradient(to bottom, var(--blue-600), var(--blue-700));
    border: none;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--action-primary-text);
    cursor: pointer;
    transition: opacity 0.15s;
}

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

._modalSave_gs5mt_724:not(:disabled):hover {
    opacity: 0.9;
}

/* ─── Layout com drawer ─────────────────────────────────────────────────── */

._serversTabWithDrawer_gs5mt_747 {
    display: grid;
    grid-template-columns: 1fr 20rem;
    gap: 0;
    align-items: start;
}

._mainArea_gs5mt_754 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

/* ─── Drawer ─────────────────────────────────────────────────────────────── */

._drawer_gs5mt_763 {
    position: sticky;
    top: 0;
    height: calc(100vh - 10rem);
    display: flex;
    flex-direction: column;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: -0.125rem 0 0.75rem rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-left: 1rem;
}

._drawerHeader_gs5mt_777 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.875rem;
    border-bottom: 0.0417rem solid var(--slate-100);
    flex-shrink: 0;
}

._drawerNav_gs5mt_786 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

._drawerNavBtn_gs5mt_792 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.625rem;
    height: 1.625rem;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.15s;
}

._drawerNavBtn_gs5mt_792:hover:not(:disabled) {
    background: var(--surface-subtle);
    color: var(--text-accent);
    border-color: var(--blue-600);
}

._drawerNavBtn_gs5mt_792:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

._drawerNavCount_gs5mt_817 {
    font-size: 0.75rem;
    color: var(--text-disabled);
    min-width: 2.25rem;
    text-align: center;
}

._drawerClose_gs5mt_824 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.625rem;
    height: 1.625rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-disabled);
    cursor: pointer;
    transition: all 0.15s;
}

._drawerClose_gs5mt_824:hover {
    background: var(--error-50);
    color: var(--error-500);
}

/* Identity block */
._drawerIdentity_gs5mt_844 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 0.0417rem solid var(--slate-100);
    flex-shrink: 0;
}

._drawerServerIcon_gs5mt_853 {
    width: 2.25rem;
    height: 2.25rem;
    background: linear-gradient(to bottom, var(--blue-600), var(--blue-700));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

._drawerServerName_gs5mt_864 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

._drawerServerMeta_gs5mt_872 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

._drawerStatusDot_gs5mt_878 {
    width: 0.4375rem;
    height: 0.4375rem;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Body */
._drawerBody_gs5mt_886 {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding: 0.25rem 0 1rem;
}

._drawerSection_gs5mt_893 {
    padding: 0.75rem 1rem 0.25rem;
}

._drawerSection_gs5mt_893+._drawerSection_gs5mt_893 {
    border-top: 0.0417rem solid var(--surface-subtle);
}

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

._drawerDeleteSection_gs5mt_905 {
    padding: 1.5rem 1rem 1rem;
}

._drawerSectionLabel_gs5mt_909 {
    display: block;
    font-size: 0.625rem;
    font-weight: 400;
    color: var(--text-disabled);
    text-transform: uppercase;
    letter-spacing: 0.0375rem;
    margin-bottom: 0.5rem;
}

._drawerField_gs5mt_919 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 2rem;
    padding: 0.125rem 0;
    gap: 0.5rem;
}

._drawerFieldLabel_gs5mt_928 {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    flex-shrink: 0;
    min-width: 6.875rem;
}

/* ─── Inline editing components ─────────────────────────────────────────── */

/* Shared value button */
._inlineValue_gs5mt_938 {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    max-width: 10rem;
    padding: 0.1875rem 0.375rem;
    background: transparent;
    border: 0.0417rem solid transparent;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
    overflow: hidden;
}

._inlineValue_gs5mt_938:hover {
    background: var(--slate-100);
    border-color: var(--border-subtle);
}

._inlineValue_gs5mt_938:hover ._inlineEditIcon_gs5mt_960 {
    opacity: 1;
}

._inlineValueMono_gs5mt_964 {
    font-family: var(--font-family-mono);
    font-size: 0.75rem;
}

._inlineEditIcon_gs5mt_960 {
    opacity: 0;
    color: var(--text-disabled);
    flex-shrink: 0;
    transition: opacity 0.15s;
}

/* Text input */
._inlineInput_gs5mt_977 {
    width: 10rem;
    height: 1.75rem;
    padding: 0 0.5rem;
    background: var(--surface-card);
    border: 0.0938rem solid var(--blue-600);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    outline: none;
    box-shadow: 0 0 0 0.1875rem color-mix(in srgb, var(--blue-600) 12%, transparent);
}

._inlineInputMono_gs5mt_990 {
    font-family: var(--font-family-mono);
    font-size: 0.75rem;
}

/* Select dropdown */
._inlineSelectWrapper_gs5mt_996 {
    position: relative;
}

._inlineDropdown_gs5mt_1000 {
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;
    z-index: 300;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.12);
    min-width: 8.75rem;
    padding: 0.25rem 0;
    overflow: hidden;
}

._inlineDropdownItem_gs5mt_1014 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.4375rem 0.75rem;
    background: transparent;
    border: none;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.1s;
    text-align: left;
    gap: 0.5rem;
}

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

._inlineDropdownItemActive_gs5mt_1034 {
    color: var(--text-accent);
    background: color-mix(in srgb, var(--blue-50) 60%, transparent);
}

/* Number / metric */
._inlineMetricBtn_gs5mt_1040 {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    width: 10rem;
    padding: 0.1875rem 0.375rem;
    background: transparent;
    border: 0.0417rem solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}

._inlineMetricBtn_gs5mt_1040:hover {
    background: var(--slate-100);
    border-color: var(--border-subtle);
}

._inlineMetricBtn_gs5mt_1040:hover ._inlineEditIcon_gs5mt_960 {
    opacity: 1;
}

._inlineNumberWrapper_gs5mt_1062 {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

._inlineNumberInput_gs5mt_1068 {
    width: 3.75rem;
    height: 1.75rem;
    padding: 0 0.5rem;
    background: var(--surface-card);
    border: 0.0938rem solid var(--blue-600);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    outline: none;
    box-shadow: 0 0 0 0.1875rem color-mix(in srgb, var(--blue-600) 12%, transparent);
}

._inlineNumberSuffix_gs5mt_1081 {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* ─── Table row selected state ───────────────────────────────────────────── */

._trSelected_gs5mt_1088 {
    background: color-mix(in srgb, var(--blue-50) 60%, transparent) !important;
    outline: none;
}

._trSelected_gs5mt_1088 td {
    border-bottom-color: var(--blue-200);
}

._editBtnActive_gs5mt_1097 {
    background: color-mix(in srgb, var(--blue-50) 80%, transparent) !important;
    color: var(--text-accent) !important;
    border-color: var(--blue-600) !important;
}

/* ─── Origin Badge ───────────────────────────────────────────────────────── */

._originBadge_gs5mt_1105 {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
}

._originAutomatic_gs5mt_1115 {
    background: color-mix(in srgb, var(--blue-50) 80%, transparent);
    color: var(--text-accent);
    border: 0.0417rem solid var(--blue-200);
}

._originManual_gs5mt_1121 {
    background: var(--slate-100);
    color: var(--text-tertiary);
    border: 0.0417rem solid var(--border-subtle);
}

/* ─── Empty State ────────────────────────────────────────────────────────── */

._emptyState_gs5mt_1129 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    text-align: center;
    gap: 1rem;
}

._emptyIcon_gs5mt_1139 {
    width: 5rem;
    height: 5rem;
    background: var(--slate-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

._emptyTitle_gs5mt_1150 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

._emptyDescription_gs5mt_1157 {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
    max-width: 26.25rem;
    line-height: 1.5;
}

._emptyActions_gs5mt_1165 {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

._emptyAddBtn_gs5mt_1171 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    height: 2.25rem;
    padding: 0 1rem;
    background: linear-gradient(to bottom, var(--blue-600), var(--blue-700));
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--action-primary-text);
    cursor: pointer;
    transition: opacity 0.15s;
}

._emptyAddBtn_gs5mt_1171:hover {
    opacity: 0.9;
}

._emptyHint_gs5mt_1190 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.625rem 1rem;
    background: var(--surface-subtle);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    max-width: 30rem;
}

/* ─── Processing Banner ──────────────────────────────────────────────────── */

._processingBanner_gs5mt_1206 {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    background: color-mix(in srgb, var(--blue-50) 60%, transparent);
    border: 0.0417rem solid var(--blue-200);
    border-radius: 8px;
}

._processingSpinner_gs5mt_1216 {
    width: 1.25rem;
    height: 1.25rem;
    border: 0.1562rem solid var(--blue-200);
    border-top-color: var(--blue-600);
    border-radius: 50%;
    animation: _spin_gs5mt_156 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes _spin_gs5mt_156 {
    to {
        transform: rotate(360deg);
    }
}

._processingText_gs5mt_1232 {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

._processingTitle_gs5mt_1238 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--blue-800);
}

._processingSubtitle_gs5mt_1244 {
    font-size: 0.75rem;
    color: var(--blue-600);
}

/* ─── Extraction Failed Banner ───────────────────────────────────────────── */

._failedBanner_gs5mt_1251 {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    margin-bottom: 1rem;
    background: var(--surface-subtle);
    border: 0.0417rem solid var(--red-300);
    border-radius: 0.5rem;
    color: var(--red-600);
}

._failedText_gs5mt_1263 {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

._failedTitle_gs5mt_1269 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--red-700);
}

._failedSubtitle_gs5mt_1275 {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* ─── Pagination ─────────────────────────────────────────────────────────── */

._pagination_gs5mt_1282 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0;
}

._paginationInfo_gs5mt_1289 {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

._paginationControls_gs5mt_1294 {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

._paginationBtn_gs5mt_1300 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
}

._paginationBtn_gs5mt_1300:hover:not(:disabled) {
    background: var(--surface-subtle);
    color: var(--text-accent);
    border-color: var(--blue-600);
}

._paginationBtn_gs5mt_1300:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

._paginationPageBtn_gs5mt_1325 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
}

._paginationPageBtn_gs5mt_1325:hover {
    background: var(--surface-subtle);
    color: var(--text-accent);
    border-color: var(--blue-600);
}

._paginationPageBtnActive_gs5mt_1347 {
    background: color-mix(in srgb, var(--blue-50) 80%, transparent);
    border-color: var(--blue-600);
    color: var(--text-accent);
    font-weight: 700;
}

._paginationEllipsis_gs5mt_1354 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 0.8125rem;
    color: var(--text-disabled);
}

/* ─── Form Row (modal) ───────────────────────────────────────────────────── */

._formRow_gs5mt_1366 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

/* ─── Drawer field value (read-only) ─────────────────────────────────────── */

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

/* ─── Row actions (edit + delete) ────────────────────────────────────────── */

._rowActions_gs5mt_1381 {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: flex-end;
}

/* ─── Delete button (table row) ──────────────────────────────────────────── */

._deleteBtn_gs5mt_1390 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: transparent;
    border: 0.0417rem solid transparent;
    border-radius: 8px;
    color: var(--text-disabled);
    cursor: pointer;
    transition: all 0.15s;
    opacity: 0;
}

._tr_gs5mt_455:hover ._deleteBtn_gs5mt_1390 {
    opacity: 1;
}

._deleteBtn_gs5mt_1390:hover {
    background: var(--error-50);
    border-color: var(--error-50);
    color: var(--error-500);
}

/* ─── Drawer footer (delete action) ──────────────────────────────────────── */

._drawerFooter_gs5mt_1417 {
    padding: 0.75rem 1rem;
    border-top: 0.0417rem solid var(--slate-100);
    flex-shrink: 0;
}

._drawerDeleteBtn_gs5mt_1423 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: 100%;
    height: 2.125rem;
    background: transparent;
    border: 0.0417rem solid var(--error-50);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--error-500);
    cursor: pointer;
    transition: all 0.15s;
}

._drawerDeleteBtn_gs5mt_1423:hover {
    background: var(--error-50);
    border-color: var(--error-500);
}

/* ─── Confirm Delete Modal ───────────────────────────────────────────────── */

._modalDelete_gs5mt_1446 {
    background: var(--surface-card);
    border-radius: 8px;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
    width: 23.75rem;
    max-width: 90vw;
    padding: 1.75rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

._deleteIconWrapper_gs5mt_1460 {
    width: 3rem;
    height: 3rem;
    background: var(--error-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

._deleteTitle_gs5mt_1471 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

._deleteDescription_gs5mt_1478 {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.5;
}

._deleteDescription_gs5mt_1478 strong {
    color: var(--text-primary);
    font-weight: 700;
}

._deleteActions_gs5mt_1490 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
}

._deleteActions_gs5mt_1490 ._modalCancel_gs5mt_708 {
    flex: 1;
}

._deleteConfirmBtn_gs5mt_1502 {
    flex: 1;
    height: 2.125rem;
    padding: 0 1rem;
    background: var(--error-500);
    border: none;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--action-primary-text);
    cursor: pointer;
    transition: background 0.15s;
}

._deleteConfirmBtn_gs5mt_1502:hover {
    background: var(--error-600);
}

/* ─── Workload Chips ─────────────────────────────────────────────────────── */

._chipRow_gs5mt_1521 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: nowrap;
    overflow: hidden;
}

._workloadChip_gs5mt_1529 {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 400;
    white-space: nowrap;
    border: 0.0417rem solid;
    line-height: 1.5;
}

._chipMore_gs5mt_1541 {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 8px;
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    background: var(--slate-100);
    border: 0.0417rem dashed var(--border-default);
    white-space: nowrap;
    line-height: 1.5;
}

/* ─── Data Source Chips ──────────────────────────────────────────────────── */

._dataSourceRow_gs5mt_1556 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    overflow: hidden;
}

._dataSourceChip_gs5mt_1563 {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    padding: 0.125rem 0.5rem;
    background: var(--surface-subtle);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    white-space: nowrap;
    max-width: 13.75rem;
    overflow: hidden;
}

._dataSourceIcon_gs5mt_1576 {
    color: var(--text-tertiary);
    flex-shrink: 0;
}

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

._dataSourceMore_gs5mt_1589 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.375rem;
    padding: 0 0.375rem;
    background: var(--slate-100);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ─── Drawer sources list ────────────────────────────────────────────────── */

._drawerSourcesList_gs5mt_1607 {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-end;
}

._drawerSourcesList_gs5mt_1607 ._dataSourceChip_gs5mt_1563 {
    max-width: 11.25rem;
}

/* ─── InlineMultiSelect (redesigned) ─────────────────────────────────────── */

._multiSelectField_gs5mt_1620 {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    width: 100%;
}

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

._multiChip_gs5mt_1633 {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    height: 1.5rem;
    padding: 0 0.375rem 0 0.5rem;
    background: var(--slate-100);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
}

._multiChipRemove_gs5mt_1649 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    min-height: 1.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-disabled);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.1s;
}

._multiChipRemove_gs5mt_1649:hover {
    background: var(--border-subtle);
    color: var(--error-500);
}

._multiSelectTrigger_gs5mt_1672 {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    height: 1.75rem;
    padding: 0 0.625rem;
    background: var(--surface-card);
    border: 0.0417rem dashed var(--border-default);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.15s;
    width: fit-content;
}

._multiSelectTrigger_gs5mt_1672:hover {
    border-color: var(--blue-600);
    color: var(--text-accent);
    background: color-mix(in srgb, var(--blue-50) 50%, transparent);
}

/* Fixed-position dropdown */
._multiSelectDropdownFixed_gs5mt_1695 {
    position: fixed;
    z-index: 9000;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.14);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 17.5rem;
}

/* Fixed-position dropdown (not modal) */
._multiSelectDropdownFixed_gs5mt_1695 {
    position: fixed;
    z-index: 9000;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.14);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 20rem;
}

._multiSelectDropdownLabel_gs5mt_1722 {
    padding: 0.625rem 0.75rem 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-disabled);
    text-transform: uppercase;
    letter-spacing: 0.0312rem;
}

._multiSelectSearch_gs5mt_1731 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    border-bottom: 0.0417rem solid var(--slate-100);
    color: var(--text-disabled);
}

._multiSelectSearchInput_gs5mt_1740 {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    background: transparent;
}

._multiSelectSearchInput_gs5mt_1740::placeholder {
    color: var(--text-disabled);
}

._multiSelectList_gs5mt_1753 {
    max-height: 13.75rem;
    overflow-y: auto;
    padding: 0.25rem 0;
}

._multiSelectItem_gs5mt_1759 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: none;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.1s;
    text-align: left;
}

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

._multiSelectItemActive_gs5mt_1778 {
    color: var(--text-accent);
    background: color-mix(in srgb, var(--blue-50) 50%, transparent);
}

._multiSelectEmpty_gs5mt_1783 {
    display: block;
    padding: 1rem 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-disabled);
    text-align: center;
}

._multiCheckbox_gs5mt_1791 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    border: 0.0938rem solid var(--border-default);
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.15s;
}

._multiCheckboxActive_gs5mt_1803 {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: var(--action-primary-text);
}

/* ─── Drawer stacked field ───────────────────────────────────────────────── */

._drawerFieldStacked_gs5mt_1811 {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.375rem 0;
}

/* ─── Form chip grid (modal) ─────────────────────────────────────────────── */

._formChipGrid_gs5mt_1820 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

._formChip_gs5mt_1820 {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    height: 1.75rem;
    padding: 0 0.625rem;
    background: var(--slate-100);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

._formChip_gs5mt_1820:hover {
    background: var(--border-subtle);
    color: var(--text-secondary);
}

._formChipSelected_gs5mt_1847 {
    border-color: currentColor;
}

._formChipSelected_gs5mt_1847:hover {
    opacity: 0.85;
}

._formHint_gs5mt_1855 {
    font-size: 0.75rem;
    color: var(--slate-400);
    font-style: italic;
}

._formChipSourceActive_gs5mt_1861 {
    background: color-mix(in srgb, var(--blue-50) 90%, transparent);
    border-color: var(--blue-600);
    color: var(--text-accent);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── ≤ 75rem: drawer stacks below ─────────────────────────────────────── */

@media (max-width: 75rem) {
    ._serversTabWithDrawer_gs5mt_747 {
        grid-template-columns: 1fr;
    }

    ._drawer_gs5mt_763 {
        position: relative;
        margin-left: 0;
        margin-top: 1rem;
        height: auto;
        max-height: 26.25rem;
    }
}

/* ─── ≤ 64rem: stats wrap, toolbar stacks ───────────────────────────────── */

@media (max-width: 64rem) {
    ._statsRow_gs5mt_38 {
        flex-wrap: wrap;
    }

    ._statCard_gs5mt_43 {
        min-width: 0;
        flex: 1 1 calc(50% - 0.5rem);
        padding: 0.625rem 0.875rem;
    }

    ._statValue_gs5mt_67 {
        font-size: 1.125rem;
    }

    ._toolbar_gs5mt_114 {
        flex-wrap: wrap;
    }
}

/* ─── ≤ 48rem: mobile-friendly layout ────────────────────────────────────── */

@media (max-width: 48rem) {
    ._statsRow_gs5mt_38 {
        gap: 0.5rem;
    }

    ._statCard_gs5mt_43 {
        flex: 1 1 calc(50% - 0.25rem);
        padding: 0.5rem 0.75rem;
    }

    ._statLabel_gs5mt_62 {
        font-size: 0.75rem;
    }

    ._statValue_gs5mt_67 {
        font-size: 1rem;
    }

    ._toolbar_gs5mt_114 {
        flex-direction: column;
        align-items: stretch;
    }

    ._toolbarLeft_gs5mt_122,
    ._toolbarRight_gs5mt_123 {
        width: 100%;
    }

    ._toolbarRight_gs5mt_123 {
        justify-content: stretch;
    }

    ._toolbarBtnPrimary_gs5mt_211 {
        flex: 1;
        justify-content: center;
    }

    /* Column picker: full width on mobile */
    ._columnPicker_gs5mt_258 {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 8px 8px 0 0;
        max-height: 60vh;
        overflow-y: auto;
        z-index: 400;
    }

    /* Dropdowns: wider on mobile */
    ._inlineDropdown_gs5mt_1000,
    ._multiSelectDropdown_gs5mt_1695 {
        min-width: 11.25rem;
        max-width: calc(100vw - 3rem);
    }

    /* Pagination stacks */
    ._pagination_gs5mt_1282 {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    /* Modal form rows stack */
    ._formRow_gs5mt_1366 {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }

    /* Drawer fields stack */
    ._drawerField_gs5mt_919 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    ._drawerFieldLabel_gs5mt_928 {
        min-width: 0;
    }

    /* Inline values full width */
    ._inlineValue_gs5mt_938 {
        max-width: 100%;
    }

    ._inlineInput_gs5mt_977 {
        width: 100%;
    }

    ._inlineMetricBtn_gs5mt_1040 {
        width: 100%;
    }

    /* Empty state */
    ._emptyState_gs5mt_1129 {
        padding: 2.5rem 1rem;
    }

    ._emptyHint_gs5mt_1190 {
        flex-direction: column;
        text-align: center;
    }
}

/* ─── ≤ 30rem: compact mobile ────────────────────────────────────────────── */

@media (max-width: 30rem) {
    ._tabTitle_gs5mt_22 {
        font-size: 0.9375rem;
    }

    ._tabSubtitle_gs5mt_30 {
        font-size: 0.75rem;
    }

    ._statCard_gs5mt_43 {
        flex: 1 1 100%;
    }

    ._toolbarBtn_gs5mt_136 {
        font-size: 0.75rem;
        padding: 0 0.625rem;
        height: 2rem;
    }

    ._toolbarBtnPrimary_gs5mt_211 {
        font-size: 0.75rem;
        height: 2rem;
    }

    /* Table cells tighter */
    ._th_gs5mt_412,
    ._thName_gs5mt_413,
    ._thActions_gs5mt_414,
    ._td_gs5mt_468,
    ._tdName_gs5mt_469,
    ._tdActions_gs5mt_470 {
        padding: 0.5rem 0.625rem;
        font-size: 0.75rem;
    }

    ._thName_gs5mt_413 {
        min-width: 7.5rem;
    }

    /* Drawer compact */
    ._drawer_gs5mt_763 {
        max-height: 22.5rem;
    }

    ._drawerIdentity_gs5mt_844 {
        padding: 0.625rem 0.75rem;
    }

    ._drawerSection_gs5mt_893 {
        padding: 0.625rem 0.75rem 0.25rem;
    }

    ._drawerServerName_gs5mt_864 {
        font-size: 0.8125rem;
    }

    /* Modal compact */
    ._modal_gs5mt_621 {
        max-height: 90vh;
        margin: 0.5rem;
    }

    ._modalHeader_gs5mt_643 {
        padding: 1rem 1rem 0.75rem;
    }

    ._modalBody_gs5mt_661 {
        padding: 1rem;
    }

    ._modalFooter_gs5mt_699 {
        padding: 0.75rem 1rem;
    }

    ._modalDelete_gs5mt_1446 {
        padding: 1.25rem 1rem 1rem;
    }

    /* Chip grids scroll */
    ._formChipGrid_gs5mt_1820 {
        max-height: 7.5rem;
        overflow-y: auto;
    }

    /* Workload chips in table */
    ._chipRow_gs5mt_1521 {
        max-width: 11.25rem;
    }

    ._dataSourceChip_gs5mt_1563 {
        max-width: 10rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEARCH & FILTERS
   ═══════════════════════════════════════════════════════════════════════════ */

._searchFilterRow_gs5mt_2117 {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

/* ─── Search box ─────────────────────────────────────────────────────────── */

._searchBox_gs5mt_2125 {
    position: relative;
    width: 25%;
    min-width: 12.5rem;
}

/* ─── No results (table) ─────────────────────────────────────────────────── */

._noResultsRow_gs5mt_2133 {
    padding: 0 !important;
}

._noResults_gs5mt_2133 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2.5rem 1.5rem;
    color: var(--text-disabled);
    font-size: 0.8125rem;
    text-align: center;
}

._noResultsClear_gs5mt_2148 {
    margin-top: 0.25rem;
    padding: 0.25rem 0.75rem;
    background: transparent;
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-accent);
    cursor: pointer;
    transition: all 0.15s;
}

._noResultsClear_gs5mt_2148:hover {
    background: color-mix(in srgb, var(--blue-50) 50%, transparent);
    border-color: var(--blue-600);
}

/* ─── Responsive: search & filters ───────────────────────────────────────── */

@media (max-width: 48rem) {
    ._filterChips_gs5mt_2168 {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }

    ._filterDivider_gs5mt_2175 {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SORTING
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Sortable column headers ────────────────────────────────────────────── */

._thSortable_gs5mt_2186 {
    cursor: pointer;
    user-select: none;
    transition: background 0.1s;
}

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

._thContent_gs5mt_2196 {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

._thHint_gs5mt_2202 {
    display: inline-flex;
    text-transform: none;
    font-weight: 400;
}

._thHintIcon_gs5mt_2208 {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    cursor: help;
}

._thHintIcon_gs5mt_2208:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
    border-radius: 2px;
}

._sortArrow_gs5mt_2220 {
    color: var(--text-accent);
    flex-shrink: 0;
    transition: transform 0.15s;
}

/* ─── Sort panel wrapper ─────────────────────────────────────────────────── */

._sortPanelWrapper_gs5mt_2228 {
    position: relative;
}

._sortIndicator_gs5mt_2232 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.125rem;
    padding: 0 0.3125rem;
    background: color-mix(in srgb, var(--blue-600) 15%, transparent);
    border-radius: 8px;
    font-size: 0.6875rem;
    color: var(--text-accent);
}

/* ─── Sort panel dropdown ────────────────────────────────────────────────── */

._sortPanel_gs5mt_2228 {
    position: absolute;
    top: calc(100% + 0.375rem);
    left: 0;
    z-index: 200;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
    width: 21.25rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

._sortPanelHeader_gs5mt_2263 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

._sortPanelTitle_gs5mt_2269 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

._sortPanelClose_gs5mt_2275 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-disabled);
    cursor: pointer;
    transition: all 0.15s;
}

._sortPanelClose_gs5mt_2275:hover {
    background: var(--slate-100);
    color: var(--text-secondary);
}

._sortPanelDesc_gs5mt_2294 {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.4;
}

/* ─── Sort row ───────────────────────────────────────────────────────────── */

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

._sortRowLabel_gs5mt_2309 {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    white-space: nowrap;
    min-width: 5.625rem;
}

._sortSelect_gs5mt_2316 {
    flex: 1;
    height: 2rem;
    padding: 0 0.625rem;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s;
    min-width: 0;
}

._sortSelect_gs5mt_2316:focus {
    border-color: var(--blue-600);
}

._sortDirBtn_gs5mt_2335 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}

._sortDirBtn_gs5mt_2335:hover {
    background: var(--surface-subtle);
    color: var(--text-accent);
    border-color: var(--blue-600);
}

._sortRemoveBtn_gs5mt_2356 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-disabled);
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}

._sortRemoveBtn_gs5mt_2356:hover {
    background: var(--error-50);
    border-color: var(--error-50);
    color: var(--error-500);
}

._sortClearAll_gs5mt_2377 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-tertiary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0;
    text-align: left;
    transition: color 0.15s;
}

._sortClearAll_gs5mt_2377:hover {
    color: var(--text-primary);
}

/* ─── Responsive: sort panel ─────────────────────────────────────────────── */

@media (max-width: 48rem) {
    ._sortPanel_gs5mt_2228 {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 8px 8px 0 0;
        z-index: 400;
        padding: 1.25rem 1rem;
    }

    ._sortRow_gs5mt_2303 {
        flex-wrap: wrap;
    }

    ._sortRowLabel_gs5mt_2309 {
        min-width: 100%;
    }

    ._sortSelect_gs5mt_2316 {
        flex: 1;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEARCH & FILTER PANEL (Jira-style)
   ═══════════════════════════════════════════════════════════════════════════ */

._searchIcon_gs5mt_2425 {
    position: absolute;
    left: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-disabled);
    pointer-events: none;
}

._searchInput_gs5mt_2434 {
    width: 100%;
    height: 2.125rem;
    padding: 0 2rem 0 2.125rem;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

._searchInput_gs5mt_2434::placeholder {
    color: var(--text-disabled);
}

._searchInput_gs5mt_2434:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 0.1875rem color-mix(in srgb, var(--blue-600) 10%, transparent);
}

._searchClear_gs5mt_2456 {
    position: absolute;
    right: 0.375rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--slate-100);
    border: none;
    border-radius: 50%;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.15s;
}

._searchClear_gs5mt_2456:hover {
    background: var(--border-subtle);
    color: var(--text-secondary);
}

/* ─── Filter panel wrapper ───────────────────────────────────────────────── */

._filterPanelWrapper_gs5mt_2481 {
    position: relative;
}

._filterBadge_gs5mt_2485 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.3125rem;
    background: color-mix(in srgb, var(--blue-600) 15%, transparent);
    border-radius: 8px;
    font-size: 0.6875rem;
    color: var(--text-accent);
}

/* ─── Filter panel dropdown ──────────────────────────────────────────────── */

._filterPanel_gs5mt_2481 {
    position: absolute;
    top: calc(100% + 0.375rem);
    left: 0;
    z-index: 200;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
    width: 23.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

._filterPanelHeader_gs5mt_2516 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

._filterPanelTitle_gs5mt_2522 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

._filterPanelClose_gs5mt_2528 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-disabled);
    cursor: pointer;
    transition: all 0.15s;
}

._filterPanelClose_gs5mt_2528:hover {
    background: var(--slate-100);
    color: var(--text-secondary);
}

._filterPanelDesc_gs5mt_2547 {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.4;
}

/* ─── Filter row ─────────────────────────────────────────────────────────── */

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

._filterSelect_gs5mt_2562 {
    flex: 1;
    height: 2rem;
    padding: 0 0.625rem;
    background: var(--surface-card);
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s;
    min-width: 0;
}

._filterSelect_gs5mt_2562:focus {
    border-color: var(--blue-600);
}

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

._filterRemoveBtn_gs5mt_2586 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: transparent;
    border: 0.0417rem solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-disabled);
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}

._filterRemoveBtn_gs5mt_2586:hover {
    background: var(--error-50);
    border-color: var(--error-50);
    color: var(--error-500);
}

._filterAddBtn_gs5mt_2607 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    height: 2rem;
    padding: 0 0.75rem;
    background: var(--surface-card);
    border: 0.0417rem dashed var(--border-default);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.15s;
    width: fit-content;
}

._filterAddBtn_gs5mt_2607:hover {
    background: var(--surface-subtle);
    border-color: var(--blue-600);
    color: var(--text-accent);
}

/* ─── Active filters bar ─────────────────────────────────────────────────── */

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

._filterResultCount_gs5mt_2638 {
    font-size: 0.75rem;
    color: var(--text-disabled);
    white-space: nowrap;
}

._activeFilterTag_gs5mt_2644 {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    height: 1.5rem;
    padding: 0 0.5rem;
    background: color-mix(in srgb, var(--blue-50) 80%, transparent);
    border: 0.0417rem solid var(--blue-200);
    border-radius: 8px;
    font-size: 0.6875rem;
    color: var(--text-accent);
    white-space: nowrap;
}

._activeFilterRemove_gs5mt_2658 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.875rem;
    height: 0.875rem;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--text-accent);
    cursor: pointer;
    transition: all 0.1s;
    padding: 0;
}

._activeFilterRemove_gs5mt_2658:hover {
    background: color-mix(in srgb, var(--blue-600) 20%, transparent);
}

._filterClearAll_gs5mt_2677 {
    display: inline-flex;
    align-items: center;
    height: 1.5rem;
    padding: 0 0.625rem;
    background: var(--surface-card);
    border: 0.0417rem solid var(--error-50);
    border-radius: 8px;
    font-size: 0.6875rem;
    color: var(--error-500);
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

._filterClearAll_gs5mt_2677:hover {
    background: var(--error-50);
    border-color: var(--error-500);
}

/* ─── Responsive: filter panel ───────────────────────────────────────────── */

@media (max-width: 48rem) {
    ._filterPanel_gs5mt_2481 {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 8px 8px 0 0;
        z-index: 400;
        padding: 1.25rem 1rem;
    }

    ._filterRow_gs5mt_2556 {
        flex-wrap: wrap;
    }

    ._filterSelect_gs5mt_2562 {
        flex: 1 1 calc(50% - 1.25rem);
    }

    ._searchBox_gs5mt_2125 {
        width: 100%;
        min-width: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

._toastContainer_gs5mt_2730 {
    position: fixed;
    top: 4.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

._toast_gs5mt_2730 {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: var(--surface-card);
    border-radius: 8px;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.08);
    border-left: 0.1875rem solid var(--border-subtle);
    pointer-events: auto;
    animation: _toastIn_gs5mt_1 0.25s ease-out;
    max-width: 22.5rem;
}

._toast_success_gs5mt_2755 {
    border-left-color: var(--success-500);
}

._toast_error_gs5mt_2759 {
    border-left-color: var(--error-500);
}

._toast_info_gs5mt_2763 {
    border-left-color: var(--blue-600);
}

._toastMessage_gs5mt_2767 {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    flex: 1;
    line-height: 1.4;
}

._toastClose_gs5mt_2774 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-disabled);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.1s;
}

._toastClose_gs5mt_2774:hover {
    background: var(--slate-100);
    color: var(--text-secondary);
}

@keyframes _toastIn_gs5mt_1 {
    from {
        opacity: 0;
        transform: translateX(1.25rem);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 30rem) {
    ._toastContainer_gs5mt_2730 {
        right: 0.75rem;
        left: 0.75rem;
    }

    ._toast_gs5mt_2730 {
        max-width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BULK SELECTION
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Checkbox ───────────────────────────────────────────────────────────── */

._thCheck_gs5mt_2823,
._tdCheck_gs5mt_2824 {
    width: 2.5rem;
    padding: 0.625rem 0.75rem;
    text-align: center;
    vertical-align: middle;
    border-bottom: 0.0417rem solid var(--border-subtle);
}

._thCheck_gs5mt_2823 {
    background: var(--surface-card);
    font-size: 0.75rem;
}

/* Hide checkboxes by default, show on hover or selection mode */
._thCheck_gs5mt_2823 ._checkboxBox_gs5mt_2838,
._tdCheck_gs5mt_2824 ._checkboxBox_gs5mt_2838 {
    opacity: 0;
    transition: opacity 0.15s;
}

._thCheck_gs5mt_2823:hover ._checkboxBox_gs5mt_2838,
._tr_gs5mt_455:hover ._tdCheck_gs5mt_2824 ._checkboxBox_gs5mt_2838,
._trChecked_gs5mt_2846 ._tdCheck_gs5mt_2824 ._checkboxBox_gs5mt_2838,
._tableSelectionMode_gs5mt_2847 ._thCheck_gs5mt_2823 ._checkboxBox_gs5mt_2838,
._tableSelectionMode_gs5mt_2847 ._tdCheck_gs5mt_2824 ._checkboxBox_gs5mt_2838 {
    opacity: 1;
}

._checkboxLabel_gs5mt_2852 {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

._checkboxInput_gs5mt_2859 {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

._checkboxBox_gs5mt_2838 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    background: var(--surface-card);
    border: 0.0938rem solid var(--border-default);
    border-radius: 8px;
    transition: all 0.15s;
    color: var(--action-primary-text);
}

._checkboxBox_gs5mt_2838:hover {
    border-color: var(--blue-600);
}

._checkboxBoxActive_gs5mt_2884 {
    background: var(--blue-600);
    border-color: var(--blue-600);
}

/* ─── Selection mode class on table ──────────────────────────────────────── */

._tableSelectionMode_gs5mt_2847 {
    /* marker class — used by child selectors above */
}

/* ─── Row checked state ──────────────────────────────────────────────────── */

._trChecked_gs5mt_2846 {
    background: color-mix(in srgb, var(--blue-50) 40%, transparent) !important;
}

/* ─── Bulk action bar ────────────────────────────────────────────────────── */

._bulkBar_gs5mt_2903 {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: var(--text-primary);
    border-radius: 8px;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.25);
    animation: _bulkBarIn_gs5mt_1 0.2s ease-out;
}

._bulkCount_gs5mt_2919 {
    font-size: 0.8125rem;
    color: var(--action-primary-text);
    white-space: nowrap;
}

._bulkDeselectBtn_gs5mt_2925 {
    height: 1.875rem;
    padding: 0 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 0.0417rem solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

._bulkDeselectBtn_gs5mt_2925:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--action-primary-text);
}

._bulkDeleteBtn_gs5mt_2943 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    height: 1.875rem;
    padding: 0 0.875rem;
    background: var(--error-500);
    border: none;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--action-primary-text);
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

._bulkDeleteBtn_gs5mt_2943:hover {
    background: var(--error-600);
}

@keyframes _bulkBarIn_gs5mt_1 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(0.75rem);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 30rem) {
    ._bulkBar_gs5mt_2903 {
        left: 0.75rem;
        right: 0.75rem;
        transform: none;
        bottom: 0.75rem;
    }

    @keyframes _bulkBarIn_gs5mt_1 {
        from {
            opacity: 0;
            transform: translateY(0.75rem);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ─── View Toggle (table / cards) ────────────────────────────────────── */

._viewToggle_gs5mt_2998 {
    display: flex;
    align-items: stretch;
    border: 0.667px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
}

._viewToggleBtn_gs5mt_3006 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 26px;
    background: var(--surface-card);
    border: none;
    cursor: pointer;
    color: var(--text-tertiary);
    padding: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

._viewToggleBtn_gs5mt_3006:not(:first-child) {
    border-left: 0.667px solid var(--border-subtle);
}

._viewToggleBtn_gs5mt_3006:hover:not(._viewToggleBtnActive_gs5mt_3024) {
    background: var(--surface-subtle);
}

._viewToggleBtnActive_gs5mt_3024 {
    background: var(--blue-50);
    color: var(--text-accent);
}

/* ─── Server Cards (workload-level view) ─────────────────────────────── */

._serverCardsGrid_gs5mt_3035 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20.5rem, 1fr));
    gap: 1.25rem;
    padding: 0.5rem 0;
}

._serverCard_gs5mt_3035 {
    background: var(--surface-card);
    border: 0.667px solid var(--border-subtle);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

._serverCard_gs5mt_3035:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* ─── Header section (hostname + IP + env badge) ────────────────────────── */

._serverCardHeaderSection_gs5mt_3062 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 8px;
    border-bottom: 0.667px solid var(--border-subtle);
}

._serverCardNameRow_gs5mt_3070 {
    display: flex;
    align-items: center;
    gap: 8px;
}

._serverCardSvgIcon_gs5mt_3076 {
    flex-shrink: 0;
    color: var(--slate-900);
}

._serverCardTitle_gs5mt_3081 {
    font-size: 14px;
    font-weight: 500;
    color: var(--slate-900);
    line-height: 20px;
    margin: 0;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

._serverCardEnvBadge_gs5mt_3094 {
    font-size: 11px;
    font-weight: 500;
    line-height: 16.5px;
    padding: 2px 8px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

._serverCardIp_gs5mt_3104 {
    font-family: var(--font-family-mono);
    font-size: 11px;
    font-weight: 400;
    line-height: 16.5px;
    color: var(--text-tertiary);
    margin: 0;
}

/* ─── Status + Uptime row ───────────────────────────────────────────────── */

._serverCardStatusRow_gs5mt_3115 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

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

._serverCardStatusDot_gs5mt_3128 {
    width: 6px;
    height: 6px;
    border-radius: 8px;
    flex-shrink: 0;
}

._serverCardStatusText_gs5mt_3135 {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

._serverCardUptime_gs5mt_3141 {
    font-size: 11px;
    line-height: 16.5px;
    margin: 0;
}

._serverCardUptimeLabel_gs5mt_3147 {
    color: var(--text-tertiary);
    font-weight: 400;
}

._serverCardUptimeValue_gs5mt_3152 {
    color: var(--slate-900);
    font-weight: 500;
}

/* ─── Detail rows section ───────────────────────────────────────────────── */

._serverCardDetails_gs5mt_3159 {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}

._serverCardDetailRow_gs5mt_3165 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 0.667px solid var(--slate-100);
    min-height: 29px;
}

._serverCardDetailRowWrap_gs5mt_3175 {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 6px 0;
    min-height: auto;
}

._serverCardDetailRowLast_gs5mt_3182 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0 0 0;
    min-height: 32px;
}

._serverCardDetailLabel_gs5mt_3191 {
    font-size: 11px;
    font-weight: 500;
    line-height: 16.5px;
    color: var(--text-tertiary);
    letter-spacing: 0.55px;
    flex-shrink: 0;
}

._serverCardDetailValue_gs5mt_3200 {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--slate-800);
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

._serverCardDetailValueMono_gs5mt_3211 {
    font-family: var(--font-family-mono);
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
    color: var(--slate-800);
    text-align: right;
}

._serverCardStatusDotSmall_gs5mt_3220 {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 8px;
    margin-right: 6px;
    vertical-align: middle;
}

/* ─── Bar metrics (CPU / Disco) ─────────────────────────────────────────── */

._serverCardBarGroup_gs5mt_3231 {
    display: flex;
    align-items: center;
    gap: 8px;
}

._serverCardBarTrack_gs5mt_3237 {
    width: 80px;
    height: 6px;
    background: var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

._serverCardBarValue_gs5mt_3252 {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: var(--slate-700);
    text-align: right;
    min-width: 28px;
}

/* ─── Workload chips in card ────────────────────────────────────────────── */

._serverCardChips_gs5mt_3263 {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
    flex: 1;
}

._serverCardChip_gs5mt_3263 {
    font-size: 10px;
    font-weight: 500;
    line-height: 16px;
    padding: 2px 8px;
    border-radius: 8px;
    white-space: nowrap;
}

._serverCardChipMore_gs5mt_3280 {
    font-size: 10px;
    font-weight: 500;
    line-height: 16px;
    color: var(--slate-600);
    padding: 2px 6px;
    background: var(--slate-100);
    border: 0.667px dashed var(--border-default);
    border-radius: 8px;
    white-space: nowrap;
}

/* ─── Origin in card ────────────────────────────────────────────────────── */

._serverCardOrigin_gs5mt_3294 {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
}

._serverCardOriginIcon_gs5mt_3301 {
    flex-shrink: 0;
    color: var(--slate-900);
}

._serverCardOriginText_gs5mt_3306 {
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
    color: var(--text-accent);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─── Card footer counter ───────────────────────────────────────────────── */

._serverCardFooter_gs5mt_3318 {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0 0 0;
    margin-top: 4px;
    border-top: 0.667px dashed var(--border-subtle);
    font-size: 10px;
    font-weight: 500;
    color: var(--slate-400);
    letter-spacing: 0.2px;
}

._serverCardFooter_gs5mt_3318 svg {
    color: var(--slate-400);
    flex-shrink: 0;
}

._serverCardFooterHint_gs5mt_3336 {
    color: var(--border-default);
}


/* ─── Skeleton Loading ──────────────────────────────────────────────────── */

@keyframes _shimmer_gs5mt_1 {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

._skeletonContainer_gs5mt_3353 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
}

._skeletonToolbar_gs5mt_3360 {
    display: flex;
    align-items: center;
    gap: 8px;
}

._skeletonBtn_gs5mt_3366 {
    width: 90px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--slate-100) 25%, var(--border-subtle) 50%, var(--slate-100) 75%);
    background-size: 200% 100%;
    animation: _shimmer_gs5mt_1 1.5s infinite ease-in-out;
}

._skeletonTable_gs5mt_3375 {
    display: flex;
    flex-direction: column;
    border: 0.667px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
}

._skeletonTableHeader_gs5mt_3383 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--surface-subtle);
    border-bottom: 0.667px solid var(--border-subtle);
}

._skeletonHeaderCell_gs5mt_3392 {
    height: 12px;
    flex: 1;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--border-subtle) 25%, var(--slate-300) 50%, var(--border-subtle) 75%);
    background-size: 200% 100%;
    animation: _shimmer_gs5mt_1 1.5s infinite ease-in-out;
}

._skeletonTableRow_gs5mt_3401 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 0.667px solid var(--slate-100);
}

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

._skeletonCell_gs5mt_3413 {
    height: 10px;
    flex: 1;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--slate-100) 25%, var(--border-subtle) 50%, var(--slate-100) 75%);
    background-size: 200% 100%;
    animation: _shimmer_gs5mt_1 1.5s infinite ease-in-out;
}

._skeletonTableRow_gs5mt_3401:nth-child(odd) ._skeletonCell_gs5mt_3413 {
    animation-delay: 0.15s;
}

._truncateCell_gs5mt_3426 {
    display: block;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Reprocessar badge */
._reproCountBadge_gs5mt_3435 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 8px;
  background: var(--accent-fg-alpha-12);
  color: var(--accent-fg);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}


._bulkEditBtn_gs5mt_3451 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    height: 1.875rem;
    padding: 0 0.875rem;
    background: var(--action-primary-bg);
    border: none;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    color: var(--text-inverse);
    cursor: pointer;
    transition: background 0.15s;
}

._bulkEditBtn_gs5mt_3451:hover {
    background: var(--action-primary-bg-active);
}
._skeletonBlock_gs5mt_3469 {
    border-radius: 8px;
    background: linear-gradient(90deg, var(--slate-100) 25%, var(--border-subtle) 50%, var(--slate-100) 75%);
    background-size: 200% 100%;
    animation: _shimmer_gs5mt_1 1.5s infinite ease-in-out;
}
._inventory_46baf_1 {
  /* Natural flow (same as the full-assessment ProjectServersTab): no fixed
     height and no inner scroll — the outer .cardContent auto-scrolls the whole
     tab, so the inventory scrolls exactly like the other inventory. */
  display: flex;
  flex-direction: column;
}

/* Fixed header — title, subtitle, info banner and action buttons stay pinned
   at the top (sticky) while the body below scrolls within .cardContent. The
   negative top offset equals the card's own top padding so the header pins
   flush at the visible top edge with no gap; negative side/top margins +
   matching padding let the header background cover the card's padding. */
._header_46baf_14 {
  position: sticky;
  top: -1.5rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: -1.5rem -1.5rem 1.25rem -1.5rem;
  padding: 1.5rem 1.5rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-card);
  flex-shrink: 0;
}

._title_46baf_28 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

._subtitle_46baf_35 {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* Body — natural flow; the outer .cardContent handles the scroll. */
._scrollBody_46baf_42 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Banner + primary actions (inside the fixed header) */
._topRow_46baf_49 {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

._infoBanner_46baf_57 {
  flex: 1;
  min-width: 18rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--info-50);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  color: var(--action-primary-bg);
}

._infoBannerText_46baf_70 {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

._primaryActions_46baf_77 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

._secondaryButton_46baf_84 {
  height: 2.5rem;
  padding: 0 1.125rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

._secondaryButton_46baf_84:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._primaryButton_46baf_101 {
  height: 2.5rem;
  padding: 0 1.125rem;
  background: var(--action-primary-bg);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

._primaryButton_46baf_101:hover {
  opacity: 0.9;
}

/* Toolbar (inside the fixed header) */
._toolbar_46baf_119 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

._searchBox_46baf_127 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-width: 10rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  color: var(--text-tertiary);
}

._searchInput_46baf_141 {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.875rem;
  color: var(--text-primary);
}

._searchInput_46baf_141::placeholder {
  color: var(--text-disabled);
}

._viewToggle_46baf_155 {
  display: inline-flex;
  padding: 0.1875rem;
  background: var(--slate-50);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
}

._viewItem_46baf_163 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 1.875rem;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: var(--text-tertiary);
  cursor: pointer;
}

._viewItemActive_46baf_176 {
  background: var(--surface-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}

._toolButton_46baf_182 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
}

._toolButton_46baf_182:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._toolBadge_46baf_202 {
  padding: 0.0625rem 0.375rem;
  background: var(--slate-100);
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

._addButton_46baf_211 {
  align-self: flex-start;
  height: 2.5rem;
  padding: 0 1.125rem;
  background: var(--action-primary-bg);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

._addButton_46baf_211:hover {
  opacity: 0.9;
}

/* Table */
._tableWrap_46baf_230 {
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  overflow: hidden;
}

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

._table_46baf_230 thead th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border-bottom: 1px solid var(--border-default);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-tertiary);
}

._table_46baf_230 tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

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

._checkCol_46baf_263 {
  width: 2.5rem;
}

._checkCol_46baf_263 input {
  accent-color: var(--action-primary-bg);
}

._hostname_46baf_271 {
  font-weight: 700;
  color: var(--text-primary);
}

._editLink_46baf_276 {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-bg);
  cursor: pointer;
}

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

._emptyRow_46baf_290 {
  text-align: center;
  color: var(--text-tertiary);
  padding: 2rem 1rem;
}

/* Migration dropdown */
._migrationWrap_46baf_297 {
  position: relative;
  display: inline-block;
}

._migrationButton_46baf_302 {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem;
  min-width: 7rem;
  width: max-content;
  height: 2rem;
  padding: 0 0.625rem;
  background: var(--success-50);
  border: 1px solid var(--green-200);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--success-700);
  white-space: nowrap;
  cursor: pointer;
}

._migrationButtonNo_46baf_321 {
  background: var(--slate-100);
  border-color: var(--border-default);
  color: var(--text-tertiary);
}

._migrationOverlay_46baf_327 {
  position: fixed;
  inset: 0;
  z-index: 10;
}

._migrationMenu_46baf_333 {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  z-index: 11;
  min-width: 10rem;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
}

._migrationOption_46baf_348 {
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.625rem;
  background: none;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  cursor: pointer;
}

._migrationOption_46baf_348:hover {
  background: var(--slate-50);
}

/* Bulk-action toolbar (shown when rows are selected). */
._bulkBar_46baf_365 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  padding: 0.625rem 0.875rem;
  background: var(--info-50);
  border: 1px solid var(--action-primary-bg);
  border-radius: 0.625rem;
}

._bulkCount_46baf_376 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--action-primary-bg);
}

._bulkButton_46baf_382 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 0.875rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

._bulkButton_46baf_382:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._bulkDelete_46baf_402 {
  display: inline-flex;
  align-items: center;
  height: 2.25rem;
  padding: 0 0.875rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-error);
  cursor: pointer;
}

._bulkDelete_46baf_402:hover {
  border-color: var(--border-error);
  background: var(--error-50);
}

._bulkClear_46baf_421 {
  margin-left: auto;
  background: none;
  border: none;
  padding: 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-tertiary);
  cursor: pointer;
}

._bulkClear_46baf_421:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Highlight selected rows. */
._rowSelected_46baf_438 td {
  background: var(--info-50);
}

/* Edit resource side drawer */
._drawerOverlay_46baf_443 {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: var(--surface-overlay);
}

._drawer_46baf_443 {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1201;
  width: min(26rem, 92vw);
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  box-shadow: var(--shadow-lg);
}

._drawerHeader_46baf_463 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

._drawerTitle_46baf_473 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

._drawerSubtitle_46baf_480 {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._drawerClose_46baf_486 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  border-radius: 0.375rem;
  color: var(--text-tertiary);
  cursor: pointer;
}

._drawerClose_46baf_486:hover {
  background: var(--slate-50);
  color: var(--text-secondary);
}

._drawerBody_46baf_504 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1.5rem;
}

._field_46baf_514 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._fieldRow_46baf_520 {
  display: flex;
  gap: 1rem;
}

._fieldRow_46baf_520 ._field_46baf_514 {
  flex: 1;
}

._fieldLabel_46baf_529 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

._fieldInput_46baf_535 {
  height: 2.5rem;
  padding: 0 0.75rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  outline: none;
}

._fieldInput_46baf_535:focus {
  border-color: var(--action-primary-bg);
}

._fieldHint_46baf_550 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

._drawerFooter_46baf_556 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

._drawerFooterRight_46baf_566 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

._drawerDelete_46baf_572 {
  background: none;
  border: none;
  padding: 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-error);
  cursor: pointer;
}

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

._drawerCancel_46baf_586 {
  height: 2.5rem;
  padding: 0 1.125rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

._drawerCancel_46baf_586:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._drawerSave_46baf_603 {
  height: 2.5rem;
  padding: 0 1.125rem;
  background: var(--action-primary-bg);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

._drawerSave_46baf_603:hover {
  opacity: 0.9;
}

/* ── Grupo AWS before/after analysis (RN-13) ─────────────────────────────── */
._toolButtonActive_46baf_621 {
  background: var(--info-50);
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

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

._awsGroupName_46baf_633 {
  font-weight: 600;
  color: var(--text-primary);
}

._awsGroupConsult_46baf_638 {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--action-primary-bg);
  cursor: pointer;
}

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

/* "Adicionar item" row below the toolbar */
._addItemRow_46baf_653 {
  display: flex;
  margin-top: 0.75rem;
}

/* ── Toolbar dropdown panels (filter / columns / sort) ───────────────────── */
._toolWrap_46baf_659 {
  position: relative;
  display: inline-block;
}

._panel_46baf_664 {
  position: absolute;
  top: calc(100% + 0.375rem);
  right: 0;
  z-index: 30;
  width: 20rem;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0.875rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  box-shadow: var(--shadow-lg);
}

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

._panelTitle_46baf_688 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
}

._panelClose_46baf_694 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  background: none;
  border: none;
  border-radius: 0.375rem;
  color: var(--text-tertiary);
  cursor: pointer;
}

._panelClose_46baf_694:hover {
  background: var(--slate-50);
  color: var(--text-secondary);
}

._panelReset_46baf_712 {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--action-primary-bg);
  cursor: pointer;
}

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

._panelEmpty_46baf_726 {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._panelSelect_46baf_732 {
  flex: 1;
  min-width: 0;
  height: 2.25rem;
  padding: 0 0.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
}

._panelSelect_46baf_732:focus {
  border-color: var(--action-primary-bg);
}

._panelSelect_46baf_732:disabled {
  background: var(--slate-50);
  color: var(--text-disabled);
  cursor: not-allowed;
}

._panelIconBtn_46baf_756 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  color: var(--text-tertiary);
  cursor: pointer;
}

._panelIconBtn_46baf_756:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._panelAddBtn_46baf_775 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--action-primary-bg);
  cursor: pointer;
}

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

._panelClearAll_46baf_793 {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-tertiary);
  cursor: pointer;
}

._panelClearAll_46baf_793:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}

._filterRow_46baf_809,
._sortRow_46baf_810 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

._sortLabel_46baf_816 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Column chips */
._columnChips_46baf_824 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

._columnChip_46baf_824 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 1.875rem;
  padding: 0 0.625rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
}

._columnChip_46baf_824:hover {
  border-color: var(--action-primary-bg);
}

._columnChipActive_46baf_849 {
  background: var(--info-50);
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
  font-weight: 600;
}

/* Active filters bar */
._activeFiltersBar_46baf_857 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

._filterResultCount_46baf_865 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

._activeFilterTag_46baf_871 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1875rem 0.5rem;
  background: var(--info-50);
  border: 1px solid var(--action-primary-bg);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--action-primary-bg);
}

._activeFilterRemove_46baf_884 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  color: var(--action-primary-bg);
  cursor: pointer;
}

._filterClearAll_46baf_895 {
  background: none;
  border: none;
  padding: 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-tertiary);
  cursor: pointer;
}

._filterClearAll_46baf_895:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* ── Grid (cards) view ───────────────────────────────────────────────────── */
._cardsGrid_46baf_911 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.875rem;
}

._card_46baf_3 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
}

._cardSelected_46baf_927 {
  border-color: var(--action-primary-bg);
  background: var(--info-50);
}

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

._cardCheck_46baf_939 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  cursor: pointer;
}

._cardCheck_46baf_939 input {
  accent-color: var(--action-primary-bg);
}

._cardHostname_46baf_951 {
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._cardFields_46baf_959 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._cardField_46baf_959 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._cardFieldLabel_46baf_974 {
  color: var(--text-tertiary);
}

._cardFooter_46baf_978 {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border-subtle);
}

._gridEmpty_46baf_985 {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-tertiary);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
}

/* ── Reprocessing banner + spinner ───────────────────────────────────────── */
._processingBanner_46baf_994 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--info-50);
  border: 1px solid var(--action-primary-bg);
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-bg);
}

._spinning_46baf_1007 {
  animation: _inventorySpin_46baf_1 0.9s linear infinite;
}

@keyframes _inventorySpin_46baf_1 {
  to { transform: rotate(360deg); }
}

/* Disabled toolbar/secondary buttons while reprocessing. */
._toolButton_46baf_182:disabled,
._secondaryButton_46baf_84:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* Sizing override for the shared Modal wrapper */
._modalSizing_mji1e_2 {
  max-width: 680px;
}

._headerIcon_mji1e_6 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-fg-alpha-08);
  color: var(--accent-fg);
  flex-shrink: 0;
}

._subtitle_mji1e_18 {
  font-size: 12.5px;
  color: var(--text-tertiary);
  margin: 2px 0 12px;
}

._body_mji1e_24 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

._selectAllRow_mji1e_30 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
}

._checkboxLabel_mji1e_37 {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

._checkbox_mji1e_37 {
  width: 18px;
  height: 18px;
  border-radius: 8px;
  border: 1.5px solid var(--border-default);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--action-primary-text);
  transition: all 0.15s;
  flex-shrink: 0;
}

._checkboxChecked_mji1e_57 {
  background: var(--accent-fg);
  border-color: var(--accent-fg);
}

._selectAllText_mji1e_62 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

._selectedCount_mji1e_68 {
  font-size: 12px;
  color: var(--text-tertiary);
}

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

._documentItem_mji1e_79 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s;
}

._documentItem_mji1e_79:hover {
  border-color: var(--border-default);
}

._fileIcon_mji1e_94 {
  color: var(--text-disabled);
  flex-shrink: 0;
}

._fileInfo_mji1e_99 {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

._fileName_mji1e_107 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._fileMeta_mji1e_116 {
  font-size: 11.5px;
  color: var(--text-disabled);
}

._fileTag_mji1e_121 {
  font-size: 12px;
  color: var(--text-tertiary);
  white-space: nowrap;
}

._infoNote_mji1e_127 {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  background: var(--dark-warn-fg);
  border: 1px solid var(--dark-warn-muted);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--dark-warn-border);
  line-height: 1.5;
}

._infoIcon_mji1e_140 {
  flex-shrink: 0;
  font-size: 14px;
}

._footer_mji1e_145 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid var(--border-subtle);
  gap: 12px;
  flex-wrap: nowrap;
}

._footerInfo_mji1e_156 {
  font-size: 12px;
  color: var(--text-tertiary);
  white-space: nowrap;
}

._footerActions_mji1e_162 {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

._cancelBtn_mji1e_168 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._cancelBtn_mji1e_168:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-secondary);
}

._primaryBtn_mji1e_188 {
  height: 34px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  background: var(--accent-fg);
  font-size: 13px;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}

._primaryBtn_mji1e_188:hover {
  opacity: 0.9;
}

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


/* Main-side functional selectors retained for the API-backed modal. */
._loadingCenter_mji1e_213 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0;
}

._spinner_mji1e_220 {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-default);
  border-top-color: var(--action-ai-bg);
  border-radius: 50%;
  animation: _reprocessSpin_mji1e_1 0.7s linear infinite;
}

@keyframes _reprocessSpin_mji1e_1 {
  to { transform: rotate(360deg); }
}

._emptyState_mji1e_233 {
  text-align: center;
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-tertiary);
}
.react-datepicker__navigation-icon::before, .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  border-color: #ccc;
  border-style: solid;
  border-width: 3px 3px 0 0;
  content: "";
  display: block;
  height: 9px;
  position: absolute;
  top: 6px;
  width: 9px;
}
.react-datepicker__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.react-datepicker-wrapper {
  display: inline-block;
  padding: 0;
  border: 0;
}

.react-datepicker {
  font-family: "Helvetica Neue", helvetica, arial, sans-serif;
  font-size: 0.8rem;
  background-color: #fff;
  color: #000;
  border: 1px solid #aeaeae;
  border-radius: 0.3rem;
  display: inline-block;
  position: relative;
  line-height: initial;
}

.react-datepicker--time-only .react-datepicker__time-container {
  border-left: 0;
}
.react-datepicker--time-only .react-datepicker__time,
.react-datepicker--time-only .react-datepicker__time-box {
  border-bottom-left-radius: 0.375em;
  border-bottom-right-radius: 0.375em;
}

.react-datepicker-popper {
  z-index: 1;
  line-height: 0;
}
.react-datepicker-popper .react-datepicker__triangle {
  stroke: #aeaeae;
}
.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {
  fill: #f0f0f0;
  color: #f0f0f0;
}
.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {
  fill: #fff;
  color: #fff;
}
.react-datepicker-popper--header-middle[data-placement^=bottom] .react-datepicker__triangle, .react-datepicker-popper--header-bottom[data-placement^=bottom] .react-datepicker__triangle {
  fill: #fff;
  color: #fff;
}
.react-datepicker-popper--header-bottom[data-placement^=top] .react-datepicker__triangle {
  fill: #f0f0f0;
  color: #f0f0f0;
}

.react-datepicker__header {
  text-align: center;
  background-color: #f0f0f0;
  border-bottom: 1px solid #aeaeae;
  border-top-left-radius: 0.3rem;
  padding: 8px 0;
  position: relative;
}
.react-datepicker__header--time {
  padding-bottom: 8px;
  padding-left: 5px;
  padding-right: 5px;
}
.react-datepicker__header--time:not(.react-datepicker__header--time--only) {
  border-top-left-radius: 0;
}
.react-datepicker__header:not(.react-datepicker__header--has-time-select, .react-datepicker__header--middle, .react-datepicker__header--bottom) {
  border-top-right-radius: 0.3rem;
}
.react-datepicker__header--middle {
  border-top: 1px solid #aeaeae;
  border-radius: 0;
  margin-top: 4px;
}
.react-datepicker__header--bottom {
  border-bottom: none;
  border-top: 1px solid #aeaeae;
  border-radius: 0 0 0.3rem 0.3rem;
}

.react-datepicker__header-wrapper {
  position: relative;
}
.react-datepicker__header-wrapper .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {
  right: 2px;
}

.react-datepicker__year-dropdown-container--select,
.react-datepicker__month-dropdown-container--select,
.react-datepicker__month-year-dropdown-container--select,
.react-datepicker__year-dropdown-container--scroll,
.react-datepicker__month-dropdown-container--scroll,
.react-datepicker__month-year-dropdown-container--scroll {
  display: inline-block;
  margin: 0 15px;
}

.react-datepicker__month-select,
.react-datepicker__year-select,
.react-datepicker__month-year-select {
  background-color: transparent;
  border: 1px solid #aeaeae;
  border-radius: 0.3rem;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  margin-top: 5px;
  padding: 2px 5px;
}
.react-datepicker__month-select:focus-visible,
.react-datepicker__year-select:focus-visible,
.react-datepicker__month-year-select:focus-visible {
  outline: auto 1px;
}

.react-datepicker__current-month,
.react-datepicker-time__header,
.react-datepicker-year-header {
  margin-top: 0;
  color: #000;
  font-weight: bold;
  font-size: 0.944rem;
}

h2.react-datepicker__current-month {
  padding: 0;
  margin: 0;
}

.react-datepicker-time__header {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.react-datepicker__navigation {
  align-items: center;
  background: none;
  display: flex;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  position: absolute;
  top: 2px;
  padding: 0;
  border: none;
  z-index: 1;
  height: 32px;
  width: 32px;
  text-indent: -999em;
  overflow: hidden;
}
.react-datepicker__navigation--previous {
  left: 2px;
}
.react-datepicker__navigation--next {
  right: 2px;
}
.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {
  right: 85px;
}
.react-datepicker__navigation--years {
  position: relative;
  top: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.react-datepicker__navigation--years-previous {
  top: 4px;
}
.react-datepicker__navigation--years-upcoming {
  top: -4px;
}
.react-datepicker__navigation:hover *::before {
  border-color: rgb(165.75, 165.75, 165.75);
}

.react-datepicker__navigation-icon {
  position: relative;
  top: -1px;
  font-size: 20px;
  width: 0;
}
.react-datepicker__navigation-icon--next {
  left: -2px;
}
.react-datepicker__navigation-icon--next::before {
  transform: rotate(45deg);
  left: -7px;
}
.react-datepicker__navigation-icon--previous {
  right: -2px;
}
.react-datepicker__navigation-icon--previous::before {
  transform: rotate(225deg);
  right: -7px;
}

.react-datepicker__month-container {
  float: left;
}

.react-datepicker__year {
  margin: 0.5em;
  text-align: center;
}
.react-datepicker__year-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 180px;
}
.react-datepicker__year .react-datepicker__year-text {
  display: inline-block;
  width: 5em;
  margin: 2px;
}

.react-datepicker__month {
  margin: 0.5em;
  text-align: center;
}
.react-datepicker__month .react-datepicker__month-text,
.react-datepicker__month .react-datepicker__quarter-text {
  display: inline-block;
  width: 5em;
  margin: 2px;
}

.react-datepicker__input-time-container {
  clear: both;
  width: 100%;
  float: left;
  margin: 5px 0 10px 15px;
  text-align: left;
}
.react-datepicker__input-time-container .react-datepicker-time__caption {
  display: inline-block;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container {
  display: inline-block;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {
  display: inline-block;
  margin-left: 10px;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {
  width: auto;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {
  -moz-appearance: textfield;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {
  margin-left: 5px;
  display: inline-block;
}

.react-datepicker__time-container {
  float: right;
  border-left: 1px solid #aeaeae;
  width: 85px;
}
.react-datepicker__time-container--with-today-button {
  display: inline;
  border: 1px solid #aeaeae;
  border-radius: 0.375em;
  position: absolute;
  right: -87px;
  top: 0;
}
.react-datepicker__time-container .react-datepicker__time {
  position: relative;
  background: white;
  border-bottom-right-radius: 0.375em;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {
  width: 85px;
  overflow-x: hidden;
  margin: 0 auto;
  text-align: center;
  border-bottom-right-radius: 0.375em;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {
  list-style: none;
  margin: 0;
  height: calc(195px + 2.125em / 2);
  overflow-y: scroll;
  padding-right: 0;
  padding-left: 0;
  width: 100%;
  box-sizing: content-box;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {
  height: 30px;
  padding: 5px 10px;
  white-space: nowrap;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {
  cursor: pointer;
  background-color: #f0f0f0;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {
  background-color: #216ba5;
  color: white;
  font-weight: bold;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {
  background-color: #216ba5;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {
  color: #ccc;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {
  cursor: default;
  background-color: transparent;
}

.react-datepicker__week-number {
  color: #ccc;
  display: inline-block;
  width: 2.125em;
  line-height: 2.125em;
  text-align: center;
  margin: 0.208em;
}
.react-datepicker__week-number.react-datepicker__week-number--clickable {
  cursor: pointer;
}
.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected):hover {
  border-radius: 0.3rem;
  background-color: #f0f0f0;
}
.react-datepicker__week-number--selected {
  border-radius: 0.3rem;
  background-color: #216ba5;
  color: #fff;
}
.react-datepicker__week-number--selected:hover {
  background-color: rgb(28.75, 93.2196969697, 143.75);
}

.react-datepicker__day-names {
  text-align: center;
  white-space: nowrap;
  margin-bottom: -8px;
}

.react-datepicker__week {
  white-space: nowrap;
}

.react-datepicker__day-name,
.react-datepicker__day,
.react-datepicker__time-name {
  color: #000;
  display: inline-block;
  width: 2.125em;
  line-height: 2.125em;
  text-align: center;
  margin: 0.208em;
}
.react-datepicker__day-name--disabled,
.react-datepicker__day--disabled,
.react-datepicker__time-name--disabled {
  cursor: default;
  color: #ccc;
}

.react-datepicker__day,
.react-datepicker__month-text,
.react-datepicker__quarter-text,
.react-datepicker__year-text {
  cursor: pointer;
}
.react-datepicker__day:not([aria-disabled=true]):hover,
.react-datepicker__month-text:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text:not([aria-disabled=true]):hover,
.react-datepicker__year-text:not([aria-disabled=true]):hover {
  border-radius: 0.3rem;
  background-color: #f0f0f0;
}
.react-datepicker__day--today,
.react-datepicker__month-text--today,
.react-datepicker__quarter-text--today,
.react-datepicker__year-text--today {
  font-weight: bold;
}
.react-datepicker__day--highlighted,
.react-datepicker__month-text--highlighted,
.react-datepicker__quarter-text--highlighted,
.react-datepicker__year-text--highlighted {
  border-radius: 0.3rem;
  background-color: #3dcc4a;
  color: #fff;
}
.react-datepicker__day--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover {
  background-color: rgb(49.8551020408, 189.6448979592, 62.5632653061);
}
.react-datepicker__day--highlighted-custom-1,
.react-datepicker__month-text--highlighted-custom-1,
.react-datepicker__quarter-text--highlighted-custom-1,
.react-datepicker__year-text--highlighted-custom-1 {
  color: magenta;
}
.react-datepicker__day--highlighted-custom-2,
.react-datepicker__month-text--highlighted-custom-2,
.react-datepicker__quarter-text--highlighted-custom-2,
.react-datepicker__year-text--highlighted-custom-2 {
  color: green;
}
.react-datepicker__day--holidays,
.react-datepicker__month-text--holidays,
.react-datepicker__quarter-text--holidays,
.react-datepicker__year-text--holidays {
  position: relative;
  border-radius: 0.3rem;
  background-color: #ff6803;
  color: #fff;
}
.react-datepicker__day--holidays .overlay,
.react-datepicker__month-text--holidays .overlay,
.react-datepicker__quarter-text--holidays .overlay,
.react-datepicker__year-text--holidays .overlay {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 4px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease-in-out;
}
.react-datepicker__day--holidays:not([aria-disabled=true]):hover,
.react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,
.react-datepicker__year-text--holidays:not([aria-disabled=true]):hover {
  background-color: rgb(207, 82.9642857143, 0);
}
.react-datepicker__day--holidays:hover .overlay,
.react-datepicker__month-text--holidays:hover .overlay,
.react-datepicker__quarter-text--holidays:hover .overlay,
.react-datepicker__year-text--holidays:hover .overlay {
  visibility: visible;
  opacity: 1;
}
.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,
.react-datepicker__month-text--selected,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--selected,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--selected,
.react-datepicker__year-text--in-selecting-range,
.react-datepicker__year-text--in-range {
  border-radius: 0.3rem;
  background-color: #216ba5;
  color: #fff;
}
.react-datepicker__day--selected:not([aria-disabled=true]):hover, .react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover, .react-datepicker__day--in-range:not([aria-disabled=true]):hover,
.react-datepicker__month-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,
.react-datepicker__year-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__year-text--in-range:not([aria-disabled=true]):hover {
  background-color: rgb(28.75, 93.2196969697, 143.75);
}
.react-datepicker__day--keyboard-selected,
.react-datepicker__month-text--keyboard-selected,
.react-datepicker__quarter-text--keyboard-selected,
.react-datepicker__year-text--keyboard-selected {
  border-radius: 0.3rem;
  background-color: rgb(186.25, 217.0833333333, 241.25);
  color: rgb(0, 0, 0);
}
.react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover {
  background-color: rgb(28.75, 93.2196969697, 143.75);
  color: #fff;
}
.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range) {
  background-color: rgba(33, 107, 165, 0.5);
}
.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range), .react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range) {
  background-color: #f0f0f0;
  color: #000;
}
.react-datepicker__day--disabled,
.react-datepicker__month-text--disabled,
.react-datepicker__quarter-text--disabled,
.react-datepicker__year-text--disabled {
  cursor: default;
  color: #ccc;
}
.react-datepicker__day--disabled .overlay,
.react-datepicker__month-text--disabled .overlay,
.react-datepicker__quarter-text--disabled .overlay,
.react-datepicker__year-text--disabled .overlay {
  position: absolute;
  bottom: 70%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 4px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease-in-out;
}

.react-datepicker__input-container {
  position: relative;
  display: inline-block;
  width: 100%;
}
.react-datepicker__input-container .react-datepicker__calendar-icon {
  position: absolute;
  padding: 0.625em;
  box-sizing: content-box;
}

.react-datepicker__view-calendar-icon input {
  padding: 6px 10px 5px 25px;
}

.react-datepicker__year-read-view,
.react-datepicker__month-read-view,
.react-datepicker__month-year-read-view {
  border: 1px solid transparent;
  border-radius: 0.3rem;
  position: relative;
}
.react-datepicker__year-read-view:hover,
.react-datepicker__month-read-view:hover,
.react-datepicker__month-year-read-view:hover {
  cursor: pointer;
}
.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {
  border-top-color: rgb(178.5, 178.5, 178.5);
}
.react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  transform: rotate(135deg);
  right: -16px;
  top: 0;
}

.react-datepicker__year-dropdown,
.react-datepicker__month-dropdown,
.react-datepicker__month-year-dropdown {
  background-color: #f0f0f0;
  position: absolute;
  width: 50%;
  left: 25%;
  top: 30px;
  z-index: 1;
  text-align: center;
  border-radius: 0.3rem;
  border: 1px solid #aeaeae;
}
.react-datepicker__year-dropdown:hover,
.react-datepicker__month-dropdown:hover,
.react-datepicker__month-year-dropdown:hover {
  cursor: pointer;
}
.react-datepicker__year-dropdown--scrollable,
.react-datepicker__month-dropdown--scrollable,
.react-datepicker__month-year-dropdown--scrollable {
  height: 150px;
  overflow-y: scroll;
}

.react-datepicker__year-option,
.react-datepicker__month-option,
.react-datepicker__month-year-option {
  line-height: 20px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.react-datepicker__year-option:first-of-type,
.react-datepicker__month-option:first-of-type,
.react-datepicker__month-year-option:first-of-type {
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}
.react-datepicker__year-option:last-of-type,
.react-datepicker__month-option:last-of-type,
.react-datepicker__month-year-option:last-of-type {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-bottom-left-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}
.react-datepicker__year-option:hover,
.react-datepicker__month-option:hover,
.react-datepicker__month-year-option:hover {
  background-color: #ccc;
}
.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,
.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,
.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {
  border-bottom-color: rgb(178.5, 178.5, 178.5);
}
.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,
.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,
.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {
  border-top-color: rgb(178.5, 178.5, 178.5);
}
.react-datepicker__year-option--selected,
.react-datepicker__month-option--selected,
.react-datepicker__month-year-option--selected {
  position: absolute;
  left: 15px;
}

.react-datepicker__close-icon {
  cursor: pointer;
  background-color: transparent;
  border: 0;
  outline: 0;
  padding: 0 6px 0 0;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
}
.react-datepicker__close-icon::after {
  cursor: pointer;
  background-color: #216ba5;
  color: #fff;
  border-radius: 50%;
  height: 16px;
  width: 16px;
  padding: 2px;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  content: "×";
}
.react-datepicker__close-icon--disabled {
  cursor: default;
}
.react-datepicker__close-icon--disabled::after {
  cursor: default;
  background-color: #ccc;
}

.react-datepicker__today-button {
  background: #f0f0f0;
  border-top: 1px solid #aeaeae;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  padding: 5px 0;
  clear: left;
}

.react-datepicker__portal {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  left: 0;
  top: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  z-index: 2147483647;
}

.react-datepicker__children-container {
  width: 17.25em;
  margin: 0.5em;
  padding-right: 0.25em;
  padding-left: 0.25em;
  height: auto;
}

.react-datepicker__aria-live {
  position: absolute;
  clip-path: circle(0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  width: 1px;
  white-space: nowrap;
}

.react-datepicker__calendar-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

.react-datepicker-popper-offset {
  margin-top: -0.7em;
}
/* ─── AuditLogList ────────────────────────────────────────────────────────── */
._auditLogList_7ny5n_2 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ─── Filters ─────────────────────────────────────────────────────────────── */
._filtersRow_7ny5n_9 {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

._advancedFilters_7ny5n_16 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--slate-50);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

._filtersGrid_7ny5n_26 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 0.75rem;
}

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

._filterLabel_7ny5n_38 {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

._filterInput_7ny5n_44 {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.8125rem;
  width: 100%;
  min-width: 0;
  background: white;
}

._filterInput_7ny5n_44:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._filterSelect_7ny5n_59 {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.8125rem;
  width: 100%;
  min-width: 0;
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.75rem;
}

._filterSelect_7ny5n_59:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._filterSelect_7ny5n_59:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: var(--slate-50);
}

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

._filterApplyButton_7ny5n_93 {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.8125rem;
  background: var(--action-primary-bg, var(--ai-blue));
  color: var(--action-primary-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: opacity 0.15s ease;
}

._filterApplyButton_7ny5n_93:hover {
  opacity: 0.9;
}

._filterClearButton_7ny5n_111 {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.8125rem;
  background: white;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: all 0.15s ease;
}

._filterClearButton_7ny5n_111:hover {
  border-color: var(--error-500);
  color: var(--error-500);
}

._filterActions_7ny5n_86 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

._filterButton_7ny5n_137 {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.8125rem;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

._filterButton_7ny5n_137:hover {
  background: var(--slate-50);
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

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

/* ─── Day Groups ──────────────────────────────────────────────────────────── */
._dayGroup_7ny5n_163 {
  display: flex;
  flex-direction: column;
}

._dayLabel_7ny5n_168 {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: block;
}

/* ─── Log Items ───────────────────────────────────────────────────────────── */
._logItem_7ny5n_179 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background 0.15s ease;
}

._logItem_7ny5n_179:hover {
  background: var(--slate-50);
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 8px;
}

._logIconColored_7ny5n_197 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  flex-shrink: 0;
}

._logAvatar_7ny5n_207 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--action-primary-text);
  font-size: 0.625rem;
  font-weight: 700;
  flex-shrink: 0;
}

._logMessage_7ny5n_220 {
  font-size: 0.875rem;
  color: var(--slate-900);
  flex: 1;
  line-height: 1.4;
}

._logTime_7ny5n_227 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  white-space: nowrap;
}

/* ─── Detail Panel ────────────────────────────────────────────────────────── */
._detailPanel_7ny5n_234 {
  padding: 1.25rem;
  background: var(--slate-50);
  border-radius: 8px;
  margin: 0.5rem 0 1rem;
  border-left: 3px solid var(--action-primary-bg);
}

._detailTitle_7ny5n_242 {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

._detailGrid_7ny5n_250 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

._detailLabel_7ny5n_257 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._detailValue_7ny5n_262 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.375rem 0 0;
}

._detailActorRow_7ny5n_268 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.375rem;
}

._detailActorAvatar_7ny5n_275 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  color: var(--action-primary-text);
  font-size: 0.5625rem;
  font-weight: 700;
}

._detailActionRow_7ny5n_287 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.375rem;
}

._detailDiffSection_7ny5n_294 {
  margin-top: 1rem;
}

._detailDiffPre_7ny5n_298 {
  background: var(--slate-800);
  color: var(--border-subtle);
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  overflow: auto;
  line-height: 1.6;
}

._detailCloseBtn_7ny5n_309 {
  background: none;
  border: none;
  color: var(--action-primary-bg);
  font-size: 0.8125rem;
  cursor: pointer;
  margin-top: 1rem;
  padding: 0;
}

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

/* ─── States ─────────────────────────────────────────────────────────────── */
._loadingState_7ny5n_324 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  border-radius: 8px;
  background: var(--slate-50);
  border: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-weight: 500;
}

._loadingState_7ny5n_324 p {
  margin: 0;
}

._emptyState_7ny5n_343 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 1rem;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

._emptyState_7ny5n_343 p {
  margin: 0;
}

/* ─── Spin animation ─────────────────────────────────────────────────────── */
@keyframes _spin_7ny5n_1 {
  to {
    transform: rotate(360deg);
  }
}
._banner_3m2pm_1 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-stale-bg-hover);
  border: 0.0625rem solid var(--color-stale);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  margin-top: -0.5rem;
}

._icon_3m2pm_13 {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--color-stale);
}

._content_3m2pm_20 {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

._title_3m2pm_29 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-stale-dark);
  margin: 0;
}

._message_3m2pm_36 {
  font-size: 0.75rem;
  color: var(--color-stale-darker);
  margin: 0;
}

._dismissButton_3m2pm_42 {
  flex-shrink: 0;
  align-self: center;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-stale-dark);
  background: transparent;
  border: 1px solid var(--color-stale-dark);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

._dismissButton_3m2pm_42:hover {
  background: var(--color-stale-dark);
  color: var(--action-primary-text);
}
._wrapper_14clh_1 {
  position: relative;
  display: inline-flex;
  align-items: center;
}

._toggle_14clh_7 {
  position: relative;
  flex-shrink: 0;
  width: 2.25rem;
  height: 1.25rem;
  border: none;
  border-radius: 9999px;
  background: var(--slate-300);
  cursor: pointer;
  transition: background 0.15s ease;
  padding: 0;
}

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

._toggleOn_14clh_25 {
  background: var(--action-primary-bg);
}

._knob_14clh_29 {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--surface-card);
  transition: transform 0.15s ease;
}

._toggleOn_14clh_25 ._knob_14clh_29 {
  transform: translateX(1rem);
}

._toggleLocked_14clh_44 {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--slate-300);
}

._toggleLocked_14clh_44._toggleOn_14clh_25 {
  background: var(--slate-300);
}

._toggleLocked_14clh_44:active ._knob_14clh_29 {
  transform: none;
}

._toggleLocked_14clh_44._toggleOn_14clh_25 ._knob_14clh_29 {
  transform: translateX(1rem);
}

._hint_14clh_62 {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  background: var(--surface-subtle);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  line-height: 1.35;
  white-space: normal;
  width: 13rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease-in-out;
  z-index: 1000;
  box-shadow: var(--ai-blue-shadow);
  border: 0.0625rem solid var(--border-subtle);
}

._hint_14clh_62::after {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 1rem;
  border: 0.375rem solid transparent;
  border-bottom-color: var(--surface-subtle);
}

._wrapper_14clh_1:hover ._hint_14clh_62,
._toggle_14clh_7:focus-visible ~ ._hint_14clh_62,
._toggle_14clh_7:focus ~ ._hint_14clh_62 {
  opacity: 1;
}
._table_149ln_1 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  color: var(--text-primary);
}

._table_149ln_1 th {
  padding: 0.5rem 0;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border-subtle);
}

._table_149ln_1 th:last-child,
._table_149ln_1 td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

._table_149ln_1 td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

._table_149ln_1 tfoot td {
  font-weight: 700;
  border-bottom: none;
}

._label_149ln_35 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

._notApplicable_149ln_41 {
  color: var(--text-tertiary);
}

._info_149ln_45 {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
  outline: none;
}

._infoIcon_149ln_53 {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--text-tertiary);
  transition: color 0.15s ease;
}

._info_149ln_45:hover ._infoIcon_149ln_53,
._info_149ln_45:focus-visible ._infoIcon_149ln_53 {
  color: var(--text-primary);
}

._infoTooltip_149ln_65 {
  position: absolute;
  bottom: calc(100% + 0.4rem);
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 16rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface-subtle);
  color: var(--text-primary);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: var(--ai-blue-shadow);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease-in-out;
}

._info_149ln_45:hover ._infoTooltip_149ln_65,
._info_149ln_45:focus-visible ._infoTooltip_149ln_65,
._info_149ln_45:focus-within ._infoTooltip_149ln_65 {
  opacity: 1;
}

._infoTitle_149ln_96 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

._infoRow_149ln_103 {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

._infoRow_149ln_103 > span:last-child {
  font-weight: 600;
  white-space: nowrap;
}

._infoRowPending_149ln_114 > span {
  opacity: 0.6;
  font-style: italic;
}
/* Investimento & TCO internal tab (AA0000-485). CSS vars only. */
._container_eqh97_2 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1rem 0;
}

._header_eqh97_9 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  --tab-inset-top: 1rem;
  --hx: calc(var(--card-pad-x, 1.5rem) + var(--tab-inset-x, 0px));
  --hy: calc(var(--card-pad-top, 1.5rem) + var(--tab-inset-top, 0px));
  position: sticky;
  top: calc(-1 * var(--card-pad-top, 1.5rem));
  z-index: 5;
  margin: calc(-1 * var(--hy)) calc(-1 * var(--hx)) -0.75rem;
  padding: var(--hy) var(--hx) 0.75rem;
  background: var(--surface-card);
}

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

._summary_eqh97_32 {
  display: flex;
  gap: 2rem;
  margin: 0;
}

._summaryItem_eqh97_38 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.125rem;
}

._summaryLabel_eqh97_45 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

._summaryValue_eqh97_53 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

._title_eqh97_61 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

._subtitle_eqh97_68 {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

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

._table_eqh97_80 {
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  overflow: hidden;
}

._tableHead_eqh97_86 {
  display: grid;
  grid-template-columns: 1fr 10rem 10rem 8rem;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border-default);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

._item_eqh97_101 {
  border-bottom: 1px solid var(--border-subtle);
}

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

._row_eqh97_109 {
  position: relative;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 10rem 10rem 8rem;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

._row_eqh97_109:has(._toggleButton_eqh97_120:focus-visible) {
  outline: 2px solid var(--action-primary-bg);
  outline-offset: -2px;
}

._toggleButton_eqh97_120::after {
  content: '';
  position: absolute;
  inset: 0;
}

._toggleButton_eqh97_120:focus-visible {
  outline: none;
}

._row_eqh97_109:hover {
  background-color: color-mix(in srgb, var(--action-primary-bg) 2%, transparent);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--action-primary-bg) 14%, transparent),
    inset 0 0 0.75rem color-mix(in srgb, var(--action-primary-bg) 6%, transparent);
}

._toggleButton_eqh97_120 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
}

._chevron_eqh97_154 {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease-in-out;
}

._chevronOpen_eqh97_161 {
  transform: rotate(180deg);
}

._panel_eqh97_165 {
  background: var(--surface-subtle);
  border-top: 1px solid var(--border-subtle);
}

._panelClosed_eqh97_170 {
  visibility: hidden;
  border-top-color: transparent;
  transition: visibility 0s linear 0.3s;
}

._panelContent_eqh97_176 {
  padding: 0.5rem 1.25rem 0.75rem 2.75rem;
}

._itemLabel_eqh97_180 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

._itemValue_eqh97_186 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

/* Severity-badge conventions (same geometry as Risk/Opportunity badges). */
._badgeVisible_eqh97_194,
._badgeHidden_eqh97_195 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

._badgeVisible_eqh97_194 {
  background: var(--success-50);
  color: var(--success-700);
  border: 1px solid var(--success-500);
}

._badgeHidden_eqh97_195 {
  background: var(--warning-50);
  color: var(--warning-700);
  border: 1px solid var(--warning-200);
}

._toggleCell_eqh97_219 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  cursor: default;
}
/* ProjectDetailsScreen.module.css */

._projectDetailsScreen_1p87q_3 {
  display: flex;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, var(--surface-subtle), var(--surface-page));
  overflow: hidden;
}

._mainContent_1p87q_11 {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

._contentWrapper_1p87q_18 {
  flex: 1;
  background: var(--surface-page);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

._content_1p87q_18 {
  flex: 1;
  padding: 0 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Project Header — outside the card */
._projectHeader_1p87q_35 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 0 1.25rem;
  flex-shrink: 0;
}

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

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

._projectHeaderBadge_1p87q_55 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--success-600);
}

._projectHeaderBadge_1p87q_55::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success-500);
}

._projectHeaderTitle_1p87q_72 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

._projectHeaderDate_1p87q_80 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._projectHeaderHistoryBtn_1p87q_85 {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

._projectHeaderHistoryBtn_1p87q_85:hover {
  border-color: var(--border-default);
  background: var(--surface-subtle);
}

/* More actions (3-dot) menu */
._projectMoreMenuWrapper_1p87q_103 {
  position: relative;
}

._projectMoreMenuBtn_1p87q_107 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

._projectMoreMenuBtn_1p87q_107:hover {
  border-color: var(--border-default);
  background: var(--surface-subtle);
}

._projectMoreMenuDropdown_1p87q_126 {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0.375rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._projectMoreMenuItem_1p87q_142 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

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

._projectMoreMenuItemDanger_1p87q_163 {
  color: var(--error-600);
}

._projectMoreMenuDivider_1p87q_167 {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.25rem 0;
}

/* Main white card */
._mainCard_1p87q_174 {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0rem 0.0625rem 0.1875rem 0rem rgba(0, 0, 0, 0.1), 0rem 0.0625rem 0.125rem -0.0625rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

/* Entity Header (PROJETO - Nome / WORKLOAD - Nome) */
._entityHeader_1p87q_187 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 3rem;
  padding: 0 1.5rem;
  background: var(--surface-card);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

._entityIcon_1p87q_198 {
  font-size: 1.25rem;
  line-height: 1;
}

._pulsingDot_1p87q_203 {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--success-500);
  animation: _pulseGreen_1p87q_1 2s ease-in-out infinite;
  margin-left: -0.375rem;
}

@keyframes _pulseGreen_1p87q_1 {

  0%,
  100% {
    background: var(--success-500);
    opacity: 1;
  }

  50% {
    background: var(--success-600);
    opacity: 0.5;
  }
}

._entityLabel_1p87q_226 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.0375rem;
  text-transform: uppercase;
  line-height: 1.25rem;
  flex: 1;
  position: relative;
}

._entityLabelPrefix_1p87q_237 {
  color: var(--text-primary);
}

._entityLabelName_1p87q_241 {
  color: var(--text-primary);
}

html.dark ._entityLabelPrefix_1p87q_237 {
  color: var(--action-primary-text);
}

html.dark ._entityLabelName_1p87q_241 {
  color: var(--cyan-400);
}

._entityIdTooltip_1p87q_253 {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  background: var(--slate-800);
  color: var(--slate-200);
  font-family: var(--font-family-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.025rem;
  text-transform: none;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 100;
  cursor: pointer;
  user-select: all;
}

._entityIdTooltip_1p87q_253::before {
  content: '';
  position: absolute;
  left: 24px;
  top: -12px;
  border: 6px solid transparent;
  border-bottom-color: var(--slate-800);
}

._entityIdTooltip_1p87q_253:active {
  background: var(--slate-700);
}

._entityLabel_1p87q_226:hover ._entityIdTooltip_1p87q_253 {
  opacity: 1;
  pointer-events: auto;
}

._entityId_1p87q_253 {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  letter-spacing: 0.025rem;
  cursor: help;
  transition: all 0.2s ease;
}

._entityId_1p87q_253:hover {
  background: rgba(0, 0, 0, 0.25);
  color: var(--action-primary-text);
}

._tabsContainer_1p87q_311 {
  border-bottom: 0.0417rem solid var(--border-subtle);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 1rem;
}

._cardContent_1p87q_320 {
  --card-pad-top: 1rem;
  --card-pad-x: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem 0.25rem 1.25rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

/* Remove scroll and padding when Status tab is active (has fixed info cards and internal card scroll) */
._cardContent_1p87q_320._cardContentWithFixedFooter_1p87q_333 {
  overflow: hidden;
  /* No scroll on Status tab - cards handle their own scroll */
  padding-bottom: 0;
  /* No padding needed, cards fill available space */
}

/* Empty State */
._emptyState_1p87q_341 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18.75rem;
}

._emptyStateText_1p87q_348 {
  font-size: 1rem;
  color: var(--text-disabled);
  margin: 0;
}

/* Responsive */
@media (max-width: 48rem) {
  ._content_1p87q_18 {
    padding: 1rem;
  }
}

/* Loading and Error States */
._loadingState_1p87q_362,
._errorState_1p87q_363 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: var(--slate-200);
}

._loadingState_1p87q_362 p,
._errorState_1p87q_363 p {
  font-size: 1rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

._errorState_1p87q_363 p {
  color: var(--error-500);
}

/* Error state additional styles */
._errorState_1p87q_363 h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--error-500);
  margin-bottom: 0.75rem;
}

._errorActions_1p87q_391 {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

._retryButton_1p87q_397,
._logoutButton_1p87q_398 {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

._retryButton_1p87q_397 {
  background: var(--blue-600);
  color: var(--action-primary-text);
}

._retryButton_1p87q_397:hover {
  background: var(--blue-700);
}

._logoutButton_1p87q_398 {
  background: var(--error-500);
  color: var(--action-primary-text);
}

._logoutButton_1p87q_398:hover {
  background: var(--error-600);
}

/* Breadcrumb Container with Delete Button */
._breadcrumbContainer_1p87q_427 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0 0.5rem;
  flex-shrink: 0;
}

/* Delete Button */
._deleteButton_1p87q_436 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: 2rem;
  padding: 0 0.75rem;
  background: var(--surface-page);
  border: 0.0417rem solid var(--error-500);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--error-500);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._deleteButton_1p87q_436:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Delete Confirmation */
._deleteConfirmation_1p87q_457 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface-page);
  border: 0.0417rem solid var(--error-500);
  border-radius: 8px;
}

._confirmationText_1p87q_467 {
  font-size: 0.875rem;
  color: var(--error-500);
  font-weight: 500;
}

._confirmationActions_1p87q_473 {
  display: flex;
  gap: 0.5rem;
}

._confirmYes_1p87q_478,
._confirmNo_1p87q_479 {
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: none;
}

._confirmYes_1p87q_478 {
  background: var(--error-500);
  color: var(--action-primary-text);
}

._confirmYes_1p87q_478:hover {
  background: var(--error-600);
}

._confirmNo_1p87q_479 {
  background: var(--slate-100);
  color: var(--text-tertiary);
}

._confirmNo_1p87q_479:hover {
  background: var(--slate-200);
}

/* Skeleton Loading Animation */
._skeleton_1p87q_508 {
  background: linear-gradient(90deg, var(--slate-200) 25%, var(--slate-100) 50%, var(--slate-200) 75%);
  background-size: 200% 100%;
  animation: _shimmer_1p87q_1 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes _shimmer_1p87q_1 {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}


/* --- History Drawer ------------------------------------------------------- */
._historyOverlay_1p87q_527 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  animation: _fadeIn_1p87q_1 0.2s ease;
}

@keyframes _fadeIn_1p87q_1 {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

._historyDrawer_1p87q_550 {
  width: 30rem;
  max-width: 90vw;
  height: 100%;
  background: var(--surface-card);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  animation: _slideIn_1p87q_1 0.25s ease;
}

@keyframes _slideIn_1p87q_1 {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

._historyOverlayClosing_1p87q_571 {
  animation: _fadeOut_1p87q_1 0.2s ease forwards;
}

@keyframes _fadeOut_1p87q_1 {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

._historyDrawerClosing_1p87q_585 {
  animation: _slideOut_1p87q_1 0.2s ease forwards;
}

@keyframes _slideOut_1p87q_1 {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

._historyDrawerHeader_1p87q_599 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

._historyDrawerTitle_1p87q_608 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0;
}

._historyDrawerClose_1p87q_618 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-tertiary);
  transition: background 0.15s;
}

._historyDrawerClose_1p87q_618:hover {
  background: var(--slate-100);
}

._historyDrawerContent_1p87q_636 {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

._historyFilter_1p87q_645 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._historyFilterLabel_1p87q_651 {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

._historyDateInput_1p87q_663 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  flex: 1;
}

._historyDateField_1p87q_674 {
  border: none;
  outline: none;
  font-size: 0.8125rem;
  color: var(--text-primary);
  background: transparent;
  width: 100%;
}

._historyDateField_1p87q_674::placeholder {
  color: var(--text-disabled);
}

._historyDateSeparator_1p87q_687 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

._historyDayGroup_1p87q_693 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

._historyItem_1p87q_708 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

._historyAvatar_1p87q_720 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--action-primary-text);
  font-size: 0.625rem;
  font-weight: 700;
  flex-shrink: 0;
}

._historyResource_1p87q_733 {
  color: var(--action-primary-bg);
  text-decoration: underline;
}

._historyItemContent_1p87q_738 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
  min-width: 0;
}

._historyItemText_1p87q_746 {
  font-size: 0.8125rem;
  color: var(--slate-900);
  line-height: 1.4;
}

._historyItemTime_1p87q_752 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* History Pagination */
._historyPagination_1p87q_760 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

._historyPaginationInfo_1p87q_769 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._historyPaginationControls_1p87q_774 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._historyPaginationBtn_1p87q_780 {
  background: none;
  border: none;
  font-size: 0.8125rem;
  color: var(--action-primary-bg);
  cursor: pointer;
  padding: 0;
  transition: opacity 0.15s;
}

._historyPaginationBtn_1p87q_780:disabled {
  color: var(--text-disabled);
  cursor: not-allowed;
}

._historyPaginationBtn_1p87q_780:hover:not(:disabled) {
  opacity: 0.8;
}

._historyPaginationPage_1p87q_799 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}


/* Dark mode */
html.dark ._contentWrapper_1p87q_18 {
  background: var(--surface-page);
}
._analysis_1s4po_1 {
  /* Natural flow; outer .cardContent auto-scrolls the whole tab. The header
     below is sticky so it stays pinned at the top while the body scrolls. */
  display: flex;
  flex-direction: column;
}

/* Fixed header — title, subtitle, pills and action buttons stay pinned at
   the top (sticky) while the body below scrolls within .cardContent.
   Negative margins + matching padding let the header background cover the
   card's own padding so scrolling content doesn't peek above/beside it. */
._header_1s4po_12 {
  position: sticky;
  /* Stick flush with the top of the scroll viewport. The negative top offset
     equals the card's own top padding so the header pins exactly at the
     visible top edge with no gap for content to peek through. */
  top: -1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: -1.5rem -1.5rem 1.25rem -1.5rem;
  padding: 1.5rem 1.5rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-card);
  flex-shrink: 0;
}

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

._title_1s4po_38 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

._subtitle_1s4po_45 {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* Body — natural flow; the outer .cardContent handles the scroll while the
   sticky header stays pinned above it. */
._scrollBody_1s4po_53 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Status pills + primary actions */
._topRow_1s4po_60 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

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

/* Green "available/success" pill. */
._statusPill_1s4po_77 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: var(--success-50);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success-700);
}

._statusDot_1s4po_89 {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--success-500);
  flex-shrink: 0;
}

._primaryActions_1s4po_97 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

._secondaryButton_1s4po_104 {
  height: 2.5rem;
  padding: 0 1.125rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

._secondaryButton_1s4po_104:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._primaryButton_1s4po_121 {
  height: 2.5rem;
  padding: 0 1.125rem;
  background: var(--action-primary-bg);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

._primaryButton_1s4po_121:hover {
  opacity: 0.9;
}

._primaryButton_1s4po_121:disabled,
._secondaryButton_1s4po_104:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._secondaryButton_1s4po_104:disabled:hover {
  border-color: var(--border-default);
  color: var(--text-secondary);
}

/* Summary line + description */
._summary_1s4po_150 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._summaryCount_1s4po_156 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

._summaryReady_1s4po_163 {
  color: var(--success-700);
}

._summaryText_1s4po_167 {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* Table */
._tableWrap_1s4po_175 {
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  overflow: hidden;
}

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

._table_1s4po_175 thead th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border-bottom: 1px solid var(--border-default);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-tertiary);
}

._table_1s4po_175 tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

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

._expandCol_1s4po_208 {
  width: 2.25rem;
  color: var(--text-disabled);
}

._resource_1s4po_213 {
  font-weight: 700;
  color: var(--text-primary);
}

._sku_1s4po_218 {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Green "Pronto" table badge. */
._readyBadge_1s4po_225 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.1875rem 0.625rem;
  background: var(--success-50);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success-700);
  white-space: nowrap;
}

/* Expandable rows */
._clickableRow_1s4po_239 {
  cursor: pointer;
}

._clickableRow_1s4po_239:hover td {
  background: var(--slate-50);
}

._expandBtn_1s4po_247 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: none;
  border: none;
  border-radius: 0.25rem;
  color: var(--text-tertiary);
  cursor: pointer;
}

._expandBtn_1s4po_247:hover {
  color: var(--action-primary-bg);
}

/* Detail panel (ORIGEM / DESTINO NA AWS / DADOS USADOS) */
._detailRow_1s4po_265 td {
  background: var(--slate-50);
  padding: 0 1rem 1rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

._detailGrid_1s4po_271 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

._detailCard_1s4po_277 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.875rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
}

._detailLabel_1s4po_287 {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-disabled);
}

._detailValue_1s4po_295 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

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

/* ── Fine-tune individual resources section ──────────────────────────────── */
._tuneSection_1s4po_308 {
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  background: var(--surface-card);
  overflow: hidden;
}

._tuneHeader_1s4po_315 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

._tuneHeaderText_1s4po_327 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
  min-width: 0;
}

._tuneTitle_1s4po_335 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

._tuneSubtitle_1s4po_341 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._tuneChevron_1s4po_346 {
  font-size: 20px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

._tuneChevronOpen_1s4po_353 {
  transform: rotate(180deg);
}

._tuneBody_1s4po_357 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1.25rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

/* Toolbar */
._tuneToolbar_1s4po_366 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1rem;
}

._tuneTotal_1s4po_374 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 0.875rem;
  background: var(--slate-50);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._tuneTotal_1s4po_374 strong {
  color: var(--text-primary);
}

._tuneSearch_1s4po_391 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 12rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  color: var(--text-tertiary);
}

._tuneSearchInput_1s4po_405 {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.875rem;
  color: var(--text-primary);
}

._tuneSearchInput_1s4po_405::placeholder {
  color: var(--text-disabled);
}

/* Toggle "Mostrar coluna original" */
._tuneToggle_1s4po_420 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
}

._tuneToggleTrack_1s4po_431 {
  display: inline-flex;
  align-items: center;
  width: 2.25rem;
  height: 1.25rem;
  padding: 0.125rem;
  background: var(--border-default);
  border-radius: 9999px;
  transition: background 0.15s ease;
}

._tuneToggleThumb_1s4po_442 {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}

._tuneToggleOn_1s4po_451 ._tuneToggleTrack_1s4po_431 {
  background: var(--action-primary-bg);
}

._tuneToggleOn_1s4po_451 ._tuneToggleThumb_1s4po_442 {
  transform: translateX(1rem);
}

._tuneFileButton_1s4po_459 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 0.875rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
}

._tuneFileButton_1s4po_459:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

/* Table bits specific to the tune table */
._tuneArrowCol_1s4po_481 {
  width: 2rem;
  text-align: center;
  color: var(--text-disabled);
}

._tuneAdjustCol_1s4po_487 {
  width: 7rem;
  text-align: right;
}

._tuneOriginal_1s4po_492 {
  color: var(--text-tertiary);
}

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

._tuneStatusBadge_1s4po_503 {
  padding: 0.1875rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}

._tuneStatus_default_1s4po_511 {
  background: var(--slate-50);
  border: 1px solid var(--border-default);
  color: var(--text-tertiary);
}

._tuneStatus_adjusted_1s4po_517 {
  background: var(--info-50);
  color: var(--action-primary-bg);
}

._tuneStatus_excluded_1s4po_522 {
  background: var(--slate-100);
  color: var(--text-tertiary);
}

._tuneButton_1s4po_527 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 2rem;
  padding: 0 0.625rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

._tuneButton_1s4po_527:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._tuneEmpty_1s4po_547 {
  text-align: center;
  color: var(--text-tertiary);
  padding: 2rem 1rem;
}

/* ── Analysis processing + migration groups (RN-16) ──────────────────────── */
._processingPanel_1s4po_554 {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--slate-50);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
}

._processingText_1s4po_564 {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
  min-width: 0;
}

._processingTitle_1s4po_571 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

._processingHint_1s4po_577 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._processingSpinner_1s4po_582 {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  border: 2px solid var(--border-default);
  border-top-color: var(--action-primary-bg);
  border-radius: 50%;
  animation: _analysisSpin_1s4po_1 0.8s linear infinite;
}

@keyframes _analysisSpin_1s4po_1 {
  to { transform: rotate(360deg); }
}

/* Centered loading state (same style as the Result tab) */
._processingState_1s4po_598 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex: 1;
  min-height: 60vh;
  padding: 1.5rem;
  text-align: center;
}

._processingState_1s4po_598 ._processingSpinner_1s4po_582 {
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0;
  border-width: 3px;
}

._processingState_1s4po_598 ._processingTitle_1s4po_571 {
  font-size: 1.0625rem;
}

._processingState_1s4po_598 ._processingHint_1s4po_577 {
  max-width: 28rem;
}

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

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

._groupsTitle_1s4po_637 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

._groupsSubtitle_1s4po_643 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._groupRow_1s4po_648 {
  cursor: pointer;
  background: var(--slate-50);
}

._groupRow_1s4po_648:hover {
  background: var(--slate-100);
}

._groupName_1s4po_657 {
  font-weight: 700;
  color: var(--text-primary);
}

._groupChildRow_1s4po_662 {
  background: var(--surface-card);
}

._groupChildRow_1s4po_662 td {
  color: var(--text-secondary);
}

._groupEditLink_1s4po_670 {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--action-primary-bg);
  cursor: pointer;
}

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

/* ── Migration group nested sub-table (photo layout) ─────────────────────── */
._groupDetailRow_1s4po_685 td {
  padding: 0;
  background: var(--slate-50);
}

/* Indent so the sub-table lines up under the group name (past the chevron). */
._subTableWrap_1s4po_691 {
  padding: 0.5rem 1rem 0.875rem 2.75rem;
}

._subTable_1s4po_691 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  overflow: hidden;
  table-layout: fixed;
}

._subTable_1s4po_691 thead th,
._subTable_1s4po_691 tbody td {
  text-align: left;
  padding: 0.625rem 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._subTable_1s4po_691 thead th {
  background: var(--slate-50);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-tertiary);
}

._subTable_1s4po_691 tbody td {
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

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

/* Fixed column widths so header and body cells align cleanly. */
._subTable_1s4po_691 th:nth-child(1), ._subTable_1s4po_691 td:nth-child(1) { width: 2.5rem; text-align: center; }
._subTable_1s4po_691 th:nth-child(2), ._subTable_1s4po_691 td:nth-child(2) { width: auto; }
._subTable_1s4po_691 th:nth-child(3), ._subTable_1s4po_691 td:nth-child(3) { width: 6rem; }
._subTable_1s4po_691 th:nth-child(4), ._subTable_1s4po_691 td:nth-child(4) { width: 4rem; }
._subTable_1s4po_691 th:nth-child(5), ._subTable_1s4po_691 td:nth-child(5) { width: 5rem; }
._subTable_1s4po_691 th:nth-child(6), ._subTable_1s4po_691 td:nth-child(6) { width: 6rem; }
._subTable_1s4po_691 th:nth-child(7), ._subTable_1s4po_691 td:nth-child(7) { width: 6rem; }
._subTable_1s4po_691 th:nth-child(8), ._subTable_1s4po_691 td:nth-child(8) { width: 5rem; }

._checkCol_1s4po_743 {
  text-align: center;
}

._ebsNote_1s4po_747 {
  margin: 0.625rem 0 0;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._groupsHint_1s4po_753 {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ── Empty ("not ready") state ───────────────────────────────────────────── */
._emptyState_1s4po_760 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex: 1;
  min-height: 55vh;
  padding: 1.5rem;
  text-align: center;
}

._emptyIcon_1s4po_772 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--info-50);
  color: var(--action-primary-bg);
  margin-bottom: 0.25rem;
}

._emptyIcon_1s4po_772 ._material-symbols-outlined_1s4po_784 {
  font-size: 2rem;
}

._emptyTitle_1s4po_788 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

._emptyText_1s4po_795 {
  max-width: 32rem;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

._emptyCta_1s4po_803 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.75rem;
  margin-top: 0.75rem;
  padding: 0 1.5rem;
  background: var(--action-primary-bg);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

._emptyCta_1s4po_803:hover {
  opacity: 0.9;
}
._result_x5uru_1 {
  /* Natural flow; outer .cardContent auto-scrolls the whole tab. */
  display: flex;
  flex-direction: column;
}

/* Fixed header — stays pinned at the top (sticky) while the body below
   scrolls within .cardContent. The negative top offset equals the card's own
   top padding so the header pins flush at the visible top edge with no gap for
   content to peek through; negative side/top margins + matching padding let the
   header background cover the card's padding. */
._header_x5uru_12 {
  position: sticky;
  top: -1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: -1.5rem -1.5rem 1.25rem -1.5rem;
  padding: 1.5rem 1.5rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-card);
  flex-shrink: 0;
}

._title_x5uru_26 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

._subtitle_x5uru_33 {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* Body — natural flow; the outer .cardContent handles the scroll. */
._scrollBody_x5uru_40 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* KPI row */
._kpiRow_x5uru_47 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

._kpiCard_x5uru_53 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
}

._kpiLabel_x5uru_63 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._kpiValue_x5uru_68 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
}

._kpiHint_x5uru_75 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* Cards */
._cardRow_x5uru_81 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 720px) {
  ._kpiRow_x5uru_47,
  ._cardRow_x5uru_81 {
    grid-template-columns: 1fr;
  }
}

._card_x5uru_2 {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
}

._cardTitle_x5uru_104 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

._bulkButtons_x5uru_111 {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

._secondaryButton_x5uru_117 {
  height: 2.5rem;
  padding: 0 1.125rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

._secondaryButton_x5uru_117:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._primaryButton_x5uru_134 {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1.125rem;
  background: var(--action-primary-bg);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

._primaryButton_x5uru_134:hover {
  opacity: 0.9;
}

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

/* Calculator card error state */
._calcErrorTitle_x5uru_161 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--error-600);
}

._calcErrorHint_x5uru_171 {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* Partner Central status */
._partnerRow_x5uru_178 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

._statusBadge_x5uru_185 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.125rem 0.625rem;
  background: var(--slate-100);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

._statusDot_x5uru_198 {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--slate-400);
}

._partnerText_x5uru_205 {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Result available */
._availableText_x5uru_211 {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

._availableFooter_x5uru_217 {
  display: flex;
  justify-content: flex-end;
}

/* ── "Gerando calculadora AWS" loading state ─────────────────────────────── */
._generatingState_x5uru_223 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex: 1;
  min-height: 60vh;
  padding: 1.5rem;
  text-align: center;
}

._generatingSpinner_x5uru_235 {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid var(--border-default);
  border-top-color: var(--action-primary-bg);
  border-radius: 50%;
  animation: _resultSpin_x5uru_1 0.8s linear infinite;
}

@keyframes _resultSpin_x5uru_1 {
  to { transform: rotate(360deg); }
}

._generatingTitle_x5uru_248 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
}

._generatingText_x5uru_254 {
  max-width: 28rem;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ── Empty ("not ready") state ───────────────────────────────────────────── */
._emptyState_x5uru_262 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex: 1;
  min-height: 55vh;
  padding: 1.5rem;
  text-align: center;
}

._emptyIcon_x5uru_274 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--info-50);
  color: var(--action-primary-bg);
  margin-bottom: 0.25rem;
}

._emptyIcon_x5uru_274 ._material-symbols-outlined_x5uru_286 {
  font-size: 2rem;
}

._emptyTitle_x5uru_290 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

._emptyText_x5uru_297 {
  max-width: 32rem;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

._emptyCta_x5uru_305 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.75rem;
  margin-top: 0.75rem;
  padding: 0 1.5rem;
  background: var(--action-primary-bg);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

._emptyCta_x5uru_305:hover {
  opacity: 0.9;
}
._awsReadyTab_u9hr4_1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

._emptyCard_u9hr4_7 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

._stateCard_u9hr4_20 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

._errorText_u9hr4_33 {
  font-size: 0.8125rem;
  color: var(--text-error);
  margin: 0;
}

._emptyTitle_u9hr4_39 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0;
}

._emptyDesc_u9hr4_46 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin: 0;
  max-width: 30rem;
}

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

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

._summaryStrong_u9hr4_66 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-900);
}

._summaryMeta_u9hr4_72 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._summaryNote_u9hr4_77 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0.25rem 0 0;
}

._regenerateBtn_u9hr4_83 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-default);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

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

._search_u9hr4_100 {
  width: 100%;
  height: 2.5rem;
  padding: 0 0.875rem;
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

._search_u9hr4_100:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._table_u9hr4_116 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 0.75rem;
  overflow: hidden;
}

._theadRow_u9hr4_123,
._groupRow_u9hr4_124 {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1fr 0.6fr 0.6fr 0.8fr 0.8fr 1fr;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
}

._theadRow_u9hr4_123 {
  background: var(--surface-subtle);
  color: var(--text-tertiary);
  font-weight: 600;
  border-bottom: 0.0625rem solid var(--border-subtle);
}

._groupRow_u9hr4_124 {
  width: 100%;
  background: var(--surface-card);
  border: none;
  border-bottom: 0.0625rem solid var(--border-subtle);
  cursor: pointer;
  text-align: left;
  color: var(--text-secondary);
  transition: background 0.1s;
}

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

._groupBlock_u9hr4_155:last-child ._groupRow_u9hr4_124 {
  border-bottom: none;
}

._colGroup_u9hr4_159 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--slate-900);
}

._colInstance_u9hr4_167 { font-family: var(--font-family-mono); color: var(--text-secondary); }
._colOs_u9hr4_168 { color: var(--text-secondary); }
._colNum_u9hr4_169 { text-align: left; color: var(--text-secondary); }
._colActions_u9hr4_170 { color: var(--action-primary-bg); font-weight: 500; }

._chevron_u9hr4_172 {
  display: inline-block;
  transition: transform 0.15s;
  color: var(--text-tertiary);
  font-size: 1rem;
}

._chevronOpen_u9hr4_179 {
  transform: rotate(90deg);
}

._memberTable_u9hr4_183 {
  background: var(--surface-subtle);
  padding: 0.5rem 1rem 1rem;
}

._memberHeadRow_u9hr4_188,
._memberRow_u9hr4_189 {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 0.6fr 0.8fr 0.8fr 0.9fr 0.9fr 0.9fr;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem;
  font-size: 0.8125rem;
}

._memberHeadRow_u9hr4_188 {
  color: var(--text-tertiary);
  font-weight: 600;
  border-bottom: 0.0625rem solid var(--border-subtle);
}

._memberRow_u9hr4_189 {
  color: var(--text-secondary);
  border-bottom: 0.0417rem solid var(--border-subtle);
  background: var(--surface-card);
}

._mColName_u9hr4_210 { font-weight: 500; color: var(--slate-900); }
._mColOs_u9hr4_211, ._mColNum_u9hr4_211, ._mColMig_u9hr4_211, ._mColGroup_u9hr4_211 { color: var(--text-secondary); }
._mColActions_u9hr4_212 { color: var(--action-primary-bg); font-weight: 500; }

._memberFooter_u9hr4_214 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin: 0.5rem 0 0;
  padding: 0 0.5rem;
}

._footerActions_u9hr4_221 {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

._secondaryBtn_u9hr4_227 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-default);
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s;
}

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

._primaryBtn_u9hr4_243 {
  background: var(--action-primary-bg);
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

._primaryBtn_u9hr4_243:hover {
  opacity: 0.9;
}

/* Managed / PaaS resources (non-EC2 group) */

._managedSection_u9hr4_261 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

._managedTitle_u9hr4_268 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0;
}

._managedHeadRow_u9hr4_275,
._managedRow_u9hr4_276 {
  display: grid;
  grid-template-columns: 2fr 1.6fr 0.5fr 1.2fr 1.6fr 1.4fr;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
}

._managedHeadRow_u9hr4_275 {
  background: var(--surface-subtle);
  color: var(--text-tertiary);
  font-weight: 600;
  border-bottom: 0.0625rem solid var(--border-subtle);
}

._managedRow_u9hr4_276 {
  width: 100%;
  background: var(--surface-card);
  border: none;
  border-bottom: 0.0625rem solid var(--border-subtle);
  cursor: pointer;
  text-align: left;
  color: var(--text-secondary);
  transition: background 0.1s;
}

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

._groupBlock_u9hr4_155:last-child ._managedRow_u9hr4_276 {
  border-bottom: none;
}

._statusChip_u9hr4_311 {
  justify-self: start;
  border-radius: 999px;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
}

._statusReady_u9hr4_319 {
  background: var(--success-50);
  color: var(--text-success);
}

._statusMissing_u9hr4_324 {
  background: var(--warning-50);
  color: var(--text-warning);
}

._statusPending_u9hr4_329 {
  background: var(--surface-subtle);
  color: var(--text-tertiary);
}

._managedDetails_u9hr4_334 {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.375rem 1rem;
  margin: 0;
  padding: 0.75rem 1rem 1rem 2.25rem;
  background: var(--surface-subtle);
  font-size: 0.8125rem;
}

._managedDetails_u9hr4_334 dt {
  color: var(--text-tertiary);
  font-weight: 600;
}

._managedDetails_u9hr4_334 dd {
  margin: 0;
  color: var(--text-secondary);
  word-break: break-word;
}

._openRow_u9hr4_355._openRow_u9hr4_355 td {
  border-bottom: 1px solid var(--border-default);
}

._paramTable_u9hr4_359 {
  display: flex;
  flex-direction: column;
  margin-top: 0.25rem;
}

._paramRow_u9hr4_365 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 0.0625rem solid var(--border-subtle);
}

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

._paramLabel_u9hr4_378 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._paramValue_u9hr4_383 {
  font-size: 0.8125rem;
  color: var(--text-primary);
  text-align: right;
  overflow-wrap: anywhere;
}

._deleteGroupBtn_u9hr4_390 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  padding: 0.25rem;
  border: 1px solid var(--border-default);
  border-radius: 0.375rem;
  background: var(--surface-card);
  color: var(--text-error);
  cursor: pointer;
}

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

._deleteGroupBtn_u9hr4_390:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

._deleteGroupBtn_u9hr4_390:disabled:hover {
  background: var(--surface-card);
}

._generatingPanel_u9hr4_416 {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
}

._generatingText_u9hr4_426 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._generatingTitle_u9hr4_432 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

._generatingHint_u9hr4_438 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._generatingSpinner_u9hr4_443 {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  border: 2px solid var(--border-default);
  border-top-color: var(--action-primary-bg);
  border-radius: 50%;
  animation: _awsReadySpin_u9hr4_1 0.8s linear infinite;
}

@keyframes _awsReadySpin_u9hr4_1 {
  to { transform: rotate(360deg); }
}
._warningIcon_kjg8w_1 {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

._text_kjg8w_13 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

._infoBox_kjg8w_20 {
  background: var(--warning-50);
  border: 0.0625rem solid var(--warning-500);
  border-radius: 8px;
  padding: 0.625rem 0.875rem;
}

._infoText_kjg8w_27 {
  font-size: 0.75rem;
  color: var(--warning-700);
  line-height: 1.5;
  margin: 0;
}

._errorText_kjg8w_34 {
  font-size: 0.8125rem;
  color: var(--text-error);
  margin: 0;
}

._actions_kjg8w_40 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding-top: 0.375rem;
}

._primaryBtn_kjg8w_48 {
  height: 2.25rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--action-primary-bg);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--action-primary-bg);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

._primaryBtn_kjg8w_48:hover:not(:disabled) {
  background: color-mix(in srgb, var(--blue-600) 6%, transparent);
}

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

._cancelBtn_kjg8w_71 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

._cancelBtn_kjg8w_71:hover:not(:disabled) {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-secondary);
}

._cancelBtn_kjg8w_71:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
._calculatorTab_1lw77_1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

._title_1lw77_20 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0;
}

._subtitle_1lw77_27 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin: 0.25rem 0 0;
}

._stateCard_1lw77_33,
._resultCard_1lw77_34 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._stateCard_1lw77_33 {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

._cardTitle_1lw77_51 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0;
}

._cardDesc_1lw77_58 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin: 0;
  max-width: 34rem;
}

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

._cost_1lw77_72 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

._costLabel_1lw77_78 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._costValue_1lw77_83 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
}

._note_1lw77_89 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
  max-width: 34rem;
}

._errorBox_1lw77_96 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0.0625rem solid var(--text-error);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

._errorText_1lw77_106 {
  font-size: 0.8125rem;
  color: var(--text-error);
  margin: 0;
}

._details_1lw77_112 {
  border-top: 0.0625rem solid var(--border-subtle);
  padding-top: 0.5rem;
}

._detailsSummary_1lw77_117 {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

._issueList_1lw77_124 {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  max-height: 14rem;
  overflow-y: auto;
}

._issueItem_1lw77_135 {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

._issueGroup_1lw77_141 {
  font-family: var(--font-family-mono);
  font-weight: 600;
  color: var(--slate-900);
  min-width: 3.5rem;
}

._issueReason_1lw77_148 {
  color: var(--text-secondary);
}

._downloads_1lw77_152 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 0.0625rem solid var(--border-subtle);
  padding-top: 0.5rem;
}

._downloadsTitle_1lw77_160 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

._downloadLink_1lw77_168 {
  font-size: 0.8125rem;
  color: var(--action-primary-bg);
  text-decoration: none;
}

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

._footerActions_1lw77_178 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

._footerActions_1lw77_178 ._note_1lw77_89 {
  margin-right: auto;
}

._secondaryBtn_1lw77_189 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-default);
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s;
}

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

._primaryBtn_1lw77_205,
._primaryLink_1lw77_206 {
  background: var(--action-primary-bg);
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.15s;
}

._primaryBtn_1lw77_205:hover,
._primaryLink_1lw77_206:hover {
  opacity: 0.9;
}

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

/* Visually hidden, still announced by screen readers (loading state). */
._srOnly_1lw77_231 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Sync with AWS card ──────────────────────────────────────────────────── */
/* Own card rules instead of the Result tab's .card, which forces a column layout. */
._syncCard_1lw77_245 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
}

._syncCard_1lw77_245 ._syncButton_1lw77_258 {
  align-self: center;
  flex-shrink: 0;
}

._syncCard_1lw77_245 ._syncButton_1lw77_258:disabled,
._syncCard_1lw77_245 ._syncButton_1lw77_258:disabled:hover {
  opacity: 0.5;
  cursor: not-allowed;
}

._syncBody_1lw77_269 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

._syncStatusRow_1lw77_277 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

._syncBadge_1lw77_284 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.125rem 0.625rem;
  background: var(--slate-100);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
}

._syncDot_1lw77_297 {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--slate-400);
  flex-shrink: 0;
}

._syncBadgeOn_1lw77_305 {
  background: var(--success-50);
  color: var(--success-600);
}

._syncBadgeOn_1lw77_305 ._syncDot_1lw77_297 {
  background: var(--success-500);
}

._syncText_1lw77_314 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

._syncSpinner_1lw77_320 {
  font-size: 16px;
  animation: _syncSpin_1lw77_320 1s linear infinite;
}

@keyframes _syncSpin_1lw77_320 {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  ._syncSpinner_1lw77_320 {
    animation: none;
  }
}

/* Small progress card shown over the last estimate while a new one is generated. */
._runningPanel_1lw77_338 {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
}

._runningText_1lw77_348 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._runningTitle_1lw77_354 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

._runningHint_1lw77_360 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._runningSpinner_1lw77_365 {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  border: 2px solid var(--border-default);
  border-top-color: var(--action-primary-bg);
  border-radius: 50%;
  animation: _runningSpin_1lw77_365 0.8s linear infinite;
}

@keyframes _runningSpin_1lw77_365 {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  ._runningSpinner_1lw77_365 {
    animation: none;
  }
}

/* Actions of the last estimate while a new one is generated. */
._actionDisabled_1lw77_388:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._actionDisabled_1lw77_388:disabled:hover {
  border-color: var(--border-default);
  color: var(--text-secondary);
}
._preAssessmentScreen_1y408_1 {
  display: flex;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, var(--surface-subtle), var(--surface-page));
  overflow: hidden;
}

._mainContent_1y408_9 {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

._contentWrapper_1y408_16 {
  flex: 1;
  background: var(--surface-page);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

._breadcrumbContainer_1y408_24 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem 0 0;
  margin-top: 0.375rem;
  margin-bottom: 0.25rem;
  flex-shrink: 0;
}

._content_1y408_16 {
  flex: 1;
  padding: 0 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

._mainCard_1y408_42 {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 0.625rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

._tabsContainer_1y408_54 {
  border-bottom: 0.0417rem solid var(--border-subtle);
  flex-shrink: 0;
}

._cardContent_1y408_59 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

._placeholderCard_1y408_69 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-xs);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
  text-align: center;
}

._placeholderIcon_1y408_84 {
  width: 3rem;
  height: 3rem;
  color: var(--blue-600);
  opacity: 0.5;
}

._placeholderTitle_1y408_91 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0;
}

._placeholderDesc_1y408_98 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin: 0;
  max-width: 28rem;
}

._errorState_1y408_105 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
}

._inventoryFooter_1y408_113 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0;
}

._inventoryError_1y408_121 {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-error);
}

._generateAwsReadyBtn_1y408_127 {
  background: var(--action-primary-bg);
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

._generateAwsReadyBtn_1y408_127:hover {
  opacity: 0.9;
}

._skeleton_1y408_143 {
  background: linear-gradient(90deg, var(--slate-200) 25%, var(--slate-100) 50%, var(--slate-200) 75%);
  background-size: 200% 100%;
  animation: _shimmer_1y408_1 1.5s ease-in-out infinite;
  border-radius: 0.5rem;
}

@keyframes _shimmer_1y408_1 {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ─── Status tab divider (pre-assessment) ───────────────────────────────── */
._preStatusDivider_1y408_161 {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.25rem -1.5rem 0.75rem -1.5rem;
}

/* ─── "Start with the inventory" card (Status tab, pre-assessment) ───────── */
._preInventoryCard_1y408_168 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: var(--blue-50);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
}

._preInventoryText_1y408_180 {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

._preInventoryTitle_1y408_187 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

._preInventoryDesc_1y408_193 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._preInventoryButton_1y408_198 {
  flex-shrink: 0;
  height: 2.25rem;
  padding: 0 1rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

._preInventoryButton_1y408_198:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

/* ─── Pre-assessment: required-inventory banner (Documents tab) ──────────── */
._preInventoryBanner_1y408_218 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: var(--warning-50);
  border: 1px solid var(--warning-200);
  border-radius: 0.625rem;
  color: var(--warning-700);
}

._preInventoryBannerText_1y408_230 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

._preInventoryBannerText_1y408_230 strong {
  color: var(--warning-700);
  font-weight: 700;
}

._preInventoryBannerLink_1y408_244 {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--warning-700);
  text-decoration: underline;
  cursor: pointer;
}

._preInventoryBannerLink_1y408_244:hover {
  opacity: 0.85;
}
._accordion_u1f7m_1 {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* Header row: clickable title on the left, review/status + chevron on the right */
._accordionHeaderRow_u1f7m_10 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.25rem;
}

._accordionToggle_u1f7m_19 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

._headerRight_u1f7m_32 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

._chevronButton_u1f7m_39 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

._stepNumber_u1f7m_49 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-tertiary);
}

._stepTitle_u1f7m_64 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

._statusBadge_u1f7m_70 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

._statusDot_u1f7m_79 {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: currentColor;
}

._chevron_u1f7m_39 {
  font-size: 20px;
  color: var(--text-tertiary);
  transition: transform 0.15s ease;
}

._chevronOpen_u1f7m_92 {
  transform: rotate(180deg);
}

/* Body */
._body_u1f7m_97 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

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

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

@media (max-width: 720px) {
  ._grid2_u1f7m_106,
  ._grid3_u1f7m_112 {
    grid-template-columns: 1fr;
  }
}

._field_u1f7m_125 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

._label_u1f7m_132 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

._required_u1f7m_138 {
  color: var(--text-error);
}

/* Message under an empty field that CreateOpportunity requires. */
._requiredNote_u1f7m_143 {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--text-error);
}

._input_u1f7m_149,
._select_u1f7m_150 {
  height: 2.5rem;
  padding: 0 0.75rem;
  background: var(--surface-card);
  border: 1.5px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: border-color 0.15s ease;
}

._select_u1f7m_150 {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2390a1b9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  cursor: pointer;
}

._input_u1f7m_149:focus,
._select_u1f7m_150:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._input_u1f7m_149::placeholder,
._textarea_u1f7m_177::placeholder {
  color: var(--text-tertiary);
}

._textarea_u1f7m_177 {
  padding: 0.625rem 0.75rem;
  background: var(--surface-card);
  border: 1.5px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.15s ease;
}

._textarea_u1f7m_177:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._footer_u1f7m_198 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

/* Section footer: unsaved notice on the left, actions on the right. */
._footerSplit_u1f7m_208 {
  justify-content: space-between;
}

._footerActions_u1f7m_212 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

._unsavedHint_u1f7m_219 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-warning);
}

._unsavedHint_u1f7m_219:not(:empty)::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--warning-600);
}

._savedHint_u1f7m_235 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-success);
}

._savedHint_u1f7m_235 .material-symbols-outlined {
  font-size: 1rem;
}

._cancelButton_u1f7m_247 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

._cancelButton_u1f7m_247:hover:not(:disabled) {
  border-color: var(--text-tertiary);
  color: var(--text-primary);
}

._cancelButton_u1f7m_247:focus-visible {
  outline: 0.125rem solid var(--border-focus);
  outline-offset: 0.125rem;
}

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

._saveButton_u1f7m_274 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--action-primary-bg);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

._saveButton_u1f7m_274:hover:not(:disabled) {
  opacity: 0.9;
}

._saveButton_u1f7m_274:focus-visible {
  outline: 0.125rem solid var(--border-focus);
  outline-offset: 0.125rem;
}

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

/* Hover message on a disabled action: the bubble sits above the button. */
._tipWrap_u1f7m_302 {
  position: relative;
  display: inline-flex;
}

._tipBubble_u1f7m_307 {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.5rem);
  z-index: 10;
  display: none;
  width: max-content;
  max-width: 16rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card);
  font-size: 0.8125rem;
  color: var(--text-primary);
}

._tipWrap_u1f7m_302:hover ._tipBubble_u1f7m_307 {
  display: block;
}

/* Post-create steps (complete / associate): fields are gated until the
   opportunity exists. A disabled fieldset dims and blocks its controls. */
._fieldset_u1f7m_330 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}

._fieldset_u1f7m_330:disabled {
  opacity: 0.55;
}

/* Hint shown while the opportunity has not been created yet. */
._idNote_u1f7m_345 {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._idNotLinked_u1f7m_351 {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  min-height: 2.5rem;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

._idNotLinkedDot_u1f7m_360 {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--text-tertiary);
  flex-shrink: 0;
}

._copyIdButton_u1f7m_368 {
  display: inline-flex;
  padding: 0.125rem;
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  border-radius: 0.25rem;
}

._copyIdButton_u1f7m_368:hover {
  color: var(--action-primary-bg);
}

._linkedStatus_u1f7m_382 {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.8125rem;
  color: var(--success-700);
}

._connectedDot_u1f7m_390 {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--success-500);
  flex-shrink: 0;
}

._fieldHint_u1f7m_398 {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Calculator estimate: a result written by the agent, shown as a link with Copy and Open in one box. */
._estimateBox_u1f7m_406 {
  display: flex;
  align-self: flex-start;
  max-width: 100%;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
}

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

._estimateTag_u1f7m_425 {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.75rem;
  line-height: 1.25;
  padding: 0.1875rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--accent-fg);
  background: var(--accent-fg-alpha-08);
}

._estimateTagPending_u1f7m_437 {
  color: var(--warn-text);
  background: var(--warn-surface);
  border-color: var(--warn-border);
}

._estimateBoxPending_u1f7m_443 {
  gap: 0.5rem;
  color: var(--text-primary);
}

._estimatePendingIcon_u1f7m_448 {
  flex-shrink: 0;
  color: var(--warning-500);
}

._estimatePendingText_u1f7m_453 {
  font-size: 0.8125rem;
  color: var(--text-primary);
}

._estimateButton_u1f7m_458 {
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1875rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1.25;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: 0.375rem;
  cursor: pointer;
  text-decoration: none;
}

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

._estimateButtonPrimary_u1f7m_479 {
  color: var(--action-primary-bg);
  border-color: var(--action-primary-bg);
}

._estimateIconButton_u1f7m_484 {
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
}

._estimateUrl_u1f7m_491 {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  color: var(--action-primary-bg);
  text-decoration: underline;
}

._estimateButton_u1f7m_458:focus-visible,
._estimateUrl_u1f7m_491:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

._accordionToggle_u1f7m_19:focus-visible,
._chevronButton_u1f7m_39:focus-visible,
._copyIdButton_u1f7m_368:focus-visible {
  outline: 0.125rem solid var(--border-focus);
  outline-offset: 0.125rem;
}
/* Trigger: same box, border and chevron as the native .select in
   ClientFinalAccordion.module.css, so the field looks unchanged when closed. */
._trigger_14joe_3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  height: 2.5rem;
  padding: 0 2rem 0 0.75rem;
  background: var(--surface-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2390a1b9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0.75rem center;
  border: 1.5px solid var(--border-default);
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.875rem;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

._trigger_14joe_3:focus,
._trigger_14joe_3[aria-expanded='true'] {
  outline: none;
  border-color: var(--action-primary-bg);
}

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

._value_14joe_32 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._placeholder_14joe_38 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-tertiary);
}

/* Popup: fixed, rendered in document.body (see SearchableSelect.tsx). */
._popover_14joe_46 {
  position: fixed;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  max-height: 20rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card);
  outline: none;
  overflow: hidden;
}

._searchBox_14joe_60 {
  padding: 0.5rem;
  border-bottom: 1px solid var(--border-default);
}

._search_14joe_60 {
  width: 100%;
  height: 2rem;
  padding: 0 0.625rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.375rem;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--text-primary);
}

._search_14joe_60:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._list_14joe_82 {
  overflow-y: auto;
  padding: 0.25rem;
}

._option_14joe_87 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  cursor: pointer;
}

._optionLabel_14joe_98 {
  min-width: 0;
}

._active_14joe_102 {
  background: color-mix(in srgb, var(--action-primary-bg) 12%, transparent);
}

._selected_14joe_106 {
  font-weight: 600;
}

._empty_14joe_110 {
  padding: 0.5rem 0.625rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}
/* The yes/no choice of the MAP migration block. The
   accordion shell, fields and buttons come from ClientFinalAccordion.module.css. */
._fieldset_wiz5p_3 {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._legend_wiz5p_13 {
  padding: 0;
  /* A legend is not a flex item, so the fieldset gap does not apply to it: this is
     the label-to-control spacing (0.375rem) of .field in ClientFinalAccordion. */
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Radio rows: same look as the managed-services choice of the new-project form
   (InlineNewProjectForm.module.css). */
._radioRow_wiz5p_25 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

._radioRow_wiz5p_25:hover {
  border-color: var(--action-primary-bg);
}

._radioRowActive_wiz5p_40 {
  border-color: var(--action-primary-bg);
  background: var(--info-50);
}

._radioRow_wiz5p_25 input {
  accent-color: var(--action-primary-bg);
  flex-shrink: 0;
}

._radioText_wiz5p_50 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* The fixed MAP phase: a read-only value, not an editable field. */
._fixedValue_wiz5p_56 {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--border-default);
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-primary);
  background: var(--surface-subtle);
}

._counter_wiz5p_68 {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: right;
}
/* Checkbox rows inside the shared SearchableSelect popup, and the chips that
   list the choices under the closed field. Box, popup, search and list styles
   come from SearchableSelect.module.css. */
._row_772rs_4 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

._box_772rs_10 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  border: 1.5px solid var(--border-default);
  border-radius: 0.25rem;
  background: var(--surface-card);
  color: var(--action-primary-text, #fff);
}

._boxChecked_772rs_23 {
  border-color: var(--action-primary-bg);
  background: var(--action-primary-bg);
}

._boxIcon_772rs_28 {
  font-size: 0.875rem;
  line-height: 1;
}

._rowSelected_772rs_33 {
  border-radius: 0.375rem;
  box-shadow: inset 0 0 0 1.5px var(--action-primary-bg);
}

._chips_772rs_38 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

._chip_772rs_38 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  max-width: 100%;
  padding: 0.25rem 0.375rem 0.25rem 0.75rem;
  background: var(--surface-card);
  border: 1.5px solid var(--action-primary-bg);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-primary);
}

._chipLabel_772rs_60 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._chipRemove_772rs_66 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0.25rem;
  color: var(--action-primary-bg);
  cursor: pointer;
}

._chipRemove_772rs_66:hover:not(:disabled) {
  background: color-mix(in srgb, var(--action-primary-bg) 14%, transparent);
}

._chipRemove_772rs_66:focus-visible {
  outline: 2px solid var(--action-primary-bg);
  outline-offset: 1px;
}

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

._chipRemoveIcon_772rs_94 {
  font-size: 1rem;
  line-height: 1;
}
._opportunity_8gyis_1 {
  /* Natural flow (same as the full-assessment inventory): no fixed height and
     no inner scroll — the outer .cardContent auto-scrolls the whole tab. This
     also prevents the flex column from squashing the accordion headers. */
  display: flex;
  flex-direction: column;
}

/* Fixed header — title, badge, subtitle and action buttons stay pinned at the
   top (sticky) while the body below scrolls within .cardContent. The negative
   top offset equals the card's own top padding so the header pins flush at the
   visible top edge with no gap; negative side/top margins + matching padding
   let the header background cover the card's padding. */
._header_8gyis_14 {
  position: sticky;
  top: -1.5rem;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: -1.5rem -1.5rem 1.25rem -1.5rem;
  padding: 1.5rem 1.5rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-card);
  flex-shrink: 0;
}

/* Body — natural flow; the outer .cardContent handles the scroll. */
._scrollBody_8gyis_31 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

._titleRow_8gyis_44 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

._title_8gyis_44 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

._statusBadge_8gyis_57 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.125rem 0.625rem;
  background: var(--slate-100);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

._statusDot_8gyis_69 {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--text-tertiary);
}

._subtitle_8gyis_76 {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

._headerActions_8gyis_82 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

._generateButton_8gyis_89 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1.125rem;
  background: var(--action-ai-bg);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-ai-text);
  cursor: pointer;
  transition: background 0.15s ease;
}

._generateButton_8gyis_89:hover {
  background: var(--action-ai-bg-hover);
}

/* Partner Central card */
._card_8gyis_3 {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  box-shadow: var(--shadow-card);
}

._cardTitle_8gyis_121 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

._identStatus_8gyis_136 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  font-size: 0.875rem;
}

._requiredMark_8gyis_144 {
  color: var(--text-error);
}

/* A label that needs an asterisk: the mark is drawn with ::after, so the label text stays as it is. */
._requiredLabel_8gyis_149::after {
  content: " *";
  color: var(--text-error);
}

._requiredNote_8gyis_154 {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--text-error);
}

._idLabel_8gyis_160 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

._idNotLinked_8gyis_166 {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

._idNotLinkedDot_8gyis_174 {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--text-tertiary);
  flex-shrink: 0;
}

._idInput_8gyis_182 {
  height: 2.25rem;
  padding: 0 0.75rem;
  background: var(--surface-card);
  border: 1.5px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: border-color 0.15s ease;
}

._idInput_8gyis_182:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._idInput_8gyis_182::placeholder {
  color: var(--text-tertiary);
}

._idNote_8gyis_202 {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._cardSubtle_8gyis_208 {
  margin: 0.25rem 0 1rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._connectedBadge_8gyis_214 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: var(--success-50);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success-700);
  white-space: nowrap;
}

._connectedDot_8gyis_227 {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--success-500);
  flex-shrink: 0;
}

._checkingBadge_8gyis_235 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: var(--slate-100);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
}

._checkingSpinner_8gyis_248 {
  width: 0.625rem;
  height: 0.625rem;
  flex-shrink: 0;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: _connectionSpin_8gyis_1 0.8s linear infinite;
}

@keyframes _connectionSpin_8gyis_1 {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  ._checkingSpinner_8gyis_248 {
    animation-duration: 2.4s;
  }
}

._disconnectButton_8gyis_270 {
  height: 2.25rem;
  padding: 0 1rem;
  flex-shrink: 0;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

._disconnectButton_8gyis_270:hover {
  border-color: var(--text-tertiary);
  color: var(--text-primary);
}

/* Shown when the AWS integration is not connected (optional step). */
._notConnectedBanner_8gyis_289 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--info-50);
  border: 1px solid var(--blue-200);
  border-radius: 0.625rem;
  color: var(--action-primary-bg);
}

._notConnectedBannerText_8gyis_300 {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* ── AWS sync flow (connected) ───────────────────────────────────────────── */

/* Primary "Atualizar na APN" / "Criar Oportunidade" once connected. */
._updateButtonPrimary_8gyis_310 {
  height: 2.5rem;
  padding: 0 1.125rem;
  background: var(--action-primary-bg);
  border: 1px solid var(--action-primary-bg);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

._updateButtonPrimary_8gyis_310:hover:not(:disabled) {
  opacity: 0.9;
}

._updateButtonPrimary_8gyis_310:focus-visible {
  outline: 0.125rem solid var(--border-focus);
  outline-offset: 0.125rem;
}

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

/* Processing panel (Verificando / Consultando). */
._syncPanel_8gyis_338 {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
}

._syncPanelText_8gyis_348 {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
  flex: 1;
  min-width: 0;
}

._syncPanelTitle_8gyis_356 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

._syncPanelHint_8gyis_362 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._syncSpinner_8gyis_367 {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  border: 2px solid var(--border-default);
  border-top-color: var(--action-primary-bg);
  border-radius: 50%;
  animation: _oppSpin_8gyis_1 0.8s linear infinite;
}

@keyframes _oppSpin_8gyis_1 {
  to { transform: rotate(360deg); }
}

/* Success / error banners. */
._syncSuccess_8gyis_382,
._syncError_8gyis_383 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0.625rem;
}

._syncSuccess_8gyis_382 {
  background: var(--success-50);
  border: 1px solid var(--success-500);
}

._syncError_8gyis_383 {
  background: var(--error-50);
  border: 1px solid var(--border-error);
}

._syncSuccessText_8gyis_402 {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
  min-width: 0;
}

._syncSuccessTitle_8gyis_409 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--success-700);
}

._syncErrorTitle_8gyis_415 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--error-700);
}

._syncSuccessHint_8gyis_421 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._syncClose_8gyis_426 {
  flex-shrink: 0;
  display: inline-flex;
  padding: 0.125rem;
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  border-radius: 0.375rem;
}

._syncClose_8gyis_426:hover {
  color: var(--text-primary);
  background: var(--surface-subtle);
}

._copyIdButton_8gyis_442 {
  display: inline-flex;
  padding: 0.125rem;
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  border-radius: 0.25rem;
}

._copyIdButton_8gyis_442:hover {
  color: var(--action-primary-bg);
}

._readOnlyTag_8gyis_456 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._linkedStatus_8gyis_461 {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.8125rem;
  color: var(--success-700);
}

/* ── Divergence resolution panel ─────────────────────────────────────────── */
._divergencePanel_8gyis_470 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  box-shadow: var(--shadow-card);
}

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

._divergenceTitle_8gyis_488 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

._divergenceSubtitle_8gyis_494 {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._divergenceCounter_8gyis_500 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
}

._divergenceStep_8gyis_507 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
}

._divergenceStepLabel_8gyis_517 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

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

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

._divergenceColLabel_8gyis_541 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-tertiary);
}

._divergenceValue_8gyis_549 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Summary of every divergent field, shown above the step-by-step choice. */
._divergenceSummary_8gyis_556 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}

._divergenceSummary_8gyis_556 th {
  padding: 0.375rem 0.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border-subtle);
}

._divergenceSummary_8gyis_556 td {
  padding: 0.5rem;
  vertical-align: top;
  color: var(--text-primary);
  border-top: 1px solid var(--border-subtle);
}

._divergenceSummaryValue_8gyis_578 {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._divergenceSummaryActive_8gyis_585 td {
  background: var(--surface-subtle);
  font-weight: 600;
}

._divergenceChoicesLabel_8gyis_590 {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

._divergenceChoices_8gyis_590 {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

._divergenceChoice_8gyis_590 {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
}

._divergencePending_8gyis_613 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

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

._divergenceNav_8gyis_626 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-left: auto;
}

._divergenceBack_8gyis_633 {
  height: 2.5rem;
  padding: 0 1.125rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

._divergenceNext_8gyis_645,
._divergenceConfirm_8gyis_646 {
  height: 2.5rem;
  padding: 0 1.125rem;
  background: var(--text-primary);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

._divergenceNext_8gyis_645:hover:not(:disabled),
._divergenceConfirm_8gyis_646:hover:not(:disabled) {
  opacity: 0.9;
}

._divergenceNext_8gyis_645:disabled,
._divergenceConfirm_8gyis_646:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._submitItemMet_8gyis_670,
._submitItemPending_8gyis_671 {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

._submitItemMet_8gyis_670 {
  color: var(--text-success);
}

._submitItemPending_8gyis_671 {
  color: var(--text-warning);
}

._submitActions_8gyis_685 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

._submitHint_8gyis_693 {
  flex: 1;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._submitConfirm_8gyis_699 {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

._submitConfirmQuestion_8gyis_707 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Requirements strip (top of the Opportunity tab) ───────────────────── */
._requirementsStrip_8gyis_714 {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: var(--text-primary);
}

._requirementsColumns_8gyis_724 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.125rem;
}

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

._requirementsTitle_8gyis_736 {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

._requirementsCount_8gyis_743 {
  margin-left: 0.375rem;
  font-weight: 400;
  color: var(--text-tertiary);
}

._requirementsList_8gyis_749 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3125rem;
}

._requirementTag_8gyis_757 {
  margin-left: auto;
  padding: 0.0625rem 0.4375rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  white-space: nowrap;
}

._requirementsMore_8gyis_767 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ── Opportunity identification (data list, then the title) ─────────────── */
._identDataList_8gyis_773 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  margin: 0 0 0.875rem;
  font-size: 0.8125rem;
}

._identDataTerm_8gyis_781 {
  margin: 0;
  color: var(--text-tertiary);
}

._identDataValue_8gyis_786 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-primary);
}

._identTitleBlock_8gyis_794 {
  display: grid;
  gap: 0.375rem;
}

._identTitleHint_8gyis_799 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Title and stage on one row; the stage stacks under the title on narrow widths. */
._identTitleRow_8gyis_805 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem 1rem;
}

._identTitleRow_8gyis_805 > ._identTitleBlock_8gyis_794 {
  flex: 1 1 16rem;
}

._identStageBlock_8gyis_816 {
  display: grid;
  flex: 0 1 14rem;
  gap: 0.375rem;
  min-width: 12rem;
}

._identStatusBlock_8gyis_823 {
  position: relative;
  display: grid;
  flex: 0 1 12rem;
  gap: 0.375rem;
  min-width: 10rem;
}

._identStatusValue_8gyis_831 {
  display: flex;
  align-items: center;
  min-height: 2.25rem;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

._fieldHelp_8gyis_839 {
  position: relative;
  display: inline-flex;
  align-items: center;
}

._fieldHelpButton_8gyis_845 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: none;
  color: var(--text-tertiary);
  font-size: 18px;
  line-height: 1;
  cursor: help;
}

._fieldHelpButton_8gyis_845:hover,
._fieldHelpButton_8gyis_845:focus-visible {
  color: var(--text-secondary);
}

/* The global icon class sets its own size; this makes the icon follow the button's font-size. */
._fieldHelpButton_8gyis_845 ._fieldHelpIcon_8gyis_865 {
  font-size: inherit;
}

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

._fieldHelpBubble_8gyis_874 {
  position: absolute;
  right: 0;
  top: calc(100% + 0.375rem);
  z-index: 10;
  width: max-content;
  max-width: 16rem;
  padding: 0.5rem 0.625rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-secondary);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

._fieldHelp_8gyis_839:hover ._fieldHelpBubble_8gyis_874,
._fieldHelp_8gyis_839:focus-within ._fieldHelpBubble_8gyis_874 {
  opacity: 1;
  visibility: visible;
}

/* The status tooltip opens from the left edge of its column, under the "Status na AWS" label. */
._identStatusBlock_8gyis_823 ._fieldHelp_8gyis_839 {
  position: static;
}

._identStatusBlock_8gyis_823 ._fieldHelpBubble_8gyis_874 {
  left: 0;
  right: auto;
  max-width: 100%;
}

._identStatusLabel_8gyis_911 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ── AWS review banner (top of the tab) ─────────────────────────────────── */

._reviewBanner_8gyis_919,
._reviewBannerAction_8gyis_920,
._reviewBannerRejected_8gyis_921 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.875rem 1.125rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
}

._reviewBannerAction_8gyis_920 {
  background: var(--warn-surface);
  border-color: var(--warn-border);
}

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

._reviewBannerTitle_8gyis_943 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

._reviewPill_8gyis_949,
._reviewPillAction_8gyis_950,
._reviewPillRejected_8gyis_951 {
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

._reviewPill_8gyis_949 {
  background: var(--info-50);
  color: var(--action-primary-bg);
}

._reviewPillAction_8gyis_950 {
  background: var(--surface-card);
  color: var(--warn-text);
}

._reviewBannerRejected_8gyis_921 {
  background: var(--error-50);
  border-color: var(--border-error);
}

._reviewPillRejected_8gyis_951 {
  background: var(--error-50);
  border: 1px solid var(--border-error);
  color: var(--text-error);
}

._reviewBannerText_8gyis_979 {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

._reviewBannerHint_8gyis_986 {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* Action Required: one row with the resubmit checkbox and the single button. */
._reviewCorrect_8gyis_993 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

._reviewCheck_8gyis_1002 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
}

._reviewCheck_8gyis_1002 input {
  accent-color: var(--action-primary-bg);
  width: 1rem;
  height: 1rem;
  margin: 0;
}

._reviewCheck_8gyis_1002 input:disabled {
  cursor: not-allowed;
}

/* ── Opportunity progress (header) ──────────────────────────────────────── */

._progress_8gyis_1024 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

._progressSteps_8gyis_1031 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

._progressStep_8gyis_1031,
._progressStepDone_8gyis_1042,
._progressStepCurrent_8gyis_1043,
._progressStepWarn_8gyis_1044,
._progressStepDanger_8gyis_1045 {
  display: inline-flex;
  align-items: center;
  padding: 0.1875rem 0.625rem;
  border: 1px solid var(--border-default);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--surface-card);
  color: var(--text-tertiary);
}

/* Separator between steps. */
._progressSteps_8gyis_1031 > li + li::before {
  content: '›';
  margin: 0 0.375rem 0 -0.125rem;
  color: var(--text-tertiary);
}

._progressStepDone_8gyis_1042 {
  background: var(--success-50);
  border-color: var(--success-50);
  color: var(--success-700);
}

._progressStepCurrent_8gyis_1043 {
  background: var(--info-50);
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._progressStepWarn_8gyis_1044 {
  background: var(--warn-surface);
  border-color: var(--warn-border);
  color: var(--warn-text);
}

._progressStepDanger_8gyis_1045 {
  background: var(--surface-card);
  border-color: var(--border-error);
  color: var(--text-error);
}

._progressMeta_8gyis_1088 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* Account manager (AM) block under the title and stage: one row of four inputs that wraps when narrow. */
._identAmBlock_8gyis_1094 {
  display: grid;
  gap: 0.625rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-default);
}

._identAmTitle_8gyis_1101 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

._identAmGrid_8gyis_1107 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem 1rem;
  /* A required note makes one field taller; the others must not stretch with it. */
  align-items: start;
}

._identAmField_8gyis_1115 {
  display: grid;
  gap: 0.375rem;
  min-width: 0;
}

/* Keyboard focus on the tab's other buttons, same ring as the shared components. */
._generateButton_8gyis_89:focus-visible,
._disconnectButton_8gyis_270:focus-visible,
._copyIdButton_8gyis_442:focus-visible,
._syncClose_8gyis_426:focus-visible {
  outline: 0.125rem solid var(--border-focus);
  outline-offset: 0.125rem;
}

/* Seller phone: country selector (flag and calling code) beside the number. */
._phoneRow_8gyis_1131 {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  /* Grid item: without this it can't shrink below the number input's
     intrinsic width and overflows its column on narrow cards. */
  min-width: 0;
}

._phoneRow_8gyis_1131 ._phoneCountry_8gyis_1140 {
  flex-shrink: 0;
  width: auto;
  min-width: 6rem;
  height: 2.25rem;
  padding-right: 1.75rem;
}

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

._phoneFlag_8gyis_1153 {
  flex-shrink: 0;
  width: 1.25rem;
  height: auto;
  border-radius: 0.125rem;
  box-shadow: 0 0 0 1px var(--border-default);
}
._line_zedul_1 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  padding-left: 0.625rem;
  border-left: 3px solid var(--border-default);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._neutral_zedul_11 {
  border-left-color: var(--border-default);
}

._synced_zedul_15 {
  border-left-color: var(--success-500);
}

._pending_zedul_19 {
  border-left-color: var(--warning-600);
}

._pending_zedul_19 ._note_zedul_23 {
  color: var(--text-warning);
}
._wizardCard_1xd4w_1 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
  padding: 18px;
  background: var(--surface-pause);
  border: 1px solid var(--border-pause);
  border-radius: var(--radius);
}

._header_1xd4w_12 {
  display: flex;
  align-items: center;
  gap: 12px;
}

._headerIcon_1xd4w_18 {
  font-size: 20px;
  color: var(--text-pause);
}

._headerText_1xd4w_23 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

._eyebrow_1xd4w_30 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-pause);
}

._headline_1xd4w_38 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-pause);
}

._progressPill_1xd4w_45 {
  margin-left: auto;
  flex-shrink: 0;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}

._reason_1xd4w_57 {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

._reasonToggle_1xd4w_63 {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-family: inherit;
  cursor: pointer;
}

._reasonToggle_1xd4w_63:focus-visible,
._option_1xd4w_78:focus-visible,
._freeTextInput_1xd4w_79:focus-visible,
._backButton_1xd4w_80:focus-visible,
._quietButton_1xd4w_81:focus-visible,
._primaryButton_1xd4w_82:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

._reasonIcon_1xd4w_87 {
  font-size: 16px;
}

._reasonLabel_1xd4w_91 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

._reasonChevron_1xd4w_98 {
  margin-left: auto;
  font-size: 20px;
  transition: transform 0.15s;
}

._reasonChevronOpen_1xd4w_104 {
  transform: rotate(180deg);
}

._reasonPanel_1xd4w_108 {
  padding: 0 12px 12px 36px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

._questionCard_1xd4w_115 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

._questionHead_1xd4w_125 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

._stageTag_1xd4w_131 {
  flex-shrink: 0;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-pause);
  background: var(--surface-pause-strong);
  border: 1px solid var(--border-pause);
  border-radius: var(--radius);
}

._questionText_1xd4w_144 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

._questionTitle_1xd4w_151 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

._questionContext_1xd4w_158 {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

._optionsList_1xd4w_165 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

._option_1xd4w_78 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

._option_1xd4w_78:hover:not(:disabled) {
  background: var(--surface-card-hover);
}

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

._optionSelected_1xd4w_196,
._optionSelected_1xd4w_196:hover:not(:disabled) {
  background: var(--surface-ai);
  border-color: var(--border-ai);
}

._optionText_1xd4w_202 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

._optionSelected_1xd4w_196 ._optionLabel_1xd4w_209 {
  color: var(--text-ai);
}

._optionCheck_1xd4w_213 {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--text-ai);
}

._optionLabel_1xd4w_209 {
  font-size: 14px;
  font-weight: 600;
}

._optionConsequence_1xd4w_224 {
  font-size: 13px;
  color: var(--text-tertiary);
}

._freeTextInput_1xd4w_79 {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
}

._freeTextInput_1xd4w_79::placeholder {
  color: var(--text-tertiary);
}

._freeTextInput_1xd4w_79:focus {
  border-color: var(--border-focus);
}

._statusNote_1xd4w_249 {
  margin: 0;
  font-size: 12px;
  color: var(--text-tertiary);
}

._footer_1xd4w_255 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-pause);
}

._footerCenter_1xd4w_264 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

._hint_1xd4w_272 {
  font-size: 12px;
  color: var(--text-tertiary);
}

._quietActions_1xd4w_277 {
  display: flex;
  gap: 12px;
}

._quietButton_1xd4w_81 {
  padding: 2px 4px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  text-decoration: underline;
  cursor: pointer;
}

._quietButton_1xd4w_81:hover:not(:disabled) {
  color: var(--text-primary);
}

._backButton_1xd4w_80,
._primaryButton_1xd4w_82 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius);
  cursor: pointer;
}

._backButton_1xd4w_80 ._material-symbols-outlined_1xd4w_312,
._primaryButton_1xd4w_82 ._material-symbols-outlined_1xd4w_312 {
  font-size: 18px;
}

._backButton_1xd4w_80 {
  color: var(--text-secondary);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
}

._primaryButton_1xd4w_82 {
  color: var(--action-ai-text);
  background: var(--action-ai-bg);
  border: 1px solid transparent;
}

._primaryButton_1xd4w_82:hover:not(:disabled) {
  background: var(--action-ai-bg-hover);
}

._backButton_1xd4w_80:disabled,
._quietButton_1xd4w_81:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  ._footer_1xd4w_255 {
    flex-wrap: wrap;
  }

  ._footerCenter_1xd4w_264 {
    order: 3;
    width: 100%;
  }
}

._primaryButton_1xd4w_82:disabled {
  color: var(--text-disabled);
  background: var(--surface-subtle);
  cursor: not-allowed;
}

._reviewCard_1xd4w_356 {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

._reviewHeader_1xd4w_362 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}

._reviewHeading_1xd4w_370 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

._reviewCount_1xd4w_377 {
  font-size: 13px;
  color: var(--text-pause);
}

._reviewList_1xd4w_382 {
  margin: 0;
  padding: 0;
  list-style: none;
}

._reviewItem_1xd4w_388 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-subtle);
}

._reviewNumber_1xd4w_396 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
}

._reviewNumberDone_1xd4w_408 {
  color: var(--text-success);
  background: var(--success-50);
}

._reviewNumberPending_1xd4w_413 {
  color: var(--text-pause);
  background: var(--surface-pause-strong);
}

._reviewText_1xd4w_418 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

._reviewQuestion_1xd4w_426 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

._reviewAnswer_1xd4w_432 {
  font-size: 13px;
  color: var(--text-secondary);
  overflow-wrap: anywhere;
}

._reviewAction_1xd4w_438 {
  flex-shrink: 0;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-ai);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

._reviewAction_1xd4w_438:hover:not(:disabled) {
  background: var(--surface-ai);
}

._reviewAction_1xd4w_438:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

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

._errorCard_1xd4w_465 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

._errorIcon_1xd4w_475 {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--text-error);
}

._errorText_1xd4w_481 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

._errorTitle_1xd4w_489 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

._errorDescription_1xd4w_495 {
  font-size: 13px;
  color: var(--text-secondary);
}

._primaryButton_1xd4w_82 ._sendIcon_1xd4w_500 {
  font-size: 16px;
}
/* GapCard.module.css
 *
 * Shared styles for the orchestrator HITL card, extracted verbatim from
 * OrchestratorTab.module.css so the visual is identical across the
 * Orchestrator tab and the Analysis / Detailed / Current Scenario tabs.
 *
 * Two variants:
 *  - gapCard*      (warning/amber)  → a real gap: user must supply info
 *  - approvalCard* (indigo)         → an approval checkpoint between steps
 */

/* ── HITL Gap card (warning — missing information) ── */
._gapCard_163ap_13 {
  background: var(--warning-50);
  border: 1.5px solid var(--warning-500);
  border-radius: 8px;
  padding: 14px;
  margin-top: 10px;
}

._gapHeader_163ap_21 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

._gapTitle_163ap_28 {
  font-size: 12px;
  font-weight: 600;
  color: var(--warning-700);
}

._gapBody_163ap_34 {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 4px;
}

._gapReason_163ap_41 {
  font-size: 12px;
  color: var(--warning-700);
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.5;
}

._gapOptions_163ap_49 {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

._gapOption_163ap_49 {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1.5px solid var(--warning-500);
  background: transparent;
  color: var(--warning-700);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

._gapOption_163ap_49:hover {
  background: var(--warning-500);
  color: var(--text-inverse);
}

._gapOptionPrimary_163ap_72 {
  background: var(--warning-500);
  color: var(--text-inverse);
  border-color: var(--warning-500);
}

._gapOptionPrimary_163ap_72:hover {
  background: var(--warning-600);
  border-color: var(--warning-600);
}

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

/* ── Approval Card (indigo — HITL checkpoints between steps) ── */
._approvalCard_163ap_89 {
  background: var(--indigo-50);
  border: 1.5px solid var(--indigo-400);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 16px;
}

._approvalHeader_163ap_97 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

._approvalTitle_163ap_104 {
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo-700);
}

._approvalReason_163ap_110 {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.5;
}

._approvalOptions_163ap_117 {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

._approvalOption_163ap_117 {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1.5px solid var(--indigo-500);
  background: transparent;
  color: var(--indigo-700);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

._approvalOption_163ap_117:hover {
  background: var(--indigo-500);
  color: var(--text-inverse);
}

._approvalOptionPrimary_163ap_140 {
  background: var(--indigo-600);
  color: var(--text-inverse);
  border-color: var(--indigo-600);
}

._approvalOptionPrimary_163ap_140:hover {
  background: var(--indigo-700);
  border-color: var(--indigo-700);
}

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

/* ── Collapsed bar (shown after a stop option like "Revisar") ── */
/* The user chose to look before deciding: the interrupt is still PENDING in
 * the backend, so we render a compact bar with a way to reopen the card. */
._collapsedBar_163ap_159 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--indigo-50);
  border: 1px dashed var(--indigo-400);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

._collapsedText_163ap_171 {
  font-size: 12px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._resumeBtn_163ap_179 {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1.5px solid var(--indigo-500);
  background: transparent;
  color: var(--indigo-700);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

._resumeBtn_163ap_179:hover {
  background: var(--indigo-500);
  color: var(--text-inverse);
}

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

._findingsList_163ap_202 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

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

._findingHead_163ap_215 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

._severityBadge_163ap_222 {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

._severityCritical_163ap_230 {
  background: var(--error-50);
  color: var(--error-700);
}

._severityMinor_163ap_235 {
  background: var(--surface-subtle);
  color: var(--text-tertiary);
}

._findingTitle_163ap_240 {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
}

._findingDetail_163ap_246 {
  font-size: 12px;
  color: var(--text-secondary);
}
._history_xpov3_1 {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  margin-bottom: 12px;
}

._summary_xpov3_8 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
}

._count_xpov3_20 {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
}

._list_xpov3_26 {
  margin: 0;
  padding: 0 14px 12px;
  list-style: none;
}

._entry_xpov3_32 {
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 13px;
}

._question_xpov3_38 {
  font-weight: 600;
  color: var(--text-primary);
}

._answer_xpov3_43 {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  color: var(--text-primary);
}

._answerLabel_xpov3_50 {
  color: var(--text-secondary);
}

._flag_xpov3_54 {
  margin-top: 4px;
  padding: 2px 8px;
  display: inline-block;
  border-radius: 4px;
  background: var(--surface-subtle);
  color: var(--action-primary-bg);
  font-size: 12px;
}

._empty_xpov3_64 {
  margin: 0;
  padding: 0 14px 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

._meta_xpov3_71 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

._tag_xpov3_80 {
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--surface-subtle);
  color: var(--text-primary);
}

._historyCompact_xpov3_87 {
  margin-bottom: 0;
}

._historyCompact_xpov3_87 ._summary_xpov3_8 {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px;
  font-size: 12px;
  white-space: nowrap;
}

._historyCompact_xpov3_87 ._list_xpov3_26 {
  padding: 0 10px 10px;
}

._historyCompact_xpov3_87 ._entry_xpov3_32 {
  font-size: 12px;
  overflow-wrap: anywhere;
}

._summaryTitle_xpov3_109 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

._summaryIcon_xpov3_115 {
  font-size: 16px;
  color: var(--text-tertiary);
}

._historyButton_xpov3_120 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  color: var(--text-primary);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

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

._historyButton_xpov3_120:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}
div._modal_14bvo_1 {
  max-width: 48rem;
}

._summary_14bvo_5 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

._summaryIcon_14bvo_12 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  font-size: 20px;
  color: var(--text-ai);
  background: var(--surface-ai);
  border-radius: var(--radius);
}

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

._summaryTitle_14bvo_30 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

._summaryDescription_14bvo_37 {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-tertiary);
}

._countPill_14bvo_43 {
  flex-shrink: 0;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}

._empty_14bvo_54 {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

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

._card_14bvo_69 {
  padding: 14px 16px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

._cardTop_14bvo_76 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

._stageTag_14bvo_84,
._time_14bvo_85 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

._stageTag_14bvo_84 {
  padding: 4px 8px;
  background: var(--surface-subtle);
  border-radius: var(--radius);
}

._stageTag_14bvo_84 .material-symbols-outlined,
._time_14bvo_85 .material-symbols-outlined {
  font-size: 14px;
}

._stageTagName_14bvo_104 {
  font-weight: 500;
  color: var(--text-primary);
}

._question_14bvo_109 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

._answer_14bvo_116 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--surface-ai);
  border-radius: var(--radius);
}

._answerIcon_14bvo_128 {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--text-ai);
}

._answerText_14bvo_134 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow-wrap: anywhere;
}

._answerLabel_14bvo_142 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-ai);
}

._flag_14bvo_150 {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--text-warning);
  background: var(--surface-subtle);
  border-radius: 4px;
}
._container_az6oe_1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    gap: 1rem;
    max-width: 480px;
    margin: 0 auto;
}

._title_az6oe_12 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 8px 0 4px;
    text-align: center;
}

._description_az6oe_20 {
    font-size: 14px;
    color: var(--text-tertiary);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

._infoBox_az6oe_28 {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--blue-50);
    border: 0.0625rem solid var(--blue-200);
    border-radius: 8px;
    margin-top: 0.75rem;
    width: 100%;
}

._infoIcon_az6oe_40 {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
}

._infoText_az6oe_50 {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    line-height: 1.2188rem;
    margin: 0;
    text-align: left;
}

._stepsList_az6oe_58 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    width: 100%;
}

._stepItem_az6oe_66 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.4s ease-in-out;
}

._stepItemActive_az6oe_73 {}

._stepDot_az6oe_75 {
    width: 2rem;
    height: 2rem;
    background: var(--indigo-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out, background 0.3s ease-in-out;
}

._stepDotActive_az6oe_88 {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--indigo-200);
    box-shadow: 0 0 0 0.25rem rgba(152, 16, 250, 0.15);
    animation: _pulse_az6oe_1 1.4s ease-in-out infinite;
}

@keyframes _pulse_az6oe_1 {
    0%, 100% { box-shadow: 0 0 0 0.25rem rgba(152, 16, 250, 0.15); }
    50% { box-shadow: 0 0 0 0.5rem rgba(152, 16, 250, 0.08); }
}

._stepDot_az6oe_75::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: var(--indigo-700);
    border-radius: 50%;
    position: absolute;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
}

._stepDotActive_az6oe_88::after {
    width: 0.625rem;
    height: 0.625rem;
}

._stepText_az6oe_116 {
    font-size: 0.75rem;
    color: var(--slate-600);
    line-height: 1rem;
    transition: font-size 0.3s ease-in-out, color 0.3s ease-in-out, font-weight 0.3s ease-in-out;
}

._stepTextActive_az6oe_123 {
    color: var(--indigo-900);
    font-weight: 700;
    font-size: 1rem;
}

._loadingDots_az6oe_129 {
    display: inline-flex;
    gap: 0.2rem;
    margin-left: 0.25rem;
    align-items: center;
}

._loadingDots_az6oe_129 span {
    width: 0.25rem;
    height: 0.25rem;
    background: var(--indigo-700);
    border-radius: 50%;
    animation: _dot-bounce_az6oe_1 1.2s ease-in-out infinite;
}

._loadingDots_az6oe_129 span:nth-child(2) { animation-delay: 0.2s; }
._loadingDots_az6oe_129 span:nth-child(3) { animation-delay: 0.4s; }

@keyframes _dot-bounce_az6oe_1 {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40% { transform: translateY(-0.3rem); opacity: 1; }
}
/* Skeleton Styles - Mapinator Design System */

._skeletonContainer_fiaog_3 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

/* Base skeleton animation */
@keyframes _shimmer_fiaog_1 {
  0% {
    background-position: -62.5rem 0;
  }
  100% {
    background-position: 62.5rem 0;
  }
}

._skeletonText_fiaog_20 {
  height: 1rem;
  background: linear-gradient(
    90deg,
    var(--slate-100) 0%,
    var(--surface-card) 50%,
    var(--slate-100) 100%
  );
  background-size: 62.5rem 100%;
  animation: _shimmer_fiaog_1 2s infinite linear;
  border-radius: 8px;
  width: 100%;
}

/* Card variant - Mapinator style */
._skeletonCard_fiaog_35 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0rem 0.25rem 0.375rem -0.0625rem rgba(0, 0, 0, 0.05), 0rem 0.125rem 0.25rem -0.125rem rgba(0, 0, 0, 0.05);
}

._skeletonCardHeader_fiaog_46 {
  height: 1.75rem;
  width: 50%;
  background: linear-gradient(
    90deg,
    var(--blue-100) 0%,
    var(--blue-50) 50%,
    var(--blue-100) 100%
  );
  background-size: 62.5rem 100%;
  animation: _shimmer_fiaog_1 2s infinite linear;
  border-radius: 8px;
}

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

/* List variant - Mapinator style */
._skeletonListItem_fiaog_67 {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0rem 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.05);
}

._skeletonAvatar_fiaog_78 {
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    var(--blue-200) 0%,
    var(--blue-50) 50%,
    var(--blue-200) 100%
  );
  background-size: 62.5rem 100%;
  animation: _shimmer_fiaog_1 2s infinite linear;
  flex-shrink: 0;
}

._skeletonListContent_fiaog_93 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

/* Table variant - Mapinator style */
._skeletonTable_fiaog_101 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0rem 0.25rem 0.375rem -0.0625rem rgba(0, 0, 0, 0.05);
}

._skeletonTableRow_fiaog_112 {
  display: flex;
  gap: 1rem;
  align-items: center;
}

._skeletonTableRow_fiaog_112 ._skeletonText_fiaog_20 {
  background: linear-gradient(
    90deg,
    var(--blue-100) 0%,
    var(--blue-50) 50%,
    var(--blue-100) 100%
  );
  background-size: 62.5rem 100%;
  animation: _shimmer_fiaog_1 2s infinite linear;
}

/* Spinner variant - Full screen loading */
._spinnerContainer_fiaog_130 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: var(--surface-subtle);
  position: relative;
  overflow: hidden;
}

/* Background decorativo animado */
._spinnerContainer_fiaog_130::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, color-mix(in srgb, var(--blue-600) 3%, transparent) 0.0625rem, transparent 0.0625rem);
  background-size: 3.125rem 3.125rem;
  animation: _moveBackground_fiaog_1 20s linear infinite;
  pointer-events: none;
}

@keyframes _moveBackground_fiaog_1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(3.125rem, 3.125rem); }
}

/* Card de loading */
._spinnerCard_fiaog_161 {
  background: var(--surface-card);
  padding: 3rem 4rem;
  border-radius: 8px;
  box-shadow: 0 0.25rem 0.375rem -0.0625rem rgba(0, 0, 0, 0.1), 0 0.125rem 0.25rem -0.125rem rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  text-align: center;
  border: 0.0625rem solid var(--border-subtle);
}

/* Spinner */
._spinner_fiaog_130 {
  width: 3.5rem;
  height: 3.5rem;
  border: 0.3125rem solid var(--slate-200);
  border-top: 0.3125rem solid var(--action-primary-bg);
  border-radius: 50%;
  animation: _spin_fiaog_130 0.8s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes _spin_fiaog_130 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

._spinnerText_fiaog_188 {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

/* Progress Bar */
._progressBar_fiaog_196 {
  width: 100%;
  max-width: 25rem;
  height: 0.5rem;
  background: var(--slate-200);
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem auto 0;
}

._progressFill_fiaog_206 {
  height: 100%;
  background: var(--action-primary-bg);
  border-radius: 8px;
  transition: width 0.3s ease;
}
/* DetailedAnalysisSection.module.css */

._container_4q6xc_3 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    height: 100%;
}

._strategiesContainer_4q6xc_11 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    align-items: start;
}

._strategiesContainer_4q6xc_11 > :only-child {
    grid-column: 1 / -1;
}

._strategiesContainerBoth_4q6xc_23 ._accordionButton_4q6xc_23 {
    position: relative;
    padding-right: 40px;
}

._strategiesContainerBoth_4q6xc_23 ._accordionChevron_4q6xc_28 {
    position: absolute;
    right: 16px;
    top: 16px;
}

._strategiesContainerBoth_4q6xc_23 ._accordionContent_4q6xc_34 > p {
    padding-left: 0;
}

/* Strategy Card - Both cards identical styling */
._strategyCard_4q6xc_39 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 26px;
    background: var(--surface-card);
    border: 2px solid var(--success-500);
    border-radius: 8px;
}

/* Unselected card - gray border and dark-friendly background */
._strategyCardUnselected_4q6xc_50 {
    background: var(--surface-card);
    border: 2px solid var(--border-subtle);
}

._strategyHeaderSection_4q6xc_55 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

._strategyHeader_4q6xc_55 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

._strategyIconContainer_4q6xc_68 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

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

._strategyIcon_4q6xc_68 svg {
    width: 20px;
    height: 20px;
}

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

._strategyTitle_4q6xc_91 {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    color: var(--slate-900);
    margin: 0;
}

._strategySubtitle_4q6xc_106 {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--slate-600);
    margin: 0;
}

._selectedBadge_4q6xc_114 {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    height: 24px;
    background: var(--success-600);
    border-radius: 8px;
    color: var(--action-primary-text);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    flex-shrink: 0;
}

._selectedBadge_4q6xc_114 svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

._chooseStrategyButton_4q6xc_135 {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    height: 30px;
    background: var(--slate-100);
    border: 0.667px solid var(--border-default);
    border-radius: 8px;
    color: var(--slate-700);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s, opacity 0.15s;
    overflow: visible;
}

._chooseStrategyButton_4q6xc_135:hover:not(:disabled) {
    background: var(--border-subtle);
    border-color: var(--slate-400);
}

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

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

._chooseStrategyButton_4q6xc_135:focus-visible {
    outline: 2px solid var(--blue-600);
    outline-offset: 2px;
}

._chooseStrategyButton_4q6xc_135 svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

/* Loading spinner for button */
@keyframes _buttonSpin_4q6xc_1 {
    to {
        transform: rotate(360deg);
    }
}

._chooseStrategyButton_4q6xc_135:disabled svg {
    animation: _buttonSpin_4q6xc_1 0.8s linear infinite;
}

._strategyDescription_4q6xc_199 {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--slate-700);
    margin: 0;
    white-space: pre-wrap;
}

/* Accordion List */
._accordionList_4q6xc_209 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

._accordionItem_4q6xc_215 {
    display: flex;
    flex-direction: column;
    background: var(--surface-card);
    border: 0.0625rem solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

._accordionItemExpanded_4q6xc_225 {
    border-color: var(--border-default);
}

._accordionButton_4q6xc_23 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

._accordionHeader_4q6xc_241 {
    display: flex;
    align-items: center;
    column-gap: 12px;
    flex: 1;
    flex-wrap: wrap;
}

._accordionIconContainer_4q6xc_249 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

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

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

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

._accordionTitle_4q6xc_272 {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--slate-900);
    margin: 0;
    white-space: nowrap;
}

._accordionSubtitle_4q6xc_288 {
    font-size: 11px;
    font-weight: 400;
    line-height: 14px;
    color: var(--text-tertiary);
    margin: 0;
    white-space: nowrap;
}

._accordionChevron_4q6xc_28 {
    flex-shrink: 0;
    transition: transform 0.2s ease-in-out;
    margin-right: 8px;
    margin-left: 12px;
}

._accordionChevronOpen_4q6xc_304 {
    transform: rotate(180deg);
}

._accordionContent_4q6xc_34 {
    padding: 0 18px 24px 18px;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--slate-700);
}

._accordionCollapsible_4q6xc_316 {
    /* height and transition are set inline for dynamic animation */
}

._accordionContent_4q6xc_34>p {
    margin: 0;
    padding-left: 44px;
}

/* Pros & Cons expanded content */
._prosConsContainer_4q6xc_326 {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
}

._prosSection_4q6xc_333 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

._prosSectionHeader_4q6xc_339 {
    display: flex;
    align-items: center;
    gap: 8px;
}

._prosIconBadge_4q6xc_345 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--success-50);
    border-radius: 8px;
    flex-shrink: 0;
}

._prosSectionTitle_4q6xc_356 {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: var(--slate-900);
    margin: 0;
}

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

._prosItem_4q6xc_373 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 24px;
    color: var(--slate-700);
}

._prosBullet_4q6xc_382 {
    color: var(--success-500);
    font-size: 14px;
    line-height: 20px;
    flex-shrink: 0;
}

/* Divider between pros and cons */
._consDivider_4q6xc_390 {
    width: 100%;
    height: 0.667px;
    background: var(--border-subtle);
    margin: 16px 0;
}

._consSection_4q6xc_397 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

._consSectionHeader_4q6xc_403 {
    display: flex;
    align-items: center;
    gap: 8px;
}

._consIconBadge_4q6xc_409 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--error-50);
    border-radius: 8px;
    flex-shrink: 0;
}

._consSectionTitle_4q6xc_420 {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: var(--slate-900);
    margin: 0;
}

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

._consItem_4q6xc_437 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 24px;
    color: var(--slate-700);
}

._consBullet_4q6xc_446 {
    color: var(--error-500);
    font-size: 14px;
    line-height: 20px;
    flex-shrink: 0;
}

/* Feedback Section */
._feedbackSection_4q6xc_454 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 0.667px solid var(--border-subtle);
}

._feedbackDivider_4q6xc_463 {
    display: none;
}

._feedbackQuestion_4q6xc_467 {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--slate-600);
    margin: 0;
}

._requiredAsterisk_4q6xc_475 {
    color: var(--error-600);
}

._feedbackButtons_4q6xc_479 {
    display: flex;
    gap: 6px;
}

._feedbackButton_4q6xc_479 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    background: var(--surface-card);
    border: 0.09375rem solid var(--slate-400);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--slate-900);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

._feedbackButton_4q6xc_479 svg {
    flex-shrink: 0;
    color: var(--slate-400);
    transition: color 0.2s ease-in-out;
}

._feedbackButton_4q6xc_479 svg path {
    stroke: var(--slate-400);
    transition: stroke 0.2s ease-in-out;
}

/* Approve button hover — light green */
._feedbackButtonApprove_4q6xc_514:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: var(--success-500);
}

._feedbackButtonApprove_4q6xc_514:hover svg path {
    stroke: var(--success-500);
}

/* Reject button hover — light red */
._feedbackButtonReject_4q6xc_524:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: var(--error-500);
}

._feedbackButtonReject_4q6xc_524:hover svg path {
    stroke: var(--error-500);
}

/* Approved active state */
._feedbackButtonActive_4q6xc_534 {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--success-500);
}

._feedbackButtonActive_4q6xc_534 svg path {
    stroke: var(--success-500);
}

._feedbackButtonActive_4q6xc_534:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--success-500);
}

._feedbackButtonActive_4q6xc_534:hover svg path {
    stroke: var(--success-500);
}

/* Rejected active state — filled red */
._feedbackButtonRejectActive_4q6xc_553 {
    background: var(--error-500);
    border-color: var(--error-500);
}

._feedbackButtonRejectActive_4q6xc_553 svg path {
    stroke: white;
}

._feedbackButtonRejectActive_4q6xc_553:hover {
    background: var(--error-600);
    border-color: var(--error-600);
}

._feedbackButtonRejectActive_4q6xc_553:hover svg path {
    stroke: white;
}

/* Costs Section */
._costsContainer_4q6xc_572 {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
}

/* Cost Tabs */
._costTabs_4q6xc_580 {
    display: flex;
    border: 0.667px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

._costTab_4q6xc_580 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 4px;
    background: var(--surface-card);
    border: none;
    border-right: 0.667px solid var(--border-subtle);
    cursor: pointer;
    transition: background 0.15s ease-in-out;
}

._costTab_4q6xc_580:last-child {
    border-right: none;
}

._costTabActive_4q6xc_607 {
    background: var(--blue-600);
}

._costTabDisabled_4q6xc_611 {
    background: var(--slate-200);
    cursor: not-allowed;
    opacity: 0.5;
}

._costTabDisabled_4q6xc_611 ._costTabLabel_4q6xc_617,
._costTabDisabled_4q6xc_611 ._costTabSub_4q6xc_618 {
    color: var(--slate-400);
}

._costTabLabel_4q6xc_617 {
    font-size: 11px;
    font-weight: 600;
    color: var(--slate-600);
    white-space: nowrap;
}

._costTabActive_4q6xc_607 ._costTabLabel_4q6xc_617 {
    color: var(--action-primary-text);
}

._costTabSub_4q6xc_618 {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-tertiary);
}

._costTabActive_4q6xc_607 ._costTabSub_4q6xc_618 {
    color: var(--action-primary-text);
}

._costTabSavingsBadge_4q6xc_643 {
    background: var(--success-50);
    color: var(--success-500);
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 99px;
    white-space: nowrap;
}

._costTabSavingsBadgeActive_4q6xc_653 {
    background: rgba(255, 255, 255, 0.25);
    color: var(--action-primary-text);
}

._costsList_4q6xc_658 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

._costRow_4q6xc_664 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    padding: 0 12px;
    background: var(--surface-subtle);
    border-radius: 8px;
}

._costRegionColumn_4q6xc_674 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    background: var(--surface-subtle);
}

._costRegionLabel_4q6xc_684 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--slate-500);
    margin-bottom: 4px;
}

._costRowHighlighted_4q6xc_693 {
    background: var(--success-50);
    border: 0.667px solid var(--success-500);
}

._costLabel_4q6xc_698 {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--slate-700);
}

._costLabelHighlighted_4q6xc_705 {
    color: var(--success-600);
}

._costValue_4q6xc_709 {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

._costsDivider_4q6xc_715 {
    width: 100%;
    height: 0.667px;
    background: var(--border-subtle);
    margin: 16px 0;
}

._costsButton_4q6xc_722 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 36px;
    background: var(--surface-card);
    border: 0.667px solid var(--success-500);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--success-600);
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

._costsButton_4q6xc_722:hover {
    background: var(--costs-btn-hover-bg, var(--success-50));
}

/* Architecture Section */
._architectureContainer_4q6xc_745 {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
}

._archIntro_4q6xc_752 {
    font-size: 14px;
    line-height: 22.75px;
    color: var(--slate-700);
    margin: 0 0 12px 0;
    white-space: pre-wrap;
}

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

._archItem_4q6xc_769 {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    color: var(--slate-700);
}

._archBullet_4q6xc_778 {
    color: var(--success-600);
    font-size: 14px;
    line-height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

._archLabel_4q6xc_786 {
    font-weight: 700;
    color: var(--slate-900);
}

._archText_4q6xc_791 {
    font-weight: 400;
    color: var(--slate-700);
    white-space: pre-wrap;
}

._sectionContent_4q6xc_797 {
    font-size: 14px;
    line-height: 22.75px;
    color: var(--slate-700);
    margin: 0;
    white-space: pre-wrap;
}

._archDivider_4q6xc_805 {
    width: 100%;
    height: 0.667px;
    background: var(--border-subtle);
    margin: 16px 0;
}

/* Pre-selection state button */
._detailStrategyButton_4q6xc_813 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    width: 100%;
    padding: 0 16px;
    background: var(--indigo-700);
    border: none;
    border-radius: 8px;
    color: var(--action-primary-text);
    font-size: 14px;
    cursor: pointer;
    opacity: 1;
    margin-top: 8px;
    flex-shrink: 0;
    transition: opacity 0.2s ease-in-out;
}

._detailStrategyButton_4q6xc_813:hover:not(:disabled) {
    opacity: 0.9;
}

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

/* Pricing agent trigger button */
._pricingAgentButton_4q6xc_843 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 36px;
    background: var(--indigo-700);
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25rem;
    color: var(--action-primary-text);
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
    margin-top: 8px;
}

._pricingAgentButton_4q6xc_843:hover:not(:disabled) {
    opacity: 0.9;
}

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

._pricingAgentButtonSmall_4q6xc_871 {
    padding: 8px 12px;
    font-size: 0.75rem;
    width: auto;
    flex-shrink: 0;
}

/* Additional Info Section */
._additionalContainer_4q6xc_879 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
}

._additionalSection_4q6xc_886 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

._additionalSection_4q6xc_886+._additionalSection_4q6xc_886 {
    padding-top: 12px;
    border-top: 0.667px solid var(--border-subtle);
}

._additionalTitle_4q6xc_897 {
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    color: var(--slate-900);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

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

._additionalItem_4q6xc_916 {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    color: var(--slate-700);
}

._additionalBullet_4q6xc_925 {
    font-size: 14px;
    line-height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

._additionalEmpty_4q6xc_932 {
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0;
    padding-top: 8px;
}

/* Loading indicator */
._loadingIndicator_4q6xc_940 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-top: 12px;
    background: color-mix(in srgb, var(--blue-600) 6%, transparent);
    border: 1px solid color-mix(in srgb, var(--blue-600) 20%, transparent);
    border-radius: 8px;
}

._loadingSpinner_4q6xc_951 {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid color-mix(in srgb, var(--blue-600) 25%, transparent);
    border-top-color: var(--blue-600);
    border-radius: 50%;
    flex-shrink: 0;
    animation: _spin_4q6xc_1 0.8s linear infinite;
}

._loadingText_4q6xc_962 {
    font-size: 13px;
    color: var(--text-accent);
}

@keyframes _spin_4q6xc_1 {
    to {
        transform: rotate(360deg);
    }
}

/* Cards loading state */
._cardsLoadingWrapper_4q6xc_974 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 24px;
    flex: 1;
}

._cardsLoadingWrapper_4q6xc_974 ._loadingText_4q6xc_962 {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ─── Header review buttons — fade in when accordion is expanded ─── */
._headerReviewButtons_4q6xc_990 {
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    transition: opacity 0.25s ease, max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.3s ease, padding-top 0.3s ease;
}

._headerReviewButtonsVisible_4q6xc_1004 {
    display: flex;
    pointer-events: auto;
    opacity: 1;
    max-height: 3rem;
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-subtle);
}

/* Override: in both mode, review buttons layout when visible */
._strategiesContainerBoth_4q6xc_23 ._headerReviewButtonsVisible_4q6xc_1004 {
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-subtle);
}

._strategiesContainerBoth_4q6xc_23 ._headerReviewLabel_4q6xc_1023 {
    flex: 1;
}

._headerReviewButton_4q6xc_990 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    color: var(--text-primary);
    background: var(--surface-card);
    border: 0.09375rem solid var(--slate-400);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}

._headerReviewButton_4q6xc_990 svg path {
    stroke: var(--icon-muted);
    transition: stroke 0.2s ease-in-out;
}

._headerReviewButton_4q6xc_990:hover:not(:disabled) {
    background: var(--surface-subtle);
}

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

._headerReviewButton_4q6xc_990:focus-visible {
    outline: 2px solid var(--blue-600);
    outline-offset: 2px;
}

/* Approve button (check) — green hover when not selected */
._headerReviewButtonCheck_4q6xc_1063:hover:not(:disabled) {
    background: rgba(16, 185, 129, 0.08);
    border-color: var(--success-500);
}

._headerReviewButtonCheck_4q6xc_1063:hover:not(:disabled) svg path {
    stroke: var(--success-500);
}

/* Reject button (X) — red hover when not selected */
._headerReviewButtonCross_4q6xc_1073:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.08);
    border-color: var(--error-500);
}

._headerReviewButtonCross_4q6xc_1073:hover:not(:disabled) svg path {
    stroke: var(--error-500);
}

._headerReviewButtonApproved_4q6xc_1082 {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--success-500);
    cursor: default;
}

._headerReviewButtonApproved_4q6xc_1082 svg path {
    stroke: var(--success-500);
}

._headerReviewButtonApproved_4q6xc_1082:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--success-500);
}

._headerReviewButtonApproved_4q6xc_1082:hover svg path {
    stroke: var(--success-500);
}

._headerReviewButtonSave_4q6xc_1101 {
    background: var(--success-500);
    border-color: var(--success-500);
    color: var(--action-primary-text);
}

._headerReviewButtonSave_4q6xc_1101 svg path {
    stroke: white;
}

._headerReviewButtonSave_4q6xc_1101:hover:not(:disabled) {
    background: var(--success-600);
    border-color: var(--success-600);
}

._headerReviewButtonSave_4q6xc_1101:hover:not(:disabled) svg path {
    stroke: white;
}

._headerReviewButtonRejected_4q6xc_1120 {
    background: var(--error-500);
    border-color: var(--error-500);
    color: var(--action-primary-text);
}

._headerReviewButtonRejected_4q6xc_1120 svg path {
    stroke: white;
}

._headerReviewButtonRejected_4q6xc_1120:hover:not(:disabled) {
    background: var(--error-600);
    border-color: var(--error-600);
}

._headerReviewButtonRejected_4q6xc_1120:hover:not(:disabled) svg path {
    stroke: white;
}

/* Needs review selected state — light red bg + red icon (review mode, not editing) */
._headerReviewButtonNeedsReview_4q6xc_1140 {
    background: rgba(239, 68, 68, 0.12);
    border-color: var(--error-500);
    cursor: default;
}

._headerReviewButtonNeedsReview_4q6xc_1140 svg path {
    stroke: var(--error-500);
}

._headerReviewButtonNeedsReview_4q6xc_1140:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.12);
    border-color: var(--error-500);
}

._headerReviewButtonNeedsReview_4q6xc_1140:hover:not(:disabled) svg path {
    stroke: var(--error-500);
}

._headerReviewLabel_4q6xc_1023 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-600);
    white-space: nowrap;
    flex: 1;
}

/* ─── Editing / saved / wiggle states ─── */
._accordionItemEditing_4q6xc_1168 {
    border-color: var(--color-stale) !important;
}

._accordionItemSaved_4q6xc_1172 {
    border-color: var(--success-500) !important;
}

/* Validated state — light green bg + green border (same as InitialAnalysisTab) */
._accordionItemValidated_4q6xc_1177 {
    background: color-mix(in srgb, var(--cyan-50) 30%, transparent);
    border-color: var(--success-500) !important;
}

/* Stale state — yellow border */
._accordionItemStale_4q6xc_1183 {
    border-color: var(--color-stale) !important;
    background: var(--color-stale-bg);
}



/* ─── Loading card state ─── */
._strategyCardLoading_4q6xc_1191 {
    border-color: var(--border-subtle);
    background: var(--surface-card);
}

._loadingCardBody_4q6xc_1196 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 8px 0 4px 0;
}

._loadingCardSpinnerRow_4q6xc_1203 {
    display: flex;
    align-items: center;
    gap: 12px;
}

._loadingCardSpinner_4q6xc_1203 {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(152, 16, 250, 0.2);
    border-top-color: var(--indigo-700);
    border-radius: 50%;
    flex-shrink: 0;
    animation: _spin_4q6xc_1 0.9s linear infinite;
}

._loadingCardTitle_4q6xc_1219 {
    font-size: 14px;
    font-weight: 700;
    color: var(--slate-900);
}

/* Option C: single live status line naming the running pipeline step */
._liveStepLine_4q6xc_1226 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    background: var(--surface-subtle);
    border: 0.667px solid var(--border-subtle);
    border-radius: 8px;
}

._liveStepSpinner_4q6xc_1236 {
    width: 15px;
    height: 15px;
    border: 2px solid var(--border-subtle);
    border-top-color: var(--indigo-700);
    border-radius: 50%;
    flex-shrink: 0;
    animation: _spin_4q6xc_1 0.9s linear infinite;
}

._liveStepText_4q6xc_1246 {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-700);
}

._loadingSteps_4q6xc_1252 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 4px;
}

._loadingStep_4q6xc_1252 {
    display: flex;
    align-items: center;
    gap: 10px;
}

._loadingStepDot_4q6xc_1265 {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.4s ease, transform 0.3s ease;
}

._loadingStepDotActive_4q6xc_1273 {
    background: var(--indigo-700);
    animation: _pulse_4q6xc_1 1.2s ease-in-out infinite;
}

._loadingStepDotIdle_4q6xc_1278 {
    background: var(--border-subtle);
}

@keyframes _pulse_4q6xc_1 {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

._loadingStepCheck_4q6xc_1296 {
    flex-shrink: 0;
}

._loadingStepLabel_4q6xc_1300 {
    font-size: 13px;
    color: var(--text-disabled);
    line-height: 18px;
    transition: color 0.4s ease, font-weight 0.2s ease;
}

._loadingStepLabelActive_4q6xc_1307 {
    color: var(--slate-700);
    font-weight: 600;
}

._loadingStepLabelDone_4q6xc_1312 {
    color: var(--success-500);
}

._loadingCardHint_4q6xc_1316 {
    font-size: 12px;
    color: var(--text-disabled);
    line-height: 18px;
    margin: 0;
    padding: 12px 14px;
    background: var(--surface-subtle);
    border-radius: 8px;
    border: 0.667px solid var(--border-subtle);
}

/* ─── Agent pending banner (pricing / drawing) ─── */
._agentPendingBanner_4q6xc_1328 {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: rgba(152, 16, 250, 0.05);
    border: 1px solid rgba(152, 16, 250, 0.2);
    border-radius: 8px;
    font-size: 13px;
    color: var(--indigo-800);
    box-sizing: border-box;
}

._agentPendingSpinner_4q6xc_1342 {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(152, 16, 250, 0.2);
    border-top-color: var(--indigo-700);
    border-radius: 50%;
    flex-shrink: 0;
    animation: _spin_4q6xc_1 0.9s linear infinite;
}

/* ─── Second Region Picker Modal ─────────────────────────────────────────── */
._secondRegionOverlay_4q6xc_1353 { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; z-index: 1000; }
._secondRegionModal_4q6xc_1354 { background: var(--surface-card); border-radius: 8px; padding: 24px; width: 360px; max-height: 80vh; overflow-y: auto; }
._secondRegionTitle_4q6xc_1355 { margin: 0 0 16px; font-size: 16px; }
._secondRegionOption_4q6xc_1356 { display: block; width: 100%; padding: 10px 12px; margin-bottom: 4px; border: 1px solid var(--slate-200); border-radius: 8px; background: var(--surface-card); cursor: pointer; text-align: left; font-size: 14px; }
._secondRegionOption_4q6xc_1356:hover { border-color: var(--indigo-400); background: var(--slate-50); }
._secondRegionCancel_4q6xc_1358 { margin-top: 12px; background: none; border: none; color: var(--slate-500); cursor: pointer; }


/* ─── Group Headers ──────────────────────────────────────────────────────── */
._groupHeader_4q6xc_1362 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    margin-top: 0.75rem;
    width: 100%;
}

._groupHeader_4q6xc_1362:first-child {
    margin-top: 0;
}

._groupHeaderTitle_4q6xc_1375 {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

._groupHeaderBadge_4q6xc_1380 {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: var(--success-500);
    color: var(--action-primary-text);
    border-radius: 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}

._groupHeaderBadgeExhausted_4q6xc_1393 {
    background: var(--error-500);
}


._accordionItemExhausted_4q6xc_1398 {
    border-color: var(--error-500);
    background: rgba(239, 68, 68, 0.03);
}

/* --- Regenerate button inside each detailed strategy card ----------------- */
._regenerateCardButton_4q6xc_1404 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 3rem;
  padding: 0 1.5rem;
  background: var(--blue-600);
  border: none;
  border-radius: 8px;
  color: var(--action-primary-text);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  flex-shrink: 0;
  box-shadow: 0 2px 8px 0 color-mix(in srgb, var(--blue-600) 25%, transparent);
  letter-spacing: 0.01em;
  margin: 0 1.5rem 0.5rem;
}

._regenerateCardButton_4q6xc_1404:hover:not(:disabled) {
  background: var(--blue-700);
  box-shadow: 0 4px 14px 0 color-mix(in srgb, var(--blue-600) 35%, transparent);
}

._regenerateCardButton_4q6xc_1404:active:not(:disabled) {
  background: var(--blue-800);
  box-shadow: none;
}

._regenerateCardButton_4q6xc_1404:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

._regenerateCardButton_4q6xc_1404:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

._regenerateCardIcon_4q6xc_1447 {
  font-size: 1.125rem;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* --- Dark mode: remove white fill from icon containers ------------------- */
html.dark ._strategyIconContainer_4q6xc_68 {
    background: transparent !important;
}

html.dark ._accordionIcon_4q6xc_249 {
    background: transparent !important;
}
._container_beov6_1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    background: var(--surface-page);
    border-radius: var(--radius);
}

/* Header */
._header_beov6_11 {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    --tab-inset-top: 24px;
    --tab-inset-x: 24px;
    --hx: calc(var(--card-pad-x, 1.5rem) + var(--tab-inset-x, 0px));
    --hy: calc(var(--card-pad-top, 1.5rem) + var(--tab-inset-top, 0px));
    position: sticky;
    top: calc(-1 * var(--card-pad-top, 1.5rem));
    z-index: 5;
    margin: calc(-1 * var(--hy)) calc(-1 * var(--hx)) -0.75rem;
    padding: var(--hy) var(--hx) 0.75rem;
    background: var(--surface-card);
}

._headerProgress_beov6_29 {
    display: flex;
    align-items: center;
    gap: 8px;
}

._progressLabel_beov6_35 {
    font-size: 11px;
    color: var(--text-tertiary);
}

._progressBar_beov6_40 {
    width: 80px;
    height: 6px;
    background: var(--surface-subtle);
    border-radius: 3px;
    overflow: hidden;
}


/* Export MPA Button */
._exportMpaButton_beov6_50 {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(to bottom, var(--ai-blue), var(--blue-700));
    border: none;
    border-radius: 8px;
    color: var(--action-primary-text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
    white-space: nowrap;
}

._exportMpaButton_beov6_50:hover {
    opacity: 0.9;
}

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

/* Sections */
._sections_beov6_76 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Accordion */
._accordion_beov6_83 {
    display: flex;
    flex-direction: column;
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

._accordionValid_beov6_93 {
    border-color: var(--success-500);
}

._accordionButton_beov6_97 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

._accordionHeader_beov6_109 {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

._accordionIconContainer_beov6_116 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
    background: transparent;
}

._accordionValid_beov6_93 ._accordionIconContainer_beov6_116 {
    background: transparent;
}

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

._accordionIcon_beov6_116 svg {
    width: 40px;
    height: 40px;
}

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

._accordionTitle_beov6_144 {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--slate-900);
    margin: 0;
}

._accordionSubtitle_beov6_159 {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--text-tertiary);
    margin: 0;
}

._headerReviewButtons_beov6_167 {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

._headerReviewButtonsVisible_beov6_176 {
    opacity: 1;
    pointer-events: auto;
}

/* Review/edit button styling (label, approve/reject/save/cancel) now lives in
   the shared SectionReviewControls component (DetailedAnalysisSection.module.css).
   Only the .headerReviewButtons wrapper + visibility toggle remain local here. */

._chevron_beov6_185 {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotate(0deg);
    flex-shrink: 0;
    margin-left: 8px;
}

._chevronOpen_beov6_192 {
    transform: rotate(180deg);
}

._accordionContent_beov6_196 {
    padding: 16px;
    border-top: 1px solid var(--border-subtle);
}

/* Descricao */
._summaryText_beov6_202 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0 0 8px;
}

._detailText_beov6_210 {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 8px 0;
}

._detailText_beov6_210 p {
    margin: 0 0 10px;
}

._detailText_beov6_210 p:last-child {
    margin-bottom: 0;
}

._detailText_beov6_210 strong {
    font-weight: 700;
    color: var(--text-primary);
}

._detailText_beov6_210 ol,
._detailText_beov6_210 ul {
    margin: 8px 0;
    padding-left: 20px;
}

._detailText_beov6_210 li {
    margin-bottom: 6px;
}

._linkBtn_beov6_240 {
    font-size: 12px;
    color: var(--text-link);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
}

._linkBtn_beov6_240:hover {
    text-decoration: underline;
    color: var(--text-link-hover);
}

/* Description Edit */
._descEditContainer_beov6_256 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

._descEditLabel_beov6_262 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

._descEditTextarea_beov6_270 {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    resize: vertical;
    background: var(--surface-card);
}

._descEditTextarea_beov6_270:focus {
    outline: none;
    border-color: var(--action-primary-bg);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue-600) 12%, transparent);
}

/* Custo */
._custoSection_beov6_289 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

._custoInfo_beov6_295 {
    font-size: 12px;
    color: var(--text-tertiary);
    background: var(--surface-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 10px 12px;
}

._custoTotal_beov6_304 {
    background: var(--cyan-500);
    color: var(--action-primary-text);
    border-radius: 8px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
}

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

._custoTotalBadge_beov6_321 {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    width: fit-content;
}

._custoTotalValue_beov6_330 {
    font-size: 22px;
    font-weight: 700;
}

._custoTotalSub_beov6_335 {
    font-size: 11px;
    opacity: 0.7;
}

._custoTotalDivider_beov6_340 {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.3);
}

._custoTotalIcon_beov6_346 {
    position: absolute;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

._custoGrid_beov6_360 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

._custoCard_beov6_366 {
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 12px;
    transition: border-color 0.15s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

._custoCard_beov6_366:hover {
    border-color: var(--border-focus);
}

._custoLabel_beov6_380 {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-tertiary);
    font-weight: 500;
}

._custoInputRow_beov6_389 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

._custoInputEditArea_beov6_396 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

._custoInputEditRow_beov6_403 {
    display: flex;
    align-items: center;
    gap: 8px;
}

._custoSelectLabel_beov6_409 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 28px;
    padding: 4px 6px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--surface-card);
    text-align: center;
    flex-shrink: 0;
}

._custoSelect_beov6_409 {
    font-size: 12px;
    padding: 4px 6px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--surface-card);
    color: var(--text-secondary);
    cursor: pointer;
}

._custoInput_beov6_389 {
    flex: 1;
    min-width: 0;
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    outline: none;
    text-align: right;
    transition: border-color 0.2s;
}

._custoInput_beov6_389:focus {
    border-color: var(--action-primary-bg);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue-600) 12%, transparent);
}

._custoTags_beov6_452 {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    height: 84px;
    overflow-y: auto;
    align-content: flex-start;
}

._custoTag_beov6_452 {
    font-size: 10px;
    padding: 0.1875rem 0.5rem;
    border-radius: var(--radius-pill);
    background: var(--surface-subtle);
    color: var(--text-tertiary);
}

._custoTagEditable_beov6_469 {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--surface-card);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border-subtle);
}

._custoTagRemove_beov6_481 {
    background: none;
    border: none;
    font-size: 14px;
    color: var(--error-500);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    border-radius: 8px;
    min-width: 24px;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

._custoTagRemove_beov6_481:hover {
    background: rgba(239, 68, 68, 0.1);
}

._custoTagRemove_beov6_481:focus-visible {
    outline: 2px solid var(--action-primary-bg);
    outline-offset: 2px;
}

._custoTagAddRow_beov6_506 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--border-subtle);
}

._custoTagAddIcon_beov6_515 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
    flex-shrink: 0;
    line-height: 1;
}

._custoTagInput_beov6_523 {
    font-size: 12px;
    padding: 5px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    flex: 1;
    min-width: 0;
    outline: none;
    background: var(--surface-card);
    color: var(--text-primary);
    cursor: text;
    transition: all 0.15s ease-in-out;
}

._custoTagInput_beov6_523::placeholder {
    color: var(--text-tertiary);
}

._custoTagInput_beov6_523:hover {
    border-color: var(--border-focus);
    background: var(--surface-card);
}

._custoTagInput_beov6_523:focus {
    border-color: var(--action-primary-bg);
    background: var(--surface-card);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue-600) 12%, transparent);
}

._custoNoService_beov6_552 {
    font-size: 11px;
    color: var(--text-tertiary);
    font-style: italic;
}

._custoEmptyHint_beov6_558 {
    font-size: 11px;
    color: var(--text-tertiary);
    font-style: italic;
    display: flex;
    align-items: center;
    width: 100%;
}

._custoValueReadonly_beov6_567 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex: 1;
}

._custoValueLabelRow_beov6_575 {
    display: flex;
    align-items: center;
    gap: 4px;
}

._custoValueLabel_beov6_575 {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1;
}

._custoValueInfo_beov6_590 {
    display: flex;
    align-items: center;
    color: var(--text-tertiary);
    cursor: help;
    opacity: 0.7;
    transition: opacity 0.15s;
}

._custoValueInfo_beov6_590:hover {
    opacity: 1;
    color: var(--action-primary-bg);
}

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

._custoValueAmount_beov6_604 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

._custoValueSeparator_beov6_617 {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 400;
    line-height: 1;
}

._custoValueSecondary_beov6_624 {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
    line-height: 1.2;
}

/* Recursos */
._recursosGrid_beov6_632 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20.5rem, 1fr));
    gap: 1.25rem;
    padding: 0.5rem 0;
    align-items: start;
}

._recursoCard_beov6_640 {
    background: var(--surface-card);
    border: 0.667px solid var(--border-subtle);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

._recursoCard_beov6_640:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

._recursoHeader_beov6_658 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 0.667px solid var(--border-subtle);
}

._recursoNome_beov6_667 {
    font-size: 14px;
    font-weight: 500;
    color: var(--slate-900);
    line-height: 20px;
    margin: 0;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

._recursoIcon_beov6_680 {
    flex-shrink: 0;
    color: var(--slate-900);
}

._recursoTipo_beov6_685 {
    font-size: 11px;
    font-weight: 500;
    line-height: 16.5px;
    padding: 2px 8px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--blue-50);
    color: var(--text-accent);
}

._recursoDetalhes_beov6_697 {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

._recursoDetailRow_beov6_706 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 0.667px solid var(--slate-100);
    min-height: 29px;
}

._recursoDetailLabel_beov6_716 {
    font-size: 11px;
    font-weight: 500;
    line-height: 16.5px;
    color: var(--text-tertiary);
    letter-spacing: 0.55px;
    flex-shrink: 0;
}

._recursoDetailValue_beov6_725 {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--slate-800);
    text-align: right;
}

/* Recurso edit mode */
._recursoEditRow_beov6_734 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

._recursoEditHeaderFields_beov6_741 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

._recursoEditHeader_beov6_741 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

._recursoRemoveBtnCard_beov6_757 {
    background: none;
    border: none;
    font-size: 16px;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 4px 6px;
    min-width: 28px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.15s;
}

._recursoRemoveBtnCard_beov6_757:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-500);
}

._recursoDeleteCardBtn_beov6_779 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 5px 0;
    margin-top: 4px;
    border: none;
    border-top: 1px solid var(--slate-100);
    background: transparent;
    font-size: 11px;
    color: var(--text-tertiary);
    cursor: pointer;
    border-radius: 0 0 12px 12px;
    opacity: 0;
    transition: all 0.15s ease-in-out;
}

._recursoCard_beov6_640:hover ._recursoDeleteCardBtn_beov6_779 {
    opacity: 1;
}

._recursoDeleteCardBtn_beov6_779:hover {
    color: var(--error-500);
    background: rgba(239, 68, 68, 0.04);
}

._recursoDeleteCardBtn_beov6_779:focus-visible {
    opacity: 1;
    outline: 2px solid var(--error-500);
    outline-offset: -2px;
}

._recursoEditInput_beov6_813 {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    min-width: 0;
    background: var(--surface-card);
}

._recursoEditInput_beov6_813:focus,
._recursoEditInputSm_beov6_826:focus,
._recursoDetailEditLabelInput_beov6_827:focus,
._recursoDetailEditValue_beov6_828:focus {
    outline: none;
    border-color: var(--action-primary-bg);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue-600) 10%, transparent);
}

._recursoEditInputSm_beov6_826 {
    width: 100px;
    flex-shrink: 0;
    padding: 6px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--surface-card);
}

._recursoDetailEditRow_beov6_845 {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border-bottom: 1px solid var(--slate-100);
}

._recursoDetailEditRow_beov6_845:last-of-type {
    border-bottom: none;
}

._recursoDetailEditLabel_beov6_827 {
    width: 110px;
    flex-shrink: 0;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

._recursoDetailEditLabelInput_beov6_827 {
    width: 110px;
    flex-shrink: 0;
    padding: 5px 8px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 12px;
    background: var(--surface-card);
    color: var(--text-secondary);
}

._recursoDetailEditValue_beov6_828 {
    flex: 1;
    min-width: 0;
    padding: 5px 8px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 12px;
    background: var(--surface-card);
    color: var(--text-primary);
}

._recursoRemoveBtn_beov6_757 {
    background: none;
    border: none;
    font-size: 14px;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 3px 5px;
    min-width: 24px;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

._recursoRemoveBtn_beov6_757:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-500);
}

._recursoRemoveBtn_beov6_757:focus-visible {
    outline: 2px solid var(--action-primary-bg);
    outline-offset: 2px;
}

._recursoAddBtn_beov6_914 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 6px 10px;
    margin-top: 4px;
    background: transparent;
    border: 1px dashed var(--border-subtle);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    text-align: center;
}

._recursoAddBtn_beov6_914:hover {
    border-color: var(--action-primary-bg);
    color: var(--action-primary-bg);
    background: color-mix(in srgb, var(--blue-600) 4%, transparent);
}

._recursoAddBtn_beov6_914:focus-visible {
    outline: 2px solid var(--action-primary-bg);
    outline-offset: 2px;
}

._recursoAddResourceBtn_beov6_943 {
    background: none;
    border: 1px dashed var(--border-subtle);
    border-radius: 8px;
    padding: 16px;
    font-size: 13px;
    color: var(--action-primary-bg);
    cursor: pointer;
    text-align: center;
}

._recursoAddResourceBtn_beov6_943:hover {
    border-color: var(--action-primary-bg);
    background: color-mix(in srgb, var(--blue-600) 4%, transparent);
}

/* Ponto/Inacao edit mode */
._pontoEditCard_beov6_960 {
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

._pontoEditRow_beov6_970 {
    display: flex;
    align-items: center;
    gap: 8px;
}

._pontoEditTitle_beov6_976 {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

._pontoEditTitle_beov6_976:focus {
    outline: none;
    border-color: var(--action-primary-bg);
}

._pontoEditDesc_beov6_991 {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-primary);
    resize: vertical;
    min-height: 120px;
}

._pontoEditDesc_beov6_991:focus {
    outline: none;
    border-color: var(--action-primary-bg);
}

._pontoEditSeverity_beov6_1007 {
    padding: 6px 8px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 12px;
    background: var(--surface-card);
    cursor: pointer;
}

._pontoFieldLabel_beov6_1016 {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Diagrama */
._diagramaSection_beov6_1025 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

._diagramaToolbar_beov6_1031 {
    display: flex;
    justify-content: flex-end;
}

._diagramaContainer_beov6_1036 {
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

._diagramaContainer_beov6_1036 svg {
    max-width: 100%;
    height: auto;
}

._diagramaSection_beov6_1025 {
    position: relative;
}

._diagramaHint_beov6_1056 {
    font-size: 12px;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

._diagramTooltip_beov6_1064 {
    position: absolute;
    transform: translateY(-50%);
    background: var(--surface-card, white);
    border: 1px solid var(--border-subtle, var(--border-subtle));
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    width: 300px;
    z-index: 10;
    pointer-events: none;
}

._diagramTooltip_beov6_1064 strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

._diagramTooltip_beov6_1064 p {
    margin: 0 0 4px;
    font-size: 13px;
}

._tooltipDeps_beov6_1089 {
    display: block;
    font-size: 12px;
    color: var(--action-primary-bg, var(--blue-600));
    font-style: italic;
}

._mermaidFallback_beov6_1096 {
    white-space: pre-wrap;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Pontos */
._pontosGrid_beov6_1103 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

._pontosLabel_beov6_1115 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.88px;
    color: var(--slate-500);
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 16.5px;
}

._pontoCard_beov6_1125 {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

._pontoForte_beov6_1136 {}

._pontoFraco_beov6_1138 {}

._pontoHeader_beov6_1140 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

._pontoTitle_beov6_1147 {
    font-size: 13px;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 19.5px;
}

._pontoImpactSection_beov6_1154 {
    display: flex;
    flex-direction: column;
    gap: 1.3px;
}

._pontoImpactLabel_beov6_1160 {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--slate-500);
    line-height: 15px;
}

._pontoImpactText_beov6_1169 {
    font-size: 12px;
    font-weight: 400;
    color: var(--slate-900);
    line-height: 18.6px;
    margin: 0;
}

._pontoExpandButton_beov6_1177 {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: var(--indigo-700);
    text-decoration: underline;
    cursor: pointer;
    text-align: left;
    line-height: 18.6px;
}

._pontoExpandButton_beov6_1177:hover {
    color: var(--ai-blue);
}

._pontoSources_beov6_1193 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

._pontoSourceBadge_beov6_1199 {
    font-size: 10px;
    font-weight: 400;
    color: var(--slate-500);
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 3px 9px;
    line-height: 15px;
    white-space: nowrap;
}

._pontoDesc_beov6_1211 {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 6px 0 0;
    line-height: 1.5;
}

/* Criticidade badges */
._critBadge_beov6_1219 {
    font-size: 10px;
    padding: 3px 9px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 15px;
}

._crit_high_beov6_1228,
._crit_alta_beov6_1229 {
    background: rgba(220, 38, 38, 0.1);
    color: var(--error-600);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

._crit_medium_beov6_1235,
._crit_media_beov6_1236 {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-700);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

._crit_low_beov6_1242,
._crit_baixa_beov6_1243 {
    background: rgba(22, 163, 74, 0.1);
    color: var(--success-600);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

._crit_critical_beov6_1249 {
    background: rgba(220, 38, 38, 0.1);
    color: var(--error-600);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* Inacao */
._inacaoList_beov6_1256 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

._inacaoCard_beov6_1262 {
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 14px;
}

._inacaoHeader_beov6_1268 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

._inacaoTitle_beov6_1275 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

._inacaoDeadline_beov6_1281 {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 8px;
    background: var(--surface-subtle);
    color: var(--text-tertiary);
}

._inacaoDesc_beov6_1289 {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 8px 0 0;
    line-height: 1.5;
}

._inacaoDesc_beov6_1289 p {
    margin: 0 0 8px;
}

._inacaoDesc_beov6_1289 p:last-child {
    margin-bottom: 0;
}

._inacaoDesc_beov6_1289 strong {
    font-weight: 700;
    color: var(--text-primary);
}

._inacaoDesc_beov6_1289 ol,
._inacaoDesc_beov6_1289 ul {
    margin: 8px 0;
    padding-left: 20px;
}

._inacaoDesc_beov6_1289 li {
    margin-bottom: 6px;
}

/* Footer */
._footer_beov6_1320 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

._footerHint_beov6_1330 {
    font-size: 12px;
    color: var(--text-tertiary);
}


/* Empty / Loading */
._emptyMsg_beov6_1337 {
    font-size: 13px;
    color: var(--text-tertiary);
    font-style: italic;
    border: 1px dashed var(--border-subtle);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    margin: 0;
}

._loadingState_beov6_1348 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    gap: 1rem;
    color: var(--text-tertiary);
    font-size: 14px;
    max-width: 480px;
    margin: 0 auto;
}

._loadingIconWrapper_beov6_1361 {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

._loadingTitle_beov6_1371 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 8px 0 4px;
    text-align: center;
}

._loadingDescription_beov6_1379 {
    font-size: 14px;
    color: var(--text-tertiary);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

._infoBoxBlue_beov6_1387 {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--blue-50);
    border: 0.0625rem solid var(--blue-200);
    border-radius: 8px;
    margin-top: 0.75rem;
    width: 100%;
}

._infoIcon_beov6_1399 {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
}

._infoTextSmall_beov6_1409 {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    line-height: 1.2188rem;
    margin: 0;
    text-align: left;
}

._stepsList_beov6_1417 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    width: 100%;
}

._stepItem_beov6_1425 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.4s ease-in-out;
}

._stepItemActive_beov6_1432 {}

._stepDot_beov6_1434 {
    width: 2rem;
    height: 2rem;
    background: var(--indigo-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out, background 0.3s ease-in-out;
}

._stepDotActive_beov6_1447 {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--indigo-200);
    box-shadow: 0 0 0 0.25rem rgba(152, 16, 250, 0.15);
    animation: _pulse_beov6_1 1.4s ease-in-out infinite;
}

@keyframes _pulse_beov6_1 {

    0%,
    100% {
        box-shadow: 0 0 0 0.25rem rgba(152, 16, 250, 0.15);
    }

    50% {
        box-shadow: 0 0 0 0.5rem rgba(152, 16, 250, 0.08);
    }
}

._stepDot_beov6_1434::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: var(--indigo-700);
    border-radius: 50%;
    position: absolute;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
}

._stepDotActive_beov6_1447::after {
    width: 0.625rem;
    height: 0.625rem;
}

._stepText_beov6_1482 {
    font-size: 0.75rem;
    color: var(--slate-600);
    line-height: 1rem;
    transition: font-size 0.3s ease-in-out, color 0.3s ease-in-out, font-weight 0.3s ease-in-out;
}

._stepTextActive_beov6_1489 {
    color: var(--indigo-900);
    font-weight: 700;
    font-size: 1rem;
}

/* Loading dots for active step */
._loadingDots_beov6_1496 {
    display: inline-flex;
    gap: 0.2rem;
    margin-left: 0.25rem;
    align-items: center;
}

._loadingDots_beov6_1496 span {
    width: 0.25rem;
    height: 0.25rem;
    background: var(--indigo-700);
    border-radius: 50%;
    animation: _dot-bounce_beov6_1 1.2s ease-in-out infinite;
}

._loadingDots_beov6_1496 span:nth-child(2) {
    animation-delay: 0.2s;
}

._loadingDots_beov6_1496 span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes _dot-bounce_beov6_1 {

    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    40% {
        transform: translateY(-0.3rem);
        opacity: 1;
    }
}

/* Buttons */
._btnPrimary_beov6_1535 {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    background: var(--action-primary-bg);
    color: var(--action-primary-text);
    cursor: pointer;
    transition: background 0.15s;
}

._btnPrimary_beov6_1535:hover {
    background: var(--action-primary-bg-hover);
}

._btnSecondary_beov6_1551 {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--surface-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s;
}

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

/* Editor Modal */
._editorOverlay_beov6_1568 {
    position: fixed;
    inset: 0;
    background: var(--surface-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(3px);
}

._editorModal_beov6_1579 {
    background: var(--surface-card);
    border-radius: 8px;
    width: 92vw;
    max-width: 1400px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

._editorHeader_beov6_1591 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

._editorHeader_beov6_1591 h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

._editorDocsLink_beov6_1606 {
    font-size: 12px;
    color: var(--text-link);
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid var(--border-focus);
    border-radius: 8px;
}

._editorDocsLink_beov6_1606:hover {
    background: var(--action-primary-bg);
    color: var(--action-primary-text);
}

._editorBody_beov6_1620 {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px 20px;
    overflow: hidden;
    min-height: 0;
}

._editorPanel_beov6_1630 {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    min-height: 0;
}

._editorPanelLabel_beov6_1639 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    padding: 8px 12px;
    background: var(--surface-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

._editorPanelHeader_beov6_1650 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: var(--surface-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

._editorPanelHeader_beov6_1650 ._editorPanelLabel_beov6_1639 {
    padding: 0;
    border: none;
    background: none;
}

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

._zoomControls_beov6_1665 button {
    width: 26px;
    height: 26px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--surface-card);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

._zoomControls_beov6_1665 button:last-child {
    width: auto;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 500;
}

._zoomControls_beov6_1665 button:hover {
    background: var(--surface-subtle);
}

._zoomControls_beov6_1665 span {
    font-size: 11px;
    color: var(--text-tertiary);
    min-width: 36px;
    text-align: center;
}

._editorTextarea_beov6_1704 {
    flex: 1;
    padding: 14px;
    font-family: var(--font-family-mono);
    font-size: 13px;
    line-height: 1.6;
    border: none;
    resize: none;
    outline: none;
    background: var(--surface-card);
    color: var(--text-primary);
    min-height: 0;
}

._editorPreview_beov6_1718 {
    flex: 1;
    padding: 20px;
    overflow: hidden;
    background: var(--color-bg-primary, white);
    min-height: 0;
    user-select: none;
}

._editorPreview_beov6_1718 svg {
    max-width: none;
    height: auto;
}

._editorFooter_beov6_1732 {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--border-subtle);
}

/* AI Regenerate Button & Header Actions */
._headerActions_beov6_1741 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Regen Modal - follows RegenerateAnswersModal design */
._regenModal_beov6_1748 {
    max-width: 37.5rem;
}

._regenModalBody_beov6_1752 {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

._regenModalDesc_beov6_1758 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

._regenSectionList_beov6_1765 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 15rem;
    overflow-y: auto;
}

._regenAllBtn_beov6_1773 {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border: 0.125rem solid var(--border-subtle);
    border-radius: 8px;
    cursor: pointer;
    background: var(--surface-subtle);
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
}

._regenAllBtn_beov6_1773:hover:not(:disabled) {
    transform: translateY(-0.125rem);
    background: rgba(109, 40, 217, 0.05);
    border-color: rgba(109, 40, 217, 0.3);
}

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

._regenAllBtnSelected_beov6_1798 {
    border-color: var(--indigo-700);
    background: rgba(109, 40, 217, 0.05);
}

._regenAllBtn_beov6_1773 strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

._regenAllDesc_beov6_1810 {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    line-height: 1.5;
}

/* Orange variant for "regenerate all" option */
._regenAllBtnOrange_beov6_1819:hover:not(:disabled) {
    background: rgba(251, 146, 60, 0.05);
    border-color: rgba(251, 146, 60, 0.3);
}

._regenAllBtnOrangeSelected_beov6_1824 {
    border-color: var(--warning-500);
    background: rgba(251, 146, 60, 0.05);
}

/* Badges inside option cards */
._regenBadgePurple_beov6_1830 {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(109, 40, 217, 0.1);
    color: var(--indigo-700);
    margin-top: 0.5rem;
    align-self: stretch;
}

._regenBadgeOrange_beov6_1844 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(251, 146, 60, 0.1);
    color: var(--warning-500);
    margin-top: 0.5rem;
    align-self: stretch;
}

/* Accordion for section selection */
._regenAccordion_beov6_1859 {
    border: 0.0625rem solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
}

._regenAccordionButton_beov6_1865 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
    background: var(--surface-subtle);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

._regenAccordionButton_beov6_1865:hover {
    background: var(--slate-100);
}

._regenAccordionChevron_beov6_1884 {
    transition: transform 0.2s ease;
    color: var(--text-secondary);
}

._regenAccordionChevronOpen_beov6_1889 {
    transform: rotate(180deg);
}

._regenAccordionContent_beov6_1893 {
    max-height: 0;
    overflow: hidden;
    background: var(--surface-card);
    border-top: 0.0625rem solid var(--border-subtle);
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1rem;
}

._regenAccordionContentOpen_beov6_1902 {
    max-height: 31.25rem;
    padding: 1rem;
    transition: max-height 0.3s ease-in, padding 0.3s ease-in;
}

._regenCheckbox_beov6_1908 {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    accent-color: var(--action-primary-bg);
}

/* Regen tips and context */

._regenSectionItem_beov6_1917 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0.875rem;
    color: var(--text-primary);
    width: 100%;
    text-align: left;
}

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

._regenTipsBox_beov6_1935 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--surface-subtle);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

._regenTextarea_beov6_1947 {
    width: 100%;
    padding: 0.75rem;
    border: 0.0625rem solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.875rem;
    resize: vertical;
    min-height: 6rem;
    background: var(--surface-subtle);
    transition: border-color 0.2s ease;
}

._regenTextarea_beov6_1947:focus {
    outline: none;
    border-color: var(--indigo-700);
}

._regenNoteBox_beov6_1964 {
    padding: 0.75rem 1rem;
    background: rgba(251, 146, 60, 0.1);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--warning-500);
    line-height: 1.5;
}

._regenModalActions_beov6_1974 {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 0.0625rem solid var(--border-subtle);
}

._regenCancelBtn_beov6_1982 {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 0.0625rem solid var(--border-subtle);
    background: var(--surface-card);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

._regenCancelBtn_beov6_1982:hover {
    background: var(--surface-subtle);
    border-color: var(--border-default);
}

._regenConfirmBtn_beov6_1999 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 1.5rem;
    background: var(--action-primary-bg);
    color: var(--action-primary-text);
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

._regenConfirmBtn_beov6_1999:hover:not(:disabled) {
    background: var(--action-primary-bg-hover);
}

._regenConfirmBtn_beov6_1999:disabled {
    background: var(--border-default);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Accordion icons: blue glyph on light-blue rounded background.
   Frame/glyph colors are baked into the SVG files, so no path recoloring here. */
._accordionIconContainer_beov6_116 {
    background: color-mix(in srgb, var(--blue-600) 8%, transparent) !important;
    border-radius: 8px !important;
}

._accordionIcon_beov6_116 {
    width: 28px !important;
    height: 28px !important;
}

._accordionIcon_beov6_116 svg {
    width: 28px !important;
    height: 28px !important;
}


._sizingToggleBtn_beov6_2042 {
    align-self: flex-start;
    margin: 4px 0 2px;
    padding: 2px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--action-primary-bg);
}

._sizingToggleBtn_beov6_2042:hover {
    text-decoration: underline;
}
._container_1s9mp_1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 37.5rem;
    text-align: center;
    margin: 2rem auto;
    padding: 2rem 1.5rem;
}

._iconContainer_1s9mp_12 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: var(--indigo-700);
    border-radius: 50%;
}

._iconContainer_1s9mp_12 svg,
._iconContainer_1s9mp_12 img {
    width: 2.5rem;
    height: 2.5rem;
    filter: brightness(0) invert(1);
}

._title_1s9mp_29 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 2rem;
    margin: 0;
}

._description_1s9mp_37 {
    font-size: 1rem;
    color: var(--text-tertiary);
    line-height: 1.5rem;
    margin: 0;
}

._generateButton_1s9mp_44 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 3rem;
    padding: 0 2rem;
    background: var(--indigo-700);
    border: none;
    border-radius: 8px;
    color: var(--text-inverse);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

._generateButton_1s9mp_44:not(:disabled) {
    transition: opacity 0.2s ease-in-out;
}

._generateButton_1s9mp_44:hover:not(:disabled) {
    opacity: 0.9;
}

._generateButton_1s9mp_44:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
._container_4yvq7_1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0.5rem;
}

._centeredContent_4yvq7_9 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 37.5rem;
  text-align: center;
  margin-top: 2rem;
}

._iconContainer_4yvq7_19 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--indigo-700);
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

._icon_4yvq7_19 {
  width: 1.75rem;
  height: 1.75rem;
  filter: brightness(0) invert(1);
}

._title_4yvq7_36 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 2rem;
  margin: 0;
}

._description_4yvq7_44 {
  font-size: 1rem;
  color: var(--text-tertiary);
  line-height: 1.5rem;
  margin: 0;
}

._generateButton_4yvq7_51 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 3rem;
  padding: 0 2rem;
  background: var(--indigo-700);
  border: none;
  border-radius: 8px;
  color: var(--action-primary-text);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5rem;
}

._generateButton_4yvq7_51:not(:disabled) {
  transition: opacity 0.2s ease-in-out;
}

._generateButton_4yvq7_51:hover:not(:disabled) {
  opacity: 0.9;
}

._generateButton_4yvq7_51:active:not(:disabled) {
  opacity: 0.8;
}

._generateButton_4yvq7_51:disabled {
  background: var(--indigo-700);
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

._buttonIcon_4yvq7_87 {
  font-size: 1.25rem;
  line-height: 1;
}

._infoBox_4yvq7_92 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: color-mix(in srgb, var(--blue-600) 5%, transparent);
  border: 0.0625rem solid color-mix(in srgb, var(--blue-600) 20%, transparent);
  border-radius: 8px;
  margin-top: 1rem;
  width: 100%;
}

._infoIcon_4yvq7_104 {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

._infoText_4yvq7_114 {
  font-size: 0.875rem;
  color: var(--slate-700);
  line-height: 1.25rem;
  margin: 0;
  text-align: left;
}

/* Loading state styles */
._progressContainer_4yvq7_123 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1.5rem;
}

._progressHeader_4yvq7_131 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

._progressLabel_4yvq7_137 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1rem;
}

._progressPercentage_4yvq7_143 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--indigo-700);
  line-height: 1rem;
}

._progressBar_4yvq7_150 {
  width: 100%;
  height: 0.5rem;
  background: var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

._progressFill_4yvq7_158 {
  height: 100%;
  background: linear-gradient(90deg, var(--indigo-500) 0%, var(--indigo-700) 100%);
  border-radius: 8px;
  transition: width 0.3s ease-out;
}

._infoBoxBlue_4yvq7_165 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--blue-50);
  border: 0.0625rem solid var(--blue-200);
  border-radius: 8px;
  margin-top: 0.75rem;
  width: 100%;
}

._infoTextSmall_4yvq7_177 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.2188rem;
  margin: 0;
  text-align: left;
}

._stepsList_4yvq7_185 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  width: 100%;
}

._stepItem_4yvq7_193 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.3s ease-in-out;
}

._stepItem_4yvq7_193 {
  transition: opacity 0.4s ease-in-out;
}

._stepItemActive_4yvq7_204 {}

._stepDot_4yvq7_206 {
  width: 2rem;
  height: 2rem;
  background: var(--indigo-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: width 0.3s ease-in-out, height 0.3s ease-in-out, background 0.3s ease-in-out;
}

._stepDotActive_4yvq7_219 {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--indigo-200);
  box-shadow: 0 0 0 0.25rem rgba(152, 16, 250, 0.15);
  animation: _pulse_4yvq7_1 1.4s ease-in-out infinite;
}

@keyframes _pulse_4yvq7_1 {

  0%,
  100% {
    box-shadow: 0 0 0 0.25rem rgba(152, 16, 250, 0.15);
  }

  50% {
    box-shadow: 0 0 0 0.5rem rgba(152, 16, 250, 0.08);
  }
}

._stepDot_4yvq7_206::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background: var(--indigo-700);
  border-radius: 50%;
  position: absolute;
  transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
}

._stepDotActive_4yvq7_219::after {
  width: 0.625rem;
  height: 0.625rem;
}

._stepText_4yvq7_254 {
  font-size: 0.75rem;
  color: var(--slate-600);
  line-height: 1rem;
  transition: font-size 0.3s ease-in-out, color 0.3s ease-in-out, font-weight 0.3s ease-in-out;
}

._stepTextActive_4yvq7_261 {
  color: var(--indigo-900);
  font-weight: 700;
  font-size: 1rem;
}

/* Loading dots for active step */
._loadingDots_4yvq7_268 {
  display: inline-flex;
  gap: 0.2rem;
  margin-left: 0.25rem;
  align-items: center;
}

._loadingDots_4yvq7_268 span {
  width: 0.25rem;
  height: 0.25rem;
  background: var(--indigo-700);
  border-radius: 50%;
  animation: _dot-bounce_4yvq7_1 1.2s ease-in-out infinite;
}

._loadingDots_4yvq7_268 span:nth-child(2) {
  animation-delay: 0.2s;
}

._loadingDots_4yvq7_268 span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes _dot-bounce_4yvq7_1 {

  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  40% {
    transform: translateY(-0.3rem);
    opacity: 1;
  }
}

/* Results state styles */
._resultsContainer_4yvq7_307 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

._resultsHeader_4yvq7_314 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

._regenerateButton_4yvq7_321 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5625rem 1rem;
  background: var(--action-ai-bg);
  color: var(--action-ai-text);
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

._regenerateButton_4yvq7_321:hover:not(:disabled) {
  background: var(--action-ai-bg-hover);
}

._regenerateButton_4yvq7_321:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

._regenerateButton_4yvq7_321:active:not(:disabled) {
  background: var(--action-ai-bg-active);
}

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

._headerIcon_4yvq7_356 {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--indigo-50);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

html.dark ._headerIcon_4yvq7_356 {
  background: transparent !important;
}

._headerIcon_4yvq7_356 svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--indigo-700);
}

._headerIconEmoji_4yvq7_377 {
  font-size: 1.25rem;
  line-height: 1;
}

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

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

._accordionItem_4yvq7_395 {
  background: var(--surface-card);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}

._accordionItemExpanded_4yvq7_403 {
  border-color: var(--border-default);
}

._accordionItemValidated_4yvq7_407 {
  background: color-mix(in srgb, var(--cyan-50) 30%, transparent);
  border-color: var(--success-500) !important;
}

._accordionButton_4yvq7_412 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  gap: 0.75rem;
}

._accordionButton_4yvq7_412:hover {
  background: rgba(0, 0, 0, 0.02);
}

._accordionHeader_4yvq7_429 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

._accordionHeader_4yvq7_429 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

._headerReviewSection_4yvq7_443 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: 0.5rem;
  padding-left: 1rem;
}

._headerReviewQuestion_4yvq7_452 {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--slate-600);
  line-height: 1rem;
  margin: 0;
  white-space: nowrap;
}

._headerReviewButtons_4yvq7_461 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

._headerReviewButtonsVisible_4yvq7_470 {
  opacity: 1;
  pointer-events: auto;
}

._headerReviewLabel_4yvq7_475 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-600);
  white-space: nowrap;
  margin-right: 0.25rem;
}

._headerReviewButton_4yvq7_461 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  color: var(--text-primary);
  background: var(--surface-page);
  border: 0.09375rem solid var(--slate-400);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
}

._headerReviewButton_4yvq7_461 svg {
  width: 0.875rem;
  height: 0.875rem;
}

._headerReviewButton_4yvq7_461 svg path {
  stroke: var(--icon-muted);
  transition: stroke 0.2s ease-in-out;
}

/* Approve button hover � light green */
._headerReviewButton_4yvq7_461:first-of-type:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--success-500);
}

._headerReviewButton_4yvq7_461:first-of-type:hover svg path {
  stroke: var(--success-500);
}

/* Reject button hover � light red */
._headerReviewButton_4yvq7_461:last-of-type:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: var(--error-500);
}

._headerReviewButton_4yvq7_461:last-of-type:hover svg path {
  stroke: var(--error-500);
}

/* Approved state � light green bg + green border + green icon */
._headerReviewButtonApproved_4yvq7_530 {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--success-500);
  cursor: default;
}

._headerReviewButtonApproved_4yvq7_530 svg path {
  stroke: var(--success-500);
}

._headerReviewButtonApproved_4yvq7_530:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--success-500);
}

._headerReviewButtonApproved_4yvq7_530:hover svg path {
  stroke: var(--success-500);
}

/* Rejected/editing cancel state � filled red + white icon */
._headerReviewButtonRejected_4yvq7_550 {
  background: var(--error-500);
  border-color: var(--error-500);
}

._headerReviewButtonRejected_4yvq7_550 svg path {
  stroke: white;
}

._headerReviewButtonRejected_4yvq7_550:hover {
  background: var(--error-600);
  border-color: var(--error-600);
}

._headerReviewButtonRejected_4yvq7_550:hover svg path {
  stroke: white;
}

/* Editing save button � filled green + white icon */
._headerReviewButtonSave_4yvq7_569 {
  background: var(--success-500);
  border-color: var(--success-500);
}

._headerReviewButtonSave_4yvq7_569 svg path {
  stroke: white;
}

._headerReviewButtonSave_4yvq7_569:hover {
  background: var(--success-600);
  border-color: var(--success-600);
}

._headerReviewButtonSave_4yvq7_569:hover svg path {
  stroke: white;
}

._accordionIcon_4yvq7_587 {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

html.dark ._accordionIcon_4yvq7_587 {
  background: transparent !important;
}

._accordionIcon_4yvq7_587 svg {
  width: 1.25rem;
  height: 1.25rem;
}

._accordionIconEmoji_4yvq7_606 {
  font-size: 1.25rem;
  line-height: 1;
}

._accordionTitleContainer_4yvq7_611 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  text-align: left;
  flex: 1;
}

._accordionTitle_4yvq7_611 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--slate-900);
  line-height: 1.25rem;
  margin: 0;
}

._accordionRight_4yvq7_627 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._validatedBadge_4yvq7_633 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: 1.5rem;
  padding: 0 0.625rem;
  background: rgba(16, 185, 129, 0.12);
  border: 0.0625rem solid var(--success-500);
  border-radius: 8px;
  color: var(--success-600);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.0312rem;
}

._validatedBadge_4yvq7_633 svg {
  width: 0.75rem;
  height: 0.75rem;
}

._validatedBadge_4yvq7_633 svg path {
  stroke: var(--success-600);
}

._accordionDescription_4yvq7_659 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1rem;
  margin: 0;
}

._accordionChevron_4yvq7_666 {
  flex-shrink: 0;
  transition: transform 0.2s ease-in-out;
}

._accordionChevronOpen_4yvq7_671 {
  transform: rotate(180deg);
}

._accordionCollapsible_4yvq7_675 {
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

._accordionContent_4yvq7_680 {
  padding: 0 1rem 1rem 1rem;
}

._contentSection_4yvq7_684 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

._sectionTitle_4yvq7_691 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
  line-height: 1.25rem;
  margin: 0;
}

._sectionText_4yvq7_699 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-tertiary);
  line-height: 1.375rem;
  margin: 0;
  white-space: pre-wrap;
}

._painsList_4yvq7_708 {
  padding: 0 0 0 0.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._painItem_4yvq7_716 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-tertiary);
  line-height: 1.375rem;
  list-style: disc;
  margin-left: 1.25rem;
}

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

._contentIcon_4yvq7_731 {
  font-size: 1rem;
  line-height: 1;
}

._contentTitle_4yvq7_736 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25rem;
  margin: 0;
}

._contentText_4yvq7_744 {
  font-size: 0.875rem;
  color: var(--slate-700);
  line-height: 1.25rem;
  margin: 0;
  padding-left: 1.5rem;
}

._reviewSection_4yvq7_752 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 0.0625rem solid var(--border-subtle);
  margin-top: 0.5rem;
}

._reviewQuestion_4yvq7_762 {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-tertiary);
  line-height: 1rem;
  margin: 0;
  flex-shrink: 0;
}

._reviewButtons_4yvq7_771 {
  display: flex;
  gap: 0.375rem;
  flex-shrink: 0;
}

._reviewButton_4yvq7_771 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 1.75rem;
  padding: 0 0.75rem;
  background: var(--surface-page);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  color: var(--slate-600);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._reviewButton_4yvq7_771:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
}

._reviewButton_4yvq7_771 svg {
  width: 1rem;
  height: 1rem;
}

._reviewButtonApproved_4yvq7_802 {
  background: var(--success-50);
  border-color: var(--success-500);
  color: var(--success-600);
}

._reviewButtonApproved_4yvq7_802:hover {
  background: var(--success-50);
}

._reviewButtonReject_4yvq7_812 {
  color: var(--error-600);
}

._reviewButtonRejected_4yvq7_816 {
  background: var(--error-50);
  border-color: var(--error-500);
  color: var(--error-600);
}

._reviewButtonRejected_4yvq7_816:hover {
  background: var(--error-50);
}

._accordionText_4yvq7_826 {
  font-size: 0.875rem;
  color: var(--slate-700);
  line-height: 1.25rem;
  margin: 0;
}

/* Strategies grid */
._strategiesGrid_4yvq7_834 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
  align-items: stretch;
}

._strategyCard_4yvq7_842 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.625rem;
  border: 2px solid;
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.1), 0px 4px 6px 0px rgba(0, 0, 0, 0.1);
  height: 100%;
  box-sizing: border-box;
}

/* Conservative strategy - cyan theme */
._strategyCard_4yvq7_842[data-approach="conservative"] {
  background: linear-gradient(123.99deg, var(--cyan-50, rgb(236, 254, 255)) 0%, var(--surface-card) 100%);
  border-color: var(--cyan-400);
}

/* Modernized strategy - purple theme */
._strategyCard_4yvq7_842[data-approach="modernized"] {
  background: linear-gradient(123.99deg, var(--indigo-50) 0%, var(--surface-page) 100%);
  border-color: var(--indigo-200);
}

._strategyCardValidated_4yvq7_869 {
  background: var(--success-50);
  border-color: var(--success-500);
}

._strategyCardHeader_4yvq7_874 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

._strategyCard_4yvq7_842 ._headerReviewButtonsVisible_4yvq7_470 {
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

._strategyCard_4yvq7_842 ._headerReviewLabel_4yvq7_475 {
  flex: 1;
}

._strategyHeaderLeft_4yvq7_892 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

._strategyIconContainer_4yvq7_899 {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Conservative icon background - cyan */
._strategyCard_4yvq7_842[data-approach="conservative"] ._strategyIconContainer_4yvq7_899 {
  background: var(--cyan-100);
}

/* Modernized icon background - purple */
._strategyCard_4yvq7_842[data-approach="modernized"] ._strategyIconContainer_4yvq7_899 {
  background: var(--indigo-50);
}

._strategyIcon_4yvq7_899 {
  width: 1rem;
  height: 1rem;
}

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

._strategyCardTitle_4yvq7_931 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.5rem;
  margin: 0;
}

._recommendedBadge_4yvq7_939 {
  display: inline-flex;
  align-items: center;
  height: 1.25rem;
  padding: 0 0.5rem;
  background: linear-gradient(135deg, var(--success-500) 0%, var(--success-600) 100%);
  border-radius: 8px;
  color: var(--action-primary-text);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.0312rem;
  width: fit-content;
}

._strategySubtitle_4yvq7_955 {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-tertiary);
  line-height: 1rem;
  margin: 0;
}

._strategySummary_4yvq7_963 {
  font-size: 0.875rem;
  color: var(--slate-700);
  line-height: 1.4219rem;
  margin: 0;
  white-space: pre-wrap;
}

/* Summary accordion */
._summaryAccordionWrapper_4yvq7_972 {
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  padding-right: 1.5rem;
  /* space for the chevron */
  transition: background 0.15s ease;
}

._summaryAccordionWrapper_4yvq7_972:hover {
  background: rgba(0, 0, 0, 0.03);
}

._summaryAccordionWrapper_4yvq7_972:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

._summaryAccordion_4yvq7_972 {
  position: relative;
  max-height: 11.375rem;
  /* ~8 lines */
  overflow: hidden;
  transition: max-height 0.35s ease;
}

._summaryExpanded_4yvq7_998 {
  max-height: 62.5rem;
  /* large enough for any content */
}

._summaryFade_4yvq7_1003 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  pointer-events: none;
}

/* Match fade color to each card theme */
._strategyCard_4yvq7_842[data-approach="conservative"] ._summaryFade_4yvq7_1003 {
  background: linear-gradient(to bottom, transparent, var(--cyan-50));
}

._strategyCard_4yvq7_842[data-approach="modernized"] ._summaryFade_4yvq7_1003 {
  background: linear-gradient(to bottom, transparent, var(--indigo-50));
}

._summaryChevron_4yvq7_1021 {
  position: absolute;
  top: 0.1rem;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--slate-600);
  opacity: 0.6;
  transition: transform 0.25s ease, opacity 0.15s ease;
}

._summaryAccordionWrapper_4yvq7_972:hover ._summaryChevron_4yvq7_1021 {
  opacity: 1;
}

._summaryChevronExpanded_4yvq7_1039 {
  transform: rotate(180deg);
}

/* Metrics - individual rows with white background */
._metricsGrid_4yvq7_1044 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._metricItem_4yvq7_1050 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.375rem 0.75rem;
  background: var(--surface-page);
  border: 0.667px solid var(--border-subtle);
  border-radius: 8px;
}

._metricLabel_4yvq7_1060 {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--slate-600);
  line-height: 1rem;
}

._metricValue_4yvq7_1067 {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25rem;
  color: var(--slate-900);
}

/* Metric value colors */
._metricValue_4yvq7_1067[data-risk="Baixo"] {
  color: var(--cyan-600);
}

._metricValue_4yvq7_1067[data-efficiency="Muito Alta"],
._metricValue_4yvq7_1067[data-resources="Elevado"] {
  color: var(--indigo-700);
}

/* Pr�s and Contras in 2 columns */
._prosConsGrid_4yvq7_1085 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

._prosColumn_4yvq7_1091,
._consColumn_4yvq7_1092 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._prosConsTitle_4yvq7_1098 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-900);
  line-height: 1rem;
  margin: 0 0 0.25rem 0;
}

._prosIcon_4yvq7_1109,
._consIcon_4yvq7_1110 {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

._prosIcon_4yvq7_1109 {
  background: var(--cyan-100);
}

._consIcon_4yvq7_1110 {
  background: var(--error-50);
}

._prosIcon_4yvq7_1109 svg,
._consIcon_4yvq7_1110 svg {
  width: 0.75rem;
  height: 0.75rem;
}

._prosList_4yvq7_1134,
._consList_4yvq7_1135 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

._prosItem_4yvq7_1144,
._consItem_4yvq7_1145 {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--slate-600);
  line-height: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
}

._prosItem_4yvq7_1144 svg,
._consItem_4yvq7_1145 svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Detalhar Estrat�gia button */
._detailStrategyButton_4yvq7_1162 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.25rem;
  padding: 0 1.5rem;
  background: var(--indigo-700);
  border: none;
  border-radius: 8px;
  color: var(--action-primary-text);
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  margin-top: auto;
  flex-shrink: 0;
}

._detailStrategyButton_4yvq7_1162:hover {
  background: var(--indigo-700);
}

._detailStrategyButton_4yvq7_1162:active {
  background: var(--indigo-700);
}

._detailStrategyButton_4yvq7_1162:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

._detailStrategyButtonSelected_4yvq7_1195 {
  background: var(--success-500);
}

._detailStrategyButtonSelected_4yvq7_1195:hover {
  background: var(--success-600);
}

._detailStrategyButtonCompleted_4yvq7_1203 {
  background: var(--blue-600);
}

._detailStrategyButtonCompleted_4yvq7_1203:hover {
  background: var(--blue-700);
}

._detailStrategyButton_4yvq7_1162 svg {
  width: 1rem;
  height: 1rem;
}

/* Review row inside strategy card */
._cardReviewRow_4yvq7_1217 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 0.0625rem solid var(--border-subtle);
  margin-top: 0.25rem;
}

._cardReviewQuestion_4yvq7_1226 {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-600);
  margin: 0;
}

/* Mount error � shown on initial screen when a workflow_id existed but fetch failed */
._mountErrorBox_4yvq7_1234 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(239, 68, 68, 0.05);
  border: 0.0625rem solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  width: 100%;
}

._mountErrorText_4yvq7_1245 {
  font-size: 0.875rem;
  color: var(--error-500);
  line-height: 1.25rem;
  margin: 0;
  text-align: left;
}

/* Amber border applied to accordion item when its section is being edited */
._accordionItemEditing_4yvq7_1254 {
  border-color: var(--warning-500) !important;
}

/* Objectives bulleted list � same style as painsList / painItem */
._objectivesList_4yvq7_1259 {
  padding: 0 0 0 0.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._objectivesItem_4yvq7_1267 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-tertiary);
  line-height: 1.375rem;
  list-style: disc;
  margin-left: 1.25rem;
}

._spinnerIcon_4yvq7_1276 {
  animation: _spin_4yvq7_1276 0.8s linear infinite;
}

@keyframes _spin_4yvq7_1276 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* --- Detailed Analysis Selection Panel ------------------------------------ */
._detailedSelectionPanel_4yvq7_1291 {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--surface-page);
  border: none;
  border-radius: 0;
  margin-top: 1rem;
  width: 100%;
  box-sizing: border-box;
}

._detailedSelectionHeader_4yvq7_1304 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

._detailedSelectionTitle_4yvq7_1310 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0;
  white-space: nowrap;
}

._detailedSelectionButtons_4yvq7_1324 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

._detailedSelectionBtn_4yvq7_1331 {
  padding: 0.5rem 1.25rem;
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

._detailedSelectionBtn_4yvq7_1331:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._detailedSelectionBtnActive_4yvq7_1348 {
  padding: 0.5rem 1.25rem;
  background: var(--indigo-600);
  border: 1px solid var(--indigo-600);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: all 0.15s;
}

._detailedSelectionBtnActive_4yvq7_1348:hover {
  background: var(--indigo-700);
}

._detailedSelectionCredits_4yvq7_1364 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--slate-600);
}

._creditsDot_4yvq7_1372 {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--warning-500);
}

._detailedSelectionSubtitle_4yvq7_1379 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: -0.5rem 0 0;
}

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

._detailedSelectionCard_4yvq7_1385 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

._detailedSelectionCardHeader_4yvq7_1402 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

._detailedSelectionCardIcon_4yvq7_1408 {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

._detailedSelectionCardTitle_4yvq7_1418 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
}

._detailedSelectionCardDesc_4yvq7_1424 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin: 0.125rem 0 0;
  line-height: 1.25;
}

._detailedSelectionCardFooter_4yvq7_1431 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

._detailedSelectionCardExec_4yvq7_1437 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._detailedSelectionCardCost_4yvq7_1442 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
}

._detailedSelectionCardButton_4yvq7_1448 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  padding: 0.625rem;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  color: var(--action-primary-text);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

._detailedSelectionCardButton_4yvq7_1448:hover {
  opacity: 0.9;
}

._detailedSelectionBothButton_4yvq7_1469 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  color: var(--action-primary-bg);
  border: 1.5px dashed var(--action-primary-bg);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

._detailedSelectionBothButton_4yvq7_1469:hover {
  background: color-mix(in srgb, var(--blue-600) 5%, transparent);
}


/* --- Credits Confirmation Modal ------------------------------------------- */
._creditsModalOverlay_4yvq7_1492 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

._creditsModal_4yvq7_1492 {
  background: var(--surface-page);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  width: 28rem;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

._creditsModalHeader_4yvq7_1513 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

._creditsModalTitle_4yvq7_1521 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0;
  flex: 1;
}

._creditsModalClose_4yvq7_1529 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-tertiary);
}

._creditsModalClose_4yvq7_1529:hover {
  background: var(--slate-100);
}

._creditsModalBody_4yvq7_1546 {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

._creditsModalCostRow_4yvq7_1553 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border-radius: 8px;
}

._creditsModalCostLabel_4yvq7_1562 {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

._creditsModalCostValue_4yvq7_1567 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
}

._creditsModalInfo_4yvq7_1573 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: 8px;
}

._creditsModalInfoText_4yvq7_1583 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

._creditsModalWarning_4yvq7_1590 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--warning-50);
  border: 1px solid var(--warning-200);
  border-radius: 8px;
}

._creditsModalWarningText_4yvq7_1600 {
  font-size: 0.8125rem;
  color: var(--warning-800);
  margin: 0;
  line-height: 1.4;
}

._creditsModalRetries_4yvq7_1607 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border-radius: 8px;
}

._creditsModalRetriesLabel_4yvq7_1616 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._creditsModalRetriesDots_4yvq7_1621 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

._creditsModalRetryDot_4yvq7_1627 {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--status-success);
}

._creditsModalRetriesCount_4yvq7_1634 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--status-success);
  margin-left: auto;
}

._creditsModalFooter_4yvq7_1641 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

._creditsModalCancelBtn_4yvq7_1650 {
  padding: 0.5rem 1rem;
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s;
}

._creditsModalCancelBtn_4yvq7_1650:hover {
  background: var(--slate-50);
}

._creditsModalConfirmBtn_4yvq7_1666 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s;
}

._creditsModalConfirmBtn_4yvq7_1666:hover {
  opacity: 0.9;
}


/* --- Detailed Generation Loading State ------------------------------------ */
._detailedLoadingCard_4yvq7_1687 {
  background: var(--surface-page);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  width: 24rem;
  max-width: 90vw;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

._detailedLoadingSpinner_4yvq7_1701 {
  width: 4rem;
  height: 4rem;
  background: var(--blue-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

._detailedLoadingTitle_4yvq7_1711 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0;
}

._detailedLoadingSubtitle_4yvq7_1718 {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin: 0;
}

._detailedLoadingProgress_4yvq7_1724 {
  width: 100%;
  height: 0.375rem;
  background: var(--slate-100);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0.5rem;
}

._detailedLoadingBar_4yvq7_1733 {
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, var(--action-primary-bg), var(--blue-400));
  border-radius: 8px;
  animation: _loadingPulse_4yvq7_1 2s ease-in-out infinite;
}

@keyframes _loadingPulse_4yvq7_1 {
  0% { width: 20%; opacity: 0.7; }
  50% { width: 80%; opacity: 1; }
  100% { width: 20%; opacity: 0.7; }
}

._detailedLoadingHint_4yvq7_1747 {
  font-size: 0.75rem;
  color: var(--text-disabled);
  margin: 0;
}


/* --- Detailed Analysis Result Panel --------------------------------------- */
._detailedResultPanel_4yvq7_1755 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin-top: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

._detailedResultTitle_4yvq7_1773 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0;
}

._detailedResultSubtitle_4yvq7_1780 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: -0.5rem 0 0;
}

._detailedResultSections_4yvq7_1786 {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

._detailedResultSection_4yvq7_1786 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

._detailedResultSectionTitle_4yvq7_1807 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-900);
  display: block;
}

._detailedResultSectionDesc_4yvq7_1814 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0.25rem 0 0;
  line-height: 1.4;
}


/* --- Detailed Result Both Scenarios Grid ---------------------------------- */
._detailedResultBothGrid_4yvq7_1823 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

._detailedResultCard_4yvq7_1829 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-page);
}

._detailedResultCard_4yvq7_1829[data-approach="conservative"] {
  border-color: var(--cyan-300);
  background: linear-gradient(180deg, color-mix(in srgb, var(--cyan-50) 30%, transparent) 0%, var(--surface-card) 100%);
}

._detailedResultCard_4yvq7_1829[data-approach="modernized"] {
  border-color: var(--indigo-200);
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.3) 0%, var(--surface-card) 100%);
}

._detailedResultCardHeader_4yvq7_1849 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

._detailedResultCardIcon_4yvq7_1857 {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

._detailedResultCardTitle_4yvq7_1867 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
}


/* --- Detailed Result Chosen Card (like DetailedAnalysisSection) --------------- */
._detailedResultChosenCard_4yvq7_1875 {
  border: 2px solid var(--status-success);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--surface-page);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._detailedResultChosenCard_4yvq7_1875[data-approach="modernized"] {
  border-color: var(--indigo-300);
}

._detailedResultChosenHeader_4yvq7_1889 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._detailedResultChosenIcon_4yvq7_1895 {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

._detailedResultChosenTitle_4yvq7_1906 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
}

._detailedResultChosenSubtitle_4yvq7_1912 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0.125rem 0 0;
}

._detailedResultChosenBadge_4yvq7_1918 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  padding: 0.25rem 0.75rem;
  background: var(--status-success);
  color: var(--action-primary-text);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

._detailedResultAccordions_4yvq7_1931 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._detailedResultAccordionItem_4yvq7_1937 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface-page);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._detailedResultAccordionItem_4yvq7_1937:hover {
  border-color: var(--border-default);
  background: var(--slate-50);
}

._detailedResultAccordionTitle_4yvq7_1954 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--slate-900);
  line-height: 1.25rem;
  display: block;
}

._detailedResultAccordionDesc_4yvq7_1962 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin: 0.125rem 0 0;
  line-height: 1rem;
}


._detailedResultDescription_4yvq7_1970 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.4;
  margin: 0;
}


._detailedResultAccordionContent_4yvq7_1978 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0.5rem 0 0;
  padding: 0.75rem;
  background: var(--slate-50);
  border-radius: 8px;
  white-space: pre-wrap;
}


/* --- Status Panel (after generation) -------------------------------------- */
._statusPanel_4yvq7_1991 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0;
  width: 100%;
  margin-top: 1rem;
}

._statusSteps_4yvq7_2000 {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

._statusStep_4yvq7_2000 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._statusActions_4yvq7_2012 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

._statusActionBtn_4yvq7_2019 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s;
}

._statusActionBtn_4yvq7_2019:hover {
  background: var(--slate-50);
}

._statusRegens_4yvq7_2037 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

._statusRegenText_4yvq7_2045 {
  font-size: 0.75rem;
}

._statusRegenBar_4yvq7_2049 {
  height: 0.375rem;
  background: var(--slate-100);
  border-radius: 8px;
  overflow: hidden;
}

._statusRegenFill_4yvq7_2056 {
  height: 100%;
  background: var(--indigo-500);
  border-radius: 8px;
}

._statusCredits_4yvq7_2062 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}

._statusCreditsUsed_4yvq7_2069 {
  color: var(--text-tertiary);
}

._statusCreditsRemaining_4yvq7_2073 {
  color: var(--status-success);
  font-weight: 600;
}


/* --- Inline Loading (not overlay) ----------------------------------------- */
._detailedLoadingInline_4yvq7_2080 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  background: var(--slate-50);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin-top: 1.5rem;
  width: 100%;
}


/* --- Select Both Button --------------------------------------------------- */
._selectBothButton_4yvq7_2096 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto;
  padding: 0 1.5rem;
  height: 2.25rem;
  background: var(--indigo-700);
  color: var(--action-primary-text);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  margin: 1rem auto 0;
  transition: background 0.15s;
}

._selectBothButton_4yvq7_2096:hover {
  background: var(--indigo-800);
}

/* --- Credit Info Boxes ---------------------------------------------------- */
._creditInfoBoxes_4yvq7_2120 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
  width: 100%;
}

._creditInfoBox_4yvq7_2120 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

._creditInfoBox_4yvq7_2120 strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

._creditInfoBox_4yvq7_2120 p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0.125rem 0 0;
}

._creditInfoHint_4yvq7_2151 {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  display: block;
  margin-top: 0.375rem;
}

/* --- Regenerate button inside each strategy card -------------------------- */
._regenerateCardButton_4yvq7_2159 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 3rem;
  padding: 0 1.5rem;
  background: var(--blue-600);
  border: none;
  border-radius: 8px;
  color: var(--action-primary-text);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  flex-shrink: 0;
  box-shadow: 0 2px 8px 0 color-mix(in srgb, var(--blue-600) 25%, transparent);
  letter-spacing: 0.01em;
}

._regenerateCardButton_4yvq7_2159:hover:not(:disabled) {
  background: var(--blue-700);
  box-shadow: 0 4px 14px 0 color-mix(in srgb, var(--blue-600) 35%, transparent);
}

._regenerateCardButton_4yvq7_2159:active:not(:disabled) {
  background: var(--blue-800);
  box-shadow: none;
}

._regenerateCardButton_4yvq7_2159:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

._regenerateCardButton_4yvq7_2159:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

._regenerateCardIcon_4yvq7_2201 {
  font-size: 1.125rem;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* --- Dark mode overrides -------------------------------------------------- */
html.dark ._strategyCard_4yvq7_842[data-approach="conservative"] {
  background: var(--surface-card) !important;
}

html.dark ._strategyCard_4yvq7_842[data-approach="modernized"] {
  background: var(--surface-card) !important;
}

html.dark ._strategyCardValidated_4yvq7_869 {
  background: var(--surface-card) !important;
}

html.dark ._detailedResultCard_4yvq7_1829[data-approach="conservative"],
html.dark ._detailedResultCard_4yvq7_1829[data-approach="modernized"] {
  background: var(--surface-card) !important;
}

html.dark ._summaryFade_4yvq7_1003 {
  background: linear-gradient(to bottom, transparent, var(--surface-card)) !important;
}

html.dark ._metricItem_4yvq7_1050 {
  background: var(--surface-subtle) !important;
}

html.dark ._accordionItemValidated_4yvq7_407 {
  background: var(--surface-card) !important;
}

html.dark ._accordionItem_4yvq7_395 {
  background: var(--surface-card) !important;
}

/* View mode toggle */
._viewModeToggleWrapper_4yvq7_2243 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1rem;
}

._viewModeToggle_4yvq7_2243 {
  display: flex;
  gap: 0.5rem;
}

._viewModeLabel_4yvq7_2256 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  white-space: nowrap;
}

._viewModeButton_4yvq7_2262 {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

._viewModeButton_4yvq7_2262:hover:not(._viewModeButtonActive_4yvq7_2275):not(:disabled) {
  color: var(--text-primary);
  border-color: var(--border-default);
}

._viewModeButtonActive_4yvq7_2275 {
  border: 1.5px solid var(--action-primary-bg);
  color: var(--action-primary-bg);
  background: var(--surface-card);
}

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

._selectorWrapper_4yvq7_2291 {
  margin-top: 1rem;
}

._resultsSubtitle_4yvq7_2295 {
  margin: 0;
  font-size: var(--section-subtitle-size);
  line-height: var(--section-subtitle-line-height);
  color: var(--text-secondary);
}
/* AnalysisSectionEditor.module.css */

._editor_1mhsa_3 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
}

._field_1mhsa_13 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._fieldLabel_1mhsa_19 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25rem;
}

._textarea_1mhsa_26 {
  width: 100%;
  min-height: 8rem;
  padding: 0.625rem 0.75rem;
  background: var(--surface-subtle);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--slate-700);
  line-height: 1.375rem;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out;
}

._textarea_1mhsa_26:focus {
  border-color: var(--blue-600);
  background: var(--surface-page);
}

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

._textarea_1mhsa_26::placeholder {
  color: var(--text-tertiary);
}

._saveError_1mhsa_56 {
  font-size: 0.875rem;
  color: var(--error-500);
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: rgba(239, 68, 68, 0.06);
  border: 0.0625rem solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
}

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

._wiggleWarning_1mhsa_73 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--warning-700);
  background: var(--warning-50);
  border: 0.0625rem solid var(--warning-500);
  border-radius: 8px;
  padding: 0.375rem 0.625rem;
  margin-right: auto;
  white-space: nowrap;
  animation: _shake_1mhsa_1 0.4s ease-in-out;
}

@keyframes _shake_1mhsa_1 {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

._saveButton_1mhsa_96 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 1rem;
  background: var(--blue-600);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--surface-page);
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._saveButton_1mhsa_96:hover:not(:disabled) {
  opacity: 0.9;
}

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

._saveButton_1mhsa_96:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

._cancelButton_1mhsa_125 {
  display: flex;
  align-items: center;
  height: 2.25rem;
  padding: 0 1rem;
  background: var(--surface-page);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--slate-600);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

._cancelButton_1mhsa_125:hover:not(:disabled) {
  background: var(--surface-subtle);
}

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

._cancelButton_1mhsa_125:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}


._container_1dw0v_1 {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--surface-card);
  width: 100%;
}

._containerDisabled_1dw0v_9 {
  opacity: 0.5;
}

._containerDisabled_1dw0v_9 ._optionCard_1dw0v_13 {
  cursor: not-allowed !important;
}

._optionCardDisabled_1dw0v_17 {
  opacity: 0.4;
  cursor: not-allowed !important;
  pointer-events: none;
}

._header_1dw0v_23 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

._headerIcon_1dw0v_30 {
  color: var(--indigo-600);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

._title_1dw0v_36 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

._subtitle_1dw0v_43 {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0.25rem 0 0;
}

._optionsGrid_1dw0v_49 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

._optionCard_1dw0v_13 {
  flex: 1;
  min-width: 220px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  text-align: left;
  background: var(--surface-card);
  cursor: pointer;
  transition: all 0.2s ease;
}

._optionCard_1dw0v_13:hover:not(:disabled) {
  border-color: var(--cyan-500);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--cyan-500) 10%, transparent);
}

._optionCard_1dw0v_13:focus-visible {
  outline: 2px solid var(--cyan-500);
  outline-offset: 2px;
}

._optionCard_1dw0v_13:disabled {
  cursor: default;
}

._optionCardGenerated_1dw0v_83 {
  background: color-mix(in srgb, var(--success-500) 4%, transparent);
  border-color: color-mix(in srgb, var(--success-500) 30%, transparent);
}

._optionCardGenerated_1dw0v_83:hover:not(:disabled) {
  border-color: var(--success-500);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--success-500) 10%, transparent);
}

._optionTopBar_1dw0v_93 {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.7;
  background: var(--indigo-600);
}

._optionContent_1dw0v_104 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

._optionIcon_1dw0v_110 {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--cyan-500) 10%, transparent);
  color: var(--cyan-500);
}

._optionIconGenerated_1dw0v_122 {
  background: color-mix(in srgb, var(--success-500) 10%, transparent);
  color: var(--success-500);
}

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

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

._optionMeta_1dw0v_144 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--text-secondary);
}

._metaIconSuccess_1dw0v_152 {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--success-500);
}

._metaTextSuccess_1dw0v_158 {
  color: var(--success-500);
  font-weight: 500;
}

._metaCredits_1dw0v_163 {
  color: var(--indigo-700);
}
/* CostSummaryModal.module.css */

._overlay_1x6wi_3 {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

._modal_1x6wi_13 {
    background: var(--surface-card);
    border: 0.667px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    width: 760px;
    max-width: 95vw;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Close button */
._closeButton_1x6wi_28 {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 16px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

._closeButton_1x6wi_28:hover {
    opacity: 1;
}

/* Header */
._header_1x6wi_49 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

._headerIcon_1x6wi_56 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

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

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

._headerTitle_1x6wi_77 {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    color: var(--slate-900);
    margin: 0;
}

._headerSubtitle_1x6wi_85 {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--text-tertiary);
    margin: 0;
}

/* Body */
._body_1x6wi_94 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
    max-height: 60vh;
    overflow-y: auto;
}

/* Highlight card (Investimento Inicial) */
._highlightCard_1x6wi_104 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    border: 0.667px solid;
}

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

._highlightCardLabel_1x6wi_119 {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

._highlightCardValue_1x6wi_125 {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

._highlightCardIcon_1x6wi_131 {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

._highlightCardIcon_1x6wi_131 svg {
    width: 28px;
    height: 28px;
}

/* Regular card */
._regularCard_1x6wi_146 {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    background: var(--surface-subtle);
    border: 0.667px solid var(--border-subtle);
    border-radius: 8px;
}

._regularCardLabel_1x6wi_156 {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: var(--slate-600);
}

._regularCardValue_1x6wi_163 {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--slate-900);
}

._regularCardSub_1x6wi_170 {
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
    color: var(--success-600);
    margin-top: 2px;
}

/* Divider section */
._section_1x6wi_179 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 0.667px solid var(--border-subtle);
}

._sectionTitle_1x6wi_187 {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: var(--slate-900);
    margin: 0;
}

/* List */
._list_1x6wi_196 {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

._listItem_1x6wi_205 {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--slate-700);
}

._listItemIcon_1x6wi_215 {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Info box */
._infoBox_1x6wi_223 {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    background: var(--blue-50);
    border: 0.667px solid var(--blue-200);
    border-radius: 8px;
}

._infoBoxHeader_1x6wi_233 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

._infoBoxIcon_1x6wi_239 {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

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

._infoBoxTitle_1x6wi_252 {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: var(--blue-800);
    margin: 0;
}

._infoBoxText_1x6wi_260 {
    font-size: 12px;
    font-weight: 400;
    line-height: 19.5px;
    color: var(--text-accent);
    margin: 0;
}

/* Footer */
._footer_1x6wi_269 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

._closeBtn_1x6wi_277 {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    background: var(--surface-card);
    border: 0.667px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--slate-900);
    cursor: pointer;
    transition: background 0.2s;
}

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

._downloadBtn_1x6wi_298 {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--action-primary-text);
    cursor: pointer;
    transition: opacity 0.2s;
}

._downloadBtn_1x6wi_298:hover {
    opacity: 0.9;
}

._downloadBtn_1x6wi_298:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading state */
._loadingState_1x6wi_324 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 24px;
    color: var(--text-tertiary);
    font-size: 14px;
}

._loadingDots_1x6wi_334 {
    display: inline-flex;
    gap: 3px;
    align-items: center;
}

._loadingDots_1x6wi_334 span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    animation: _dot-bounce_1x6wi_1 1s infinite;
}

._loadingDots_1x6wi_334 span:nth-child(2) {
    animation-delay: 0.2s;
}

._loadingDots_1x6wi_334 span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes _dot-bounce_1x6wi_1 {

    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

/* Region Comparison Grid */
._compareGrid_1x6wi_372 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

._compareColumn_1x6wi_378 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 32px;
    border-right: 1px solid var(--slate-100, var(--slate-100));
}

._compareColumn_1x6wi_378:last-child {
    padding-right: 0;
    border-right: none;
    padding-left: 0;
}

._compareColumn_1x6wi_378 ._downloadBtn_1x6wi_298 {
    margin-top: auto;
}

._compareColumnHeader_1x6wi_396 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--slate-200, var(--border-subtle));
    margin-bottom: 4px;
}

._compareRegion_1x6wi_405 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

._bestBadge_1x6wi_411 {
    background: var(--success-600, var(--success-600));
    color: var(--action-primary-text);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
}
/* ArchitectureDiagramModal.module.css */

._overlay_nac2i_3 {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

._modal_nac2i_13 {
    background: var(--surface-card);
    border: 0.667px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    width: 683px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

._closeButton_nac2i_28 {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 16px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

._closeButton_nac2i_28:hover {
    opacity: 1;
}

/* Header */
._header_nac2i_49 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

._headerIcon_nac2i_56 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
}

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

._headerText_nac2i_71 {
    display: flex;
    flex-direction: column;
}

._headerTitle_nac2i_76 {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    color: var(--slate-900);
    margin: 0;
}

._headerSubtitle_nac2i_84 {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--text-tertiary);
    margin: 0;
}

/* Body */
._body_nac2i_93 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
}

/* Info box (Sobre o Diagrama) */
._infoBox_nac2i_101 {
    padding: 12px;
    border-radius: 8px;
    border: 0.667px solid;
}

._infoBoxHeader_nac2i_107 {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

._infoBoxIcon_nac2i_113 {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

._infoBoxIcon_nac2i_113 svg,
._infoBoxIcon_nac2i_113 path,
._infoBoxIcon_nac2i_113 circle {
    width: 16px;
    height: 16px;
}

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

._infoBoxTitle_nac2i_134 {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    margin: 0;
}

._infoBoxDesc_nac2i_141 {
    font-size: 12px;
    font-weight: 400;
    line-height: 19.5px;
    margin: 0;
}

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

._infoBoxListItem_nac2i_157 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

._infoBoxBullet_nac2i_166 {
    font-size: 12px;
    line-height: 16px;
    flex-shrink: 0;
}

/* Two-column cards */
._twoColGrid_nac2i_173 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

._metaCard_nac2i_179 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: var(--surface-subtle);
    border: 0.667px solid var(--border-subtle);
    border-radius: 8px;
}

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

._metaCardIcon_nac2i_195 {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

._metaCardIcon_nac2i_195 path,
._metaCardIcon_nac2i_195 circle,
._metaCardIcon_nac2i_195 rect {
    stroke: var(--slate-900);
}

._metaCardTitle_nac2i_207 {
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: var(--slate-900);
    margin: 0;
}

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

._metaCardListItem_nac2i_224 {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--slate-700);
}

/* Diagram image container */
._diagramContainer_nac2i_232 {
    border: 2px solid;
    border-radius: 8px;
    padding: 10px;
    background: var(--surface-card);
}

._diagramImage_nac2i_239 {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

._diagramPlaceholder_nac2i_247 {
    width: 100%;
    height: 300px;
    background: var(--surface-subtle);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--text-disabled);
    font-size: 14px;
}

/* Observation box */
._observationBox_nac2i_262 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: var(--blue-50);
    border: 0.667px solid var(--blue-200);
    border-radius: 8px;
}

._observationHeader_nac2i_272 {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

._observationIcon_nac2i_278 {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

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

._observationTitle_nac2i_291 {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: var(--blue-800);
    margin: 0;
}

._observationText_nac2i_299 {
    font-size: 12px;
    font-weight: 400;
    line-height: 19.5px;
    color: var(--text-accent);
    margin: 0;
}

/* Footer */
._footer_nac2i_308 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

._closeBtn_nac2i_316 {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    background: var(--surface-card);
    border: 0.667px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--slate-900);
    cursor: pointer;
    transition: background 0.2s;
}

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

._downloadBtn_nac2i_337 {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--action-primary-text);
    cursor: pointer;
    transition: opacity 0.2s;
}

._downloadBtn_nac2i_337:hover {
    opacity: 0.9;
}

@keyframes _spin_nac2i_363 {
    to {
        transform: rotate(360deg);
    }
}

._spinner_nac2i_363 {
    animation: _spin_nac2i_363 1s linear infinite;
}

/* ── Image Viewer (fullscreen) ── */

._viewerOverlay_nac2i_369 {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

._viewerImageWrapper_nac2i_379 {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
}

._viewerImage_nac2i_379 {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transition: transform 0.05s linear;
    pointer-events: none;
}

._viewerCloseBtn_nac2i_397 {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 14px;
    color: var(--action-primary-text);
    cursor: pointer;
    transition: background 0.2s;
}

._viewerCloseBtn_nac2i_397:hover {
    background: rgba(255, 255, 255, 0.25);
}

._viewerControls_nac2i_420 {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px 10px;
}

._viewerControlBtn_nac2i_435 {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--action-primary-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

._viewerControlBtn_nac2i_435:hover {
    background: rgba(255, 255, 255, 0.3);
}

._viewerZoomLabel_nac2i_455 {
    font-size: 13px;
    color: var(--action-primary-text);
    min-width: 44px;
    text-align: center;
}

/* Make thumbnail clickable */
._diagramImage_nac2i_239 {
    cursor: zoom-in;
}
/* DetailedSectionEditor.module.css */

._editor_1a0po_3 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
}

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

._field_1a0po_19 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._fieldLabel_1a0po_25 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25rem;
}

._textarea_1a0po_32 {
  width: 100%;
  min-height: 8rem;
  padding: 0.625rem 0.75rem;
  background: var(--surface-subtle);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--slate-700);
  line-height: 1.375rem;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out;
}

._textarea_1a0po_32:focus {
  border-color: var(--blue-600);
  background: var(--surface-page);
}

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

._textarea_1a0po_32::placeholder {
  color: var(--text-tertiary);
}

._input_1a0po_62 {
  width: 100%;
  height: 2.25rem;
  padding: 0 0.75rem;
  background: var(--surface-subtle);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--slate-700);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out;
}

._input_1a0po_62:focus {
  border-color: var(--blue-600);
  background: var(--surface-page);
}

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

._input_1a0po_62::placeholder {
  color: var(--text-tertiary);
}

._saveError_1a0po_90 {
  font-size: 0.875rem;
  color: var(--error-500);
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: rgba(239, 68, 68, 0.06);
  border: 0.0625rem solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
}

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

._wiggleWarning_1a0po_107 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--warning-700);
  background: var(--warning-50);
  border: 0.0625rem solid var(--warning-500);
  border-radius: 8px;
  padding: 0.375rem 0.625rem;
  margin-right: auto;
  white-space: nowrap;
  animation: _shake_1a0po_1 0.4s ease-in-out;
}

@keyframes _shake_1a0po_1 {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-3px);
  }

  40% {
    transform: translateX(3px);
  }

  60% {
    transform: translateX(-3px);
  }

  80% {
    transform: translateX(3px);
  }
}

._saveButton_1a0po_146 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 1rem;
  background: var(--blue-600);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--surface-page);
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._saveButton_1a0po_146:hover:not(:disabled) {
  opacity: 0.9;
}

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

._saveButton_1a0po_146:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

._cancelButton_1a0po_175 {
  display: flex;
  align-items: center;
  height: 2.25rem;
  padding: 0 1rem;
  background: var(--surface-page);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--slate-600);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

._cancelButton_1a0po_175:hover:not(:disabled) {
  background: var(--surface-subtle);
}

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

._cancelButton_1a0po_175:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

/* ─── Rotating Loading Phrases ─── */

._rotatingPhrasesWrapper_103vw_3 {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    min-width: 0;
}

._rotatingPhrase_103vw_3 {
    display: inline-block;
    transition: opacity 0.4s ease, transform 0.4s ease;
    white-space: nowrap;
    color: var(--indigo-800);
}

._fadeIn_103vw_17 {
    opacity: 1;
    transform: translateY(0);
}

._fadeOut_103vw_22 {
    opacity: 0;
    transform: translateY(6px);
}

._fadeEnter_103vw_27 {
    opacity: 0;
    transform: translateY(-6px);
}
._wrapper_iyxhg_1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
}

._badge_iyxhg_9 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(109, 40, 217, 0.1);
  color: var(--indigo-700);
  align-self: flex-start;
  margin-top: 6px;
}

._toggle_iyxhg_23 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border: none;
  border-radius: 8px;
  background: rgba(109, 40, 217, 0.1);
  color: var(--indigo-700);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

._toggle_iyxhg_23:hover {
  background: rgba(109, 40, 217, 0.16);
}

._chevron_iyxhg_44 {
  transition: transform 0.2s;
}

._chevronOpen_iyxhg_48 {
  transform: rotate(180deg);
}

._decisions_iyxhg_52 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

._decision_iyxhg_52 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

._decisionContext_iyxhg_68 {
  font-size: 12px;
  color: var(--text-tertiary);
}

._decisionTitle_iyxhg_73 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

._decisionReason_iyxhg_79 {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

._decisionReasonIcon_iyxhg_88 {
  color: var(--indigo-700);
  flex-shrink: 0;
  margin-top: 3px;
}

._decisionSource_iyxhg_94 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(109, 40, 217, 0.25);
  border-radius: 8px;
  background: rgba(109, 40, 217, 0.08);
  font-size: 12px;
  color: var(--indigo-700);
  margin-top: 2px;
}
/* StrategyCardEditor.module.css */

._editor_1lnts_3 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
}

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

._field_1lnts_19 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._fieldLabel_1lnts_25 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25rem;
}

._input_1lnts_32 {
  width: 100%;
  height: 2.25rem;
  padding: 0 0.75rem;
  background: var(--surface-subtle);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--slate-700);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out;
}

._input_1lnts_32:focus {
  border-color: var(--blue-600);
  background: var(--surface-page);
}

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

._select_1lnts_56 {
  width: 100%;
  height: 2.25rem;
  padding: 0 0.75rem;
  background: var(--surface-subtle);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--slate-700);
  outline: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.2s ease-in-out;
}

._select_1lnts_56:focus {
  border-color: var(--blue-600);
  background: var(--surface-page);
}

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

._textarea_1lnts_81 {
  width: 100%;
  min-height: 7rem;
  padding: 0.625rem 0.75rem;
  background: var(--surface-subtle);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--slate-700);
  line-height: 1.375rem;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out;
}

._textarea_1lnts_81:focus {
  border-color: var(--blue-600);
  background: var(--surface-page);
}

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

._saveError_1lnts_107 {
  font-size: 0.875rem;
  color: var(--error-500);
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: rgba(239, 68, 68, 0.06);
  border: 0.0625rem solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
}

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

._saveButton_1lnts_123 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 1rem;
  background: var(--blue-600);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--surface-page);
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

._saveButton_1lnts_123:hover:not(:disabled) {
  opacity: 0.9;
}

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

._saveButton_1lnts_123:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

._cancelButton_1lnts_152 {
  display: flex;
  align-items: center;
  height: 2.25rem;
  padding: 0 1rem;
  background: var(--surface-page);
  border: 0.0625rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--slate-600);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

._cancelButton_1lnts_152:hover:not(:disabled) {
  background: var(--surface-subtle);
}

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

._cancelButton_1lnts_152:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

._wiggleWarning_1lnts_180 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--warning-700);
  background: var(--warning-50);
  border: 0.0625rem solid var(--warning-500);
  border-radius: 8px;
  padding: 0.375rem 0.625rem;
  white-space: nowrap;
  animation: _shake_1lnts_1 0.4s ease-in-out;
}

@keyframes _shake_1lnts_1 {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

._spinnerIcon_1lnts_202 {
  animation: _spin_1lnts_202 1s linear infinite;
}

@keyframes _spin_1lnts_202 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

._rail_qdql1_1 {
  width: 192px;
  flex-shrink: 0;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface-card);
  /* Fixed rail: full height, never scrolls */
  overflow: hidden;
}

._railTitle_qdql1_13 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 6px;
}

._stages_qdql1_21 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

._stageButton_qdql1_27 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  width: 100%;
  font-family: inherit;
  transition: background 0.15s;
}

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

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

._stageButton_qdql1_27:disabled:hover {
  background: transparent;
}

._stageDot_qdql1_56 {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--border-default);
  background: var(--surface-card);
  color: var(--text-tertiary);
}

._stageDotActive_qdql1_70 {
  /* ux hardcoded #2563EB -> primary/action token (resolves to --blue-600 in light,
     adapts in dark). Alpha fills built via color-mix to avoid any raw rgba hex. */
  border-color: var(--action-primary-bg);
  background: color-mix(in srgb, var(--action-primary-bg) 8%, transparent);
  color: var(--action-primary-bg);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--action-primary-bg) 12%, transparent);
}

._stageDotNeedsYou_qdql1_79 {
  /* ux hardcoded oklch amber -> --warning-* tokens */
  border-color: var(--warning-500);
  background: var(--warning-600);
  color: var(--text-inverse);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--warning-500) 25%, transparent);
}

._stageDotDone_qdql1_87 {
  border-color: var(--success-500);
  background: var(--success-500);
  color: var(--text-inverse);
}

._stageName_qdql1_93 {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-tertiary);
}

._stageNameActive_qdql1_101 {
  color: var(--text-primary);
}

._stageStatus_qdql1_105 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-disabled);
  white-space: nowrap;
}

._stageStatusNeedsYou_qdql1_117 {
  /* ux hardcoded oklch amber label -> --warning-* token */
  color: var(--warning-700);
}

._stageStatusBlocked_qdql1_122 {
  color: var(--text-disabled);
}

._stageLine_qdql1_126 {
  width: 2px;
  height: 14px;
  margin: 3px 0;
  border-radius: 2px;
  background: var(--border-default);
}

._stageLineDone_qdql1_134 {
  background: var(--success-500);
}

._stageSpinner_qdql1_138 {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  /* ux hardcoded rgba(37,99,235,*) -> primary/action token via color-mix */
  border: 1.5px solid color-mix(in srgb, var(--action-primary-bg) 20%, transparent);
  border-top-color: var(--action-primary-bg);
  animation: _orchSpin_qdql1_1 0.7s linear infinite;
}

@keyframes _orchSpin_qdql1_1 {
  to { transform: rotate(360deg); }
}

._viewExecutionBtn_qdql1_153 {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 7px 8px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-tertiary);
  cursor: pointer;
  margin-top: auto;
  text-align: left;
  transition: background 0.15s;
}

._viewExecutionBtn_qdql1_153:hover {
  background: var(--surface-subtle);
  color: var(--text-secondary);
}

._stageHint_qdql1_177 {
  font-size: 11px;
  line-height: 1.3;
  color: var(--text-tertiary);
  text-align: center;
}

._railHistory_qdql1_184 {
  min-height: 0;
  margin-top: auto;
  overflow-y: auto;
}

._railHistory_qdql1_184 + ._viewExecutionBtn_qdql1_153 {
  margin-top: 8px;
}
/* OrchestratorStageView.module.css
   Layout ported from origin/ux (.orchestratorLayout / .orchestratorPanel):
   a fixed 148px stepper rail + a single internally-scrolling content panel.
   The advancing/stalled card styles are ported from the old OrchestratorTab
   (OrchestratorTab.module.css) — their colors were ALREADY theme tokens, so
   no translation was required; they are copied verbatim here so the relocated
   global stall/advancing logic keeps its exact visual treatment. */

._orchestratorLayout_tylz0_2 {
  display: flex;
  align-items: stretch;
  gap: 0;
  /* Negate cardContent padding so the rail sits flush and spans full height */
  margin: -1.5rem -1.5rem 0 -1.5rem;
  min-height: 0;
  flex: 1;
  /* Rail stays fixed; only the panel scrolls internally */
  overflow: hidden;
}

._orchestratorPanel_tylz0_2 {
  flex: 1;
  min-width: 0;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 1px solid var(--border-subtle);
  /* Only the panel scrolls */
  overflow-y: auto;
  min-height: 0;
}

._orchestratorStageContent_tylz0_34 {
  min-width: 0;
}

/* ── Advancing indicator (post-answer, waiting for the next step) ──
   Ported verbatim from OrchestratorTab.module.css — colors already tokenized. */
._advancingCard_tylz0_40 {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--indigo-50);
  border: 1.5px solid var(--indigo-400);
  border-radius: 8px;
  padding: 14px;
}

._advancingSpinner_tylz0_50 {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--indigo-200);
  border-top-color: var(--indigo-600);
  flex-shrink: 0;
  animation: _advancingSpin_tylz0_50 0.8s linear infinite;
}

@keyframes _advancingSpin_tylz0_50 {
  to { transform: rotate(360deg); }
}

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

._advancingTitle_tylz0_70 {
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo-700);
}

._advancingDesc_tylz0_76 {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ── Stalled indicator (advancing timeout elapsed with no progress) ──
   Ported verbatim from OrchestratorTab.module.css — colors already tokenized. */
._stalledCard_tylz0_83 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: var(--warning-50);
  border: 1.5px solid var(--warning-500);
  border-radius: 8px;
  padding: 14px;
}

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

._stalledTitle_tylz0_100 {
  font-size: 13px;
  font-weight: 600;
  color: var(--warning-700);
}

._stalledDesc_tylz0_106 {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ── Stage bar: sticky title, status and next-step action ── */
._stageBar_tylz0_112 {
  position: sticky;
  top: -1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -1.5rem -1.5rem 0;
  padding: 14px 24px;
  background: var(--surface-card);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

._stageBarText_tylz0_127 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

._stageBarTitle_tylz0_134 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

._stageBarActions_tylz0_140 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

._approvalPill_tylz0_147 {
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--info-600);
  background: var(--info-50);
  border-radius: 8px;
}

._nextStepRun_tylz0_156,
._nextStepGoto_tylz0_157 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

._nextStepRun_tylz0_156 {
  border: 1px solid var(--indigo-700);
  background: var(--indigo-700);
  color: var(--action-primary-text);
}

._nextStepRun_tylz0_156:hover {
  opacity: 0.9;
}

._nextStepGoto_tylz0_157 {
  border: 1px solid var(--success-700);
  background: var(--success-700);
  color: var(--action-primary-text);
}

._nextStepGoto_tylz0_157:hover {
  background: var(--success-600);
  border-color: var(--success-600);
}

._nextStepGoto_tylz0_157:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

._nextStepIcon_tylz0_196 {
  font-size: 18px;
}

._stageBarSlot_tylz0_200 {
  display: flex;
  align-items: center;
  gap: 12px;
}

._stageDescription_tylz0_206 {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Every control in the stage bar shares one height, padding and type size */
._stageBarActions_tylz0_140 > button,
._stageBarSlot_tylz0_200 > button,
._approvalPill_tylz0_147 {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.25rem;
  min-width: 11rem;
  padding: 0 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  border-radius: 8px;
}

._stageBarActions_tylz0_140 > button .material-symbols-outlined,
._stageBarSlot_tylz0_200 > button .material-symbols-outlined {
  font-size: 1.125rem !important;
}
/* WorkloadDetailsScreen.module.css */

._workloadDetailsScreen_hxtu9_3 {
  display: flex;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, var(--surface-subtle), var(--surface-page));
  overflow: hidden;
}

._mainContent_hxtu9_11 {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

._contentWrapper_hxtu9_18 {
  flex: 1;
  background: var(--surface-page);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

._content_hxtu9_18 {
  flex: 1;
  padding: 0 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Main white card */
._mainCard_hxtu9_35 {
  display: flex;
  flex-direction: column;
  background: white;
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0rem 0.0625rem 0.1875rem 0rem rgba(0, 0, 0, 0.1), 0rem 0.0625rem 0.125rem -0.0625rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

html.dark ._mainCard_hxtu9_35 {
  background: var(--surface-card);
}

/* Entity Header (WORKLOAD - Nome) */
._entityHeader_hxtu9_52 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 3rem;
  padding: 0 1.5rem;
  background: var(--surface-card);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

._entityIcon_hxtu9_63 {
  font-size: 1.25rem;
  line-height: 1;
}

._pulsingDot_hxtu9_68 {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--success-500);
  animation: _pulseGreen_hxtu9_1 2s ease-in-out infinite;
  margin-left: -0.375rem;
}

@keyframes _pulseGreen_hxtu9_1 {

  0%,
  100% {
    background: var(--success-500);
    opacity: 1;
  }

  50% {
    background: var(--success-600);
    opacity: 0.5;
  }
}

._entityLabel_hxtu9_91 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-accent-alt);
  letter-spacing: 0.0375rem;
  text-transform: uppercase;
  line-height: 1.25rem;
  flex: 1;
  position: relative;
}

._entityIdTooltip_hxtu9_102 {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  background: var(--slate-800);
  color: var(--border-subtle);
  font-family: var(--font-family-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.025rem;
  text-transform: none;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 100;
  cursor: pointer;
  user-select: all;
}

._entityIdTooltip_hxtu9_102::before {
  content: '';
  position: absolute;
  left: 24px;
  top: -12px;
  border: 6px solid transparent;
  border-bottom-color: var(--slate-800);
}

._entityIdTooltip_hxtu9_102:active {
  background: var(--slate-700);
}

._entityLabel_hxtu9_91:hover ._entityIdTooltip_hxtu9_102 {
  opacity: 1;
  pointer-events: auto;
}

._entityId_hxtu9_102 {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  letter-spacing: 0.025rem;
  cursor: help;
  transition: all 0.2s ease;
}

._entityId_hxtu9_102:hover {
  background: rgba(0, 0, 0, 0.25);
  color: var(--action-primary-text);
}

._tabsContainer_hxtu9_160 {
  border-bottom: 0.0417rem solid var(--border-subtle);
  flex-shrink: 0;
}

._cardContent_hxtu9_165 {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 0.25rem 1.5rem;
  overflow-y: auto;
  /* CRITICAL: Scroll for all tabs EXCEPT Details */
  flex: 1;
  /* CRITICAL: Takes all available space */
  min-height: 0;
  /* CRITICAL: Allows flex child to shrink and grow */
}

/* Remove scroll and padding when Details tab is active (has fixed info cards and internal card scroll) */
._cardContent_hxtu9_165._cardContentWithFixedFooter_hxtu9_178 {
  overflow: hidden;
  /* No scroll on Details tab - cards handle their own scroll */
  padding-bottom: 0;
  /* No padding needed, cards fill available space */
}

/* Tab Placeholder */
._tabPlaceholder_hxtu9_186 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18.75rem;
  background: linear-gradient(to bottom, var(--surface-subtle), var(--surface-page));
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
}

._tabPlaceholder_hxtu9_186 p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin: 0;
}

/* Responsive */
@media (max-width: 48rem) {
  ._content_hxtu9_18 {
    padding: 1rem;
  }
}

/* Loading and Error States */
._loadingState_hxtu9_210,
._errorState_hxtu9_211 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: var(--border-subtle);
}

._loadingState_hxtu9_210 p,
._errorState_hxtu9_211 p {
  font-size: 1rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

._errorState_hxtu9_211 p {
  color: var(--error-500);
}

/* Error state additional styles */
._errorState_hxtu9_211 h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--error-500);
  margin-bottom: 0.75rem;
}

._errorActions_hxtu9_239 {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

._retryButton_hxtu9_245,
._logoutButton_hxtu9_246 {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

._retryButton_hxtu9_245 {
  background: var(--action-primary-bg);
  color: var(--action-primary-text);
}

._retryButton_hxtu9_245:hover {
  background: var(--blue-700);
}

._logoutButton_hxtu9_246 {
  background: var(--error-500);
  color: var(--action-primary-text);
}

._logoutButton_hxtu9_246:hover {
  background: var(--error-600);
}

/* Breadcrumb Container with Delete Button */
._breadcrumbContainer_hxtu9_275 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  margin-top: 0.375rem;
  margin-bottom: 0.25rem;
  flex-shrink: 0;
}

/* Delete Button */
._deleteButton_hxtu9_286 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: 2rem;
  padding: 0 0.75rem;
  background: var(--surface-card);
  border: 0.0417rem solid var(--error-500);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--error-500);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._deleteButton_hxtu9_286:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Delete Confirmation */
._deleteConfirmation_hxtu9_307 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface-card);
  border: 0.0417rem solid var(--error-500);
  border-radius: 8px;
}

._confirmationText_hxtu9_317 {
  font-size: 0.875rem;
  color: var(--error-500);
  font-weight: 500;
}

._confirmationActions_hxtu9_323 {
  display: flex;
  gap: 0.5rem;
}

._confirmYes_hxtu9_328,
._confirmNo_hxtu9_329 {
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: none;
}

._confirmYes_hxtu9_328 {
  background: var(--error-500);
  color: var(--action-primary-text);
}

._confirmYes_hxtu9_328:hover {
  background: var(--error-600);
}

._confirmNo_hxtu9_329 {
  background: var(--slate-100);
  color: var(--text-tertiary);
}

._confirmNo_hxtu9_329:hover {
  background: var(--border-subtle);
}

/* Skeleton Loading Animation */
._skeleton_hxtu9_358 {
  background: linear-gradient(90deg, var(--border-subtle) 25%, var(--slate-100) 50%, var(--border-subtle) 75%);
  background-size: 200% 100%;
  animation: _shimmer_hxtu9_1 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes _shimmer_hxtu9_1 {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}


/* --- History Drawer ------------------------------------------------------- */
._historyOverlay_hxtu9_377 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  animation: _fadeIn_hxtu9_1 0.2s ease;
}

@keyframes _fadeIn_hxtu9_1 {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

._historyDrawer_hxtu9_400 {
  width: 30rem;
  max-width: 90vw;
  height: 100%;
  background: var(--surface-page);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  animation: _slideIn_hxtu9_1 0.25s ease;
}

@keyframes _slideIn_hxtu9_1 {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

._historyDrawerHeader_hxtu9_421 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

._historyDrawerTitle_hxtu9_430 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0;
}

._historyDrawerClose_hxtu9_437 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-tertiary);
  transition: background 0.15s;
}

._historyDrawerClose_hxtu9_437:hover {
  background: var(--slate-100);
}

._historyDrawerContent_hxtu9_455 {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

._historyFilter_hxtu9_464 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._historyFilterLabel_hxtu9_470 {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

._historyDateInput_hxtu9_482 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-page);
  flex: 1;
}

._historyDateField_hxtu9_493 {
  border: none;
  outline: none;
  font-size: 0.8125rem;
  color: var(--text-primary);
  background: transparent;
  width: 100%;
}

._historyDateField_hxtu9_493::placeholder {
  color: var(--text-disabled);
}

._historyDateSeparator_hxtu9_506 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

._historyDayGroup_hxtu9_512 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

._historyItem_hxtu9_527 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

._historyAvatar_hxtu9_539 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--action-primary-text);
  font-size: 0.625rem;
  font-weight: 700;
  flex-shrink: 0;
}

._historyResource_hxtu9_552 {
  color: var(--action-primary-bg);
  text-decoration: underline;
}

._historyItemContent_hxtu9_557 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
  min-width: 0;
}

._historyItemText_hxtu9_565 {
  font-size: 0.8125rem;
  color: var(--slate-900);
  line-height: 1.4;
}

._historyItemTime_hxtu9_571 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  white-space: nowrap;
  flex-shrink: 0;
}

._historyPagination_hxtu9_578 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

._historyPaginationInfo_hxtu9_587 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._historyPaginationControls_hxtu9_592 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

._historyPaginationBtn_hxtu9_598 {
  background: none;
  border: none;
  font-size: 0.8125rem;
  color: var(--action-primary-bg);
  cursor: pointer;
  padding: 0;
}

._historyPaginationBtn_hxtu9_598:disabled {
  color: var(--text-disabled);
  cursor: not-allowed;
}

._historyPaginationPage_hxtu9_612 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.slide-chrome {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ===== Atmosphere ===== */
.slide-chrome-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 120% at 50% 90%, var(--slide-gradient-accent-1) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, var(--slide-gradient-accent-2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, var(--slide-gradient-accent-3) 0%, transparent 50%);
  pointer-events: none;
}

/* ===== Content ===== */
.chrome-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* ===== Page Counter ===== */
.chrome-page-counter {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  z-index: 2;
  font-size: 14px;
  font-weight: 600;
  color: var(--slide-text-secondary);
  opacity: 0.7;
}
/* ===== Slide Container ===== */
.slide.why-we-are-here {
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--slide-text-primary);
  font-family: var(--slide-font-family);
  display: flex;
  flex-direction: column;
  padding: 2rem 6rem;
  box-sizing: border-box;
  overflow: hidden;
}

/* ===== Header ===== */
.slide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.slide-header-top {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.slide-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slide-highlight);
}

.client-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--slide-text-primary);
}

/* ===== Title Section ===== */
.slide-title-section {
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.slide-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}

.slide-subtitle {
  font-size: 1.3rem;
  color: var(--slide-text-secondary);
  margin: 0;
}

/* ===== Strategic Objectives Section ===== */
.slide1-objectives-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.slide1-section-divider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
  flex-shrink: 0;
}

.slide1-section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slide-highlight);
  flex-shrink: 0;
}

.slide1-section-label {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
  white-space: nowrap;
}

.slide1-section-rule {
  flex: 1;
  height: 1px;
  background: var(--slide-border);
}

/* ===== 3x2 Grid ===== */
.slide1-objectives-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3rem;
  flex: 1;
  min-height: 0;
}

.slide1-objective-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 3px solid var(--slide-border);
  border-top: 3px solid var(--slide-highlight);
  border-radius: 1rem;
  padding: 1.5rem 2.5rem;
  box-shadow: var(--slide-card-shadow);
  text-align: left;
  min-height: 0;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.slide1-objective-card:hover {
  border-color: var(--slide-highlight);
  transform: translateY(-2px);
  box-shadow: var(--slide-card-hover-shadow);
}

.slide1-objective-number {
  position: absolute;
  top: 2rem;
  left: 2.5rem;
  font-size: 6rem;
  font-weight: 800;
  color: var(--slide-highlight);
  line-height: 1;
  opacity: 0.15;
  pointer-events: none;
}

.slide1-objective-goal {
  font-weight: 700;
  color: var(--slide-text-primary);
  line-height: 1.3;
  display: block;
  width: 100%;
  text-align: left;
}

/* ===== Footer Card ===== */
.slide1-footer-card {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  width: 70%;
  align-self: center;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slide-border);
  border-left: 4px solid var(--slide-highlight);
  border-radius: 0.75rem;
  box-shadow: var(--slide-card-shadow);
}

.slide1-footer-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slide-text-primary);
  line-height: 1.4;
  text-align: center;
}

/* ===== Objective Modal ===== */
.slide1-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 200;
}

.slide1-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 80%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-top: 4px solid var(--slide-highlight);
  border-radius: 1.25rem;
  padding: 2.5rem 3rem;
  z-index: 201;
  text-align: center;
}

.slide1-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.slide1-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.slide1-modal-icon {
  margin-bottom: 1.25rem;
}

.slide1-modal-icon-svg.slide-icon svg {
  width: 3rem;
  height: 3rem;
}

.slide1-modal-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.slide1-modal-section {
  text-align: left;
  margin-bottom: 1.25rem;
}

.slide1-modal-text {
  font-size: 2.1rem;
  line-height: 1.5;
  color: var(--slide-text-secondary);
  margin: 0;
}


/* ===== Connector Lines ===== */
.slide1-connector-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
.side-panel-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.side-panel-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.side-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(950px, 90%);
  background: var(--slide-bg-secondary);
  border-left: 1px solid var(--slide-border);
  z-index: 101;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.side-panel.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.side-panel.side-panel-left {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--slide-border);
  transform: translateX(-60px);
}

.side-panel.side-panel-left.open {
  transform: translateX(0);
}


.side-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--slide-border);
  flex-shrink: 0;
}

.side-panel-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slide-text-primary);
  margin: 0;
}

.side-panel-close {
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: color 0.2s, background 0.2s;
}

.side-panel-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.side-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Cards inside panel reuse item-card styles from WhyWeAreHereSlide.css */
.side-panel-content .item-card {
  flex: unset;
  min-height: 7rem;
}

.side-panel-content .item-card-content {
  padding-right: 7rem;
}
.detail-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 200;
}

.detail-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.detail-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(1000px, 85%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1.25rem;
  padding: 3rem 3.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 201;
  text-align: center;
}

.detail-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.detail-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.detail-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.detail-modal-icon-area {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.detail-modal-icon-area .slide-icon svg {
  width: 3.5rem;
  height: 3.5rem;
}

.detail-modal-icon-area .opportunity-icon {
  color: var(--slide-highlight);
}

.detail-modal-icon-area .risk-icon {
  color: var(--slide-danger);
}

.detail-modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.detail-modal-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.detail-badge {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 0.4rem;
}

.detail-badge.impact-critical {
  background: color-mix(in srgb, var(--slide-danger) 15%, transparent);
  color: var(--slide-danger);
}
.detail-badge.impact-high {
  background: color-mix(in srgb, var(--slide-high) 15%, transparent);
  color: var(--slide-high-text);
}
.detail-badge.impact-medium {
  background: color-mix(in srgb, var(--slide-warning) 15%, transparent);
  color: var(--slide-warning);
}
.detail-badge.impact-low {
  background: color-mix(in srgb, var(--slide-success) 15%, transparent);
  color: var(--slide-success);
}

.detail-badge.severity-critical {
  background: color-mix(in srgb, var(--slide-danger) 15%, transparent);
  color: var(--slide-danger);
}
.detail-badge.severity-high {
  background: color-mix(in srgb, var(--slide-high) 15%, transparent);
  color: var(--slide-high-text);
}
.detail-badge.severity-medium {
  background: color-mix(in srgb, var(--slide-warning) 15%, transparent);
  color: var(--slide-warning);
}
.detail-badge.severity-low {
  background: color-mix(in srgb, var(--slide-info) 15%, transparent);
  color: var(--slide-info);
}

.detail-badge.savings {
  background: color-mix(in srgb, var(--slide-success) 10%, transparent);
  color: var(--slide-success);
}

.detail-badge.cost {
  background: color-mix(in srgb, var(--slide-danger) 15%, transparent);
  color: var(--slide-danger);
}

.detail-badge.timeline {
  background: var(--slide-border);
  color: var(--slide-text-secondary);
}

.detail-modal-description {
  font-size: 2rem;
  line-height: 1.6;
  color: var(--slide-text-secondary);
  margin: 0;
}
/* ===== Environment Slide ===== */
.environment-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--slide-font-family);
  color: var(--slide-text-primary);
  padding: 2rem 3rem;
  box-sizing: border-box;
  overflow: hidden;
}

/* ===== Header ===== */
.env-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  height: 6rem;
  flex-shrink: 0;
}

.env-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.env-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slide-highlight);
}

.env-client-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--slide-text-primary);
}

/* ===== Title ===== */
.env-title-section {
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.env-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}

.env-subtitle {
  font-size: 1.3rem;
  color: var(--slide-text-secondary);
  margin: 0;
}

/* ===== Metrics Row ===== */
.env-metrics-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.env-metric-card {
  flex: 1;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slide-border);
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  box-shadow: var(--slide-card-shadow);
}

.env-metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--slide-highlight);
  line-height: 1;
}

.env-metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slide-text-secondary);
}

/* ===== Section Divider ===== */
.env-section-divider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.env-section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slide-highlight);
  flex-shrink: 0;
}

.env-section-dot-success {
  background: var(--slide-success);
}

.env-section-label {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
  white-space: nowrap;
}

.env-section-rule {
  flex: 1;
  height: 1px;
  background: var(--slide-border);
}

/* ===== Opportunities & Risks Two-Column Layout ===== */
.env-middle {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 1.25rem;
}

.env-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  flex: 1;
  min-height: 0;
}

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

.env-column-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.env-column-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
}

.env-column-icon {
  font-size: 1rem;
  color: var(--slide-success);
}

.env-column-icon.danger {
  color: var(--slide-danger);
}

/* ===== Item List ===== */
.env-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  min-height: 0;
}

/* ===== Item Card ===== */
.env-item-card {
  position: relative;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slide-border);
  border-radius: 0.75rem;
  padding: 0;
  display: flex;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  box-shadow: var(--slide-card-shadow);
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
}

.env-item-card:hover {
  border-color: var(--slide-highlight);
  transform: translateY(-2px);
  box-shadow: var(--slide-card-hover-shadow);
}

.env-risk-card:hover {
  border-color: var(--slide-danger);
  box-shadow: var(--slide-card-hover-shadow-danger);
}

.env-item-card-icon-area {
  flex-shrink: 0;
  width: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--slide-highlight) 6%, transparent);
  border-right: 1px solid var(--slide-border);
  border-radius: 0.75rem 0 0 0.75rem;
}

.env-item-card-icon-area.env-risk-icon-area {
  background: color-mix(in srgb, var(--slide-danger) 6%, transparent);
}

.env-item-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
  padding: 1rem 6rem 1rem 1.5rem;
}

.env-item-title {
  font-weight: 700;
  line-height: 1.25;
  color: var(--slide-text-primary);
}

.env-item-card-meta {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== Item Card (shared with SidePanel) ===== */
.item-card {
  position: relative;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slide-border);
  border-radius: 1rem;
  padding: 0;
  display: flex;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  box-shadow: var(--slide-card-shadow);
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
}

.item-card:hover {
  border-color: var(--slide-highlight);
  transform: translateY(-2px);
  box-shadow: var(--slide-card-hover-shadow);
}

.risk-card:hover {
  border-color: var(--slide-danger);
  box-shadow: var(--slide-card-hover-shadow-danger);
}

.item-card-icon-area {
  flex-shrink: 0;
  width: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--slide-highlight) 6%, transparent);
  border-right: 1px solid var(--slide-border);
  border-radius: 1rem 0 0 1rem;
}

.item-card-icon-area.risk-icon-area {
  background: color-mix(in srgb, var(--slide-danger) 6%, transparent);
}

.item-card-icon-area .slide-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-card-icon-area .slide-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.item-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
  padding: 1.5rem 5rem 1.5rem 2rem;
}

.item-title {
  font-weight: 700;
  line-height: 1.25;
  color: var(--slide-text-primary);
}

.item-card-meta {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== Badges ===== */
.impact-badge,
.severity-badge {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem;
  border-radius: 0.35rem;
}

.impact-badge.impact-critical {
  background: color-mix(in srgb, var(--slide-danger) 15%, transparent);
  color: var(--slide-danger);
}

.impact-badge.impact-high {
  background: color-mix(in srgb, var(--slide-high) 15%, transparent);
  color: var(--slide-high-text);
}

.impact-badge.impact-medium {
  background: color-mix(in srgb, var(--slide-warning) 15%, transparent);
  color: var(--slide-warning);
}

.impact-badge.impact-low {
  background: color-mix(in srgb, var(--slide-success) 15%, transparent);
  color: var(--slide-success);
}

.severity-badge.severity-critical {
  background: color-mix(in srgb, var(--slide-danger) 15%, transparent);
  color: var(--slide-danger);
}

.severity-badge.severity-high {
  background: color-mix(in srgb, var(--slide-high) 15%, transparent);
  color: var(--slide-high-text);
}

.severity-badge.severity-medium {
  background: color-mix(in srgb, var(--slide-warning) 15%, transparent);
  color: var(--slide-warning);
}

.severity-badge.severity-low {
  background: color-mix(in srgb, var(--slide-info) 15%, transparent);
  color: var(--slide-info);
}

/* ===== Icon Colors ===== */
.env-item-card-icon-area .slide-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.env-item-card-icon-area .slide-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.card-icon.opportunity-icon {
  color: var(--slide-success);
}

.card-icon.risk-icon {
  color: var(--slide-danger);
}

.item-savings {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slide-success);
  background: color-mix(in srgb, var(--slide-success) 10%, transparent);
  padding: 0.25rem 0.7rem;
  border-radius: 0.35rem;
}

.item-timeline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slide-text-secondary);
  background: var(--slide-border);
  padding: 0.25rem 0.7rem;
  border-radius: 0.35rem;
}

.item-cost {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slide-danger);
  background: color-mix(in srgb, var(--slide-danger) 15%, transparent);
  padding: 0.25rem 0.7rem;
  border-radius: 0.35rem;
}

/* ===== More Button ===== */
.env-more-button {
  margin-top: 0.5rem;
  padding: 0.4rem 1.25rem;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 2rem;
  color: var(--slide-highlight);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  align-self: center;
  text-align: center;
  flex-shrink: 0;
}

.env-more-button:hover {
  border-color: var(--slide-highlight);
  transform: translateY(-1px);
}

.env-more-button.danger {
  color: var(--slide-danger);
}

.env-more-button.danger:hover {
  border-color: var(--slide-danger);
}

/* ===== Issues Section (bottom-aligned) ===== */
.env-issues-section {
  flex-shrink: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}


/* ===== Findings Grid ===== */
.env-findings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  overflow: hidden;
}

.env-finding-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 3px solid var(--slide-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  min-height: 4.5rem;
  box-shadow: var(--slide-card-shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  overflow: hidden;
}

.env-finding-card.env-finding-critical:hover {
  border-color: var(--slide-danger);
  box-shadow: var(--slide-card-hover-shadow);
}

.env-finding-card.env-finding-high:hover {
  border-color: var(--slide-warning);
  box-shadow: var(--slide-card-hover-shadow);
}

.env-finding-card.env-finding-medium:hover {
  border-color: var(--slide-info);
  box-shadow: var(--slide-card-hover-shadow);
}

.env-finding-card.env-finding-critical {
  border-left: 3px solid var(--slide-danger);
}

.env-finding-card.env-finding-high {
  border-left: 3px solid var(--slide-warning);
}

.env-finding-card.env-finding-medium {
  border-left: 3px solid var(--slide-info);
}

/* Icon area */
.env-finding-icon-area {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.env-finding-icon-area .slide-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.env-icon-critical {
  color: var(--slide-danger);
}

.env-icon-high {
  color: var(--slide-warning);
}

.env-icon-medium {
  color: var(--slide-info);
}

/* Content */
.env-finding-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
}

.env-finding-pain {
  font-weight: 700;
  color: var(--slide-text-primary);
  line-height: 1.25;
}

.env-finding-resolution {
  font-size: 1.1rem;
  color: var(--slide-success);
  font-weight: 500;
  line-height: 1.3;
}

/* Info button */
.env-finding-info {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--slide-border);
  background: transparent;
  color: var(--slide-text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  font-style: italic;
  font-family: var(--font-family);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.env-finding-info:hover {
  background: color-mix(in srgb, var(--slide-highlight) 10%, transparent);
  border-color: var(--slide-highlight);
  color: var(--slide-highlight);
}

/* More badge */
.env-more-badge-row {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
  flex-shrink: 0;
}

.env-more-badge {
  padding: 0.5rem 1.5rem;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 2rem;
  color: var(--slide-highlight);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ===== Finding Modal ===== */
.env-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 200;
}

.env-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 80%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1.25rem;
  padding: 2.5rem 3rem;
  z-index: 201;
  text-align: center;
}

.env-modal.env-modal-critical {
  border-top: 4px solid var(--slide-danger);
}

.env-modal.env-modal-high {
  border-top: 4px solid var(--slide-warning);
}

.env-modal.env-modal-medium {
  border-top: 4px solid var(--slide-info);
}

.env-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.env-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.env-modal-icon {
  margin-bottom: 1.25rem;
}

.env-modal-icon-svg.slide-icon svg {
  width: 3rem;
  height: 3rem;
}

.env-modal-pain {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.env-modal-section {
  text-align: left;
  margin-bottom: 1.25rem;
}

.env-modal-label {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
  display: block;
  margin-bottom: 0.3rem;
}

.env-modal-text {
  font-size: 2.1rem;
  line-height: 1.5;
  color: var(--slide-text-secondary);
  margin: 0;
}

.env-modal-resolution {
  color: var(--slide-success);
  font-weight: 600;
}
/* ===== Approach Slide ===== */
.approach-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--slide-font-family);
  color: var(--slide-text-primary);
  padding: 2rem 3rem;
  box-sizing: border-box;
  overflow: hidden;
}

/* ===== Header (same pattern as slide 1) ===== */
.approach-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  height: 6rem;
  flex-shrink: 0;
}

.approach-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.approach-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slide-highlight);
}

.approach-client-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--slide-text-primary);
}

.approach-metrics-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1rem;
  padding: 1.25rem 2.5rem;
}

.approach-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.approach-metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slide-highlight);
  line-height: 1;
}

.approach-metric-value.approach-metric-amber {
  color: var(--slide-warning);
}

.approach-metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
}

.approach-metric-divider {
  width: 1px;
  height: 3rem;
  background: var(--slide-border);
}

/* ===== Title Section ===== */
.approach-title-section {
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.approach-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}

.approach-subtitle {
  font-size: 1.3rem;
  color: var(--slide-text-secondary);
  margin: 0;
}

/* ===== Section Header ===== */
.section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 8px;
}

.section-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--slide-highlight);
  flex-shrink: 0;
}

.section-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
  white-space: nowrap;
}

.section-rule {
  flex: 1;
  height: 1px;
  background: var(--slide-border);
}

/* ===== Strategy Distribution Section ===== */
.approach-strategy-section {
  flex-shrink: 0;
  margin-bottom: 1.25rem;
}

/* ===== Strategy Bar ===== */
.strategy-bar-container {
  position: relative;
  margin-bottom: 6px;
}

.strategy-bar {
  display: flex;
  width: 100%;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
}

.strategy-segment {
  height: 100%;
  transition: opacity 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.strategy-segment:hover {
  opacity: 0.8;
}

.segment-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}

.strategy-tooltip {
  position: absolute;
  transform: translateX(-50%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 0.4rem;
  padding: 0.3rem 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  pointer-events: none;
  white-space: nowrap;
  z-index: 10;
}

.strategy-tooltip strong {
  font-size: 14px;
  color: var(--slide-text-primary);
}

.strategy-tooltip span {
  font-size: 12px;
  color: var(--slide-text-secondary);
}

/* ===== Axis Labels ===== */
.strategy-axis {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 8px;
}

.axis-label {
  font-size: 13px;
  color: var(--slide-text-secondary);
  white-space: nowrap;
}

.axis-gradient {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--slide-border), var(--slide-success));
  border-radius: 1px;
}

/* ===== Legend Grid ===== */
.strategy-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 1.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

.legend-name {
  font-size: 14px;
  color: var(--slide-text-secondary);
}

.legend-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--slide-text-primary);
}

/* ===== Workloads Section ===== */
.approach-workloads-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--slide-border) transparent;
}

.approach-workloads-section::-webkit-scrollbar {
  width: 6px;
}

.approach-workloads-section::-webkit-scrollbar-track {
  background: transparent;
}

.approach-workloads-section::-webkit-scrollbar-thumb {
  background: var(--slide-border);
  border-radius: 3px;
}

.approach-workloads-section::-webkit-scrollbar-thumb:hover {
  background: var(--slide-text-secondary);
}

/* ===== Workload List ===== */
.workload-list {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 8px;
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.workload-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 3px solid transparent;
  border-left: 3px solid;
  border-radius: 0.75rem;
  padding: 0.6rem 1.25rem;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  box-shadow: var(--slide-card-shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.workload-card:hover {
  border-color: var(--wl-color);
  box-shadow: var(--slide-card-hover-shadow);
}

.workload-strategy-badge {
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  padding: 4px 10px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 6.5rem;
  text-align: center;
}

.workload-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.workload-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slide-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.workload-rationale {
  font-size: 0.95rem;
  color: var(--slide-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== More Badge ===== */
.more-badge {
  margin-top: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 2rem;
  color: var(--slide-highlight);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  align-self: center;
  font-family: var(--slide-font-family);
  flex-shrink: 0;
}

.more-badge:hover {
  border-color: var(--slide-highlight);
  transform: translateY(-1px);
}

/* ===== Bottom Band ===== */
.approach-bottom-band {
  display: flex;
  padding-top: 0.75rem;
  gap: 3rem;
  border-top: 1px solid var(--slide-border);
  flex-shrink: 0;
  margin-top: 0.75rem;
}

.bottom-band-left {
  width: 58%;
}

.bottom-band-divider {
  width: 1px;
  align-self: stretch;
  background: var(--slide-border);
}

.bottom-band-right {
  width: 38%;
}

.section-label-sm {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
  display: block;
  margin-bottom: 4px;
}

.rationale-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--slide-text-secondary);
  margin: 0;
}

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

.considerations-list li {
  font-size: 15px;
  color: var(--slide-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
}

.consideration-bullet {
  color: var(--slide-highlight);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Workload Panel ===== */
.workload-panel-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 100;
}

.workload-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 44%;
  background: var(--slide-bg-secondary);
  border-left: 1px solid var(--slide-border);
  z-index: 101;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.workload-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--slide-border);
}

.workload-panel-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slide-text-primary);
  margin: 0;
}

.workload-panel-close {
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: color 0.2s, background 0.2s;
}

.workload-panel-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.workload-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.workload-panel-content .workload-card {
  flex: 0 0 auto;
  padding: 1rem 1.25rem;
}

.workload-panel-content .workload-name {
  font-size: 1.5rem;
}

.workload-panel-content .workload-rationale {
  font-size: 1.1rem;
}

.workload-panel-content .workload-strategy-badge {
  font-size: 0.85rem;
}

/* ===== Workload Info Button ===== */
.workload-info-btn {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--slide-border);
  background: transparent;
  color: var(--slide-text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  font-style: italic;
  font-family: var(--font-family);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.workload-info-btn:hover {
  background: color-mix(in srgb, var(--slide-highlight) 10%, transparent);
  border-color: var(--slide-highlight);
  color: var(--slide-highlight);
}

/* ===== Workload Detail Modal ===== */
.wl-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 200;
}

.wl-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1650px, 90%);
  max-height: 85%;
  overflow-y: auto;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1.25rem;
  padding: 2.5rem 3rem;
  z-index: 201;
  scrollbar-width: thin;
  scrollbar-color: var(--slide-border) transparent;
}

.wl-modal::-webkit-scrollbar {
  width: 6px;
}

.wl-modal::-webkit-scrollbar-track {
  background: transparent;
}

.wl-modal::-webkit-scrollbar-thumb {
  background: var(--slide-border);
  border-radius: 3px;
}

.wl-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.wl-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

/* Modal Header */
.wl-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.wl-modal-strategy {
  font-size: 2.4rem;
  font-weight: 700;
  border-radius: 0.3rem;
  padding: 0.25rem 0.75rem;
  text-transform: uppercase;
}

.wl-modal-list .wl-modal-strategy {
  font-size: 1.5rem;
  padding: 0.15rem 0.5rem;
}

/* Resource mapping 3-column table */
.wl-modal-resource-table {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.wl-modal-resource-row {
  display: grid;
  grid-template-columns: 70% 10% 20%;
  align-items: center;
  justify-items: start;
  gap: 0.75rem;
}

.wl-modal-resource-row .wl-modal-strategy {
  justify-self: center;
}

.wl-modal-resource-row .wl-modal-resource-service {
  justify-self: end;
  text-align: right;
}

.wl-modal-resource-current {
  font-size: 1.6rem;
  color: var(--slide-text-primary);
}

.wl-modal-resource-service {
  font-size: 1.6rem;
  color: var(--slide-text-primary);
  opacity: 0.85;
}

.wl-modal-resource-table .wl-modal-strategy {
  font-size: 1.4rem;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
}

.wl-modal-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0;
  flex: 1;
}

.wl-modal-cost {
  font-size: 2.275rem;
  font-weight: 700;
  color: var(--slide-highlight);
  background: color-mix(in srgb, var(--slide-highlight) 10%, transparent);
  padding: 0.3rem 0.8rem;
  border-radius: 0.4rem;
}

/* Overview */
.wl-modal-overview {
  font-size: 1.925rem;
  line-height: 1.6;
  color: var(--slide-text-secondary);
  margin: 0 0 1.5rem;
}

/* Architecture Diagram */
.wl-modal-architecture {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--slide-bg-primary);
  border: 1px solid var(--slide-border);
  border-radius: 0.75rem;
}

.wl-arch-image {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 0.5rem;
}

/* Architecture Image Section (below everything) */
.wl-modal-arch-image-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slide-border);
}

.wl-modal-arch-image-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slide-text-secondary);
  margin: 0 0 0.75rem;
}

.wl-modal-arch-image-section .wl-arch-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 0.5rem;
  background: var(--slide-bg-primary);
  border: 1px solid var(--slide-border);
  padding: 1rem;
}

.wl-arch-node {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
}

.wl-arch-source {
  background: color-mix(in srgb, var(--slide-danger) 12%, transparent);
  color: var(--slide-danger);
  border: 1px solid color-mix(in srgb, var(--slide-danger) 30%, transparent);
}

.wl-arch-service {
  background: color-mix(in srgb, var(--slide-info) 12%, transparent);
  color: var(--slide-info);
  border: 1px solid color-mix(in srgb, var(--slide-info) 30%, transparent);
}

.wl-arch-target {
  background: color-mix(in srgb, var(--slide-success) 12%, transparent);
  color: var(--slide-success);
  border: 1px solid color-mix(in srgb, var(--slide-success) 30%, transparent);
}

.wl-arch-arrow {
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.2rem;
  padding: 0;
}

/* Full-width sections */
.wl-modal-full-width {
  margin-bottom: 1.5rem;
}

.wl-modal-full-width h3 {
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slide-text-secondary);
  margin: 1rem 0 1rem;
}

.wl-modal-full-width h3:not(:first-child) {
  margin-top: 1.5rem;
}

/* Two-column details */
.wl-modal-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.wl-modal-col h3 {
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slide-text-secondary);
  margin: 1rem 0 1rem;
}

.wl-modal-col h3:not(:first-child) {
  margin-top: 1.25rem;
}

.wl-modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.wl-modal-list li {
  font-size: 1.75rem;
  color: var(--slide-text-primary);
  padding-left: 1.75rem;
  position: relative;
}

.wl-modal-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  margin-right: 0.5rem;
  color: var(--slide-text-secondary);
}

.wl-list-pain li::before {
  color: var(--slide-danger);
}

.wl-list-pros li::before {
  content: '✓';
  color: var(--slide-success);
}

.wl-list-cons li::before {
  content: '✗';
  color: var(--slide-danger);
}
/* ===== Investment Slide ===== */
.investment-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--slide-font-family);
  color: var(--slide-text-primary);
  padding: 2rem 3rem;
  box-sizing: border-box;
  overflow: hidden;
}

/* ===== Header ===== */
.investment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  height: 6rem;
  flex-shrink: 0;
}

.investment-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.investment-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slide-highlight);
}

.investment-client-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--slide-text-primary);
}

.investment-metrics-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1rem;
  padding: 1rem 2.5rem;
}

.investment-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.investment-metric-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--slide-highlight);
  line-height: 1;
}

.investment-metric-value.investment-metric-success {
  color: var(--slide-success);
}

.investment-metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slide-text-secondary);
}

.investment-metric-divider {
  width: 1px;
  height: 3rem;
  background: var(--slide-border);
}

/* ===== Title Row ===== */
.investment-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.investment-title-section {
  display: flex;
  flex-direction: column;
}

.investment-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.investment-subtitle {
  font-size: 1.3rem;
  color: var(--slide-text-secondary);
  margin: 0;
}

/* ===== Modality Tabs ===== */
.modality-tabs {
  display: flex;
  gap: 3px;
  background: var(--slide-border);
  border-radius: 0.6rem;
  padding: 3px;
}

.modality-tab {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1.4rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--slide-text-secondary);
  cursor: pointer;
  font-family: var(--slide-font-family);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.modality-tab.active {
  background: var(--slide-highlight);
  color: var(--slide-text-on-highlight);
}

.modality-tab:hover:not(.active) {
  color: var(--slide-text-primary);
}

/* ===== Controls (period + modality tabs) ===== */
.investment-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ===== Period Tabs ===== */
.period-tabs {
  display: flex;
  gap: 3px;
  background: var(--slide-border);
  border-radius: 0.6rem;
  padding: 3px;
}

.period-tab {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1.4rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--slide-text-secondary);
  cursor: pointer;
  font-family: var(--slide-font-family);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.period-tab.active {
  background: var(--slide-highlight);
  color: var(--slide-text-on-highlight);
}

.period-tab:hover:not(.active) {
  color: var(--slide-text-primary);
}

/* ===== Sortable headers ===== */
.investment-table th.sortable-th {
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.investment-table th.sortable-th:hover {
  color: var(--slide-text-primary);
}

.investment-table th.sortable-th:focus-visible {
  outline: 2px solid var(--slide-highlight);
  outline-offset: -2px;
  color: var(--slide-text-primary);
}

/* ===== KPI Cards Row ===== */
.investment-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.investment-kpi-card {
  background: var(--slide-card-bg-transparent);
  border: 1px solid var(--slide-border);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.investment-kpi-card.kpi-highlight {
  border-color: var(--slide-highlight);
}

.investment-kpi-card.kpi-success {
  border-color: var(--slide-success);
}

.kpi-card-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slide-text-secondary);
}

.kpi-card-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  line-height: 1.1;
}

.kpi-highlight .kpi-card-value {
  color: var(--slide-highlight);
}

.kpi-success .kpi-card-value {
  color: var(--slide-success);
}

.kpi-card-sub {
  font-size: 0.85rem;
  color: var(--slide-text-secondary);
}

/* ===== TCO Table ===== */
.investment-table-container {
  flex: 1;
  min-height: 0;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.table-view-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 0.75rem;
  align-self: flex-start;
  border: 1px solid var(--slide-border);
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.view-toggle-btn {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border: none;
  background: transparent;
  color: var(--slide-text-secondary);
  cursor: pointer;
  font-family: var(--slide-font-family);
  transition: background 0.2s, color 0.2s;
}

.view-toggle-btn.active {
  background: var(--slide-highlight);
  color: var(--slide-text-on-highlight);
}

.view-toggle-btn:hover:not(.active) {
  color: var(--slide-text-primary);
}

.investment-table-scroll {
  display: none;
}

.investment-table-footer {
  display: none;
}

.investment-table-wrapper {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--slide-border) transparent;
}

.investment-table-wrapper::-webkit-scrollbar {
  width: 6px;
}

.investment-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.investment-table-wrapper::-webkit-scrollbar-thumb {
  background: var(--slide-border);
  border-radius: 3px;
}

.investment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1rem;
  table-layout: fixed;
}

.investment-table th:first-child,
.investment-table td:first-child {
  width: 30%;
}

.investment-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--slide-bg-primary);
}

.investment-table tfoot {
  position: sticky;
  bottom: 0;
  z-index: 1;
  background: var(--slide-bg-primary);
}

.investment-table th {
  text-align: right;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slide-text-secondary);
  padding: 0.6rem 1.25rem;
  border-bottom: 1px solid var(--slide-border);
}

.investment-table th:first-child {
  text-align: left;
}

.investment-table td {
  padding: 0.55rem 1.25rem;
  text-align: right;
  color: var(--slide-text-secondary);
  border-bottom: 1px solid color-mix(in srgb, var(--slide-border) 50%, transparent);
}

.investment-table td:first-child {
  text-align: left;
  color: var(--slide-text-primary);
  font-weight: 600;
}

.investment-table td:not(:first-child) {
  font-family: var(--font-family-mono);
  font-variant-numeric: tabular-nums;
}

.investment-table td.active-col {
  color: var(--slide-text-primary);
  font-weight: 700;
  background: color-mix(in srgb, var(--slide-text-secondary) 8%, transparent);
}

.investment-table th.active-col {
  background: color-mix(in srgb, var(--slide-text-secondary) 8%, transparent);
}

.investment-table tfoot td {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--slide-text-primary);
  border-top: 1px solid var(--slide-border);
  border-bottom: none;
  padding-top: 0.7rem;
}

/* ===== Incentives Section ===== */
.investment-incentives {
  flex-shrink: 0;
  background: var(--slide-card-bg-transparent);
  border: 1px solid var(--slide-border);
  border-radius: 0.75rem;
  padding: 1rem 1.75rem;
}

.incentives-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.incentives-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.incentives-info-button {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--slide-border);
  background: transparent;
  color: var(--slide-text-secondary);
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  font-family: var(--font-family);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.incentives-info-button:hover {
  background: color-mix(in srgb, var(--slide-highlight) 10%, transparent);
  border-color: var(--slide-highlight);
  color: var(--slide-highlight);
}

.incentives-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.incentives-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slide-text-primary);
}

.incentives-tier {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--slide-border);
  color: var(--slide-text-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: 0.3rem;
  text-transform: uppercase;
}

.incentives-arr {
  font-size: 1rem;
  color: var(--slide-text-secondary);
}

.incentives-arr strong {
  color: var(--slide-text-primary);
}

.incentives-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}

.incentive-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.incentive-kpi-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slide-text-secondary);
}

.incentive-kpi-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--slide-text-primary);
}

.incentive-kpi-highlight .incentive-kpi-value {
  color: var(--slide-success);
}

/* ===== Incentives Modal ===== */
.incentives-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  z-index: 200;
}

.incentives-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1150px, 85%);
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 1.25rem;
  padding: 2.5rem 3rem;
  z-index: 201;
}

.incentives-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slide-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.incentives-modal-close:hover {
  color: var(--slide-text-primary);
  background: var(--slide-border);
}

.incentives-modal-title {
  font-size: 3.0625rem;
  font-weight: 800;
  color: var(--slide-text-primary);
  margin: 0 0 1.5rem;
}

.incentives-modal-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.incentives-modal-col {
  display: flex;
  flex-direction: column;
}

.incentives-modal-columns-single {
  grid-template-columns: 1fr;
}

.incentives-modal-col .incentives-detail-table {
  flex: 1;
}

.incentives-detail-table tfoot {
  vertical-align: bottom;
}

.incentives-modal-col h3 {
  font-size: 1.925rem;
  font-weight: 700;
  color: var(--slide-text-primary);
  margin: 0 0 0.75rem;
}

.incentives-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.75rem;
}

.incentives-detail-table th {
  text-align: left;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slide-text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--slide-border);
}

.incentives-detail-table th:last-child {
  text-align: right;
}

.incentives-detail-table td {
  padding: 0.4rem 0;
  color: var(--slide-text-secondary);
  border-bottom: 1px solid color-mix(in srgb, var(--slide-border) 50%, transparent);
}

.incentives-detail-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--slide-text-primary);
}

.incentives-detail-table tfoot td {
  font-weight: 800;
  color: var(--slide-text-primary);
  border-top: 1px solid var(--slide-border);
  border-bottom: none;
  padding-top: 0.5rem;
}

/* VMware SPI info tooltip */
.incentive-label-with-info {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.incentive-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
  outline: none;
}

.incentive-info-icon {
  width: 0.85em;
  height: 0.85em;
  color: var(--slide-text-secondary);
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.incentive-info:hover .incentive-info-icon,
.incentive-info:focus-visible .incentive-info-icon {
  opacity: 1;
}

.incentive-info-tooltip {
  position: absolute;
  bottom: calc(100% + 0.4rem);
  left: 0;
  z-index: 20;
  display: none;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 15rem;
  padding: 0.6rem 0.7rem;
  background: var(--slide-bg-secondary, #1e293b);
  border: 1px solid var(--slide-border);
  border-radius: 0.4rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  font-size: 0.8em;
  font-weight: 400;
  color: var(--slide-text-secondary);
  text-align: left;
  white-space: normal;
}

.incentive-info:hover .incentive-info-tooltip,
.incentive-info:focus-visible .incentive-info-tooltip,
.incentive-info:focus-within .incentive-info-tooltip {
  display: flex;
}

.incentive-info-tooltip-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slide-text-primary);
  margin-bottom: 0.15rem;
}

.incentive-info-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.incentive-info-row > span:last-child {
  font-weight: 600;
  color: var(--slide-text-primary);
  white-space: nowrap;
}

.incentive-info-row-pending > span {
  opacity: 0.6;
  font-style: italic;
}

.incentive-kpi-bonus {
  font-size: 0.65em;
  opacity: 0.75;
  font-weight: 400;
  white-space: nowrap;
}

/* Greenfield toggle */

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

.investment-greenfield-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
  background: var(--slide-border);
  border-radius: 0.390rem;
  padding: 3px 0.910rem;
  box-sizing: border-box;
  align-self: stretch;
}

.investment-greenfield-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.investment-toggle-track {
  width: 2.75rem;
  height: 1.25rem;
  background: rgba(255,255,255,0.35);
  border-radius: 4px;
  position: relative;
  transition: background 0.35s;
  flex-shrink: 0;
}

.investment-greenfield-toggle input:checked + .investment-toggle-track {
  background: var(--brand-amber, var(--warning-500));
}

.investment-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: 1rem;
  background: white;
  border-radius: 2px;
  transition: transform 0.35s ease;
}

.investment-greenfield-toggle input:checked + .investment-toggle-track .investment-toggle-thumb {
  transform: translateX(1.5rem);
}

.investment-toggle-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slide-text-secondary);
  font-family: var(--slide-font-family);
  white-space: nowrap;
  transition: color 0.2s;
}

.investment-greenfield-toggle:hover .investment-toggle-label {
  color: var(--slide-text-primary);
}

.investment-upfront-note {
  font-size: 0.7rem;
  color: var(--slide-text-secondary);
  margin: 0.4rem 0 0;
  text-align: center;
  font-style: italic;
}
/* ===== Conclusion Slide ===== */
.conclusion-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--slide-font-family);
  color: var(--slide-text-primary);
  padding: 2rem 3rem;
  box-sizing: border-box;
  overflow: hidden;
}

/* ===== Header ===== */
.conclusion-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  height: 6rem;
  flex-shrink: 0;
}

.conclusion-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.conclusion-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slide-highlight);
}

.conclusion-client-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--slide-text-primary);
}

/* ===== Headline ===== */
.conclusion-headline-section {
  margin-bottom: 2rem;
  flex-shrink: 0;
  height: 8rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conclusion-headline {
  font-weight: 800;
  font-style: italic;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  display: block;
  width: 100%;
  overflow: hidden;
}

/* ===== Main Two-Column ===== */
.conclusion-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  flex: 1;
  min-height: 0;
}

.conclusion-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* ===== Section Headers ===== */
.conclusion-section-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.conclusion-section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slide-highlight);
  flex-shrink: 0;
}

.conclusion-dot-highlight {
  background: var(--slide-highlight);
}

.conclusion-section-label {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slide-text-secondary);
  white-space: nowrap;
}

.conclusion-section-rule {
  flex: 1;
  height: 1px;
  background: var(--slide-border);
}

/* ===== Key Takeaways ===== */
.conclusion-takeaway-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-height: 0;
}

.conclusion-takeaway-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slide-border);
  border-left: 3px solid var(--slide-highlight);
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  box-shadow: var(--slide-card-shadow);
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.conclusion-takeaway-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conclusion-takeaway-icon .slide-icon svg {
  width: 2rem;
  height: 2rem;
}

.conclusion-tk-icon {
  color: var(--slide-highlight);
}

.conclusion-takeaway-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.conclusion-takeaway-text {
  font-weight: 700;
  color: var(--slide-text-primary);
  line-height: 1.25;
  flex: 1;
  min-width: 0;
  padding-right: 1.5rem;
}

.conclusion-takeaway-desc {
  font-size: 1rem;
  color: var(--slide-text-secondary);
  line-height: 1.4;
}

/* ===== Next Steps ===== */
.conclusion-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-height: 0;
}

.conclusion-step-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--slide-card-bg-transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slide-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  box-shadow: var(--slide-card-shadow);
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.conclusion-step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--slide-highlight) 12%, transparent);
  color: var(--slide-highlight);
  font-size: 1.2rem;
  font-weight: 800;
}

.conclusion-step-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
  padding-right: 6rem;
}

.conclusion-step-text {
  font-weight: 700;
  color: var(--slide-text-primary);
  line-height: 1.25;
}

.conclusion-step-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.conclusion-step-owner {
  font-size: 1.05rem;
  color: var(--slide-text-secondary);
  font-weight: 500;
}

.conclusion-step-timeline {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slide-success);
  background: color-mix(in srgb, var(--slide-success) 10%, transparent);
  padding: 0.15rem 0.6rem;
  border-radius: 0.25rem;
}

/* ===== Footer: CTA ===== */
.conclusion-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slide-border);
  flex-shrink: 0;
}

.conclusion-cta-text {
  font-size: 1.8rem;
  font-weight: 700;
  font-style: italic;
  color: var(--slide-highlight);
  line-height: 1.3;
  text-align: center;
}

/* ===== Brand contact (optional, footer) ===== */
.conclusion-brand-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.75rem;
  flex-shrink: 0;
  text-align: center;
}

.conclusion-brand-contact-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slide-text-primary);
}

.conclusion-brand-contact-details {
  font-size: 1.1rem;
  color: var(--slide-text-secondary);
}

.conclusion-brand-contact-sep {
  opacity: 0.6;
}
.presentation-container {
  position: fixed;
  inset: 0;
  background: var(--slide-letterbox);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 9999;
  font-family: var(--slide-font-family);
  -webkit-font-smoothing: antialiased;
}

/* Fixed 1920x1080 "design canvas". Every slide is authored at this exact size
   (against the fixed 16px root below), then scaled to fit its container via
   --slide-scale (set from JS by useSlideScale). Because the whole canvas is a
   single uniform transform, the result is pixel-identical in the inline
   preview and in fullscreen, and at any display resolution (HD, 4K, ...): the
   layout is relative to the slide's own proportions, never the screen's pixels. */
.presentation-inner {
  width: 1920px;
  height: 1080px;
  flex: 0 0 auto;
  background: var(--slide-bg-primary);
  overflow: hidden;
  position: relative;
  transform-origin: center center;
  transform: scale(var(--slide-scale, 1));
  font-size: 16px;
}

/* Fixed rem base while a slide is mounted. 16px matches the app's default root
   (which the inline preview composes against and cannot safely override without
   shrinking the surrounding page chrome), so the fullscreen path and the inline
   preview compose the 1920x1080 canvas against the SAME base and never drift.
   The scale-to-fit transform above then makes both pixel-identical at any size. */
html.presentation-mode {
  font-size: 16px;
}

.presentation-nav-btn {
  position: fixed;
  top: 10%;
  bottom: 10%;
  z-index: 10000;
  background: none;
  border: none;
  color: var(--slide-nav-idle);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.presentation-nav-btn:hover {
  color: var(--slide-nav-hover);
}

.presentation-nav-prev { left: 0; }
.presentation-nav-next { right: 0; }
.presentation-close-btn {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  background: none;
  border: none;
  color: var(--slide-nav-muted);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  cursor: pointer;
  font-family: var(--slide-font-family);
  transition: color 0.2s;
}

.presentation-close-btn:hover {
  color: var(--slide-nav-muted-hover);
}

/* ===== Exit Dialog ===== */
.exit-dialog-overlay {
  position: fixed;
  inset: 0;
  background: var(--slide-overlay-heavy);
  z-index: 10001;
}

.exit-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10002;
  background: var(--slide-bg-secondary);
  border: 1px solid var(--slide-border);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 320px;
  font-family: var(--slide-font-family);
}

.exit-dialog-title {
  color: var(--slide-text-primary);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.exit-dialog-description {
  color: var(--slide-text-secondary);
  font-size: 14px;
  margin: 0;
}

.exit-dialog-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.exit-dialog-cancel {
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid var(--slide-border);
  background: transparent;
  color: var(--slide-text-secondary);
  font-size: 14px;
  cursor: pointer;
}

.exit-dialog-confirm {
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  background: var(--slide-highlight);
  color: var(--slide-text-on-highlight);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
/* ─── Layout ─────────────────────────────────────────────────────────────── */
._pageContainer_10nei_2 {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

._mainContent_10nei_8 {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

._contentWrapper_10nei_15 {
  flex: 1;
  background: var(--surface-page);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

._breadcrumbContainer_10nei_23 {
  flex-shrink: 0;
  padding: 0 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

._content_10nei_15 {
  flex: 1;
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  min-height: 0;
}

/* ─── Settings two-column layout ─────────────────────────────────────────── */
._settingsLayout_10nei_41 {
  display: flex;
  gap: 1rem;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

._settingsRight_10nei_49 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  align-self: stretch;
}

/* ─── Profile Card ───────────────────────────────────────────────────────── */
._profileCard_10nei_61 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  flex-shrink: 0;
  align-self: flex-start;
  width: 200px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  gap: 0.75rem;
}

._profileLeft_10nei_77 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

._avatarContainer_10nei_83 {
  position: relative;
  flex-shrink: 0;
}

._avatar_10nei_83 {
  width: 5rem;
  height: 5rem;
  background: var(--indigo-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

._avatarText_10nei_98 {
  color: var(--text-inverse);
  font-size: 1.5rem;
  font-weight: 700;
}

._avatarBadge_10nei_104 {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--surface-page);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  color: var(--action-primary-bg);
}

._profileInfo_10nei_120 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  text-align: center;
}

._profileName_10nei_128 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0;
  letter-spacing: -0.01em;
}

._profileRole_10nei_136 {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin: 0;
}

._profileEmail_10nei_142 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin: 0.25rem 0 0;
  word-break: break-all;
  justify-content: center;
}

._profileBadges_10nei_153 {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.75rem;
  width: 100%;
}

._badge_10nei_161 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--slate-100);
  border-radius: 8px;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._badge_10nei_161 strong {
  color: var(--slate-900);
}

._editProfileButton_10nei_176 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--action-primary-bg);
  color: var(--text-inverse);
  border: none;
  border-radius: 8px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

._editProfileButton_10nei_176:hover {
  background: var(--action-primary-bg-hover);
}

/* ─── Main Card with Tabs ────────────────────────────────────────────────── */
._mainCard_10nei_196 {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

._tabsContainer_10nei_208 {
  background: var(--surface-page);
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--border-subtle);
}

._cardContent_10nei_217 {
  padding: 1.5rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

/* ─── Section Header ─────────────────────────────────────────────────────── */
._sectionHeader_10nei_225 {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

._sectionTitle_10nei_231 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0 0 0.25rem;
}

._sectionSubtitle_10nei_238 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0;
}

/* ─── Region Section ─────────────────────────────────────────────────────── */
._profileDataSection_10nei_245 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

._profileSummaryRow_10nei_251 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

._profileSummaryLeft_10nei_258 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

._profileAvatarLarge_10nei_264 {
  position: relative;
  width: 4rem;
  height: 4rem;
  background: var(--indigo-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

._profileAvatarText_10nei_276 {
  color: var(--action-primary-text);
  font-size: 1.25rem;
  font-weight: 700;
}

._profileSummaryInfo_10nei_282 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._profileSummaryName_10nei_288 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0;
}

._profileSummaryRole_10nei_295 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0;
}

._profileSummaryEmail_10nei_301 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0;
}

._profileSummaryBadges_10nei_310 {
  display: flex;
  gap: 0.75rem;
}

._profileStatBadge_10nei_315 {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  min-width: 5rem;
}

._profileStatLabel_10nei_325 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

._profileStatValue_10nei_333 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--action-primary-bg);
}

._profileStatValueText_10nei_339 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--success-500);
}

._profileSaveSection_10nei_345 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.5rem;
}

._profileSaveHint_10nei_354 {
  font-size: 0.8125rem;
  color: var(--action-primary-bg);
  margin: 0;
}

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

._cancelButton_10nei_367 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  line-height: 1.25rem;
}

._cancelButton_10nei_367:hover:not(:disabled) {
  background: var(--surface-subtle);
  border-color: var(--slate-400);
}

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

/* ─── Language Cards ─────────────────────────────────────────────────────── */
._languageCards_10nei_394 {
  display: flex;
  gap: 1rem;
}

/* ─── Notification Settings ──────────────────────────────────────────────── */
._notifGroup_10nei_400 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

._notifGroupLabel_10nei_406 {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

._notifList_10nei_415 {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

._notifItem_10nei_421 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

._notifItemInfo_10nei_433 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._notifItemTitle_10nei_439 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-900);
}

._notifItemDesc_10nei_445 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._languageCard_10nei_394 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  padding: 1rem 1.25rem;
  background: var(--surface-page);
  border: 1.5px solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
}

._languageCard_10nei_394:hover {
  border-color: var(--slate-400);
}

._languageCardActive_10nei_468 {
  border-color: var(--action-primary-bg);
  background: var(--blue-50);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-600) 10%, transparent);
}

._languageCardCode_10nei_474 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  background: var(--slate-100);
  border-radius: 8px;
  padding: 0.375rem 0.625rem;
  flex-shrink: 0;
}

._languageCardActive_10nei_468 ._languageCardCode_10nei_474 {
  background: white;
  color: var(--action-primary-bg);
}

._languageCardInfo_10nei_489 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
}

._languageCardName_10nei_496 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-900);
}

._languageCardSub_10nei_502 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._languageCardBadge_10nei_507 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--action-primary-bg);
  border-radius: 8px;
  padding: 0.25rem 0.5rem 0.25rem 0.625rem;
}

._languageCardBadgeText_10nei_516 {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

._languageCardRadio_10nei_524 {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--border-subtle);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Questionnaire Config ───────────────────────────────────────────────── */
._questionnaireAccordion_10nei_533 {
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

._questionnaireAccordionIcon_10nei_549 {
  width: 1.75rem;
  height: 1.75rem;
  background: var(--blue-50);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

._questionnaireAccordionInfo_10nei_560 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.0625rem;
}

._questionnaireAccordionTitle_10nei_567 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-900);
}

._questionnaireAccordionDesc_10nei_573 {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}

._questionnaireInfoBanner_10nei_578 {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  background: var(--blue-50);
  border: 1px solid color-mix(in srgb, var(--blue-600) 20%, transparent);
  border-radius: 8px;
  padding: 0.875rem 1rem;
}

._questionnaireInfoTitle_10nei_588 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-900);
  display: block;
  margin-bottom: 0.125rem;
}

._questionnaireInfoText_10nei_596 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.5;
}

._questionnaireSection_10nei_603 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

._questionnaireSectionBar_10nei_616 {
  width: 3px;
  height: 1.25rem;
  border-radius: 8px;
  flex-shrink: 0;
}

._questionnaireSectionTitle_10nei_623 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-900);
}

._questionnaireItemList_10nei_629 {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border-subtle);
  margin-left: 0.125rem;
  padding-left: 0.75rem;
  gap: 0;
}

._questionnaireItem_10nei_629 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

._questionnaireItemDot_10nei_650 {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

._questionnaireItemInfo_10nei_657 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._questionnaireItemTitle_10nei_663 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-900);
}

._questionnaireItemDesc_10nei_669 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._questionnaireCustomizeBtn_10nei_674 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: none;
  border: 1.5px dashed var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--action-primary-bg);
  cursor: pointer;
  transition: all 0.15s;
}

._questionnaireCustomizeBtn_10nei_674:hover {
  background: var(--blue-50);
  border-color: var(--action-primary-bg);
}

._regionSection_10nei_696 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

._regionHeader_10nei_702 {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

._regionTitle_10nei_707 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0 0 0.25rem;
}

._regionSubtitle_10nei_714 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0;
}

._infoBanner_10nei_720 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--warning-50);
  border: 1px solid rgba(253, 230, 138, 0.6);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

._infoBannerText_10nei_730 {
  font-size: 0.75rem;
  color: var(--warning-700);
  margin: 0;
  line-height: 1.5;
}

._regionSelectors_10nei_737 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

._regionField_10nei_743 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._regionLabel_10nei_749 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

._regionHint_10nei_758 {
  font-size: 0.75rem;
  color: var(--text-disabled);
  margin-top: 0.25rem;
}

._noteBanner_10nei_764 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--slate-100);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

._noteBannerText_10nei_774 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.5;
}

._saveButton_10nei_781 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  background: var(--action-primary-bg);
  color: var(--text-inverse);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  line-height: 1.25rem;
  width: auto;
}

._saveButton_10nei_781:hover:not(:disabled) {
  background: var(--action-primary-bg-hover);
}

._saveButton_10nei_781:disabled {
  background: var(--blue-300);
  cursor: not-allowed;
}

/* ─── Save section (border-top separator) ────────────────────────────────── */
._saveSection_10nei_809 {
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

/* ─── Region Dropdown ────────────────────────────────────────────────────── */
._regionDropdown_10nei_818 {
  position: relative;
}

._regionTrigger_10nei_822 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s;
}

._regionTrigger_10nei_822:hover {
  border-color: var(--slate-400);
}

._regionTrigger_10nei_822:focus {
  border-color: var(--action-primary-bg);
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue-600) 10%, transparent);
}

/* Read-only field: drops the affordances that make an input look editable.
   Must come after .regionTrigger:hover to win on equal specificity. */
._regionTriggerReadOnly_10nei_850 {
  background: transparent;
  cursor: default;
}

._regionTriggerReadOnly_10nei_850:hover {
  border-color: var(--border-subtle);
}

._regionPlaceholder_10nei_859 {
  color: var(--text-disabled);
}

._regionChevron_10nei_863 {
  font-size: 18px;
  color: var(--text-tertiary);
  transition: transform 0.15s;
}

._regionChevronOpen_10nei_869 {
  transform: rotate(180deg);
}

._regionList_10nei_873 {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-height: 16rem;
  overflow-y: auto;
}

._regionGroupLabel_10nei_887 {
  padding: 0.5rem 0.75rem 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-disabled);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

._regionOption_10nei_896 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--text-primary);
  text-align: left;
  transition: background 0.1s;
}

._regionOption_10nei_896:hover {
  background: var(--slate-100);
}

._regionOptionActive_10nei_915 {
  background: var(--blue-50);
  color: var(--action-primary-bg);
  font-weight: 500;
}

._regionOptionDisabled_10nei_921 {
  opacity: 0.4;
  cursor: not-allowed;
}

._regionName_10nei_926 {
  flex: 1;
}

._regionCode_10nei_930 {
  font-size: 0.75rem;
  color: var(--text-disabled);
  font-family: var(--font-family-mono);
}

/* ─── Profile Tab ────────────────────────────────────────────────────────── */
._formGrid_10nei_937 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

._formField_10nei_943 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._formLabel_10nei_949 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

._formInput_10nei_955 {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--surface-page);
  transition: border-color 0.15s;
}

._formInput_10nei_955:focus {
  border-color: var(--action-primary-bg);
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue-600) 10%, transparent);
}

._formInput_10nei_955::placeholder {
  color: var(--text-disabled);
}

/* ─── Notifications Tab ──────────────────────────────────────────────────── */
._notificationList_10nei_976 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

._notificationItem_10nei_982 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1rem;
}

._notificationInfo_10nei_992 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._notificationTitle_10nei_998 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

._notificationDesc_10nei_1004 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ─── Switch ─────────────────────────────────────────────────────────────── */
._switch_10nei_1010 {
  position: relative;
  width: 2.5rem;
  height: 1.375rem;
  background: var(--slate-300);
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

._switch_10nei_1010._active_10nei_1022 {
  background: var(--action-primary-bg);
}

._switchThumb_10nei_1026 {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--surface-page);
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

._switch_10nei_1010._active_10nei_1022 ._switchThumb_10nei_1026 {
  transform: translateX(1.125rem);
}

/* ─── Organization Tab ───────────────────────────────────────────────────── */
._orgAiSection_10nei_1043 {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

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

._orgAiTitle_10nei_1056 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0;
}

/* ─── Placeholder tabs ───────────────────────────────────────────────────── */
._placeholderContent_10nei_1064 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem;
  color: var(--text-disabled);
}

._placeholderText_10nei_1074 {
  font-size: 0.875rem;
}

/* ─── Users Tab ──────────────────────────────────────────────────────────── */
._usersTabHeader_10nei_1079 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

._searchBar_10nei_1087 {
  flex: 1;
}

._addButton_10nei_1091 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--action-primary-bg);
  color: var(--action-primary-text);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

._addButton_10nei_1091:hover {
  background: var(--action-primary-bg-hover);
}

._addButton_10nei_1091:focus-visible {
  outline: 2px solid var(--action-primary-bg);
  outline-offset: 2px;
}

/* ─── Table ──────────────────────────────────────────────────────────────── */
._tableWrapper_10nei_1117 {
  overflow-x: auto;
  margin-top: 0;
}

._table_10nei_1117 {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

._table_10nei_1117 colgroup col:nth-child(1) {
  width: 22%;
}

._table_10nei_1117 colgroup col:nth-child(2) {
  width: 26%;
}

._table_10nei_1117 colgroup col:nth-child(3) {
  width: 14%;
}

._table_10nei_1117 colgroup col:nth-child(4) {
  width: 12%;
}

._table_10nei_1117 colgroup col:nth-child(5) {
  width: 14%;
}

._table_10nei_1117 colgroup col:nth-child(6) {
  width: 12%;
}

._tableHeaderRow_10nei_1152 {
  background: var(--surface-subtle);
}

._th_10nei_1156 {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-bottom: 0.667px solid var(--border-subtle);
  white-space: nowrap;
}

._thRight_10nei_1168 {
  text-align: right;
}

._tableRow_10nei_1172 {
  border-bottom: 0.667px solid var(--border-subtle);
  transition: background 0.1s;
}

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

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

._td_10nei_1185 {
  padding: 16px;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 0;
}

._td_10nei_1185:nth-child(3),
._td_10nei_1185:nth-child(4) {
  overflow: visible;
}

._tdActions_10nei_1199 {
  text-align: right;
}

/* ─── Cell content ───────────────────────────────────────────────────────── */
._userName_10nei_1204 {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-900);
}

._emailCell_10nei_1210 {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

._emailText_10nei_1217 {
  font-size: 13px;
}

._dateText_10nei_1221 {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ─── Badges ─────────────────────────────────────────────────────────────── */
._badgeAdmin_10nei_1227,
._badgeViewer_10nei_1228,
._badgeActive_10nei_1229,
._badgePending_10nei_1230,
._badgeInactive_10nei_1231 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  border: 0.667px solid;
}

._badgeAdmin_10nei_1227 {
  background: var(--indigo-100);
  border-color: var(--indigo-200);
  color: var(--indigo-700);
}

._badgeViewer_10nei_1228 {
  background: var(--blue-100);
  border-color: var(--blue-200);
  color: var(--text-accent);
}

._badgeActive_10nei_1229 {
  background: var(--pastel-mint);
  border-color: var(--success-500);
  color: var(--success-600);
}

._badgePending_10nei_1230 {
  background: var(--pastel-yellow);
  border-color: var(--warning-500);
  color: var(--warning-700);
}

._badgeInactive_10nei_1231 {
  background: var(--gray-100);
  border-color: var(--gray-300);
  color: var(--gray-600);
}

._dotActive_10nei_1273,
._dotPending_10nei_1274,
._dotInactive_10nei_1275 {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

._dotActive_10nei_1273 {
  background: var(--success-600);
}

._dotPending_10nei_1274 {
  background: var(--warning-700);
}

._dotInactive_10nei_1275 {
  background: var(--gray-500);
}

/* ─── Action buttons ─────────────────────────────────────────────────────── */
._actionButtons_10nei_1295 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

._actionBtn_10nei_1302 {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  background: transparent;
  color: var(--action-primary-bg);
}

._actionBtn_10nei_1302:hover {
  background: var(--blue-50);
}

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

._actionBtnDanger_10nei_1325 {
  color: var(--error-500);
}

._actionBtnDanger_10nei_1325:hover {
  background: var(--error-50);
}

._actionBtnSave_10nei_1333 {
  color: var(--success-500);
}

._actionBtnSave_10nei_1333:hover:not(:disabled) {
  background: var(--pastel-mint);
}

._actionBtnResend_10nei_1341 {
  color: var(--indigo-600);
}

._actionBtnResend_10nei_1341:hover {
  background: var(--indigo-100);
}

._resendLink_10nei_1349 {
  background: none;
  border: none;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--action-primary-bg);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}

._resendLink_10nei_1349:hover {
  color: var(--action-primary-bg-hover);
  text-decoration: underline;
}

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

/* ─── Inline edit ────────────────────────────────────────────────────────── */
._inlineNameInput_10nei_1371,
._inlineRoleSelect_10nei_1372 {
  padding: 4px 8px;
  border: 1px solid var(--action-primary-bg);
  border-radius: 8px;
  font-size: 13px;
  color: var(--slate-900);
  background: white;
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-600) 10%, transparent);
  width: 100%;
  box-sizing: border-box;
}

._inlineNameInput_10nei_1371 {
  font-weight: 500;
  font-size: 14px;
}

._inlineRoleSelect_10nei_1372 {
  cursor: pointer;
}

/* ─── Edit row transition ────────────────────────────────────────────────── */
._tableRow_10nei_1172 td {
  transition: background 0.18s;
}

._tableRow_10nei_1172._editing_10nei_1399 {
  background: var(--blue-50);
}

@keyframes _fadeSlideIn_10nei_1 {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes _fadeSlideOut_10nei_1 {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-4px);
  }
}

._inlineNameInput_10nei_1371 {
  animation: _fadeSlideIn_10nei_1 0.15s ease;
}

._exiting_10nei_1431 ._inlineNameInput_10nei_1371,
._exiting_10nei_1431 ._roleDropdownTrigger_10nei_1432 {
  animation: _fadeSlideOut_10nei_1 0.15s ease forwards;
}

/* ─── Role Dropdown ──────────────────────────────────────────────────────── */
._roleDropdown_10nei_1432 {
  position: relative;
  display: inline-block;
  min-width: 120px;
  width: 100%;
}

._roleDropdownTrigger_10nei_1432 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  padding: 4px 8px;
  border: 1px solid var(--action-primary-bg);
  border-radius: 8px;
  font-size: 13px;
  color: var(--slate-900);
  background: white;
  cursor: pointer;
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-600) 10%, transparent);
  animation: _fadeSlideIn_10nei_1 0.15s ease;
}

._roleChevron_10nei_1462 {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

._roleChevronOpen_10nei_1467 {
  transform: rotate(180deg);
}

._roleDropdownMenu_10nei_1471 {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 200;
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px) scaleY(0.96);
  transform-origin: top;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

._roleDropdownMenuOpen_10nei_1489 {
  opacity: 1;
  transform: translateY(0) scaleY(1);
  pointer-events: auto;
}

._roleDropdownOption_10nei_1495 {
  display: block;
  width: 100%;
  padding: 8px 12px;
  text-align: left;
  background: none;
  border: none;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.1s;
}

._roleDropdownOption_10nei_1495:hover {
  background: var(--slate-100);
}

._roleDropdownOptionActive_10nei_1512 {
  color: var(--action-primary-bg);
  font-weight: 600;
  background: var(--blue-50);
}

/* ─── States ─────────────────────────────────────────────────────────────── */
._emptyCell_10nei_1519 {
  padding: 40px 16px;
}

._emptyState_10nei_1523,
._loadingState_10nei_1524,
._errorState_10nei_1525 {
  text-align: center;
  font-size: 14px;
  color: var(--text-tertiary);
}

._errorState_10nei_1525 {
  color: var(--error-500);
}

/* ─── Add User Modal ─────────────────────────────────────────────────────── */
._modalForm_10nei_1536 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

._formHintText_10nei_1542 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.5;
}

._formGroup_10nei_1549 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._formLabel_10nei_949 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

._formInput_10nei_955 {
  width: 100%;
  height: 2.75rem;
  padding: 0.75rem 1rem;
  background: white;
  border: 0.125rem solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

._formInput_10nei_955::placeholder {
  color: var(--text-disabled);
}

._formInput_10nei_955:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._formInput_10nei_955:hover:not(:focus) {
  border-color: var(--slate-300);
}

select._formInput_10nei_955 {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

._formError_10nei_1598 {
  font-size: 0.75rem;
  color: var(--error-500);
  margin: 0;
}

._modalActions_10nei_1604 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 0.0417rem solid var(--border-subtle);
}

._cancelBtn_10nei_1614 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: white;
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.2s;
}

._cancelBtn_10nei_1614:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-secondary);
}

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

._submitBtn_10nei_1638 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: linear-gradient(to bottom, var(--action-primary-bg), var(--action-primary-bg-hover));
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.2s;
}

._submitBtn_10nei_1638:hover {
  opacity: 0.9;
}

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


/* ─── Activity History ───────────────────────────────────────────────────── */
._activityList_10nei_1662 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

._activityItem_10nei_1668 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

._activityItemInfo_10nei_1680 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._activityItemText_10nei_1686 {
  font-size: 0.875rem;
  color: var(--slate-900);
  line-height: 1.375;
}

._activityItemDate_10nei_1692 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}


/* ─── Language Grid ──────────────────────────────────────────────────────── */
._languageGrid_10nei_1699 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

._languageGridItem_10nei_1705 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 1rem 1.25rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border-subtle);
}

._languageGridItem_10nei_1705:hover {
  background: var(--indigo-50);
}

._languageGridItemActive_10nei_1722 {
  border: 1px solid var(--indigo-600);
  border-radius: 8px;
  background: var(--indigo-50);
}

._languageGridItemActive_10nei_1722 ._languageGridName_10nei_1728 {
  color: var(--indigo-700);
}

._languageGridItemDisabled_10nei_1732 {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

._languageGridName_10nei_1728 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-900);
}

._languageGridRegion_10nei_1744 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}


/* ─── Activity Filter ────────────────────────────────────────────────────── */
._activityFilter_10nei_1751 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

._activityFilterInput_10nei_1757 {
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: var(--surface-page);
}

/* ─── Activity Pagination ────────────────────────────────────────────────── */
._activityPagination_10nei_1767 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

._activityPaginationBtn_10nei_1776 {
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-page);
  font-size: 0.8125rem;
  color: var(--action-primary-bg);
  cursor: pointer;
  transition: background 0.15s;
}

._activityPaginationBtn_10nei_1776:hover:not(:disabled) {
  background: var(--indigo-50);
}

._activityPaginationBtn_10nei_1776:disabled {
  color: var(--text-disabled);
  cursor: not-allowed;
}

._activityPaginationInfo_10nei_1796 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ─── Audit Log Loading Animation ────────────────────────────────────────── */
 {
  @keyframes _spin_10nei_1 {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }
}


/* Skeleton Loading Animation */
._skeleton_10nei_1816 {
  display: block;
  background: linear-gradient(90deg, var(--slate-200) 25%, var(--slate-100) 50%, var(--slate-200) 75%);
  background-size: 200% 100%;
  animation: _shimmer_10nei_1 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes _shimmer_10nei_1 {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* --- Dark mode overrides -------------------------------------------------- */
html.dark ._mainCard_10nei_196 {
  background: var(--surface-card) !important;
}

html.dark ._tabsContainer_10nei_208 {
  background: var(--surface-card) !important;
}

html.dark ._infoBanner_10nei_720 {
  background: rgba(245, 158, 11, 0.1) !important;
  border-color: rgba(245, 158, 11, 0.2) !important;
}

._joinRequestsSection_10nei_1848 {
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
}

._joinRequestsTitle_10nei_1856 {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

._joinRequestsList_10nei_1863 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._joinRequestItem_10nei_1869 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

._joinRequestInfo_10nei_1879 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._joinRequestName_10nei_1885 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

._joinRequestEmail_10nei_1891 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._joinRequestActions_10nei_1896 {
  display: flex;
  gap: 0.5rem;
}

._approveButton_10nei_1901 {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--action-primary-text);
  background-color: var(--success-600);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

._approveButton_10nei_1901:hover {
  opacity: 0.9;
}

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

._denyButton_10nei_1922 {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--action-primary-text);
  background-color: var(--error-500);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

._denyButton_10nei_1922:hover {
  opacity: 0.9;
}

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

/* ─── Visual Identity Tab ────────────────────────────────────────────────── */
._visualIdentitySection_10nei_1944 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  /* Fill the card so the header stays fixed and only the layout below scrolls. */
  height: 100%;
  min-height: 0;
}

/* Fixed tab header (title + subtitle); scoped so other tabs are unaffected. */
._visualIdentitySection_10nei_1944 > ._regionHeader_10nei_702 {
  flex-shrink: 0;
}

._visualIdentityLayout_10nei_1958 {
  display: grid;
  /* Give the left controls more room, and cap the preview so it doesn't blow
     up to the full remaining width (which, being a full-width 16:9 slide, also
     made it very tall). `minmax(0, 560px)` lets the preview shrink but never
     exceed ~560px; the leftover space becomes trailing margin. */
  /* Match the reference layout: controls capped at 400px, preview takes the
     rest (the larger column) so the 16:9 slide fills the full right width with
     no leftover white space. */
  grid-template-columns: minmax(300px, 460px) 1fr;
  gap: 1.5rem;
  /* Stretch both columns to the full row height so the preview can use ALL the
     available card height (slide scaled to fit it) instead of sizing to content. */
  align-items: stretch;
  /* The layout fills the remaining height and does NOT scroll itself. Only the
     left panel scrolls, so the preview on the right is truly fixed. */
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

@media (max-width: 900px) {
  ._visualIdentityLayout_10nei_1958 {
    grid-template-columns: 1fr;
    /* Stacked: fall back to scrolling the whole area. */
    overflow-y: auto;
  }
}

/* Left panel — the only scroll region on wide layouts. */
._viPanel_10nei_1988 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.25rem;
}

@media (max-width: 900px) {
  ._viPanel_10nei_1988 {
    height: auto;
    overflow: visible;
  }
}

._viBlock_10nei_2005 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--surface-card, #fff);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
}

._viBlockTitle_10nei_2015 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0;
}

/* Color Palette block header. */
._viBlockHeaderRow_10nei_2028 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

._viBlockHint_10nei_2035 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.4;
}

._viOptionalBadge_10nei_2042 {
  padding: 0.0625rem 0.375rem;
  background: var(--slate-100, #f1f5f9);
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-tertiary);
}

/* Palette list */
._viPaletteList_10nei_2054 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._viPaletteItem_10nei_2060 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 2px solid var(--border-default);
  border-radius: 0.5rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

._viPaletteItem_10nei_2060:hover {
  border-color: var(--action-primary-bg);
}

._viPaletteItemActive_10nei_2077 {
  border-color: var(--action-primary-bg);
  background: var(--selection-bg);
}

/* When a palette is selected, its button connects seamlessly to the colors box
   directly below: round only the TOP corners and drop the bottom border so the
   two form one continuous bordered container. */
._viPaletteItemConnected_10nei_2085 {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

._viSwatches_10nei_2091 {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 1px solid var(--border-default);
}

._viSwatch_10nei_2091 {
  width: 1.125rem;
  height: 1.5rem;
}

._viPaletteName_10nei_2104 {
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
}

._viPaletteInUse_10nei_2111 {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--action-primary-bg);
}

/* Expand/collapse chevron on the selected palette (toggles the colors). */
._viPaletteChevron_10nei_2118 {
  font-size: 1.125rem;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* Logo dropzone */
._viDropzone_10nei_2125 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 7.5rem;
  padding: 1rem;
  border: 2px solid var(--border-default);
  border-radius: 0.5rem;
  background: var(--slate-50);
  color: var(--text-tertiary);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

._viDropzone_10nei_2125:hover {
  border-color: var(--action-primary-bg);
  background: var(--selection-bg);
}

._viDropzoneText_10nei_2147 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

._viDropzoneHint_10nei_2153 {
  font-size: 0.6875rem;
  color: var(--text-quaternary, #90a1b9);
}

._viLogoPreview_10nei_2158 {
  min-height: var(--cover-title-height);
  max-height: 8rem;
  max-width: 100%;
  object-fit: contain;
}

._viScale_10nei_2165 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._viScaleHeader_10nei_2171 {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

._viScaleValue_10nei_2179 {
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

._viScaleInput_10nei_2184 {
  width: 100%;
  accent-color: var(--action-primary-bg);
}

._viScaleReset_10nei_2189 {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--action-primary-bg);
  cursor: pointer;
}

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

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

._viRemoveLogo_10nei_2217 {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--error-500, #ef4444);
  cursor: pointer;
}

._viFieldError_10nei_2228 {
  font-size: 0.75rem;
  color: var(--error-500, #ef4444);
}

/* Contact fields */
._viField_10nei_2228 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._viFieldLabel_10nei_2240 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._viInput_10nei_2245 {
  height: 2.25rem;
  padding: 0 0.75rem;
  background: var(--surface-card, #fff);
  border: 2px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: border-color 0.15s ease;
}

._viInput_10nei_2245:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._viInput_10nei_2245::placeholder {
  color: var(--text-quaternary, #90a1b9);
}

/* Right preview column */
/* Preview is fixed: the layout doesn't scroll, only the left panel does. */
._viPreviewColumn_10nei_2267 {
  /* Fill the available card height so the preview can bound the slide by BOTH
     width and height — this lets the whole slide + thumbnails fit without the
     bottom being clipped by the card's overflow. */
  align-self: stretch;
  min-height: 0;
  height: 100%;
}

._previewWrapper_10nei_2276 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0.625rem;
  /* Fill the column height; the stage flexes to the space left after the top
     bar + thumbnail strip, and the slide is scaled to fit that box. */
  height: 100%;
  min-height: 0;
}

@media (max-width: 900px) {
  ._viPreviewColumn_10nei_2267 {
    height: auto;
  }
  ._previewWrapper_10nei_2276 {
    height: auto;
    /* Stacked layout: keep a sensible height so the slide isn't tiny. */
    aspect-ratio: auto;
  }
  ._previewStageRegion_10nei_2299 {
    /* Give the stage a concrete height when the column no longer bounds it. */
    aspect-ratio: 16 / 9;
  }
}

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

._previewLiveDot_10nei_2311 {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--status-success, #10b981);
  flex-shrink: 0;
}

._previewLiveLabel_10nei_2319 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

._previewSlideCounter_10nei_2325 {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* "Fullscreen" button in the preview top bar. */
._previewExpandBtn_10nei_2332 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.75rem;
  height: 1.75rem;
  padding: 0 0.625rem;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-blue, var(--blue-600));
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

._previewExpandBtn_10nei_2332:hover {
  border-color: var(--primary-blue, var(--blue-600));
  background: var(--primary-blue-light, color-mix(in srgb, var(--blue-50) 50%, transparent));
}

/* Fullscreen overlay (portal to <body>): centers the slide at near-viewport size. */
._previewFullscreenOverlay_10nei_2356 {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.92);
  padding: 2vh 2vw;
}

._previewFullscreenClose_10nei_2367 {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}

._previewFullscreenClose_10nei_2367:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Fullscreen stage: the slide on top and the counter + thumbnail strip below,
   stacked vertically and centered, so all slides stay reachable in fullscreen. */
._previewFullscreenStage_10nei_2391 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 96vw;
  max-height: 96vh;
}

._previewFullscreenBar_10nei_2400 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: min(96vw, calc(80vh * 16 / 9));
  max-width: 100%;
}

/* Fills the remaining wrapper height and provides a stable measured box: the
   stage inside is absolutely positioned so its size reflects the AVAILABLE
   space, not the (content-driven) scaled slide — avoiding a sizing feedback loop. */
._previewStageRegion_10nei_2299 {
  position: relative;
  /* Take the height left over after the top bar + thumbnail strip. The slide
     (rendered at the design canvas) is scaled by JS to fit THIS box by both
     width and height, so the whole slide is always visible — never clipped. */
  flex: 1;
  min-height: 0;
  min-width: 0;
}

._previewStage_10nei_2299 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* White backdrop around the (centered) slide, so the gap the slide doesn't
     cover shows as white rather than the dark slide color. */
  background: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
}

/* The preview viewport is sized in JS to the scaled slide (fits width + height),
   so the whole slide is visible without scroll. */
._previewViewport_10nei_2437 {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #ffffff;
}

/* The slide stage renders at the fullscreen reference size and is scaled down
   from the top-left corner to fit the viewport. Overrides presentation.css. */
._previewStageInner_10nei_2446._previewStageInner_10nei_2446 {
  position: absolute;
  inset: auto;
  top: 0;
  left: 0;
  max-width: none;
  transform-origin: top left;
  z-index: 0;
}

._previewNavBtn_10nei_2456 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

._previewNavBtn_10nei_2456:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.8);
}

._previewNavBtn_10nei_2456:disabled {
  opacity: 0;
  pointer-events: none;
}

._previewNavPrev_10nei_2483 { left: 0.5rem; }
._previewNavNext_10nei_2484 { right: 0.5rem; }

._previewThumbStrip_10nei_2486 {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

._previewThumb_10nei_2486 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-shrink: 0;
  width: 5.5rem;
  padding: 0.375rem;
  background: transparent;
  border: 2px solid var(--border-default);
  border-radius: 0.375rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease;
}

._previewThumb_10nei_2486:hover {
  border-color: var(--action-primary-bg);
}

._previewThumbActive_10nei_2512 {
  border-color: var(--action-primary-bg);
  background: var(--selection-bg);
}

/* Mini slide thumbnail: a tiny 16:9 slide mock with an accent bar + title line,
   reflecting the active palette. Dark variant = cover/back-cover; light = content. */
._previewThumbMini_10nei_2519 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.1875rem;
  aspect-ratio: 16 / 9;
  padding: 0.3125rem 0.375rem;
  border-radius: 0.25rem;
  overflow: hidden;
}

._previewThumbMiniDark_10nei_2530 {
  background: var(--slide-bg-primary, #0f172a);
}

._previewThumbMiniLight_10nei_2534 {
  background: #ffffff;
  border: 1px solid var(--border-default);
}

._previewThumbBar_10nei_2539 {
  width: 0.75rem;
  height: 0.125rem;
  border-radius: 1px;
  background: var(--slide-highlight, #f97316);
}

._previewThumbLine_10nei_2546 {
  width: 70%;
  height: 0.1875rem;
  border-radius: 1px;
}

._previewThumbMiniDark_10nei_2530 ._previewThumbLine_10nei_2546 {
  background: #ffffff;
}

._previewThumbMiniLight_10nei_2534 ._previewThumbLine_10nei_2546 {
  background: var(--slide-bg-primary, #0f172a);
}

._previewThumbLabel_10nei_2560 {
  font-size: 0.625rem;
  line-height: 1.2;
  color: var(--text-tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._previewThumbActive_10nei_2512 ._previewThumbLabel_10nei_2560 {
  color: var(--action-primary-bg);
  font-weight: 600;
}

/* ─── Visual Identity: custom palette editor ─────────────────────────────── */
._viCustomEditor_10nei_2575 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle, #eef2f6);
}

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

._viCustomTitle_10nei_2590 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

._viCustomHint_10nei_2597 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.4;
}

._viResetBtn_10nei_2604 {
  align-self: flex-start;
  padding: 0.3125rem 0.75rem;
  background: var(--surface-card, #fff);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

._viResetBtn_10nei_2604:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

/* Secondary cancel button — paired with a primary .saveButton. Its total
   rendered height is tuned to match .saveButton exactly so the pair aligns:
   .saveButton height = 2×0.5rem padding + 1.25rem line-height + 0 border = 2.25rem.
   .viCancelBtn keeps a 1px border for the bordered-secondary look, so its
   padding is compensated: 2×0.4375rem + 1.25rem + 2×0.0625rem (1px) = 2.25rem. */
._viCancelBtn_10nei_2625 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  padding: 0.4375rem 1rem;
  background: var(--surface-card, #fff);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

._viCancelBtn_10nei_2625:hover:not(:disabled) {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

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

/* Color row */
._viColorRow_10nei_2655 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.625rem;
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  background: var(--slate-50);
}

._viColorRowTop_10nei_2665 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

._viColorSwatchBtn_10nei_2671 {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  overflow: hidden;
}

._viColorNativeInput_10nei_2685 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
}

._viColorEditHint_10nei_2696 {
  position: relative;
  width: 100%;
  padding: 0.0625rem 0;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

._viColorInfo_10nei_2710 {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.0625rem;
}

._viColorLabel_10nei_2718 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

._viColorCaption_10nei_2724 {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  line-height: 1.3;
}

._viColorHexWrap_10nei_2730 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

._viColorHexInput_10nei_2737 {
  width: 5rem;
  height: 2rem;
  padding: 0 0.5rem;
  background: var(--surface-card, #fff);
  border: 1px solid var(--border-default);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-family: var(--font-family-mono);
  color: var(--text-primary);
  text-transform: uppercase;
}

._viColorHexInput_10nei_2737:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._viColorToggleRgb_10nei_2755 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  background: var(--surface-card, #fff);
  border: 1px solid var(--border-default);
  border-radius: 0.375rem;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

._viColorToggleRgb_10nei_2755:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._viColorRgbRow_10nei_2775 {
  display: flex;
  gap: 0.5rem;
}

._viColorRgbField_10nei_2780 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex: 1;
}

._viColorRgbLabel_10nei_2787 {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-tertiary);
  width: 1rem;
}

._viColorRgbInput_10nei_2794 {
  flex: 1;
  width: 100%;
  height: 1.875rem;
  padding: 0 0.375rem;
  background: var(--surface-card, #fff);
  border: 1px solid var(--border-default);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-primary);
}

._viColorRgbInput_10nei_2794:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

/* ── Per-palette colors list (view + edit) ─────────────────────────────── */
._viColorsSection_10nei_2812 {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  /* Connect seamlessly to the selected palette button above: cancel the list
     gap (-0.5rem), drop the top border, and round only the bottom corners so
     the palette item + colors read as ONE continuous blue-bordered box. */
  margin-top: -0.5rem;
  padding: 0.75rem;
  border: 2px solid var(--primary-blue, var(--blue-600));
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
  background: var(--surface-card, #fff);
}

._viColorsTitle_10nei_2827 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

._viColorsNotice_10nei_2834 {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--text-tertiary);
}

/* Footer: "original colors" note + restore button (matches the design). */
._viColorsFooter_10nei_2842 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.25rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border-default);
}

._viColorsFooterNote_10nei_2852 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._viColorsResetBtn_10nei_2857 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 1.875rem;
  padding: 0 0.625rem;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

._viColorsResetBtn_10nei_2857:hover:not(:disabled) {
  border-color: var(--primary-blue, var(--blue-600));
  color: var(--primary-blue, var(--blue-600));
}

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

/* Save button inside the palette colors footer. */
._viColorsSaveBtn_10nei_2885 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.875rem;
  padding: 0 0.875rem;
  background: var(--primary-blue, var(--blue-600));
  border: 1px solid var(--primary-blue, var(--blue-600));
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease, background 0.15s ease;
}

._viColorsSaveBtn_10nei_2885:hover:not(:disabled) {
  opacity: 0.9;
}

._viColorsSaveBtn_10nei_2885:disabled {
  background: var(--border-default);
  border-color: var(--border-default);
  color: var(--text-quaternary, #90a1b9);
  cursor: not-allowed;
}

._viColorsList_10nei_2913 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Static (non-editable) swatch for the view-only palette. Same footprint as
   the editable swatch button, without the picker affordance. */
._viColorSwatchStatic_10nei_2921 {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Trailing cluster: hex field + Editar + Copiar buttons. */
._viColorActions_10nei_2930 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

._viColorActionBtn_10nei_2937 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 2rem;
  padding: 0 0.5rem;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-blue, var(--blue-600));
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

._viColorActionBtn_10nei_2937:hover {
  border-color: var(--primary-blue, var(--blue-600));
  background: var(--primary-blue-light, color-mix(in srgb, var(--blue-50) 50%, transparent));
}

._viColorActionBtn_10nei_2937:focus-visible {
  outline: 2px solid var(--primary-blue, var(--blue-600));
  outline-offset: 2px;
}

._viColorActionBtnCopied_10nei_2964 {
  color: var(--status-success, #10b981);
  border-color: var(--status-success, #10b981);
}

/* Icon-only copy button (no label), matching the design. */
._viColorCopyIconBtn_10nei_2970 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

._viColorCopyIconBtn_10nei_2970:hover {
  background: var(--hover, #f1f5f9);
  color: var(--primary-blue, var(--blue-600));
}

._viColorCopyIconBtn_10nei_2970:focus-visible {
  outline: 2px solid var(--primary-blue, var(--blue-600));
  outline-offset: 2px;
}

/* ── Compact per-palette color row (matches design) ────────────────────── */
._viColorRowCompact_10nei_2996 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

/* Small square color chip; when editable it wraps the hidden native picker. */
._viColorChip_10nei_3003 {
  position: relative;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  overflow: hidden;
}

._viColorName_10nei_3014 {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ─── Financial Visibility Tab (AA0000-485) ──────────────────────────────── */
._fvSection_10nei_3023 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Global lock banner */
._fvGlobalLock_10nei_3030 {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  color: var(--text-tertiary);
}

._fvGlobalLockText_10nei_3041 {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

._fvGlobalLockTitle_10nei_3049 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

._fvGlobalLockDescription_10nei_3055 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* Table */
._fvTable_10nei_3062 {
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  overflow: hidden;
}

._fvTableHead_10nei_3068 {
  display: grid;
  grid-template-columns: 1fr 10rem 11rem;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border-default);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

._fvRow_10nei_3083 {
  display: grid;
  grid-template-columns: 1fr 10rem 11rem;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

._fvItemInfo_10nei_3096 {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

._fvItemLabel_10nei_3103 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

._fvItemDescription_10nei_3109 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._fvColItem_10nei_3114 {
  min-width: 0;
}

._fvColToggle_10nei_3118 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

._fvToggleState_10nei_3124 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* Toggle switch */
._fvToggle_10nei_3124 {
  position: relative;
  flex-shrink: 0;
  width: 2.25rem;
  height: 1.25rem;
  border: none;
  border-radius: 9999px;
  background: var(--slate-300);
  cursor: pointer;
  transition: background 0.15s ease;
  padding: 0;
}

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

._fvToggleOn_10nei_3148 {
  background: var(--action-primary-bg);
}

._fvToggleKnob_10nei_3152 {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--surface-card);
  transition: transform 0.15s ease;
}

._fvToggleOn_10nei_3148 ._fvToggleKnob_10nei_3152 {
  transform: translateX(1rem);
}
/* Shared search box — extracted from the byte-identical SettingsScreen /
   UserManagementScreen search markup. Theme-token driven; no hardcoded colors. */
._searchInputWrapper_1trfw_3 {
  position: relative;
}

._searchIcon_1trfw_7 {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-tertiary);
}

._searchInput_1trfw_3 {
  width: 100%;
  padding: 8px 12px 8px 36px;
  background: var(--slate-100);
  border: 0.667px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  box-sizing: border-box;
}

._searchInput_1trfw_3::placeholder {
  color: var(--text-tertiary);
}

._searchInput_1trfw_3:focus {
  border-color: var(--action-primary-bg);
  background: var(--surface-card);
}
._pagination_6iq9y_1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

._info_6iq9y_10 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._controls_6iq9y_15 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

._btn_6iq9y_21 {
  min-width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: opacity 0.15s;
}

._btn_6iq9y_21:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

._pageBtn_6iq9y_40 {
  min-width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-card);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

._pageBtnActive_6iq9y_56 {
  border-color: var(--action-primary-bg);
  background: var(--action-primary-bg);
  color: var(--text-inverse);
}

._ellipsis_6iq9y_62 {
  min-width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}
._modalSizing_1ej3s_1 {
  max-width: 560px;
}

._subtitle_1ej3s_5 {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 4px 0;
}

._form_1ej3s_11 {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

._formGroupSmall_1ej3s_24 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 100px;
}

._formRow_1ej3s_31 {
  display: flex;
  gap: 16px;
}

._formRow_1ej3s_31 ._formGroup_1ej3s_18 {
  flex: 1;
}

._label_1ej3s_40 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

._input_1ej3s_48 {
  padding: 10px 12px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--surface-card);
  transition: border-color 0.15s;
}

._input_1ej3s_48:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--shadow-focus);
}

._input_1ej3s_48::placeholder {
  color: var(--text-disabled);
}

._input_1ej3s_48[readonly] {
  background: var(--surface-subtle);
  color: var(--text-secondary);
}

._inputError_1ej3s_73 {
  border-color: var(--error-500);
}

._inputError_1ej3s_73:focus {
  box-shadow: 0 0 0 2px var(--error-50);
}

._helper_1ej3s_81 {
  font-size: 12px;
  color: var(--text-tertiary);
}

._helperWarning_1ej3s_86 {
  font-size: 12px;
  color: var(--warning-600);
}

._helperError_1ej3s_91 {
  font-size: 12px;
  color: var(--error-600);
}

._saveError_1ej3s_96 {
  font-size: 13px;
  color: var(--error-600);
  padding: 8px 12px;
  background: var(--error-50);
  border-radius: 8px;
}

._footer_1ej3s_104 {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border-default);
}

._cancelBtn_1ej3s_112 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._cancelBtn_1ej3s_112:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-secondary);
}

._saveBtn_1ej3s_132 {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: var(--action-primary-bg);
  color: var(--action-primary-text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

._saveBtn_1ej3s_132:hover {
  background: var(--action-primary-bg-hover);
}

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

._regionToggle_1ej3s_152 {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}

._regionBtn_1ej3s_161 {
  padding: 8px 16px;
  border: none;
  background: var(--surface-card);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

._regionBtn_1ej3s_161:not(:last-child) {
  border-right: 1px solid var(--border-default);
}

._regionBtn_1ej3s_161:hover:not(:disabled) {
  background: var(--surface-subtle);
}

._regionBtn_1ej3s_161:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

._regionBtnActive_1ej3s_185 {
  background: var(--action-primary-bg);
  color: var(--action-primary-text);
}

._regionBtnActive_1ej3s_185:hover:not(:disabled) {
  background: var(--action-primary-bg-hover);
}
._modalSizing_157dm_1 {
  max-width: 640px;
}

._subtitle_157dm_5 {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
}

._packages_157dm_11 {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

._loadingState_157dm_17,
._emptyState_157dm_18 {
  width: 100%;
  text-align: center;
  padding: 32px;
  color: var(--text-tertiary);
  font-size: 14px;
}

._packageCard_157dm_26 {
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

._packageCredits_157dm_43 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
}

._packagePrice_157dm_50 {
  font-size: 14px;
  color: var(--text-secondary);
}

._packageDescription_157dm_55 {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0;
}

._quantityRow_157dm_61 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

._quantityControl_157dm_68 {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  overflow: hidden;
}

._quantityBtn_157dm_77 {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--action-secondary-bg);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

._quantityBtn_157dm_77:hover:not(:disabled) {
  background: var(--action-secondary-bg-hover);
}

._quantityBtn_157dm_77:disabled {
  color: var(--text-disabled);
  cursor: not-allowed;
}

._quantityValue_157dm_101 {
  width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

._totalCredits_157dm_109 {
  font-size: 12px;
  color: var(--text-tertiary);
}

._buyBtn_157dm_114 {
  width: 100%;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: var(--action-primary-bg);
  color: var(--action-primary-text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

._buyBtn_157dm_114:hover:not(:disabled) {
  background: var(--action-primary-bg-hover);
}

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

._footer_157dm_136 {
  margin-top: 24px;
  display: flex;
  justify-content: flex-start;
}

._cancelBtn_157dm_142 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._cancelBtn_157dm_142:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-secondary);
}


._quantityInput_157dm_163 {
  width: 48px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  border: none;
  border-left: 1px solid var(--border-default);
  border-right: 1px solid var(--border-default);
  background: var(--surface-card);
  padding: 4px 0;
  height: 28px;
  outline: none;
}._modalSizing_9085m_1 {
  max-width: 800px;
}

._subtitle_9085m_5 {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
}

._plans_9085m_11 {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

._loadingState_9085m_17,
._emptyState_9085m_18 {
  width: 100%;
  text-align: center;
  padding: 32px;
  color: var(--text-tertiary);
  font-size: 14px;
}

._planCard_9085m_26 {
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

._planCardCurrent_9085m_38 {
  border-color: var(--border-focus);
  border-width: 2px;
}

._currentBadge_9085m_43 {
  position: absolute;
  top: -10px;
  left: 16px;
  background: var(--action-primary-bg);
  color: var(--action-primary-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 8px;
}

._planName_9085m_57 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

._planPricing_9085m_64 {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

._planPrice_9085m_70 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

._planInterval_9085m_76 {
  font-size: 14px;
  color: var(--text-tertiary);
}

._planCredits_9085m_81 {
  font-size: 14px;
  color: var(--text-link);
  font-weight: 500;
  margin: 0;
}

._planDescription_9085m_88 {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

._selectBtn_9085m_95 {
  width: 100%;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: var(--action-primary-bg);
  color: var(--action-primary-text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: auto;
}

._selectBtn_9085m_95:hover:not(:disabled) {
  background: var(--action-primary-bg-hover);
}

._selectBtnDisabled_9085m_113 {
  background: var(--action-secondary-bg);
  color: var(--text-tertiary);
  cursor: default;
}

._selectBtnDisabled_9085m_113:hover {
  background: var(--action-secondary-bg);
}

._footer_9085m_123 {
  margin-top: 24px;
  display: flex;
  justify-content: flex-start;
}

._cancelBtn_9085m_129 {
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--surface-card);
  border: 0.125rem solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

._cancelBtn_9085m_129:hover {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-secondary);
}
._container_9qts8_1 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
}

._loading_9qts8_8 {
  padding: 48px;
  text-align: center;
  color: var(--text-secondary);
}

/* Top Section - Two Cards */
._topSection_9qts8_15 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

._card_9qts8_21 {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 24px;
}

._cardHeader_9qts8_28 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

._cardTitle_9qts8_35 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
  text-transform: uppercase;
}

._cardHeader_9qts8_28 ._cardTitle_9qts8_35 {
  margin-bottom: 0;
}

._editLink_9qts8_48 {
  background: none;
  border: none;
  color: var(--text-link);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}

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

/* Balance & Plan Card */
._balanceValue_9qts8_62 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

._balanceNumber_9qts8_69 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
}

._balanceLabel_9qts8_75 {
  font-size: 14px;
  color: var(--text-secondary);
}

._planName_9qts8_80 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-link);
  margin-bottom: 4px;
}

._noPlan_9qts8_87 {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

._tenure_9qts8_93 {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}

._actionButtons_9qts8_99 {
  display: flex;
  gap: 12px;
}

._btnSecondary_9qts8_104 {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-card);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

._btnSecondary_9qts8_104:hover {
  background: var(--action-secondary-bg-hover);
}

._btnPrimary_9qts8_121 {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: var(--action-primary-bg);
  color: var(--action-primary-text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

._btnPrimary_9qts8_121:hover {
  background: var(--action-primary-bg-hover);
}

/* Billing Data Card */
._billingFields_9qts8_139 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

._fieldRow_9qts8_145 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

._fieldLabel_9qts8_157 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

._fieldValue_9qts8_165 {
  font-size: 14px;
  color: var(--text-primary);
}

/* Warning Banner */
._warningBanner_9qts8_171 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--warning-50);
  border: 1px solid var(--warning-200);
  border-radius: 8px;
  font-size: 13px;
  color: var(--warning-800);
}

._warningIcon_9qts8_184 {
  font-size: 16px;
  color: var(--warning-500);
}

._warningLink_9qts8_189 {
  background: none;
  border: none;
  color: var(--text-link);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* History Section */
._historySection_9qts8_200 {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 24px;
}

._historyToolbar_9qts8_207 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 16px;
}

._historyTabs_9qts8_215 {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--slate-100);
  border-radius: 8px;
  flex-shrink: 0;
}

._historyTab_9qts8_215 {
  padding: 5px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

._historyTab_9qts8_215:hover {
  color: var(--text-primary);
}

._historyTabActive_9qts8_242 {
  background: var(--surface-card);
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

._historySearch_9qts8_249 {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  flex: 1;
  min-width: 160px;
  max-width: 260px;
}

._searchIcon_9qts8_262 {
  color: var(--text-disabled);
  flex-shrink: 0;
}

._searchInput_9qts8_267 {
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--text-primary);
  width: 100%;
}

._searchInput_9qts8_267::placeholder {
  color: var(--text-disabled);
}

._historyDateRange_9qts8_281 {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

._historyDateLabel_9qts8_288 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

._historyDateSep_9qts8_293 {
  color: var(--text-disabled);
}

._historyDateInput_9qts8_297 {
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.75rem;
  color: var(--text-primary);
  width: 120px;
  background: var(--surface-card);
}

._historyDateInput_9qts8_297:focus {
  outline: none;
  border-color: var(--action-primary-bg);
}

._historyClearBtn_9qts8_314 {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-card);
  font-family: inherit;
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

._historyClearBtn_9qts8_314:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

._historyControls_9qts8_333 {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

._transactionCount_9qts8_339 {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Filter bar */
._filterBar_9qts8_345 {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--slate-50);
}

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

._filterGroupGrow_9qts8_361 {
  flex: 1;
  min-width: 200px;
}

._filterLabel_9qts8_366 {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

._filterInput_9qts8_375 {
  height: 2rem;
  padding: 0 0.625rem;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-primary);
  color: var(--text-primary);
  font-size: 0.8125rem;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

._filterInput_9qts8_375:focus {
  border-color: var(--action-primary-bg);
}

._filterDateInput_9qts8_392 {
  width: 9rem;
}

._filterSelect_9qts8_396 {
  height: 2rem;
  padding: 0 1.75rem 0 0.625rem;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-primary);
  color: var(--text-primary);
  font-size: 0.8125rem;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%236B7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  cursor: pointer;
  transition: border-color 0.15s;
  min-width: 11rem;
}

._filterSelect_9qts8_396:focus {
  border-color: var(--action-primary-bg);
}

._filterInputSearch_9qts8_418 {
  width: 100%;
}

._clearFiltersBtn_9qts8_422 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2rem;
  padding: 0 0.75rem;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-primary);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
  align-self: flex-end;
}

._clearFiltersBtn_9qts8_422:hover {
  border-color: var(--action-primary-bg);
  color: var(--action-primary-bg);
}

/* Table */
._tableContainer_9qts8_446 {
  overflow-x: auto;
}

._table_9qts8_446 {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

._table_9qts8_446 th {
  text-align: left;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border-default);
  text-transform: uppercase;
}

._table_9qts8_446 td {
  padding: 10px 12px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

._alignRight_9qts8_473 {
  text-align: right;
}

._linkCell_9qts8_477 {
  color: var(--text-link);
  cursor: pointer;
}

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

._emptyState_9qts8_486 {
  text-align: center;
  padding: 32px 12px;
  color: var(--text-tertiary);
}

/* Pagination */
._paginationRow_9qts8_493 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

._paginationInfo_9qts8_500 {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Date Filters */
._dateFilters_9qts8_506 {
  display: flex;
  align-items: center;
  gap: 8px;
}

._dateLabel_9qts8_512 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

._dateInput_9qts8_520 {
  padding: 6px 10px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-primary);
  background: var(--surface-card);
}

._dateSeparator_9qts8_529 {
  color: var(--text-tertiary);
}

/* Status Badges */
._statusBadge_9qts8_534 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

._status_paid_9qts8_544 {
  color: var(--success-700);
  background: var(--success-50);
}

._status_processing_9qts8_549 {
  color: var(--warning-700);
  background: var(--warning-50);
}

._status_failed_9qts8_554 {
  color: var(--error-700);
  background: var(--error-50);
}

/* Invoice Link */
._invoiceLink_9qts8_560 {
  color: var(--text-link);
  text-decoration: none;
  font-size: 13px;
}

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

._noInvoice_9qts8_570 {
  color: var(--text-tertiary);
}

/* Cancel Subscription */
._cancelSection_9qts8_575 {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-default);
}

._cancelSubscriptionBtn_9qts8_581 {
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

._cancelSubscriptionBtn_9qts8_581:hover {
  color: var(--error-600);
}

._cancelConfirm_9qts8_595 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

._cancelConfirmText_9qts8_601 {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

._cancelConfirmActions_9qts8_608 {
  display: flex;
  gap: 8px;
  align-items: center;
}

._cancelConfirmBtn_9qts8_614 {
  padding: 6px 12px;
  border: 1px solid var(--error-500);
  border-radius: 6px;
  background: var(--surface-card);
  color: var(--error-600);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

._cancelConfirmBtn_9qts8_614:hover:not(:disabled) {
  background: var(--error-50);
}

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

._cancelDismissBtn_9qts8_634 {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  padding: 6px 8px;
}

._cancelDismissBtn_9qts8_634:hover {
  color: var(--text-primary);
}

._canceledNotice_9qts8_647 {
  font-size: 13px;
  color: var(--warning-600);
  margin-top: 4px;
}
._integrations_4oglc_1 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

._title_4oglc_13 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

._subtitle_4oglc_20 {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* Card + integration row */
._card_4oglc_27 {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  box-shadow: var(--shadow-card);
}

._cardTitle_4oglc_38 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

._cardSubtle_4oglc_45 {
  margin: 0.25rem 0 1rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._divider_4oglc_51 {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0.25rem 0;
}

._integrationCard_4oglc_57 {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  box-shadow: var(--shadow-card);
}

._integrationLogo_4oglc_68 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

._integrationInfo_4oglc_83 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
  min-width: 0;
}

._integrationName_4oglc_91 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

._integrationDesc_4oglc_97 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

._statusBadge_4oglc_102 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.125rem 0.625rem;
  background: var(--slate-100);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
}

._statusDot_4oglc_115 {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--text-tertiary);
  flex-shrink: 0;
}

._connectedBadge_4oglc_123 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: var(--success-50);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success-700);
  white-space: nowrap;
}

._connectedDot_4oglc_136 {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--success-500);
  flex-shrink: 0;
}

._disconnectButton_4oglc_144 {
  height: 2.25rem;
  padding: 0 1rem;
  flex-shrink: 0;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

._disconnectButton_4oglc_144:hover {
  border-color: var(--text-tertiary);
  color: var(--text-primary);
}

/* Numbered config steps */
._configStep_4oglc_163 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

._configStepNumber_4oglc_170 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background: var(--surface-card);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-tertiary);
}

._configStepBody_4oglc_185 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
  min-width: 0;
}

._configStepTitle_4oglc_193 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

._configStepText_4oglc_199 {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

._configStep1Actions_4oglc_206 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

._configOpenAws_4oglc_214 {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.5rem;
  padding: 0 1rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: none;
}

._configOpenAws_4oglc_214:hover {
  border-color: var(--ai-blue);
  color: var(--ai-blue);
}

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

._configOpenAws_4oglc_214:disabled:hover {
  border-color: var(--border-default);
  color: var(--text-secondary);
}

._configStep2Actions_4oglc_245 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

._configCredentialInput_4oglc_252 {
  flex: 1;
  min-width: 0;
  height: 2.5rem;
  padding: 0 0.875rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  outline: none;
}

._configCredentialInput_4oglc_252:focus {
  border-color: var(--ai-blue);
}

._configCredentialInput_4oglc_252::placeholder {
  color: var(--text-tertiary);
}

._configValidate_4oglc_273 {
  height: 2.5rem;
  padding: 0 1.125rem;
  flex-shrink: 0;
  background: var(--ai-blue);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

._configValidate_4oglc_273:hover:not(:disabled) {
  opacity: 0.9;
}

._configValidate_4oglc_273:disabled {
  background: var(--border-default);
  color: var(--text-tertiary);
  cursor: not-allowed;
}

._configPending_4oglc_297 {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--ai-blue);
}

._connectedBanner_4oglc_303 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--success-50);
  border: 1px solid var(--green-200);
  border-radius: 0.625rem;
  color: var(--success-700);
}

._connectedBannerText_4oglc_314 {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--success-700);
}
/* ─── Layout ─────────────────────────────────────────────────────────────── */
._pageContainer_1m1ep_2 { display: flex; height: 100vh; overflow: hidden; }
._mainContent_1m1ep_3 { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
._contentWrapper_1m1ep_4 { display: flex; flex-direction: column; flex: 1; background: var(--border-subtle); overflow: hidden; }
._breadcrumbContainer_1m1ep_5 { flex-shrink: 0; padding: 0 1.5rem; margin-top: 0.75rem; margin-bottom: 0.75rem; }
._content_1m1ep_4 { display: flex; flex-direction: column; flex: 1; padding: 0 1.5rem 1.5rem; overflow: hidden; gap: 1rem; }

/* ─── Header card (fixed, like Dashboard) ────────────────────────────────── */
._headerCard_1m1ep_9 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-card);
  border: 0.0417rem solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 0.0625rem 0.1875rem rgba(0,0,0,0.1), 0 0.0625rem 0.125rem rgba(0,0,0,0.06);
  padding: 1.25rem 1.5rem;
  flex-shrink: 0;
}
._pageHeaderLeft_1m1ep_20 { display: flex; align-items: center; gap: 1rem; }
._pageHeaderIcon_1m1ep_21 {
  width: 3rem; height: 3rem;
  background: linear-gradient(to bottom, var(--action-primary-bg), var(--action-primary-bg-hover));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0.0625rem 0.1875rem rgba(0,0,0,0.1), 0 0.0625rem 0.125rem rgba(0,0,0,0.1);
}
._pageTitle_1m1ep_29 { font-size: 1.5rem; font-weight: 700; color: var(--slate-900); margin: 0 0 0.25rem; line-height: 2rem; }
._pageSubtitle_1m1ep_30 { font-size: 0.875rem; color: var(--text-tertiary); margin: 0; }

/* ─── Main card ──────────────────────────────────────────────────────────── */
._mainCard_1m1ep_33 {
  display: flex; flex-direction: column; flex: 1; min-height: 0;
  overflow: hidden; background: var(--surface-card);
  border: 0.0417rem solid var(--border-subtle); border-radius: 8px;
  box-shadow: 0 0.0625rem 0.1875rem rgba(0,0,0,0.1), 0 0.0625rem 0.125rem rgba(0,0,0,0.06);
}

/* ─── Add button ─────────────────────────────────────────────────────────── */
._addButton_1m1ep_41 {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--action-primary-bg); color: var(--action-primary-text);
  border: none; border-radius: 8px;
  padding: 8px 16px; font-size: 14px;
  font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background 0.15s;
}
._addButton_1m1ep_41:hover { background: var(--action-primary-bg-hover); }
._addButton_1m1ep_41:focus-visible { outline: 2px solid var(--action-primary-bg); outline-offset: 2px; }

/* ─── Search ─────────────────────────────────────────────────────────────── */
._searchBar_1m1ep_53 {
  flex-shrink: 0; padding: 16px 24px;
  background: var(--surface-subtle); border-bottom: 0.667px solid var(--border-subtle);
}

/* ─── Table ──────────────────────────────────────────────────────────────── */
._tableWrapper_1m1ep_59 { flex: 1; overflow-y: auto; }
._table_1m1ep_59 { width: 100%; border-collapse: collapse; }
._tableHeaderRow_1m1ep_61 { background: var(--surface-subtle); }
._th_1m1ep_62 {
  padding: 16px 24px; text-align: left;
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  letter-spacing: 0.6px; text-transform: uppercase;
  border-bottom: 0.667px solid var(--border-subtle);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
._th_1m1ep_62:nth-child(1) { width: 25%; }
._th_1m1ep_62:nth-child(2) { width: 25%; }
._th_1m1ep_62:nth-child(3) { width: 15%; text-align: center; }
._th_1m1ep_62:nth-child(4) { width: 15%; text-align: center; }
._th_1m1ep_62:nth-child(5) { width: 15%; text-align: center; }
._th_1m1ep_62:nth-child(6) { width: 5%; text-align: center; }
._thRight_1m1ep_75 { text-align: right; }
._tableRow_1m1ep_76 { border-bottom: 0.667px solid var(--border-subtle); transition: background 0.1s; }
._tableRow_1m1ep_76:last-child { border-bottom: none; }
._tableRow_1m1ep_76:hover { background: var(--surface-subtle); }
._td_1m1ep_79 { padding: 20px 24px; vertical-align: middle; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
._td_1m1ep_79:nth-child(3), ._td_1m1ep_79:nth-child(4), ._td_1m1ep_79:nth-child(5), ._td_1m1ep_79:nth-child(6) { text-align: center; }
._tdActions_1m1ep_81 { text-align: center; }

/* ─── Cell content ───────────────────────────────────────────────────────── */
._userName_1m1ep_84 { font-size: 16px; font-weight: 500; color: var(--slate-900); }
._emailCell_1m1ep_85 { display: flex; align-items: center; gap: 8px; }
._emailText_1m1ep_86 { font-size: 14px; color: var(--text-secondary); }
._dateText_1m1ep_87 { font-size: 14px; color: var(--text-secondary); }

/* ─── Badges ─────────────────────────────────────────────────────────────── */
._badgeAdmin_1m1ep_90, ._badgeViewer_1m1ep_90, ._badgeActive_1m1ep_90, ._badgePending_1m1ep_90, ._badgeInactive_1m1ep_90 {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border-radius: 8px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
  border: 0.667px solid;
}
._badgeAdmin_1m1ep_90 { background: var(--indigo-100); border-color: var(--indigo-200); color: var(--indigo-700); }
._badgeViewer_1m1ep_90 { background: var(--blue-100); border-color: var(--blue-200); color: var(--text-accent); }
._badgeActive_1m1ep_90 { background: var(--pastel-mint); border-color: var(--success-500); color: var(--success-600); }
._badgePending_1m1ep_90 { background: var(--pastel-yellow); border-color: var(--warning-500); color: var(--warning-700); }
._badgeInactive_1m1ep_90 { background: var(--gray-100); border-color: var(--gray-300); color: var(--gray-600); }
._dotActive_1m1ep_101, ._dotPending_1m1ep_101, ._dotInactive_1m1ep_101 { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
._dotActive_1m1ep_101 { background: var(--success-600); }
._dotPending_1m1ep_101 { background: var(--warning-700); }
._dotInactive_1m1ep_101 { background: var(--gray-500); }

/* ─── Action buttons ─────────────────────────────────────────────────────── */
._actionButtons_1m1ep_107 { display: flex; align-items: center; justify-content: center; gap: 8px; }
._actionBtn_1m1ep_108 {
  width: 32px; height: 32px; border-radius: 8px; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.15s, color 0.15s;
  background: transparent; color: var(--action-primary-bg);
}
._actionBtn_1m1ep_108:hover { background: var(--blue-50); }
._actionBtn_1m1ep_108:focus-visible { outline: 2px solid var(--action-primary-bg); outline-offset: 2px; }
._actionBtn_1m1ep_108:disabled { opacity: 0.5; cursor: not-allowed; }
._actionBtnDanger_1m1ep_117 { color: var(--error-500); }
._actionBtnDanger_1m1ep_117:hover { background: var(--error-50); color: var(--error-500); }
._actionBtnSave_1m1ep_119 { color: var(--success-500); }
._actionBtnSave_1m1ep_119:hover:not(:disabled) { background: var(--pastel-mint); }
._actionBtnSave_1m1ep_119:disabled { opacity: 0.4; cursor: not-allowed; }

/* ─── Inline name edit ───────────────────────────────────────────────────── */
._inlineNameInput_1m1ep_124 {
  padding: 4px 8px;
  border: 1px solid var(--action-primary-bg);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--slate-900);
  background: var(--surface-card);
  outline: none;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-600) 10%, transparent);
}

/* ─── Empty / loading / error states ────────────────────────────────────── */
._emptyCell_1m1ep_139 { padding: 48px 24px; }
._emptyState_1m1ep_140, ._loadingState_1m1ep_140, ._errorState_1m1ep_140 {
  text-align: center; font-size: 14px; color: var(--text-tertiary);
}
._errorState_1m1ep_140 { color: var(--error-500); }

/* ─── Modal ──────────────────────────────────────────────────────────────── */
._modalBackdrop_1m1ep_146 {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; padding: 24px;
}
._modal_1m1ep_146 {
  background: var(--surface-card); border-radius: 8px; width: 100%; max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
._modalHeader_1m1ep_155 {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 0;
}

._modalTitleRow_1m1ep_160 {
  display: flex;
  align-items: center;
  gap: 10px;
}
._modalTitle_1m1ep_160 { font-size: 18px; font-weight: 600; color: var(--text-primary); margin: 0; }
._modalClose_1m1ep_166 {
  width: 32px; height: 32px; border: none; background: transparent;
  border-radius: 8px; cursor: pointer; color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
}
._modalClose_1m1ep_166:hover { background: var(--slate-100); }
._modalClose_1m1ep_166:focus-visible { outline: 2px solid var(--action-primary-bg); outline-offset: 2px; }
._modalForm_1m1ep_173 { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
._formGroup_1m1ep_174 { display: flex; flex-direction: column; gap: 6px; }
._formLabel_1m1ep_175 { font-size: 14px; font-weight: 500; color: var(--text-primary); }
._formInput_1m1ep_176, ._formSelect_1m1ep_176 {
  padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: 8px;
  font-size: 14px; color: var(--text-primary);
  outline: none; background: var(--surface-card);
}
._formInput_1m1ep_176:focus, ._formSelect_1m1ep_176:focus { border-color: var(--action-primary-bg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-600) 10%, transparent); }
._formError_1m1ep_182 { font-size: 13px; color: var(--error-500); margin: 0; }
._formHint_1m1ep_183 { font-size: 12px; color: var(--text-tertiary); margin: 0; line-height: 1.5; }
._modalActions_1m1ep_184 { display: flex; gap: 12px; justify-content: flex-end; padding-top: 4px; }
._cancelBtn_1m1ep_185 {
  padding: 8px 16px; border: 1px solid var(--border-subtle); border-radius: 8px;
  background: var(--surface-card); color: var(--text-secondary); font-size: 14px;
  cursor: pointer;
}
._cancelBtn_1m1ep_185:hover { background: var(--surface-subtle); }
._cancelBtn_1m1ep_185:disabled { opacity: 0.5; cursor: not-allowed; }
._submitBtn_1m1ep_192 {
  padding: 8px 20px; border: none; border-radius: 8px;
  background: var(--action-primary-bg); color: var(--action-primary-text); font-size: 14px;
  font-weight: 500; cursor: pointer;
}
._submitBtn_1m1ep_192:hover { background: var(--action-primary-bg-hover); }
._submitBtn_1m1ep_192:disabled { opacity: 0.5; cursor: not-allowed; }
._submitBtn_1m1ep_192:focus-visible, ._cancelBtn_1m1ep_185:focus-visible { outline: 2px solid var(--action-primary-bg); outline-offset: 2px; }

/* ─── Join Requests ──────────────────────────────────────────────────────── */
._joinRequestsSection_1m1ep_202 {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
}

._joinRequestsTitle_1m1ep_210 {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

._joinRequestsList_1m1ep_217 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._joinRequestItem_1m1ep_223 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

._joinRequestInfo_1m1ep_233 {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

._joinRequestName_1m1ep_239 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

._joinRequestEmail_1m1ep_245 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

._joinRequestActions_1m1ep_250 {
  display: flex;
  gap: 0.5rem;
}

._approveButton_1m1ep_255 {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--action-primary-text);
  background-color: var(--success-600);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

._approveButton_1m1ep_255:hover {
  opacity: 0.9;
}

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

._denyButton_1m1ep_276 {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--action-primary-text);
  background-color: var(--error-500);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

._denyButton_1m1ep_276:hover {
  opacity: 0.9;
}

._denyButton_1m1ep_276:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
._formWrapper_n4w0w_1 {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

._title_n4w0w_9 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

._subtitle_n4w0w_16 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  margin-top: -0.75rem;
}

._inputGroup_n4w0w_23 {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

._label_n4w0w_29 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

._input_n4w0w_23 {
  width: 100%;
  height: 2.5rem;
  padding: 0 1rem;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: border-color 0.2s ease;
}

._input_n4w0w_23::placeholder {
  color: var(--text-tertiary);
}

._input_n4w0w_23:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--shadow-focus);
}

._inputError_n4w0w_57 {
  border-color: var(--border-error);
}

._domainHint_n4w0w_61 {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin: 0;
}

._sectionTitle_n4w0w_67 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

._sectionSubtitle_n4w0w_74 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
  margin-top: -0.5rem;
}

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

._kmsOption_n4w0w_81 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  background: var(--surface-card);
}

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

._kmsOptionSelected_n4w0w_104 {
  border-color: var(--action-primary-bg);
  background: var(--blue-50);
}

._kmsOptionSelected_n4w0w_104:hover {
  border-color: var(--action-primary-bg);
  background: var(--blue-50);
}

._radioOuter_n4w0w_114 {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  border: 2px solid var(--border-default);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
  transition: border-color 0.2s ease;
}

._radioOuterSelected_n4w0w_127 {
  border-color: var(--action-primary-bg);
}

._radioInner_n4w0w_131 {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--action-primary-bg);
  transform: scale(0);
  transition: transform 0.2s ease;
}

._radioInnerSelected_n4w0w_140 {
  transform: scale(1);
}

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

._kmsOptionTitle_n4w0w_150 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}

._kmsOptionDescription_n4w0w_157 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

._arnSection_n4w0w_164 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

._arnInstructions_n4w0w_174 {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

._launchStackButton_n4w0w_181 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--action-primary-text);
  background-color: var(--action-primary-bg);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

._launchStackButton_n4w0w_181:hover {
  background-color: var(--action-primary-bg-hover);
}

._arnInputRow_n4w0w_203 {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

._arnInput_n4w0w_203 {
  flex: 1;
}

._validateButton_n4w0w_213 {
  height: 2.5rem;
  padding: 0 1rem;
  background: var(--action-secondary-bg);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--action-secondary-text);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

._validateButton_n4w0w_213:hover {
  background: var(--action-secondary-bg-hover);
}

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

._validationStatus_n4w0w_236 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  margin: 0;
}

._validationSuccess_n4w0w_244 {
  color: var(--text-success);
}

._validationError_n4w0w_248 {
  color: var(--text-error);
}

._primaryButton_n4w0w_252 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 2.75rem;
  background: var(--action-primary-bg);
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--action-primary-text);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

._primaryButton_n4w0w_252:hover {
  background: var(--action-primary-bg-hover);
}

._primaryButton_n4w0w_252:active {
  background: var(--action-primary-bg-active);
}

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

._errorText_n4w0w_282 {
  font-size: 0.8125rem;
  color: var(--text-error);
  margin: 0;
}

._successContainer_n4w0w_288 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 1rem 0;
}

._successIcon_n4w0w_297 {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--success-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

._successTitle_n4w0w_308 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

._successSubtitle_n4w0w_315 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

._existingOrgContainer_n4w0w_321 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  padding: 1rem 0;
}

._existingOrgActions_n4w0w_329 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

._secondaryButton_n4w0w_335 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.5rem;
  background: var(--action-secondary-bg);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--action-secondary-text);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

._secondaryButton_n4w0w_335:hover {
  background: var(--action-secondary-bg-hover);
}

._contactText_n4w0w_355 {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0;
}

._supportLink_n4w0w_361 {
  font-size: 0.875rem;
  color: var(--text-link);
  text-decoration: none;
  margin: 0.5rem 0 1rem;
  transition: color 0.2s ease;
}

._supportLink_n4w0w_361:hover {
  color: var(--text-link-hover);
  text-decoration: underline;
}

._logoutButton_n4w0w_374 {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--text-link);
  cursor: pointer;
  margin-top: 0.5rem;
  transition: color 0.2s ease;
}

._logoutButton_n4w0w_374:hover {
  color: var(--text-link-hover);
  text-decoration: underline;
}

._spinner_n4w0w_390 {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--action-primary-text);
  border-top-color: transparent;
  border-radius: 50%;
  animation: _spin_n4w0w_390 0.6s linear infinite;
}

@keyframes _spin_n4w0w_390 {
  to {
    transform: rotate(360deg);
  }
}

._loadingContainer_n4w0w_405 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  gap: 1rem;
}

._loadingText_n4w0w_414 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 48rem) {
  ._arnInputRow_n4w0w_203 {
    flex-direction: column;
  }

  ._validateButton_n4w0w_213 {
    width: 100%;
  }
}

._pendingContainer_n4w0w_430,
._deniedContainer_n4w0w_431 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem 0;
}

._waitingText_n4w0w_440 {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-style: italic;
}
/* Right-edge tab near the bottom, so it stays clear of page content and primary actions */
._bugReportButton_8enck_2 {
  position: fixed;
  bottom: 1.5rem;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.75rem;
  border-radius: 0.5rem 0 0 0.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-right: none;
  box-shadow: var(--shadow-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out, width 0.2s ease-in-out;
  z-index: 1000;
  text-decoration: none;
}

._bugReportButton_8enck_2:hover {
  width: 2.75rem;
  background: var(--surface-card-hover);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
}

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

._bugReportIcon_8enck_35 {
  width: 1.125rem;
  height: 1.125rem;
}

@media (prefers-reduced-motion: reduce) {
  ._bugReportButton_8enck_2 {
    transition: none;
  }
}
