/* Receiving and handover views share the established Xtreme interface. */
.towel-photo-thumbnail{display:block;width:100%;padding:0;border:0;border-radius:10px;background:transparent;cursor:zoom-in}.towel-photo-thumbnail:focus-visible{outline:3px solid var(--green);outline-offset:4px}
.towel-photo-backdrop{position:fixed;inset:0;z-index:2100;background:rgba(10,25,21,.88);padding:16px;display:flex;justify-content:center;align-items:center}.towel-photo-viewer{width:min(1120px,100%);height:100%;max-height:calc(100dvh - 32px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:var(--paper,#fff);color:var(--ink,#173d35);border-radius:16px;overflow:hidden}.towel-photo-viewer header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px}.towel-photo-viewer h2{margin:0;font-size:20px;overflow-wrap:anywhere}.towel-photo-viewer #close-towel-photo{min-height:60px;min-width:220px;font-size:18px;font-weight:750;border:2px solid var(--green);color:var(--green);background:#fff;flex-shrink:0}.towel-photo-stage{min-height:0;display:flex;align-items:center;justify-content:center;background:#111;cursor:zoom-out}.towel-photo-stage img{display:block;width:100%;height:100%;object-fit:contain}.towel-photo-viewer>p{margin:0;padding:12px 20px;font-size:13px;line-height:1.5}@media(max-width:600px){.towel-photo-backdrop{padding:8px}.towel-photo-viewer{max-height:calc(100dvh - 16px)}.towel-photo-viewer header{flex-direction:column;align-items:stretch;gap:10px;padding:12px}.towel-photo-viewer #close-towel-photo{width:100%;min-width:0}.towel-photo-viewer h2{font-size:16px}}
:is(.workspace,.modal):is([data-page="packer"],[data-page="handovers"]) .badge.pending{background:#fde7e7;color:#a51d2d;border:1px solid #e7a7ae;font-weight:700}.workspace[data-page="packer"] [data-action="filter"][data-value="pending"]{color:#a51d2d;border-color:#e7a7ae}.workspace[data-page="packer"] [data-action="filter"][data-value="pending"].active{background:#fde7e7}.workspace[data-page="packer"] .summary .stat:last-child :is(.label,.value){color:#a51d2d}
button.visible-back{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:60px;width:320px;min-width:0;max-width:100%;padding:16px 24px;margin:0 0 24px;font-size:18px;font-weight:750;line-height:1.3;background:var(--light);color:var(--green);border:2px solid var(--green);border-radius:12px;box-shadow:0 3px 8px #173f3514}button.visible-back:hover{background:#d7e8dc}button.visible-back svg{width:26px;height:26px;flex-shrink:0;stroke-width:2.2}@media(max-width:600px){button.visible-back{width:100%;min-width:0}}
.dryer-record-form{max-width:850px}.dryer-extra{padding:14px;border-radius:10px;background:#e1eadc;color:var(--green);font-weight:600}
.towel-photo-actions{display:flex;gap:10px;flex-wrap:wrap;align-content:center;align-items:center}.towel-photo-actions button{min-height:46px;flex:1;min-width:125px}.towel-photo-actions small{flex-basis:100%;line-height:1.5;color:var(--muted)}.towel-photo-actions input[hidden],#photo-files[hidden]{display:none!important}.towel-camera-backdrop{position:fixed;inset:0;z-index:2000;background:rgba(15,37,31,.8);display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto}.towel-camera{width:min(700px,100%);max-height:95dvh;overflow-y:auto;background:var(--paper,#fff);border-radius:20px;padding:24px;color:var(--ink,#173d35)}.towel-camera h2{margin:0}.towel-camera video{width:100%;max-height:55dvh;object-fit:contain;background:#172c26;border-radius:12px}.towel-camera p{line-height:1.5;overflow-wrap:anywhere}.towel-camera .row{flex-wrap:wrap}.towel-camera .row:last-child button{flex:1;min-height:48px}.towel-camera video[hidden]{display:none}.towel-camera #camera-message{font-size:13px}@media(max-width:450px){.towel-camera{padding:16px}.towel-photo-actions button{min-width:110px}}
.group-pack-choice{border:1px solid var(--border);border-radius:12px;padding:16px;margin:14px 0;background:#f4f7f1}.group-pack-choice .wash-checkbox small{display:block;color:var(--muted)}.group-pack-choice textarea{min-height:65px}.group-pack-choice:has(input[data-pack-select]:not(:checked))>label:not(.wash-checkbox),.group-pack-choice:has(input[data-pack-select]:not(:checked))>input,.group-pack-choice:has(input[data-pack-select]:not(:checked))>textarea{display:none}.group-confirm-list{padding:0;list-style:none}.group-confirm-list li{padding:15px;background:#f4f7f1;border-radius:10px;margin:12px 0}.group-confirm-list span{display:block;margin-top:6px;font-size:13px}
.group-pack-keypad[hidden]{display:none}.group-pack-keypad{width:100%;margin:12px auto 24px}.group-pack-keypad button{min-height:66px;touch-action:manipulation}.group-pack-choice input[id^="pack-quantity-"]{max-width:480px;margin:0 auto;display:block;font-size:32px;text-align:center;font-weight:700}
.group-packing-count{font-size:14px;color:var(--green);font-weight:600;margin:12px 0}.group-packing-status{margin:10px 0}.group-packing-status small{display:block;margin-top:5px;font-size:11px}.wash-member button[data-wash="pack-member"]{margin:8px 0 8px 8px}
.wash-picker-photo-section{margin:20px 0}.wash-picker-photo-section h3{font-size:17px}.wash-picker-photo{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:16px;margin:12px 0;border:1px solid var(--border);border-radius:12px;background:#f4f7f1}.wash-picker-photo h4{font-size:13px;line-height:1.5;margin:0 0 10px}.wash-picker-photo img{display:block;width:100%;height:130px;object-fit:contain;margin:12px 0;border-radius:8px;background:white}.wash-picker-photo small{display:block;overflow-wrap:anywhere;margin-top:8px;font-size:11px}.wash-picker-photo input[type=file]{font-size:11px;padding:8px;background:white}.wash-picker-photo label{font-size:12px}.wash-picker-photo>div{min-width:0}@media(max-width:450px){.wash-picker-photo{grid-template-columns:1fr}}
.wash-process{margin:22px 0;padding:20px;background:#f4f7f1;border:1px solid var(--border);border-radius:14px}.wash-process h3{margin:0 0 8px;font-size:17px}.wash-process-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dryer-time-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dryer-total{display:flex;flex-direction:column;justify-content:center;gap:12px;font-size:12px}.dryer-total strong{font-size:22px;color:var(--green)}.wash-ingredients{padding:16px 0;margin:20px 0;border:0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);min-width:0}.wash-ingredients legend{font-size:15px;font-weight:600;padding:0 8px 0 0}.wash-ingredient{display:grid;grid-template-columns:minmax(140px,1.4fr) minmax(120px,1fr);gap:12px;align-items:center;margin:10px 0}.wash-ingredient .wash-checkbox{font-size:13px}.wash-ingredient .footnote{margin:0 0 4px}.wash-process input,.wash-process select{background:white}.wash-process input:disabled,.wash-process select:disabled{background:#e9eee5;opacity:.65}.dryer-over-limit{color:#9b4432;font-weight:600}.wash-process-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.wash-process-summary dt{font-size:12px;color:var(--muted)}.wash-process-summary dd{margin:7px 0;font-weight:600}.wash-process li{line-height:1.8;font-size:13px}@media(max-width:600px){.wash-process{padding:14px}.wash-process-grid{gap:10px}.wash-ingredient{grid-template-columns:minmax(115px,1.3fr) minmax(110px,1fr);gap:8px}.wash-ingredient input,.wash-ingredient select{padding:10px 6px}.wash-ingredient .wash-checkbox{gap:6px;font-size:12px}.wash-process-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dryer-total strong{font-size:18px}}@media(max-width:390px){.wash-process-grid{grid-template-columns:1fr}.wash-ingredient{grid-template-columns:1fr 1fr}.wash-ingredient>.wash-checkbox{grid-column:1/-1;margin-bottom:0}}
.receipt-card{margin:14px 0}.receipt-card h3{margin-bottom:5px}.bag-tally{display:flex;gap:20px;flex-wrap:wrap;padding:12px 0;font-size:13px}.bag-tally strong{font-size:24px;padding:0 5px}.wash-checkbox{display:flex;gap:10px;align-items:center;margin:10px 0;font-weight:500;line-height:1.5}.wash-checkbox input{width:20px;height:20px;flex:none;accent-color:var(--green)}.wash-selection{flex-wrap:wrap;margin:20px 0;font-size:12px;color:var(--muted)}.batch-outlets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.batch-outlets>div{background:#f4f7f1;border-radius:12px;padding:14px;font-size:13px;line-height:1.6}.batch-outlets small{display:block;margin:5px 0}.wash-member{border-top:1px solid var(--border);padding:22px 0}.wash-member h3{font-size:17px;line-height:1.5;margin-bottom:6px}.wash-member .row{align-items:flex-start;flex-wrap:wrap}.wash-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:15px 0}.wash-photos figure{margin:0;background:white;border:1px solid var(--border);padding:10px;border-radius:12px}.wash-photos img{width:100%;height:200px;object-fit:contain;display:block;background:#edf1e9;border-radius:8px}.wash-photos figcaption{font-size:12px;line-height:1.5;margin:10px 0;overflow-wrap:anywhere}.wash-text{white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere}.wash-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.download-link{font-size:13px;color:var(--green);padding:10px}.wash-member label{line-height:1.5}.wash-member .badge{white-space:normal;flex-shrink:0}.receipt-card>.row{flex-wrap:wrap}.receipt-card .row>div{min-width:0}.receipt-card h3{overflow-wrap:anywhere}.modal:has(.wash-member){max-width:900px}.sidebar{overflow-y:auto}.sidebar-bottom{flex-shrink:0}
@media(max-width:800px){.batch-outlets{grid-template-columns:1fr}.wash-photos img{height:150px}.wash-photos{gap:8px}.wash-photos figure{padding:7px}.bag-tally{gap:10px}.wash-member h3{font-size:15px}.wash-member .row.between{display:block}.receipt-card .badge{white-space:normal}.sidebar{overflow-y:visible}.wash-selection button{width:100%}}

.car-route-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin:20px 0}.car-route h2{margin:0}.car-route .row{gap:10px;flex-wrap:wrap}.car-preview{font-size:12px;line-height:1.7;min-height:80px}.car-combine-bar,.car-counts{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:20px 0;padding:18px;background:#edf3ed;border-radius:12px}.car-counts strong{font-size:25px}.missing-count{color:#9b4432}.car-customer{display:flex;justify-content:space-between;align-items:center;gap:18px;background:white;border:1px solid var(--border);border-radius:12px;padding:16px;margin:10px 0}.car-customer h3{font-size:15px;line-height:1.5;margin:4px 0}.car-customer .footnote{margin:5px 0}.car-customer.is-missing{background:#fff4ed;border-color:#e1bba9}.car-customer-actions{display:flex;flex-direction:column;gap:8px;min-width:125px;flex-shrink:0}.car-mix-options{max-height:310px;overflow-y:auto;padding:8px;background:#edf3ed;border-radius:12px}.car-customer small{font-size:11px}.car-customer>div:first-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){.car-route-grid{grid-template-columns:1fr}.car-customer{align-items:flex-start;gap:10px;padding:12px}.car-customer-actions{min-width:95px;max-width:110px}.car-customer-actions button{white-space:normal;padding:10px}.car-counts{padding:12px;gap:10px}.car-combine-bar button{width:100%}.car-route .full{white-space:normal}.tabs{overflow-x:auto;white-space:nowrap}}

.modal:has(#wash-picker-form){max-width:850px}.wash-picker-toolbar{gap:12px;margin:12px 0;flex-wrap:wrap;font-size:12px}.wash-picker-results{max-height:300px;overflow-y:auto;border:1px solid var(--border);border-radius:12px}.wash-picker-option{display:flex;align-items:center;gap:12px;padding:14px;margin:0;border-bottom:1px solid var(--border);cursor:pointer}.wash-picker-option:last-child{border-bottom:0}.wash-picker-option input{width:20px;height:20px;flex:none;accent-color:var(--green)}.wash-picker-option>span:nth-child(2){flex:1;min-width:0}.wash-picker-option strong{font-size:13px;overflow-wrap:anywhere}.wash-picker-option small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.wash-picker-selected{background:#edf3ed;border-radius:12px;margin:16px 0;padding:14px;font-size:13px}#wash-picker-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}#wash-picker-chips button{white-space:normal;text-align:left}.wash-picker-results .empty{padding:18px}@media(max-width:600px){.wash-picker-option{gap:8px;padding:10px}.wash-picker-option .badge{display:none}}

.order small{display:block;font-size:10px;margin-bottom:4px;color:var(--green)}.completed-dryer-link{margin:-5px 0 28px}

.washer-flow-tabs{margin-bottom:24px}.washer-flow-tabs button{flex:1;min-width:130px}
.completed-card-handover{margin-top:20px}.completed-card-handover>.primary{min-height:60px;font-size:18px}.completed-card-handover [data-handover-error]{color:var(--red)}.completed-card-handover [data-handover-error]:empty{display:none}

.packer-status-tabs{margin-top:28px;margin-bottom:16px}
.dryer-handover{max-width:850px;margin:22px 0;border:2px solid #a6c8b6}.dryer-handover>.primary{min-height:60px;font-size:18px}.dryer-handover .row{flex-wrap:wrap}.packer-packing-section{border-top:3px solid var(--green);margin-top:22px;padding-top:24px}.packer-packing-section>h3{font-size:22px}.packed-customer{padding:18px;margin:16px 0;border:1px solid var(--border);border-radius:12px;background:#edf4ed}.packed-customer h4{margin:0 0 12px;font-size:15px}.packed-customer .wash-text{margin-bottom:12px}#dryer-handover-error{color:var(--red)}
.packer-delivery{display:inline-flex;align-items:center;border-radius:7px;padding:6px 9px;margin:7px 0;background:#e8f1eb;color:#175847;font-size:12px;font-weight:700;line-height:1.5}.packer-delivery.due-now{background:#fde7e7;color:#a51d2d}.packer-group-due{margin:8px 0}.packer-group-due .packer-delivery{font-size:14px}.packer-view-tabs button{min-width:155px}.packer-view-tabs{margin-bottom:24px}#task-list>.list-card{margin:14px 0}
.wash-submit-actions{display:grid;gap:12px;margin-top:22px}.wash-submit-actions .wash-continue{display:flex;align-items:center;justify-content:center;gap:12px;min-height:62px;background:#16743c;border:2px solid #16743c;color:white;font-size:18px;font-weight:750}.wash-submit-actions .wash-continue:hover{background:#125d31;border-color:#125d31}.wash-submit-actions .footnote{margin:0}
