:root { color-scheme: light; --ink: #1b2520; --muted: #5f6e65; --line: #dce4de; --green: #176047; --green-light: #edf6f0; --red: #a1392a; --red-light: #fff3ee; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #ffffff; } * { box-sizing: border-box; } body { margin: 0; } main { max-width: 1136px; padding: 28px 48px 24px; margin: auto; } a { color: var(--green); text-underline-offset: 4px; text-decoration-thickness: 1px; } a:hover { text-decoration-thickness: 2px; } button, input { font: inherit; } button { cursor: pointer; } button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #76aa90; outline-offset: 4px; } [hidden] { display: none !important; } code, output { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; } code { font-size: .9em; } .brand { display: flex; gap: 12px; align-items: center; font-size: 18px; font-weight: 650; } .brand img { object-fit: contain; flex: 0 0 auto; } .brand-separator { color: #a4b0a8; margin: 0 8px; font-weight: 400; } .brand-label { font-weight: 450; } .brand a { margin-left: auto; font-size: 13px; font-weight: 500; } .intro { padding: 58px 0 32px; max-width: 730px; } h1 { font-size: clamp(32px, 4.5vw, 50px); line-height: 1.06; letter-spacing: -.045em; margin: 0 0 20px; font-weight: 650; } p { font-size: 16px; line-height: 1.6; margin: 0 0 12px; } .intro > p { max-width: 650px; color: var(--muted); } .intro .boundary { font-size: 12px; color: var(--muted); margin-top: 18px; } .lab { display: grid; grid-template-columns: 285px minmax(0, 1fr); border-block: 1px solid var(--line); } .controls { padding: 28px 26px 28px 0; border-right: 1px solid var(--line); } h2 { font-size: 21px; letter-spacing: -.025em; line-height: 1.25; margin: 0 0 9px; font-weight: 630; } .section-note, .field-help { font-size: 12px; color: var(--muted); } .section-note { margin-bottom: 21px; } .dimensions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .dimensions label { font-size: 12px; font-weight: 600; } .dimensions input { display: block; margin-top: 8px; width: 100%; border: 1px solid #b8c7bd; border-radius: 7px; background: #fff; padding: 10px 8px; font-size: 19px; color: var(--ink); } .field-help { margin-top: 8px; line-height: 1.5; } .presets { display: flex; gap: 6px; margin: 16px 0 29px; flex-wrap: wrap; } .presets button { font-size: 11px; padding: 7px 9px; background: white; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); } .presets button:hover { border-color: var(--green); color: var(--green); } fieldset { border: 0; padding: 0; margin: 0; } legend { font-size: 12px; font-weight: 650; margin-bottom: 10px; } .mode { display: flex; align-items: flex-start; gap: 9px; padding: 12px 7px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.4; cursor: pointer; } .mode:has(input:checked) { background: var(--green-light); border-color: transparent; border-radius: 6px; } .mode input { accent-color: var(--green); margin: 2px 0 0; flex: 0 0 auto; } .mode strong { display: block; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 500; margin-top: 5px; color: var(--muted); } .reset { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; margin-top: 22px; font-size: 12px; } .results { padding: 19px 0 26px 30px; min-width: 0; } .flow { list-style: none; padding: 0; margin: 0; } .flow li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; } .flow li > div { display: flex; gap: 11px; align-items: baseline; } .step { color: #89988e; font-size: 10px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; } .flow small { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 3px; } .flow output { font-size: 12px; white-space: nowrap; } .flow .mismatch output { color: var(--red); font-weight: 600; } .flow .match output { color: var(--green); font-weight: 600; } .verdict { padding: 18px 20px; margin-top: 20px; border-radius: 8px; } .verdict.mismatch { background: var(--red-light); } .verdict.match { background: var(--green-light); } h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.4; font-weight: 650; } .verdict p { font-size: 12px; line-height: 1.55; } .matrix { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 11px 0 2px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; } .matrix span:nth-child(1), .matrix span:nth-child(3) { font-size: 20px; letter-spacing: -.04em; } .matrix span:last-child { font-size: 11px; color: var(--muted); } .matrix-note { color: var(--muted); margin-top: 5px; } .error { display: block; font-size: 11px; line-height: 1.6; color: var(--red); overflow-wrap: anywhere; margin-top: 10px; } .mode-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; } .invalid { padding: 18px; border-left: 3px solid var(--red); background: var(--red-light); color: var(--red); font-size: 14px; } .reshape-section { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 38px 0; border-bottom: 1px solid var(--line); } .reshape-section p, .takeaway p { font-size: 14px; color: var(--muted); } .reshape-section .field-help { font-size: 11px; } .reshape-result { align-self: center; background: #f5f7f5; padding: 22px; border-radius: 8px; } .reshape-result p { font-size: 13px; } .reshape-result strong { color: var(--ink); } .reshape-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .reshape-flow code { font-size: 20px; color: var(--ink); } .reshape-flow span { font-size: 11px; } .takeaway { max-width: 800px; padding: 32px 0 28px; } .resource-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 22px; font-size: 13px; } footer { border-top: 1px solid var(--line); padding-top: 17px; color: var(--muted); font-size: 11px; line-height: 1.6; } .skip-link { position: absolute; left: 12px; top: -100px; background: #fff; padding: 10px; z-index: 1; } .skip-link:focus { top: 10px; } @media (max-width: 760px) { main { padding: 22px 24px; } .brand a { display: none; } .intro { padding-top: 40px; } .lab { grid-template-columns: 1fr; } .controls { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; } .dimensions { max-width: 380px; } .presets { margin-bottom: 24px; } .results { padding-left: 0; padding-top: 12px; } .reshape-section { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; } } @media (max-width: 390px) { main { padding: 18px 18px; } .brand { font-size: 16px; } .brand-separator { margin: 0 4px; } h1 { font-size: 32px; } .flow li { align-items: flex-start; flex-direction: column; gap: 7px; } .flow output { padding-left: 25px; } .verdict { padding: 16px; } }