:root {
  --paper: #f5f2eb;
  --ink: #232321;
  --muted: #66655f;
  --rule: #c9c6bd;
  --faint: #e7e3d9;
  --accent: #39786e;
  --sans: "Manrope", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #d3e1d8; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
.page { max-width: 1600px; padding: 0 clamp(20px, 4.5vw, 72px); margin: 0 auto; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 2; padding: 12px; background: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; text-decoration: none; letter-spacing: -.04em; }
.brand-mark { display: inline-grid; place-items: center; width: 28px; height: 28px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 21px; padding-bottom: 5px; margin-right: 2px; }
.wordmark-domain { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.header-label, .eyebrow, .counts, .prompt-label, .column-number, .output-state, .empty-state-label, .canvas-note, footer, .status, .scroll-hint, .output-link { font-family: var(--mono); font-weight: 400; }
.header-label { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.intro { display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 50px; padding: 63px 0 57px; }
.eyebrow { color: var(--accent); font-size: 11px; letter-spacing: .08em; display: flex; align-items: center; gap: 9px; margin-bottom: 24px; }
.square { width: 6px; height: 6px; display: inline-block; background: var(--accent); }
h1 { font-size: clamp(42px, 4.7vw, 72px); letter-spacing: -.065em; line-height: 1.12; font-weight: 500; }
h1 span { color: var(--accent); }
.intro-note { max-width: 340px; justify-self: end; padding-bottom: 5px; font-size: 14px; line-height: 1.85; }
.intro-note p + p { color: var(--muted); margin-top: 6px; }
.board { scroll-margin-top: 24px; }
.board-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 19px 0; border-top: 1px solid var(--ink); }
h2 { font-size: 17px; font-weight: 600; letter-spacing: -.035em; }
.counts { display: flex; gap: 28px; font-size: 11px; }
.counts div { display: flex; gap: 9px; align-items: baseline; }
.counts dt { color: var(--muted); }
.counts dd { font-size: 14px; }
.board-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; padding: 5px 0 24px; }
.view-switch { display: flex; align-items: center; gap: 4px; }
.control-label, .filter-control { font: 10px var(--mono); color: var(--muted); }
.control-label { margin-right: 8px; }
.view-switch button, .reset-filters, .filter-control select { min-height: 44px; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper); color: var(--ink); font: 11px var(--mono); padding: 8px 12px; }
.view-switch button, .reset-filters { cursor: pointer; }
.view-switch button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.view-switch button:disabled { opacity: .5; cursor: default; }
.filter-control { display: grid; gap: 7px; min-width: 0; }
.filter-control select { max-width: 300px; width: 100%; }
.filter-status { flex-basis: 100%; font: 10px var(--mono); color: var(--muted); }
.model-group-heading { padding: 22px 24px; border-bottom: 1px solid var(--rule); background: #eeebe3; }
.model-group-heading h3 { font-size: 16px; font-weight: 500; }
.model-comparison { min-width: 0; }
.model-comparison + .model-comparison { border-left: 1px solid var(--rule); }
.model-comparison .prompt-bar { gap: 12px; }
.model-comparison .prompt-title { font-size: 12px; }
.model-comparison .status, .model-comparison .output-heading { display: none; }
.html-preview { display: block; width: 100%; height: 620px; border: 0; background: var(--paper); }
.comparison { border: 1px solid var(--rule); margin-bottom: 28px; }
.prompt-bar { display: flex; gap: 28px; align-items: baseline; padding: 22px 24px; border-bottom: 1px solid var(--rule); background: #eeebe3; }
.prompt-label { color: var(--accent); font-size: 10px; letter-spacing: .08em; flex-shrink: 0; }
.prompt-content { min-width: 0; }
.prompt-content h3 { font-size: 15px; font-weight: 500; }
.prompt-content p { font-size: 13px; color: var(--muted); margin-top: 5px; }
.status { margin-left: auto; color: var(--muted); font-size: 10px; letter-spacing: .03em; white-space: nowrap; }
.prompt-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.8; padding: 24px; border-bottom: 1px solid var(--rule); }
.prompt-panel { position: relative; }
.prompt-details { background: #eeebe3; }
.prompt-details > .prompt-bar { min-height: 88px; padding-right: 122px; align-items: center; justify-content: flex-start; }
.prompt-title { min-width: 0; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.prompt-details .details-sign { margin-left: auto; flex-shrink: 0; }
.prompt-details[open] .details-sign::after { content: "−"; }
.prompt-details .prompt-text { background: var(--paper); }
.prompt-actions { position: absolute; top: 0; right: 24px; height: 88px; display: flex; align-items: center; }
.copy-prompt { min-width: 74px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper); color: var(--ink); font: 11px var(--mono); cursor: pointer; }
.copy-prompt:hover { border-color: var(--accent); color: var(--accent); }
.copy-prompt:disabled { cursor: wait; }
.copy-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.copy-status[data-error] { display: block; position: static; width: auto; height: auto; padding: 12px 24px; overflow: visible; clip-path: none; white-space: normal; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--rule); font-size: 12px; line-height: 1.7; }
.empty-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.output-card { min-width: 0; background: #faf8f3; }
.empty-layout .output-card + .output-card { border-left: 1px solid var(--rule); }
.output-heading { min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--faint); }
.column-number { font-size: 11px; color: var(--muted); }
.model-name { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.model-id { margin-top: 4px; font-family: var(--mono); font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.output-state { color: var(--muted); font-size: 9px; margin-left: auto; white-space: nowrap; }
.canvas { width: 100%; min-height: 240px; aspect-ratio: 1.28; display: grid; place-items: center; position: relative; padding: 25px; }
.empty-canvas { background-image: radial-gradient(#c9c6bd 0.65px, transparent 0.65px); background-size: 16px 16px; }
.canvas-inner { width: 68%; height: 65%; border: 1px solid #dedad0; display: grid; place-items: center; background: #faf8f3; position: relative; }
.canvas-inner::before, .canvas-inner::after { content: ""; width: 9px; height: 9px; position: absolute; background: #faf8f3; border: 1px solid #bcb8ad; }
.canvas-inner::before { left: -5px; top: -5px; }
.canvas-inner::after { right: -5px; bottom: -5px; }
.canvas-note { color: var(--muted); font-size: 10px; padding: 0 5px; text-align: center; }
.canvas img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; padding: 24px; }
.empty-message { display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--rule); padding: 26px 24px; }
.empty-index { font: 28px var(--mono); color: var(--accent); letter-spacing: -.1em; padding-right: 22px; border-right: 1px solid var(--rule); }
.empty-message h3 { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.empty-message p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.empty-state-label { margin-left: auto; font-size: 10px; color: var(--muted); white-space: nowrap; }
.result-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); overflow-x: auto; overscroll-behavior-x: contain; }
.result-grid .output-card + .output-card { border-left: 1px solid var(--rule); }
.output-link { display: block; padding: 14px 22px; font-size: 11px; border-top: 1px solid var(--faint); }
.scroll-hint { margin: -10px 0 18px; font-size: 10px; color: var(--muted); }
.no-models { padding: 32px 24px; font-size: 13px; color: var(--muted); }
.about { margin-top: 26px; border-bottom: 1px solid var(--rule); }
summary { padding: 0 0 24px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
summary::-webkit-details-marker { display: none; }
.details-sign::after { content: "+"; font-family: var(--mono); font-size: 20px; }
.about[open] .details-sign::after { content: "−"; }
.about-content { max-width: 760px; padding-bottom: 26px; font-size: 13px; line-height: 1.85; color: var(--muted); }
.about-content p + p { margin-top: 12px; }
footer { display: flex; gap: 16px; justify-content: space-between; color: var(--muted); font-size: 10px; padding: 24px 0 28px; }
.error-page { min-height: 100svh; display: flex; flex-direction: column; }
.error-page main { flex: 1; padding: 90px 0; }
.error-page main p { margin: 22px 0; color: var(--muted); line-height: 1.8; }
@media (min-width: 1500px) { .canvas { aspect-ratio: 1.5; } }
@media (max-width: 900px) {
  .intro { gap: 28px; }
  .intro-note { font-size: 12px; }
  .output-heading { padding: 16px 14px; gap: 8px; }
  .output-state { display: none; }
  .canvas { padding: 14px; min-height: 210px; }
  .canvas-inner { width: 78%; }
}
@media (max-width: 600px) {
  .site-header { height: 74px; }
  .board-controls { gap: 14px; }
  .view-switch { flex-basis: 100%; }
  .filter-control { flex: 1 1 100%; }
  .filter-control select { max-width: none; }
  .wordmark-domain, .header-label { display: none; }
  .intro { display: block; padding: 38px 0 33px; }
  .eyebrow { font-size: 9px; margin-bottom: 21px; }
  h1 { font-size: clamp(40px, 9.6vw, 57px); }
  .intro-note { margin-top: 23px; max-width: 330px; font-size: 12px; }
  .intro-note p + p { margin-top: 3px; }
  .board-heading { align-items: start; flex-direction: column; gap: 14px; padding: 19px 0; }
  .counts { width: 100%; justify-content: space-between; gap: 12px; font-size: 10px; }
  .counts dd { font-size: 12px; }
  .prompt-bar { padding: 20px 16px; gap: 18px; }
  .prompt-content h3 { font-size: 12px; }
  .prompt-content p { font-size: 11px; }
  .status { display: none; }
  .prompt-details > .prompt-bar { min-height: 88px; padding-right: 108px; gap: 10px; }
  .prompt-details .prompt-label { font-size: 9px; }
  .prompt-title { font-size: 12px; }
  .prompt-actions { right: 16px; }
  .empty-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .empty-layout .output-heading { padding: 13px 7px; min-height: 60px; display: block; text-align: center; }
  .empty-layout .column-number { display: none; }
  .empty-layout .model-name { font-size: 10px; }
  .empty-layout .model-id { font-size: 8px; margin-top: 6px; }
  .empty-layout .canvas { min-height: 150px; padding: 9px; }
  .empty-layout .canvas-inner { width: 83%; height: 65%; }
  .empty-layout .canvas-note { font-size: 8px; line-height: 1.7; }
  .empty-message { padding: 21px 16px; gap: 14px; align-items: start; }
  .empty-index { font-size: 23px; padding-right: 14px; }
  .empty-message h3 { font-size: 12px; }
  .empty-message p { font-size: 11px; }
  .empty-state-label { display: none; }
  .prompt-text { padding: 20px 16px; font-size: 13px; }
  .about { margin-top: 25px; }
  footer { font-size: 8px; gap: 8px; }
}
@media print {
  .page { max-width: none; padding: 0; }
  .site-header { height: 60px; }
  .intro { padding: 30px 0; }
  .about, .skip-link { display: none; }
  .prompt-actions, .board-controls { display: none; }
  .result-grid { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; }
  .output-card { break-inside: avoid; }
}
