/* Functional legibility/focus fixes; brand, type and page layout retain their source design. */
.field-hint,.footer-legal,.tool-limit{color:var(--muted,#566169)}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:2px solid var(--teal,#0a6b5a);outline-offset:3px}

.story-step{opacity:1}.step-number{color:var(--muted,#566169)}.band-ink .step-number{color:var(--on-ink-muted,#9aa6b2)}

.preview-label{color:#755016}

.site-footer li,.site-footer a{overflow-wrap:anywhere}
.field-error{display:block;color:#922c20;font-size:14px;line-height:1.5;margin-top:8px}.error ul{padding-left:24px;margin:12px 0}.error li{margin:8px 0}.error a{text-decoration:underline}.error p{margin:0}
.form-actions,.export-actions{flex-wrap:wrap}
#brief-output{container-type:inline-size}#brief-values dt,#brief-values dd{overflow-wrap:anywhere}
@container(max-width:360px){#brief-values{grid-template-columns:minmax(0,1fr)}#brief-values dd{padding-top:0;border-top:0}}

/* Disclosure controls and standalone navigation targets remain comfortable at narrow widths. */
.menu-toggle{width:44px;height:44px;flex-shrink:0}.brand,.language{min-height:44px;display:inline-flex;align-items:center}
.site-footer li a{display:inline-flex;align-items:center;min-height:44px}
.privacy-choice label{min-height:44px;display:flex;align-items:flex-start}
html{scroll-padding-top:calc(var(--header-h,76px) + 12px)}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .reveal-pending{opacity:1;transform:none;filter:none}
}

/* Operator focus should never compete with an unfinished native smooth scroll. */
html.owner-page{scroll-behavior:auto}

/* All animated headline stops must remain legible over the drifting light fields. */
.words .grad .wi{background-image:linear-gradient(100deg,#075747 0%,#0a6b5a 50%,#075747 100%)}
/* SVG text needs the same text contrast as HTML; raw traces also remain distinguishable. */
.chart text,.scene-svg .note:not(.teal){fill:var(--muted,#5a6570)}
.scene-svg .cap.amber{fill:#936119}
.chart .raw-line,.chart .raw-dot{stroke:#697681}
.legend .k-raw{border-top-color:#697681}
.hero .lede,.page-hero .lede{color:#45515c}
.proof-source{color:var(--muted,#5a6570)}
.chart rect[fill="#cdd3d8"]{fill:#77828c}.legend .k-sample{background:#77828c}

/* Native enlarged view preserves readable labels without widening the page. */
.diagram-detail{border-top:1px solid var(--line);padding:12px 20px}
.diagram-detail summary{cursor:pointer;min-height:44px;align-content:center;font-size:14px;color:var(--teal)}
.diagram-scroll{overflow:auto;max-width:100%;padding:16px 0}
.diagram-scroll .chart{width:1100px;max-width:none;height:auto;display:block}
.diagram-note{display:block;flex-basis:100%;font-size:14px;line-height:1.6}
.diagram-scroll .chart .lbl{display:block}

/* Reserve the real enhancement layout before its module binds, avoiding a mobile jump.
   With scripting disabled, the existing hidden-form/static-resource fallback stays collapsed. */
@media(scripting:enabled){.resource-search[hidden]{display:grid!important;visibility:hidden}}
