/* Reading pages and operational tools share the site's contour surface. */
@font-face {
  font-family: Manrope;
  src: url("/immutable/assets/fonts/manrope-variable.3ae11c49db0455a3.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@media screen {
  .inner-surface {
    --accent-light: color-mix(in srgb, var(--forest-jade) 50%, white);
    --surface-fill: linear-gradient(135deg, #214b3bee, #10291fee 64%, #101c13f5);
    --surface-edge: 1px solid #56957870;
    --surface-shadow: inset 0 1px #dff8ec12, 0 12px 32px #03191232;
    --action-fill: linear-gradient(155deg, #377456, #275d46 72%, #214f3c);
    --paper: var(--forest-ink);
    --ink: var(--forest-text);
    --muted: var(--forest-muted);
    --quiet: var(--forest-muted);
    --mint: var(--accent-light);
    --green: var(--accent-light);
    --line: var(--forest-edge);
    color-scheme: dark;
    color: var(--forest-text);
    font-family: Manrope, system-ui, sans-serif;
    min-height: 100svh;
  }

  .inner-surface > header,
  .inner-surface > header.nav {
    width: min(1220px, calc(100% - 48px));
    min-height: 64px;
    height: auto;
    margin: 18px auto 0;
    padding: 13px clamp(16px, 2vw, 26px);
    border: var(--surface-edge);
    border-radius: 20px;
    background: linear-gradient(120deg, #193c30f5, #0c211af5 75%);
    box-shadow: var(--surface-shadow);
    backdrop-filter: none;
  }

  .inner-surface header a:not(.brand, .commerce-brand) {
    color: var(--forest-text);
    text-underline-offset: .25em;
  }

  .inner-surface :is(h1,h2,h3,strong),
  .inner-surface .privacy-page strong {
    color: var(--forest-text);
  }

  .inner-surface :is(.eyebrow,.commerce-kicker,.step-number,.badge,.sales-checks strong,.guide-help a,.direct-installer a),
  .inner-surface .guide-download .guide-inline,
  .inner-surface .guide-steps section > span {
    color: var(--accent-light);
  }

  .inner-surface :is(.guide-lead,.lead,.guide-help p,.guide-note,.guide-download p,.direct-installer > div,.guide-steps p,.commerce-lead,.delivery-card p,.delivery-bottom p,.privacy-page p,.privacy-page li) {
    color: var(--forest-muted);
  }

  .inner-surface :focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 4px;
  }

  .inner-surface :is(.guide-download,.delivery-card,.delivery-card.accent,.panel,.metrics article,.beta-dialog) {
    background: var(--surface-fill);
    border: var(--surface-edge);
    border-radius: 20px;
    box-shadow: var(--surface-shadow);
  }

  .inner-surface .button,
  .document-page .nav .button.small,
  .inner-surface .header-cta,
  .inner-surface .commerce-button,
  .inner-surface .beta-primary,
  .inner-surface .guide-download a:not(.guide-inline,.store-badge),
  .access-page button,
  .operations-page button {
    background: var(--action-fill);
    border: 1px solid #77b19691;
    border-radius: 12px;
    box-shadow: inset 0 1px #e0f8ec27, 0 3px 8px #061c164d;
    color: var(--forest-text) !important; /* legacy commerce CTAs set an important dark foreground */
    font-weight: 650;
  }

  .inner-surface :is(.button,.header-cta,.commerce-button,.beta-primary):hover,
  .document-page .nav .button.small:hover,
  .inner-surface .guide-download a:not(.guide-inline,.store-badge):hover,
  .access-page button:hover,
  .operations-page button:hover {
    background: #326e51;
    border-color: #95c7ad;
  }

  .inner-surface input:not([type=checkbox],[type=radio]),
  .inner-surface textarea,
  .inner-surface select {
    background: #0c211a;
    border: 1px solid #569578a8;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px #03140d4d;
    color: var(--forest-text);
  }

  .inner-surface :is(.guide-steps section,.guide footer,.release-page footer,.release-page .guide-help,.commerce-footer,.direct-installer,.sales-checks li,.guide-layout,.guide-step,.site-footer,.layout-options > div,.privacy-lead) {
    border-color: var(--forest-edge);
  }

  .document-page .privacy-page {
    width: min(840px, calc(100% - 48px));
    margin: clamp(24px, 4vw, 60px) auto;
    padding: clamp(25px, 5vw, 68px);
    background: var(--surface-fill);
    border: var(--surface-edge);
    border-radius: 24px;
    box-shadow: var(--surface-shadow);
  }
  .document-page .privacy-page h2 { font-family: inherit; }
  .document-page .privacy-page a,
  .document-page footer a:not(.brand) { color: var(--accent-light); }
  .document-page .privacy-date { font-variant-numeric: tabular-nums; }
  .document-page :is(.cookie-notice,.cookie-dialog) {
    background: linear-gradient(145deg, #173d30, #10271c);
    color: var(--forest-text);
    border: var(--surface-edge);
    box-shadow: var(--surface-shadow);
  }
  .document-page :is(.cookie-notice,.cookie-dialog) p { color: var(--forest-muted); }
  .document-page .cookie-actions .cookie-action:not([data-cookie-settings]) {
    background: var(--action-fill);
    border-color: #76a88b;
    color: var(--forest-text);
  }
  .document-page .cookie-actions .cookie-action:not([data-cookie-settings]):hover { background: #326e51; }
  .document-page .cookie-dialog::backdrop { background: #031a12bd; backdrop-filter: none; }
  .document-page .cookie-category span,.document-page .cookie-dialog a { color: var(--accent-light); }
  .document-page .cookie-category input { accent-color: var(--forest-jade); }

  .guide-article .contents nav {
    padding: 18px;
    border: var(--surface-edge);
    border-radius: 17px;
    background: var(--surface-fill);
    box-shadow: var(--surface-shadow);
  }
  .guide-article .app-figure > a { border: var(--surface-edge); border-radius: 15px; }
  .guide-article .guide-cta .button:hover { color: var(--forest-text); }

  .access-page main {
    width: min(100%, 510px);
    margin: clamp(0px, 2vh, 24px) auto;
    padding: clamp(23px, 4vw, 44px);
    border: var(--surface-edge);
    border-radius: 24px;
    background: var(--surface-fill);
    box-shadow: var(--surface-shadow);
  }
  .access-page h1 { font-size: clamp(32px, 4vw, 44px); }
  .access-page h2 { margin: 28px 0 6px; font-size: 21px; letter-spacing: -.035em; }
  .access-page .eyebrow { margin-top: 34px; }
  .access-page button { font-family: inherit; }
  .access-page p, .access-page .back { color: var(--forest-muted); }
  .access-page .notice { color: var(--forest-text); border-color: var(--forest-jade); }
  .access-page .brand { color: var(--forest-text); }

  .dashboard-page .metrics .accent {
    background: linear-gradient(135deg, #275d46, #163728);
    border-color: #70a98a;
  }
  .dashboard-page :is(.metrics .accent strong,.journey-steps strong,.beta-summary strong,.legend,.beta-filters a,.beta-list-count,.access-status) {
    color: var(--accent-light);
  }
  .dashboard-page .legend span + span { color: var(--forest-jade); }
  .dashboard-page :is(.muted,.heading .muted,.tools label,.status:not(.error),.metrics small,.metrics span,.panel-top p,.coverage,.row small,.chart-range,.note) {
    color: var(--forest-muted);
  }
  .dashboard-page :is(.access-overview > div,.beta-summary > div,.access-code-block,.beta-list-count,.access-status,.beta-list-scroll th) {
    background: #153326;
    border-color: #56957870;
  }
  .dashboard-page .access-code-block { border-color: var(--forest-jade); }
  .dashboard-page button:not(.beta-primary,.danger),
  .inner-surface .code-control button {
    background: var(--action-fill);
    border: var(--surface-edge);
    box-shadow: inset 0 1px #dff8ec18;
    color: var(--forest-text);
  }
  .dashboard-page button:not(:disabled,.danger):hover,
  .inner-surface .code-control button:not(:disabled):hover { background: #326e51; }
  .dashboard-page .beta-list-scroll { scrollbar-color: var(--forest-jade) var(--forest-ink); }
  .dashboard-page .beta-list-scroll tbody tr:hover { background: #1c4232; }
  .dashboard-page .beta-dialog { background: linear-gradient(150deg,#163329,#101c13 85%); }
  .dashboard-page .beta-dialog::backdrop { background: #031a12bd; backdrop-filter: none; }
  .dashboard-page .journey-steps article, .dashboard-page td, .dashboard-page th { border-color: var(--forest-edge); }

  @media (max-width: 620px) {
    .inner-surface > header, .inner-surface > header.nav { width: calc(100% - 24px); min-height: 56px; margin-top: 10px; padding: 11px 13px; border-radius: 16px; }
    .inner-surface header nav { gap: 14px; }
    .inner-surface header .brand { flex-shrink: 0; }
    .document-page .privacy-page { width: calc(100% - 24px); padding: 23px 19px; border-radius: 19px; }
    .dashboard-page > header { flex-wrap: wrap; gap: 12px 17px; }
    .dashboard-page header nav { margin-left: 0; gap: 10px 15px; flex-wrap: wrap; }
    .dashboard-page .journey-steps { gap: 16px; }
    .guide-article .site-header { justify-content: space-between; }
    .access-page { padding: 12px; }
  }
}
@media print {
  .inner-surface > .contour-field { display: none; }
}
