.wh-module{min-width:0;display:flex;flex-direction:column;gap:12px}.wh-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.wh-heading h1{font-size:23px;margin:3px 0}.wh-heading .eyebrow{font-size:10px;letter-spacing:.1em}.wh-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:10px 0}.wh-toolbar label{display:flex;flex-direction:column;gap:4px;font-size:12px}.wh-toolbar input,.wh-toolbar select{min-height:36px}.wh-search{flex:1;min-width:180px;max-width:420px}.wh-source{margin-left:auto;color:var(--muted,#62717f);font-size:12px;align-self:center}.wh-result-meta,.wh-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--muted,#617184);margin:10px 0}.wh-section-title h2{font-size:16px;color:var(--text,#203146)}.wh-table-wrap{overflow:auto;max-height:calc(100vh - 290px);border:1px solid var(--border,#dde3e8);border-radius:7px;background:var(--surface,#fff)}.wh-table-wrap table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.wh-table-wrap th{position:sticky;top:0;z-index:2;background:var(--surface-subtle,#f1f4f7);text-align:left;white-space:nowrap;padding:9px 10px;border-bottom:1px solid var(--border,#dce3e9)}.wh-table-wrap td{padding:9px 10px;border-bottom:1px solid var(--border,#edf0f3);max-width:380px}.wh-table-wrap tr:hover td{background:#f6f9fc}.wh-table-wrap .numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.wh-sort{border:0;background:transparent;padding:0;color:inherit;font:inherit;font-weight:600;cursor:pointer}.wh-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px 0;font-size:12px}.wh-status{display:inline-flex;align-items:center;padding:3px 8px;border-radius:5px;font-size:11px;font-weight:600;white-space:nowrap;background:#edf1f5;color:#526173}.wh-counting,.wh-recount,.wh-preparing,.wh-in_transit{background:#e6f0ff;color:#2058a0}.wh-approved,.wh-closed,.wh-dispatched,.wh-received,.wh-reconciled,.wh-active{background:#e4f3eb;color:#20653e}.wh-pending_approval,.wh-review,.wh-requested,.wh-partial,.wh-pending{background:#fff1d9;color:#865b14}.wh-cancelled,.wh-rejected,.wh-inactive{background:#f9e8e7;color:#9a4140}.wh-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:12px 0 22px}.wh-metrics>div{border:1px solid var(--border,#dce3e9);border-radius:8px;background:var(--surface,#fff);padding:15px;display:flex;flex-direction:column;gap:7px}.wh-metrics span{color:var(--muted,#617184);font-size:12px}.wh-metrics strong{font-size:25px;font-weight:650;color:var(--text,#1e3b50)}.wh-compact{margin:12px 0;grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}.wh-compact>div{padding:10px}.wh-compact strong{font-size:19px}.wh-document-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px}.wh-note{font-size:13px;margin:10px 0}.wh-snapshot{padding:9px 12px;background:#edf4fb;border-left:3px solid #4785b8;display:flex;gap:16px;flex-wrap:wrap;font-size:12px}.wh-snapshot span{color:#617184}.wh-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.wh-footnote{font-size:11px;color:var(--muted,#617184);margin:6px 0}.wh-dialog{width:min(1000px,calc(100vw - 30px));max-height:92vh;border:1px solid #dce3e9;border-radius:12px;padding:0;color:var(--text,#23374b);background:var(--surface,#fff)}.wh-dialog::backdrop{background:rgba(18,33,50,.38)}.wh-dialog .dialog-heading{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e5eb}.wh-dialog h2{font-size:18px;margin:0}.wh-dialog-body{padding:18px 20px;overflow:auto;max-height:calc(90vh - 140px)}.wh-dialog footer{padding:12px 20px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e0e5eb}.wh-dialog label{display:flex;flex-direction:column;gap:5px;font-size:12px;margin-bottom:9px}.wh-dialog input,.wh-dialog textarea,.wh-dialog select{width:100%;min-height:36px}.wh-dialog input[type=checkbox]{width:18px;min-height:18px}.wh-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wh-full{grid-column:1/-1}.wh-count-table input[data-count]{width:125px;min-height:38px;text-align:right;font-size:16px;font-variant-numeric:tabular-nums}.wh-cell-state{display:block;max-width:200px;font-size:10px;white-space:normal;text-align:left;color:#37744d}.wh-invalid{border:2px solid #b33939!important}.wh-invalid+.wh-cell-state{color:#b33939}.wh-history{margin-top:15px;font-size:12px}.wh-history summary{cursor:pointer;padding:10px 0}.wh-recount-list{max-height:320px;overflow:auto}.wh-recount-list label,.wh-approval label{display:flex;flex-direction:row;align-items:center}.wh-warehouse-links{display:flex;gap:9px;flex-wrap:wrap}.wh-dialog [data-lines]{margin-top:10px}.wh-table-wrap input{max-width:160px}.wh-approval{padding:10px;background:#f4f8fc;border-radius:6px;margin-bottom:12px}
@media(max-width:1000px){.wh-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wh-table-wrap{max-height:calc(100vh - 320px)}.wh-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.wh-heading{align-items:start}.wh-heading .actions{flex-wrap:wrap;justify-content:flex-end}.wh-count-table td{padding:8px}.wh-count-table input[data-count]{min-height:44px}}
@media(max-width:650px){.wh-heading{flex-direction:column}.wh-heading h1{font-size:20px}.wh-heading .actions{justify-content:start}.wh-toolbar{gap:8px}.wh-source{margin-left:0}.wh-form-grid{grid-template-columns:1fr}.wh-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.wh-document-meta{gap:8px}.wh-dialog-body{padding:12px}.wh-table-wrap{max-height:65vh}.wh-result-meta{align-items:start;flex-direction:column}.wh-pagination{justify-content:space-between}}
@media print{body:has(.wh-module) .sidebar,body:has(.wh-module) .topbar,.wh-module button,.wh-module .actions,.wh-toolbar,.wh-pagination,.wh-actions,.wh-history{display:none!important}.wh-table-wrap{max-height:none;overflow:visible}.wh-module{font-size:10pt}.wh-table-wrap th{position:static}.wh-heading h1{font-size:18pt}}
@media(max-width:900px){.wh-capture th[data-column="location"],.wh-capture td[data-cell="location"],.wh-capture th[data-column="unit"],.wh-capture td[data-cell="unit"],.wh-capture th[data-column="history"],.wh-capture td[data-cell="history"]{display:none}.wh-capture table{table-layout:fixed}.wh-capture th[data-column="productCode"]{width:70px}.wh-capture th[data-column="countQuantity"]{width:145px;white-space:normal}.wh-capture th[data-column="description"]{white-space:normal}.wh-capture td{overflow-wrap:anywhere}.wh-capture input[data-count]{max-width:100%;width:120px}.wh-capture .sap-column-heading{white-space:normal}}

.wh-mobile-meta{display:none}@media(max-width:900px){.wh-capture .wh-mobile-meta{display:block;margin-top:5px;color:#617184;font-size:11px}}

.wh-operational-summary{display:flex;align-items:baseline;gap:16px;padding:9px 0;border-bottom:1px solid var(--border,#dde3e8);font-size:12px}.wh-summary-title{min-width:105px;font-weight:600}.wh-summary-title strong{margin-left:6px}.wh-chips{display:flex;gap:8px 15px;align-items:center;flex-wrap:wrap;font-size:12px;margin:5px 0 10px}.wh-chips a,.wh-chips button{padding:4px 0}.wh-chips strong{margin-left:5px;font-variant-numeric:tabular-nums}.wh-commitment-totals{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:12px;padding:10px 0;border-block:1px solid #dde3e8}.wh-commitment-totals strong{display:block;margin-top:4px;font-size:18px}.wh-age-normal{background:#eef3f4;color:#48646b}.wh-age-attention{background:#f8f1dd;color:#806428}.wh-age-old{background:#f1e7df;color:#845536}@media(max-width:900px){.wh-operational-summary{display:block}.wh-chips{margin-top:8px}.wh-commitment-totals{gap:10px 15px}}

.wh-line-caption{display:block;margin-top:4px;color:#617184;font-size:11px}.wh-dialog [data-request-error]{display:block;max-width:240px;white-space:normal}.wh-dialog [data-request-lines] .error{display:block}

.wh-model-qty{width:90px}.wh-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.wh-info-grid dt{font-size:12px;color:#64748b}.wh-info-grid dd{margin:4px 0;overflow-wrap:anywhere}
.wh-column-choice{display:flex;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid var(--border,#dde3e8)}.wh-column-choice label{display:flex;flex-direction:row;align-items:center;gap:9px;flex:1;min-width:0}.wh-column-choice input[type=checkbox]{width:16px;min-height:16px;flex:none}.wh-column-choice button{min-width:32px;min-height:32px}.wh-movement-scope label{display:flex;flex-direction:column;gap:4px;min-width:0}.wh-movement-scope input,.wh-movement-scope select{width:100%;min-width:0}


.wh-posting-line,.wh-posting-details{border-top:1px solid var(--border,#d9e1dd);padding:12px 0}.wh-posting-line .wh-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.wh-posting-line .wh-toolbar strong{flex:1;min-width:180px}.wh-posting-line [data-total]{max-width:140px}.wh-posting-line table{min-width:640px}.wh-posting-line td{min-width:115px}.wh-posting-line td:last-child{min-width:100px}.wh-posting-line input{width:100%;min-width:90px}.wh-posting-details p{font-size:12px}
.wh-dialog [data-request-lines] .wh-request-table{table-layout:fixed;min-width:850px;width:100%}
.wh-dialog [data-request-lines] .wh-request-table th,.wh-dialog [data-request-lines] .wh-request-table td{padding:8px 6px;white-space:normal;overflow-wrap:break-word;text-overflow:clip}
.wh-dialog [data-request-lines] .wh-request-table td.numeric{white-space:normal;font-variant-numeric:tabular-nums}
.wh-dialog [data-request-lines] .wh-request-table input{min-width:0;width:100%;text-align:right}
.wh-request-table .wh-col-code,.wh-request-table .wh-col-previous{width:8%!important}
.wh-request-table .wh-col-description{width:28%!important}
.wh-request-model .wh-col-description{width:20%!important}
.wh-request-table .wh-col-unit{width:6%!important}
.wh-request-table .wh-col-available{width:9%!important}
.wh-request-table .wh-col-quantity,.wh-request-table .wh-col-amount{width:12%!important}
.wh-request-table .wh-col-cost{width:11%!important}
.wh-request-table .wh-col-currency,.wh-request-table .wh-col-remove{width:7%!important}
.wh-dialog input[type=radio]{width:18px;min-height:18px}
@media(max-width:650px){.wh-dialog footer{flex-wrap:wrap;padding:10px 12px}}

/* Accounting uses the same presentation components as the cash template. */
.wh-accounting{gap:10px}.wh-accounting .wh-heading .eyebrow{display:none}.wh-accounting .wh-sort{font-weight:inherit}.wh-accounting .dc-table td:not(.dc-empty){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wh-accounting .dc-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.wh-accounting .dc-pagination{flex-wrap:wrap}
.wh-fuel-entry{min-width:0}.wh-fuel-toolbar{justify-content:space-between;align-items:center;margin:10px 0}.wh-fuel-toolbar>strong{margin-right:auto;font-size:12px}
.wh-fuel-support-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.wh-fuel-support-actions select{width:170px;min-height:30px;max-width:100%}
.wh-fuel-grid{max-height:calc(100dvh - 360px);min-height:100px;border-radius:5px}.wh-fuel-table{min-width:1330px;table-layout:fixed}
.wh-fuel-grid .wh-fuel-table th,.wh-fuel-grid .wh-fuel-table td{padding:3px 6px;height:34px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.wh-fuel-table th:nth-child(1){width:115px}.wh-fuel-table th:nth-child(2){width:125px}.wh-fuel-table th:nth-child(3){width:105px}.wh-fuel-table th:nth-child(4){width:220px}.wh-fuel-table th:nth-child(5){width:50px}.wh-fuel-table th:nth-child(6),.wh-fuel-table th:nth-child(7){width:75px}.wh-fuel-table th:nth-child(8){width:105px}.wh-fuel-table th:nth-child(9){width:80px}.wh-fuel-table th:nth-child(10){width:155px}.wh-fuel-table th:nth-child(n+11){width:60px}.wh-fuel-table th:last-child:empty{width:40px}
.wh-fuel-grid .wh-fuel-table input:not([type=checkbox]),.wh-fuel-grid .wh-fuel-table select{width:100%;min-width:0;max-width:none;min-height:28px;height:28px;padding:3px 5px;border:1px solid transparent;background:transparent;border-radius:2px;font:inherit;color:inherit}
.wh-fuel-grid .wh-fuel-table .ui-form-field{width:100%;min-width:0;max-width:none;margin:0}.wh-fuel-grid .wh-fuel-table .ui-field-display{padding-right:23px!important}
.wh-fuel-grid .wh-fuel-table input:hover,.wh-fuel-grid .wh-fuel-table input:focus,.wh-fuel-grid .wh-fuel-table select:focus{border-color:#93b7b0;background:white;outline-color:#168577}
.wh-fuel-grid .wh-fuel-table input[inputmode=decimal]{text-align:right;font-variant-numeric:tabular-nums}.wh-fuel-grid .wh-fuel-table input[readonly]{color:#46665e;background:#f3f7f6}
.wh-fuel-table .wh-fuel-check{text-align:center}.wh-fuel-grid input[type=checkbox]{width:15px;height:15px;min-height:15px;accent-color:#147d70;vertical-align:middle}.wh-fuel-unreviewed>td:first-child{box-shadow:inset 3px 0 #deb658}.wh-fuel-excluded{background:#f2f5f5;color:#687b79}
.wh-fuel-reading{padding:4px 0;margin:4px 0;font-size:12px}.wh-fuel-reading summary{cursor:pointer}.wh-fuel-reading p{margin:4px 0}.wh-fuel-summary{flex-wrap:wrap}.wh-fuel-summary [data-fuel-totals]{font-weight:600}
.wh-fuel-notes{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:1000px}.wh-fuel-notes label{display:flex;flex-direction:column;gap:4px;font-size:12px}.wh-fuel-notes input{width:100%;min-height:32px}.wh-fuel-entry .wh-actions{align-items:center}.wh-fuel-entry [data-fuel-state]{font-size:12px;color:#59736c}
.wh-fuel-issues{padding-left:20px;font-size:12px;line-height:1.7}.wh-dialog .wh-fuel-review-check{display:flex;flex-direction:row;align-items:center}
@media(max-width:650px){.wh-fuel-notes{grid-template-columns:1fr}.wh-fuel-support-actions{width:100%}.wh-fuel-support-actions select{flex:1;min-width:100px}.wh-fuel-grid{max-height:55dvh}.wh-fuel-summary{align-items:start}}

.wh-dispatch-entry{display:flex;flex-direction:column;gap:14px;min-width:0;margin-top:16px}
.wh-dispatch-entry label{display:flex;flex-direction:column;gap:5px;font-size:12px;min-width:0}
.wh-dispatch-entry input{min-width:0;width:100%;min-height:36px}
.wh-dispatch-table table{min-width:1200px}
.wh-dispatch-table th{white-space:normal;min-width:75px}
.wh-dispatch-table .wh-dispatch-description{min-width:210px;white-space:normal}
.wh-dispatch-table input{min-width:85px;max-width:150px}
.wh-dispatch-table [data-total]{text-align:right;font-variant-numeric:tabular-nums;min-width:95px;font-weight:600}
.wh-dispatch-entry footer{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-wrap:wrap;position:sticky;bottom:0;background:var(--surface,#fff);border-top:1px solid var(--border,#dde3e8);padding:12px;z-index:3}
.wh-dispatch-entry footer .wh-footnote{margin-right:auto}
.wh-actions:empty{display:none}
.wh-fuel-template-picker{display:flex;align-items:flex-end;gap:8px;margin:0 0 12px}
.wh-fuel-template-picker>label{flex:1;max-width:400px;min-width:0}
.wh-fuel-template-picker[hidden]{display:none}
