@font-face {
  font-family: 'Geist'; src: url('./fonts/geist-latin-wght-normal.woff2') format('woff2');
  font-style: normal; font-weight: 100 900; font-display: swap;
}
:root {
  font-family: 'Geist', Arial, sans-serif; color: #171717; background: #fff; color-scheme: light;
  --ink: #171717; --secondary: #525252; --muted: #737373; --line: #e8e8e8; --surface: #f5f5f5;
  --accent: #c95645; --small: #527baf; --medium: #a88735; --large: #8c75b4;
  --ease: cubic-bezier(.22,1,.36,1);
}
* {box-sizing: border-box}
body {margin: 0; font-size: 14px; line-height: 1.5}
button, input, textarea, select, kbd {font: inherit}
button, summary {cursor: pointer}
button, a, input, summary {touch-action: manipulation}
button {color: inherit}
button:disabled {opacity: .45; cursor: default}
[hidden] {display: none !important}
a {color: inherit; text-decoration: none}
.link-label {background-image:linear-gradient(currentColor,currentColor),linear-gradient(#b8b8b8,#b8b8b8); background-repeat:no-repeat; background-position:left bottom; background-size:0 1px,100% 1px; transition:background-size .22s var(--ease); box-decoration-break:clone; -webkit-box-decoration-break:clone}
a:is(:hover, :focus-visible) .link-label {background-size:100% 1px,100% 1px}
.brand .link-label {background:none}
button, a, select {transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease)}
button:active:not(:disabled) {transform: scale(.98)}
:focus-visible {outline: 2px solid var(--ink); outline-offset: 4px}
.icon {width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0}
.shell {max-width: 1088px; margin: 0 auto; padding: 0 48px}
.nav {height: 88px; display: flex; align-items: center; justify-content: space-between; font-size: 13px}
.brand {display: flex; gap: 10px; align-items: center; font-size: 18px; font-weight: 600; letter-spacing: -.4px}
.brand:hover {text-decoration: none}
.nav-links {display: flex; align-items: center; gap: 24px}
.repo-link {display:flex; align-items:center; gap:6px; color:var(--ink); padding:8px 0 8px 12px; font-weight:500}
.repo-link .icon {width: 16px; height: 16px}
.repo-link:hover {color: var(--ink); text-decoration: none}
main {animation: workspace-in .4s var(--ease) both}
.page-heading {margin: 40px 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px}
h1 {font-size: 32px; line-height: 1.2; font-weight: 500; letter-spacing: -.8px; margin: 0}
.model-description {margin: -8px 0 24px; color: var(--secondary); font-size: 14px; line-height: 1.7}
.benchmark-views {display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0}
.benchmark-views button {background: transparent; border: 1px solid transparent; border-radius: 8px; color: var(--secondary); padding: 10px 14px; font-size: 13px}
.benchmark-views button[aria-pressed=true] {border-color: #dedede; background: #fafafa; color: var(--ink)}
.benchmark-views button:hover {background: #f5f5f5}
.confidence-bar {fill: none; stroke: var(--small); stroke-width: 1.5}
.confidence-bar.own {stroke: var(--accent)}
.text-tools {display: flex; align-items: center; gap: 8px}
.text-button, .icon-button, .settings-button {border: 1px solid transparent; background: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; min-height: 36px; border-radius: 8px; font-size: 13px; color: var(--secondary)}
.text-button:hover:not(:disabled), .icon-button:hover:not(:disabled), .settings-button:hover {color: var(--ink); background: var(--surface)}
.icon-button {width: 36px; padding: 8px}
.editor {background: #fff; border: 1px solid #dedede; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 20px #00000004, 0 1px 2px #00000003; transition: border-color .16s var(--ease), box-shadow .16s var(--ease)}
.editor:has(#text:focus-visible) {border-color: #a3a3a3; box-shadow: 0 0 0 3px #17171708, 0 4px 20px #00000004}
textarea {display: block; width: 100%; resize: vertical; color: inherit; background: transparent; border: 0}
textarea::placeholder {color: var(--muted)}
#text {font-size: 20px; line-height: 1.8; padding: 28px 32px 20px; min-height: 228px; outline: none; box-shadow: none; resize: none; field-sizing: content; max-height: 520px; overflow-y: auto}
.editor-bottom {display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-top: 1px solid #f0f0f0}
.settings-button {background: #fafafa; border-color: var(--line)}
.settings-button .chevron {width: 14px; height: 14px; margin-left: 4px}
.chevron {transition: transform .2s var(--ease)}
.settings-button[aria-expanded=true] {background: #ededed; color: var(--ink)}
.settings-button[aria-expanded=true] .chevron, summary[aria-expanded=true] .chevron {transform: rotate(180deg)}
.actions {display: flex; gap: 8px; margin-left: auto}
.primary, .secondary {min-height: 40px; border-radius: 10px; padding: 10px 16px; border: 1px solid #dedede; font-size: 13px; font-weight: 500; line-height: 20px}
.primary {display: flex; align-items: center; justify-content: center; gap: 10px; border-color: #171717; background: #171717; color: #fff; box-shadow: 0 1px 2px #00000014}
.primary:hover:not(:disabled) {background: #333; border-color: #333}
.secondary {background: #fff}
.secondary:hover:not(:disabled) {background: var(--surface)}
.shortcut {border: 1px solid #ffffff30; border-radius: 4px; color: #ffffffb3; padding: 0 4px; height: 20px; display: grid; place-items: center; font-size: 11px; margin-left: 4px}
.activity-bars {display: flex; gap: 2px; align-items: center; height: 18px; width: 18px; flex-shrink: 0}
.activity-bars i {display: block; width: 2px; height: 6px; border-radius: 2px; background: currentColor; transform-origin: center}
.activity-bars i:nth-child(2), .activity-bars i:nth-child(4) {height: 12px}
.activity-bars i:nth-child(3) {height: 18px}
.primary[aria-busy=true] .activity-bars i {animation: working .7s ease-in-out infinite alternate}
.primary[aria-busy=true] .activity-bars i:nth-child(2) {animation-delay: -.3s}
.primary[aria-busy=true] .activity-bars i:nth-child(3) {animation-delay: -.5s}
.primary[aria-busy=true] .activity-bars i:nth-child(4) {animation-delay: -.1s}
.primary[aria-busy=true] .activity-bars i:nth-child(5) {animation-delay: -.4s}
.primary[aria-busy=true] {opacity: .85}
#advanced {padding: 28px 32px; background: #fafafa; border-top: 1px solid var(--line); scroll-margin-top: 20px}
.advanced-grid {display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px}
fieldset {border: 0; min-width: 0; padding: 0; margin: 0}
.preset-row {display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px}
.preset-row label {display: flex; align-items: center; gap: 12px; font-weight: 500}
.preset-row .text-button {font-size: 12px; padding: 4px 8px}
select {border: 1px solid #dedede; border-radius: 8px; padding: 8px 24px 8px 12px; background: #fff; color: var(--secondary); max-width: 100%; font-weight: 400}
.sliders {display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 24px}
.sliders label {font-size: 13px; color: var(--secondary)}
.sliders output {float: right; color: var(--muted); font-variant-numeric: tabular-nums}
.sliders input {display: block; width: 100%; margin: 8px 0 0; accent-color: var(--ink); height: 16px; cursor: pointer}
.check {display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--secondary)}
.check input {width: 16px; height: 16px; margin: 0; accent-color: var(--ink); flex-shrink: 0; cursor: pointer}
.pronunciation-settings {min-width: 0}
.pronunciation-settings>label:not(.check) {display: block; font-size: 13px; font-weight: 500; margin-bottom: 12px}
#pronunciations {border: 1px solid #dedede; border-radius: 8px; padding: 12px; min-height: 120px; background: #fff; font-size: 13px; line-height: 1.6}
#pronunciation-help {font-size: 12px; color: var(--muted); margin: 12px 0 20px; max-width: 52ch}
.stream-setting {margin-top: 24px}
.punctuation-setting {margin-top: 16px}
.setting-hint {font-size: 12px; color: var(--muted); margin: 8px 0 0 24px}
#status {font-size: 12px; color: var(--muted); margin: 12px 4px}
#status:empty {display: none}
#status[data-error=true] {color: var(--ink)}
#retry {margin-bottom: 12px}
.result {margin-top: 24px; padding: 4px 4px 0}
.result-heading {display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums}
.result-heading a {white-space: nowrap; color: var(--secondary); display: inline-flex; align-items: center; gap: 8px; padding: 8px 0 8px 12px}
.result-heading a:hover {color: var(--ink); text-decoration: none}
.result-heading .icon {width: 16px; height: 16px}
.player {display: flex; align-items: center; gap: 24px; margin: 16px 0}
.play {border: 0; border-radius: 50%; width: 44px; height: 44px; flex-shrink: 0; background: var(--ink); color: #fff; display: grid; place-items: center}
.play:hover {background: #333}
#play-symbol {width: 20px; height: 20px; position: relative}
#play-symbol svg {position: absolute; inset: 0; width: 20px; height: 20px; transition: opacity .16s var(--ease), transform .16s var(--ease)}
.play-icon {fill: currentColor; transform: translateX(-1px)}
.pause-icon {stroke: currentColor; stroke-width: 3; stroke-linecap: round; opacity: 0; transform: scale(.8)}
.play[data-playing=true] .play-icon {opacity: 0; transform: scale(.8)}
.play[data-playing=true] .pause-icon {opacity: 1; transform: scale(1)}
.wave-area {position: relative; flex: 1; min-width: 0; height: 56px}
canvas {width: 100%; height: 56px; display: block}
#seek {position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer}
.wave-area:focus-within {outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px}
#time {font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap}
summary {list-style: none}
summary::-webkit-details-marker {display: none}
#spoken {font-size: 12px; color: var(--muted)}
#spoken summary {width: fit-content; display: flex; align-items: center; gap: 4px; padding: 4px 0}
#spoken summary .icon {width: 14px; height: 14px}
#spoken p {max-width: 80ch; line-height: 1.8; margin: 12px 0 0}
details {overflow-anchor: none}
.bench {margin: 56px 0 40px; padding-top: 16px}
.section-heading {display: flex; align-items: center; justify-content: space-between; gap: 24px}
.section-heading h2 {font-size: 24px; line-height: 1.3; letter-spacing: -.5px; font-weight: 500; margin: 0}
.chart-range {display: grid; grid-template-columns: 1fr 1fr; position: relative; padding: 4px; background: #f2f2f2; border: 1px solid #ebebeb; border-radius: 10px; flex-shrink: 0; isolation: isolate}
.range-indicator {position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc(50% - 4px); background: #fff; border-radius: 6px; box-shadow: 0 1px 3px #00000014; transition: transform .3s var(--ease); z-index: -1}
.chart-range[data-active=small] .range-indicator {transform: translateX(100%)}
.chart-range button {background: transparent; border: 0; border-radius: 6px; min-height: 32px; padding: 6px 12px; font-size: 12px; color: var(--muted)}
.chart-range button[aria-pressed=true], .chart-range button:hover {color: var(--ink)}
.chart-head {display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); margin: 24px 0 28px}
.legend {display: flex; align-items: center; gap: 24px; flex-wrap: wrap}
.legend span {display: flex; align-items: center; gap: 8px; white-space: nowrap}
.legend i {width: 8px; height: 8px; border-radius: 50%; display: inline-block}
.legend i.own {background: var(--accent)}
.legend i.small {background: var(--small)}
.legend i.medium {background: var(--medium)}
.legend i.large {background: var(--large)}
#model-count {white-space: nowrap; font-variant-numeric: tabular-nums}
.chart-metric {font-size: 12px; color: var(--muted)}
.chart {height: 344px; position: relative}
#chart-grid {width: 100%; height: 100%; display: block; overflow: visible}
.axis-text {font-family: inherit; font-size: 12px; fill: #737373; font-variant-numeric: tabular-nums}
.grid-line {stroke: #ededed; stroke-width: 1}
.frontier {stroke: #c6c6c6; stroke-width: 1.25; fill: none; stroke-linejoin: round}
.own-guide {stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 4; opacity: .25}
.chart-point {position: absolute; width: 24px; height: 24px; border: 0; background: transparent; transform: translate(-50%,-50%); padding: 0; z-index: 1; --point: var(--large); border-radius: 50%}
.chart-point:active:not(:disabled) {transform: translate(-50%,-50%)}
.chart-point::after {content: ''; position: absolute; inset: 7px; background: var(--point); border: 1.5px solid #fff; border-radius: 50%; transition: transform .16s var(--ease), opacity .16s var(--ease); opacity: .7}
.chart-point.small {--point: var(--small)}
.chart-point.medium {--point: var(--medium)}
.chart-point.large {--point: var(--large)}
.chart-point:hover, .chart-point:focus-visible {z-index: 8}
.chart-point:hover::after, .chart-point:focus-visible::after {opacity: 1; transform: scale(1.4)}
.chart-point.selected::after {opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb,var(--point) 15%,transparent); transform: scale(1.2)}
.chart-point.own {--point: var(--accent); z-index: 5}
.chart-point.own::after {inset: 3px; opacity: 1; box-shadow: 0 0 0 3px #c956451a; border: 2px solid #fff}
#chart-labels {position: absolute; inset: 0; pointer-events: none}
.own-callout {position: absolute; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid #e8e8e8; background: #fff; border-radius: 8px; font-size: 12px; line-height: 1.3; box-shadow: 0 2px 8px #00000005; z-index: 3}
.own-callout strong {font-size: 12px; font-weight: 500; color: var(--accent)}
.own-callout span {color: var(--muted); font-size: 11px; white-space: nowrap}
.callout-connector {stroke:#bcbcbc; stroke-width:1; fill:none}
.own-callout.is-docked {position:static; width:max-content; max-width:100%; margin:0 auto 16px; text-align:left}
.peer-label {position: absolute; font-size: 11px; white-space: nowrap; color: var(--secondary); background: #ffffffde; padding: 0 4px}
#chart-tooltip {position: absolute; z-index: 10; pointer-events: none; width: max-content; max-width: min(260px,100%); padding: 12px 16px; border: 1px solid #e4e4e4; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px #0000000d,0 2px 4px #00000005; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.4; animation: tooltip-in .16s var(--ease) both}
#chart-tooltip strong {font-weight: 500; max-width: 220px}
#chart-tooltip span {color: var(--secondary); font-size: 12px}
#chart-tooltip small {color: var(--muted); font-size: 11px}
.chart-axis {text-align: center; font-size: 12px; color: var(--secondary); margin: 8px 0 28px}
.chart-axis span {color: var(--muted)}
.method, .results-table {font-size: 13px; margin-top: 8px}
.method summary, .results-table summary {display: flex; justify-content: space-between; align-items: center; padding: 16px; color: var(--secondary); width: 100%; background: #f7f7f7; border-radius: 10px; transition: background-color .16s var(--ease)}
.method summary:hover, .results-table summary:hover {color: var(--ink); background: #efefef}
.method summary .icon, .results-table summary .icon {width: 20px; height: 20px}
.method .disclosure-content, .results-table .disclosure-content {padding: 8px 16px 16px}
#results-total {color: var(--muted); margin-left: 8px; font-size: 12px; font-variant-numeric: tabular-nums}
.method p {color: var(--muted); line-height: 1.8; max-width: 85ch}
.data-link {font-size: 12px; display: inline-block; margin: 4px 0 8px}
.table-toolbar {display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 12px 0}
#model-search {min-width: 0; width: 280px; max-width: 65%; padding: 10px 12px; border: 1px solid #dedede; border-radius: 8px; background: #fff; font-size: 13px}
#table-count {color: var(--muted); font-size: 12px; white-space: nowrap}
.table-scroll {overflow: auto; scrollbar-gutter: stable; max-height: 520px; border: 1px solid var(--line); border-radius: 10px}
table {width: 100%; min-width: 820px; table-layout: fixed; border-collapse: collapse; margin-top: 16px; font-size: 12px}
.model-column {width:29%} .size-column {width:13%} .score-column {width:11%} .wer-column {width:11%} .runtime-column {width:15%} .source-column {width:21%}
.source-heading {padding:14px 12px; color:var(--ink)}
.source-link {display:inline-flex; align-items:center; gap:7px; color:var(--ink); font-weight:500; white-space:nowrap; min-height:28px}
.source-logo {width:16px; height:16px; flex:none; object-fit:contain}
.source-link .external-arrow {width:14px; height:14px; flex:none; margin-left:1px; color:#525252}
.source-link:hover .external-arrow {color:#171717}
.benchmark-sources {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 24px; max-width:440px; margin:20px 0 12px}
.benchmark-sources .source-link {justify-self:start; padding:3px 0}
.data-link,.architecture-footnote a,footer a,.references a,.credits-content a {color:var(--ink); font-weight:500}
.score-interval {display: block; margin-top: 4px; font-size: 10px; color: var(--muted); white-space: nowrap}
th, td {text-align: left; padding: 12px; border-bottom: 1px solid var(--line); white-space: nowrap}
th {font-weight: 500; color: var(--muted); position: sticky; top: 0; background: #fafafa; z-index: 1; padding: 0}
th button {display: flex; width: 100%; gap: 12px; align-items: center; justify-content: space-between; background: transparent; border: 0; padding: 14px 12px; font-size: 12px; white-space: nowrap}
th button:hover {color: var(--ink); background: #eee}
th button, th button:active:not(:disabled) {transform: none; transition: color .16s var(--ease), background-color .16s var(--ease)}
th button span {display: inline-block; min-width: 1em; text-align: center}
td:first-child {white-space: normal; overflow-wrap: anywhere}
th[aria-sort] {color: var(--ink)}
th button:focus-visible {outline-offset: -3px}
.table-scroll table {margin-top: 0}
td:nth-child(2), td:nth-child(3), td:nth-child(4) {text-align:right; font-variant-numeric:tabular-nums}
.empty-results {padding: 32px; text-align: center; color: var(--muted)}
th:first-child {padding-left: 0}
td:first-child {padding-left: 12px}
td:nth-child(2), td:nth-child(3) {font-variant-numeric: tabular-nums}
tr.active-row {background: #fafafa}
footer {display: flex; justify-content: space-between; gap: 16px; padding: 24px 0 32px; font-size: 12px; color: var(--muted)}
footer>div {display: flex; gap: 24px}
.credits-page .shell {display: flex; flex-direction: column; min-height: 100svh}
.credits-content {width: 100%; max-width: 760px; padding: 40px 0 80px; flex: 1}
.credits-content h1 {margin-bottom: 24px}
.credits-content h2 {font-size: 20px; font-weight: 500; letter-spacing: -.3px; margin: 48px 0 24px}
.credits-content p {color: var(--secondary); line-height: 1.8; max-width: 72ch}
.credits-intro {font-size: 16px}
.references {list-style: none; padding: 0; margin: 0}
.references li {margin: 0 0 28px}
.references li>a {font-size: 15px; font-weight: 500; line-height: 1.7}
.references p {font-size: 13px; margin: 4px 0 0}
.credits-content section>p a {color: var(--ink)}
.sr-only {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0}
.skip {position: absolute; left: 16px; top: 0; transform: translateY(-120%); background: var(--ink); color: #fff; padding: 8px 16px; z-index: 20}
.skip:focus {transform: none}
.arrive {animation: disclose .3s var(--ease) both}
@keyframes workspace-in {from {opacity: 0; transform: translateY(8px)} to {opacity: 1; transform: none}}
@keyframes disclose {from {opacity: 0; transform: translateY(-4px)} to {opacity: 1; transform: none}}
@keyframes tooltip-in {from {opacity: 0; transform: translateY(4px)} to {opacity: 1; transform: none}}
@keyframes working {from {transform: scaleY(.35)} to {transform: scaleY(1)}}
@media(max-width:720px) {
  .shell {padding: 0 24px} .nav {height: 72px} .brand {font-size: 17px}
  .page-heading {margin: 24px 0 20px; flex-wrap: wrap} h1 {font-size: 28px}
  .text-tools {gap: 0} .text-tools .text-button {padding: 8px; font-size: 12px}
  .text-tools .text-button .icon {display: none}
  .editor {border-radius: 16px}
  #text {padding: 24px; font-size: 18px; min-height: 240px; line-height: 1.7}
  .editor-bottom {padding: 12px; gap: 12px; flex-wrap: wrap}
  .settings-button {padding: 8px 10px; min-height: 40px}
  .settings-button .chevron {display: none}
  .shortcut {display: none} .primary {padding: 10px 12px}
  .actions {gap: 4px}
  #advanced {padding: 24px} .advanced-grid {grid-template-columns: 1fr; gap: 28px}
  .pronunciation-settings {border-top: 1px solid var(--line); padding-top: 24px}
  .sliders {grid-template-columns: 1fr; gap: 16px}
  .result {padding: 0} .result-heading {font-size: 11px; align-items: flex-start} .result-heading>span {padding-top: 8px; max-width: 180px}
  .player {gap: 12px} .play {width: 40px; height: 40px} #time {font-size: 11px}
  .bench {margin: 40px 0 24px; padding-top: 28px}
  .section-heading {align-items: flex-start; flex-direction: column; gap: 20px} .section-heading h2 {font-size: 23px}
  .chart-head {align-items: flex-start; margin: 24px 0; flex-direction: column; gap: 16px}
  .legend {gap: 12px 20px; font-size: 11px; width: 100%}
  #model-count {font-size: 11px}
  .chart {height: 320px} .chart-axis {margin-bottom: 24px}
  .axis-text {font-size: 11px}
  footer {font-size: 11px; padding: 20px 0 28px} footer>div {gap: 16px}
  .credits-content {padding: 24px 0 48px}
}
@media(max-width:420px) {
  .nav {height: auto; min-height: 72px; flex-wrap: wrap; gap: 4px 16px; padding: 16px 0}
  .nav-links {gap: 16px; margin-left: auto}
  .repo-link {padding-left: 0; font-size: 12px}
  .shell {padding: 0 20px} .page-heading {gap: 8px} h1 {font-size: 26px}
  #text {padding: 20px; min-height: 260px; font-size: 17px}
  .editor-bottom {display: grid; grid-template-columns: 1fr auto; gap: 12px}
  .settings-button {justify-self: start}
  .actions {grid-column: 1 / -1; width: 100%} .primary {flex: 1; min-height: 44px}
  .text-tools .text-button {font-size: 11px; padding: 8px 0 8px 4px}
  .legend {gap: 12px 16px}
  .chart {height: 304px} .chart-metric {font-size: 11px}
  footer>span {display: none} footer>div {width: 100%; justify-content: space-between}
}
@media(max-width:360px) {
  .text-tools .text-button span {display: none}
  .text-tools .text-button .icon {display: block}
  .text-tools .text-button {width: 36px; padding: 8px}
}
/* Editor tools share one quiet toolbar; generating stays on the right. */
.editor-tools {display:flex; align-items:center; gap:12px; min-width:0}
.editor-tools .text-tools {gap:2px; padding-left:6px; border-left:1px solid var(--line)}
.editor-tools .text-button {padding-inline:8px}
.metric-toolbar {display:flex; justify-content:space-between; align-items:center; gap:20px; margin-top:28px}
.metric-tabs {display:flex; gap:8px; flex-wrap:wrap}
.metric-tabs button {border:1px solid transparent; border-radius:8px; background:transparent; color:var(--muted); padding:10px 12px; font-size:13px; display:flex; gap:12px; align-items:baseline}
.metric-tabs button span {font-size:11px; color:var(--muted)}
.metric-tabs button[aria-pressed=true] {border-color:var(--line); background:#fafafa; color:var(--ink)}
.metric-tabs button:hover {color:var(--ink); background:#fafafa}
.spread-toggle {display:flex; gap:8px; align-items:center; color:var(--muted); font-size:12px; white-space:nowrap; cursor:pointer}
.spread-toggle input {width:14px; height:14px; margin:0; accent-color:var(--ink)}
.metric-note {font-size:12px; color:var(--muted); line-height:1.7; margin:14px 0 0; min-height:21px}
.prompt-range {fill:none; stroke:var(--large); stroke-width:1; opacity:.22}
.prompt-range.small {stroke:var(--small)} .prompt-range.medium {stroke:var(--medium)} .prompt-range.own {stroke:var(--accent); opacity:.7; stroke-width:1.5}
.architecture {margin:72px 0 32px}
.architecture-intro {font-size:13px; color:var(--muted); margin:12px 0 24px}
.pan-hint {display:none; color:var(--muted); font-size:11px; margin:0 0 16px}
.architecture-scroll {overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:#d4d4d4 transparent; border:1px solid var(--line); border-radius:12px; padding:20px 0 16px; scroll-margin-top:16px}
#architecture-diagram {min-width:860px}
#architecture-diagram svg {display:block; width:100%; height:auto; font-family:inherit}
.arch-column-title {font-size:18px; font-weight:500; fill:var(--ink); letter-spacing:-.3px}
.arch-column-sub,.arch-caption {font-size:12px; fill:var(--muted)}
.arch-output {font-size:17px; fill:var(--ink)}
.arch-edge-label {font-size:11px; fill:var(--muted)}
.arch-repeat {font-size:16px; fill:var(--secondary)}
.arch-wire {fill:none; stroke:#555; stroke-width:1.25; stroke-linecap:round; stroke-linejoin:round; pointer-events:none}
.arch-junction {fill:#555; pointer-events:none}
.arch-box,.arch-operation {fill:#c3e7ef; stroke:#707070; stroke-width:1.15; transition:stroke .18s var(--ease)}
[data-tone=pink] {fill:#f8dfe3}
[data-tone=orange] {fill:#ffe4bc}
[data-tone=yellow] {fill:#f0f1ba}
[data-tone=green] {fill:#d2e7ce}
[data-tone=purple] {fill:#dbdcef}
[data-tone=blue] {fill:#c3e7ef}
.arch-container {fill:#fafafa; stroke:#bcbcbc; stroke-width:1.2; transition:fill .18s var(--ease),stroke .18s var(--ease)}
.arch-node {cursor:pointer; outline:none}
.arch-node-title {fill:#202020; font-size:14px; pointer-events:none}
.arch-node-sub {fill:#454545; font-size:11px; pointer-events:none}
.arch-node:is(:hover,:focus-visible)>rect {stroke:#171717; stroke-width:1.8}
.arch-node[aria-pressed=true]>.arch-box {stroke:#171717; stroke-width:2}
.arch-node[aria-pressed=true]>.arch-container {stroke:#171717; stroke-width:2; fill:#f5f5f5}
.architecture-detail {display:grid; grid-template-columns:260px 1fr; gap:32px; padding:24px 4px; min-height:128px}
#architecture-step {font-size:11px; color:var(--muted)}
.architecture-detail h3 {font-size:16px; font-weight:500; margin:6px 0}
#architecture-shape {font-size:12px; color:var(--muted); margin:0; font-variant-numeric:tabular-nums}
#architecture-explanation {font-size:13px; color:var(--secondary); line-height:1.8; margin:0; max-width:76ch}
.model-details {margin:40px 0 56px}
.model-details-body {display:grid; grid-template-columns:260px minmax(0,1fr); gap:32px; margin-top:28px}
.model-details-copy p {font-size:13px; line-height:1.8; color:var(--secondary); margin:0 0 16px; max-width:35ch}
.model-details-copy a {font-size:12px; color:var(--ink); font-weight:500}
.model-specs {margin:0; font-size:13px}
.model-specs>div {display:grid; grid-template-columns:112px 1fr; gap:16px; padding:14px 0; border-bottom:1px solid var(--line)}
.model-specs>div:first-child {padding-top:0}
.model-specs>div:last-child {border-bottom:0; padding-bottom:0}
.model-specs dt {color:var(--secondary)}
.model-specs dd {display:grid; grid-template-columns:104px minmax(0,1fr); gap:12px; margin:0; font-variant-numeric:tabular-nums; color:var(--ink)}
.model-specs small {font-size:12px; color:var(--muted)}
@media(max-width:900px) {
  .editor-bottom {flex-wrap:wrap; gap:12px}
  .editor-tools {gap:8px}
  .editor-tools .text-button {font-size:12px}
  .metric-toolbar {flex-wrap:wrap; gap:16px}
  .pan-hint {display:block}
}
@media(max-width:720px) {
  .editor-tools {width:100%; justify-content:flex-start}
  .editor-tools .text-tools {padding-left:8px}
  .editor-tools .text-tools .text-button .icon {display:block}
  .editor-tools .text-tools .text-button span {display:block}
  .actions {width:100%; margin:0}
  .actions .primary {flex:1}
  .architecture {margin-top:48px}
  .architecture .section-heading {flex-direction:row; align-items:baseline; gap:12px}
  .architecture .section-heading h2,.model-details .section-heading h2 {font-size:22px}
  .architecture-detail {grid-template-columns:1fr; gap:14px; min-height:238px; padding:20px 0}
  .model-details {margin:32px 0 40px}
  .model-details-body {grid-template-columns:1fr; gap:28px; margin-top:20px}
  .model-details-copy p {max-width:48ch}
  .model-specs>div {grid-template-columns:104px 1fr; gap:12px}
  .model-specs dd {grid-template-columns:1fr; gap:4px}
  .metric-tabs {gap:4px}
  .metric-tabs button {font-size:12px; gap:8px; padding:8px}
  .metric-note {min-height:41px}
}
@media(max-width:420px) {
  .editor-bottom {display:flex}
  .editor-tools .text-tools .text-button {font-size:11px; padding:8px 4px; width:auto}
  .editor-tools .text-tools .text-button .icon {width:16px}
  .editor-tools .settings-button {padding:8px; font-size:12px}
  .editor-tools {gap:6px}
}
@media(max-width:360px) {
  .editor-tools .text-tools .text-button .icon {display:none}
  .editor-tools .text-tools {padding-left:4px}
  .editor-tools .icon-button {width:30px; padding:6px}
  .architecture .section-heading {flex-direction:column; gap:8px}
  .benchmark-sources {grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce) {*, *::before, *::after {animation: none !important; transition: none !important; scroll-behavior: auto !important}}
