:root { color-scheme: light; color: #173830; background: #f5f3eb; font: 16px/1.5 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem max(1rem,calc((100% - 60rem)/2)); background: #183c34; color: #fffdf7; }
a { color: inherit; text-underline-offset: .2em; }
.brand { font: 700 1.35rem Georgia,serif; letter-spacing: .12em; text-decoration: none; }
main { width: min(100% - 2rem,50rem); margin: clamp(1.6rem,5vw,3rem) auto 4rem; }
h1,h2 { font-family: Georgia,serif; line-height: 1.12; }
h1 { margin: .25rem 0 .65rem; font-size: clamp(2.4rem,7vw,4rem); }
h2 { margin: 0 0 .45rem; font-size: 1.45rem; }
.eyebrow { text-transform: uppercase; font-weight: 700; font-size: .76rem; letter-spacing: .12em; color: #755637; }
.lead { font-size: 1.1rem; margin: 0 0 1rem; }
.note { background: #ece5d5; padding: .8rem 1rem; border-radius: 8px; }
form,.request { display: grid; gap: .9rem; padding: clamp(1rem,4vw,1.55rem); border: 1px solid #d5ddd3; border-radius: 12px; background: #fffefa; }
label { display: grid; gap: .3rem; min-width: 0; font-weight: 650; }
input,textarea,select,button { font: inherit; }
input,textarea,select { padding: .65rem; width: 100%; color: inherit; background: #fff; border: 1px solid #9caa9f; border-radius: 5px; }
.row { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap: .8rem; }
.actions { display: flex; gap: .65rem; flex-wrap: wrap; }
button { min-height: 44px; padding: .6rem 1rem; border: 1px solid #173830; border-radius: 6px; background: #173830; color: white; cursor: pointer; }
button:disabled { opacity: .65; cursor: default; }
#quote-new { background: #fffefa; color: #173830; }
#quote-status { margin: 0; overflow-wrap: anywhere; }
#quote-status:empty { display: none; }
.request { margin: .75rem 0; gap: .3rem; }
.request p,.message h3 { margin: .2rem 0; }
.request code,.multiline { overflow-wrap: anywhere; }
.multiline { white-space: pre-wrap; }
summary { padding-block: .4rem; cursor: pointer; font-weight: 700; }
.message { margin: .5rem 0; padding: .6rem .85rem; border-left: 2px solid #c8b28e; background: #f7f4ed; }
.checkout-categories { min-width: 0; border: 1px solid #d5ddd3; border-radius: 6px; padding: .45rem .75rem; }
.checkout-categories legend { font-weight: 700; padding-inline: .3rem; }
.checkout-category { grid-template-columns: auto minmax(0,1fr) auto; align-items: center; min-height: 44px; gap: .6rem; }
.checkout-category + .checkout-category { border-top: 1px solid #e1e5dd; }
.checkout-category input { width: auto; accent-color: #173830; }
.checkout-category span:last-child { white-space: nowrap; font-weight: 500; }
.checkout-link { display: inline-flex; align-items: center; min-height: 44px; padding: .6rem 1rem; border-radius: 6px; background: #173830; color: white; font-weight: 650; }
