:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#183333;background:#f4f6f7;font-synthesis:none;--green:#173a3a;--accent:#c94c21;--muted:#546766;--line:#dbe3e3}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:10px 15px;background:white;color:var(--green);font-weight:650}button:hover{background:#edf3f2}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #eea149;outline-offset:3px}button.primary{background:var(--green);color:white;border-color:var(--green)}button.accent{background:var(--accent);color:white;border-color:var(--accent)}button.small{padding:7px 12px;font-size:14px}button.link{border:0;background:none;text-decoration:underline;padding:5px}.shell{max-width:1160px;margin:auto;padding:0 28px 130px}header{display:flex;justify-content:space-between;align-items:center;padding:24px 0;gap:12px}.brand{font-weight:850;font-size:25px;letter-spacing:-1px;display:flex;align-items:center;gap:10px}.brandmark{background:var(--green);border-radius:11px;padding:7px 11px;display:flex;align-items:center;flex-shrink:0}.brandlogo{display:block;width:112px;height:41px;object-fit:contain}.demo{background:#e9efef;color:#425d5a;padding:9px 14px;font-size:14px;border-radius:8px;margin-bottom:22px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.demo strong{color:#173a3a}.identity{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:22px}select,input{border:1px solid #bbcaca;background:white;color:#183333;border-radius:9px;min-height:46px;padding:10px 13px;max-width:100%}label{display:block;font-size:14px;font-weight:650}label select,label input{display:block;margin-top:6px;width:100%}.tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:26px}.tabs button{padding:18px;text-align:left;font-size:18px;line-height:1.25;border-radius:12px}.tabs button.active{background:var(--green);color:white;border-color:var(--green)}.tabs small{display:block;font-size:13px;opacity:.75;font-weight:450;margin-top:5px}h1{font-size:30px;letter-spacing:-.8px;margin:0 0 6px}h2{font-size:21px;letter-spacing:-.3px;margin:0 0 14px}h3{font-size:17px;margin:0;line-height:1.4}p{line-height:1.5}.muted{color:var(--muted);font-size:14px}.subtitle{margin:0 0 23px;color:var(--muted)}.layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:20px}.order-panel{position:sticky;top:16px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 14px}.sectionhead h2{margin:0}.search{width:100%;margin:8px 0 14px}.chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:23px}.chips button{font-size:14px;padding:9px 12px}.chips .active{background:#dcebe7;border-color:#98bcb3}.products{display:grid;gap:10px}.product{background:white;border:1px solid var(--line);border-radius:13px;padding:18px;display:grid;grid-template-columns:1fr auto;gap:14px}.product .price{font-size:18px;font-weight:750;white-space:nowrap}.product p{margin:5px 0;font-size:14px;color:var(--muted)}.actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:13px}.badge{display:inline-flex;padding:5px 8px;border-radius:6px;font-size:13px;line-height:1.4;font-weight:650;background:#edf0f1;color:#506160}.badge.confirmed,.badge.packed,.badge.yes{background:#e0f1e8;color:#225c42}.badge.missing,.badge.no{background:#fbe6df;color:#943b21}.badge.pending,.badge.waiting{background:#fff0ce;color:#795718}.badge.handed{background:#e3eafa;color:#35548b}.orderline{padding:15px 0;border-bottom:1px solid var(--line)}.orderline:last-child{border-bottom:0}.linehead{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}.linehead strong{font-size:15px}.orderline .badge{margin-bottom:7px}.empty{padding:24px 15px;text-align:center;border:1px dashed #bccaca;border-radius:12px;color:var(--muted)}.daybar{display:flex;gap:8px;overflow:auto;margin-bottom:22px;padding:3px 0 7px}.daybar button{flex:1;min-width:75px;text-align:center;font-size:14px}.daybar .active{background:var(--green);color:white}.daybar strong{display:block;font-size:20px}.notice{background:#fff0dc;border-left:3px solid #d28b25;padding:12px 15px;font-size:14px;border-radius:5px;margin:14px 0}.basket{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);width:min(710px,calc(100% - 32px));background:#173a3a;color:white;padding:14px 18px;border-radius:14px;display:flex;justify-content:space-between;align-items:center;gap:15px;box-shadow:0 8px 25px #13302c30;z-index:5}.basket small{display:block;opacity:.8}.basket button{background:white}.basket div{line-height:1.5}dialog{border:0;border-radius:18px;max-width:540px;width:calc(100% - 28px);padding:24px;color:#183333;max-height:85vh}dialog::backdrop{background:#0b252980}dialog .close{float:right}dialog h2{padding-right:45px;margin-top:6px}.modalfoot{display:flex;justify-content:flex-end;gap:9px;margin-top:22px;flex-wrap:wrap}#toast{position:fixed;top:16px;left:50%;transform:translateX(-50%);background:#152f30;color:white;padding:14px 20px;border-radius:10px;max-width:90%;z-index:20;box-shadow:0 5px 20px #0002;display:none}.seller-tools{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin:22px 0}.metrics{display:flex;gap:10px;margin-bottom:25px;flex-wrap:wrap}.metric{background:white;border:1px solid var(--line);padding:15px 20px;border-radius:12px;flex:1;min-width:110px}.metric strong{font-size:28px;display:block}.metric span{font-size:14px;color:var(--muted)}.customer-card{margin-bottom:14px}.customer-card .sectionhead{margin:0}.sellerline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;border-top:1px solid var(--line);padding-top:15px;margin-top:15px}.sellerline select{font-size:14px;width:170px}.askrow{border-top:1px solid var(--line);padding:14px 0}.quantity{display:flex;align-items:center;gap:12px}.quantity button{min-width:44px}.footnote{font-size:13px;color:var(--muted);margin-top:25px}.favorite{font-size:20px;padding:5px 11px}.favorite.on{color:#a94018}.loading{padding:40px}.row{display:flex;gap:10px;justify-content:space-between;align-items:center}.weeksummary{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 18px}.weeksummary span{background:#e9efef;padding:8px 10px;border-radius:8px;font-size:14px}.error{color:#a63324}.offline{background:#fff0dc;padding:12px;margin-bottom:15px;border-radius:8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:760px){.shell{padding:0 16px 120px}header{padding:18px 0}.brand{font-size:23px}.layout{grid-template-columns:1fr}.order-panel{position:static;grid-row:1}.tabs{gap:6px;margin-bottom:23px}.tabs button{padding:14px 10px;font-size:16px}.tabs small{font-size:12px}h1{font-size:27px}.identity{gap:8px}.identity select{width:100%}.identity>div{width:100%}.panel{padding:17px}.seller-tools{grid-template-columns:1fr 1fr}.seller-tools label:last-child{grid-column:1/-1}.product{padding:16px}.demo{font-size:13px;margin-bottom:18px}.order-panel:has(.empty){display:none}.sellerline{grid-template-columns:1fr}.sellerline select{width:100%}.basket{bottom:10px}.metric{padding:12px}.metric strong{font-size:24px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s ease}}
.product-category{font-size:12px;font-weight:750;letter-spacing:.04em;color:#526763;margin-bottom:7px}.category-label{width:100%;margin-top:5px}.category-label select{font-size:14px}.product h3{font-weight:650}.footnote a{color:#173a3a}.chips{margin-bottom:18px}

/* Compact mobile layout; all actions retain a minimum 44 px touch target. */
.product>div:first-child,.linehead strong,.sellerline>div,.row>*,.sectionhead>*{min-width:0}
.product h3,.linehead strong,.sellerline h3,.badge{overflow-wrap:anywhere}
.linehead>span{flex-shrink:0;white-space:nowrap}
.badge{max-width:100%;vertical-align:middle}
.product .badge{margin-top:6px}
.quantity{flex-wrap:wrap}
dialog{overscroll-behavior:contain;scrollbar-gutter:stable}
@media(max-width:760px){
 .shell{padding:0 14px calc(112px + env(safe-area-inset-bottom,0px))}
 header{padding:12px 0;gap:8px}
 .brand{font-size:22px;gap:7px}
 header button{font-size:13px;padding:9px 10px}
 .demo{gap:3px 10px;padding:7px 10px;margin-bottom:12px;line-height:1.4}
 .identity{gap:5px;margin-bottom:12px}
 .identity label{font-size:12px;margin-bottom:4px}
 .identity select{font-size:15px;min-height:44px;padding:9px 10px}
 .identity>.muted{font-size:12px;line-height:1.4}
 .tabs{position:sticky;top:0;z-index:4;gap:5px;margin:0 -4px 14px;padding:6px 4px 8px;background:#f4f6f7;box-shadow:0 5px 7px -7px #18333360;grid-template-columns:repeat(3,minmax(0,1fr))}
 .tabs button{min-width:0;min-height:70px;padding:10px 8px;font-size:16px;line-height:1.2;text-align:center;border-radius:10px}
 .tabs small{font-size:11px;line-height:1.25;margin-top:5px}
 h1{font-size:25px;line-height:1.2;letter-spacing:-.5px}
 h2{font-size:19px}
 .subtitle{font-size:13px;margin-bottom:12px;line-height:1.45}
 .layout{gap:14px}
 .sectionhead{margin:12px 0 8px;gap:8px;align-items:center;flex-wrap:wrap}
 .sectionhead>.muted{font-size:12px;white-space:nowrap}
 .layout>section>.sectionhead:first-child{margin-top:0}
 .search{margin:4px 0 10px;min-height:44px;font-size:16px}
 .chips{gap:6px;margin-bottom:12px}
 .chips button{font-size:12px;padding:8px 9px;min-height:44px}
 .category-label{font-size:12px;margin-top:0}
 .category-label select{margin-top:4px;min-height:44px;padding:8px 10px}
 .products{gap:9px}
 .product{padding:13px;grid-template-columns:minmax(0,1fr);gap:0;border-radius:12px}
 .product>div:first-child{grid-area:1/1}
 .product .price{grid-area:1/1;justify-self:end;align-self:start;font-size:17px;line-height:1.4}
 .product-category{padding-right:90px;min-height:24px;margin-bottom:5px;font-size:11px;line-height:1.4;letter-spacing:.025em;overflow-wrap:anywhere}
 .product h3{font-size:16px;line-height:1.4}
 .actions{gap:6px;margin-top:10px}
 .actions button{min-height:44px}
 .product .actions .small{padding:8px 11px}
 .product .favorite{margin-left:auto;min-width:44px}
 .panel{padding:14px}
 .order-panel h2{margin-bottom:8px}
 .order-panel>p.muted{margin:6px 0;font-size:12px}
 .orderline{padding:12px 0}
 .linehead{gap:8px;flex-wrap:wrap}
 .linehead strong{font-size:14px;line-height:1.4;flex:1 1 175px}
 .linehead>span{font-size:14px}
 .daybar{margin-bottom:12px;scroll-snap-type:x proximity}
 .daybar button{scroll-snap-align:start;min-width:66px;padding:8px 10px}
 .basket{bottom:calc(8px + env(safe-area-inset-bottom,0px));width:calc(100% - 20px);padding:10px 12px;gap:8px}
 .basket button{font-size:13px;padding:10px;flex-shrink:0}
 .basket strong{font-size:15px}
 .basket small{font-size:11px}
 dialog{padding:18px;max-height:calc(90dvh - env(safe-area-inset-bottom,0px))}
 dialog h2{font-size:20px}
 .modalfoot{gap:8px;margin-top:16px}
 .modalfoot button{flex:1 1 120px}
 .seller-tools{gap:9px;margin:14px 0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .seller-tools label{min-width:0;font-size:12px}
 .seller-tools select,.seller-tools input{font-size:14px;padding:9px 8px}
 .metrics{gap:7px;margin-bottom:16px}
 .metric{min-width:80px;padding:10px}
 .metric span{font-size:12px}
 .metric strong{font-size:23px}
 .customer-card .sectionhead p{margin:7px 0 0}
 .footnote{margin-top:18px;line-height:1.5;overflow-wrap:anywhere}
}
@media(max-width:360px){
 .shell{padding-left:10px;padding-right:10px}
 .tabs button{font-size:15px;padding-left:5px;padding-right:5px}
 .tabs small{font-size:10px}
 .product{padding:12px}
 .product .actions .small{font-size:13px;padding:8px 9px}
 .product-category{padding-right:84px}
 .basket{padding:10px;gap:6px}
 .basket button{font-size:12px;padding:9px}
}
@media(max-width:760px){.tabs small,.basket small,.product-category{font-size:12px}.chips button,.category-label,.seller-tools label,.identity label{font-size:14px}}

/* Guest contact, private seller panel and quick availability workflow. */
.form-stack{display:grid;gap:14px}.form-stack input{width:100%}.form-stack p{margin:2px 0}.quick-form{margin-bottom:20px}.quick-form h2{margin-bottom:12px}.quick-form .form-stack{grid-template-columns:minmax(0,1fr) 90px}.quick-form .form-stack label:first-child{grid-column:1/-1}.quick-form .form-stack button{grid-column:1/-1}.identity>div{flex:1;min-width:0}.identity p{margin:4px 0}.own-panel{position:sticky;top:16px}.own-panel>.empty{margin:14px 0}.customer-card a,.askrow a{color:var(--green)}.footnote a{overflow-wrap:anywhere}.quantity input{width:90px}.brand>span:last-child{letter-spacing:-.6px;line-height:1.15}
@media(max-width:760px){.brand{font-size:20px;min-width:0}.brand>span:last-child{max-width:160px}.own-panel{position:static}.layout>.own-panel{grid-row:2}.identity>div{width:auto}.identity button{width:auto}.seller-tools{grid-template-columns:minmax(0,1fr)}.seller-tools label:last-child{grid-column:auto}.seller-tools input{font-size:16px}.form-stack input{font-size:16px}.customer-card h2,.customer-card p,.askrow h3{overflow-wrap:anywhere}}

/* Oficjalne logo Ślimaka i nazwa wybrana przez użytkownika. */
@media(max-width:760px){.brand{flex-direction:column;align-items:flex-start;gap:5px;font-size:18px}.brandmark{padding:5px 8px;border-radius:8px}.brandlogo{width:96px;height:35px}.brand>span:last-child{max-width:none}}

/* Decyzje sprzedawcy i priorytetowe zamienniki. */
.seller-navigation{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.seller-navigation button{min-height:52px}.seller-navigation .active{background:var(--green);color:white;border-color:var(--green)}
.archive-note{padding:12px 15px;background:#e9efef;border-radius:9px;color:var(--muted);font-size:14px}.inquiry-panel,.priority-panel{margin-bottom:16px}.priority-panel{border:2px solid #ce983a;background:#fffaf0}.priority-panel>h2{color:#77500c}.priority-panel>p{margin:0 0 12px}.priority-order{padding:15px 0;border-top:1px solid #eadbc0}.priority-order>.sellerline{border-top:0;margin-top:8px;padding-top:0}
.seller-decisions{display:flex;gap:8px;align-self:center;flex-wrap:wrap}.seller-decisions .decision{display:flex;justify-content:center;align-items:center;gap:9px;min-height:56px;min-width:126px;padding:10px 16px;font-size:17px;border-width:2px}.decision>span{font-size:26px;line-height:1}.decision.hold{border-color:#a2cdb5;color:#225c42}.decision.missing{border-color:#e5b8a9;color:#943b21}.decision.hold.selected{background:#e0f1e8}.decision.missing.selected{background:#fbe6df}.seller-decisions .decision:disabled{opacity:1;cursor:default}.askrow .seller-decisions{margin-top:12px}.priority-tag{display:inline-flex;background:#fff0ce;color:#795718;font-size:12px;font-weight:700;padding:5px 8px;border-radius:6px;margin:0 0 7px 6px;overflow-wrap:anywhere}.replacement-prompt{background:#fff2e8;border-radius:10px;padding:12px;margin:6px 0 10px}.replacement-prompt p{font-size:14px;margin:0 0 10px}.replacement-prompt p:last-child{margin-bottom:0}.replacement-button{min-height:52px;width:100%;border-color:#d1a38f;color:#853617}.sellerline>div:first-child{min-width:0}
@media(max-width:760px){.seller-navigation{display:grid;grid-template-columns:1fr 1fr;gap:7px}.seller-navigation button{font-size:14px;padding:10px 8px;min-width:0}.seller-decisions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:9px}.seller-decisions .decision{min-width:0;min-height:58px;padding:10px 8px;font-size:18px}.decision>span{font-size:28px}.sellerline{gap:10px}.priority-tag{margin-top:5px}.archive-note{font-size:14px}.seller-tools select{min-height:52px;font-size:16px}.priority-panel{padding:13px}.priority-panel h2{font-size:19px;line-height:1.35}.inquiry-panel h2{line-height:1.35}.replacement-prompt{padding:10px}}


/* Odpowiedzi przed menu; jawne pochodzenie i wybór zamiennika. */
.client-layout{grid-template-columns:minmax(0,1fr)}
.client-layout>.own-panel{position:static;grid-row:1;grid-column:1}
.client-layout>.menu-panel{grid-row:2;grid-column:1;min-width:0}
.response-help{font-size:14px;color:var(--muted)}
.client-responses{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:0 20px}
.response-alert{border:1px solid #d1a38f;background:#fff2e8;padding:14px;border-radius:12px;margin:16px 0}
.response-alert>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.response-alert button{min-height:48px;background:#fff}
.replacement-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.replacement-filters label{display:grid;gap:5px;font-size:14px;min-width:0}
.replacement-filters input,.replacement-filters select{width:100%;min-width:0}
.replacement-results{max-height:38dvh;overflow:auto;overscroll-behavior:contain;margin-top:12px;padding:2px}
.replacement-group{font-size:14px;margin:14px 0 8px;color:#506160}
.replacement-choice{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;padding:12px 10px;margin-bottom:8px;cursor:pointer;min-height:64px}
.replacement-choice.selected{border-color:#24654e;background:#edf6f0;outline:1px solid #24654e}
.replacement-choice:focus-within{outline:2px solid #24654e}
.replacement-choice input{width:20px;height:20px;min-height:20px;flex:0 0 20px;accent-color:#24654e}
.replacement-choice>span:first-of-type{flex:1;min-width:0}
.replacement-choice strong{display:block;font-size:15px;overflow-wrap:anywhere}
.replacement-choice small{display:block;font-size:12px;color:#526460;margin-top:4px;line-height:1.4}
.replacement-price{font-weight:750;flex:0 0 auto;font-size:14px}
.replacement-submit{background:#fff;padding-top:8px}
.replacement-submit p{font-size:14px;line-height:1.4;margin:7px 0 12px}
.replacement-submit button{width:100%;min-height:52px}
.replacement-explanation{font-size:14px}
@media(max-width:760px){.layout.client-layout>.own-panel{grid-row:1}.replacement-filters{grid-template-columns:1fr}.replacement-results{max-height:32dvh}.replacement-choice{padding:10px 8px}.client-responses{grid-template-columns:1fr}}

/* Stałe nagłówki i przycisk; przewijana jest wyłącznie lista wyboru. */
dialog.replacement-dialog[open]{display:flex;flex-direction:column;overflow:hidden;height:min(760px,90dvh)}
.replacement-dialog> :not(.replacement-results){flex-shrink:0}
.replacement-dialog .close{position:absolute;right:18px;top:18px}
.replacement-dialog .replacement-results{flex:1 1 250px;min-height:70px;max-height:none}
@media(max-width:760px){.replacement-dialog .replacement-explanation{font-size:13px;line-height:1.4}.replacement-dialog .replacement-filters{gap:8px}.replacement-dialog .replacement-price{font-size:13px}}

/* Morning reservations and the packing snapshot. */
.morning-panel{min-width:0}.morning-panel .products{margin-top:1rem}.morning-panel>label{display:block;margin:12px 0}.morning-panel select{width:100%}.morning-state{padding:12px 14px;background:#edf4ed;border-radius:12px}.badge.reserved{color:#174b43;background:#d9efe8}.packing-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #e4e9e6}.packing-row span{overflow-wrap:anywhere}.packing-row strong{white-space:nowrap}.packing-summary details{margin-top:18px}.packing-summary summary{cursor:pointer;min-height:44px;font-weight:700}.packing-grid{max-height:420px;overflow:auto}

.menu-preview-day{margin:12px 0}.menu-preview-day summary{min-height:44px;padding:12px;cursor:pointer;font-weight:700}.menu-preview-lines{max-height:440px;overflow:auto}.menu-confirm{display:flex;align-items:center;gap:10px;margin:18px 0}.menu-confirm input{width:24px;min-width:24px;height:24px}

.install-help{max-width:1104px;margin:0 auto 110px;padding:18px 24px;border:1px solid #bbcaca;border-radius:12px;background:white}.install-help p{font-size:14px;margin:8px 0}.install-help button[hidden]{display:none}

.pickup-caption{padding:.6rem .8rem;background:#eef5f1;border-radius:8px}
[data-point-manager] a,.qr-link{overflow-wrap:anywhere}
[data-point-manager] input[type=checkbox]{width:auto;min-height:auto;margin-right:.5rem}
.pickup-qr{display:flex;justify-content:center;background:white;padding:1rem}
.pickup-qr svg{width:min(100%,320px);height:auto}
.pickup-choice{margin:.8rem 0}
