/* PV8 quiet theme, 2026-11-13. Shared by public pages, workspaces and exports.
   Product state and chart-series colours retain their meaning. These aliases
   let the existing components consume one palette without changing behaviour. */
:root {
  --pv8-paper:#fbfaf7;
  --pv8-ink:#15242e;
  --pv8-muted:#59656d;
  --pv8-rule:#deded7;
  --pv8-soft:#f1f0eb;
  --pv8-action:#123d56;
  --pv8-action-hover:#0c2c40;
  --pv8-on-action:#ffffff;
  --pv8-attention:#805817;
  --pv8-attention-soft:#f3ead6;
  --pv8-positive:#24664b;
  --pv8-positive-soft:#e6eee8;
  --pv8-negative:#aa302a;
  --pv8-negative-soft:#f9e9e5;
  --pv8-control-rule:#8a949a;
  --pv8-selection:#e5edf1;
  --pv8-font:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
  --pv8-type-caption:.75rem;
  --pv8-type-small:.8125rem;
  --pv8-type-body:.9375rem;
  --pv8-type-lead:1.125rem;
  --pv8-type-section:1.5rem;
  --pv8-type-title:2rem;
  --pv8-type-display:3.25rem;
}

/* Dark follows an explicit data-theme="dark" only; the operating-system
   preference does not switch the quiet palette (owner, 2026-11-16).
   Colour-scheme also keeps native selects and date fields readable. */
:root,:root[data-theme="light"] {color-scheme:light}
:root[data-theme="dark"] {
  color-scheme:dark;
  --pv8-paper:#191d20;--pv8-ink:#e9edf0;--pv8-muted:#b0bac1;
  --pv8-rule:#394248;--pv8-soft:#242c31;--pv8-action:#abcde0;
  --pv8-action-hover:#cce3ee;--pv8-on-action:#14242e;
  --pv8-attention:#e8c17e;--pv8-attention-soft:#332b20;
  --pv8-positive:#9dceb2;--pv8-positive-soft:#22382c;
  --pv8-negative:#ffb3aa;--pv8-negative-soft:#3a2625;
  --pv8-control-rule:#75848e;--pv8-selection:#293e4b;
  /* Fills behind hard-coded white text (var(--pv8-fill,var(--series-1)) and
     the like in older sheets): the light action colour above would put white
     on #abcde0 at 1.67:1. These keep white at 5.5:1 and 6.4:1. Undefined in
     light mode, where each rule falls back to its own colour. */
  --pv8-fill:#336f94;--pv8-fill-hover:#2a6488;
  /* Hard-coded white surfaces under action-coloured text
     (var(--pv8-white-surface,#fff)) take the soft dark surface, where the
     light action text reads at AA instead of 1.67:1 on white. */
  --pv8-white-surface:var(--pv8-soft);
}

/* Repeated selectors match the explicit-theme specificity in older pages. */
:root,:root[data-theme],:root:not([data-theme="light"]) {
  --surface-0:var(--pv8-paper);--surface-1:var(--pv8-paper);--surface-2:var(--pv8-soft);
  --text-primary:var(--pv8-ink);--text-secondary:var(--pv8-muted);--text-muted:var(--pv8-muted);
  --border:var(--pv8-rule);--grid:var(--pv8-rule);--pv8-divider:var(--pv8-rule);
  --pv8-primary:var(--pv8-action);--series-1:var(--pv8-action);--series-3:var(--pv8-action);
  --series-2:#53758a;--series-4:var(--pv8-action-hover);
  --good:var(--pv8-positive);--warning:var(--pv8-attention);--serious:var(--pv8-negative);
  --evidence-evidenced:var(--pv8-positive);--evidence-indicative:var(--pv8-attention);--evidence-gap:var(--pv8-negative);
  --pv8-accent-soft:var(--pv8-selection);--pv8-ink-soft:var(--pv8-soft);--pv8-surface-soft:var(--pv8-soft);
  --pv8-select-soft:var(--pv8-selection);--pv8-select-rule:var(--pv8-control-rule);
  --pv8-navy:var(--pv8-ink);--pv8-navy-2:var(--pv8-ink);--pv8-navy-3:var(--pv8-ink);
  --pv8-module-blue:var(--pv8-action);--pv8-module-blue-soft:var(--pv8-selection);
  --pv8-module-blue-selection:var(--pv8-selection);--pv8-selected-ink:var(--pv8-ink);
  --pv8-github-sans:var(--pv8-font);--pv8-sans:var(--pv8-font);--pv8-display:var(--pv8-font);
  --pv8-caption:var(--pv8-font);--pv8-mono:var(--pv8-font);
  --pv8-shadow-sm:none;--pv8-shadow-md:none;--pv8-module-wash:0;
  --pv8-radius-sm:4px;--pv8-radius:8px;--pv8-radius-md:8px;--pv8-radius-lg:8px;
  --as-bg:var(--pv8-paper);--as-paper:var(--pv8-paper);--as-ink:var(--pv8-ink);
  --as-muted:var(--pv8-muted);--as-faint:var(--pv8-muted);--as-line:var(--pv8-rule);
  --as-green:var(--pv8-action);--as-deep:var(--pv8-ink);--as-soft:var(--pv8-selection);
  --as-warm:var(--pv8-attention-soft);--as-amber:var(--pv8-attention);--as-red:var(--pv8-negative);
  --as-display:var(--pv8-font);--as-shadow:none;
  /* Reports and the private land calculator use these historical names. */
  --g:var(--pv8-action);--ink:var(--pv8-ink);--mut:var(--pv8-muted);--muted:var(--pv8-muted);
  --line:var(--pv8-rule);--bg:var(--pv8-paper);--paper:var(--pv8-paper);--warn:var(--pv8-attention);
  --green:var(--pv8-action);--mint:var(--pv8-selection);--sand:var(--pv8-attention-soft);--red:var(--pv8-negative);
}

html {background:var(--pv8-paper)}
body,body.pv8-library,body.pv8-profile,body.pv8-welcome,body.as-body {
  background:var(--pv8-paper);color:var(--pv8-ink);
  font-family:var(--pv8-font);font-size:var(--pv8-type-body);line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
button,input,select,textarea {font-family:var(--pv8-font)}
input,select,textarea {accent-color:var(--pv8-action)}
::selection {background:var(--pv8-selection);color:var(--pv8-ink)}
body :is(button,a,input,select,textarea,summary):focus-visible {outline:2px solid var(--pv8-action);outline-offset:3px}
body :is(h1,h2,h3,h4) {font-family:var(--pv8-font);font-weight:550;text-wrap:balance}
body h1 {font-size:var(--pv8-type-title);line-height:1.2;letter-spacing:-.035em}
body h2 {font-size:var(--pv8-type-section);line-height:1.3;letter-spacing:-.02em}
body h3 {font-size:var(--pv8-type-lead);line-height:1.4;letter-spacing:-.01em}
body :is(p,li,td,th,label,button,input,select,textarea,small) {letter-spacing:normal}
body :is(table,input[type="number"],[data-number],.metric,.profile-metric,.pv8-fact dd,.kpi-v) {font-variant-numeric:tabular-nums}
body :is(.muted,.muted-line,.help,.fine,.pv8-tagline) {color:var(--pv8-muted)}

/* The workspace and the public header have the same paper and ink. Retain
   navigation, mobile reflow, disclosure state and keyboard affordances. */
body > header.pv8-workspace-header[data-pv8-header],
body > header.pv8-public-header,
.pv8-profile > header,.pv8-library > header,.as-public-header,.as-workspace-header,.topbar {
  background:var(--pv8-paper);color:var(--pv8-ink);border-bottom:1px solid var(--pv8-rule);
  box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;
}
body > header.pv8-public-header :is(.landing-nav > a,.landing-login > summary),
body > header.pv8-workspace-header[data-pv8-header] :is(a,button,select),
.pv8-library .pv8-nav a {font-family:var(--pv8-font);font-size:var(--pv8-type-small);font-weight:500}
body > header.pv8-workspace-header[data-pv8-header] select {background:var(--pv8-paper)}
.pv8-brand :is(h1,.pv8-wordmark),body > header.pv8-public-header .pv8-brand h1 {
  color:var(--pv8-ink);font-size:22px;font-weight:650;letter-spacing:-.035em;
}
.pv8-library .layout > div:first-child,.pv8-library .module-workspace,
.pv8-library .module-input-pane,.pv8-library .module-output-pane,
.pv8-profile .card,.pv8-profile .workspace-card,.pv8-profile .profile-metric,
.pv8-portfolio .portfolio-panel,.pv8-portfolio .portfolio-pulse,
.pv8-library .asset-summary,.pv8-library .summary-cell {
  background:var(--pv8-paper);box-shadow:none;border-color:var(--pv8-rule);
}
body .pv8-sidebar-close {background:transparent;color:var(--pv8-muted)!important;border:0;box-shadow:none;font-size:var(--pv8-type-small)}
body .pv8-sidebar-close:hover {color:var(--pv8-ink)!important;background:var(--pv8-soft)}
.pv8-profile :is(.card,.workspace-card),.pv8-portfolio .portfolio-panel {border-radius:0}
.pv8-profile .profile-metric {border:0;border-right:1px solid var(--pv8-rule);border-radius:0}
.pv8-profile .profile-metric:last-child {border-right:0}
.pv8-profile h1,.pv8-library .workspace-head h1 {font-size:var(--pv8-type-title);font-weight:550;line-height:1.2}
.pv8-profile :is(.card h2,.workspace-card h2) {font-size:var(--pv8-type-lead);font-weight:550;text-transform:none;letter-spacing:-.01em}
.pv8-library :is(.module-objective-grid label,.module-choice-card) {box-shadow:none;border-color:var(--pv8-rule);border-radius:8px}
/* The engine picker card paints on the theme paper: pv8-modernist.css fixes it
   near-white, which left explicit-dark titles (--pv8-navy = ink) unreadable. */
.pv8-library .module-choice-card {background:var(--pv8-paper)}
/* The required-input marker mixes --serious with the label ink; on the pale
   dark-theme negative that drifts to salmon, so dark uses the negative itself. */
:root[data-theme="dark"] .vdw-req>[aria-hidden] {color:var(--pv8-negative)}
.pv8-library .module-input-pane .module-objective-grid > label {background:var(--pv8-paper)}
.pv8-library .module-input-pane .module-objective-grid > label.active {background:var(--pv8-selection);border-color:var(--pv8-action)}
.pv8-library :is(.module-choice-card,.pv8-module-surface)::after,.pv8-portfolio .portfolio-panel::after {display:none}
body :is(.libbtn,.pv8-button,.as-button,.cta,.download) {font-family:var(--pv8-font);font-weight:500;border-radius:4px;box-shadow:none}
body :is(.pv8-button.primary,.as-button.as-primary,.download:not(.secondary):not(.quiet),.cta:not(.ghost)) {
  background:var(--pv8-action);border-color:var(--pv8-action);color:var(--pv8-on-action);box-shadow:none;
}
.pv8-library button[onclick="run(true)"],.pv8-library button[onclick*="moduleJourneySubmit("],.pv8-library #landRunSale {
  box-shadow:none;font-weight:500;color:var(--pv8-on-action)!important;
}
.pv8-library :is(.module-inputs-toggle,.generic-inputs-toggle,.recycling-inputs-toggle,.direct-wire-inputs-toggle,.water-inputs-toggle) {
  box-shadow:none;font-weight:500;
}
body :is(.evidence-state,.pv8-status-chip,.pv8-pill,.workspace-status) {font-size:var(--pv8-type-small);font-weight:500;letter-spacing:normal;text-transform:none}
body .pv8-status-chip {color:var(--pv8-attention)!important;background:var(--pv8-attention-soft)}
body .pv8-status-chip[data-status="missing"] {color:var(--pv8-negative)!important;background:var(--pv8-negative-soft)}
body .pv8-status-chip[data-status="calculated"] {color:var(--pv8-positive)!important;background:var(--pv8-positive-soft)}

/* Acquisition keeps its content and working search. The introductory surface
   uses the same paper, hierarchy and navy actions as the asset screen. */
body.pv8-welcome .hero[data-landing-chapter],.as-body .as-hero {
  background:var(--pv8-paper);color:var(--pv8-ink);
}
body.pv8-welcome .hero[data-landing-chapter]::before {display:none}
body.pv8-welcome .hero[data-landing-chapter] h1,.as-body .as-hero h1 {
  color:var(--pv8-ink);font-family:var(--pv8-font);
  font-size:clamp(32px,4.5vw,52px);font-weight:550;line-height:1.12;letter-spacing:-.04em;
}
body.pv8-welcome .hero[data-landing-chapter] :is(.hero-subhead,.hero-lede,.hero-eyebrow,.hero-route-line,.landing-proofline,.hero-trust) {
  color:var(--pv8-muted);text-shadow:none;
}
body.pv8-welcome .hero[data-landing-chapter] :is(.hero-subhead,.hero-lede) {font-size:var(--pv8-type-lead);line-height:1.6}
body.pv8-welcome .hero .v2-hint {color:var(--pv8-muted)}
body.pv8-welcome .hero #teaserRandomBtn {color:var(--pv8-action);text-shadow:none}
body.pv8-welcome .hero .v2-form {background:var(--pv8-paper)}
body.pv8-welcome .hero .v2-form :is(input,select) {background:var(--pv8-paper);color:var(--pv8-ink)}
body.pv8-welcome .hero .v2-form :is(label,summary) {color:var(--pv8-muted)}
body.pv8-welcome :is(.teaser-search-card,.teaser-form,.v2-input-editor,.v2-card,.v2-report-grid article,.engineering-pack,.price-card,.price-pair),
.as-body :is(.as-card,.as-engine-card,.as-hero-panel,.as-preview-opportunity,.as-table-wrap,.as-pack-preview) {
  background:var(--pv8-paper);border:1px solid var(--pv8-rule);border-radius:8px;box-shadow:none;
}
body.pv8-welcome .teaser-form {background:var(--pv8-paper)!important;border-color:var(--pv8-control-rule)!important;box-shadow:none!important;border-radius:4px!important}
body.pv8-welcome :is(.teaser-form input,.v2-form input,.v2-form select) {background:var(--pv8-paper);color:var(--pv8-ink)}
body.pv8-welcome :is(.teaser-form input,.v2-form input)::placeholder {color:var(--pv8-muted);opacity:1}
body.pv8-welcome :is(.modules,.landing-audiences,#engineeringHandoff[data-landing-chapter],#pricing,footer),
.as-body :is(.as-public-section,.as-boundary-section,.as-flow article,.as-role-grid article,.as-charter-grid article) {
  background:var(--pv8-paper);color:var(--pv8-ink);box-shadow:none;border-color:var(--pv8-rule);
}
body.pv8-welcome :is(.modules h2,.landing-audiences h2,#pricing h2,.engineering-handoff-copy h2,#watch h2,#opportunities .feature:first-child h2) {
  color:var(--pv8-ink);font-size:var(--pv8-type-title);font-weight:550;line-height:1.2;
}
body.pv8-welcome footer {border-top:1px solid var(--pv8-rule);color:var(--pv8-muted)}
body.pv8-welcome footer a {color:var(--pv8-action)}
body.pv8-welcome .v2-tabs button[aria-pressed="true"] {background:var(--pv8-action);border-color:var(--pv8-action);color:var(--pv8-on-action)}
body > header.pv8-public-header .cta {background:var(--pv8-action);border-color:var(--pv8-action);color:var(--pv8-on-action);border-radius:4px;box-shadow:none}
body > header.pv8-public-header .cta:hover {background:var(--pv8-action-hover);border-color:var(--pv8-action-hover);color:var(--pv8-on-action);box-shadow:none;transform:none}
.as-body .as-brand span,.as-body .as-sidebar-brand a span {color:inherit}
.as-body .as-hero {padding-top:64px;padding-bottom:64px}
.as-body .as-lede {color:var(--pv8-muted);font-size:var(--pv8-type-lead)}
.as-body .as-hero-panel {color:var(--pv8-ink)}
.as-body :is(.as-preview-head,.as-preview-actions span) {border-color:var(--pv8-rule)}
.as-body .as-preview-steps span {color:var(--pv8-muted);border-color:var(--pv8-rule)}
.as-body .as-preview-steps span.done {color:var(--pv8-ink);border-color:var(--pv8-action)}
.as-body :is(.as-flow article,.as-role-grid article,.as-charter-grid article) {border-radius:8px}
.as-body .as-workspace-header h1 {font-size:var(--pv8-type-title)}
.as-body .as-sidebar {background:var(--pv8-paper);color:var(--pv8-ink);border-right:1px solid var(--pv8-rule)}
.as-body .as-sidebar :is(a,button,.as-nav-group) {color:var(--pv8-muted)}
.as-body .as-sidebar :is(.as-sidebar-brand a,button.active) {color:var(--pv8-ink)}
.as-body .as-sidebar .as-nav button.active {background:var(--pv8-selection)}
body button.primary {background:var(--pv8-action);color:var(--pv8-on-action);border-color:var(--pv8-action)}

/* The same type and paper carry through customer samples and downloadable
   report HTML. Print still uses white paper and preserves coloured status. */
body .wrap :is(.compare,.kpi,.sample-concept,.handoff,.sample-index-grid article,section.block,details) {
  background:var(--pv8-paper);border-color:var(--pv8-rule);border-radius:8px;box-shadow:none;
}
body .wrap :is(h1,h2,h3,.brand) {color:var(--pv8-ink);font-weight:550}
body .wrap .rep-title h1 {font-size:var(--pv8-type-title)}
body .wrap :is(.kpi-v,.pv8-fact dd) {color:var(--pv8-ink);font-size:var(--pv8-type-section);font-weight:500}
body .wrap :is(.kpi-l,.kpi-s,.bar-unit,.handoff-status,.handoff-preview figcaption) {font-size:var(--pv8-type-small);letter-spacing:normal}
body .wrap :is(.sample-index-grid article>span,.chip) {font-size:var(--pv8-type-small);font-weight:500;letter-spacing:normal}
body .wrap .sample-index-grid article {border:0;border-top:1px solid var(--pv8-rule);border-radius:0}
body .wrap :is(.pv8-fact small,.pv8-basis-bar) {color:var(--pv8-muted)}
body .wrap .pv8-basis-bar {border-color:var(--pv8-rule)}
body.login-page {background:var(--pv8-paper)}
.login-page .login-card {background:var(--pv8-paper);border-color:var(--pv8-rule);border-radius:8px}
@media(max-width:680px) {
  body h1,.pv8-profile h1 {font-size:1.75rem}
  body.pv8-welcome :is(.modules h2,.landing-audiences h2,#pricing h2,.engineering-handoff-copy h2) {font-size:1.75rem}
  body .wrap .rep-title h1 {font-size:1.5rem}
  body > header.pv8-public-header .landing-nav {flex-wrap:wrap}
}
@media(max-width:480px) {
  /* Long translated links ("Fonctionnement") break inside the link at 320px
     rather than clip; the 12px floor stays (owner, 2026-11-16). */
  :root body > header.pv8-public-header .landing-nav > a:not(.cta) {max-width:none;width:100%;overflow-wrap:anywhere;white-space:normal;justify-content:center}
  /* Keep the account utilities on one line without shrinking their type. */
  :root body > header.pv8-workspace-header[data-pv8-header] {gap:4px 8px;padding-left:12px;padding-right:12px}
  :root body > header.pv8-workspace-header[data-pv8-header] .pv8-brand {flex:1 1 auto;min-width:108px}
  :root body > header.pv8-workspace-header[data-pv8-header] #pv8InboxCell {flex:0 0 44px}
  :root body > header.pv8-workspace-header[data-pv8-header] #pv8InboxButton {display:flex;align-items:center;justify-content:center;min-height:44px;width:44px;padding:0;white-space:nowrap}
  #pv8InboxButton .nav-ico {width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7}
  #pv8InboxButton > span:not([data-sidebar-badge]) {clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}
  :root body > header.pv8-workspace-header[data-pv8-header] #pv8LangToggle {width:100px;padding-right:18px;font-size:13px}
}
/* Navigation timing is shared with the small pane controller. Panels move
   only after their owner has accepted a change. Links use native history. */
:root {
  --pv8-motion-control:120ms;
  --pv8-motion-section:210ms;
  --pv8-motion-drawer:260ms;
  --pv8-motion-distance:8px;
  --pv8-motion-ease:cubic-bezier(.2,.75,.25,1);
}

body [data-pv8-tabline] > :is(button,a) {position:relative}
body [data-pv8-tabline] > :is([aria-selected="true"],[aria-current="step"],[aria-current="location"],[aria-current="true"],[aria-pressed="true"])::after {
  content:"";position:absolute;inset:auto 0 0;height:2px;background:currentColor;
  transform-origin:left center;pointer-events:none;
}
#assetRouteOpening {padding:16px 4px}
#assetRouteOpening h2 {margin:0 0 6px}
#assetRouteOpening p {margin:0;color:var(--pv8-muted)}
html:not(.pv8-navigation-pending) #assetRouteOpening {display:none}
body.pv8-library .engine-section-nav[data-pv8-tabline] {padding-bottom:0}
body.pv8-library .engine-section-nav[data-pv8-tabline] > [aria-selected="true"],
body.pv8-profile.profile-organized .profile-nav[data-pv8-tabline] > [aria-current] {box-shadow:none}
body .tour-steps[data-pv8-tabline] > button[aria-current="step"],
body .pv8-worksheet-tabs > button:is([aria-selected="true"],[aria-current="true"]) {
  background:transparent;color:var(--pv8-action);border-color:transparent;box-shadow:none;
}
body .tour-steps[data-pv8-tabline] > button[aria-current="step"] span {color:inherit}

@media screen and (prefers-reduced-motion:no-preference) {
  @view-transition {navigation:auto}
  /* The browser paints the incoming document immediately. Keep its header
     stationary and discard the previous document's snapshot. */
  :is(header.pv8-workspace-header,header.pv8-public-header) {view-transition-name:pv8-header}
  ::view-transition-group(*) {animation-duration:var(--pv8-motion-control);animation-timing-function:var(--pv8-motion-ease)}
  ::view-transition-old(root),::view-transition-old(pv8-header) {display:none}
  ::view-transition-new(root) {animation:pv8-page-in var(--pv8-motion-control) var(--pv8-motion-ease);mix-blend-mode:normal}
  ::view-transition-group(pv8-header),::view-transition-new(pv8-header) {animation:none}
  @keyframes pv8-page-in {from {opacity:.86} to {opacity:1}}
  /* A cold page can paint before a document transition is available. Give
     its main content the same subtle arrival, including on first visits. */
  :where(body > main, body > .layout > main) {
    transition:opacity var(--pv8-motion-control) var(--pv8-motion-ease);
  }
  @starting-style { :where(body > main, body > .layout > main) {opacity:.86} }
  :root:active-view-transition :where(body > main, body > .layout > main) {transition:none}
  @keyframes pv8-tab-line {
    from {transform:translateX(var(--pv8-line-offset,0px)) scaleX(var(--pv8-line-scale,1))}
    to {transform:none}
  }
  [data-pv8-tabline] > :is([aria-selected="true"],[aria-current="step"],[aria-current="location"],[aria-current="true"],[aria-pressed="true"])::after {
    animation:pv8-tab-line var(--pv8-motion-section) var(--pv8-motion-ease);
  }
  body :where(nav a,nav button,.btn,.libbtn,button.primary,input,select,textarea) {
    transition:background-color var(--pv8-motion-control),color var(--pv8-motion-control),border-color var(--pv8-motion-control);
  }
  .pv8-library.pv8-unified-navigation #assetPane {
    transition:transform var(--pv8-motion-drawer) var(--pv8-motion-ease),visibility 0s;
  }
  .pv8-library.pv8-unified-navigation .layout.assets-collapsed #assetPane {
    transition-delay:0s,var(--pv8-motion-drawer);
  }
}
@media (prefers-reduced-motion:reduce) {
  :root {--pv8-motion-control:0ms;--pv8-motion-section:0ms;--pv8-motion-drawer:0ms;--pv8-motion-distance:0px}
  html:focus-within,html,body {scroll-behavior:auto}
  .pv8-library.pv8-unified-navigation #assetPane {transition:none}
}

/* Assessments read as a register. Icons identify the engine, and the
   recommendation and completion marks keep their existing meanings. */
.pv8-library .module-choice-grid {grid-template-columns:minmax(0,1fr);gap:0;max-width:56rem}
.pv8-library .module-choice-other {margin:1.5rem 0 .5rem}
.pv8-library .module-choice-card,.pv8-library .module-choice-card:hover,.pv8-library .module-choice-card:focus-visible {
  border:0;border-top:1px solid var(--pv8-rule);border-radius:0;box-shadow:none;
  padding:12px 8px;transform:none;background:var(--pv8-paper);transition:background-color var(--pv8-motion-control);
}
.pv8-library .module-choice-card:hover,.pv8-library .module-choice-card:focus-visible {background:var(--pv8-soft)}
.pv8-library .module-choice-card:focus-visible {outline:2px solid var(--pv8-action);outline-offset:-2px}
.pv8-library .module-choice-card-mark {background:transparent;color:var(--pv8-action)}
.pv8-library .module-choice-card > b {font-size:var(--pv8-type-body)}
.pv8-library .module-choice-card > small {font-size:var(--pv8-type-small)}
.pv8-library :is(.engine-overview-value,.land-overview-value) {
  padding:16px 0 20px;border:0;border-block:1px solid var(--pv8-rule);
  border-radius:0;background:transparent;box-shadow:none;
}
.pv8-library :is(.engine-overview-metrics,.engine-overview-assumptions,.land-overview-metrics) dd {
  font-variant-numeric:tabular-nums;
}
.pv8-library :is(.engine-overview-warning,.land-overview-warning) {
  background:var(--pv8-attention-soft);border-inline-start:3px solid var(--pv8-attention);
  border-radius:0;padding:12px 16px;
}
.pv8-library .engine-primary-action {color:var(--pv8-on-action);background:var(--pv8-action)}
.pv8-library .engine-overview-columns .engine-primary-action {color:var(--pv8-on-action)!important}

/* Use dividers between peer sections, leaving outlines for controls and
   editing surfaces. Keep maps, charts and report previews at their own scale. */
.pv8-library .pv8-work-tool,.pv8-portfolio .portfolio-panel,
.as-body :is(.as-flow article,.as-role-grid article,.as-charter-grid article),
.pv8-faq :is(.tour-offering-grid,.tour-audience-grid) > article,
.pv8-welcome :is(.v2-report-grid article,.engineering-pack),
.pv8-worksheet main :is(section.panel,article.panel,.panel.chart-panel),
.pv8-secondary main section.panel,
body .wrap section.block {
  background:var(--pv8-paper);color:var(--pv8-ink);border:0;border-top:1px solid var(--pv8-rule);
  border-radius:0;box-shadow:none;
}
.pv8-worksheet {--brand:var(--pv8-action);--navy:var(--pv8-ink);--page:var(--pv8-paper)}
.pv8-worksheet main {color:var(--pv8-ink)}
body .pv8-worksheet-tabs {border-bottom:1px solid var(--pv8-rule)}
body .pv8-worksheet-tabs > button {background:transparent;color:var(--pv8-muted);border-color:transparent;border-radius:0;min-height:44px}
body .pv8-worksheet-tabs > button:hover {background:var(--pv8-soft);color:var(--pv8-ink)}
body .wrap .compare,body .wrap .kpi,.as-body .as-table-wrap {border-radius:0}

/* Keep the selected source, recipient and navigation in place while the
   reading pane scrolls. An opened frozen drawing stays beside subsequent views. */
body dialog.pv8-decision[open] {
  display:flex;flex-direction:column;width:min(64rem,calc(100% - 24px));
  height:min(50rem,calc(100dvh - 24px));overflow:hidden;padding:clamp(14px,2.5vw,28px);
  color:var(--pv8-ink);background:var(--pv8-paper);border:1px solid var(--pv8-rule);
  border-radius:8px;font-family:var(--pv8-font);
}
.pv8-decision .decision-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.pv8-decision .decision-heading h2 {font-size:var(--pv8-type-section)}
.pv8-decision .decision-heading button {margin:0}
.pv8-decision .decision-source-line,.pv8-decision .decision-drawing figcaption {
  color:var(--pv8-muted);font-size:var(--pv8-type-small);margin:3px 0 0;
}
.pv8-decision .decision-selectors {display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}
.pv8-decision .decision-current {display:none}
body .pv8-decision > nav[data-pv8-tabline] {
  flex:none;flex-wrap:nowrap;align-items:stretch;overflow-x:auto;gap:12px;
  overscroll-behavior-x:contain;padding:0 2px;scrollbar-width:thin;
}
body .pv8-decision > nav[data-pv8-tabline] button {
  flex:0 0 auto;margin:0;padding:8px 4px;border:0;border-radius:0;background:transparent;
  color:var(--pv8-muted);min-height:44px;
}
body .pv8-decision > nav[data-pv8-tabline] button[aria-selected="true"] {color:var(--pv8-action);font-weight:650;box-shadow:none}
.pv8-decision > [role="status"] {margin:4px 0;flex:none}
.pv8-decision > [role="status"]:empty {margin:0}
.pv8-decision .decision-reading {
  flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:8px 6px 16px;
}
.pv8-decision .decision-reading nav[aria-label="Decision deliverables"] {display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px}
body .pv8-decision .decision-reading nav[aria-label="Decision deliverables"] a {
  display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0;border:0;
  background:transparent;color:var(--pv8-action);text-underline-offset:3px;
}
body .pv8-decision .decision-reading nav a[data-export-kind="brief"] {
  padding-inline:14px;border-radius:4px;background:var(--pv8-action);color:var(--pv8-on-action);text-decoration:none;
}
.pv8-decision .decision-drawing {margin:12px 0}
.pv8-decision .decision-drawing img {width:100%;height:auto;display:block}
@media (min-width:760px) {
  .pv8-decision .decision-reading:has(.decision-drawing:not([hidden])) {
    display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:24px;align-items:start;
  }
  .pv8-decision .decision-drawing {position:sticky;top:0}
}
@media (max-width:759px) {
  .pv8-decision .decision-current {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-block:10px 2px}
  .pv8-decision .decision-current strong,.pv8-decision .decision-current span {display:block;overflow-wrap:anywhere}
  .pv8-decision .decision-current span {color:var(--pv8-muted);font-size:var(--pv8-type-small)}
  body .pv8-decision .decision-current button {flex:none;min-height:44px;margin:0;padding:6px 4px;background:transparent;border:0;color:var(--pv8-action);text-decoration:underline;text-underline-offset:3px}
  .pv8-decision .decision-selectors {grid-template-columns:minmax(0,1fr);gap:0}
  .pv8-decision .decision-selectors:not([data-expanded="true"]) {display:none}
  .pv8-decision .decision-selectors label {margin:4px 0}
  body .pv8-decision > nav[data-pv8-tabline] {display:flex;gap:10px;padding-bottom:0}
  body .pv8-decision > nav[data-pv8-tabline] button {white-space:nowrap;font-size:var(--pv8-type-small)}
  .pv8-decision .decision-reading:not([data-view="layout"]) .decision-drawing {display:none}
}
@media (max-height:480px) {
  body dialog.pv8-decision[open] {display:block;overflow:auto}
  .pv8-decision .decision-reading {overflow:visible}
}

/* A saved analysis is a readable document inside the asset journey. */
.pv8-saved-entry {display:flex;align-items:center;flex-wrap:wrap;column-gap:12px;border-bottom:1px solid var(--pv8-rule);padding-block:4px}
.pv8-saved-entry > .pv8-work-saved {flex:1 1 17rem;min-width:0;border:0;overflow-wrap:anywhere}
.pv8-saved-entry > button {min-height:44px}
.pv8-saved-entry > .pv8-work-saved {display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start}
.pv8-saved-entry .pv8-work-saved > :not(.nav-ico) {grid-column:2}
.pv8-saved-entry .pv8-work-saved > .nav-ico {grid-row:1;margin-top:2px}
.pv8-saved-entry .pv8-work-saved > :is(.pv8-saved-scenario,small) {display:block;margin:4px 0 0;font-size:var(--pv8-type-small);font-weight:400}
.pv8-saved-entry .pv8-work-saved > .pv8-saved-scenario {color:var(--pv8-ink)}
.pv8-saved-entry .pv8-work-saved > small {color:var(--pv8-muted)}
@media(max-width:759px){
  .pv8-saved-entry {column-gap:8px;padding-block:10px}
  .pv8-saved-entry > .pv8-work-saved {flex-basis:100%;padding-block:2px 8px}
}
body.pv8-saved-report {margin:0}
.pv8-saved-report :is(header,main) {max-width:54rem;margin-inline:auto;padding-inline:clamp(16px,4vw,48px)}
.pv8-saved-report header {padding-top:20px}
.pv8-saved-report .report-path {display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;font-size:var(--pv8-type-small)}
.pv8-saved-report .report-path strong {font-size:var(--pv8-type-lead);color:var(--pv8-ink)}
.pv8-saved-report a {color:var(--pv8-action);text-underline-offset:3px}
.pv8-saved-report :is(main,.report-path) {overflow-wrap:anywhere}
.pv8-saved-report h1 {margin:8px 0;font-size:clamp(1.75rem,4vw,2.65rem)}
.pv8-saved-report h2 {margin:0 0 8px;font-size:var(--pv8-type-lead)}
.pv8-saved-report main {padding-block:28px 56px}
.pv8-saved-report .report-state,.pv8-saved-report .muted {margin:0;color:var(--pv8-muted);font-size:var(--pv8-type-small)}
.pv8-saved-report .report-actions {display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:18px 0 28px}
.pv8-saved-report .report-actions a {display:inline-flex;align-items:center;min-height:44px}
.pv8-saved-report .report-actions .primary {
  background:var(--pv8-action);color:var(--pv8-on-action);padding:0 16px;
  border-radius:4px;text-decoration:none;font-weight:600;
}
.pv8-saved-report .report-actions .primary:hover {background:var(--pv8-action-hover)}
.pv8-saved-report .report-verdict {margin-top:20px;border-top:1px solid var(--pv8-rule);padding-top:18px}
.pv8-saved-report .report-verdict p {margin:6px 0}
.pv8-saved-report .report-scenario {margin:6px 0 0;font-size:var(--pv8-type-small)}
.pv8-saved-report .report-figure {font-size:var(--pv8-type-lead);font-variant-numeric:tabular-nums}
.pv8-saved-report .supporting-files {margin:0 0 16px}
.pv8-saved-report .supporting-files summary {width:fit-content;padding:10px 0;min-height:44px}
.pv8-saved-report .supporting-files .report-actions {margin:0}
.pv8-saved-report .card {padding:20px 0;border:0;border-top:1px solid var(--pv8-rule)}
.pv8-saved-report .metrics {margin:16px 0 0}
.pv8-saved-report .metric {display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid var(--pv8-rule)}
.pv8-saved-report .metric span {color:var(--pv8-muted)}
.pv8-saved-report .metric b {text-align:end}
.pv8-saved-report summary {cursor:pointer;font-weight:600;color:var(--pv8-action)}
.pv8-snapshot-links {display:flex;align-items:center;gap:4px 20px;flex-wrap:wrap;padding-block:4px 12px}
.pv8-snapshot-links a {color:var(--pv8-action);text-underline-offset:3px}
.pv8-saved-report pre {font-size:var(--pv8-type-small);white-space:pre-wrap;overflow-wrap:anywhere}
@media print {
  .pv8-saved-report :is(header,main) {max-width:none;margin:0;padding:0}
  .pv8-snapshot-links,.pv8-saved-report .report-path > :is(span,a:not(.report-asset)),.pv8-saved-report .report-actions,.pv8-saved-report details {display:none}
  .pv8-saved-report .report-asset {color:inherit;text-decoration:none}
  .pv8-saved-report :is(h1,h2) {break-after:avoid}
  .pv8-saved-report .metric {break-inside:avoid}
}

@media print {
  :root,:root[data-theme],:root:not([data-theme="light"]) {
    color-scheme:light;--pv8-paper:#ffffff;--pv8-ink:#15242e;--pv8-muted:#59656d;
    --pv8-rule:#deded7;--pv8-soft:#f1f0eb;--pv8-action:#123d56;--pv8-on-action:#ffffff;
    --pv8-attention:#805817;--pv8-positive:#24664b;--pv8-negative:#aa302a;
  }
}
