.estimate-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:580px}
.estimate-card {position:relative;min-width:0;cursor:pointer}
.estimate-card input,.shade-choice input {position:absolute;width:1px;height:1px;opacity:0;padding:0;margin:0}
.estimate-card span {position:relative;box-sizing:border-box;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:10px 6px;text-align:center;border:1px solid #b9b1a4;border-radius:8px;background:#fffdf9;font:600 clamp(14px,1.7vw,20px)/1.12 Georgia,serif}
.estimate-card svg {width:clamp(24px,4vw,42px);height:auto;color:#35322e}
.estimate-card input:checked+span {outline:2px solid #35322e;background:#fff6b6}
.estimate-card input:checked+span::after {content:'✓';position:absolute;top:5px;right:5px;background:#171615;color:white;border-radius:50%;width:17px;height:17px;font:12px/17px system-ui}
.estimate-card input:focus-visible+span,.shade-choice input:focus-visible+span,.shade-picker summary:focus-visible {outline:3px solid #171615;outline-offset:2px}
.shade-picker {border:1px solid #b9b1a4;border-radius:6px;background:#ffffff;margin-top:4px}
.shade-picker summary {display:flex;align-items:center;gap:10px;cursor:pointer;padding:8px 12px;min-height:44px;list-style:none}
.shade-picker summary::-webkit-details-marker {display:none}
.shade-picker summary::after {content:'⌄';margin-left:auto}
.shade-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr));gap:6px;padding:8px;max-height:290px;overflow-y:auto;border-top:1px solid #dcd6cb}
.shade-choice {position:relative;cursor:pointer;font-weight:500}
.shade-choice>span {display:flex;align-items:center;gap:8px;min-height:48px;padding:5px;border:1px solid transparent;border-radius:5px;line-height:1.2;overflow-wrap:anywhere}
.shade-choice:has(:checked)>span {border-color:#35322e;background:#fff6b6}
.shade-choice:hover>span {background:#f5f0e7}
.shade-picker img {width:34px;height:34px;border-radius:4px;object-fit:cover;flex:none;border:1px solid #17161525}
.shade-picker img[hidden] {display:none}
@media(max-width:420px){.estimate-grid{gap:6px}.estimate-card span{gap:6px;font-size:14px}}
header {background:#fff;color:#151515;border-bottom:4px solid #fcdf00;padding-block:12px}
.birch-logo {width:auto;height:66px;display:block}
nav button {color:#181715;border-color:#b9b1a4}
nav button[aria-pressed=true], .primary {background:#fcdf00;color:#151515;border-color:#151515}
.primary:hover,nav button:hover {border-color:#151515;box-shadow:0 1px 0 #151515}
.rail {border-right:1px solid #d4cab8}
.material :checked+span,.estimate-card input:checked+span {outline-color:#151515;background:#fff6b6}
.material :checked+span::after,.estimate-card input:checked+span::after {background:#fcdf00;color:#151515;border:1px solid #151515}
.material input:focus-visible+span,.estimate-card input:focus-visible+span,.shade-choice input:focus-visible+span {outline:3px dashed #151515;outline-offset:2px}
@media(max-width:680px){header{gap:10px}.birch-logo{height:48px}.rail{border-right:0;border-bottom:1px solid #d4cab8}}
