*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#f7f7f4;color:#252525;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.55}
button,input,textarea,select{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.5}
a{color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b96645;outline-offset:3px}
[hidden]{display:none!important}
h1,h2,p{margin-top:0}
h1,h2{font-family:inherit;font-weight:750;line-height:1.12;letter-spacing:-.045em}
h2{font-size:29px;margin-bottom:18px}
.demo-banner{text-align:center;background:#e9ddc7;color:#58482d;padding:8px 18px;font-size:11px;font-weight:700;letter-spacing:.06em}
.site-header{max-width:1280px;margin:auto;padding:27px 50px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e3df;gap:24px}
.brand{text-decoration:none;display:flex;align-items:center;gap:17px}
.brand img{width:85px;height:70px;object-fit:contain;background:#a52f32;border-radius:2px;padding:6px}
.brand>span{font-size:10px;letter-spacing:.15em;font-weight:700}
.brand small{display:block;letter-spacing:0;font-size:14px;font-weight:400;margin-top:3px}
.site-header nav{display:flex;gap:26px;align-items:center;font-size:13px}
.site-header nav a{text-decoration:none}
.owner-link{border:1px solid #cdbbad;padding:9px 14px;border-radius:5px}
.order-layout{display:grid;grid-template-columns:1fr 1fr;gap:64px;max-width:1240px;margin:auto;padding:52px 40px 70px;align-items:start}
.intro{padding-top:8px;min-width:0}
.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:700;color:#a52f32;display:flex;align-items:center;gap:10px;margin-bottom:22px}
.line{width:25px;height:1px;background:#a52f32}
.intro h1{font-size:clamp(38px,4.2vw,62px);letter-spacing:-.055em;margin-bottom:20px}
.intro h1 em{font-style:normal;color:#a52f32}
.lead{font-size:17px;line-height:1.7;color:#646660;margin-bottom:27px}
.delivery-facts{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:12px;color:#4c5047;max-width:none;margin:22px 0}
.hero-photo{margin:28px 0 0;position:relative}
.hero-photo img{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;border-radius:14px}
.hero-photo figcaption{font-size:12px;color:#646660;margin-top:10px}
.farm-note{display:grid;grid-template-columns:125px 1fr;gap:22px;align-items:center;border-top:1px solid #e3e3df;margin-top:30px;padding-top:30px}
.farm-note img{width:125px;height:190px;object-fit:cover;border-radius:10px}
.farm-note .eyebrow{font-size:9px;margin-bottom:10px}
.farm-note h2{font-size:24px;margin-bottom:12px}
.farm-note p:not(.eyebrow){font-size:12px;color:#646660;margin-bottom:10px}
.farm-note a{font-size:13px;color:#a52f32;font-weight:650;text-decoration:none}
.mobile-order-link{display:none;border:0;padding:0;background:transparent}
.order-card{background:#ffffff;border:1px solid #e3e3df;border-radius:12px;box-shadow:0 15px 40px #48321c07;overflow:hidden}
.stock-panel{background:#f1f3ec;padding:27px 30px 20px;border-bottom:1px solid #e0e4d8}
.stock-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:14px}
.stock-top .eyebrow{margin:0}
.badge{display:inline-flex;align-items:center;font-size:10px;font-weight:700;background:#dde5d3;color:#455632;border:1px solid #c7d2b6;border-radius:20px;padding:4px 10px;white-space:nowrap}
.badge.closed{background:#ebd8cc;border-color:#dbc3b5;color:#a52f32}
.stock-panel h2{font-size:24px;margin-bottom:12px}
.stock-number{display:flex;align-items:baseline;gap:13px}
.stock-number strong{font-size:60px;font-weight:750;font-family:inherit;line-height:1.15;letter-spacing:-.04em;color:#a52f32}
.stock-number span{font-size:13px;color:#6e6254}
.stock-panel>p{font-size:11px;color:#746a5a;margin:8px 0 15px}
.deadline{font-size:11px;border-top:1px solid #d7cfbd;padding-top:12px;color:#675a4b}
#order-form{padding:27px 30px 24px}
fieldset{border:0;padding:0;margin:0 0 25px;min-width:0}
legend{font-size:15px;font-weight:600;margin-bottom:18px;padding:0;display:flex;gap:9px;align-items:center}
.step{width:22px;height:22px;border:1px solid #d6bca9;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#a52f32;font-size:10px}
.quantity-row{display:flex;align-items:center;justify-content:space-between;background:#f8f9f5;border:1px solid #dfd7c9;border-radius:7px;padding:6px}
.quantity-button{width:47px;height:46px;background:#ffffff;border:1px solid #e1d7c7;border-radius:5px;color:#a52f32;font-size:24px}
.quantity-label{display:flex;align-items:baseline;gap:6px;margin:0}
.quantity-label input{width:76px;background:none;border:0;text-align:right;margin:0;padding:0;font-size:28px;color:#252525;appearance:textfield;-moz-appearance:textfield}
.quantity-label input::-webkit-inner-spin-button{-webkit-appearance:none}
.quantity-label span{font-size:12px;font-weight:400;color:#7d6d60}
.quick-quantity{display:flex;gap:8px;margin-top:10px}
.quick-quantity button{flex:1;border:1px solid #ded4c6;background:transparent;padding:8px 4px;font-size:11px;border-radius:5px;color:#595c55}
.quick-quantity button.selected{background:#a52f32;color:white;border-color:#a52f32}
.hint{font-size:11px;color:#696b64;margin:11px 0}
.price-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e5e5e0;padding:12px 0 20px;font-size:11px}
.price-row strong{font-size:14px;color:#a52f32;text-align:right}
label{display:block;font-size:12px;font-weight:600;margin-bottom:13px}
input:not([type=checkbox]),textarea,select{width:100%;display:block;border:1px solid #d8d9d3;border-radius:8px;padding:11px 12px;background:#ffffff;color:#252525;margin-top:5px;min-height:44px}
input::placeholder,textarea::placeholder{color:#a2988c;font-weight:400}
textarea{resize:vertical}
.fields{display:grid;gap:13px}
.fields.two{grid-template-columns:1fr 1fr}
.fields.postcode{grid-template-columns:1fr 1.5fr}
.optional{font-weight:400;color:#74766f;font-size:10px}
.checkbox{display:flex;gap:9px;font-size:11px;font-weight:400;align-items:flex-start;line-height:1.6;margin-top:14px}
.checkbox input{accent-color:#a52f32;width:17px;height:17px;flex-shrink:0;margin:0}
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:16px;text-decoration:none;border:1px solid #a52f32;background:#a52f32;color:#ffffff;border-radius:6px;min-height:46px;padding:12px 19px;font-size:12px;font-weight:600}
.primary:hover{background:#85282b}
.secondary{color:#a52f32;background:transparent;border-color:#cbb9a7}
.secondary:hover{background:#f1f1ed}
.small{padding:7px 10px;min-height:36px;font-size:11px}
.wide{width:100%}
.primary.wide{justify-content:space-between}
.fine-print{font-size:10px;text-align:center;color:#74766f;line-height:1.7;margin:14px 3px 0}
.text-button{border:none;background:none;color:#a52f32;text-decoration:underline;text-underline-offset:4px;font-size:11px;padding:10px 0}
.form-error,.success-message{font-size:12px;padding:12px 14px;background:#f6dfd6;border:1px solid #dfafa0;border-radius:6px;color:#8b2b1a}
.success-message{background:#e4ecdb;border-color:#ced9bd;color:#435730}
footer{border-top:1px solid #e3e3df;max-width:1180px;margin:auto;padding:27px 40px 35px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:10px;color:#646660}
footer>span{letter-spacing:.12em;font-weight:600}
footer p{margin:0}
footer a{text-decoration:none}
dialog{border:1px solid #e0d4c4;border-radius:12px;background:#ffffff;color:#252525;padding:35px;max-width:460px;width:calc(100% - 32px);box-shadow:0 20px 100px #25252533}
dialog::backdrop{background:#2b201e77;backdrop-filter:blur(3px)}
.dialog-close{float:right;border:0;background:none;font-size:25px;color:#8c7864;margin-top:-20px;margin-right:-15px}
.review-lines{margin:20px 0 25px}
.review-lines p{font-size:14px;margin:0 0 12px}
.review-lines small{display:block;color:#696b64;font-size:10px;letter-spacing:.04em;margin-bottom:3px}
.receipt-view{max-width:600px;margin:50px auto;padding:35px;background:#ffffff;border:1px solid #ded4c4;border-radius:12px}
.receipt-view h1{font-size:40px;letter-spacing:-.04em;margin-bottom:15px}
.receipt-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;background:#e4eadb;color:#586b3c;border-radius:50%;font-size:24px;margin-bottom:22px}
.receipt-actions{display:grid;gap:10px}
.receipt-actions .primary{justify-content:center}
.receipt-quantity{font-family:inherit;font-size:42px;color:#a52f32;margin:10px 0}
.private-note{font-size:11px;color:#8c7968}
.edit-box{border-top:1px solid #e1d7c9;padding-top:20px;margin-top:25px}
.cancel-button{color:#96311d}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.admin-main{max-width:1280px;padding:45px 50px 65px;margin:auto}
.admin-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px}
.admin-heading h1{font-size:43px;letter-spacing:-.04em;margin-bottom:12px}
.admin-heading .eyebrow{margin-bottom:12px}
.admin-heading p:last-child{font-size:13px;color:#897664;margin:0}
.stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #ded4c3;background:#f1f3ec;border-radius:9px;margin-bottom:28px;padding:22px 0}
.stats>div{padding:0 26px;border-right:1px solid #d7cdbd;display:flex;flex-direction:column}
.stats>div:last-child{border:none}
.stats span{font-size:11px;color:#646660}
.stats strong{font-family:inherit;font-size:37px;color:#a52f32;font-weight:700;line-height:1.3}
.stats small{font-size:10px;color:#6c6f65}
.admin-columns{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:25px}
.panel{background:#ffffff;border:1px solid #e3e3df;border-radius:9px;padding:24px;margin-bottom:22px}
.panel h2{font-size:25px}
.section-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}
.section-title h2{margin:0}
.filter-row{display:flex;gap:12px;align-items:start}
.filter-row label:first-child{flex:1}
.filter-row input,.filter-row select{font-size:12px;margin:0}
.filter-row select{padding:11px 8px}
.orders-list{margin-top:12px}
.order-item{border-top:1px solid #e5ded2;padding:18px 0;display:grid;grid-template-columns:1fr auto;gap:15px}
.order-item:last-child{padding-bottom:0}
.order-item h3{font-size:14px;font-weight:600;margin:0 0 5px}
.order-item p{font-size:12px;margin:3px 0;color:#646660}
.order-item .order-amount{text-align:right;font-size:20px;color:#a52f32;font-family:inherit}
.order-item .order-amount small{font-family:Arial,sans-serif;display:block;font-size:11px;color:#646660}
.order-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.order-actions a,.order-actions button{font-size:11px;background:transparent;border:0;padding:4px 0;color:#a52f32;text-decoration:underline;text-underline-offset:3px}
.order-item.cancelled{opacity:.6}
.stock-tools p,.route-panel p,details p{font-size:12px;color:#646660}
.inline-form{display:flex;gap:8px;align-items:center}
.inline-form input{flex:1;min-width:0;margin:0}
.inline-form button{flex-shrink:0}
.pending-note{background:#f3eee5;border-radius:5px;font-size:11px;color:#646660;padding:12px;line-height:1.6}
details summary{font-weight:600;cursor:pointer;font-size:13px}
details[open] summary{margin-bottom:15px}
.empty-state{text-align:center;padding:40px 10px;color:#978776}
.empty-state strong{display:block;color:#6d5946;font-family:inherit;font-weight:400;font-size:24px;margin-bottom:10px}
.empty-state p{font-size:12px}
.muted{color:#9b8b78}
.receipt-view label{margin-bottom:14px}

@media(max-width:1000px){.order-layout{gap:40px;padding:45px 30px}
.site-header{padding:22px 30px}
.intro h1{font-size:46px}
.admin-main{padding:35px 25px}
.admin-columns{grid-template-columns:minmax(0,1fr) 275px}
.stats>div{padding:0 16px}
.stats strong{font-size:32px}
.panel{padding:20px}
.filter-row{flex-direction:column;gap:0}
.filter-row label{width:100%}
}

@media(max-width:700px){.site-header{padding:15px 20px;gap:12px}
.brand img{width:65px;height:55px}
.brand{gap:12px}
.brand>span{font-size:8px;letter-spacing:.09em}
.brand small{font-size:11px}
.site-header nav{font-size:11px;gap:12px}
.site-header nav>a:not(.owner-link){display:none}
.owner-link{padding:7px 9px}
.demo-banner{font-size:9px;padding:7px 14px;letter-spacing:.02em}
.order-layout{display:block;padding:27px 18px 40px}
.intro{position:static;padding:0 7px 24px}
.intro .eyebrow{font-size:9px;margin-bottom:12px}
.intro h1{font-size:38px;line-height:1.07;margin-bottom:15px;letter-spacing:-.045em}
.intro h1 br:nth-of-type(2){display:none}
.lead{font-size:13px;margin-bottom:15px;line-height:1.55}
.lead br{display:none}
.delivery-facts{gap:5px 13px;max-width:none;font-size:10px}
.farm-note{display:none}
.hero-photo{margin-top:20px}
.hero-photo img{height:155px;aspect-ratio:auto;object-position:50% 45%}
.hero-photo figcaption{font-size:10px}
.mobile-order-link{display:inline-flex;font-weight:650;font-size:13px;color:#a52f32;text-decoration:none}
.intro .delivery-facts{margin:14px 0 0}
.intro .lead{font-size:14px}
.contact-links{align-items:center}
.stock-panel{padding:23px 23px 17px}
.stock-panel h2{font-size:24px}
.stock-number strong{font-size:45px}
#order-form{padding:25px 23px}
.quick-quantity button{font-size:12px}
.price-row{font-size:11px}
.fields{gap:10px}
label{font-size:12px}
input:not([type=checkbox]),textarea,select{font-size:16px;padding:10px;min-height:46px}
.checkbox{font-size:11px}
.primary,.secondary{font-size:13px}
.fine-print{font-size:10px}
footer{padding:24px 20px;flex-direction:column;gap:5px;font-size:9px}
.receipt-view{margin:25px 18px;padding:27px 23px}
.receipt-view h1{font-size:33px}
.admin-main{padding:25px 18px}
.admin-heading{align-items:flex-start}
.admin-heading h1{font-size:31px}
.admin-heading .secondary{font-size:10px;padding:8px;min-height:38px}
.stats{grid-template-columns:1fr 1fr;padding:0}
.stats>div{padding:16px 20px;border-bottom:1px solid #d7cdbd}
.stats>div:nth-child(2){border-right:0}
.stats>div:nth-child(3),.stats>div:nth-child(4){border-bottom:0}
.stats>div:last-child{border:none}
.stats strong{font-size:34px}
.admin-columns{display:flex;flex-direction:column}
.panel{padding:20px}
.admin-columns>aside{order:0}
.route-panel{display:none}
.admin-columns aside details{margin-bottom:0}
.admin-columns aside .stock-tools{margin-bottom:15px}
.section-title h2{font-size:23px}
.section-title .secondary{font-size:10px}
.order-item{gap:8px}
.stock-tools .eyebrow{margin-bottom:10px}
.stock-tools h2{margin-bottom:10px}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
}
@media print{.demo-banner,.site-header,footer,button,.receipt-actions,.edit-box,.private-note{display:none!important}
.receipt-view{border:0;margin:0;padding:0}
body{background:white}
}


.quantity-label input[type=number]{width:85px;background:none;border:0;text-align:right;margin:0;padding:0;font-size:28px;min-height:36px;color:#252525;font-weight:700}

#order-form{scroll-margin-top:18px}
.price-row{margin:0 0 25px}
.price-row strong{max-width:60%;line-height:1.45}

.extra-item{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #e3e3df;border-radius:10px;padding:15px;margin:10px 0;background:#fafbf8}
.extra-item>div{min-width:0;overflow-wrap:anywhere}
.extra-item strong{font-size:14px;display:block}
.extra-item small{display:block;font-size:12px;color:#646660;margin-top:3px}
.extra-stock{font-size:11px;display:block;margin-top:7px;color:#5e6f4c}
.extra-item label{flex:0 0 74px;margin:0;font-size:10px;color:#646660}
.extra-item input{font-size:17px;font-weight:600;background:white;text-align:center}
.receipt-extras{padding:14px 0;border-top:1px solid #e3e3df;border-bottom:1px solid #e3e3df;margin:12px 0 20px}
.receipt-extras p{margin:0 0 8px;font-size:15px}
.receipt-extras p:last-child{margin:0}
.receipt-extras small{display:block;color:#646660;font-size:12px;margin-top:2px}
.managed-product{display:flex;align-items:start;justify-content:space-between;gap:10px;border-bottom:1px solid #e3e3df;padding:15px 0}
.managed-product>div{min-width:0;overflow-wrap:anywhere}
.managed-product strong{font-size:14px;display:block}
.managed-product small,.managed-product p{display:block;font-size:11px;color:#646660;margin:4px 0}
.managed-product .badge{margin-top:6px}
#product-editor{margin-top:18px}
.order-extras{color:#4c6044!important;font-weight:550}
.contact-links{display:flex;flex-direction:column;gap:4px;font-size:12px}
footer>span small{display:block;letter-spacing:0;font-weight:400;margin-top:5px}
.order-item>div{min-width:0;overflow-wrap:anywhere}
.receipt-quantity{font-weight:700}
.receipt-view{overflow-wrap:anywhere}
.brand img{background:#a52f32;border-radius:8px}
.lead{font-size:17px;line-height:1.6}
.stock-number strong{font-variant-numeric:tabular-nums}

@media(max-width:700px){.extra-item{padding:13px;gap:10px}
.extra-item label{flex-basis:68px}
.section-title{flex-wrap:wrap}
.admin-heading h1{font-size:30px}
.site-header nav>a[href="/"]{display:inline}
.stock-number strong{font-size:51px}
.stock-top{flex-wrap:wrap}
.order-card{border-radius:12px}
.order-layout{padding-top:25px}
.lead br{display:none}
.farm-note{display:none}
.intro h1{font-size:38px}
.fields.two{gap:10px}
.price-row strong{font-size:13px}
.stats strong{font-size:28px}
footer{font-size:11px;text-align:center;gap:16px}
}


.delivery-window{font-size:12px!important;line-height:1.65;color:#4d5844!important;margin:10px 0 18px!important}.delivery-window span{font-size:11px;color:#646660}.order-day-label{max-width:320px;margin:12px 0 0;font-size:11px}.order-day-label select{font-size:12px;padding:8px;min-height:40px}.filter-row{flex-wrap:wrap}.filter-row .search-label{flex-basis:100%}.filter-row>label{min-width:0}.order-day-label option{white-space:normal}@media(max-width:700px){.order-day-label select{font-size:16px;max-width:100%}.order-item{grid-template-columns:minmax(0,1fr)}.order-item .order-amount{text-align:left;font-size:18px}.order-item .order-amount small{display:inline;margin-left:10px}.order-day-label{max-width:100%}}

/* Catalogue and the minimum basket total. */
.pasta-add-row{display:flex;gap:12px;align-items:end;margin:12px 0}.pasta-add-row label{flex:1;min-width:0;margin:0}.pasta-add-row button{min-height:48px;flex:1;white-space:normal}#pasta-type{width:100%;max-width:100%}.basket-summary{background:#faf5f1;border-radius:14px;padding:0 18px 14px;margin:10px 0 24px}.basket-summary .price-row{padding-bottom:8px;border:0}.basket-summary .hint{margin:0}.minimum-reached{color:#376445}.egg-price{font-weight:600;margin:12px 0 6px}#pasta-list:empty{display:none}.extra-item label{max-width:125px}.catalog-tag{display:block;color:#6b625b;font-size:12px;margin-top:4px}@media(max-width:480px){.pasta-add-row{flex-wrap:wrap}.pasta-add-row label,.pasta-add-row button{flex-basis:100%}.basket-summary .price-row{gap:10px;flex-wrap:wrap}}

/* Finishing pass: readable labels, clear totals and comfortable touch targets. */
.hint{font-size:12px;line-height:1.65;color:#60635d}
label{font-size:13px}
legend{font-size:17px;line-height:1.4;margin-bottom:16px}
fieldset+fieldset{border-top:1px solid #e9e8e2;padding-top:4px}
#order-form fieldset>legend+.hint{margin-top:0}
.quick-quantity button{min-height:44px;font-size:12px}
.primary,.secondary{font-size:13px;min-height:46px}
.primary:disabled{background:#eee9e4;border-color:#e1d9d1;color:#81756b;opacity:1}
.fine-print{font-size:11px;color:#62645f}
.checkbox{font-size:12px;min-height:30px;align-items:flex-start}
.checkbox input{margin-top:2px;width:19px;height:19px}
.deadline{margin-top:15px;font-size:12px;line-height:1.65}
.stock-panel .delivery-window{font-size:13px!important}
.delivery-window span{font-size:12px}
#quantity-hint{margin-bottom:0}
.basket-summary{border:1px solid #e9ded4;padding:15px 18px;margin:24px 0 30px}
.basket-summary .price-row{margin:0;padding:0 0 8px;font-size:13px;align-items:baseline}
.basket-summary .price-row strong{font-size:25px;font-variant-numeric:tabular-nums;max-width:none;white-space:nowrap}
.basket-summary .hint{font-size:12px;line-height:1.55}
.extra-item{background:#fafaf7;margin:10px 0;padding:15px}
.extra-item strong{font-size:15px;line-height:1.45}
.extra-item small{line-height:1.5}
.remove-product{display:block;border:0;background:transparent;padding:7px 0;margin-top:3px;color:#875b4a;font-size:12px;text-decoration:underline;text-underline-offset:3px;min-height:36px}
.unavailable{border-color:#ba6458;background:#fff7f3}
.unavailable .extra-stock{color:#943728}
.connection-message{max-width:1160px;margin:16px auto 0;padding:12px 18px;border:1px solid #d7bba9;background:#fff7ec;border-radius:8px;font-size:13px}
.dialog-close{width:44px;height:44px;line-height:1;padding:0}
dialog{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
dialog .review-lines{margin-bottom:24px}.review-lines small{font-size:11px}
#receipt-title:focus{outline:none}.receipt-view>.hint{max-width:47ch}
#product-editor{border:1px solid #ded4c6;border-radius:8px;padding:13px 15px;margin:18px 0}
.catalog-group{border-top:1px solid #e5e2da;padding:14px 0}
.catalog-group>summary{font-size:14px;min-height:30px;line-height:1.5}
.catalog-group>summary span{float:right;font-weight:400;color:#77746c;margin-left:8px}
.catalog-group[open]>summary{margin-bottom:0}
.managed-product:last-child{border-bottom:0}.managed-product .small{min-height:44px;flex-shrink:0}
.order-actions a,.order-actions button{min-height:36px;display:inline-flex;align-items:center}
@media(max-width:700px){
  .site-header nav a{min-height:40px;align-items:center}.owner-link{display:inline-flex}
  .connection-message{margin:14px 18px 0}
  .stock-panel,#order-form{padding-left:20px;padding-right:20px}
  .stock-panel h2{font-size:23px}.stock-number{gap:10px}
  .extra-item{padding:13px;gap:12px}.extra-item strong{font-size:14px}
  .basket-summary{padding:14px}.basket-summary .price-row strong{font-size:24px}
  .small,.text-button,.remove-product,.order-actions a,.order-actions button{min-height:44px}
  .catalog-group>summary{min-height:40px}.fields.two{grid-template-columns:1fr 1fr}
  .receipt-view h1{font-size:31px}.receipt-quantity{font-size:34px}
  dialog{padding:27px 22px}.dialog-close{margin-top:-15px;margin-right:-12px}
}
@media(max-width:360px){.fields.two{grid-template-columns:1fr}.stock-number strong{font-size:46px}.quick-quantity{gap:5px}.quick-quantity button{font-size:11px}.basket-summary .price-row{display:block}.basket-summary .price-row strong{display:block;text-align:left;margin-top:4px}}

/* Delivery reports share one explicit day/status selection. */
.reports-panel{margin-bottom:28px}
.reports-panel .eyebrow{margin-bottom:8px}
.report-filters{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:700px;margin-top:20px}
.report-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:12px 0 18px}
.report-cards>div{display:flex;flex-direction:column;padding:18px;border:1px solid #e3e3df;border-radius:9px;background:#fafbf8;min-width:0}
.report-cards h3{font-size:16px;margin:0 0 7px}
.report-cards p{font-size:12px;color:#60635d;margin:0 0 17px;flex:1}
.report-cards button{width:100%}
.report-help{border-top:1px solid #e3e3df;padding-top:14px}
.report-help p{max-width:800px}
@media(max-width:700px){.report-cards,.report-filters{grid-template-columns:1fr}.report-filters{gap:0}.report-cards{gap:12px}.report-cards>div{padding:16px}}

.recovery-panel,.last-order{max-width:1160px;margin:24px auto 0;padding:22px 28px;border:1px solid #dac4a8;border-radius:10px;background:#fff9ed}.recovery-panel h2{font-size:24px}.recovery-panel p{font-size:14px}.last-order{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:12px 22px;background:white;font-size:13px}.last-order .text-button{flex-shrink:0}@media(max-width:700px){.recovery-panel,.last-order{margin:18px 18px 0;padding:18px}.last-order{display:flex;flex-direction:column;align-items:flex-start;gap:8px}}

.delivery-picker{max-width:460px;margin-bottom:24px}.history-event{padding:14px 0;border-bottom:1px solid #e3e3df}.history-event p,.history-event small{font-size:12px;margin:5px 0}.history-event strong{font-size:13px}

.brand>span.brand-title{font-size:clamp(18px,2.3vw,28px);line-height:1.15;letter-spacing:-.035em;font-weight:650}
@media(max-width:480px){.brand>span.brand-title{font-size:20px;max-width:145px}.site-header{gap:12px}}

.spoke-export{border-top:1px solid #e3e3df;padding-top:24px;margin-top:24px}
.spoke-export h3{font-size:23px;margin:0}
.spoke-days{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}
.spoke-days>div{background:#fafbf8;border:1px solid #e3e3df;border-radius:9px;padding:18px}
.spoke-days strong{font-size:17px}.spoke-days button{width:100%}
.spoke-warning{background:#fff4dc;border:1px solid #ecd49e;border-radius:8px;padding:14px 18px;margin-top:16px}
.spoke-warning p{margin:0;font-size:14px;line-height:1.5;color:#624b1b}
.spoke-warning .text-button{margin-top:8px;padding:0;text-align:left}
.spoke-export ol{padding-left:23px;font-size:14px;line-height:1.6;max-width:780px}
.spoke-export li{margin:9px 0}
.spoke-trial{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #e3e3df;margin-top:18px;padding-top:18px}
.spoke-trial p{font-size:13px;line-height:1.6;margin:0}.spoke-trial button{flex-shrink:0}
#spoke-feedback{padding:12px;background:#f3f5ed;border-radius:6px;overflow-wrap:anywhere}
@media(max-width:700px){.spoke-days{grid-template-columns:1fr}.spoke-trial{align-items:flex-start;flex-direction:column}.spoke-trial button{width:100%}}

/* Waitlisted baskets remain distinct from confirmed delivery orders. */
.waitlist-panel{border-left:4px solid #b67e20;background:#fffaf0}.waiting-badge{background:#fff0ce;color:#795016}.order-item.waiting{border-left:3px solid #b67e20}.spoke-days:has(>div[hidden]){grid-template-columns:1fr}
