/* Ledger family: workshop (tokens from _ai-projects-tooling/ledger/families/tokens/workshop.css) */
@font-face{font-family:"IBM Plex Sans Condensed";src:url("../fonts/IBMPlexSansCondensed-600.woff2")format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("../fonts/IBMPlexMono-600.woff2")format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("../fonts/IBMPlexMono-400.woff2")format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url("../fonts/IBMPlexSans-400.woff2")format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url("../fonts/IBMPlexSans-600.woff2")format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url("../fonts/SourceSerif4-400.woff2")format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url("../fonts/SourceSerif4-600.woff2")format("woff2");font-weight:600;font-display:swap}
:root {
  --paper: #E9EAE6; --panel: #F2F3EF; --ink: #191B1A; --ink-2: #4B504D;
  --rule: #C3C6C1; --edge: #727773; --signal: #2F6243; --signal-2: #7C5A26;
  --font-display: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --font-head: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #161817; --panel: #1F2220; --ink: #E3E5E1; --ink-2: #A0A6A1;
    --rule: #373B38; --edge: #686E6A; --signal: #7DC096; --signal-2: #CBA668;
  }
}
* { box-sizing: border-box; border-radius: 0; }
html, body { margin: 0; padding: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
a { color: var(--signal); text-underline-offset: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.wrap { width: min(100% - 2rem, 72rem); margin: 0 auto; }
.overview-bar { border-bottom: 1px solid var(--rule); font: 14px/1.4 var(--font-body); padding: 9px 0; }
.overview-bar a { font-weight: 600; }

.masthead { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px;
            border: 1px solid var(--edge); padding: 10px 14px; margin-top: 18px; }
.masthead .name { font: 600 19px/1.2 var(--font-display); margin: 0; }
.masthead .meta { font: 12px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin: 0; }
.masthead .meta a { color: var(--ink-2); }

header.intro { padding: 34px 0 26px; }
.kicker { font: 600 13px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--signal); margin: 0 0 10px; }
h1 { font: 600 clamp(32px, 5vw, 56px)/1.04 var(--font-display); letter-spacing: -.02em; margin: 0; max-width: 22ch; }
h2 { font: 600 clamp(24px, 3.2vw, 32px)/1.15 var(--font-display); letter-spacing: -.01em; margin: 0 0 12px; }
.lede { font-family: var(--font-head); font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 64ch; margin: 16px 0 0; }
.prose p { max-width: 68ch; }

.app { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); border: 1px solid var(--edge); background: var(--panel); }
@media (max-width: 860px) { .app { grid-template-columns: 1fr; } }
.inputs { padding: 18px 20px 22px; border-right: 1px solid var(--edge); }
@media (max-width: 860px) { .inputs { border-right: 0; border-bottom: 1px solid var(--edge); } }
.sec { font: 600 11.5px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2);
       margin: 0 0 6px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.field { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px dotted var(--rule); }
.field label { font-size: 14px; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; }
.field label .val { font: 600 15px var(--font-mono); }
.field .hint { font-size: 12.5px; color: var(--ink-2); }
select { font: 15px var(--font-body); color: var(--ink); background: var(--paper); border: 1px solid var(--edge); padding: 7px 8px; width: 100%; }
input[type=range] { width: 100%; accent-color: var(--signal); margin: 4px 0 0; }

.out { padding: 18px 20px 20px; min-width: 0; }
.verdict { padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.gauge { font: 600 clamp(52px, 7vw, 76px)/0.95 var(--font-mono); letter-spacing: -.04em; color: var(--signal); min-height: 1em; }
.gauge.greyed { color: var(--ink-2); }
.big-sub { font-size: 15px; color: var(--ink); margin: 8px 0 0; max-width: 60ch; }
.src { font-size: 14px; color: var(--ink-2); margin: 10px 0 0; max-width: 64ch; min-height: 3em; }
.grey-note { font-size: 14px; color: var(--ink-2); border: 1px solid var(--edge); padding: 8px 10px; margin: 10px 0 0; max-width: 64ch; }
.need { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); margin: 14px 0 0; }
.need div { padding: 10px 12px; border-right: 1px solid var(--rule); }
.need div:last-child { border-right: 0; }
.need dt { font: 600 11px/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.need dd { margin: 4px 0 0; font: 600 20px/1.2 var(--font-mono); }
@media (max-width: 480px) { .need dd { font-size: 15px; } .need div { padding: 8px; } }
#chart { margin-top: 14px; min-height: 200px; }
#chart svg { display: block; width: 100%; height: auto; }
#chart .gl { stroke: var(--rule); stroke-width: 1; }
#chart .ax { stroke: var(--edge); stroke-width: 1; }
#chart .tk { font: 12px var(--font-mono); fill: var(--ink-2); }
#chart .lab { font-family: var(--font-body); }
#chart .grey { fill: var(--rule); opacity: .55; }
#chart .ob { fill: var(--signal-2); opacity: .25; }
#chart .obm { stroke: var(--signal-2); stroke-width: 2; }
#chart .ml { stroke: var(--signal); stroke-width: 2.2; fill: none; }
#chart .cur { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
#chart .dot { fill: var(--signal); stroke: var(--paper); stroke-width: 1.5; }
.legend { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; }
.legend .k1, .legend .k2 { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--signal); vertical-align: middle; margin-right: 4px; }
.legend .k2 { border-top-color: var(--signal-2); }

.skeleton { background: var(--rule); color: transparent; border-radius: 0; }
.skeleton * { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .skeleton { animation: sk 1.6s ease-in-out infinite; }
  @keyframes sk { 0%,100% { opacity: 1 } 50% { opacity: 0.55 } }
}

section.block { padding: 40px 0 0; }
.facts { border: 1px solid var(--edge); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
.fact { padding: 16px 18px; border-bottom: 1px solid var(--rule); }
@media (min-width: 761px) { .fact:nth-child(odd) { border-right: 1px solid var(--rule); } }
.fact .n { font: 600 30px/1.1 var(--font-mono); letter-spacing: -.02em; }
.fact p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
figure { margin: 24px 0 0; }
figure svg { display: block; width: 100%; height: auto; }
figcaption { font-size: 13px; color: var(--ink-2); margin-top: 8px; max-width: 68ch; }
.scroll { overflow-x: auto; }
.scroll svg { min-width: 560px; }
footer { margin: 56px 0 0; border-top: 1px solid var(--rule); padding: 18px 0 40px; font-size: 14px; color: var(--ink-2); }
footer p { margin: 4px 0; max-width: 72ch; }
