@font-face {
  font-family: "Deltu Sans";
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Deltu Sans", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Deltu Sans", sans-serif;
  --accent: #2844c8;
  --accent-hover: #2038aa;
  --ink: #202321;
  --studio: #e9e4e0;
  --midnight: #1e2636;
  --mist: #c6cedd;
  --gutter: clamp(24px, 5.2vw, 92px);
  --frame: 1352px;
  --mast: 70px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mast) + 16px); }
body { margin: 0; color: var(--ink); background: var(--bg); font: var(--text-base)/var(--leading-body) var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, button, summary, select, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #5778ee; outline-offset: 4px; }
button, select, input { font: inherit; color: inherit; }
button, summary, select { cursor: pointer; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3, .brand, #doc-value { font-family: var(--font-display); }
h1, h2, h3 { text-wrap: balance; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--frame)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 12px; z-index: 9; padding: 10px; background: var(--bg); }
.skip:focus { top: 8px; }
.mast { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(20,25,30,.07); }
.nav { display: flex; align-items: center; min-height: var(--mast); gap: 46px; }
.brand { display: inline-flex; align-items: center; gap: 4px; font-size: 34px; letter-spacing: -.085em; font-weight: 680; line-height: 1; }
.mark { position: relative; display: inline-block; width: .44em; height: .5em; transform: translateY(-.05em); }
.mark::before, .mark::after { content: ""; width: 84%; height: 41%; background: currentColor; position: absolute; }
.mark::before { top: 1%; right: 0; clip-path: polygon(0 0,70% 0,100% 50%,70% 100%,0 100%); }
.mark::after { bottom: 2%; left: 0; clip-path: polygon(30% 0,100% 0,100% 100%,30% 100%,0 50%); }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: var(--text-sm); }
.nav nav a, .footer > a:last-child { display: inline-flex; align-items: center; min-height: 44px; }
.nav nav a:hover, .footer > a:last-child:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.demo-link { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; gap: 9px; font-size: var(--text-sm); font-weight: 570; }
.demo-link span { font-size: 19px; font-weight: 400; }
.demo-link:hover, .text-link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }


h2 { font-size:clamp(39px,4.1vw,62px);line-height:1.04;font-weight:550;letter-spacing:-.055em; }
.process {padding:clamp(66px,7vw,112px) 0; background:white;}
.section-head,.process-row {display:grid;grid-template-columns:.93fr 1.07fr;gap:clamp(40px,5vw,90px);}
.section-head {align-items:end; margin-bottom:clamp(32px,4vw,60px);}
.section-head p,.explain p {max-width:43ch; color:var(--fg-2); text-wrap:pretty;}
.process-row {align-items:center; border-top:1px solid var(--border-soft); padding:clamp(33px,4vw,64px) 0;}
.analysis-nav { display:flex; gap:clamp(20px,3vw,44px); position:sticky; top:var(--mast); z-index:2; background:rgba(255,255,255,.98); border-bottom:1px solid var(--border-soft); }
.analysis-nav a { display:inline-flex; align-items:center; min-height:45px; font-size:14px; color:var(--fg-2); border-bottom:2px solid transparent; }
.analysis-nav a[aria-current] { color:var(--accent); border-color:var(--accent); }
.process-row { scroll-margin-top:56px; }
.analysis-nav + .process-row { border-top:0; }
.process-row:last-child {padding-bottom:0;}
.explain h3 {font-weight:555;letter-spacing:-.046em;font-size:clamp(29px,2.7vw,44px);line-height:1.08; max-width:19ch;}
.explain p {margin-top:15px;}
.record,.calculation,.ranking {min-width:0; padding:0 0 0 clamp(0px,1.1vw,23px);}
.field-title {font-weight:580; font-size:15px; color:var(--fg-2);}
.product-line { display:flex; align-items:center; gap:18px; padding-bottom:18px; border-bottom:1px solid var(--border-soft); }
.product-line img { width:82px; height:82px; object-fit:contain; }
.product-line strong,.product-line span { display:block; }
.product-line strong { font-size:clamp(21px,1.9vw,30px); line-height:1.12; font-weight:560; letter-spacing:-.037em; }
.product-line span,#exclusion { font-size:14px; color:var(--fg-2); }
.product-line span { margin-top:5px; }
.lot-facts { display:grid; grid-template-columns:1fr 1fr; gap:16px 24px; margin-block:18px 5px; }
.lot-facts dt,.provenance dt { color:var(--fg-2); font-size:14px; }
.lot-facts dd { font-size:17px; font-weight:560; line-height:1.3; margin-top:3px; }
.provenance dl { display:grid; grid-template-columns:1fr 1fr; gap:15px; padding:10px 0; border-top:1px solid var(--border-soft); }
.provenance dd { font-size:15px; overflow-wrap:anywhere; }
.evaluation table { width:100%; border-collapse:collapse; font-size:14px; }
.evaluation caption { text-align:left; padding-block:9px 4px; color:var(--fg-2); font-weight:550; }
.evaluation th,.evaluation td { border-bottom:1px solid var(--border-soft); padding:7px 0; font-weight:450; }
.evaluation th { text-align:left; }
.evaluation td { text-align:right; font-variant-numeric:tabular-nums; font-weight:570; }
.equation {display:grid;grid-template-columns:repeat(3,1fr);margin:15px 0 4px;gap:12px;}
.equation div+div {border-left:1px solid var(--border);padding-left:14px;}
.equation strong {display:block;font-size:clamp(33px,3vw,46px);line-height:1.12;letter-spacing:-.06em;font-weight:530;}
.equation div:last-child strong {color:var(--accent);}
.equation span {font-size:14px;color:var(--fg-2);}
.method summary,.basis summary {display:flex;gap:10px; align-items:center;min-height:44px;width:fit-content;list-style:none;}
.method summary,.text-link {color:var(--accent);font-weight:550;font-size:15px;}
.method p {font-size:14px;color:var(--fg-2);padding:6px 0;}
summary::-webkit-details-marker {display:none;}
.method summary::after,.basis summary::after {content:"+"; font-size:18px;}
details[open]>summary::after {content:"−";}
.text-link {display:inline-flex;align-items:center;min-height:44px;}
.ranking ol {padding:0;list-style:none;margin:8px 0 12px;}
.ranking li {display:grid;grid-template-columns:1fr auto;gap:3px 12px;border-bottom:1px solid var(--border-soft);padding:10px 0;}
.ranking li strong {font-weight:565;}
.ranking li small {grid-column:1/-1;color:var(--fg-2);font-size:14px;}
.ranking li span {font-size:15px; font-variant-numeric:tabular-nums;}
.ranking li:first-child span {color:var(--accent);font-weight:600;}
.ceiling,.draft {color:var(--fg-2);font-size:14px;margin-top:13px;}
.engine { background: var(--midnight); color: #f6f7fa; padding-block: var(--section-y-desktop); }
.engine-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: start; gap: clamp(48px, 7vw, 114px); }
.engine-copy > p { max-width: 36ch; color: var(--mist); margin-block: 21px 32px; font-size: 18px; }
.engine label { font-size: 15px; }
.engine-copy label { display: block; margin-bottom: 6px; color: var(--mist); }
.engine-copy select {
  appearance: none;
  background-color: #2d374a;
  color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding: 11px 36px 11px 14px;
  min-height: 46px;
  width: min(100%, 330px);
  border: 1px solid #58637a;
  border-radius: var(--radius-sm);
}
@media (forced-colors: active) {
  .engine-copy select { appearance: auto; background-image: none; }
}
.basis { margin-top: 7px; }
.basis summary { min-height: 44px; display: flex; align-items: center; gap: 12px; color: var(--mist); font-size: 14px; }
.basis p { font-size: 14px; line-height: 1.55; color: var(--mist); max-width: 46ch; }
.calculator { background: var(--surface-warm); color: var(--ink); padding: clamp(22px, 3.2vw, 47px); border-radius: var(--radius-lg); }
.range-head, .range-ends, .totals > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.range-head label { color: var(--fg-2); }
#bid { font-variant-numeric: tabular-nums; font-size: clamp(22px, 2.2vw, 33px); font-weight: 580; letter-spacing: -.04em; }
#price { display: block; width: 100%; height: 34px; padding: 0; margin: 5px 0 0; appearance: none; background: transparent; cursor: pointer; accent-color: var(--accent); }
#price::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--accent) var(--progress), #dadde4 var(--progress)); }
#price::-webkit-slider-thumb { appearance: none; margin-top: -8px; width: 20px; height: 20px; border: 3px solid var(--accent); border-radius: 50%; background: white; }
#price::-moz-range-track { height: 4px; background: #dadde4; }
#price::-moz-range-progress { height: 4px; background: var(--accent); }
#price::-moz-range-thumb { background: white; border: 3px solid var(--accent); border-radius: 50%; }
.range-ends { color: var(--muted); font-size: 13px; }
.calculator h3 { margin: 28px 0 9px; font-size: 16px; font-weight: 600; }
.totals > div { padding: 6px 0; font-size: 15px; color: var(--fg-2); }
.totals dd { font-variant-numeric: tabular-nums; }
.totals .best { color: var(--accent); font-weight: 650; }
.result { border-top: 1px solid var(--border); padding-top: 19px; margin-top: 11px; line-height: 1.4; }
.result strong { font-size: 22px; font-weight: 615; letter-spacing: -.045em; }
.offer-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 5px; min-height: 44px; font-size: 15px; color: var(--accent); font-weight: 550; }
.offer-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer { min-height: 105px; display: flex; align-items: center; justify-content: space-between; }
.footer .brand { font-size: 28px; }
.footer > a:last-child { font-size: var(--text-sm); color: var(--muted); }

@media(max-width:980px){
  .engine-grid,.section-head,.process-row {gap:30px;}
}
@media(max-width:740px){
  :root {--gutter:20px;--mast:55px;}
  .nav {gap:18px;} .brand {font-size:30px;} .nav nav a:first-child {display:none;}
  .section-head,.process-row,.engine-grid {display:block;}
  .process {padding:53px 0;}
  .section-head {margin-bottom:24px;}
  .section-head p,.explain p {margin-top:11px;font-size:16px;}
  .process-row {padding:29px 0;}
  .record,.calculation,.ranking{padding:0;margin-top:22px;}
  .engine {padding:52px 0;}
  .engine-copy > p {margin:15px 0 22px;font-size:17px;}
  .engine-copy select {width:100%;} .calculator {margin-top:22px;} .footer {min-height:80px;}
}
@media(max-width:360px){
  :root{--gutter:15px;}
  .equation{gap:5px;} .equation div+div{padding-left:8px;}
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

/* The landing opens directly onto the example workspace. */
.showcase {
  padding: clamp(27px,3.7vw,60px) 0 clamp(42px,5.3vw,88px);
  background: radial-gradient(ellipse at 18% 85%,#d4e1ec 0,transparent 51%),radial-gradient(ellipse at 86% 82%,#c7d8f7 0,transparent 48%),linear-gradient(180deg,#fafbfd 0%,#f4f7fa 36%,#dee8ef 100%);
}
.showcase>.wrap { width:min(calc(100% - clamp(36px,7vw,132px)),1312px); }
.intro {text-align:center;margin:0 auto clamp(24px,2.7vw,43px);}
.intro h1 {font-size:clamp(42px,4.3vw,73px);letter-spacing:-.062em;font-weight:570;line-height:1.01;color:#192135;}
.intro p {margin:14px auto 0;color:#505b6e;line-height:1.46;font-size:clamp(16px,1.25vw,19px);}
.desk {background:white;border:1px solid #c9d0d9;border-radius:18px;overflow:clip;box-shadow:0 22px 60px -29px #425a7e69,0 3px 9px #3440570c;scroll-margin-top:12px;font-variant-numeric:tabular-nums;}
.desk-bar {display:flex;align-items:center;justify-content:space-between;gap:9px;padding:0 22px;min-height:48px;border-bottom:1px solid #dee3e9;background:#fafbfc;font-size:14px;}
.desk-bar>div,.engine-sign {display:flex;align-items:center;gap:9px;}
.desk-bar .mark,.engine-sign .mark {width:15px;height:16px;color:var(--accent);transform:none;}
.desk-bar strong {color:#202a3c; font-weight:650;letter-spacing:-.025em;}
.bar-path {color:#abb2be;margin:0 4px;}
.bar-location,.sample-note {color:#5b6473;}
.desk-body {display:grid;grid-template-columns:minmax(208px,.90fr) minmax(310px,1.98fr) minmax(214px,1fr);}
.inbox {min-width:0;background:#f8f9fb;border-right:1px solid #e0e4e9;padding:20px 10px;}
.inbox-head {display:flex;align-items:center;justify-content:space-between;margin:0 10px 15px;}
.inbox-head h2,.quote-pane h2 {font-size:16px;line-height:1.2;letter-spacing:-.025em;font-weight:650;}
.inbox-head>span {font-size:13px;color:#626c7d;}
.lot-list {display:grid;gap:4px;}
.lot-choice {display:flex;align-items:center;text-align:left;gap:9px;padding:9px 8px;width:100%;min-height:64px;background:transparent;border:1px solid transparent;border-radius:9px;line-height:1.28;}
.lot-choice:hover {background:#f0f2f7;}
.lot-choice[aria-pressed=true] {background:#e7edfc;border-color:#c6d3f5;}
.lot-choice img {width:40px;height:40px;object-fit:contain;border-radius:6px;mix-blend-mode:multiply;flex:none;}
.lot-choice strong,.lot-choice small {display:block;}
.lot-choice strong {font-size:14px;font-weight:600;color:#2c3444;}
.lot-choice[aria-pressed=true] strong {color:#19367e;}
.lot-choice small {color:#5d6676;font-size:13px;margin-top:4px;}
.mobile-picker {display:none;}
.case-work {min-width:0;padding:clamp(18px,2vw,34px);display:flex;flex-direction:column;align-items:stretch;}
.mobile-product {display:none;}
.case-heading>p {font-size:14px;color:#566174;line-height:1.45;}
.case-heading h2 {font-size:clamp(24px,2vw,32px);font-weight:610;line-height:1.1;letter-spacing:-.04em;margin:3px 0 6px;}
.workspace-tabs {display:flex;gap:clamp(13px,1.8vw,30px);border-bottom:1px solid #e1e5eb;margin-top:12px;}
.workspace-tabs button {font-size:14px;background:transparent;border:0;border-bottom:2px solid transparent;color:#596474;padding:0;min-height:43px;}
.workspace-tabs button[aria-selected=true]{color:#2446ae;border-color:#3557cc;font-weight:630;}
.stage {min-width:0;min-height:244px;padding:20px 0 16px;}
.stage[hidden] {display:none;}
.stage h3 {font-size:21px;line-height:1.16;letter-spacing:-.034em;font-weight:610;}
.question {width:fit-content;margin-left:auto;padding:7px 12px;border-radius:11px 11px 3px 11px;background:#eef1f6;color:#384255;font-size:14px;}
.engine-sign {font-size:14px;color:#445172;font-weight:620;margin:13px 0 6px;}
.engine-sign .mark {width:13px;height:14px;}
.answer h3 {font-size:clamp(22px,1.95vw,31px);font-weight:595;}
.answer p,.panel-hint {color:#566174;font-size:15px;line-height:1.45;margin-top:5px;text-wrap:pretty;}
.evidence {margin-top:13px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.evidence>div {display:grid;grid-template-rows:subgrid;grid-row:span 2;row-gap:2px;}
.evidence dt {color:#586475;font-size:13px;}
.evidence dd {font-size:clamp(22px,1.85vw,30px);line-height:1.14;font-weight:590;letter-spacing:-.05em;}
.evidence>div:last-child dd {color:#2446ae;}
.scenario {border-top:1px solid #e2e6ec;padding-top:12px;display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;justify-content:space-between;margin-top:auto;}
.scenario > span {font-size:14px;color:#485468;}
.scenario [role=group] {background:#f0f2f6;display:flex;padding:2px;border-radius:8px;}
.scenario button {border:1px solid transparent;background:transparent;font-size:14px;border-radius:6px;color:#4a556a;min-height:34px;padding:3px 10px;}
.scenario button[aria-pressed=true] {background:#fff;color:#20304d;border-color:#d7dce5;box-shadow:0 1px 3px #7a859b26;}
.quote-pane {padding:clamp(16px,1.65vw,28px);border-left:1px solid #e0e4e9;background:#fcfdff;}
.product-art {height:clamp(95px,9.2vw,151px);background:#f2f4f7;display:grid;place-items:center;border-radius:9px;margin-bottom:17px;}
.product-art img {display:block;mix-blend-mode:multiply;width:95%;height:100%;min-height:0;object-fit:contain;}
.draft-lines {margin:11px 0 15px;}
.draft-lines>div {display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:14px;margin-top:7px;}
.draft-lines dt {color:#5b6779;}
.draft-lines dd {font-weight:560;text-align:right;line-height:1.28;}
.draft-lines .draft-total {border-top:1px solid #dee3ea;margin-top:12px;padding-top:10px;}
.draft-total dd {font-size:20px;letter-spacing:-.04em;}
.prepare,.adjust {display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;min-height:40px;}
.prepare {background:#263f9e;color:white;border-radius:8px;}
.prepare:hover {background:#1e3280;}
.adjust {color:#3b517d;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#b8c3da;}
.chart-title {display:flex;align-items:start;justify-content:space-between;gap:8px;}
.chart-title p,.projection span,.chart-footer,.legend {font-size:13px;color:#596578;}
.projection {text-align:right;}
.projection strong {display:block;color:#2844ae;font-size:28px;line-height:1.04;letter-spacing:-.045em;}
.legend,.chart-footer {display:flex;gap:13px;}
.legend {margin-top:8px;}
.legend span::before {content:"";display:inline-block;width:14px;border-top:2px solid #425268;margin-right:5px;vertical-align:middle;}
.legend span+span::before {border-top:2px dashed #2b48b8;}
.plot {height:110px;margin-top:5px;}
.plot canvas {display:block;width:100%;height:100%;}
.chart-footer {justify-content:space-between;padding-left:29px;}
.stage .ranking {padding:0;margin-top:9px;}
@media(max-width:1050px) and (min-width:801px){
  .desk-body{grid-template-columns:185px minmax(280px,1.5fr) minmax(195px,1fr);}
  .case-work,.quote-pane{padding:17px;}
  .lot-choice img{width:32px;height:32px;}
  .scenario{align-items:flex-start;}
}
@media(max-width:800px) {
  .showcase>.wrap{width:min(calc(100% - 30px),720px);}
  .desk-body{grid-template-columns:minmax(0,1.55fr) minmax(190px,1fr);}
  .inbox{grid-column:1/-1;border-right:none;border-bottom:1px solid #e0e4e9;padding:5px 16px;}
  .inbox-head,.lot-list{display:none;}
  .mobile-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#596578;font-size:14px;}
  .mobile-picker select{color:#24365d;font-weight:560;background-color:transparent;border:0;min-height:42px;padding:0 20px 0 0;max-width:72%;text-overflow:ellipsis;}
  .scenario button{min-height:40px;}
}
@media(max-width:590px){
  .mobile-product{display:block;float:right;width:53px;height:53px;object-fit:contain;margin-left:6px;}
  .intro{margin-bottom:21px;padding:0 6px;}
  .intro h1{font-size:clamp(37px,8.8vw,49px);text-wrap:balance;}
  .desktop-break{display:none;}
  .intro p{font-size:16px;margin-top:10px;max-width:36ch;}
  .showcase{padding:24px 0 31px;}
  .desk{border-radius:13px;}
  .desk-bar{min-height:42px;padding:0 13px;}
  .bar-path,.bar-location{display:none;}
  .sample-note{font-size:13px;}
  .desk-body{display:block;}
  .case-work{padding:16px;}
  .stage{min-height:0;padding:13px 0;}
  .engine-sign{margin-top:10px;}
  .quote-pane{border-left:0;border-top:1px solid #dce1e8;display:grid;grid-template-columns:1fr 76px;column-gap:12px;padding:16px;}
  .product-art{grid-row:1/3;grid-column:2;height:73px;margin:0;}
  .quote-pane h2,.draft-lines{grid-column:1;}
  .draft-lines{margin:6px 0 12px;}
  .quote-pane .prepare,.quote-pane .adjust{grid-column:1/-1;min-height:44px;}
  .evidence{gap:4px;}
  .evidence dt{line-height:1.3;margin-bottom:2px;}
  .scenario{padding-top:9px;}
}
@media(max-width:359px){
  .mobile-picker{display:block;}
  .mobile-picker select{width:100%;max-width:100%;}
  .case-work{padding:13px;}
  .workspace-tabs{gap:12px;}
}

.compare-buyer {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0;
  border: 0; background: transparent; color: var(--accent);
  font-size: 14px; text-align: left; text-decoration: underline; text-underline-offset: 3px;
}
.compare-buyer[hidden] { display: none; }

#open-portfolio,.portfolio-close {
  min-height:36px; border:1px solid #cdd5e0; border-radius:7px;
  padding:5px 12px; background:#fff; color:#30466f; font-size:14px; font-weight:580;
}
#open-portfolio:hover,.portfolio-close:hover {background:#eef2f9;}
.portfolio {
  box-sizing:border-box; width:min(850px,calc(100% - 28px)); max-height:90dvh;
  margin:auto; padding:clamp(18px,3vw,34px); border:1px solid #d1d9e4;
  border-radius:16px; background:white; color:var(--ink); font:inherit;
  box-shadow:0 22px 70px #17263d38; overflow:auto; overscroll-behavior:contain;
}
.portfolio::backdrop {background:#17243c75;}
.portfolio-head {display:flex;justify-content:space-between;align-items:center;gap:12px;}
.portfolio-head h2 {font-size:clamp(24px,3.4vw,35px);line-height:1.1;}
#portfolio-intro,.portfolio-basis {color:#546073;line-height:1.45;}
#portfolio-intro {margin:10px 0 17px;max-width:66ch;}
.portfolio-scenario {padding:12px 0;border-block:1px solid #e2e6ec;}
.portfolio-metrics {display:grid;grid-template-columns:1fr 1fr .77fr;gap:16px;margin:20px 0 6px;}
.portfolio-metrics dt {color:#566174;font-size:14px;}
.portfolio-metrics dd {font-size:clamp(22px,2.8vw,32px);font-weight:590;letter-spacing:-.05em;}
#portfolio-coverage {color:var(--accent);}
.portfolio-basis {font-size:14px;margin-bottom:18px;}
.portfolio-list {list-style:none;padding:0;margin:0;}
.portfolio-columns,.portfolio-lot {display:grid;grid-template-columns:1.25fr 1.1fr .9fr .9fr;align-items:center;gap:12px;padding:9px 8px;}
.portfolio-columns {border-bottom:1px solid #d4dce7;color:#526075;font-size:13px;}
.portfolio-lot {border:0;border-bottom:1px solid #e0e5eb;background:transparent;text-align:left;width:100%;min-height:56px;color:#293248;font-size:14px;}
.portfolio-lot:hover {background:#f1f5fd;}
.portfolio-lot strong,.portfolio-lot small {display:block;}
.portfolio-lot strong {color:#253e9a;font-weight:600;text-decoration:underline;text-decoration-color:#b6c4e6;text-underline-offset:3px;}
.portfolio-lot small {color:#637085;font-size:13px;}
.portfolio-columns span:nth-child(n+3),.portfolio-lot span:nth-child(n+3) {text-align:right;font-variant-numeric:tabular-nums;}
@media (max-width:590px) {
  .desk-bar {flex-wrap:wrap;row-gap:2px;padding-block:3px;}
  .desk-bar .desk-actions {gap:7px;flex-wrap:wrap;}
  #open-portfolio,.portfolio-close {min-height:40px;padding-inline:8px;}
  .portfolio-metrics {display:flex;flex-direction:column;gap:5px;margin:14px 0 9px;}
  .portfolio-metrics div {display:flex;justify-content:space-between;align-items:baseline;gap:12px;}
  .portfolio-metrics dd {font-size:21px;}
  .portfolio-columns {display:none;}
  .portfolio-lot {grid-template-columns:1fr auto;gap:4px 9px;padding:10px 1px;}
  .portfolio-lot span:first-child {grid-column:1;grid-row:1;}
  .portfolio-lot [data-buyer] {grid-column:1;grid-row:2;}
  .portfolio-lot [data-value] {grid-column:2;grid-row:1;}
  .portfolio-lot [data-qty] {grid-column:2;grid-row:2;}
  .portfolio-lot [data-qty],.portfolio-lot [data-buyer] {font-size:13px;}
}

/* The same lot carries through the supplier record, decision and buyer invitation. */
[hidden]{display:none!important}
.journey .section-head{align-items:center}
.journey .explain{align-self:center}
.journey .process-row{padding-block:clamp(38px,5vw,74px)}
.journey .explain h3{max-width:17ch}
.journey-record,.decision-sheet,.phone-stage{width:100%;max-width:620px;margin-inline:auto}
.journey-record{padding:clamp(15px,2.5vw,32px);background:#f7f8fa;border-radius:14px}
.journey-record .lot-facts{gap:12px 18px}
.trial{display:inline-flex;gap:3px;margin-top:17px;padding:3px;border-radius:9px;background:#eef1f4}
.trial button{border:1px solid transparent;background:transparent;border-radius:7px;min-height:42px;font-size:14px;padding:7px 13px;color:#4c5866}
.trial button[aria-pressed=true]{background:#fff;border-color:#d5dce1;color:#183342;font-weight:600;box-shadow:0 1px 3px #23303a14}
.decision-sheet{border:1px solid #d7dfe5;border-radius:14px;background:#fcfdfe;overflow:hidden}
.sheet-head,.channel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px}
.sheet-head{border-bottom:1px solid #dce3e8;background:#f3f6f8}
.sheet-head span:first-child{display:flex;gap:9px;align-items:center;font-weight:650;color:#263648}
.sheet-head span:last-child,.channel-top small{font-size:13px}
.sheet-head span:last-child{color:#546373}
.sheet-head .mark{width:14px;height:14px}
.signals{padding:7px 21px 12px;margin:0;list-style:none}
.signals li{position:relative;padding:13px 0 13px 25px}
.signals li:before{content:"";position:absolute;left:0;top:20px;width:10px;height:10px;border:2px solid #436e78;border-radius:50%;background:#fcfdfe;z-index:1}
.signals li+li:after{content:"";position:absolute;left:4px;top:calc(-100% + 21px);bottom:calc(100% - 21px);width:1px;background:#b1c4cc}
.signals li:last-child:before{background:#436e78}
.signals strong,.signals span,.handoff-lot strong,.handoff-lot small{display:block}
.signals strong{font-size:17px;color:#1e3441;letter-spacing:-.028em}
.signals span,.handoff-lot small{font-size:14px;color:#556473;line-height:1.45;margin-top:2px}
.handoff-lot{display:flex;align-items:center;gap:11px;margin-top:22px}
.handoff-lot img{object-fit:contain;mix-blend-mode:multiply}
.handoff-lot strong{font-size:15px;font-weight:580}
.phone-stage{display:grid;place-items:center;background:#edf3f1;border-radius:18px;padding:clamp(16px,3vw,44px)}
.phone{width:min(100%,370px);border-radius:18px;border:1px solid #c4d0cd;overflow:clip;background:#fff;box-shadow:0 15px 30px -20px #3b564f66}
.channel-top{background:#244946;color:#fff;min-height:54px;font-size:16px;font-weight:620}
.channel-top small{color:#d0dfd9;font-weight:450}
.channel-body{padding:18px;color:#213b36;font-size:16px;line-height:1.45}
.channel-body h4{font:600 20px/1.2 var(--font-display);letter-spacing:-.035em;margin:0}
.channel-body p{margin:9px 0 14px}
.chat-bubble{background:#eef3f0;border-radius:4px 12px 12px 12px;padding:14px 15px;margin-bottom:13px}
.chat-bubble p:last-child{margin-bottom:0;color:#496058;font-size:14px}
.flow-btn{display:flex;width:100%;min-height:44px;align-items:center;justify-content:center;font-size:15px;font-weight:600;padding:9px 12px;border:0;border-radius:8px;background:#28574e;color:white;text-align:center}
.flow-btn:hover{background:#204a43}
.flow-btn.quiet{background:transparent;color:#36594f;margin-top:4px}
.flow-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.flow-fields label{display:block;font-size:14px;font-weight:550}
.flow-fields input{width:100%;border:1px solid #acbcb5;border-radius:7px;background:white;color:#20392e;padding:8px 10px;min-height:44px;font-size:16px;margin-top:4px}
.flow-sum,.receipt-lines>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:15px;margin:12px 0;font-variant-numeric:tabular-nums}
.flow-sum output,.receipt-lines dd{font-weight:620}
.channel-body .pending{border-left:3px solid #9ba858;margin-block:16px;padding-left:10px;font-size:14px}
.scenario [role=group]{flex-wrap:wrap}
@media(max-width:740px){.journey .process-row{padding-block:30px}.journey-record,.decision-sheet,.phone-stage{margin-top:18px}.journey .explain h3{max-width:22ch}.trial button,.scenario button{min-height:44px}}
@media(max-width:380px){.phone-stage{padding:8px}.channel-body,.sheet-head{padding:13px}.flow-fields{grid-template-columns:1fr}.signals{padding-inline:13px}.nav{gap:12px}.nav nav{gap:0}.nav nav a,.demo-link{font-size:13px}}

/* Demand and stock share the same day cursor and units. */
.trend-panel{padding-block:16px 13px}
.trend-head,.trend-controls,.trend-legend,.coverage-key{display:flex;align-items:center;justify-content:space-between;gap:10px}
.trend-head{align-items:flex-start}
.trend-head label,.trend-change small{display:block;font-size:13px;color:#566475}
.trend-head select{appearance:none;max-width:100%;min-height:34px;border:0;padding:3px 22px 3px 0;border-radius:2px;color:#22394a;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23455a64' stroke-width='1.6'/%3E%3C/svg%3E") right center/12px 8px no-repeat;font-size:clamp(16px,1.45vw,22px);font-weight:615;letter-spacing:-.035em}
.trend-head>div:first-child{min-width:0}
.trend-change{text-align:right;flex:none}
.trend-change strong{font-size:clamp(20px,1.8vw,28px);font-weight:580;letter-spacing:-.045em;color:#214b55}
.trend-change small{font-size:12px}
.trend-legend{justify-content:flex-start;flex-wrap:wrap;gap:5px 13px;margin-top:8px;font-size:12px;color:#546573}
.trend-legend span:before{content:"";display:inline-block;vertical-align:middle;width:17px;margin-right:5px;border-top:2px solid #394a66}
.trend-legend span:nth-child(2):before{border-top:2px dashed #08786e}
.trend-legend small{font-size:inherit;margin-left:auto}
.trend-plot{height:clamp(135px,11.4vw,185px);margin-top:4px}
.trend-plot canvas{display:block;width:100%;height:100%}
.trend-controls{gap:10px;min-height:42px;padding:2px 0;border-block:1px solid #e3e8eb}
.play-trend{border:0;background:transparent;color:#195953;font-size:14px;font-weight:620;padding:4px 0;min-width:78px;text-align:left;min-height:38px}
.trend-controls label{font-size:13px;white-space:nowrap;color:#47596b;font-variant-numeric:tabular-nums}
.trend-controls input{min-width:0;flex:1;accent-color:#16766c;height:28px}
.trend-metrics{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:7px;padding-top:10px}
.trend-metrics dt{font-size:13px;color:#596676}
.trend-metrics dd{font-size:clamp(20px,1.9vw,28px);font-weight:590;line-height:1.15;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.trend-metrics>div:last-child dd{color:#176d63}
.trial{flex-wrap:wrap}
.map-sheet{background:#fff}
.map-network{display:grid;grid-template-columns:minmax(0,.9fr) minmax(21px,.28fr) minmax(0,1.3fr);align-items:center;padding:20px 18px 13px}
.map-origin{border-left:3px solid #32736d;padding:5px 0 5px 10px;min-width:0}
.map-origin>*{display:block}
.map-origin small,.map-origin span,.map-nodes small{font-size:13px;line-height:1.35;color:#52636c}
.map-origin strong,.map-nodes strong{font-size:15px;line-height:1.2;letter-spacing:-.02em;font-weight:610}
.map-origin strong{margin:4px 0}
.map-paths,.map-paths svg{width:100%;height:100%;display:block;overflow:visible}
.map-paths path{fill:none;stroke:#b7c4c7;stroke-width:1.5;vector-effect:non-scaling-stroke}
.map-paths path:last-child{stroke-dasharray:3 4}
.map-paths path.chosen{stroke:#227569;stroke-width:2.2}
.map-paths path.chosen:not(:last-child){animation:trace-branch .6s ease-out}
@keyframes trace-branch{from{stroke-dasharray:0 500}to{stroke-dasharray:500 500}}
.map-nodes{display:grid;grid-template-rows:repeat(3,1fr);gap:6px}
.map-nodes button{width:100%;min-height:50px;padding:8px 10px;display:flex;flex-direction:column;justify-content:center;gap:2px;background:#fbfcfd;border:1px solid #dce3e6;border-radius:7px;text-align:left;color:#273a43}
.map-nodes button[aria-pressed=true]{background:#edf6f3;border-color:#77a49b}
.map-inspect{margin:4px 18px 16px;border-top:1px solid #dee6e7;padding-top:13px}
.map-inspect h4{margin:0;color:#213b40;font-size:clamp(19px,2vw,26px);line-height:1.2;letter-spacing:-.045em;font-weight:590}
.map-inspect p{margin:5px 0 12px;color:#51636c;font-size:15px;line-height:1.45}
.coverage-track{height:7px;background:#d0e7df;overflow:hidden;border-radius:6px}
.coverage-track i{display:block;width:100%;height:100%;background:#39626b;transform-origin:left;transition:transform .6s ease-out}
.coverage-key{margin-top:6px;font-size:13px;color:#485b66;flex-wrap:wrap}
.coverage-key span:before{content:"";width:8px;height:8px;display:inline-block;background:#39626b;margin-right:6px}
.coverage-key span+span:before{background:#d0e7df;border:1px solid #86afa1}
.map-link{display:inline-flex;align-items:center;min-height:40px;margin:7px 0 0;padding:0;color:#165e58;background:transparent;border:0;text-decoration:underline;text-underline-offset:4px;font-weight:580;font-size:14px}
@media(max-width:800px){.trend-head select,.play-trend,.trial button,.map-link{min-height:44px}}
@media(max-width:420px){.map-network{padding:14px 10px 10px;grid-template-columns:minmax(0,.85fr) 20px minmax(0,1.4fr)}.map-inspect{margin-inline:12px}.map-nodes button{padding:7px}.trend-legend{gap:5px 9px}.trend-controls{gap:6px}.play-trend{min-width:75px}.trend-head select{font-size:16px}.trend-change small{max-width:76px}.trend-metrics dt{line-height:1.28}}
@media(prefers-reduced-motion:reduce){.map-paths path.chosen,.coverage-track i{animation:none;transition:none}}

.trend-panel .trend-availability{font-size:14px;color:#365451;line-height:1.4;margin:9px 0 1px}
