:root {
  color-scheme: dark;
  --ink: #080b12;
  --ink-2: #0e1320;
  --panel: #121827;
  --panel-2: #182238;
  --line: rgba(163, 180, 212, .16);
  --muted: #98a8c5;
  --text: #f5f7fb;
  --mint: #69a7ff;
  --mint-2: #3976e8;
  --amber: #f6b85f;
  --rose: #ff7a8a;
  --blue: #70d7ff;
  --surface: var(--panel);
  --surface-soft: var(--panel-2);
  --line-strong: rgba(163, 180, 212, .34);
  --success: #258455;
  --warning: var(--amber);
  --danger: var(--rose);
  --blue-soft: rgba(42, 120, 196, .08);
  --blue-line: rgba(42, 120, 196, .28);
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Shared acquisition inbox + record communications sidecard */
.inbox-layout { display:grid; grid-template-columns:minmax(260px,340px) minmax(0,1fr); min-height:650px; overflow:hidden; }
.inbox-list { border-right:1px solid var(--line); background:#f7faf8; overflow:auto; }
.inbox-list-head { padding:16px 18px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; gap:12px; color:var(--ink); }
.inbox-list-head strong { font-size:11px; }
.inbox-list-head span { font-size:8px; color:var(--muted); text-transform:uppercase; letter-spacing:.1em; }
.inbox-thread { width:100%; border:0; border-bottom:1px solid var(--line); background:transparent; padding:16px 18px; text-align:left; color:var(--ink); display:grid; gap:6px; }
.inbox-thread:hover,.inbox-thread.selected { background:#fff; }
.inbox-thread.selected { box-shadow:inset 3px 0 var(--mint-2); }
.thread-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.inbox-thread strong { font-size:11px; }
.inbox-thread b { font-size:9px; }
.inbox-thread small { font-size:9px; color:var(--muted); line-height:1.45; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.thread-meta { font-size:8px; color:#52627e; }
.inbox-detail { min-width:0; }
.comm-sidecard { display:grid; gap:14px; }
.inbox-detail .comm-sidecard { padding:22px; }
.comm-header { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; }
.comm-header h3 { margin:5px 0; font-size:17px; letter-spacing:-.03em; }
.comm-header p { margin:0; font-size:9px; color:var(--muted); }
.comm-status { text-align:right; display:grid; justify-items:end; gap:5px; }
.comm-status small { font-size:8px; color:var(--muted); }
.comm-controls { display:flex; align-items:end; gap:8px; flex-wrap:wrap; padding:11px; background:#f5f8f6; border:1px solid var(--line); border-radius:10px; }
.comm-controls label { display:grid; gap:4px; font-size:8px; color:var(--muted); }
.comm-controls select { height:34px; border:1px solid var(--line); border-radius:7px; background:#fff; color:var(--ink); padding:0 8px; font-size:9px; }
.comm-controls .button.secondary { color:var(--ink); border-color:#cbd8d3; background:#fff; }
.message-timeline { display:grid; gap:9px; max-height:340px; overflow:auto; padding-right:4px; }
.message { max-width:86%; border:1px solid var(--line); border-radius:12px; padding:11px 12px; background:#fff; color:var(--ink); }
.message.outbound { margin-left:auto; background:#eef4ff; border-color:#c9d9f5; }
.message.internal { max-width:100%; background:#f4f1e9; border-style:dashed; }
.message.simulated-failed { border-color:#e9b7b7; background:#fff4f4; }
.message>div,.message footer { display:flex; justify-content:space-between; gap:10px; color:var(--muted); font-size:7px; }
.message .channel { text-transform:uppercase; letter-spacing:.09em; color:#315fbd; font-weight:700; }
.message p { margin:8px 0; font-size:10px; line-height:1.5; }
.message footer b { text-transform:capitalize; }
.composer { border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#fff; color:var(--ink); }
.composer-tabs { display:flex; gap:4px; flex-wrap:wrap; padding:9px 10px; background:#f6f8f7; border-bottom:1px solid var(--line); }
.composer-tabs label { font-size:8px; padding:5px 7px; border-radius:6px; }
.composer textarea { width:100%; resize:vertical; border:0; padding:12px; font:inherit; font-size:10px; color:var(--ink); }
.composer textarea:focus { outline:2px solid var(--mint-2); outline-offset:-2px; }
.composer-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 10px; border-top:1px solid var(--line); }
.composer-foot p { margin:0; color:var(--muted); font-size:8px; line-height:1.4; }
.delivery-recovery { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px; border:1px solid #e7c29f; background:#fff8ef; color:var(--ink); border-radius:10px; }
.delivery-recovery strong { font-size:10px; }
.delivery-recovery p { font-size:8px; color:var(--muted); margin:3px 0 0; }
.record-link { border:0; background:transparent; color:#315fbd; font-weight:700; font-size:9px; text-align:left; padding:4px 0; }
.section>.comm-sidecard.compact .message-timeline { max-height:250px; }
@media(max-width:850px) { .inbox-layout { grid-template-columns:1fr; } .inbox-list { border-right:0; border-bottom:1px solid var(--line); max-height:270px; } .comm-header { display:grid; } .comm-status { justify-items:start; text-align:left; } .message { max-width:94%; } }
@media(max-width:560px) { .inbox-detail .comm-sidecard { padding:14px; } .comm-controls { display:grid; grid-template-columns:1fr 1fr; } .comm-controls label,.comm-controls select,.comm-controls button { width:100%; } .composer-foot,.delivery-recovery { align-items:stretch; display:grid; } .composer-foot .button,.delivery-recovery .button { width:100%; } .message { max-width:100%; } }
* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; min-width: 320px; overflow-x: clip; background: radial-gradient(circle at 78% -10%, rgba(57, 118, 232, .18), transparent 34%), var(--ink); color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(105, 167, 255, .58); outline-offset: 2px; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 100; background: var(--mint); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 800; }
.skip-link:focus-visible { top: 14px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 26px 18px 20px; display: flex; flex-direction: column; gap: 30px; border-right: 1px solid var(--line); background: rgba(8, 11, 18, .92); backdrop-filter: blur(24px); z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; color: inherit; text-decoration: none; }
.brand strong { display: block; letter-spacing: -.02em; font-size: 17px; }
.brand small, .sidebar-foot small { display: block; color: var(--muted); margin-top: 2px; }
.brand-logo { display: block; width: clamp(138px, 15vw, 178px); height: auto; flex: 0 0 auto; }
.brand-product { min-width: 0; padding-left: 12px; border-left: 1px solid var(--line); }
.brand-product strong { font-size: 14px; }
.brand-product small { font-size: 10px; white-space: nowrap; }
.sidebar .brand { display: grid; gap: 9px; padding: 0 6px; }
.sidebar .brand-logo { width: 100%; max-width: 202px; padding: 6px; border-radius: 9px; background: #fff; }
.sidebar .brand-product { padding: 0; border: 0; }
nav { display: grid; gap: 6px; }
.nav-item { appearance: none; border: 0; width: 100%; display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 11px; color: #aebbd2; background: transparent; text-align: left; transition: .18s ease; }
.nav-item:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-item.active { color: var(--mint); background: rgba(105, 167, 255, .1); box-shadow: inset 0 0 0 1px rgba(105, 167, 255, .14); }
.nav-icon { width: 22px; text-align: center; opacity: .9; }
.nav-count { margin-left: auto; min-width: 22px; padding: 2px 6px; text-align: center; border-radius: 999px; background: rgba(255,255,255,.07); font-size: 11px; }
.sidebar-foot { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 14px 10px; border-top: 1px solid var(--line); }
.sidebar-exit { display: grid; gap: 7px; margin-top: auto; padding: 12px 10px; border-top: 1px solid var(--line); }
.sidebar-exit a { color: var(--muted); font-size: 11px; text-decoration: none; }
.sidebar-exit a:hover { color: var(--mint); }
.sidebar-exit + .sidebar-foot { margin-top: 0; }
.sidebar-foot strong { font-size: 12px; }

.appointments-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
.appointments-summary article { display:grid; gap:3px; padding:18px; border:1px solid #cbd7e6; border-radius:14px; background:#fff; }
.appointments-summary strong { color:#074783; font-size:28px; line-height:1; }
.appointments-summary span { color:#526985; font-size:12px; }
.calendar-card { overflow:hidden; padding:0; }
.calendar-card > header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px; border-bottom:1px solid #cbd7e6; }
.calendar-card h2,.appointment-agenda h2 { margin:3px 0 0; }
.calendar-weekdays,.calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); }
.calendar-weekdays { border-bottom:1px solid #cbd7e6; background:#f4f7fb; }
.calendar-weekdays span { padding:9px; color:#526985; font-size:11px; font-weight:800; text-align:center; text-transform:uppercase; }
.calendar-day { min-height:112px; padding:8px; border-right:1px solid #dbe3ed; border-bottom:1px solid #dbe3ed; background:#fff; }
.calendar-day:nth-child(7n) { border-right:0; }
.calendar-day.outside { background:#f7f9fc; }
.calendar-day.today { background:#edf6ff; box-shadow:inset 0 0 0 2px #0b5aa6; }
.calendar-date { display:flex; justify-content:space-between; gap:4px; color:#29415f; font-size:12px; font-weight:800; }
.calendar-date small { color:#0b5aa6; font-size:9px; text-transform:uppercase; }
.calendar-event { display:grid; width:100%; min-height:0; margin-top:6px; padding:7px; border:0; border-radius:7px; color:#fff; background:#0b4f91; text-align:left; cursor:pointer; }
.calendar-event.needs-confirmation { color:#5f3a00; background:#ffe5b3; }
.calendar-event strong { font-size:10px; }.calendar-event span { font-size:10px; line-height:1.25; }
.appointment-agenda { display:grid; gap:10px; margin-top:24px; }
.appointment-card { display:grid; grid-template-columns:92px minmax(0,1fr) auto auto; align-items:center; gap:16px; padding:16px; border:1px solid #cbd7e6; border-radius:14px; background:#fff; }
.appointment-time { display:grid; padding-right:14px; border-right:1px solid #dbe3ed; }.appointment-time strong { color:#074783; }.appointment-time span { color:#526985; font-size:12px; }
.appointment-card h3,.appointment-card p { margin:2px 0; }.appointment-card p { color:#526985; font-size:12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px rgba(105,167,255,.72); }

.main-column { min-width: 0; }
.topbar { min-height: 86px; position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 20px; padding: 16px clamp(20px, 3vw, 44px); background: rgba(8,11,18,.86); border-bottom: 1px solid var(--line); backdrop-filter: blur(22px); }
.context-copy { margin-right: auto; }
.eyebrow { color: var(--mint); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 10px; }
.context-copy h1 { margin: 3px 0 0; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.04em; }
.top-actions { display: flex; gap: 9px; align-items: center; }
.role-picker { display: grid; gap: 2px; color: var(--muted); font-size: 10px; }
.role-picker select { color: var(--text); border: 0; background: transparent; font-weight: 750; padding: 0 20px 0 0; }
.demo-banner { display: flex; align-items: center; gap: 12px; padding: 10px clamp(20px, 3vw, 44px); border-bottom: 1px solid rgba(255,191,105,.2); background: rgba(255,191,105,.07); color: #d6c4a9; font-size: 12px; }
.demo-banner strong { color: var(--amber); white-space: nowrap; }
.mobile-menu { display: none; }
.sidebar-scrim { display:none; position:fixed; inset:0; z-index:19; width:100%; height:100%; min-height:100dvh; padding:0; border:0; background:rgba(7,27,58,.42); }

#workspace { padding: 30px clamp(20px, 3vw, 44px) 70px; max-width: 1680px; margin: 0 auto; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-intro h2 { font-size: clamp(25px, 3vw, 40px); max-width: 800px; margin: 0 0 8px; letter-spacing: -.045em; line-height: 1.05; }
.page-intro p { color: var(--muted); margin: 0; max-width: 720px; line-height: 1.6; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.grid { display: grid; gap: 16px; }
.kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.two-col { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: linear-gradient(145deg, rgba(24,34,56,.94), rgba(14,19,32,.96)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(255,255,255,.035) inset; }
.card.pad { padding: 20px; }
.card-header { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.card-header h3, .card h3 { margin: 0; font-size: 15px; letter-spacing: -.02em; }
.card-header p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.metric { padding: 18px; min-height: 128px; position: relative; overflow: hidden; }
.metric::after { content: ""; width: 80px; height: 80px; position: absolute; right: -24px; bottom: -32px; border: 16px solid rgba(105,167,255,.06); border-radius: 50%; }
.metric-label { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.metric-value { display: block; margin: 9px 0 8px; font-size: 32px; font-weight: 820; letter-spacing: -.06em; }
.metric-foot { color: #b9c9c3; font-size: 11px; }
.metric-foot.good { color: var(--mint); }
.metric-foot.warn { color: var(--amber); }

.funnel { display: grid; grid-template-columns: repeat(6, minmax(85px, 1fr)); gap: 8px; align-items: stretch; }
.funnel-stage { position: relative; padding: 14px 12px; min-height: 95px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.05); }
.funnel-stage::after { content: "›"; position: absolute; top: 34px; right: -8px; z-index: 2; color: #52627e; }
.funnel-stage:last-child::after { display: none; }
.funnel-stage strong { display: block; font-size: 24px; letter-spacing: -.05em; }
.funnel-stage span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.progress { height: 7px; margin-top: 12px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint-2), var(--mint)); }

.list { display: grid; }
.list-row { display: grid; grid-template-columns: minmax(190px, 1.3fr) minmax(115px, .75fr) minmax(110px, .65fr) minmax(95px, .55fr) 44px; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; color: inherit; background: transparent; border: 0; border-top: 1px solid var(--line); text-align: left; }
.list-row:first-child { border-top: 0; }
.list-row:hover { background: rgba(255,255,255,.025); }
.vehicle { display: flex; gap: 12px; align-items: center; min-width: 0; }
.vehicle > span { min-width: 0; }
.vehicle-art { width: 50px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: var(--mint); background: linear-gradient(145deg, rgba(105,167,255,.16), rgba(112,215,255,.05)); font-size: 20px; }
.vehicle strong, .vehicle small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vehicle small, .subtle { color: var(--muted); font-size: 11px; margin-top: 3px; }
.cell-label { display: none; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 9px; }
.amount { font-variant-numeric: tabular-nums; font-weight: 720; }
.chevron { text-align: right; color: var(--muted); }
.table-head { display: grid; grid-template-columns: minmax(190px, 1.3fr) minmax(115px, .75fr) minmax(110px, .65fr) minmax(95px, .55fr) 44px; gap: 14px; padding: 0 18px 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 9px; }

.badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; color: #cbd8d3; background: rgba(255,255,255,.035); font-size: 10px; font-weight: 700; }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge.mint { color: var(--mint); background: rgba(105,167,255,.08); border-color: rgba(105,167,255,.18); }
.badge.amber { color: var(--amber); background: rgba(255,191,105,.06); border-color: rgba(255,191,105,.16); }
.badge.rose { color: var(--rose); background: rgba(255,125,131,.06); border-color: rgba(255,125,131,.15); }
.badge.blue { color: var(--blue); background: rgba(116,185,255,.06); border-color: rgba(116,185,255,.15); }

.button, .icon-button { appearance: none; border: 0; border-radius: 10px; font-weight: 780; color: var(--text); transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.button { padding: 11px 15px; }
.button:hover, .icon-button:hover { transform: translateY(-1px); }
.button.primary { color: #07101f; background: var(--mint); }
.button.secondary { background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.button.ghost { background: transparent; color: var(--muted); border: 1px solid transparent; }
.button.danger { color: var(--rose); background: rgba(255,125,131,.08); border: 1px solid rgba(255,125,131,.18); }
.button.compact { padding: 9px 12px; font-size: 11px; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); }

.queue-toolbar { display: flex; gap: 10px; margin-bottom: 14px; }
.priority-radar { margin-bottom: 16px; padding: 20px; overflow: hidden; border: 1px solid rgba(105,167,255,.25); border-radius: 18px; background: radial-gradient(circle at 88% 0, rgba(105,167,255,.14), transparent 34%), linear-gradient(145deg, rgba(24,34,56,.95), rgba(14,19,32,.97)); }
.priority-radar > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.priority-radar h3 { margin: 5px 0 6px; font-size: 17px; }
.priority-radar header p { max-width: 760px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.priority-leaders { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.priority-card { min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 13px; color: var(--text); background: rgba(8,11,18,.5); text-align: left; }
.priority-card:hover { border-color: rgba(105,167,255,.4); background: rgba(105,167,255,.07); }
.priority-rank { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.priority-card strong, .priority-card small { display: block; }
.priority-card strong { overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.priority-card small { margin-top: 5px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.priority-radar > footer { display: flex; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.5; }
.priority-radar > footer strong { color: var(--amber); white-space: nowrap; }
.score-orbit { width: 52px; height: 52px; display: grid; place-content: center; flex: 0 0 auto; border: 4px solid currentColor; border-radius: 50%; text-align: center; background: rgba(8,11,18,.75); }
.score-orbit.mint { color: var(--mint); } .score-orbit.blue { color: var(--blue); } .score-orbit.amber { color: var(--amber); } .score-orbit.rose { color: var(--rose); }
.score-orbit b { font-size: 16px; line-height: 1; }
.score-orbit small { margin-top: 2px; color: currentColor; font-size: 7px; }
.routing-review { display: grid; grid-template-columns: minmax(220px,.9fr) minmax(0,1.1fr); gap: 18px; margin-bottom: 16px; padding: 20px; border: 1px solid rgba(246,184,95,.42); border-radius: 16px; background: linear-gradient(135deg,rgba(246,184,95,.12),rgba(14,19,32,.9)); }
.routing-review h3 { margin: 5px 0 7px; }
.routing-review p { margin: 0; color: var(--muted); }
.routing-review article { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(8,11,18,.74); }
.routing-review article span, .routing-review article small { color: var(--muted); }
.routing-review article b { margin-top: 5px; color: var(--amber); font-size: .86rem; }
.submission-linkage { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(84,167,255,.07); }
.submission-linkage p { margin: 0; color: var(--muted); font-size: .84rem; }
.pending-economics { padding: 16px; border: 1px dashed rgba(84,167,255,.36); border-radius: 12px; background: rgba(84,167,255,.06); }
.pending-economics p { margin: 5px 0 0; color: var(--muted); }
.valuation-packet { background: linear-gradient(145deg, rgba(105,167,255,.07), rgba(112,215,255,.025)); }
.packet-summary { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8,11,18,.5); }
.packet-summary h4, .packet-panel h4, .conflict-view h4 { margin: 4px 0 0; font-size: 14px; }
.packet-summary p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.confidence-orbit { width: 78px; height: 78px; display: grid; place-content: center; flex: 0 0 auto; border: 6px solid currentColor; border-radius: 50%; text-align: center; background: rgba(255,255,255,.025); }
.confidence-orbit strong { font-size: 22px; line-height: 1; }
.confidence-orbit span { margin-top: 4px; font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.confidence-orbit.mint { color: var(--mint); } .confidence-orbit.amber { color: var(--amber); } .confidence-orbit.rose { color: var(--rose); }
.packet-stops { display: grid; gap: 8px; margin-top: 12px; padding: 14px; border: 1px solid rgba(255,125,131,.25); border-radius: 13px; background: rgba(255,125,131,.065); }
.packet-stops > strong { color: var(--rose); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.packet-stops article { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; align-items: center; }
.packet-stops article span, .packet-stops article small { color: #e7acae; font-size: 9px; }
.packet-stops article p { margin: 0; font-size: 11px; }
.packet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.packet-panel { min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.018); }
.packet-panel-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.packet-list { margin: 11px 0 0; padding-left: 17px; color: var(--amber); font-size: 10px; line-height: 1.6; }
.packet-ok { margin: 11px 0 0; color: var(--mint); font-size: 10px; }
.packet-ok.wide { padding: 12px 14px; border: 1px solid rgba(105,167,255,.18); border-radius: 12px; background: rgba(105,167,255,.05); }
.dimension-list { display: grid; gap: 10px; margin-top: 12px; }
.dimension-list > div { display: grid; grid-template-columns: minmax(0,1fr) 80px 24px; gap: 8px; align-items: center; }
.dimension-list span { min-width: 0; }
.dimension-list b, .dimension-list small { display: block; }
.dimension-list b { font-size: 10px; } .dimension-list small { margin-top: 2px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.dimension-list meter { width: 100%; height: 7px; accent-color: var(--mint); }
.dimension-list > div > strong { font-size: 9px; text-align: right; }
.packet-ranges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.packet-range { padding: 14px; border: 1px solid rgba(116,185,255,.17); border-radius: 13px; background: rgba(116,185,255,.05); }
.packet-range span, .packet-range small, .signal-grid span, .signal-grid small { display: block; color: var(--muted); font-size: 9px; }
.packet-range strong { display: block; margin: 6px 0 5px; font-size: 18px; }
.packet-range.blocked { grid-column: 1 / -1; border-color: rgba(255,125,131,.2); background: rgba(255,125,131,.05); }
.packet-range.blocked strong { color: var(--rose); }
.signal-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.signal-grid article { padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); }
.signal-grid strong { display: block; margin: 5px 0; font-size: 10px; line-height: 1.4; }
.conflict-view { display: grid; gap: 8px; margin-top: 12px; padding: 14px; border: 1px solid rgba(255,191,105,.18); border-radius: 13px; background: rgba(255,191,105,.045); }
.conflict-view article { padding: 11px; border-left: 2px solid var(--amber); background: rgba(0,0,0,.12); }
.conflict-view article.stop { border-left-color: var(--rose); }
.conflict-view article strong { font-size: 10px; } .conflict-view article p { margin: 4px 0; font-size: 10px; line-height: 1.45; } .conflict-view article small { color: var(--muted); font-size: 9px; }
.packet-detail { margin-top: 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(0,0,0,.1); }
.packet-detail summary { padding: 13px 14px; cursor: pointer; color: #c8d9d2; font-size: 10px; font-weight: 750; }
.source-cards { display: grid; gap: 8px; padding: 0 13px 13px; }
.source-cards article { padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); }
.source-cards article > div { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.source-cards article > div small, .source-cards article footer { color: var(--muted); font-size: 8px; }
.source-cards article > strong { display: block; margin-top: 8px; font-size: 11px; }
.source-cards article p { margin: 4px 0 8px; color: #bacbc4; font-size: 9px; line-height: 1.45; }
.packet-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 13px 13px; }
.packet-notes > div { padding: 12px; border: 1px solid var(--line); border-radius: 11px; }
.packet-notes strong { font-size: 10px; } .packet-notes ul { margin: 7px 0 0; padding-left: 16px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.condition-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.condition-summary article, .condition-findings article { padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(105,167,255,.045); }
.condition-summary span, .condition-summary small { display: block; color: var(--muted); font-size: 9px; }
.condition-summary strong { display: block; margin: 6px 0; font-size: 16px; }
.condition-findings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.condition-findings header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.condition-findings header small, .condition-findings footer { color: var(--muted); font-size: 9px; }
.condition-findings p { color: var(--muted); font-size: 10px; line-height: 1.5; }
.condition-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 13px 13px; }
.condition-detail > div { padding: 12px; border: 1px solid var(--line); border-radius: 11px; }
.condition-detail strong { font-size: 10px; }
.condition-detail ul { margin: 7px 0 0; padding-left: 16px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.marketplace-stage-kpis { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; margin-bottom: 12px; }
.marketplace-stage-kpis article { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(105,167,255,.045); }
.marketplace-stage-kpis span { color: var(--muted); font-size: 9px; }
.marketplace-stage-kpis strong { font-size: 16px; }
.marketplace-toolbar { margin-bottom: 14px; }
.marketplace-guidance { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:12px 0; }
.marketplace-guidance article { padding:13px; border:1px solid var(--line); border-radius:12px; background:rgba(105,167,255,.045); }
.marketplace-guidance span { color:var(--blue); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; }
.marketplace-guidance p { margin:7px 0; color:var(--muted); font-size:10px; line-height:1.5; }
.marketplace-guidance strong { display:block; margin-top:7px; font-size:12px; }
.marketplace-guidance small { color:var(--muted); font-size:9px; }
.marketplace-guidance ul { margin:7px 0; padding-left:17px; color:var(--muted); font-size:9px; line-height:1.45; }
.source-card-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.economics-scenarios { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.economics-scenarios article { padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(105,167,255,.045); }
.economics-scenarios h4 { margin: 7px 0 12px; font-size: 14px; }
.economics-scenarios dl { margin: 0; }
.economics-scenarios dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 9px; }
.economics-scenarios dt { color: var(--muted); }
.economics-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 13px 13px; }
.economics-detail > div { padding: 12px; border: 1px solid var(--line); border-radius: 11px; }
.economics-detail p,.economics-detail li,.economics-detail small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.economics-detail ul { padding-left: 16px; }
.value-box.context-only { border-style: dashed; }
.search { flex: 1; min-width: 160px; }
input, select, textarea { color: var(--text); background: #0e1523; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
input::placeholder, textarea::placeholder { color: #697995; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; color: #c8d2e4; font-size: 11px; font-weight: 700; }
.field[hidden] { display: none !important; }
.field.full { grid-column: 1 / -1; }
.field-hint { color: var(--muted); font-size: 10px; font-weight: 500; }

.kanban { display: grid; grid-template-columns: repeat(4, minmax(230px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 10px; }
.kanban-col { min-height: 420px; padding: 12px; border-radius: 15px; background: rgba(255,255,255,.018); border: 1px solid var(--line); }
.kanban-head { display: flex; justify-content: space-between; padding: 5px 4px 13px; }
.kanban-head strong { font-size: 12px; }
.kanban-card { width: 100%; margin-bottom: 9px; padding: 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: var(--panel); color: inherit; text-align: left; }
.kanban-card:hover { border-color: rgba(105,167,255,.3); }
.kanban-card strong, .kanban-card small { display: block; }
.kanban-card small { color: var(--muted); margin-top: 4px; }
.kanban-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 13px; font-size: 10px; color: #bdccc7; }

.attention-list { display: grid; gap: 10px; }
.attention-item { padding: 13px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.attention-item strong { display: block; font-size: 12px; }
.attention-item p { margin: 5px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.45; }

.drawer-layer { position: fixed; inset: 0; overflow: hidden; z-index: 50; }
.drawer-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.58); backdrop-filter: blur(6px); }
.drawer { position: absolute; inset: 0 0 0 auto; width: min(720px, 94vw); overflow: auto; background: #0b101b; border-left: 1px solid var(--line); box-shadow: var(--shadow); animation: drawer-in .24s ease; }
.drawer-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px; background: rgba(11,16,27,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(20px); }
.drawer-head h2 { margin: 3px 0 0; font-size: 25px; letter-spacing: -.04em; }
.drawer-body { padding: 22px 24px 60px; display: grid; gap: 15px; }
.record-hero { display: grid; grid-template-columns: 1fr auto; gap: 20px; }
.record-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 13px; color: #bfd0ca; font-size: 11px; }
.record-price { font-size: 28px; font-weight: 820; letter-spacing: -.05em; text-align: right; }
.record-price small { display: block; color: var(--muted); font-size: 10px; letter-spacing: 0; }
.section { padding: 18px; border-radius: 15px; border: 1px solid var(--line); background: rgba(255,255,255,.022); }
.section-title { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; }
.section-title h3 { margin: 0; font-size: 13px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-item { display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.025); color: #bdccc7; font-size: 11px; }
.check-item input { accent-color: var(--mint); }
.valuation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.value-box { padding: 12px; border-radius: 10px; background: #0e1523; }
.value-box span { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.value-box strong { display: block; margin-top: 6px; font-size: 17px; }
.timeline { display: grid; gap: 13px; }
.event { display: grid; grid-template-columns: 10px 1fr; gap: 10px; }
.event-dot { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(105,167,255,.09); }
.event strong, .event small { display: block; }
.event strong { font-size: 11px; }
.event small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.modal { width: min(650px, calc(100vw - 30px)); max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); box-sizing: border-box; overflow-x: hidden; padding: 0; color: var(--text); background: #0e1523; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.modal-head { display: flex; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 20px; }
.modal-body { padding: 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 22px; border-top: 1px solid var(--line); }
.tour-step { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.tour-step:first-child { border-top: 0; }
.tour-num { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--mint); background: rgba(105,167,255,.09); font-weight: 850; }
.tour-step h3 { margin: 1px 0 5px; font-size: 13px; }
.tour-step p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 11px; }

.bar-chart { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 130px minmax(120px, 1fr) 55px; gap: 11px; align-items: center; font-size: 11px; }
.bar-track { height: 9px; border-radius: 99px; background: rgba(255,255,255,.055); overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint-2), var(--mint)); }
.config-list { display: grid; gap: 10px; }
.config-row { display: grid; grid-template-columns: minmax(190px, 1fr) 120px 1.3fr; gap: 16px; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid var(--line); }
.config-row strong { font-size: 12px; }
.config-row p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.policy-state { color: var(--amber); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; gap: 8px; }
.toast { padding: 12px 15px; color: var(--ink); background: var(--mint); border-radius: 10px; box-shadow: var(--shadow); font-size: 11px; font-weight: 780; animation: toast-in .2s ease; }

.capture-boundary-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--line); }
.capture-boundary-strip article { display: grid; gap: 5px; padding: 16px; background: #121827; }
.capture-boundary-strip strong { color: var(--mint); font-size: 11px; }
.capture-boundary-strip span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.source-observation-list { display: grid; gap: 13px; }
.source-observation-card { padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(24,34,56,.94), rgba(14,19,32,.96)); }
.source-observation-card.routed { border-color: rgba(105,167,255,.3); }
.source-observation-card.blocked { border-color: rgba(255,122,138,.28); }
.source-observation-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.source-observation-card h3 { margin: 5px 0 4px; font-size: 18px; }
.source-observation-card header p, .source-observation-card footer p { margin: 0; color: var(--muted); font-size: 10px; }
.source-observation-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 15px 0; }
.source-observation-facts > div { padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); }
.source-observation-facts span, .source-observation-facts small { display: block; color: var(--muted); font-size: 9px; }
.source-observation-facts strong { display: block; margin: 5px 0; font-size: 12px; text-transform: capitalize; }
.marketplace-card-badges { display:flex; flex-direction:column; align-items:flex-end; gap:7px; }
.marketplace-card-tools { display:flex; flex-direction:column; align-items:flex-end; gap:10px; }
.kbb-evidence { margin:14px 0; padding:15px; border:1px solid rgba(42,120,196,.32); border-radius:13px; background:rgba(42,120,196,.055); }
.kbb-evidence.withheld { border-color:rgba(181,128,34,.35); background:rgba(181,128,34,.06); }
.kbb-evidence > header { display:flex; justify-content:space-between; gap:14px; align-items:flex-start; }
.kbb-evidence h4 { margin:4px 0; font-size:15px; }
.kbb-evidence header p { margin:0; color:var(--muted); font-size:10px; }
.kbb-boundary { display:grid; grid-template-columns:170px 1fr; gap:12px; margin:12px 0; padding:11px 13px; border-radius:10px; background:rgba(181,128,34,.1); color:var(--text); font-size:10px; line-height:1.45; }
.kbb-boundary strong { color:#8b5d08; }
.kbb-lanes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.kbb-lanes article { padding:11px; border:1px solid var(--line); border-radius:10px; background:var(--panel); }
.kbb-lanes span,.kbb-lanes small { display:block; color:var(--muted); font-size:9px; }
.kbb-lanes strong { display:block; margin:5px 0; font-size:13px; }
.kbb-comparison { display:grid; grid-template-columns:170px 1fr; gap:12px; margin-top:10px; color:var(--muted); font-size:10px; }
.kbb-comparison strong { color:var(--text); }
.kbb-evidence details { margin-top:11px; }
.outcome-validation-card { margin-bottom:16px; padding:18px; border:1px solid rgba(42,120,196,.32); border-radius:14px; background:var(--panel); box-shadow:var(--shadow-soft); }
.outcome-validation-card.recalibration-review { border-color:rgba(181,128,34,.42); }
.outcome-validation-card.stop-use { border-color:rgba(176,64,64,.48); }
.outcome-validation-card > header { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.outcome-validation-card h3 { margin:5px 0; font-size:18px; }
.outcome-validation-card header p { margin:0; color:var(--muted); font-size:10px; }
.outcome-boundary { display:grid; grid-template-columns:190px 1fr; gap:12px; margin:14px 0; padding:12px 14px; border-radius:11px; background:rgba(181,128,34,.1); font-size:10px; line-height:1.45; }
.outcome-boundary strong { color:#8b5d08; }
.outcome-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.outcome-metrics article,.outcome-cohorts article { padding:12px; border:1px solid var(--line); border-radius:11px; background:#f7f9fc; }
.outcome-metrics span,.outcome-metrics small,.outcome-cohorts span,.outcome-cohorts small { display:block; color:var(--muted); font-size:9px; }
.outcome-metrics strong,.outcome-cohorts strong { display:block; margin:5px 0; font-size:13px; }
.outcome-flags { display:grid; gap:8px; margin-top:11px; }
.outcome-flags article { display:flex; gap:10px; align-items:center; padding:10px 12px; border-radius:10px; background:rgba(181,128,34,.08); }
.outcome-flags p { margin:0; color:var(--muted); font-size:10px; }
.outcome-validation-card details { margin-top:12px; }
.outcome-cohorts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:10px; }
.outcome-limitations { margin-top:10px; color:var(--muted); font-size:10px; }
.source-observation-card details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.source-observation-card summary { padding: 12px 0; color: #c8d2e4; font-size: 10px; font-weight: 750; cursor: pointer; }
.source-observation-card dl { margin: 0 0 12px; }
.source-observation-card dl > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.04); }
.source-observation-card dt { color: var(--muted); font-size: 9px; }
.source-observation-card dd { min-width: 0; margin: 0; color: #d9e1ef; font-size: 10px; overflow-wrap: anywhere; }
.source-observation-card dd a { color: var(--blue); }
.source-observation-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 13px; }
.source-observation-card footer > div { display: grid; gap: 5px; }
.source-observation-card.passed { opacity:.72; border-color:#e5b7b7; }
.marketplace-decision-actions { display:flex !important; grid-auto-flow:column; align-items:center; }
.marketplace-decision { width:54px; height:54px; display:grid; place-items:center; gap:0; border-radius:50%; border:2px solid currentColor; background:#fff; font-size:25px; font-weight:900; line-height:1; box-shadow:0 8px 18px rgba(7,27,58,.1); }
.marketplace-decision span { font-size:8px; line-height:1; text-transform:uppercase; letter-spacing:.08em; }
.marketplace-decision.pass { color:#b52e3a; }
.marketplace-decision.keep { color:#16824d; }
.marketplace-decision:hover { transform:translateY(-2px); }
.financeability-matrix { margin-top: 12px; padding: 14px; border: 1px solid rgba(84,167,255,.22); border-radius: 12px; background: rgba(84,167,255,.05); }
.financeability-matrix > summary { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; cursor: pointer; list-style: none; }
.financeability-matrix > summary::-webkit-details-marker { display:none; }
.financeability-summary-meta { display:flex; align-items:flex-end; gap:6px; flex-direction:column; }
.financeability-summary-meta small { color:var(--muted); font-size:8px; font-weight:700; }
.financeability-matrix[open] .financeability-summary-meta small { color:#315fbd; }
.financeability-matrix h4 { margin: 4px 0 0; font-size: 13px; }
.financeability-programs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.financeability-programs article { padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); }
.financeability-programs article > div strong, .financeability-programs article > div small { display: block; }
.financeability-programs article > div small, .financeability-programs article > small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.financeability-programs dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0 0; }
.financeability-programs dl div { padding: 7px; border-radius: 8px; background: rgba(0,0,0,.12); }
.financeability-programs dt { color: var(--muted); font-size: 8px; }
.financeability-programs dd { margin: 3px 0 0; font-size: 9px; }
.financeability-programs p { color: var(--muted); font-size: 9px; line-height: 1.45; }
.financeability-programs a { color: var(--blue); font-size: 9px; }
.transition-summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; margin: 14px 0; }
.transition-summary article { padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(105,167,255,.05); }
.transition-summary strong, .transition-summary span { display: block; }
.transition-summary strong { margin-bottom: 4px; font-size: 10px; }
.transition-summary span { color: var(--muted); font-size: 9px; line-height: 1.45; }
.record-source-list { display: grid; gap: 10px; }
.record-source-list article { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(105,167,255,.045); }
.record-source-list header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.record-source-list header small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.record-source-list dl { margin: 12px 0; }
.record-source-list dl > div { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.record-source-list dt { color: var(--muted); font-size: 9px; }
.record-source-list dd { min-width: 0; margin: 0; font-size: 10px; overflow-wrap: anywhere; }
.record-source-list p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.opportunity-score { background: radial-gradient(circle at 100% 0, rgba(105,167,255,.09), transparent 32%), rgba(255,255,255,.022); }
.score-summary { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px; align-items: center; }
.score-orbit.large { width: 78px; height: 78px; border-width: 6px; }
.score-orbit.large b { font-size: 24px; }
.score-summary h4 { margin: 5px 0 6px; font-size: 15px; text-transform: capitalize; }
.score-summary p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.score-dimensions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 16px; }
.score-dimensions article { padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); }
.score-dimensions article.unknown { border-style: dashed; opacity: .72; }
.score-dimensions header { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; }
.score-track { height: 5px; margin: 8px 0; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }
.score-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--mint-2),var(--mint)); }
.score-dimensions p { min-height: 28px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.score-dimensions footer { margin-top: 7px; color: #7183a3; font-size: 8px; overflow-wrap: anywhere; }
.score-explanation { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.score-explanation article { padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(8,11,18,.36); }
.score-explanation strong { font-size: 10px; }
.score-explanation ul, .score-boundary ul { margin: 8px 0 0; padding-left: 17px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.score-explanation p, .score-boundary p { color: var(--muted); font-size: 9px; line-height: 1.5; }
.score-boundary { padding: 0 14px 14px; }
.record-source-list a { color: var(--blue); overflow-wrap: anywhere; }
.health-kpis { margin-bottom: 16px; }
.health-toolbar { flex-wrap: wrap; }
.health-toolbar select { min-width: 180px; }
.health-boundary { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 14px; border: 1px solid rgba(116,185,255,.2); border-radius: 12px; background: rgba(116,185,255,.055); }
.health-boundary strong { color: var(--blue); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }
.health-boundary span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.health-records { display: grid; gap: 8px; }
.health-record { border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); overflow: hidden; }
.health-record summary { display: grid; grid-template-columns: auto minmax(220px,1fr) minmax(180px,.75fr); align-items: center; gap: 12px; padding: 14px; cursor: pointer; list-style-position: inside; }
.health-record summary > span:nth-child(2) strong, .health-record summary > span:nth-child(2) small { display: block; }
.health-record summary > span:nth-child(2) strong { font-size: 11px; text-transform: capitalize; }
.health-record summary > span:nth-child(2) small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.health-resolution { color: #b8c7c2; font-size: 10px; line-height: 1.4; }
.health-detail { display: grid; grid-template-columns: minmax(280px,.9fr) minmax(0,1.1fr); gap: 12px; padding: 0 14px 14px; border-top: 1px solid var(--line); }
.health-detail dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 0; }
.health-detail dl div, .health-redaction { padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0,0,0,.12); }
.health-detail dt { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.health-detail dd { margin: 5px 0 0; font-size: 10px; overflow-wrap: anywhere; }
.health-redaction { margin-top: 14px; }
.health-redaction strong { font-size: 10px; }
.health-redaction p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }

@keyframes drawer-in { from { transform: translateX(30px); opacity: 0; } }
@keyframes toast-in { from { transform: translateY(10px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .funnel { grid-template-columns: repeat(3, 1fr); }
  .funnel-stage:nth-child(3)::after { display: none; }
  .top-actions .secondary { display: none; }
  .priority-leaders { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; left: 0; transform: translateX(-102%); width: min(290px, 85vw); transition: transform .22s ease; box-shadow: var(--shadow); }
  .sidebar.open { transform: translateX(0); }
  .mobile-menu { display: grid; }
  .topbar { min-height: 72px; padding: 12px 16px; }
  .context-copy h1 { font-size: 21px; }
  .role-picker { display: none; }
  .demo-banner { align-items: flex-start; padding: 10px 16px; }
  .demo-banner { flex-direction: column; gap: 3px; }
  #workspace { padding: 24px 16px 60px; }
  .page-intro { align-items: flex-start; flex-direction: column; }
  .table-head { display: none; }
  .list-row { grid-template-columns: 1fr auto; gap: 12px; }
  .list-row > *:not(.vehicle):not(.chevron) { grid-column: 1; margin-left: 62px; }
  .cell-label { display: inline; margin-right: 8px; }
  .chevron { grid-column: 2; grid-row: 1; }
  .three-col { grid-template-columns: 1fr; }
  .config-row { grid-template-columns: 1fr; gap: 8px; }
  .capture-boundary-strip { grid-template-columns: 1fr; }
  .financeability-programs { grid-template-columns: 1fr; }
  .health-record summary, .health-detail { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .routing-review { grid-template-columns: 1fr; padding: 16px; }
  .priority-radar { padding: 16px; }
  .priority-radar > header, .priority-radar > footer { display: grid; }
  .score-dimensions, .score-explanation { grid-template-columns: 1fr; }
  .submission-linkage { align-items: flex-start; flex-direction: column; }
  .top-actions .primary { width: 40px; height: 40px; padding: 0; font-size: 0; }
  .top-actions .primary::after { content: "+"; font-size: 22px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric { min-height: 113px; padding: 14px; }
  .metric-value { font-size: 27px; }
  .funnel { grid-template-columns: repeat(2, 1fr); }
  .funnel-stage:nth-child(3)::after { display: block; }
  .funnel-stage:nth-child(2n)::after { display: none; }
  .form-grid, .checklist, .valuation-grid, .condition-summary, .condition-findings, .condition-detail, .marketplace-stage-kpis, .marketplace-guidance, .economics-scenarios, .economics-detail { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .record-hero { grid-template-columns: 1fr; }
  .record-price { text-align: left; }
  .drawer-head, .drawer-body { padding-left: 17px; padding-right: 17px; }
  .bar-row { grid-template-columns: 90px 1fr 42px; }
  .queue-toolbar { display: grid; grid-template-columns: 1fr; }
  .queue-toolbar .search, .queue-toolbar select { min-width: 0; width: 100%; }
  .health-boundary { align-items: flex-start; flex-direction: column; }
  .health-detail dl { grid-template-columns: 1fr; }
}

/* Direct presentation and seller experiences */
.experience-page { min-height: 100vh; background: radial-gradient(circle at 78% 4%, rgba(57,118,232,.18), transparent 31%), radial-gradient(circle at 4% 64%, rgba(112,215,255,.07), transparent 25%), var(--ink); }
.experience-nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 12px clamp(18px, 5vw, 72px); border-bottom: 1px solid var(--line); background: rgba(8,11,18,.84); backdrop-filter: blur(20px); }
.pitch-page .experience-nav { position: sticky; top: 0; z-index: 80; box-shadow: 0 10px 28px rgba(7,27,58,.08); }
.experience-nav nav { display: flex; align-items: center; gap: 18px; }
.experience-nav nav > a:not(.button) { color: var(--muted); font-size: 12px; text-decoration: none; }
.experience-nav nav > a:not(.button):hover { color: var(--mint); }
.persistent-disclosure { min-height: 42px; }
.presentation-main { width: min(1280px, calc(100% - 36px)); margin: 0 auto; padding: clamp(56px, 8vw, 104px) 0 80px; }
.presentation-hero { min-height: 560px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .65fr); align-items: center; gap: clamp(34px, 7vw, 100px); }
.presentation-hero h1 { max-width: 900px; margin: 14px 0 22px; font-size: clamp(42px, 6vw, 78px); line-height: .98; letter-spacing: -.065em; }
.presentation-hero > div > p { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(16px, 1.7vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-actions a { text-decoration: none; }
.proof-card { padding: 26px; border: 1px solid rgba(105,167,255,.2); border-radius: 24px; background: linear-gradient(145deg, rgba(24,34,56,.97), rgba(10,14,24,.97)); box-shadow: var(--shadow); }
.proof-card ol { display: grid; gap: 0; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: proof; }
.proof-card li { position: relative; display: grid; gap: 5px; padding: 19px 0 19px 48px; border-top: 1px solid var(--line); counter-increment: proof; }
.proof-card li::before { content: "0" counter(proof); position: absolute; left: 0; top: 18px; color: var(--mint); font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.proof-card li strong { font-size: 16px; }
.proof-card li span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 88px; }
.section-heading { grid-column: 1 / -1; margin-bottom: 12px; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(30px, 4vw, 52px); letter-spacing: -.055em; }
.experience-card { min-height: 290px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 19px; background: rgba(18,24,39,.8); }
.experience-card.featured { border-color: rgba(105,167,255,.27); background: linear-gradient(145deg, rgba(30,46,76,.92), rgba(14,21,36,.92)); }
.route-number { color: var(--mint); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.experience-card h3 { margin: 46px 0 12px; font-size: 24px; letter-spacing: -.04em; }
.experience-card p { margin: 0 0 24px; color: var(--muted); line-height: 1.65; }
.experience-card > a { margin-top: auto; color: var(--mint); font-size: 12px; font-weight: 800; text-decoration: none; }
.boundary-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 70px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--line); }
.boundary-strip > div { display: grid; gap: 8px; padding: 24px; background: #121827; }
.boundary-strip strong { font-size: 13px; line-height: 1.55; }
.seller-main { width: min(1120px, calc(100% - 34px)); display: grid; grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr); gap: clamp(28px, 7vw, 86px); margin: 0 auto; padding: clamp(42px, 6vw, 76px) 0 80px; }
.seller-intro { align-self: start; position: sticky; top: 34px; }
.seller-intro h1 { margin: 12px 0 18px; font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.06em; }
.seller-intro > p { color: var(--muted); line-height: 1.65; }
.seller-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 32px 0 0; padding: 0; list-style: none; }
.seller-steps li { display: grid; gap: 5px; padding-top: 10px; border-top: 2px solid var(--line); color: var(--muted); font-size: 10px; }
.seller-steps li > span { font-variant-numeric: tabular-nums; }
.seller-steps li > strong { font-weight: 750; line-height: 1.3; }
.seller-steps li.active { border-color: var(--mint); color: var(--mint); }
.seller-steps li.complete { border-color: rgba(105,167,255,.44); color: #c4d4ed; }
.privacy-note { display: grid; gap: 4px; margin-top: 24px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,24,39,.66); }
.privacy-note strong { font-size: 11px; }
.privacy-note span { color: var(--muted); font-size: 10px; line-height: 1.5; }
.seller-form-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(24,34,56,.95), rgba(14,19,32,.97)); box-shadow: var(--shadow); }
.resume-notice { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px clamp(20px, 4vw, 34px); border-bottom: 1px solid rgba(105,167,255,.2); background: rgba(105,167,255,.08); }
.resume-notice[hidden], .seller-confirmation[hidden], #sellerForm[hidden] { display: none; }
.resume-notice > div { display: grid; gap: 3px; }
.resume-notice strong { color: var(--mint); font-size: 11px; }
.resume-notice span { color: #bbcec6; font-size: 10px; }
.seller-panel { min-width: 0; display: grid; gap: 21px; margin: 0; padding: clamp(23px, 4vw, 35px); border: 0; border-bottom: 1px solid var(--line); }
.seller-panel[hidden] { display: none; }
.panel-heading { display: grid; gap: 6px; }
.panel-heading h2 { margin: 0; font-size: clamp(23px, 3vw, 30px); letter-spacing: -.045em; }
.panel-heading p { max-width: 610px; margin: 1px 0 2px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.compact-heading h2 { font-size: 20px; }
.section-divider { height: 1px; margin: 3px 0; background: var(--line); }
.field small { color: var(--muted); font-weight: 500; line-height: 1.45; }
.field .optional { color: var(--muted); font-size: 9px; font-weight: 500; }
.vin-field input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 17px; letter-spacing: .075em; text-transform: uppercase; }
.decode-status { padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: var(--panel-2); font-size: 10px; line-height: 1.5; }
.decode-status.loading { border-color: rgba(35,104,179,.32); color: var(--blue); }
.decode-status.success { border-color: rgba(28,123,83,.28); color: #17653f; background: #eef9f3; }
.decode-status.error { border-color: rgba(169,47,67,.28); color: var(--rose); background: #fff3f5; }
.vehicle-fields { grid-template-columns: .65fr 1fr; }
.photo-capture-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.photo-capture-field { min-width: 0; display: grid; gap: 4px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--panel-2); cursor: pointer; }
.photo-capture-field > span { font-size: 11px; font-weight: 800; }
.photo-capture-field > small { min-height: 29px; color: var(--muted); font-size: 9px; line-height: 1.45; overflow-wrap: anywhere; }
.photo-capture-field input { width: 100%; min-width: 0; padding: 7px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: #fff; font-size: 9px; }
.photo-capture-field.selected { border-color: rgba(28,123,83,.34); background: #eef9f3; box-shadow: inset 0 0 0 1px rgba(28,123,83,.08); }
.choice-group { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.choice-group > legend { color: #c2d0cb; font-size: 11px; font-weight: 700; }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice-row label { position: relative; min-width: 0; }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row span { min-height: 44px; display: grid; place-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 11px; color: #c8d2e4; background: rgba(8,11,18,.4); font-size: 11px; font-weight: 750; text-align: center; cursor: pointer; }
.choice-row input:checked + span { border-color: rgba(105,167,255,.58); color: var(--mint); background: rgba(105,167,255,.1); box-shadow: inset 0 0 0 1px rgba(105,167,255,.14); }
.choice-row input:focus-visible + span { outline: 3px solid rgba(105,167,255,.58); outline-offset: 2px; }
.consent-check { display: flex; align-items: flex-start; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; color: #bdccc7; font-size: 11px; line-height: 1.55; }
.consent-check input { margin-top: 1px; accent-color: var(--mint); }
.form-errors { margin: 18px 28px 0; padding: 14px; border: 1px solid rgba(255,125,131,.25); border-radius: 12px; color: #ffd1d3; background: rgba(255,125,131,.08); font-size: 12px; }
.form-errors ul { margin-bottom: 0; }
.seller-actions { display: flex; justify-content: flex-end; gap: 10px; min-height: 84px; padding: 20px 28px; }
.seller-actions a { text-decoration: none; }
.seller-actions > :first-child { margin-right: auto; }
.text-button { width: fit-content; padding: 0; border: 0; color: var(--mint); background: transparent; font-size: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.review-panel { gap: 14px; }
.review-group { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(8,11,18,.36); }
.review-heading { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.review-heading h3 { margin: 0; font-size: 12px; }
.review-group dl { margin: 0; }
.review-group dl > div { display: grid; grid-template-columns: minmax(90px, .45fr) minmax(0, 1fr); gap: 14px; padding: 11px 15px; border-top: 1px solid rgba(183,215,201,.08); }
.review-group dl > div:first-child { border-top: 0; }
.review-group dt { color: var(--muted); font-size: 10px; }
.review-group dd { min-width: 0; margin: 0; color: #dce9e4; font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.submission-boundary { padding: 14px 15px; border: 1px solid rgba(255,191,105,.2); border-radius: 13px; background: rgba(255,191,105,.055); }
.submission-boundary strong { color: var(--amber); font-size: 10px; }
.submission-boundary p { margin: 5px 0 0; color: #c8beb0; font-size: 10px; line-height: 1.55; }
.seller-confirmation { min-height: 570px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(30px, 7vw, 68px); }
.seller-confirmation h2 { max-width: 650px; margin: 12px 0 14px; font-size: clamp(30px, 4vw, 48px); line-height: 1.04; letter-spacing: -.05em; }
.seller-confirmation p { max-width: 620px; color: var(--muted); line-height: 1.65; }
.staff-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.staff-photo-grid a { overflow: hidden; display: grid; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: var(--panel-2); text-decoration: none; }
.staff-photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e7edf5; }
.staff-photo-grid span { padding: 8px 9px; font-size: 9px; font-weight: 800; text-transform: capitalize; }
.confirmation-mark { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 50%; color: var(--ink); background: var(--mint); font-size: 24px; font-weight: 900; }

@media (max-width: 820px) {
  .experience-nav { align-items: flex-start; padding: 10px 16px; }
  .experience-nav nav { gap: 10px; }
  .experience-nav nav > a:not(.button) { display: none; }
  .presentation-main { padding-top: 48px; }
  .presentation-hero { min-height: auto; grid-template-columns: 1fr; }
  .experience-grid { grid-template-columns: 1fr; padding-top: 70px; }
  .section-heading { grid-column: auto; }
  .experience-card { min-height: 240px; }
  .boundary-strip { grid-template-columns: 1fr; }
  .seller-main { grid-template-columns: 1fr; gap: 24px; padding-top: 34px; }
  .seller-intro { position: static; }
  .seller-intro h1 { max-width: 680px; }
  .privacy-note { margin-top: 17px; }
}

@media (max-width: 560px) {
  .experience-page { width: 100%; max-width: 100%; overflow-x: hidden; }
  .experience-nav { width: 100%; min-width: 0; }
  .experience-nav .brand { min-width: 0; padding: 0; }
  .experience-nav .brand-product { display: none; }
  .experience-nav nav { min-width: 0; }
  .experience-nav nav .button { max-width: 148px; padding-inline: 12px; white-space: normal; text-align: center; }
  .presentation-main { width: calc(100vw - 24px); min-width: 0; }
  .presentation-hero, .presentation-hero > div { min-width: 0; }
  .presentation-hero h1 { font-size: clamp(38px, 12vw, 56px); }
  .presentation-hero > div > p { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-actions .button { text-align: center; }
  .seller-main { width: min(100% - 22px, 1120px); padding: 25px 0 42px; }
  .seller-intro h1 { margin-top: 9px; font-size: clamp(34px, 11vw, 49px); }
  .seller-intro > p { font-size: 13px; }
  .seller-steps { margin-top: 23px; }
  .seller-steps li > strong { font-size: 9px; }
  .seller-form-card { border-radius: 17px; }
  .seller-panel { padding: 22px 18px; }
  .panel-heading h2 { font-size: 24px; }
  .panel-heading p { font-size: 11px; }
  .form-grid { gap: 16px; }
  .choice-row { grid-template-columns: 1fr; }
  .choice-row span { justify-items: start; padding-left: 14px; }
  .review-group dl > div { grid-template-columns: 82px minmax(0, 1fr); }
  .seller-actions { display: grid; grid-template-columns: 1fr 1fr; min-height: 82px; padding: 16px 18px; }
  .seller-actions > :first-child { margin-right: 0; }
  .seller-actions .button { min-height: 46px; justify-content: center; text-align: center; }
  .seller-actions #submitButton { grid-column: 1 / -1; }
  .staff-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resume-notice { padding: 12px 18px; }
  .packet-summary { grid-template-columns: 1fr; }
  .confidence-orbit { width: 68px; height: 68px; }
  .packet-grid, .packet-ranges, .packet-notes { grid-template-columns: 1fr; }
  .packet-stops article { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: 1fr; }
  .dimension-list > div { grid-template-columns: minmax(0,1fr) 64px 22px; }
  .source-observation-facts { grid-template-columns: 1fr; }
  .source-observation-card > header { flex-direction: column; }
  .marketplace-card-badges { align-items:flex-start; }
  .marketplace-card-tools { align-items:flex-start; width:100%; }
  .marketplace-card-tools .source-card-actions { justify-content:flex-start; }
  .kbb-evidence > header { flex-direction:column; }
  .kbb-boundary, .kbb-lanes, .kbb-comparison { grid-template-columns:1fr; }
  .outcome-validation-card > header { flex-direction:column; }
  .outcome-boundary, .outcome-metrics, .outcome-cohorts { grid-template-columns:1fr; }
  .source-observation-card dl > div { grid-template-columns: 1fr; gap: 3px; }
}

/* Current-page capture experience */
.capture-main { width: min(1180px, calc(100% - 34px)); display: grid; grid-template-columns: minmax(260px, .66fr) minmax(0, 1.34fr); gap: clamp(28px, 6vw, 78px); margin: 0 auto; padding: clamp(38px, 6vw, 72px) 0 80px; }
.capture-intro { align-self: start; position: sticky; top: 32px; }
.capture-intro h1 { margin: 12px 0 18px; font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.06em; }
.capture-intro > p { color: var(--muted); line-height: 1.65; }
.capture-scope { display: grid; gap: 8px; margin-top: 25px; }
.capture-scope article { display: grid; gap: 4px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(18,24,39,.66); }
.capture-scope strong { font-size: 11px; }
.capture-scope span { color: var(--muted); font-size: 9px; line-height: 1.45; }
.capture-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(24,34,56,.95), rgba(14,19,32,.97)); box-shadow: var(--shadow); }
.capture-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 25px 28px 20px; }
.capture-card-head h2 { margin: 5px 0 0; font-size: 25px; letter-spacing: -.04em; }
.capture-trigger { width: calc(100% - 56px); display: grid; grid-template-columns: 42px 1fr; gap: 2px 12px; margin: 0 28px; padding: 14px; border: 1px solid rgba(105,167,255,.28); border-radius: 13px; color: var(--text); background: rgba(105,167,255,.085); text-align: left; }
.capture-trigger > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; color: var(--ink); background: var(--mint); font-size: 20px; }
.capture-trigger strong { align-self: end; font-size: 12px; }
.capture-trigger small { align-self: start; color: var(--muted); font-size: 9px; }
.capture-alert { margin: 12px 28px 0; padding: 11px 13px; border-left: 2px solid var(--amber); color: #cfc1ae; background: rgba(255,191,105,.045); font-size: 10px; line-height: 1.5; }
.capture-fields { padding: 24px 28px; }
.capture-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 28px 24px; }
.capture-review-grid article { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); }
.capture-review-grid span, .capture-review-grid small { color: var(--muted); font-size: 8px; line-height: 1.4; }
.capture-review-grid strong { font-size: 10px; }
.capture-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; padding: 18px 28px; border-top: 1px solid var(--line); }
.capture-actions a { margin-right: auto; text-decoration: none; }
.capture-confirmation { min-height: 520px; padding: clamp(34px, 7vw, 64px); }
.capture-confirmation[hidden], #captureForm[hidden] { display: none; }
.capture-confirmation h2 { max-width: 620px; margin: 12px 0 14px; font-size: clamp(30px, 4vw, 45px); line-height: 1.04; letter-spacing: -.05em; }
.capture-confirmation p { max-width: 600px; margin: 0 0 24px; color: var(--muted); line-height: 1.65; }
.capture-confirmation a { text-decoration: none; }
.capture-confirmation:focus { outline: none; }

@media (max-width: 820px) {
  .capture-main { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .capture-intro { position: static; }
  .capture-review-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .experience-nav .brand-logo { width: 128px; }
  .experience-nav .brand-product { display: none; }
  .capture-main { width: min(100% - 22px, 1180px); padding: 25px 0 44px; }
  .capture-intro h1 { font-size: clamp(34px, 11vw, 49px); }
  .capture-card { border-radius: 17px; }
  .capture-card-head { flex-direction: column; padding: 22px 18px 16px; }
  .capture-trigger { width: calc(100% - 36px); margin: 0 18px; }
  .capture-alert { margin-left: 18px; margin-right: 18px; }
  .capture-fields { padding: 21px 18px; }
  .capture-review-grid { padding: 0 18px 21px; }
  .capture-actions { display: grid; grid-template-columns: 1fr; padding: 16px 18px; }
  .capture-actions a { margin: 0; text-align: center; }
  .photo-capture-grid { grid-template-columns: 1fr; }
}

/* Final cascade: predominantly white surfaces with navy brand structure. */
:root {
  color-scheme: light;
  --ink: #071b3a;
  --ink-2: #0d2b56;
  --panel: #ffffff;
  --panel-2: #f3f6fb;
  --line: rgba(7, 27, 58, .14);
  --muted: #566b87;
  --text: #132642;
  --mint: #0b3b75;
  --mint-2: #174f95;
  --blue: #2368b3;
  --amber: #9a5a08;
  --rose: #a92f43;
  --shadow: 0 22px 58px rgba(7, 27, 58, .12);
}
html { background: #f4f7fb; }
body, .experience-page { background: radial-gradient(circle at 82% -6%, rgba(35,104,179,.10), transparent 33%), #f7f9fc; color: var(--text); }
.sidebar { background: #071b3a; border-color: rgba(255,255,255,.12); color: #fff; }
.sidebar .brand small, .sidebar .sidebar-foot small, .sidebar .sidebar-exit a { color: #b9c8dc; }
.sidebar .nav-item { color: #c5d1e2; }
.sidebar .nav-item:hover { color: #fff; background: rgba(255,255,255,.08); }
.sidebar .nav-item.active { color: #fff; background: #174f95; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.sidebar .nav-count { background: rgba(255,255,255,.12); }
.sidebar .status-dot { background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.55); }
.topbar, .experience-nav { background: rgba(255,255,255,.94); border-color: var(--line); }
.role-picker select { color: var(--text); }
.demo-banner { color: #684819; background: #fff8e9; border-color: #ead7ad; }
.demo-banner strong { color: #81510a; }
.card, .priority-radar, .source-observation-card, .seller-form-card, .capture-card, .proof-card, .experience-card, .experience-card.featured { background: #fff; border-color: var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, var(--shadow); }
.experience-card.featured, .priority-radar { background: linear-gradient(145deg, #fff, #edf3fb); border-color: rgba(11,59,117,.24); }
.boundary-strip > div, .capture-boundary-strip article { background: #fff; }
.funnel-stage, .packet-panel, .signal-grid article, .source-cards article, .source-observation-facts > div, .score-dimensions article, .attention-item, .kanban-col, .section, .config-row, .capture-scope article, .capture-review-grid article { background: #f7f9fc; }
.list-row:hover, .inbox-thread:hover, .inbox-thread.selected { background: #eef4fb; }
.progress, .bar-track, .score-track { background: #dfe7f1; }
.button, .icon-button { color: var(--text); }
.button.primary { color: #fff; background: #0b3b75; box-shadow: 0 7px 18px rgba(11,59,117,.18); }
.button.primary:hover { background: #082f61; }
.button.secondary, .icon-button { background: #fff; border: 1px solid rgba(7,27,58,.18); }
.button.secondary:hover, .icon-button:hover { background: #edf3fa; }
.button.ghost { color: #405875; }
.badge { color: #314965; background: #f0f4f9; border-color: #d5dfeb; }
.badge.mint { color: #0b3b75; background: #e9f1fb; border-color: #c6d9ef; }
.badge.blue { color: #174f95; background: #eaf2fb; border-color: #c5d9ee; }
.badge.amber { color: #875006; background: #fff5df; border-color: #ead4a5; }
.badge.rose { color: #992b3e; background: #fff0f2; border-color: #ecc6cd; }
.priority-card, .routing-review article, .packet-summary, .score-orbit, .score-explanation article, .choice-row span, .review-group { color: var(--text); background: #fff; }
.priority-card:hover { background: #edf3fa; }
.routing-review { background: #fff8e9; border-color: #e4c98f; }
.packet-detail { background: #f7f9fc; }
.packet-detail summary, .source-observation-card summary, .field, .choice-group > legend, .consent-check { color: #314965; }
.source-observation-card dd, .review-group dd { color: var(--text); }
.source-cards article p, .record-facts, .kanban-meta, .check-item, .resume-notice span { color: var(--muted); }
.conflict-view article { background: #fff; }
input, select, textarea, .value-box { color: var(--text); background: #fff; border-color: rgba(7,27,58,.18); }
input::placeholder, textarea::placeholder { color: #8190a4; }
.choice-row input:checked + span { color: #0b3b75; background: #eaf2fb; border-color: #174f95; }
.drawer { background: #f7f9fc; }
.drawer-head { background: rgba(255,255,255,.96); }
.modal { color: var(--text); background: #fff; }
.modal::backdrop, .drawer-backdrop { background: rgba(7,27,58,.44); }
.inbox-list { background: #f4f7fb; }
.inbox-thread { color: var(--text); }
.comm-controls, .composer-tabs { background: #f3f6fa; }
.message.internal { background: #fff8e9; }
.capture-trigger { color: var(--text); background: #edf3fb; border-color: #bdd1e8; }
.capture-alert { color: #684819; background: #fff8e9; }
.form-errors { color: #8f2437; background: #fff0f2; }
.submission-boundary { background: #fff8e9; }
.submission-boundary p { color: #725a35; }

/* Light-theme contrast containment. Keep this intentionally selector-scoped. */
.privacy-note { background: #f3f6fb; }
.metric-foot,
.score-dimensions footer { color: var(--muted); }
.score-dimensions article.unknown { opacity: 1; background: #f3f6fb; }
.packet-stops article span,
.packet-stops article small { color: #8f2437; }
.seller-steps li.complete { color: #314965; border-color: #7897ba; }
.skip-link,
.toast,
.confirmation-mark,
.capture-trigger > span { color: #fff; }
@media (max-width: 960px) { .sidebar { box-shadow: 22px 0 50px rgba(7,27,58,.18); } }
@media (max-width: 960px) { .sidebar-scrim:not([hidden]) { display:block; } }
@media (max-width: 760px) {
  .appointments-summary { grid-template-columns:1fr; }
  .calendar-card { overflow-x:auto; }
  .calendar-card > header,.calendar-weekdays,.calendar-grid { min-width:720px; }
  .appointment-card { grid-template-columns:72px minmax(0,1fr); }
  .appointment-card > .badge,.appointment-card > .button { justify-self:start; grid-column:2; }
}

/* Non-blocking guided-workflow coachmark. The workspace remains visible and interactive. */
.tour-coachmark {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: min(370px, calc(100vw - 44px));
  overflow: hidden;
  color: var(--text);
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(7,27,58,.18);
  border-radius: 16px;
  box-shadow: 0 22px 64px rgba(7,27,58,.20);
}
.tour-coachmark-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 16px 16px 11px; }
.tour-coachmark-head h2 { margin: 3px 0 0; font-size: 18px; letter-spacing: -.03em; }
.tour-coachmark-head .icon-button { width: 32px; height: 32px; flex: 0 0 auto; }
.tour-coachmark-body { padding: 0 16px 13px; }
.tour-coachmark-body p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.tour-progress { display: grid; grid-template-columns: repeat(8,1fr); gap: 5px; margin-top: 13px; }
.tour-progress span { height: 4px; border-radius: 99px; background: #dbe4ef; }
.tour-progress span.complete { background: var(--mint); }
.tour-coachmark-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 16px 14px; border-top: 1px solid var(--line); }
.tour-coachmark-foot .button { min-width: 76px; }
.tour-walkthrough-target { scroll-margin-top:80px; outline:3px solid rgba(24,105,198,.45); outline-offset:4px; border-radius:18px; }
.build-release { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:16px; }
.build-release div { display:grid; gap:4px; }
.build-release strong { font-size:22px; color:var(--ink); }
.build-release small,.build-boundary { color:var(--muted); }
.build-board { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.build-lane { min-width:0; overflow:hidden; background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:18px; box-shadow:var(--shadow); }
.build-lane>header,.build-item>header { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.build-lane h2 { margin:4px 0 0; }
.build-items { display:grid; gap:10px; margin-top:14px; }
.build-item { min-width:0; overflow:hidden; border:1px solid var(--line); background:var(--surface-soft); border-radius:14px; padding:14px; }
.build-item h3 { margin:8px 0 5px; font-size:15px; overflow-wrap:anywhere; }
.build-item header .badge { flex:0 0 auto; }
.build-item p { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
.build-item dl { display:grid; grid-template-columns:72px 1fr; gap:5px 9px; margin:12px 0 0; font-size:11px; }
.build-item dl div { display:contents; }
.build-item dt { color:var(--muted); }
.build-item dd { margin:0; overflow-wrap:anywhere; }
.build-boundary { margin:14px 2px 0; font-size:11px; }
.experience-tour-bar { position:fixed; left:50%; bottom:18px; z-index:90; transform:translateX(-50%); width:min(920px,calc(100vw - 32px)); display:flex; justify-content:space-between; align-items:center; gap:22px; padding:15px 17px; color:var(--ink); background:rgba(255,255,255,.98); border:1px solid var(--line-strong); border-radius:17px; box-shadow:0 22px 60px rgba(7,27,58,.23); }
.experience-tour-copy { display:grid; gap:3px; }
.experience-tour-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.experience-tour-heading .icon-button { display:none; width:32px; height:32px; flex:0 0 auto; }
.experience-tour-bar strong { font-size:15px; }
.experience-tour-bar p { margin:0; color:var(--muted); font-size:11px; line-height:1.4; }
.experience-tour-actions { display:flex; gap:8px; flex:0 0 auto; }
@media (max-width: 760px) { .build-release,.build-board { grid-template-columns:minmax(0,1fr); } .build-lane { padding:18px; } }
@media (max-width: 620px) { .experience-tour-bar { align-items:stretch; flex-direction:column; bottom:max(10px,env(safe-area-inset-bottom)); gap:10px; max-height:calc(100dvh - 20px); overflow:auto; } .experience-tour-heading .icon-button { display:grid; } .experience-tour-actions { display:grid; grid-template-columns:1fr; } .experience-tour-actions [data-tour-exit] { display:none; } }
@media (max-width: 480px) { .experience-tour-bar { width:calc(100vw - 20px); max-width:calc(100vw - 20px); padding:13px; } .experience-tour-actions { grid-template-columns:1fr; } .experience-tour-actions .button { min-width:0; width:100%; white-space:normal; text-align:center; } }

@media (max-width: 560px) {
  .tour-coachmark {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    border-radius: 14px;
    box-shadow: 0 14px 42px rgba(7,27,58,.22);
  }
  .tour-coachmark-head { padding: 12px 12px 7px; }
  .tour-coachmark-head h2 { font-size: 16px; }
  .tour-coachmark-head .eyebrow { font-size: 8px; }
  .tour-coachmark-body { padding: 0 12px 9px; }
  .tour-coachmark-body p { display: -webkit-box; overflow: hidden; font-size: 11px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .tour-progress { margin-top: 9px; }
  .tour-coachmark-foot { padding: 8px 12px 10px; }
  .tour-coachmark-foot .button { min-width: 68px; padding: 8px 11px; }
}
@media (max-width: 560px) and (max-height: 420px) {
  .tour-coachmark-body p { display: none; }
  .tour-progress { margin-top: 2px; }
}

.appraisal-kpis { margin-bottom: 16px; }
.appraisal-layout { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr); gap:16px; align-items:start; }
.appraisal-list { display:grid; gap:12px; }
.appraisal-card { background:#fff; border:1px solid var(--line); border-radius:18px; padding:18px; box-shadow:var(--shadow); }
.appraisal-card header,.appraisal-card footer { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; }
.appraisal-card h3 { margin:3px 0; }
.appraisal-card p { margin:0; color:var(--muted); }
.appraisal-card footer { align-items:center; border-top:1px solid var(--line); padding-top:14px; margin-top:14px; }
.appraisal-progress { height:8px; border-radius:999px; background:#e8eef7; overflow:hidden; margin:16px 0 12px; }
.appraisal-progress span { display:block; height:100%; background:linear-gradient(90deg,#0b5cab,#20a37a); }
.appraisal-facts { display:flex; flex-wrap:wrap; gap:10px; }
.appraisal-facts span { background:#f4f7fb; border:1px solid var(--line); border-radius:10px; padding:9px 11px; color:var(--muted); }
.appraisal-facts b { color:var(--navy); }
.skill-gap-card { position:sticky; top:96px; }
.skill-gap-card h3 { overflow-wrap:anywhere; }
.skill-gap-card dl { display:grid; gap:8px; }
.skill-gap-card dl div { display:flex; justify-content:space-between; gap:12px; border-bottom:1px solid var(--line); padding-bottom:8px; }
.skill-gap-card dt { color:var(--muted); }
.skill-gap-card dd { margin:0; font-weight:700; text-align:right; }
.skill-gap-boundary,.appraisal-authority { display:grid; gap:4px; background:#fff7df; border:1px solid #e6bd61; color:#704700; border-radius:12px; padding:12px; margin:14px 0; }
.appraisal-modal,.skill-gap-modal { display:grid; gap:16px; }
.appraisal-items { display:grid; gap:8px; }
.appraisal-item { display:grid; grid-template-columns:minmax(0,1fr) 160px; gap:12px; align-items:center; border:1px solid var(--line); border-radius:12px; padding:11px; }
.appraisal-item span { display:grid; gap:3px; }
.appraisal-item small { color:var(--muted); }
.appraisal-item select { width:100%; }
.skill-gap-modal section { border:1px solid var(--line); border-radius:12px; padding:14px; }
.skill-gap-modal h3 { margin-top:0; }
.skill-gap-modal,.skill-gap-modal * { min-width:0; overflow-wrap:anywhere; }
.skill-gap-actions { flex-wrap:wrap; }

@media (max-width: 900px) {
  .appraisal-layout { grid-template-columns:1fr; }
  .skill-gap-card { position:static; }
}
@media (max-width: 600px) {
  .modal { width:calc(100vw - 16px); border-radius:14px; }
  .modal-head,.modal-body,.modal-foot { min-width:0; padding-left:14px; padding-right:14px; }
  .modal-head { position:sticky; top:0; z-index:2; background:var(--panel); }
  .modal-head h2 { font-size:18px; overflow-wrap:anywhere; }
  .skill-gap-actions { display:grid; grid-template-columns:1fr 1fr; }
  .skill-gap-actions .button { width:100%; }
  .appraisal-card header,.appraisal-card footer { align-items:stretch; flex-direction:column; }
  .appraisal-item { grid-template-columns:1fr; }
  .appraisal-facts { display:grid; grid-template-columns:1fr; }
}

.communications-policy-card{margin-top:16px}.communications-policy-grid,.lifecycle-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.communications-policy-grid article,.lifecycle-summary article{display:grid;gap:5px;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.communications-policy-grid span,.lifecycle-summary span{color:var(--muted);font-size:.74rem;text-transform:uppercase;letter-spacing:.05em}.communications-policy-grid small,.lifecycle-summary small{color:var(--muted);line-height:1.35}.lifecycle-milestones{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.lifecycle-milestones article{display:grid;gap:4px;padding:11px;border:1px solid var(--line);border-left:4px solid var(--line-strong);border-radius:10px;background:var(--surface)}.lifecycle-milestones article.complete{border-left-color:var(--success)}.lifecycle-milestones article.in-progress{border-left-color:var(--warning)}.lifecycle-milestones article.exception{border-left-color:var(--danger)}.lifecycle-milestones span{text-transform:capitalize;color:var(--muted);font-size:.75rem}.lifecycle-milestones small{color:var(--muted);line-height:1.3}.lifecycle-boundary{display:grid;gap:4px;margin:12px 0;padding:12px;border-radius:10px;background:var(--blue-soft);border:1px solid var(--blue-line)}.lifecycle-boundary span{color:var(--muted);line-height:1.45}.lifecycle-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lifecycle-edit-grid label{display:grid;gap:5px}.lifecycle-edit-grid span{text-transform:capitalize;font-weight:700}.lifecycle-modal{max-height:min(68vh,720px);overflow:auto}

@media (max-width:760px){.communications-policy-grid,.lifecycle-summary,.lifecycle-milestones,.lifecycle-edit-grid{grid-template-columns:1fr}.communications-policy-card .button{width:100%}.lifecycle-modal{max-height:65vh}}

/* Decision-maker presentation surface. Selector-scoped to avoid a broad shell redesign. */
.pitch-main { padding-top: clamp(48px, 6vw, 82px); }
.pitch-hero { min-height: 620px; }
.pitch-hero-copy { min-width: 0; }
.pitch-hero h1 { max-width: 820px; font-size: clamp(48px, 6.2vw, 84px); }
.pitch-hero-context { max-width:780px; margin-top:18px; padding-left:16px; border-left:4px solid #0b4a8d; color:#345b80 !important; font-size:13px !important; }
.pitch-proof-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.pitch-proof-chips span { padding:8px 11px; border:1px solid var(--blue-line); border-radius:999px; color:#164878; background:#edf5ff; font-size:10px; font-weight:800; }
.pitch-chain { position:relative; overflow:hidden; background:linear-gradient(150deg,#071b3a,#0d3568); color:#fff; }
.pitch-chain::after { content:""; position:absolute; width:220px; height:220px; right:-100px; bottom:-120px; border:28px solid rgba(255,255,255,.06); border-radius:50%; }
.pitch-chain .eyebrow,.pitch-chain li::before { color:#9ecbff; }
.pitch-chain li { border-color:rgba(255,255,255,.14); }
.pitch-chain li span { color:#c9d8ec; }
.pitch-chain-head { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.pitch-scoreboard { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; overflow:hidden; margin:18px 0 96px; border:1px solid var(--line); border-radius:20px; background:var(--line); box-shadow:var(--shadow); }
.pitch-scoreboard article { min-width:0; display:grid; gap:5px; padding:24px; background:#fff; }
.pitch-scoreboard strong { color:#073a72; font-size:clamp(30px,4vw,48px); letter-spacing:-.06em; }
.pitch-scoreboard span { color:var(--text); font-size:12px; font-weight:850; line-height:1.35; }
.pitch-scoreboard small { color:var(--muted); font-size:9px; line-height:1.45; }
.pitch-origin { margin:0 0 96px; padding:clamp(28px,5vw,58px); border-radius:26px; color:#fff; background:linear-gradient(135deg,#071b3a,#0a4b8d); box-shadow:var(--shadow); }
.pitch-origin .section-heading { max-width:920px; }
.pitch-origin .eyebrow { color:#9ecbff; }
.pitch-origin .section-heading h2 { color:#fff; }
.pitch-origin .section-heading p { max-width:850px; color:#d2e0ef; line-height:1.7; }
.pitch-origin-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; margin-top:28px; }
.pitch-origin-grid article { padding:20px; border:1px solid rgba(255,255,255,.17); border-radius:16px; background:rgba(255,255,255,.08); }
.pitch-origin-grid strong { display:block; color:#fff; font-size:16px; }
.pitch-origin-grid p { margin:10px 0 0; color:#d6e3f1; font-size:11px; line-height:1.6; }
.pitch-origin-note { margin:22px 0 0; padding-top:18px; border-top:1px solid rgba(255,255,255,.18); color:#bed2e8; line-height:1.6; }
.pitch-product-views { margin:0 0 96px; }
.pitch-product-views>.section-heading { max-width:900px; }
.pitch-product-views>.section-heading>p { max-width:800px; color:var(--muted); line-height:1.7; }
.pitch-product-view-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.pitch-product-view-grid figure { display:grid; grid-template-rows:auto 1fr; overflow:hidden; margin:0; border:1px solid var(--line); border-radius:22px; background:#fff; box-shadow:var(--shadow); }
.pitch-product-view-grid figure>a { display:block; overflow:hidden; border-bottom:1px solid var(--line); background:#dfe9f5; }
.pitch-product-view-grid img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; object-position:top center; transition:transform .2s ease; }
.pitch-product-view-grid figure>a:hover img { transform:scale(1.015); }
.pitch-product-view-grid figcaption { display:grid; grid-template-rows:auto 72px 96px auto; align-content:start; padding:24px; }
.pitch-product-view-grid h3 { margin:10px 0 8px; font-size:24px; letter-spacing:-.04em; }
.pitch-product-view-grid p { margin:0 0 18px; color:var(--muted); line-height:1.6; }
.pitch-product-view-grid .button { justify-self:start; min-width:220px; text-align:center; }
.pitch-investment { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(28px,5vw,72px); align-items:start; margin:0 0 96px; padding:clamp(28px,5vw,58px); border:1px solid #b8d0ea; border-radius:26px; background:linear-gradient(145deg,#fff,#edf5ff); box-shadow:var(--shadow); }
.pitch-investment-copy h2 { margin:9px 0 15px; font-size:clamp(32px,4vw,52px); line-height:1.02; letter-spacing:-.055em; }
.pitch-investment-copy>p { color:var(--muted); line-height:1.7; }
.pitch-partner-exchange { display:grid; gap:9px; margin-top:20px; }
.pitch-partner-exchange div { display:grid; gap:4px; padding:13px 14px; border-left:4px solid #0b4a8d; border-radius:10px; background:#fff; }
.pitch-partner-exchange strong { color:#073a72; font-size:12px; }
.pitch-partner-exchange span { color:var(--muted); font-size:11px; line-height:1.5; }
.pitch-investment-grid { display:grid; gap:10px; }
.pitch-investment-grid article { padding:20px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.pitch-investment-grid article>span { color:#0b4a8d; font-size:10px; font-weight:900; letter-spacing:.12em; }
.pitch-investment-grid h3 { margin:20px 0 8px; font-size:20px; letter-spacing:-.035em; }
.pitch-investment-grid p { margin:0; color:var(--muted); font-size:12px; line-height:1.6; }
.pitch-tech { margin:0 0 96px; }
.pitch-tech-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.pitch-tech-grid article { padding:22px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:var(--shadow); }
.pitch-tech-grid strong { color:#073a72; font-size:15px; }
.pitch-tech-grid p { margin:10px 0 0; color:var(--muted); font-size:11px; line-height:1.6; }
.pitch-skills { display:grid; grid-template-columns:minmax(220px,.55fr) minmax(0,1.45fr); gap:clamp(24px,4vw,52px); margin-top:18px; padding:clamp(22px,4vw,40px); border:1px solid var(--line); border-radius:22px; background:#f4f8fd; }
.pitch-skills-heading h3 { margin:8px 0 10px; font-size:clamp(25px,3vw,38px); line-height:1.05; letter-spacing:-.045em; }
.pitch-skills-heading p { color:var(--muted); font-size:12px; line-height:1.55; }
.pitch-skills ol { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:0; padding:0; list-style:none; counter-reset:skill; }
.pitch-skills li { position:relative; display:grid; gap:4px; padding:14px 14px 14px 42px; border:1px solid var(--line); border-radius:13px; background:#fff; counter-increment:skill; }
.pitch-skills li::before { content:counter(skill); position:absolute; left:14px; top:14px; display:grid; width:20px; height:20px; place-items:center; border-radius:50%; color:#fff; background:#0b4a8d; font-size:9px; font-weight:900; }
.pitch-skills li strong { color:#073a72; font-size:12px; }
.pitch-skills li span { color:var(--muted); font-size:10px; line-height:1.45; }
.pitch-case { display:grid; grid-template-columns:minmax(220px,.55fr) minmax(0,1.45fr); gap:clamp(24px,5vw,70px); align-items:center; margin:0 0 96px; padding:clamp(26px,5vw,58px); color:#fff; background:linear-gradient(135deg,#071b3a 0%,#0a4380 100%); border-radius:28px; box-shadow:0 24px 70px rgba(7,27,58,.20); }
.pitch-case-number { display:grid; align-content:center; justify-items:start; }
.pitch-case-number strong { font-size:clamp(36px,5vw,62px); line-height:.95; letter-spacing:-.055em; }
.pitch-case-number small { margin-top:14px; color:#bed6ee; }
.pitch-case-copy .eyebrow { color:#92caff; }
.pitch-case-copy h2 { margin:9px 0 12px; color:#fff; font-size:clamp(28px,4vw,48px); line-height:1.02; letter-spacing:-.045em; }
.pitch-case-copy p { margin:0; color:#d8e7f5; line-height:1.7; }
.pitch-case-levers { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.pitch-case-levers span { padding:8px 10px; color:#fff; background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.18); border-radius:999px; font-size:10px; font-weight:800; }
.pitch-audience { padding:0 0 96px; }
.pitch-audience-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.pitch-audience-grid article { min-height:280px; padding:25px; border:1px solid var(--line); border-radius:20px; background:linear-gradient(145deg,#fff,#f3f7fc); }
.pitch-audience-grid .route-number { display:grid; width:46px; height:46px; place-items:center; border-radius:13px; color:#fff; background:#0b4a8d; }
.pitch-audience-grid h3 { margin:48px 0 12px; font-size:23px; letter-spacing:-.04em; }
.pitch-audience-grid p { margin:0; color:var(--muted); line-height:1.65; }
.pitch-status { display:grid; grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr); gap:clamp(28px,5vw,74px); padding:clamp(28px,5vw,56px); border:1px solid #bfd4ec; border-radius:24px; background:radial-gradient(circle at 90% 0,rgba(57,118,232,.12),transparent 34%),#f4f8fd; }
.pitch-status-copy h2 { margin:10px 0 15px; font-size:clamp(30px,4vw,48px); line-height:1.02; letter-spacing:-.055em; }
.pitch-status-copy p { color:var(--muted); line-height:1.65; }
.pitch-status-copy .pitch-status-source { margin:14px 0; padding:10px 12px; border-left:3px solid #0b4a8d; background:#fff; color:#405675; font-size:10px; font-weight:750; }
.pitch-status-columns { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.pitch-status-columns article { padding:19px; border:1px solid var(--line); border-top:5px solid #258455; border-radius:15px; background:#fff; }
.pitch-status-columns article.gated { border-top-color:#d4932e; }
.pitch-status-columns article>span { font-size:13px; font-weight:900; }
.pitch-status-columns ul { display:grid; gap:10px; margin:16px 0 0; padding-left:18px; color:#405675; font-size:11px; line-height:1.45; }
.pitch-alignment { margin:96px 0 0; }
.pitch-alignment .section-heading { max-width:900px; }
.pitch-alignment .section-heading>p { max-width:800px; color:var(--muted); line-height:1.7; }
.pitch-alignment-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.pitch-alignment-grid article { padding:clamp(22px,4vw,36px); border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:var(--shadow); }
.pitch-alignment-grid article.tj { color:#fff; background:linear-gradient(145deg,#071b3a,#0b4a8d); }
.alignment-label { color:#0b4a8d; font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.pitch-alignment-grid article.tj .alignment-label { color:#9ecbff; }
.pitch-alignment-grid h3 { margin:28px 0 16px; font-size:25px; letter-spacing:-.04em; }
.pitch-alignment-grid ul { display:grid; gap:10px; margin:0 0 22px; padding-left:19px; color:var(--muted); line-height:1.5; }
.pitch-alignment-grid article.tj ul { color:#d8e7f5; }
.pitch-alignment-grid small { display:block; padding-top:16px; border-top:1px solid var(--line); color:var(--muted); line-height:1.55; }
.pitch-alignment-grid article.tj small { border-color:rgba(255,255,255,.18); color:#bed2e8; }
.pitch-alignment-fit { display:grid; grid-template-columns:auto minmax(0,1fr); gap:18px; align-items:center; margin-top:13px; padding:18px 20px; border:1px solid #b8d0ea; border-radius:15px; background:#edf5ff; }
.pitch-alignment-fit strong { color:#073a72; }
.pitch-alignment-fit span { color:var(--muted); line-height:1.55; }
.pitch-founder { display:grid; grid-template-columns:auto minmax(0,1fr); gap:28px; align-items:start; margin:96px 0 0; padding:clamp(28px,5vw,58px); border-radius:24px; color:#fff; background:linear-gradient(135deg,#071b3a,#0a4b8d); box-shadow:var(--shadow); }
.founder-mark { width:88px; height:88px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.3); border-radius:24px; color:#071b3a; background:#fff; font-size:30px; font-weight:950; letter-spacing:-.08em; }
.founder-portrait { width:clamp(180px,22vw,280px); aspect-ratio:3/4; object-fit:cover; object-position:center top; border:1px solid rgba(255,255,255,.28); border-radius:22px; box-shadow:0 20px 50px rgba(0,0,0,.24); }
.pitch-founder .eyebrow { color:#9ecbff; }
.pitch-founder h2 { margin:9px 0 13px; font-size:clamp(29px,4vw,50px); letter-spacing:-.055em; }
.pitch-founder p { max-width:860px; color:#cbd9ea; line-height:1.7; }
.founder-credentials { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:22px 0; padding:0; list-style:none; }
.founder-credentials li { display:grid; grid-template-columns:auto 1fr; gap:11px; align-items:start; padding:13px; border:1px solid rgba(255,255,255,.15); border-radius:13px; background:rgba(255,255,255,.07); }
.founder-credentials strong { color:#fff; font-size:25px; line-height:1; }
.founder-credentials span { color:#d8e5f3; font-size:12px; line-height:1.5; }
.pitch-founder .founder-boundary { padding-top:12px; border-top:1px solid rgba(255,255,255,.16); color:#afc5dd; font-size:10px; }
.pitch-founder blockquote { max-width:880px; margin:24px 0 0; padding:18px 20px; border-left:4px solid #7db8ff; background:rgba(255,255,255,.08); color:#fff; font-size:14px; font-weight:750; line-height:1.6; }
.founder-assets { display:flex; gap:18px; align-items:center; margin:14px 0 0; padding:17px 20px; border:1px solid #b8d0ea; border-radius:16px; background:#fff; color:var(--muted); box-shadow:0 10px 30px rgba(7,27,58,.08); }
.founder-assets strong { flex:0 0 auto; color:var(--navy); }
.founder-assets span { line-height:1.55; }
.pitch-routes { padding-top:96px; }
.pitch-routes .experience-card h3 { margin-top:32px; }
.pitch-contact { display:flex; justify-content:space-between; gap:28px; align-items:center; margin:72px 0 24px; padding:clamp(24px,4vw,40px); border:1px solid #b8d0ea; border-radius:22px; background:linear-gradient(145deg,#fff,#edf5ff); box-shadow:var(--shadow); }
.pitch-contact h2 { margin:8px 0; font-size:clamp(30px,4vw,48px); letter-spacing:-.05em; }
.pitch-contact p { max-width:720px; margin:0; color:var(--muted); line-height:1.65; }
.pitch-contact-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; }
.pitch-boundary { margin-bottom:24px; }
.pitch-evidence-boundary { max-width:980px; margin:0 auto 24px; color:var(--muted); font-size:10px; line-height:1.55; text-align:center; }

@media (max-width: 1180px) {
  .pitch-status { grid-template-columns:1fr; gap:28px; }
  .pitch-status-copy h2,.pitch-status-copy p { max-width:820px; }
}
@media (max-width: 900px) {
  .pitch-scoreboard { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pitch-tech-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pitch-investment { grid-template-columns:1fr; }
  .pitch-origin-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pitch-product-view-grid { grid-template-columns:1fr; }
  .pitch-skills { grid-template-columns:1fr; }
  .pitch-case { grid-template-columns:1fr; }
  .pitch-audience-grid { grid-template-columns:1fr; }
  .pitch-audience-grid article { min-height:220px; }
  .pitch-status { grid-template-columns:1fr; }
  .pitch-alignment-grid { grid-template-columns:1fr; }
  .pitch-contact { align-items:flex-start; flex-direction:column; }
  .pitch-contact-actions { justify-content:flex-start; }
  .founder-assets { align-items:flex-start; flex-direction:column; gap:7px; }
  .pitch-founder { grid-template-columns:1fr; gap:24px; margin-top:72px; padding:32px; }
  .founder-portrait { width:100%; max-width:260px; }
  .founder-credentials li { grid-template-columns:1fr; gap:8px; min-height:0; }
  .founder-credentials span { font-size:13px; }
}
@media (max-width: 560px) {
  .tour-walkthrough-target { scroll-margin-top:68px; }
  .pitch-main { width:calc(100vw - 24px); padding-top:34px; }
  .experience-nav { align-items:stretch; flex-direction:column; gap:8px; }
  .experience-nav nav { width:100%; }
  .experience-nav nav .button { width:100%; max-width:none; min-height:40px; }
  .pitch-hero h1 { font-size:clamp(34px,10.5vw,44px); line-height:1.02; letter-spacing:-.05em; }
  .pitch-hero-copy>p { font-size:14px; line-height:1.58; }
  .pitch-hero-context { padding-left:12px; font-size:12px !important; }
  .pitch-proof-chips { display:grid; }
  .pitch-scoreboard { grid-template-columns:1fr; margin-bottom:68px; }
  .pitch-scoreboard article { padding:19px; }
  .pitch-investment { margin-bottom:68px; padding:24px 19px; border-radius:20px; }
  .pitch-origin { margin-bottom:68px; padding:25px 20px; border-radius:20px; }
  .pitch-origin-grid { grid-template-columns:1fr; }
  .pitch-origin-grid article { padding:18px; }
  .pitch-product-views { margin-bottom:68px; }
  .pitch-product-view-grid figcaption { padding:20px; }
  .pitch-product-view-grid figcaption { grid-template-rows:auto auto auto auto; }
  .pitch-product-view-grid h3 { font-size:21px; }
  .pitch-product-view-grid p { font-size:12px; }
  .pitch-product-view-grid .button { width:100%; }
  .pitch-investment-copy h2 { font-size:31px; }
  .pitch-partner-exchange span,.pitch-investment-grid p { font-size:12px; }
  .pitch-tech { margin-bottom:68px; }
  .pitch-tech-grid { grid-template-columns:1fr; }
  .pitch-skills { padding:20px 16px; }
  .pitch-skills ol { grid-template-columns:1fr; }
  .pitch-skills li strong { font-size:13px; }
  .pitch-skills li span { font-size:11px; }
  .pitch-case { margin-bottom:68px; padding:26px 20px; border-radius:20px; }
  .pitch-case-number strong { font-size:42px; }
  .pitch-audience { padding-bottom:68px; }
  .pitch-status { padding:22px 18px; }
  .pitch-status-columns { grid-template-columns:1fr; }
  .pitch-alignment { margin-top:68px; }
  .pitch-alignment-grid article { padding:22px 19px; }
  .pitch-alignment-grid h3 { margin-top:22px; }
  .pitch-alignment-fit { grid-template-columns:1fr; }
  .pitch-founder { grid-template-columns:1fr; margin-top:68px; padding:25px 20px; }
  .founder-mark { width:68px; height:68px; border-radius:19px; font-size:24px; }
  .founder-portrait { width:100%; max-width:220px; margin-inline:auto; }
  .founder-credentials { grid-template-columns:1fr; }
  .founder-credentials li { padding:16px; }
  .pitch-founder .founder-boundary { font-size:12px; }
  .pitch-founder blockquote { margin-top:18px; font-size:12px; }
  .pitch-routes { padding-top:68px; }
  .pitch-contact { margin-top:50px; padding:22px 18px; }
  .pitch-contact-actions { display:grid; width:100%; }
  .pitch-contact-actions .button { width:100%; }
}
