body{margin:0;background:#f1f5f8;color:#193544;font:15px/1.5 system-ui}*{box-sizing:border-box}main{max-width:1200px;margin:25px auto;padding:24px}button,.button{font:inherit;min-height:44px;padding:10px 15px;border:1px solid #cedce5;border-radius:6px;background:#17435e;color:white;cursor:pointer;text-decoration:none;display:inline-block}button.secondary{background:white;color:#193544}input,select,textarea{font:inherit;border:1px solid #b5c7d3;border-radius:5px;padding:11px;max-width:100%}label{display:grid;gap:5px;margin:10px 0}input[type=checkbox]{width:22px;height:22px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px;border-bottom:1px solid #d9e4eb;vertical-align:top}nav,.tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}.panel{padding:20px;background:white;border:1px solid #dbe5ec;border-radius:10px;margin:15px 0}.team-login main{max-width:450px;margin:60px auto;background:white;border-radius:12px;padding:30px}.team-login input{width:100%}.team-login form button{width:100%;margin-top:15px}.team-login a{display:block;margin-top:20px;color:#17435e}[hidden]{display:none!important}.tablewrap{overflow:auto}.team-row{display:flex;align-items:center;gap:12px;padding:12px;background:#fff0ef;margin:8px 0;border:1px solid #f0c2c0;border-radius:8px}.team-row.done{background:#e3f4e9;border-color:#9cc9aa}.team-row span{flex:1}.team-row input[type=number]{width:85px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}dialog{max-width:900px;width:95%;border:0;border-radius:12px;padding:25px}#teamError{color:#a1222b}small{display:block;color:#617b89}@media(max-width:650px){main{padding:15px;margin:0}.team-row{flex-wrap:wrap}.team-row span{flex-basis:100%}.team-login main{margin:20px}}
/* One warehouse task at a time, with the same touch targets on tablet and phone. */
.operations-bon-heading{margin:20px 0}.operations-bon-heading h1{margin-bottom:5px}.operations-bon-heading p{margin:5px 0;overflow-wrap:anywhere}
.operations-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}.operations-stages button{min-height:56px;background:white;color:#24475e}.operations-stages button[aria-pressed=true]{background:#e4efff;color:#174f96;border:2px solid #3978cb}
.operations-progress{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;background:#e9f0f7;border:1px solid #d3e0ec;border-radius:10px;padding:16px;margin-bottom:16px}.operations-progress span{color:#52697a}
.operations-count-row .operations-material{flex:1;min-width:0;overflow-wrap:anywhere}.operations-material>strong{font-size:18px}.operations-row-state{font-weight:750;color:#962f25}.done .operations-row-state{color:#24623b}
.operations-count-controls{display:flex;gap:16px;align-items:end}.operations-count-controls>label{margin:0}.operations-count-controls>button{min-height:56px}.operations-stepper{display:flex;align-items:center;gap:6px}.operations-stepper button{min-width:56px!important;min-height:56px;font-size:26px;padding:6px}.operations-stepper input[type=number]{width:80px;min-height:56px;text-align:center;font-size:20px;appearance:textfield}.operations-stepper input::-webkit-inner-spin-button{appearance:none}
.operations-bon-footer{position:sticky;bottom:0;padding:14px 0;background:#f3f6fa;border-top:1px solid #d3e0ec}.operations-bon-footer button{min-height:56px}#operationsView button:disabled{opacity:.5}
.operations-return-check fieldset{min-width:0;border:1px solid #d3e0ec;border-radius:10px;padding:16px;margin:20px 0}.operations-return-check legend{font-size:17px;font-weight:750;padding:0 8px}.operations-missing{background:#fce0dd;border:1px solid #e4b3ad;padding:14px;border-radius:8px}.operations-return-check textarea{width:100%;min-height:95px;resize:vertical}.operations-return-check input,.operations-return-check select,.operations-return-check textarea{font-size:16px}.operations-all-returned{padding:12px;background:#e3f4e9;border-radius:8px}.operations-issue-select{display:flex;align-items:center;gap:12px;min-height:56px}.operations-issue-select strong{flex:1;overflow-wrap:anywhere}.operations-issue-select input{flex:none}.operations-issue-note{grid-column:1/-1}.operations-return-check form>button{min-height:56px;width:100%}
@media(max-width:900px){.operations-count-row{flex-wrap:wrap}.operations-count-row .operations-material{flex-basis:100%}.operations-count-controls{width:100%;justify-content:space-between}.operations-count-controls>button{flex:1}.operations-stages button{padding:10px 6px;font-size:14px}}
@media(max-width:480px){.operations-count-controls{flex-wrap:wrap}.operations-count-controls>label,.operations-count-controls>button{width:100%}.operations-stepper{justify-content:space-between}.operations-stepper input[type=number]{flex:1;max-width:130px}.operations-bon-footer button{width:100%}.operations-return-check fieldset{padding:12px}.operations-issue-select{flex-wrap:wrap}.operations-issue-select small{width:100%;margin-left:34px}.operations-return-check .grid{grid-template-columns:1fr 1fr}#operationsDialog{width:100%;max-width:100%;max-height:100dvh;margin:auto 0;padding:16px}#operationsNav button{flex:1}}
.operations-condition{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.operations-condition button{min-height:56px;background:white;color:#24475e}.operations-condition button[aria-pressed=true]{background:#e4efff;border:2px solid #3978cb}.operations-condition button[aria-pressed=true]::before{content:'✓ '}.operations-return-check form>.operations-save-later{background:transparent;color:#52697a;border:0;font-size:13px;text-decoration:underline;min-height:44px;margin-top:12px}.operations-return-check button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:600px){.operations-condition{grid-template-columns:1fr}}

.crew-shift header h2{margin:0 0 8px;font-size:20px}.crew-shift-period{font-weight:650;color:#24475e;line-height:1.6;margin:0;overflow-wrap:anywhere}.crew-shift-order{font-size:16px;font-weight:600}.crew-shift-notes{white-space:pre-wrap;overflow-wrap:anywhere}.crew-shift-files{display:inline-flex;align-items:center;min-height:44px}.crew-shift p{overflow-wrap:anywhere}@media(max-width:600px){.crew-shift{padding:16px}.crew-shift-files{width:100%;justify-content:center;box-sizing:border-box}}

.warehouse-article-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0}.warehouse-article-pager label{display:flex;align-items:center;gap:8px;margin:0}.warehouse-article-pages{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.warehouse-article-pages button{min-width:44px;min-height:44px}.warehouse-article-pages button:disabled{opacity:.45;cursor:default}.warehouse-article-actions button{margin:0 6px 6px 0}.warehouse-stock-table td:first-child{overflow-wrap:anywhere}.warehouse-stock-table td:nth-child(3){overflow-wrap:anywhere}#operationsSearch{width:100%;margin:8px 0}@media(max-width:650px){.warehouse-stock-table thead{display:none}.warehouse-stock-table tr{display:grid;grid-template-columns:minmax(60px,1fr) minmax(0,2fr);gap:12px;border:1px solid #d9e4eb;background:white;border-radius:10px;padding:14px;margin-bottom:12px}.warehouse-stock-table td{display:block;border:0;padding:0;min-width:0}.warehouse-stock-table td:first-child,.warehouse-stock-table td:last-child{grid-column:1/-1}.warehouse-stock-table td[data-label]:before{content:attr(data-label);display:block;color:#617b89;font-size:12px;margin-bottom:4px}.warehouse-article-actions{display:flex!important;gap:8px}.warehouse-article-actions button{flex:1;margin:0}.warehouse-article-pages{width:100%;justify-content:space-between}.warehouse-article-pager{align-items:center}}
.operations-bon-filter{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:8px 20px;padding:16px;background:white;border:1px solid #d3e0ec;border-radius:10px;margin:16px 0}.operations-bon-filter label{margin:0}.operations-bon-filter input[type=search]{width:100%;min-height:48px;font-size:16px}.operations-bon-filter .operations-pending-filter{display:flex;align-items:center;gap:10px;min-height:48px;align-self:end}.operations-bon-filter small,.operations-bon-filter p{grid-column:1/-1}.operations-bon-filter p{margin:0;color:#962f25}@media(max-width:600px){.operations-bon-filter{grid-template-columns:1fr}.operations-bon-filter .operations-pending-filter{justify-content:flex-start}}
.operations-ready-location{display:inline-flex;align-items:center;gap:12px;padding:10px 14px;margin-top:12px;background:#e7f0fa;border:1px solid #caddec;border-radius:8px}.operations-ready-location small{color:#3a596e}.operations-ready-location strong{font-size:18px;overflow-wrap:anywhere}.operations-order-changed{padding:12px 14px;background:#fff0d5;border:1px solid #e4c387;border-radius:8px;color:#735013;font-weight:650}.operations-material .operations-previous-material{color:#725111;font-weight:600}@media(max-width:600px){.operations-ready-location{display:flex;flex-wrap:wrap}}
.operations-count-controls{flex-wrap:wrap}.operations-count-error{flex-basis:100%;margin:0;color:#962f25;font-weight:650}
.warehouse-extra-tools{display:grid;grid-template-columns:1fr 1fr;gap:16px}.warehouse-extra-tools input,.warehouse-extra-tools select{width:100%;min-width:0;font-size:16px}.warehouse-extra-pages{display:flex;align-items:center;gap:8px;margin:12px 0}.warehouse-extra-pages span{flex:1}.warehouse-extra-pages button{min-width:44px}.warehouse-extra-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #d9e4eb}.warehouse-extra-row>div:first-child{min-width:0;overflow-wrap:anywhere}.warehouse-extra-counter{display:flex;gap:6px;flex:none}.warehouse-extra-counter button{min-width:48px;min-height:48px;font-size:24px;padding:4px}.warehouse-extra-counter input{width:76px;min-height:48px;text-align:center;font-size:18px}.warehouse-extra-short{color:#962f25}.warehouse-extra-row.warehouse-extra-short{background:#fff0ef;padding:12px;border-radius:8px}.warehouse-extra-footer{position:sticky;bottom:0;display:flex;gap:16px;justify-content:space-between;align-items:center;background:white;padding:16px 0;border-top:1px solid #d9e4eb}.warehouse-extra-footer button{min-height:52px}.warehouse-extra-footer small{color:#962f25}@media(max-width:600px){.warehouse-extra-tools{grid-template-columns:1fr;gap:0}.warehouse-extra-row{flex-wrap:wrap}.warehouse-extra-counter{width:100%;justify-content:space-between}.warehouse-extra-counter input{flex:1;max-width:150px}.warehouse-extra-footer{flex-wrap:wrap}.warehouse-extra-footer button{width:100%}}
.warehouse-extra-row .warehouse-extra-availability{display:block;background:transparent;color:#185c8a;border:0;padding:8px 0;text-align:left;text-decoration:underline;min-height:44px;font-size:13px}.warehouse-extra-reservation-component{padding:14px 0;border-top:1px solid #d9e4eb}.warehouse-extra-reservation-component h4{margin:0 0 10px;font-size:16px}.warehouse-extra-reservation-counts{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0}.warehouse-extra-reservation{display:grid;gap:4px;padding:12px;background:#edf3f8;border:1px solid #d6e2ec;border-radius:8px;margin:8px 0;overflow-wrap:anywhere}[data-extra-planning]>h3{margin:20px 0 12px}[data-extra-planning]>label{max-width:260px}[data-extra-planning] input{min-height:48px;font-size:16px}
.warehouse-order-search{max-width:650px}.warehouse-order-search input{width:100%;min-height:48px;font-size:16px}.warehouse-order-card{border-left:5px solid #c5d2db}.warehouse-order-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.warehouse-order-card header>div{min-width:0}.warehouse-order-card h2{margin:0;font-size:20px;overflow-wrap:anywhere}.warehouse-order-card p{margin:4px 0;overflow-wrap:anywhere}.warehouse-order-status{padding:5px 9px;background:#edf2f6;border-radius:6px;flex-shrink:0}.warehouse-order-pack{border-left-color:#d39b2b}.warehouse-order-pack .warehouse-order-status{background:#fff1d5;color:#75500c}.warehouse-order-ready{border-left-color:#399264}.warehouse-order-ready .warehouse-order-status{background:#e2f3e9;color:#1c6242}.warehouse-order-back{border-left-color:#5186ba}.warehouse-order-back .warehouse-order-status{background:#e6effb;color:#28517e}.warehouse-order-details{display:flex;gap:10px 24px;flex-wrap:wrap;margin:12px 0;color:#526a79}.warehouse-order-details strong{color:#193544}.warehouse-order-actions{display:flex;gap:10px;flex-wrap:wrap}.warehouse-order-actions button{min-height:48px}@media(max-width:600px){.warehouse-order-card{padding:16px}.warehouse-order-card header{flex-direction:column;gap:8px}.warehouse-order-details{display:grid;gap:5px}.warehouse-order-actions button{flex:1;min-width:125px}.warehouse-order-status{font-size:14px;max-width:100%;overflow-wrap:anywhere}}

.warehouse-order-details span{min-width:0;overflow-wrap:anywhere}
