@charset "UTF-8";

:root {
  color-scheme: dark;
  --canvas: #080f11;
  --surface: #101b1d;
  --surface-raised: #142326;
  --ink: #edf5f1;
  --muted: #a5b8b0;
  --quiet: #8ba39a;
  --accent: #79ebbf;
  --accent-dark: #092c22;
  --line: rgba(174, 222, 204, .12);
  --amber: #f1c589;
  --red: #ffb0b1;
  --blue: #9dcff8;
  --radius: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.55; isolation: isolate; }
body::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 780px; pointer-events: none; background: radial-gradient(ellipse at 64% 0, rgba(30, 86, 69, .13), transparent 60%); }
::selection { background: #2c6956; color: #fff; }
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .58; }
a, button, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
svg { display: block; flex: none; }
svg:not(.workflow-diagram) { stroke-linecap: round; stroke-linejoin: round; }
p, h1, h2, h3, h4, figure, dl, dd { margin: 0; }
code, kbd { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .85em; }
.numeric, output, code, .version-row, .section-index { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.shell { width: min(1240px, calc(100% - 88px)); margin-inline: auto; }
.ambient { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(75px); }
.ambient-one { top: 150px; right: 8%; width: 260px; height: 260px; background: rgba(48, 151, 117, .075); }
.ambient-two { top: 1120px; left: 0; width: 180px; height: 320px; background: rgba(36, 107, 108, .055); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; min-height: 44px; padding: 12px 20px; background: var(--accent); color: var(--accent-dark); font-weight: 700; border-radius: 10px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: linear-gradient(145deg, #18362d, #101f20); color: var(--accent); box-shadow: inset 0 1px 0 rgba(208, 255, 231, .1), 0 5px 15px rgba(0, 0, 0, .15); border: 1px solid rgba(121, 235, 191, .15); border-radius: 11px; }
.brand-mark svg { width: 28px; height: 28px; }
.brand-name { font-size: 24px; font-weight: 650; letter-spacing: -1.1px; }
.brand-divider { margin-inline: 9px; color: #52776a; font-weight: 400; }
.brand-lab { color: var(--muted); font-size: 21px; font-weight: 400; }
.header-nav { display: flex; align-items: center; gap: 22px; }
.nav-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; color: var(--muted); font-size: 13px; }
.nav-link:hover { color: var(--ink); }
.nav-link svg, .button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; max-width: 100%; padding: 11px 17px; border: 1px solid transparent; border-radius: 11px; font-size: 13px; font-weight: 650; line-height: 1.4; text-align: center; transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease, transform 180ms cubic-bezier(.22, 1, .36, 1); }
.button-primary { color: var(--accent-dark); background: var(--accent); border-color: rgba(203, 255, 232, .26); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 4px 18px rgba(47, 169, 126, .09); }
.button-studio { background: rgba(210, 243, 227, .06); border-color: rgba(210, 243, 227, .15); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025); }
.button-subtle { color: #bed0c8; background: rgba(205, 239, 224, .025); border-color: var(--line); }
.button[aria-busy="true"] { cursor: wait; }

.hero { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: clamp(28px, 4.8vw, 72px); padding-block: 68px 42px; }
.eyebrow, .overline, .section-index, .panel-step { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #a5c9b8; margin-bottom: 20px; }
.small-orbit { display: inline-block; flex: none; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(121, 235, 191, .07); }
h1 { font-size: clamp(34px, 3.7vw, 52px); font-weight: 550; line-height: 1.13; letter-spacing: -.05em; }
h1 span { color: #92b9a8; }
.hero-description { max-width: 500px; margin-top: 23px; color: var(--muted); font-size: 15px; line-height: 1.85; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.hero-note { font-size: 11px; color: var(--quiet); }
.glass { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, rgba(26, 43, 41, .73), rgba(15, 26, 28, .9)); box-shadow: inset 0 1px 0 rgba(222, 255, 239, .035), 0 2px 4px rgba(0, 0, 0, .06), 0 16px 40px -18px rgba(0, 0, 0, .42); }
.flow-panel { min-width: 0; padding: 22px 20px 0; background: linear-gradient(135deg, rgba(29, 55, 45, .72), rgba(15, 28, 29, .9)); backdrop-filter: blur(18px) saturate(125%); -webkit-backdrop-filter: blur(18px) saturate(125%); }
.flow-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.overline { color: #a4bdb0; font-size: 10px; }
.workflow-diagram { width: 100%; height: auto; margin-top: 13px; }
.flow-panel figcaption { margin-top: 4px; padding: 0 6px 20px; color: var(--quiet); font-size: 12px; line-height: 1.7; }
.flow-panel figcaption strong { color: #bfd4ca; font-weight: 450; }
.version-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-inline: -20px; padding: 13px 24px; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); background: rgba(0, 0, 0, .08); color: var(--quiet); font-size: 10px; }
.version-row b { margin-left: 5px; color: #ceded6; font-family: "SFMono-Regular", Consolas, monospace; font-weight: 500; overflow-wrap: anywhere; }
.version-source { margin-left: auto; font-size: 10px; }
.boundary-note { display: flex; align-items: flex-start; gap: 12px; padding: 16px 19px; border: 1px solid rgba(222, 182, 114, .14); border-radius: 13px; background: linear-gradient(105deg, rgba(183, 140, 67, .055), rgba(183, 140, 67, .015)); }
.boundary-note svg { width: 21px; height: 21px; stroke: #d9b582; stroke-width: 1.5; margin-top: 1px; }
.boundary-note p { color: #b5b7a8; font-size: 12px; line-height: 1.8; }
.boundary-note strong { color: #e0d4b7; font-weight: 600; }

.status-section { padding-top: 48px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-index { margin-bottom: 7px; color: var(--quiet); font-size: 10px; }
h2 { font-size: clamp(21px, 2.1vw, 26px); line-height: 1.3; font-weight: 550; letter-spacing: -.035em; text-wrap: balance; }
#refresh-status { flex: none; font-size: 12px; }
.status-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 18px; margin-block: 14px 18px; color: var(--quiet); font-size: 11px; }
.status-caption > span { text-align: right; flex-shrink: 0; }
.status-caption [data-tone="negative"] { color: var(--red); }
.status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.status-card { min-width: 0; display: flex; flex-direction: column; padding: 20px 19px 0; border-radius: 18px; background: linear-gradient(145deg, rgba(24, 40, 38, .68), rgba(14, 25, 27, .9)); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 18px; }
.icon-tile { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; color: #8fcdb5; background: rgba(96, 199, 156, .075); border: 1px solid rgba(153, 234, 199, .065); border-radius: 10px; }
.icon-tile svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.icon-amber { color: #d7b682; background: rgba(224, 180, 109, .07); border-color: rgba(224, 180, 109, .065); }
.badge { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 8px; border: 1px solid rgba(180, 204, 193, .12); border-radius: 7px; color: #adc2b8; background: rgba(174, 202, 185, .045); font-size: 9px; font-weight: 550; line-height: 1.25; overflow-wrap: anywhere; }
.badge::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 2px rgba(174, 202, 185, .045); }
.badge[data-tone="positive"] { color: #96e4ba; background: rgba(86, 211, 149, .075); border-color: rgba(122, 228, 170, .14); }
.badge[data-tone="warning"] { color: var(--amber); background: rgba(236, 177, 92, .07); border-color: rgba(236, 177, 92, .15); }
.badge[data-tone="negative"] { color: var(--red); background: rgba(250, 117, 120, .07); border-color: rgba(250, 117, 120, .19); }
.badge[data-tone="working"] { color: var(--blue); background: rgba(100, 171, 238, .07); border-color: rgba(100, 171, 238, .15); }
.status-card h3 { color: var(--muted); font-size: 11px; font-weight: 450; }
.card-value { margin-top: 6px; font-size: clamp(21px, 2vw, 28px); letter-spacing: -.045em; font-weight: 550; line-height: 1.25; overflow-wrap: anywhere; }
.card-description { flex: 1; margin-top: 10px; margin-bottom: 20px; min-height: 33px; color: var(--quiet); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.card-description code { font-size: 10px; color: #adc4b9; }
.card-bottom { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 8px; border-top: 1px solid var(--line); padding-block: 12px 13px; color: var(--quiet); font-size: 10px; }
.card-bottom > :last-child { color: #c3d5cb; overflow-wrap: anywhere; }
.status-footnotes { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-top: 15px; color: var(--quiet); font-size: 10px; }
.resource-counts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.resource-counts strong { color: #d4e3da; font-weight: 550; }
.resource-counts > span { color: #50675c; margin-inline: 4px; }
.last-run { min-width: 0; max-width: 70%; overflow-wrap: anywhere; text-align: right; }
.last-run > span { color: #b5cbbf; font-variant-numeric: tabular-nums; }

.experiment-section { margin-top: 53px; scroll-margin-top: 24px; }
.endpoint { display: inline-flex; align-items: center; flex: none; gap: 9px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: #c1d3c8; background: rgba(131, 192, 160, .025); font-size: 12px; }
.method { color: #8edcb6; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; font-weight: 650; }
.experiment-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: 20px; align-items: stretch; margin-top: 22px; }
.input-panel, .result-panel { min-width: 0; padding: 26px; }
.input-panel { background: linear-gradient(150deg, rgba(25, 44, 39, .7), rgba(15, 25, 28, .95)); }
.result-panel { position: relative; display: flex; flex-direction: column; background: linear-gradient(145deg, rgba(21, 36, 34, .7), rgba(13, 23, 26, .96)); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.panel-step { color: var(--quiet); font-size: 9px; }
.panel-heading h3 { margin-top: 6px; font-size: 17px; font-weight: 550; line-height: 1.4; letter-spacing: -.02em; }
#result-title { scroll-margin-top: 32px; border-radius: 3px; }
.panel-heading > .small-orbit { margin-right: 6px; width: 5px; height: 5px; background: #668b7a; }
.field-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.field-heading label { color: #cadbd0; font-size: 12px; font-weight: 500; }
.field-heading output { color: var(--quiet); font-size: 10px; }
.field-heading output[data-invalid="true"] { color: var(--red); }
textarea { display: block; width: 100%; min-width: 0; min-height: 205px; max-height: 560px; padding: 17px 16px; color: #d7e9dd; background: rgba(3, 12, 13, .44); border: 1px solid rgba(161, 207, 184, .17); border-radius: 12px; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .1); font-size: 13px; line-height: 1.85; resize: vertical; transition: border-color 180ms ease, background-color 180ms ease; }
textarea::placeholder { color: var(--quiet); }
textarea:focus { border-color: rgba(121, 235, 191, .65); }
textarea:focus-visible { outline-offset: 3px; }
textarea[aria-invalid="true"] { border-color: #e69094; }
textarea:disabled { color: #9fb6a8; cursor: wait; opacity: .7; }
.field-hint { margin-top: 10px; max-width: 430px; color: var(--quiet); font-size: 10px; line-height: 1.8; }
.field-error { margin-top: 9px; color: var(--red); font-size: 12px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.form-actions .button { min-height: 46px; }
.shortcut { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 14px; color: var(--quiet); font-size: 10px; }
kbd { min-width: 21px; padding: 1px 4px; border: 1px solid rgba(163, 199, 177, .15); border-radius: 4px; color: #a4b9ab; font-size: 9px; text-align: center; }
.data-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 22px; border-top: 1px solid var(--line); padding-top: 17px; color: var(--quiet); font-size: 10px; line-height: 1.75; }
.data-note svg { width: 16px; height: 16px; stroke: #adba9e; fill: none; stroke-width: 1.3; margin-top: 1px; }
.result-placeholder { display: flex; flex-direction: column; flex: 1; align-items: center; justify-content: center; padding: 25px 14px 39px; text-align: center; }
.result-glyph { display: grid; place-items: center; width: 100px; height: 100px; margin-bottom: 22px; background: radial-gradient(circle, rgba(108, 197, 156, .08), transparent 70%); border: 1px dashed rgba(139, 192, 165, .12); border-radius: 27px; transform: rotate(-5deg); }
.result-glyph svg { width: 62px; height: 62px; fill: none; stroke: #799d8c; stroke-width: 1.4; transform: rotate(5deg); }
.result-glyph svg circle { fill: #13221f; stroke: #84baa1; }
.result-placeholder h4 { font-weight: 450; font-size: 15px; color: #c8d9cf; letter-spacing: -.02em; }
.result-placeholder p { max-width: 310px; margin-top: 11px; color: var(--quiet); font-size: 12px; line-height: 1.9; }
.result-panel[aria-busy="true"] .result-glyph { border-color: rgba(157, 207, 248, .35); background: rgba(62, 119, 145, .06); }
.result-panel[aria-busy="true"] .result-glyph svg { stroke: var(--blue); }
.result-summary { color: #c7ded0; font-size: 13px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 19px; }
.metrics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.metric { min-width: 0; padding: 15px 17px; border: 1px solid rgba(143, 203, 172, .1); border-radius: 12px; background: linear-gradient(140deg, rgba(47, 91, 66, .14), rgba(31, 63, 48, .04)); box-shadow: inset 0 1px 0 rgba(201, 245, 215, .015); }
.metric dt { color: var(--muted); font-size: 10px; }
.metric dd { margin-top: 4px; color: #c4f1d7; font-size: clamp(25px, 2.6vw, 34px); font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.run-details { margin-top: 19px; }
.run-details > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 14px; padding-block: 9px; border-bottom: 1px solid rgba(174, 222, 204, .07); }
.run-details dt { color: var(--quiet); font-size: 11px; }
.run-details dd { min-width: 0; color: #d2e3d7; font-size: 12px; overflow-wrap: anywhere; }
.run-details .run-id-row { display: block; border-bottom: 0; padding-top: 14px; }
.run-id-row dd { margin-top: 7px; padding: 8px 10px; border: 1px solid rgba(143, 203, 172, .08); border-radius: 7px; background: rgba(0, 0, 0, .1); font-size: 12px; }
.result-provenance { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 3px; margin-top: 15px; color: var(--quiet); font-size: 10px; }
.result-provenance svg { width: 16px; height: 16px; margin-right: 3px; stroke: #84d5aa; fill: none; stroke-width: 1.5; }
.result-provenance code { font-size: inherit; }
.run-message { padding-top: 18px; margin-top: auto; color: var(--quiet); font-size: 10px; line-height: 1.7; }
.run-message[data-tone="positive"] { color: #a2d3b7; }
.run-message[data-tone="negative"] { color: var(--red); }
.error-box { padding: 16px; background: rgba(169, 61, 67, .09); border: 1px solid rgba(255, 139, 144, .22); border-radius: 12px; color: var(--red); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.error-box strong { font-weight: 600; }
.error-box p { margin-top: 8px; white-space: pre-wrap; }
.error-box .error-caution { color: #ccaaa9; font-size: 11px; }
.status-error { margin-bottom: 18px; }
#run-error { margin-top: 18px; }
.noscript-message { margin-top: 24px; }

.next-step { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 25px 27px; background: linear-gradient(105deg, rgba(22, 41, 32, .8), rgba(15, 25, 28, .72)); border-radius: 16px; }
.next-copy { display: flex; flex: 1 1 340px; gap: 15px; align-items: flex-start; }
.next-copy .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
.next-copy h2 { font-size: 15px; font-weight: 550; letter-spacing: -.02em; }
.next-copy p { max-width: 500px; margin-top: 7px; color: var(--quiet); font-size: 11px; line-height: 1.8; }
.next-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.next-actions .button { font-size: 11px; padding-inline: 13px; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-top: 45px; padding-block: 24px 28px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 10px; }
.footer-dot { display: inline-block; margin-inline: 9px; color: #527264; }

@media (hover: hover) {
  .button:hover:not(:disabled) { transform: translateY(-1px); }
  .button-primary:hover:not(:disabled) { background: #9af4d0; box-shadow: 0 5px 20px rgba(63, 191, 144, .17), inset 0 1px 0 rgba(255, 255, 255, .3); }
  .button-studio:hover, .button-subtle:hover:not(:disabled) { background: rgba(205, 239, 224, .09); border-color: rgba(174, 222, 204, .25); }
  textarea:hover:not(:disabled) { border-color: rgba(161, 207, 184, .35); }
}
.button:active:not(:disabled) { transform: translateY(0); }

@media (min-width: 1500px) {
  .hero { padding-top: 84px; padding-bottom: 52px; }
}
@media (max-width: 1100px) {
  .shell { width: calc(100% - 56px); }
  .hero { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 48px; }
  .hero-actions { gap: 12px; }
  .hero-note { flex-basis: 100%; }
  .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .card-description { min-height: 0; }
  .card-value { font-size: 28px; }
  .input-panel, .result-panel { padding: 23px; }
}
@media (max-width: 780px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 86px; gap: 12px; }
  .header-nav { gap: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 41px; padding-bottom: 28px; gap: 31px; }
  h1 { font-size: clamp(34px, 6.5vw, 48px); }
  .hero-description { max-width: 560px; font-size: 14px; margin-top: 19px; }
  .hero-actions { gap: 16px; margin-top: 23px; }
  .hero-note { flex-basis: auto; }
  .flow-panel { max-width: 580px; width: 100%; }
  .flow-panel figcaption br { display: none; }
  .status-section { padding-top: 34px; }
  .section-heading { gap: 14px; }
  h2 { font-size: 23px; }
  .status-caption { flex-wrap: wrap; }
  .status-caption > span { text-align: left; }
  .status-footnotes { align-items: flex-start; }
  .last-run { text-align: left; max-width: 100%; flex-basis: 100%; }
  .experiment-section { margin-top: 38px; }
  .experiment-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .result-panel { min-height: 400px; }
  .result-placeholder { min-height: 270px; }
  .metric dd { font-size: 34px; }
  .next-step { margin-top: 23px; padding: 22px; gap: 19px; }
  .site-footer { margin-top: 34px; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 84px; gap: 8px; }
  .brand { gap: 7px; }
  .brand-mark { width: 30px; height: 33px; border-radius: 9px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .brand-name { font-size: 21px; }
  .brand-divider { margin-inline: 5px; }
  .brand-lab { font-size: 18px; }
  .header-nav { gap: 0; }
  .api-link { display: none; }
  .header-nav .button { padding-inline: 10px; gap: 5px; font-size: 10px; min-height: 44px; }
  .header-nav .button svg { width: 15px; height: 15px; }
  .hero { padding-top: 32px; }
  .eyebrow { margin-bottom: 16px; font-size: 10px; }
  h1 { font-size: clamp(29px, 8.6vw, 40px); }
  .hero-actions { gap: 13px; }
  .hero-actions .button { padding-inline: 14px; font-size: 12px; }
  .hero-note { font-size: 10px; }
  .flow-panel { padding: 18px 13px 0; border-radius: 18px; }
  .flow-heading { padding-inline: 4px; }
  .overline { font-size: 9px; }
  .workflow-diagram { margin-top: 8px; }
  .flow-panel figcaption { font-size: 11px; padding-bottom: 17px; }
  .version-row { margin-inline: -13px; padding: 12px 18px; gap: 6px 13px; border-radius: 0 0 18px 18px; }
  .version-source { margin-left: 0; }
  .boundary-note { padding: 14px; gap: 10px; }
  .boundary-note p { font-size: 11px; }
  .boundary-note svg { width: 19px; height: 19px; }
  h2 { font-size: 21px; }
  .section-heading { align-items: flex-start; }
  #refresh-status { padding: 10px; gap: 5px; margin-top: 20px; font-size: 10px; }
  #refresh-status svg { width: 15px; height: 15px; }
  .status-caption { font-size: 10px; }
  .status-grid { gap: 10px; }
  .status-card { padding: 15px 13px 0; border-radius: 15px; }
  .card-top { flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
  .card-top .badge { min-height: 21px; font-size: 8px; padding-inline: 5px; }
  .icon-tile { width: 32px; height: 32px; border-radius: 9px; }
  .icon-tile svg { width: 18px; height: 18px; }
  .status-card h3 { font-size: 10px; }
  .card-value { font-size: 23px; }
  .card-description { margin-bottom: 15px; font-size: 10px; }
  .card-description code { font-size: 8px; }
  .card-bottom { font-size: 9px; gap: 4px 6px; }
  .experiment-section > .section-heading { align-items: flex-end; gap: 10px; }
  .experiment-section h2 { max-width: 210px; }
  .endpoint { gap: 5px; padding: 6px 7px; font-size: 10px; }
  .method { font-size: 8px; }
  .input-panel, .result-panel { padding: 20px; border-radius: 18px; }
  .panel-heading { gap: 8px; margin-bottom: 21px; }
  .panel-heading h3 { font-size: 16px; }
  .panel-heading .badge { font-size: 8px; }
  textarea { font-size: 16px; padding: 14px; min-height: 235px; line-height: 1.7; }
  .field-heading { gap: 6px; }
  .field-heading label { font-size: 11px; }
  .form-actions { gap: 8px; }
  .form-actions .button { padding-inline: 12px; font-size: 11px; }
  .metrics-grid { gap: 8px; }
  .metric { padding: 13px; }
  .metric dd { font-size: 30px; }
  .run-details dt { font-size: 10px; }
  .next-copy { gap: 12px; }
  .next-copy .icon-tile { width: 36px; height: 36px; }
  .next-copy h2 { font-size: 14px; }
  .next-copy p { font-size: 10px; }
  .next-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: 8px; }
  .next-actions .button { min-height: 44px; }
  .site-footer { font-size: 9px; padding-top: 20px; }
}
@media (max-width: 350px) {
  .site-header { flex-wrap: wrap; justify-content: center; padding-block: 14px; }
  .header-nav { width: 100%; justify-content: center; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .status-grid { grid-template-columns: minmax(0, 1fr); }
  .card-top { flex-wrap: nowrap; }
  .experiment-section > .section-heading { flex-wrap: wrap; }
  .experiment-section h2 { max-width: none; }
  .form-actions .button { width: 100%; }
  .panel-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .flow-panel, .next-step { background: #122021; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ambient { display: none; }
}
@media (forced-colors: active) {
  .glass, .badge, .button, .metric, textarea { border: 1px solid CanvasText; }
  .ambient { display: none; }
  .button-primary { color: ButtonText; background: ButtonFace; }
  :focus-visible { outline-color: Highlight; }
}
