.masthead { padding: 24px 48px; }
.masthead a { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; }
.masthead img { border: var(--gsd-border); border-radius: 12px; }
main { padding: 48px 24px 80px; }
.focus-sheet { width: min(100%, 880px); margin: 0 auto; padding: 40px; }
.sheet-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.title-group { display: flex; align-items: center; gap: 20px; }
h1 { font-size: clamp(40px, 5vw, 72px); }
.subtitle { color: var(--gsd-muted); font-size: 24px; margin-top: 8px; }
.clock { width: 64px; height: 64px; border: 5px solid; border-radius: 50%; position: relative; flex: 0 0 auto; }
.clock::before { content: ''; position: absolute; width: 5px; height: 23px; background: currentColor; top: 9px; left: 25px; border-radius: 3px; }
.clock::after { content: ''; position: absolute; width: 20px; height: 5px; background: currentColor; top: 28px; left: 25px; border-radius: 3px; transform: rotate(30deg); transform-origin: left; }
.gear, .close { padding: 10px; min-width: 48px; justify-content: center; flex-shrink: 0; }
.gear svg { width: 25px; height: 25px; }
.price-entry { margin-top: 40px; }
label { display: block; font-weight: 600; }
.price-entry label { font-size: 22px; margin-bottom: 12px; }
.price-wrap { position: relative; }
.price-wrap svg { width: 32px; height: 32px; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); pointer-events: none; }
#price { padding: 12px 20px 12px 64px; font-size: 42px; font-weight: 600; box-shadow: var(--gsd-shadow-button); }
#price::placeholder { color: #757575; opacity: 1; }
.result-summary { margin-top: 40px; padding-top: 32px; border-top: var(--gsd-border); text-align: center; }
.result-summary h2 { font-size: 36px; text-transform: uppercase; }
.primary { font: 800 clamp(48px, 6vw, 80px)/1.08 var(--gsd-font-display); margin: 16px 0; overflow-wrap: anywhere; }
.secondary { font-size: 22px; color: var(--gsd-muted); }
.value-summary { margin-top: 20px; font-weight: 600; }
.value-summary small { color: var(--gsd-muted); font-weight: 400; }
.warning { border: var(--gsd-border); border-radius: 4px; padding: 16px; margin-top: 24px; background: #fef2f2; }
dialog { width: min(620px, calc(100% - 40px)); max-height: calc(100dvh - 48px); padding: 32px; border: var(--gsd-border); border-radius: 12px; box-shadow: var(--gsd-shadow-card); color: var(--gsd-ink); background: white; overscroll-behavior: contain; }
dialog::backdrop { background: rgb(17 17 17 / .55); }
.dialog-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding-bottom: 24px; }
.dialog-heading h2 { font-size: 40px; margin-bottom: 8px; }
.dialog-heading p, .help { color: var(--gsd-muted); }
.close { font-size: 28px; line-height: 1; }
details { border-top: var(--gsd-border); }
summary { padding: 18px 4px; font-weight: 600; cursor: pointer; min-height: 56px; }
.detail-body { padding: 0 4px 24px; }
.detail-body > label:not(:first-child) { margin-top: 24px; }
.detail-body input:not([type=checkbox]), .detail-body select { margin-top: 8px; min-height: 48px; }
.help { margin-top: 8px; font-size: 14px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; cursor: pointer; }
.toggle input { width: 24px; height: 24px; accent-color: var(--gsd-ink); flex-shrink: 0; }
#tax-field { margin-top: 16px; }
#rating, .logic, .badge { margin-top: 24px; }
#rating h3 { font-size: 30px; margin-bottom: 8px; }
.life-label { display: flex; justify-content: space-between; margin-top: 24px; gap: 8px; }
progress { width: 100%; height: 16px; accent-color: var(--gsd-ink); margin-top: 8px; }
dl { margin-bottom: 0; font-variant-numeric: tabular-nums; }
dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
dd { margin: 0; text-align: right; }
.badge { background: var(--gsd-canvas); padding: 16px; border-radius: 4px; }
.text-button { border: 0; background: none; color: inherit; padding: 12px 0; text-decoration: underline; min-height: 48px; cursor: pointer; font-weight: 600; }
footer { margin-top: 24px; color: var(--gsd-muted); font-size: 14px; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 40px); padding: 16px 24px; background: white; border: var(--gsd-border); border-radius: 4px; box-shadow: var(--gsd-shadow-button); z-index: 2; }
[hidden] { display: none !important; }
.noscript { margin-top: 24px; }
@media(max-width: 600px) {
 .masthead { padding: 24px 20px; }
 main { padding: 24px 20px 56px; } .focus-sheet { padding: 24px 20px 32px; }
 .title-group { gap: 10px; align-items: flex-start; } .clock { width: 32px; height: 32px; border-width: 3px; margin-top: 6px; }
 .clock::before { width: 3px; height: 11px; top: 4px; left: 12px; } .clock::after { width: 10px; height: 3px; top: 13px; left: 12px; }
 h1 { font-size: 40px; } .subtitle { font-size: 16px; } .sheet-heading { gap: 8px; } .gear { min-width: 44px; min-height: 44px; padding: 8px; }
 .price-entry { margin-top: 32px; } .price-entry label { font-size: 17px; } #price { font-size: 32px; padding-left: 48px; } .price-wrap svg { left: 14px; width: 24px; }
 .result-summary { margin-top: 32px; padding-top: 24px; } .result-summary h2 { font-size: 28px; } .primary { font-size: 52px; } .secondary { font-size: 17px; }
 dialog { padding: 24px 20px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); } .dialog-heading h2 { font-size: 36px; } dl div { flex-wrap: wrap; gap: 4px; } dd { margin-left: auto; }
}
