/* September landing revision. All selectors are scoped to revised surfaces. */
.revision-brand, [data-revision-agent] .desktop-message-agent > span { display:flex; align-items:center; gap:7px; }
.revision-brand img, [data-revision-agent] .desktop-message-agent > span img { width:18px; height:18px; object-fit:contain; }
[data-revision-agent] .desktop-conversation { scroll-behavior:auto; overflow-anchor:none; }
[data-revision-agent] .revision-turn { display:flex; flex-direction:column; gap:12px; flex-shrink:0; }
[data-revision-agent] [hidden], [data-revision-cli] [hidden], [data-revision-campaign] [hidden] { display:none !important; }
[data-revision-agent] .desktop-message { flex-shrink:0; }
[data-revision-agent] .desktop-message > .typed-copy:empty { display:none; }
[data-revision-agent] .desktop-message-agent > span { font-size:11px; }
[data-revision-agent] .inline-sponsor { opacity:1; transform:none; margin-top:8px; padding:10px 12px; border-radius:10px; }
[data-revision-agent] .tier-b { background:#edf1fa; border-color:#c1d0eb; }
[data-revision-agent] .composer-stack { flex-shrink:0; position:relative; margin:0; }
.revision-composer-panel { display:grid; grid-template-rows:0fr; opacity:0; transform:translateY(10px); transform-origin:bottom center; transition:grid-template-rows 520ms cubic-bezier(.22,1,.36,1),opacity 520ms cubic-bezier(.22,1,.36,1),transform 520ms cubic-bezier(.22,1,.36,1); }
.revision-composer-panel[data-state="open"] { grid-template-rows:1fr; opacity:1; transform:translateY(0); }
.revision-composer-clip { min-height:0; overflow:hidden; }
.revision-composer-panel .banner-bottom { position:static; margin:0; width:100%; padding:10px 14px; border-radius:12px 12px 0 0; border-bottom:0; background:#dbe7ff; }
.revision-composer-panel .banner-bottom p { margin:0; }
[data-revision-agent] .desktop-composer { position:relative; z-index:1; margin:0; }
html[data-theme="dark"] [data-revision-agent], html[data-theme="dark"] [data-revision-agent] :is(.desktop-main,.desktop-conversation) { background:#242832 !important; }
html[data-theme="dark"] [data-revision-agent] :is(.desktop-sidebar,.desktop-toolbar,.title-bar,.window-bar) { background:#2d323e !important; color:#eef1f6; }
html[data-theme="dark"] [data-revision-agent] :is(.desktop-message-agent > p,.thinking-block,.desktop-composer) { color:#eef1f6; background:#343a47 !important; border-color:#495160; }
html[data-theme="dark"] [data-revision-agent] :is(.sponsor-surface,.desktop-sidebar .is-current) { background:#334356 !important; color:#f4f5f7; border-color:#546479; }
html[data-theme="dark"] [data-revision-agent] :is(.desktop-message > span,.sponsor-surface small,.desktop-toolbar small) { color:#c9d2e0; }
html[data-theme="dark"] [data-revision-agent] input { color:white; }
html[data-theme="dark"] [data-revision-agent] img { filter:brightness(0) invert(1); }

.waitlist-dialog .waitlist-dialog-close { color:#566173; background:transparent; border-color:transparent; box-shadow:none; }
.waitlist-dialog .waitlist-dialog-close:hover, .waitlist-dialog .waitlist-dialog-close:active { color:#0052ff; background:#e9efff; }
.waitlist-dialog .waitlist-dialog-close:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
html[data-theme="dark"] .waitlist-dialog .waitlist-dialog-close { color:#d7deea; background:transparent; }
html[data-theme="dark"] .waitlist-dialog .waitlist-dialog-close:is(:hover,:active) { color:#9bb7ff; background:#293444; }

[data-revision-cli] { background:#202734; font-size:12px; }
[data-revision-cli] .v2-tui-terminal { background:#202734; }
[data-revision-cli] .v2-tui-screen { overflow-y:auto; scroll-behavior:auto; scrollbar-width:thin; overflow-anchor:none; }
[data-revision-cli] .v2-tui-track { transform:none; animation:none; will-change:auto; }
[data-revision-cli] .v2-entry { opacity:1; animation:none; grid-template-columns:48px minmax(0,1fr); }
[data-revision-cli] .v2-entry p { white-space:normal; overflow-wrap:anywhere; line-height:1.55; }
[data-revision-cli] .v2-transcript { gap:18px; }
.revision-cli-turn { display:grid; gap:10px; }
.revision-cli-thinking { padding-left:48px; color:#9bbdbb; font-size:11px; line-height:1.55; }
.revision-cli-thinking b { color:#c8b57d; font-weight:500; }
.revision-cli-thinking p { margin:4px 0 0; }
.revision-cli-placement { padding:12px; color:#bdd5e7; background:#173b4d; line-height:1.5; }
.revision-cli-placement b { color:#8bd0ff; font-weight:600; }
.revision-cli-placement p { margin:4px 0; }
.revision-cli-placement small { color:#a9c0d1; }
[data-revision-cli] .v2-tui-sponsor { position:static; opacity:1; transform:none; animation:none; max-height:none; padding:8px 16px; background:#173b4d; }
[data-revision-cli] .v2-tui-sponsor p { margin:3px 0 0; }
[data-revision-cli] .v2-tui-composer { display:flex; gap:7px; background:#41464f; overflow:hidden; }
.revision-cli-input { white-space:nowrap; overflow:hidden; text-overflow:clip; min-width:0; }
.revision-caret { width:5px; height:14px; background:#dbe1e8; flex:none; }
[data-revision-cli] .v2-tui-help { white-space:normal; }

.router-estimator .revision-estimate { display:grid; grid-template-columns:1fr 1.2fr 1fr; gap:12px; margin:14px 0 8px; }
.revision-estimate > div { display:flex; flex-direction:column; gap:6px; min-width:0; }
.revision-estimate span { font-size:11px; font-weight:500; line-height:1.4; }
.router-estimator .revision-estimate strong { font-family:inherit; font-size:clamp(22px,2.2vw,32px); line-height:1.15; letter-spacing:-.04em; }
.router-estimator .revision-estimate small { text-align:left; font-size:10px; }
.router-estimator .revision-saving strong { color:#13724f; }
.router-estimator .revision-estimate-model { display:block; font-size:11px; margin:8px 0 2px; }
.router-estimator .revision-estimate-mix { text-align:left; font-size:10px; }
.router-estimator p.revision-estimate-note { display:block; white-space:normal; font-size:11px; line-height:1.45; margin:9px 0 2px; color:#58616b; }
html[data-theme="dark"] .router-window .model-row { box-shadow:none; }
html[data-theme="dark"] .router-window .model-row:is(.is-selected,:hover) { background:#303949 !important; }
html[data-theme="dark"] .router-window .model-row > span { background:transparent !important; }
html[data-theme="dark"] .router-estimator .revision-saving strong { color:#9bdfb7; }
html[data-theme="dark"] .router-estimator p.revision-estimate-note { color:#c3c8d1; }

.revision-analytics, .revision-campaign { --r-bg:#fff; --r-card:#fafbfc; --r-ink:#20252d; --r-muted:#626d7b; --r-line:#e2e6eb; width:100%; min-width:0; padding:20px; box-sizing:border-box; border:1px solid var(--r-line); border-radius:14px; color:var(--r-ink); background:var(--r-bg); box-shadow:0 18px 48px #00000012; font-family:inherit; text-align:left; pointer-events:auto; }
.revision-analytics *, .revision-campaign * { box-sizing:border-box; }
.revision-analytics header, .revision-campaign header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; font-size:13px; font-weight:600; }
.revision-analytics header small, .revision-campaign header small { font-size:10px; color:var(--r-muted); white-space:nowrap; font-weight:400; }
.revision-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-bottom:20px; }
.revision-metrics > div { padding:11px 9px; background:var(--r-card); border:1px solid var(--r-line); border-radius:8px; display:flex; flex-direction:column; gap:8px; }
.revision-metrics span { font-size:10px; color:var(--r-muted); }
.revision-metrics strong { font-size:20px; letter-spacing:-.04em; font-weight:600; }
.revision-chart-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 0 14px; }
.revision-chart-heading small { color:var(--r-muted); font-size:10px; }
.revision-chart-heading h3 { margin:3px 0 0; font-size:15px; letter-spacing:-.02em; font-weight:600; }
.revision-chart-heading > span { font-size:10px; border:1px solid var(--r-line); padding:7px; border-radius:6px; white-space:nowrap; }
.revision-performance { display:grid; grid-template-columns:minmax(0,1fr) 132px; gap:12px; }
.revision-chart, .revision-distribution { padding:12px; border:1px solid var(--r-line); border-radius:9px; min-width:0; background:var(--r-card); }
.revision-chart-label { font-size:11px; }
.revision-legend { display:flex; gap:9px; margin:8px 0 16px; font-size:9px; color:var(--r-muted); }
.revision-legend span { display:flex; align-items:center; gap:4px; }
.revision-legend i { width:7px; height:7px; border-radius:2px; }
.revision-tier-a { fill:#4879bb; background:#4879bb; }
.revision-tier-b { fill:#a8c7fa; background:#a8c7fa; }
.revision-tier-c { fill:#8595ac; background:#8595ac; }
.revision-bars { display:flex; gap:7px; }
.revision-bars svg { display:block; width:100%; min-width:0; }
.revision-grid { stroke:var(--r-line); fill:none; stroke-width:1; }
.revision-y-axis { display:flex; flex-direction:column; justify-content:space-between; padding-top:8px; font-size:8px; color:var(--r-muted); }
.revision-dates { display:flex; justify-content:space-between; gap:4px; margin:8px 0 0 24px; font-size:8px; color:var(--r-muted); }
.revision-distribution { display:flex; flex-direction:column; }
.revision-distribution > span { font-size:10px; }
.revision-distribution > strong { margin:6px 0 3px; font-size:21px; letter-spacing:-.04em; }
.revision-distribution > small { color:var(--r-muted); font-size:8px; }
.revision-distribution > svg { width:82px; height:82px; margin:8px auto; }
.revision-tier-totals p { display:flex; justify-content:space-between; font-size:9px; margin:5px 0; color:var(--r-muted); }
.revision-demo-note { font-size:10px !important; line-height:1.5 !important; color:var(--r-muted) !important; margin:12px 0 0 !important; }
.revision-campaign header h3 { margin:0; font-size:18px; letter-spacing:-.02em; color:var(--r-ink); }
.revision-review-note { color:var(--r-muted); font-size:11px; line-height:1.5; margin:0 0 14px; }
.revision-campaign-form { display:grid; gap:12px; }
.revision-campaign-form label { display:block; font-size:12px; color:var(--r-ink); font-weight:500; }
.revision-campaign-form label small { color:var(--r-muted); font-weight:400; font-size:10px; }
.revision-campaign-form input, .revision-campaign-form textarea { display:block; width:100%; padding:9px 11px; margin-top:6px; color:var(--r-ink); background:var(--r-card); border:1px solid var(--r-line); border-radius:7px; font-family:inherit; font-size:11px; line-height:1.5; resize:none; }
.revision-campaign-form textarea { min-height:60px; }
.revision-campaign-form button { justify-self:start; padding:10px 14px; background:#365ea8; border:0; border-radius:7px; color:#fff; font-family:inherit; font-size:11px; font-weight:500; line-height:1.2; cursor:default; }
.revision-form-success { color:#21724b; background:#ebf7ef; border:1px solid #c5e6d0; padding:9px 11px; border-radius:7px; font-size:11px; margin:0 0 12px; }
html[data-theme="dark"] :is(.revision-analytics,.revision-campaign) { --r-bg:#1b1e24; --r-card:#22262e; --r-ink:#f0f2f6; --r-muted:#bdc5d1; --r-line:#3a414c; }
html[data-theme="dark"] .revision-form-success { color:#bce8ce; background:#233b30; border-color:#416951; }
html :is(.legal-panel,.legal-section,.reduced-motion-footer) :is(h2,p,a,small,span,strong), html :is(.legal-kicker,.legal-panel-meta) { color:#063baf !important; }
html .legal-panel-links > a { color:#063baf !important; }
html .legal-panel, html .reduced-motion-footer { color:#063baf; background:#fff; }
.reduced-motion-footer { background:#fff; }
@media (max-width:900px) {
  [data-revision-agent] .desktop-message { max-width:96%; }
  [data-revision-agent] .desktop-message > p { font-size:12px; }
  [data-revision-agent] .sponsor-surface small { font-size:9px; }
  [data-revision-cli] { font-size:11px; }
  [data-revision-cli] .v2-entry { grid-template-columns:1fr; gap:4px; }
  .revision-cli-thinking { padding-left:0; }
  .router-estimator .revision-estimate { gap:8px; }
  .router-estimator .revision-estimate strong { font-size:23px; }
  .revision-estimate span { font-size:10px; }
  .revision-analytics,.revision-campaign { padding:16px; }
  .revision-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .revision-metrics strong { font-size:23px; }
  .revision-performance { grid-template-columns:1fr; }
  .revision-distribution { display:grid; grid-template-columns:1fr 85px; column-gap:12px; }
  .revision-distribution > svg { grid-column:2; grid-row:1/5; }
  .revision-tier-totals { grid-column:1/-1; display:flex; gap:16px; justify-content:space-between; }
  .revision-tier-totals p { gap:8px; }
  .editorial-safeguards > .revision-campaign { margin-top:24px; }
  .revision-campaign-form input,.revision-campaign-form textarea { font-size:13px; }
}
html[data-motion="reduce"] .revision-composer-panel { transition:none; }
@media (prefers-reduced-motion:reduce) { .revision-composer-panel { transition:none; } }
/* Explicit colors prevent the surrounding business chapter from recoloring dashboard data. */
html .revision-analytics :is(strong,h3), html .revision-campaign h3 { color:var(--r-ink); }
html .editorial-safeguards :is(.revision-analytics,.revision-campaign) span { color:inherit; font-family:inherit; letter-spacing:normal; font-weight:inherit; }
html .editorial-safeguards .revision-campaign :is(p,label), html .editorial-safeguards .revision-analytics p { color:var(--r-muted); }
html .editorial-safeguards .revision-chart-heading h3 { font-size:15px; margin:3px 0 0; }
[data-revision-agent] .revision-composer-panel .sponsor-surface { opacity:1; transform:none; visibility:visible; max-height:none; }
[data-revision-agent] .revision-composer-panel[data-state="open"] + .desktop-composer { border-radius:0 0 12px 12px; }
.revision-analytics,.revision-campaign { width:min(100%,650px); }
/* Reserve the outcome row so a completed form does not move the scroll anchors. */
[data-revision-campaign] .revision-form-success[hidden] { display:block !important; visibility:hidden; }
html[data-theme="dark"].is-final-frame .frame-top.navbar :is(.logo,.nav-links a,.nav-actions .link-btn,.waitlist-link,.menu-toggle) { color:#fff; border-color:rgba(255,255,255,.22); }

/* Mobile presentation overrides; desktop framing and motion remain unchanged. */
@media (max-width:900px) {
  #router .revision-estimate-meta { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:6px 12px; }
  #router .revision-estimate-meta > * { margin:0; max-width:100%; overflow-wrap:anywhere; }
  #router .revision-estimate-meta .revision-estimate-model { margin-left:auto; text-align:right; }
  #advertiser-waitlist .section-copy h2 { font-size:clamp(2.25rem,10vw,3rem); line-height:1.05; letter-spacing:-.04em; color:#fff; }
  #advertiser-waitlist .waitlist-form button[type="submit"] { background:#0052ff; color:#fff; }
  #advertiser-waitlist .waitlist-form button[type="submit"]:focus-visible { outline:3px solid #8babff; outline-offset:4px; }
  html:not([data-theme="dark"]) .legal-section :is(h2,p,a,small,span,strong),
  html:not([data-theme="dark"]) .legal-section .legal-links a::after { color:#063baf !important; }
  html[data-theme="dark"] #router .router-window { color:#f4f5f7; background:#242832; }
  html[data-theme="dark"] #router :is(.router-header,.router-estimator,.router-disclaimer) { background:#242832; border-color:#444b59; }
  html[data-theme="dark"] #router :is(.router-table-scroll,.model-list,.model-row,.router-columns) { background:#1d222b; border-color:#444b59; }
  html[data-theme="dark"] #router :is(.router-header h3,.model-row,.model-row strong,.model-row > span,.router-estimator p,.router-estimator strong) { color:#f4f5f7; }
  html[data-theme="dark"] #router :is(.router-columns,.model-row small,.router-estimator label,.router-estimator small,.router-disclaimer,.router-disclaimer a) { color:#c3c8d1; }
  html[data-theme="dark"] #router .router-estimator output { color:#a8c7fa; }
  html[data-theme="dark"] #router .revision-saving strong { color:#9bdfb7; }
  html[data-theme="dark"] #router .model-row:is(:hover,:focus-visible,.is-selected) { background:#3b4556 !important; color:#fff; box-shadow:none; }
  html[data-theme="dark"] #router .model-row:is(:hover,:focus-visible,.is-selected) :is(span,strong,small) { color:#fff; }
  html[data-theme="dark"] #router .model-row:focus-visible { outline:2px solid #a8c7fa; outline-offset:-2px; }
}

/* Readability revision: opaque surfaces and explicit contrast. */
:root { --read-surface:#fff; --read-card:#f4f6fa; --read-ink:#20252d; --read-muted:#4d596b; --read-line:#cbd2dd; }
html[data-theme="dark"] { --read-surface:#1b1e24; --read-card:#22262e; --read-ink:#f0f2f6; --read-muted:#bdc5d1; --read-line:#495363; }
html :is(.router-window,.economic-flow,.story-window,.intent-demo,.waitlist-card,.waitlist-dialog,.feedback-dialog) {
  background:var(--read-surface); color:var(--read-ink); border-color:var(--read-line); backdrop-filter:none;
}
html :is(.router-header,.router-columns,.router-estimator,.router-disclaimer,.flow-prompt,.flow-lane,.pipeline-detail,.intent-prompt,.intent-results li) {
  background:var(--read-card); color:var(--read-ink); border-color:var(--read-line);
}
html .economic-flow { background:var(--read-surface) !important; }
html :is(.product-window,.desktop-main,.desktop-conversation,.desktop-toolbar,.desktop-sidebar,.desktop-message-agent > p,.thinking-block,.desktop-composer) { background-color:var(--read-surface); }
html :is(.sponsor-surface,.desktop-sidebar .is-current) { background-color:var(--read-card); }
html .mobile-menu,
html[data-theme="dark"] .mobile-menu { background:#fff; color:#063baf; backdrop-filter:none; }
html :is(.legal-panel,.legal-section,.reduced-motion-footer,.legal-panel-links,.legal-links,.legal-meta) { color:#063baf; background:#fff; }
html[data-theme="dark"] :is(.legal-panel,.legal-section,.reduced-motion-footer,.legal-panel-links,.legal-links,.legal-meta) { color:#fff; background:#1b1e24; }
html[data-theme="dark"] :is(.legal-panel,.legal-section,.reduced-motion-footer) :is(h2,p,a,small,span,strong) { color:#fff !important; }
html .waitlist-dialog .waitlist-dialog-close { outline:none; box-shadow:none; border:1px solid transparent; }
html .waitlist-dialog .waitlist-dialog-close:hover { border-color:#0052ff; color:#0052ff; background:#e9efff; }
html .waitlist-dialog .waitlist-dialog-close:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
html[data-theme="dark"] .waitlist-dialog .waitlist-dialog-close:hover { color:#a8c7fa; border-color:#a8c7fa; background:#293444; }
html .preference-control, html .feedback-launcher { text-shadow:none; }
html .preference-controls, html .feedback-launcher { background:var(--read-surface); color:var(--read-ink); border-radius:24px; }
html .mobile-menu-utilities .preference-controls, html .mobile-menu-utilities .feedback-launcher { background:none; }
html .preference-control { display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; }
html .preference-control span { display:grid; place-items:center; width:24px; height:24px; margin:0; padding:0; line-height:1; }
html .mobile-menu-utilities { align-items:center; }
html .model-row { background:var(--read-surface); font-variant-numeric:tabular-nums; }
html #router .model-row.is-selected { box-shadow:inset 0 0 0 2px #0052ff !important; }
html[data-theme="dark"] #router .model-row.is-selected { box-shadow:inset 0 0 0 2px #a8c7fa !important; }
html .revision-estimate > div { display:grid; grid-template-rows:subgrid; grid-row:span 3; row-gap:6px; align-content:start; }
html .revision-estimate strong { font-variant-numeric:tabular-nums; }
html [data-flow-sponsor] { color:#fff; background:#063baf !important; border-color:#063baf; }
html [data-flow-sponsor] :is(h3,h3 > span,h3 small,h3 small span,p,small,strong) { color:#fff !important; }
html [data-flow-sponsor] .flow-sponsor-card { color:#fff; background:#082e80 !important; border-color:#789bdf; }
html [data-flow-sponsor] .flow-match { color:#fff; background:#082e80; }
html [data-flow-sponsor] h3 > span::before { background:#fff; }
html[data-theme="dark"] :is(.economic-section,.router-section) .section-text :is(h2,h2 .blue-copy) { color:#fff; }
html .intent-demo header { color:var(--read-muted); }
html .intent-prompt { color:var(--read-ink); background:var(--read-card) !important; }
html .intent-prompt mark { color:#063baf; background:#dce7ff; }
html .intent-demo { box-shadow:0 8px 24px #00000014; }
html .intent-results:has([data-campaign-card]) { display:block; position:relative; height:264px; isolation:isolate; }
html .intent-results [data-campaign-card] {
  position:absolute; inset-inline:0; top:0; height:82px; display:block; padding:0; overflow:hidden;
  color:var(--read-ink); background:var(--read-card) !important; border:1px solid var(--read-line);
  transition:top 300ms ease,height 300ms ease,opacity 220ms ease,transform 220ms ease;
}
html .intent-results [data-campaign-card]:nth-child(2) { top:91px; }
html .intent-results [data-campaign-card]:nth-child(3) { top:182px; }
html .intent-results [data-campaign-card].is-expanded { top:0; height:100%; z-index:2; border-color:var(--adr-accent); overflow-y:auto; }
.intent-result-heading { display:grid; grid-template-columns:24px minmax(0,1fr) auto; align-items:center; gap:10px; width:100%; height:80px; padding:14px; border:0; color:inherit; background:none; text-align:left; font:inherit; cursor:pointer; }
html .intent-result-heading :is(span,small) { color:var(--read-muted); font-size:11px; }
html .intent-result-heading strong { color:var(--read-ink); font-size:15px; }
.intent-result-heading:focus-visible { outline:2px solid var(--adr-focus); outline-offset:-4px; border-radius:12px; }
.intent-result-detail { padding:0 18px 18px; opacity:0; }
.intent-result-detail[hidden] { display:none; }
.is-expanded .intent-result-detail { animation:campaign-detail-in 180ms 280ms both; }
html .intent-result-detail p { margin:0 0 14px; font-size:14px; line-height:1.5; color:var(--read-ink); }
.intent-result-detail h4 { font-size:12px; margin:0 0 9px; color:var(--read-muted); }
.intent-keywords { display:flex; flex-wrap:wrap; gap:6px; }
html .intent-keywords span { font:500 12px/1.4 system-ui,sans-serif; padding:5px 8px; color:var(--read-ink); background:var(--read-surface); border:1px solid var(--read-line); border-radius:6px; }
@keyframes campaign-detail-in { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

/* The model path runs in parallel to matching, then meets it at presentation. */
.pipeline-scroll { max-height:330px; overflow-y:auto; overscroll-behavior:auto; scrollbar-width:thin; padding:12px; scroll-padding:14px; border:1px solid var(--read-line); border-radius:10px; background:var(--read-card); }
.pipeline-scroll:focus-visible { outline:2px solid var(--adr-focus); outline-offset:3px; }
html .pipeline-flowchart { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:32px 22px; margin:0; padding:0; }
html .pipeline-flowchart > li { position:relative; z-index:0; }
html .pipeline-flowchart > .pipeline-node-1 { grid-column:1/-1; grid-row:1; }
html .pipeline-flowchart > .pipeline-node-2 { grid-column:1; grid-row:2; }
html .pipeline-flowchart > .pipeline-node-3 { grid-column:1; grid-row:3; }
html .pipeline-flowchart > .pipeline-node-4 { grid-column:1; grid-row:4; }
html .pipeline-flowchart > .pipeline-node-5 { grid-column:2; grid-row:2/6; display:flex; align-items:center; }
html .pipeline-flowchart > .pipeline-node-6 { grid-column:1; grid-row:5; }
html .pipeline-flowchart > .pipeline-node-7 { grid-column:1/-1; grid-row:6; }
html .pipeline-flowchart > .pipeline-node-8 { grid-column:1/-1; grid-row:7; }
.pipeline-flowchart > li:not(:last-child)::after { content:"↓"; position:absolute; top:100%; left:50%; height:32px; display:grid; place-items:center; color:var(--adr-accent); transform:translateX(-50%); font-size:23px; }
html .pipeline-flowchart > li.pipeline-node-1::after { width:calc(50% + 11px); left:50%; height:20px; content:""; border-top:2px solid var(--adr-accent); border-left:2px solid var(--adr-accent); border-right:2px solid var(--adr-accent); top:calc(100% + 10px); }
.pipeline-flowchart > .pipeline-node-5::before { content:""; position:absolute; inset:0 auto 0 50%; border-left:2px solid var(--adr-accent); z-index:-1; }
html .pipeline-flowchart > li > button { min-height:86px; position:relative; color:var(--read-ink); background:var(--read-surface) !important; border:1px solid var(--read-line); grid-template-columns:22px 1fr; padding:12px; }
html .pipeline-flowchart > li > button.is-selected { border-color:var(--adr-accent); box-shadow:inset 0 0 0 1px var(--adr-accent); }
html .pipeline-flowchart button strong { font-size:14px; color:var(--read-ink); }
html .pipeline-flowchart button small { font-size:12px; color:var(--read-muted); line-height:1.4; }
html .pipeline-detail { min-height:108px; margin-top:14px; color:var(--read-ink); background:var(--read-card) !important; }
html .pipeline-detail p { color:var(--read-ink); font-size:13px; line-height:1.5; }
html .pipeline-detail > span { color:var(--adr-accent); }
@media (min-width:901px) {
  html #router .router-window { height:auto; min-height:570px; max-height:none; }
  html #router .model-list { flex:none; height:210px; min-height:210px; }
  html #router .model-row { min-height:68px; }
  html #router .router-header { padding:14px 20px; }
  html #router .router-disclaimer { flex:none; font-size:11px; line-height:1.4; padding:12px 20px; }
  .revision-distribution > svg { margin:auto; flex-shrink:0; }
  .revision-tier-totals { margin-top:auto; padding-top:12px; }
}
@media (max-width:900px) {
  html .editorial-process { width:100%; padding:40px 0; }
  html .editorial-process ol { display:grid; gap:30px; width:100%; margin:24px auto 0; }
  html .editorial-process ol::before { left:50%; width:2px; background:#91adff; }
  html .editorial-process li { display:flex; flex-direction:column; align-items:center; gap:10px; padding:22px 18px; text-align:center; border:1px solid #647ba5; border-radius:12px; background:#102752; }
  html .editorial-process li::after { content:"↓"; position:absolute; top:100%; height:30px; color:#b9d1ff; font-size:24px; }
  html .editorial-process li:last-child::after { display:none; }
  html .editorial-process li span { flex:none; width:42px; height:42px; font-size:14px; background:#063baf; color:#fff; }
  html .editorial-process li strong { font-size:19px; color:#fff; }
  html .editorial-process li p { font-size:14px; line-height:1.55; color:#e3ebfa; }
  html[data-theme="dark"] .editorial-process li { background:#1b1e24; border-color:#647ba5; }
  .entrance-pending { opacity:0; }
  .entrance-visible { opacity:1; transition:opacity 450ms ease; }
}
html[data-motion="reduce"] :is(.entrance-pending,.entrance-visible) { opacity:1; transition:none; }
html[data-motion="reduce"] .intent-results [data-campaign-card] { transition:none; }
html[data-motion="reduce"] .is-expanded .intent-result-detail { animation:none; opacity:1; }
@media (prefers-reduced-motion:reduce) {
  html:not([data-motion="full"]) :is(.entrance-pending,.entrance-visible) { opacity:1; transition:none; }
  html:not([data-motion="full"]) .intent-results [data-campaign-card] { transition:none; }
  html:not([data-motion="full"]) .is-expanded .intent-result-detail { animation:none; opacity:1; }
}
html[data-motion="reduce"] .reduced-motion-footer { color:#063baf; background:#fff; }
html[data-theme="dark"][data-motion="reduce"] .reduced-motion-footer { color:#fff; background:#1b1e24; }
html[data-motion="reduce"] .reduced-motion-footer a { border-color:var(--read-line); }
@media (min-width:901px) and (max-height:800px) {
  html #router .router-window { min-height:0; }
  html #router .router-header { padding:8px 18px; }
  html #router .router-header h3 { font-size:20px; }
  html #router .router-columns { padding:8px 18px; }
  html #router .router-estimator { padding:8px 18px; }
  html #router .router-estimator .revision-estimate { margin:8px 0 0; }
  html #router .router-estimator .revision-estimate strong { font-size:24px; }
  html #router .router-disclaimer { padding:10px 18px; font-size:10px; }
}

html[data-theme] .legal-panel-links,
html .legal-panel-links > a { background:transparent; }
html .economic-flow::before { background:none; }
html .section-scroll-btn { color:var(--read-ink); background:transparent; padding:0; border:0; border-radius:0; box-shadow:none; text-shadow:none; }
html .section-scroll-btn:focus-visible { outline:2px solid currentColor; outline-offset:6px; box-shadow:none; }
html [data-revision-cli] :is(.v2-tui-session,.v2-tui-status,.v2-tui-bar,.v2-entry > span) { color:#bac5d5; }
html .mobile-nav, html .site-header { background-color:var(--read-surface); }
html[data-theme] .waitlist-form { color:var(--read-ink); background:var(--read-surface); backdrop-filter:none; }
html[data-theme] .waitlist-form input { color:var(--read-ink); background:var(--read-surface); }
html[data-theme] .waitlist-form input::placeholder { color:var(--read-muted); opacity:1; }
html[data-theme] .waitlist-card { color:var(--read-ink); background:var(--read-surface); }
html[data-theme] .waitlist-card :is(h2,p,a,small,.eyebrow) { color:var(--read-ink); }
html[data-theme] .editorial-waitlist .waitlist-card { margin-top:18px; color:var(--read-ink); background:var(--read-surface); border-color:var(--read-line); }
html[data-theme] .editorial-waitlist .waitlist-card .waitlist-form { margin-top:0; padding:0; color:var(--read-ink); background:transparent; border:0; }
html[data-theme] .editorial-waitlist .waitlist-card .waitlist-form input { color:var(--read-ink); background:var(--read-surface); border-color:var(--read-line); }
html[data-theme] .waitlist-form .verification-retry { color:#063baf; background:#e9efff; border-color:transparent; }
html[data-theme] .waitlist-form .verification-retry:focus-visible { outline:3px solid rgba(0,82,255,.52); outline-offset:2px; }
html .mobile-menu :is(a,.preference-control,.feedback-launcher) { color:#063baf; }
html[data-theme="dark"] .site-header .mobile-menu :is(a,.preference-control,.feedback-launcher) { color:#063baf; }
html .mobile-menu :is(a,.preference-control,.feedback-launcher):hover { background:rgba(0,82,255,.08); border-color:transparent; }
html .mobile-menu :is(a,.preference-control,.feedback-launcher):active { background:rgba(0,82,255,.14); }
html .mobile-menu :is(a,.preference-control,.feedback-launcher):focus-visible { outline:3px solid rgba(0,82,255,.52); outline-offset:1px; }
html .mobile-menu-utilities { border-top-color:rgba(0,82,255,.12); }
.intent-results [data-campaign-card] { --campaign-origin:0px; }
.intent-results [data-campaign-card]:nth-child(2) { --campaign-origin:91px; }
.intent-results [data-campaign-card]:nth-child(3) { --campaign-origin:182px; }
.is-expanded .intent-result-heading { animation:campaign-title-rise 480ms both; }
@keyframes campaign-title-rise {
  0% { transform:translateY(0); }
  62.5% { transform:translateY(var(--campaign-origin)); }
  100% { transform:translateY(0); }
}
html[data-motion="reduce"] .is-expanded .intent-result-heading { animation:none; }
@media (prefers-reduced-motion:reduce) { html:not([data-motion="full"]) .is-expanded .intent-result-heading { animation:none; } }
html .brand-pipeline-window { color:var(--read-ink); background:var(--read-surface); border-color:var(--read-line); }
html .brand-pipeline-window .story-window-header { color:var(--read-muted); border-color:var(--read-line); }
html .brand-pipeline-window .story-window-header span { color:var(--read-muted); }
html .intent-demo { pointer-events:auto; }
html .intent-results [data-campaign-card]:not(.is-visible) { visibility:hidden; pointer-events:none; }

/* Keep the sponsor lane branded even under inherited dark panel rules. */
html[data-theme] [data-flow-sponsor] { background:#063baf !important; }
html[data-theme] [data-flow-sponsor] .flow-sponsor-card { background:#082e80 !important; }
html[data-theme="dark"] .economic-flow header,
html[data-theme="dark"] .flow-lane h3 > span { color:#bdcaff; }
html[data-theme="dark"] .flow-lane h3 > span::before { background:#bdcaff; }
html[data-theme="dark"] .window-title { color:#cbd2df; }
html[data-theme="dark"] .desktop-composer input::placeholder,
html[data-theme="dark"] .desktop-sidebar > small { color:#cbd2df; opacity:1; }
@media (max-width:900px) {
  html .user-hero .audience-tagline { color:rgba(16,18,23,.82); background:transparent; padding:0; border-radius:0; }
  html[data-theme="dark"] .user-hero .audience-tagline { color:#f4f5f7; }
  html .demo-command-pair .demo-command-capsule code { overflow:visible; white-space:normal; overflow-wrap:anywhere; line-height:1.35; }
}
html .v2-tui :is(.revision-cli-thinking p,.revision-cli-placement p,.v2-tui-sponsor p) { color:#d8e1ec; }
html[data-theme="dark"] .flow-prompt p,
html[data-theme="dark"] .flow-lane > p:not(.flow-match) { color:#e6ebf3; }
html[data-theme="dark"] .flow-prompt small,
html[data-theme="dark"] .flow-lane h3 small { color:#bdc5d1; }
html[data-theme="dark"] :is(.waitlist-disclosure,.waitlist-status) { color:#cbd2df; }
html[data-theme="dark"] .waitlist-disclosure a { color:#fff; }
html .mobile-nav { color:var(--read-ink); }
html .legal-links a::after { color:currentColor; }
html .editorial-waitlist .waitlist-card :is(.waitlist-disclosure,.waitlist-status,.verification-status) { color:var(--read-muted); }
html .intent-results :is(small,li > span) { color:var(--read-muted); }
html .demo-context-actions .release-version { color:#bdcaff; border-color:#8babff; }
html[data-theme="dark"] #waitlist :is(.waitlist-disclosure,.waitlist-status) { color:#cbd2df; }
html .web-chat-window :is(.web-message > span,.window-title) { color:#cbd2df; }
html .web-chat-input input::placeholder { color:#cbd2df; opacity:1; }
html .web-message > p { background:#343a47; }
html .web-message-user > p { background:#1748c7; }
html .web-chat-input { background:#2d323e; }
@media (max-width:359px) and (max-height:600px) {
  html .user-hero .audience-logo { width:100px; }
}
html[data-theme="dark"] .waitlist-dialog-eyebrow { color:#bdcaff; }
@media (min-width:901px) and (max-height:800px) {
  html .section-scroll-btn { bottom:14px; }
}
html[data-theme] .economic-flow .flow-lanes > section[data-flow-sponsor] { background:#063baf !important; }
