/* ================================================================
   ULTRARELEVANT COMPONENT LIBRARY
   Corporate Design System - extracted from WHU Accelerator V2

   Usage: <link rel="stylesheet" href="ultrarelevant.css">
   Formats: format-deck | format-a4 | format-square | format-story | format-wide
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Geist+Mono:wght@400;500;600;700&display=swap');


/* ----------------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------------- */

:root {
  --ur-primary: #6b7ff5;
  --ur-primary-light: #8ba4f8;
  --ur-primary-dark: #4f5bd5;
  --ur-primary-rgb: 107, 127, 245;
  --ur-success: #22c55e;
  --ur-success-dark: #16a34a;
  --ur-danger: #dc2626;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --background: #fafafa;
  --foreground: #111827;
  --border: #e5e7eb;
  --muted: #6b7280;
  --font-sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 24px rgba(107,127,245,0.08), 0 2px 12px rgba(107,127,245,0.05);
  --shadow-glow-strong: 0 0 40px rgba(107,127,245,0.1), 0 4px 20px rgba(107,127,245,0.08), 0 8px 32px rgba(0,0,0,0.04);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 20px;
  --radius-full: 50%;
}


/* ----------------------------------------------------------------
   RESET
   ---------------------------------------------------------------- */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--gray-200); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-sans); color: var(--gray-900); line-height: 1.5; min-height: 100vh; display: flex; justify-content: center; padding: 40px 20px; }
::selection { background: var(--ur-primary); color: var(--white); }


/* ----------------------------------------------------------------
   UTILITIES
   ---------------------------------------------------------------- */

.mono { font-family: var(--font-mono); }
.text-primary { color: var(--ur-primary); }
.text-success { color: var(--ur-success-dark); }
.text-danger { color: var(--ur-danger); }
.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.uppercase { text-transform: uppercase; }


/* ----------------------------------------------------------------
   FORMAT SYSTEM
   ---------------------------------------------------------------- */

.document { display: flex; flex-direction: column; gap: 32px; }
.page { background: var(--white); box-shadow: var(--shadow-sm); border-radius: var(--radius-sm); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.page-inner { flex: 1; display: flex; flex-direction: column; position: relative; }
.format-deck .page { width: 1280px; height: 720px; }
.format-deck .page-inner { padding: 130px 80px; }
.format-a4 .page { width: 794px; min-height: 1123px; }
.format-a4 .page-inner { padding: 60px 64px; }
.format-square .page { width: 1080px; height: 1080px; }
.format-square .page-inner { padding: 80px; }
.format-story .page { width: 1080px; height: 1920px; }
.format-story .page-inner { padding: 100px 64px; }
.format-wide .page { width: 1584px; height: 396px; }
.format-wide .page-inner { padding: 48px 80px; }

@media print {
  html, body { background: white; padding: 0; }
  .document { gap: 0; }
  .page { box-shadow: none; border-radius: 0; page-break-after: always; break-after: page; }
}


/* ----------------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------------- */

.page-top { margin-bottom: 28px; flex-shrink: 0; }
.hero-headline { font-size: 64px; font-weight: 700; color: var(--gray-900); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 16px 0; }
.section-title { font-size: 34px; font-weight: 700; line-height: 1.35; color: var(--gray-900); letter-spacing: -0.02em; margin-bottom: 0; }
.section-subtitle { font-size: 20px; color: var(--gray-500); margin-top: 6px; margin-bottom: 0; line-height: 1.5; }
.hero-subline { font-size: 28px; font-weight: 500; color: var(--gray-400); line-height: 1.5; margin: 0 0 32px 0; }
.body-text { font-size: 15px; line-height: 1.6; color: var(--gray-600); }
.body-text-lg { font-size: 19px; line-height: 1.5; color: var(--gray-500); }
.mono-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.8px; color: var(--gray-400); text-transform: uppercase; }
.mono-label-sm { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.5px; color: var(--gray-400); }
.highlight { background: rgba(107,127,245,0.1); color: var(--ur-primary); font-weight: 600; border-radius: 3px; padding: 0 4px; }
.page-number { position: absolute; bottom: 16px; right: 24px; font-size: 11px; font-weight: 500; color: var(--gray-400); letter-spacing: 0.05em; font-family: var(--font-mono); }


/* ----------------------------------------------------------------
   LAYOUTS
   ---------------------------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2-1 { display: grid; grid-template-columns: 2.2fr 1fr; gap: 20px; }
.flex-row { display: flex; gap: 20px; }
.flex-col { display: flex; flex-direction: column; }
.flex-1 { flex: 1; }
.flex-center { align-items: center; justify-content: center; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 4px; }
.gap-6 { gap: 6px; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-14 { gap: 14px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.mt-auto { margin-top: auto; }
.flow-row { display: flex; flex: 1; align-items: center; justify-content: center; gap: 20px; width: 100%; }
.flow-section { display: flex; flex-direction: column; gap: 8px; align-items: center; align-self: center; }
.flow-label { font-size: 13px; color: var(--gray-500); text-align: center; }
.flow-arrow { width: 48px; height: 24px; flex-shrink: 0; }
.flow-chevron { width: 24px; height: 24px; flex-shrink: 0; color: var(--gray-300); }
.divider { height: 1px; background: var(--gray-200); width: 100%; }
.divider-dashed { height: 0; border-top: 1px dashed var(--gray-200); width: 100%; }
.divider-vertical { width: 1px; height: 32px; background: var(--gray-200); flex-shrink: 0; }


/* ----------------------------------------------------------------
   CARDS
   ---------------------------------------------------------------- */

.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-highlighted { background: linear-gradient(180deg, rgba(107,127,245,0.04) 0%, var(--white) 100%); border: 1.5px solid rgba(107,127,245,0.28); box-shadow: var(--shadow-glow); }
.card-success { border: 1.5px solid rgba(34, 197, 94, 0.25); box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.06), 0 2px 8px rgba(34, 197, 94, 0.08), 0 8px 24px rgba(34, 197, 94, 0.05); }
.card-header-blue { padding: 10px 16px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: var(--ur-primary); border-bottom: 1px solid var(--gray-100); }
.card-header-neutral { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; border-bottom: 1px solid var(--gray-100); }
.card-body { padding: 16px 20px; }
.card-body-compact { padding: 10px 16px; }

/* Metric card */
.metric-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.metric-card-highlighted { background: linear-gradient(180deg, rgba(107,127,245,0.04) 0%, var(--white) 100%); border: 1.5px solid rgba(107,127,245,0.25); box-shadow: 0 0 0 1px rgba(107,127,245,0.06), 0 2px 8px rgba(107,127,245,0.08), 0 8px 24px rgba(107,127,245,0.05); }
.metric-inner { padding: 10px 14px; }
.metric-label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.8px; color: var(--gray-400); display: block; margin-bottom: 4px; }
.metric-card-highlighted .metric-label { color: var(--ur-primary); font-weight: 800; }
.metric-value { font-family: var(--font-mono); font-size: 28px; font-weight: 700; color: var(--gray-900); line-height: 1; letter-spacing: -0.02em; }
.metric-value-lg { font-size: 32px; }
.metric-value-xl { font-size: 48px; }
.metric-unit { font-size: 13px; font-weight: 500; color: var(--gray-300); margin-left: 6px; }
.metric-desc { display: block; font-size: 11px; color: var(--gray-400); margin-top: 4px; line-height: 1.4; }

/* Quote card */
.quote-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 10px; padding: 16px 18px 14px; }
.quote-text { font-size: 15px; font-weight: 400; font-style: italic; color: var(--gray-700); line-height: 1.6; margin-bottom: 8px; }
.quote-author { font-size: 12px; font-weight: 600; color: var(--gray-800); }
.quote-role { font-size: 11px; color: var(--gray-400); }

/* Phase card */
.phase-card { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; background: var(--white); display: flex; flex-direction: column; gap: 16px; }
.phase-card-highlighted { background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.03)); border: 1.5px solid rgba(59, 130, 246, 0.28); box-shadow: 0 0 24px rgba(59, 130, 246, 0.10), 0 2px 12px rgba(59, 130, 246, 0.07); }
.phase-metric { font-family: var(--font-mono); font-size: 48px; font-weight: 700; color: var(--gray-900); line-height: 1; }
.phase-title { font-size: 10px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.07em; }
.phase-date { font-family: var(--font-mono); font-size: 11px; color: var(--gray-400); flex-shrink: 0; }
.phase-detail { font-size: 17px; line-height: 1.5; color: var(--gray-500); }

/* Product card */
.product-card { max-width: 400px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; overflow: hidden; text-decoration: none; position: relative; transition: box-shadow 0.2s; }
.product-card:hover { border-color: rgba(107,127,245,0.2); box-shadow: var(--shadow-md); }
.product-card-badge { position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--gray-400); background: var(--gray-50); border: 1px solid var(--gray-200); padding: 3px 8px; border-radius: var(--radius-sm); }


/* ----------------------------------------------------------------
   BADGES, TAGS, PILLS, CHIPS
   ---------------------------------------------------------------- */

.badge { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.5px; padding: 3px 9px; border-radius: 6px; display: inline-block; }
.badge-danger { color: var(--ur-danger); background: rgba(220, 38, 38, 0.08); }
.badge-success { color: var(--ur-success-dark); background: rgba(34, 197, 94, 0.08); }
.badge-primary { color: var(--ur-primary); background: rgba(107,127,245,0.08); }
.badge-neutral { color: var(--gray-400); background: var(--gray-50); border: 1px solid var(--gray-200); }
.tag { font-size: 11px; font-weight: 600; color: var(--gray-500); background: var(--gray-50); border: 1px solid var(--gray-100); padding: 4px 9px; border-radius: 5px; white-space: nowrap; display: inline-block; }
.pill { font-size: 11px; font-weight: 600; color: var(--gray-500); background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 6px; padding: 5px 10px; display: inline-block; }
.pill-active { color: var(--ur-primary); border-color: rgba(107,127,245,0.3); background: rgba(107,127,245,0.06); }
.chip { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 6px; padding: 5px 11px; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.chip-accepted { border-color: var(--gray-300); }
.sticker { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 1px; color: white; padding: 4px 10px; border-radius: 6px; transform: rotate(2deg); z-index: 1; display: inline-block; }
.sticker-danger { background: var(--ur-danger); box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3); }
.sticker-primary { background: linear-gradient(135deg, var(--ur-primary-dark) 0%, var(--ur-primary) 100%); box-shadow: 0 2px 10px rgba(107,127,245,0.35); }
.time-badge { font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--gray-400); background: var(--gray-50); border: 1px solid var(--gray-200); padding: 3px 8px; border-radius: var(--radius-sm); text-transform: uppercase; display: inline-block; }
.time-badge-active { color: var(--ur-primary); background: rgba(107,127,245,0.08); border-color: rgba(107,127,245,0.3); }


/* ----------------------------------------------------------------
   DATA DISPLAY
   ---------------------------------------------------------------- */

.field-pair { display: flex; align-items: center; gap: 12px; padding: 4px 20px; border-bottom: 1px solid var(--gray-100); }
.field-pair:last-child { border-bottom: none; }
.field-key { font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--gray-400); width: 72px; flex-shrink: 0; text-align: right; }
.field-value { font-size: 12px; color: var(--gray-700); font-weight: 500; }
.field-empty .field-key { color: var(--gray-300); }
.field-bar { width: 64px; height: 7px; background: var(--gray-100); border-radius: var(--radius-sm); }
.data-table { display: flex; flex-direction: column; }
.data-row { display: grid; grid-template-columns: auto 1fr; border-bottom: 1px solid var(--gray-100); font-size: 12px; }
.data-row:last-child { border-bottom: none; }
.data-field { padding: 6px 14px; font-family: var(--font-mono); color: var(--gray-700); }
.data-value { padding: 6px 12px; font-family: var(--font-mono); color: var(--gray-500); border-left: 1px solid var(--gray-100); }
.data-more { padding: 7px 14px; font-family: var(--font-mono); font-size: 11px; color: var(--gray-400); }
.ai-tag { display: inline-block; margin-left: 6px; font-family: var(--font-mono); font-size: 8px; font-weight: 700; letter-spacing: 0.5px; color: var(--ur-primary); border: 1px solid rgba(107,127,245,0.4); padding: 2px 5px; border-radius: 3px; vertical-align: middle; line-height: 1; }
.progress-track { height: 3px; background: var(--gray-100); flex-shrink: 0; width: 100%; }
.progress-bar { height: 100%; }
.progress-danger { background: var(--ur-danger); }
.progress-success { background: var(--ur-success); }
.progress-primary { background: var(--ur-primary); }
.stat-strip { display: flex; align-items: center; justify-content: center; gap: 32px; margin-top: auto; padding-top: 24px; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-primary { font-size: 14px; font-weight: 600; color: var(--gray-700); }
.stat-secondary { font-size: 13px; color: var(--gray-400); }
.layer-chip { flex: 1; background: rgba(107,127,245,0.04); border: 1px solid rgba(107,127,245,0.10); border-radius: var(--radius-md); padding: 6px 10px; display: flex; flex-direction: column; gap: 1px; }
.layer-chip-value { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--gray-800); line-height: 1.2; }
.layer-chip-name { font-size: 10px; color: var(--gray-400); font-weight: 500; }
.verdict-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 10px; }
.verdict-row-pass { background: rgba(34, 197, 94, 0.03); border-color: rgba(34, 197, 94, 0.12); }
.verdict-icon { width: 24px; height: 24px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.verdict-icon-pass { background: rgba(34, 197, 94, 0.10); color: var(--ur-success-dark); }
.verdict-icon-fail { background: rgba(220, 38, 38, 0.08); color: var(--ur-danger); }


/* ----------------------------------------------------------------
   PROCESS & FLOW
   ---------------------------------------------------------------- */

.process-bucket { width: 240px; padding: 16px 16px 14px; background: linear-gradient(180deg, var(--ur-primary-light) 0%, var(--ur-primary) 100%); border-radius: var(--radius-xl); display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 4px 20px rgba(100, 120, 230, 0.25); }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.process-step { background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.25); border-radius: 10px; padding: 14px 8px; font-size: 14px; font-weight: 600; color: white; text-align: center; backdrop-filter: blur(4px); }
.process-logo img { height: 24px; filter: brightness(0) invert(1); opacity: 0.9; }
.manual-box { width: 200px; padding: 24px 20px 20px; background: var(--gray-50); border: 1.5px solid var(--gray-200); border-radius: var(--radius-xl); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.manual-text { font-size: 14px; font-weight: 600; color: var(--gray-600); text-align: center; line-height: 1.3; }
.manual-subtext { font-size: 13px; color: var(--gray-400); text-align: center; }
.manual-steps { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; width: 100%; border-top: 1px dashed var(--gray-200); padding-top: 10px; }
.manual-step { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; color: var(--gray-400); }
.roadmap { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.roadmap-item { display: flex; flex-direction: column; }
.roadmap-header { display: flex; align-items: center; gap: 10px; }
.roadmap-num { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--gray-100); border-radius: var(--radius-full); font-size: 13px; font-weight: 700; color: var(--gray-600); flex-shrink: 0; }
.roadmap-name { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-right: 10px; }
.roadmap-desc { font-size: 13px; color: var(--gray-500); margin: 4px 0 0 38px; line-height: 1.45; }
.system-layer { width: 100%; padding: 14px 24px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); text-align: center; }
.system-layer-primary { background: linear-gradient(135deg, rgba(107,127,245,0.08), rgba(107,127,245,0.04)); border: 2px solid rgba(107,127,245,0.35); box-shadow: var(--shadow-glow-strong); padding: 22px 32px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.connector-row { display: flex; justify-content: space-around; width: 70%; padding: 10px 0; }
.connector-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-400); }
.connector-num { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; background: var(--gray-100); border-radius: var(--radius-full); font-size: 10px; font-weight: 700; color: var(--gray-500); margin: 0 4px; }


/* ----------------------------------------------------------------
   MEDIA COMPONENTS
   ---------------------------------------------------------------- */

.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.logo-grid-row { display: flex; gap: 5px; width: 100%; }
.logo-cell { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius-md); padding: 14px; display: flex; align-items: center; justify-content: center; height: 64px; }
.logo-cell img { max-width: 100%; max-height: 36px; object-fit: contain; }
.logo-cell-lg img { max-height: 52px; }
.logo-cell-compact { height: 46px; padding: 8px; flex: 1; min-width: 0; }
.logo-cell-compact img { max-height: 26px; max-width: 72px; }
.logo-cell-more { background: transparent; border-style: dashed; border-color: var(--gray-200); font-size: 12px; color: var(--gray-400); font-weight: 500; }
.team-card { display: flex; align-items: center; gap: 14px; }
.team-photo { width: 56px; height: 56px; border-radius: var(--radius-full); padding: 2px; background: var(--white); box-shadow: 0 0 0 1px var(--gray-200), 0 4px 12px rgba(0, 0, 0, 0.08); flex-shrink: 0; }
.team-photo img { width: 100%; height: 100%; border-radius: var(--radius-full); object-fit: cover; }
.team-info { display: flex; flex-direction: column; gap: 2px; }
.team-name { font-size: 15px; font-weight: 600; color: var(--gray-900); line-height: 1.3; }
.team-email { font-size: 13px; color: var(--ur-primary); font-weight: 500; }
.team-linkedin { display: inline-flex; align-items: center; color: var(--gray-400); flex-shrink: 0; text-decoration: none; transition: color 0.2s; }
.team-linkedin:hover { color: #0077b5; }
.avatar { width: 36px; height: 36px; border-radius: var(--radius-full); object-fit: cover; border: 1px solid var(--gray-200); }
.avatar-lg { width: 56px; height: 56px; }
.screenshot-frame { background: var(--gray-50); padding: 5px; border: 1px solid var(--gray-200); border-radius: 6px; box-shadow: var(--shadow-md); }
.screenshot-frame img { width: 100%; height: auto; display: block; border-radius: 3px; }
.image-frame { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.company-line { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--gray-400); }


/* ----------------------------------------------------------------
   MOCK UIs
   ---------------------------------------------------------------- */

.mock-chat { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; flex: 1; display: flex; flex-direction: column; }
.mock-chat-header { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-bottom: 1px solid var(--gray-100); }
.mock-chat-logo { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }
.mock-chat-name { font-size: 12px; font-weight: 600; color: var(--gray-700); }
.mock-chat-model { font-family: var(--font-mono); font-size: 9px; font-weight: 600; color: var(--gray-400); background: var(--gray-100); padding: 2px 6px; border-radius: var(--radius-sm); margin-left: auto; }
.mock-chat-body { padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.msg { max-width: 88%; font-size: 12px; line-height: 1.5; }
.msg-user { align-self: flex-end; background: var(--ur-primary); color: white; font-weight: 500; padding: 6px 12px; border-radius: 16px 16px 4px 16px; }
.msg-ai { align-self: flex-start; background: var(--white); border: 1px solid var(--gray-100); color: var(--gray-700); padding: 8px 12px; border-radius: 4px 16px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.msg-ai-text { font-size: 12px; line-height: 1.5; color: var(--gray-600); }
.mock-serp-searchbar { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-pill); font-size: 13px; color: var(--gray-500); }
.mock-serp-results { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mock-serp-result { display: flex; flex-direction: column; gap: 1px; }
.serp-url { font-family: var(--font-mono); font-size: 10px; color: var(--gray-400); }
.serp-title { font-size: 13px; font-weight: 600; color: #1a0dab; line-height: 1.3; }
.serp-snippet { font-size: 11px; color: var(--gray-400); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-rec { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius-md); padding: 6px 10px; display: flex; align-items: center; gap: 8px; }
.product-rec-highlighted { border-color: rgba(107,127,245,0.2); background: rgba(107,127,245,0.04); }
.product-rec-muted { opacity: 0.55; }
.rec-image { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; border: 1px solid var(--gray-100); flex-shrink: 0; }
.rec-image-placeholder { width: 36px; height: 36px; border-radius: 6px; background: var(--gray-100); flex-shrink: 0; }
.rec-name { font-size: 12px; font-weight: 700; color: var(--gray-900); }
.rec-attrs { font-size: 10px; color: var(--gray-400); }
.rec-price { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--gray-700); margin-left: auto; flex-shrink: 0; }


/* ----------------------------------------------------------------
   FILE & SOURCE DISPLAY
   ---------------------------------------------------------------- */

.source-list { display: flex; flex-direction: column; }
.source-item { padding: 8px 14px 10px; border-bottom: 1px solid var(--gray-100); }
.source-item:last-of-type { border-bottom: none; }
.source-item-header { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.file-icon { flex-shrink: 0; }
.file-label { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--gray-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.source-content { font-size: 11px; color: var(--gray-400); font-style: italic; line-height: 1.5; padding-left: 30px; }
.source-more { font-family: var(--font-mono); padding: 10px 14px; font-size: 11px; color: var(--gray-400); border-top: 1px dashed var(--gray-200); text-align: center; }
.io-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; width: 300px; }
.io-card-header { padding: 10px 16px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: var(--ur-primary); border-bottom: 1px solid var(--gray-100); }


/* ----------------------------------------------------------------
   DECORATIVE & FORMAT ADJUSTMENTS
   ---------------------------------------------------------------- */

.glow-bg { position: absolute; width: 600px; height: 600px; background: rgba(107,127,245,0.06); border-radius: var(--radius-full); filter: blur(120px); pointer-events: none; }
.glow-bg-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.comparison-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--gray-400); }
.verdict-pass { color: var(--ur-success-dark); font-weight: 600; }
.verdict-fail { color: var(--ur-danger); font-weight: 600; }
.verdict-bottom { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--gray-400); text-align: center; margin-top: auto; }
.verdict-bottom-primary { color: var(--ur-primary); font-weight: 700; }
.page-logo { height: 28px; width: auto; object-fit: contain; opacity: 0.85; }
.logos-sep { font-size: 20px; font-weight: 300; color: var(--gray-300); line-height: 1; }

/* Format-specific adjustments */
.format-a4 .section-title { font-size: 28px; }
.format-a4 .section-subtitle { font-size: 16px; }
.format-a4 .body-text { font-size: 13px; }
.format-a4 .metric-value { font-size: 24px; }
.format-a4 .metric-value-xl { font-size: 36px; }
.format-a4 .phase-metric { font-size: 36px; }
.format-square .page-inner { justify-content: center; align-items: center; text-align: center; }
.format-square .hero-headline { font-size: 56px; }
.format-square .section-title { font-size: 40px; }
.format-story .hero-headline { font-size: 52px; }
.format-story .section-title { font-size: 36px; }
.format-story .page-inner { gap: 32px; }
.format-wide .page-inner { flex-direction: row; align-items: center; gap: 48px; }
.format-wide .hero-headline { font-size: 36px; }
.format-wide .section-title { font-size: 28px; }
