.wh-workspace{color:#18323f;display:grid;gap:20px;min-width:0}.wh-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px;border:1px solid #cbdfe2;border-radius:20px;background:linear-gradient(120deg,#eaf6f1,#edf3fb)}.wh-header h1{margin:4px 0 10px;font-size:28px}.wh-header p{margin:0;max-width:65ch}.wh-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:#4a6b74}.wh-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.wh-button{min-height:44px;font:inherit;border:1px solid #b5cbd2;border-radius:10px;padding:10px 16px;cursor:pointer;background:#fff;color:#245569}.wh-primary{color:white;background:#16677b;border-color:#16677b}.wh-danger{color:#922e28;border-color:#d9aca7}.wh-button:disabled{opacity:.55;cursor:default}.wh-workspace button:focus-visible,.wh-dialog button:focus-visible,.wh-field input:focus-visible,.wh-field select:focus-visible,.wh-field textarea:focus-visible,.wh-tabs button:focus-visible{outline:3px solid #2086a5;outline-offset:3px}.wh-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:8px;border:1px solid #dce6eb;border-radius:14px;background:#f6f9fb}.wh-tabs .wh-button{border-color:transparent;background:transparent}.wh-tabs .wh-button[aria-current=page]{background:white;border-color:#a9ccd3;box-shadow:0 2px 5px #123c4d10;color:#135e71;font-weight:650}.wh-card{padding:22px;border:1px solid #d8e4e9;border-radius:16px;background:#fff;min-width:0}.wh-card h2,.wh-card h3{margin:0 0 12px}.wh-card p{margin:10px 0}.wh-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.wh-card-head h2,.wh-card-head h3{margin:0}.wh-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:18px;align-items:stretch}.wh-card-stack{display:grid;gap:16px}.wh-summary-card{background:#f2f8f5;border-color:#cce0d8}.wh-warning{padding:16px;border:1px solid #e6cd8e;border-radius:12px;background:#fff8e8;color:#6d4b13}.wh-error{padding:16px;border:1px solid #dfb7b0;border-radius:12px;background:#fff1ee;color:#8c3122;overflow-wrap:anywhere}.wh-info{padding:16px;border:1px solid #cbdfe9;border-radius:12px;background:#eef6fb;color:#2d5569}.wh-muted{color:#586f7c;font-size:14px}.wh-empty{padding:26px;text-align:center;border:1px dashed #bbcfd8;border-radius:14px;background:#f7fafb}.wh-empty h2{margin:0 0 12px}.wh-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.wh-full{grid-column:1/-1}.wh-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-weight:550}.wh-field small{font-weight:400;color:#58717e;line-height:1.45}.wh-field input,.wh-field select,.wh-field textarea{min-height:44px;box-sizing:border-box;width:100%;max-width:100%;font:inherit;font-weight:400;border:1px solid #b2c7cf;border-radius:9px;padding:10px 12px;background:#fff;color:#18323f}.wh-field textarea{resize:vertical;min-height:90px}.wh-field input[readonly]{background:#f2f5f7}.wh-fieldset{margin:0;border:1px solid #d1e1e6;border-radius:12px;padding:18px;display:grid;gap:14px}.wh-fieldset legend{padding:0 8px;color:#254f60;font-weight:650}.wh-check{display:flex;align-items:flex-start;gap:12px;line-height:1.5;font-weight:400}.wh-check input{width:20px;height:20px;margin:3px 0 0;flex:0 0 20px;accent-color:#16677b}.wh-form{display:grid;gap:22px}.wh-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px}.wh-toolbar .wh-field{flex:1 1 200px}.wh-list{display:grid;gap:14px}.wh-list-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px;border:1px solid #dbe6eb;border-radius:12px;background:#fff}.wh-list-row h3{font-size:17px;margin:0 0 5px}.wh-list-row p{margin:4px 0}.wh-badge{display:inline-flex;align-items:center;padding:5px 10px;border-radius:20px;background:#edf3f6;color:#335b6c;font-size:13px;line-height:1.4}.wh-badge.good{background:#e6f4ec;color:#226348}.wh-badge.warn{background:#fff2d6;color:#825b12}.wh-badge.bad{background:#fce8e4;color:#8c3429}.wh-quantity{font-variant-numeric:tabular-nums;font-weight:650;font-size:21px;white-space:nowrap}.wh-table-wrap{overflow-x:auto;max-width:100%;border:1px solid #d8e4e9;border-radius:12px}.wh-table{border-collapse:collapse;width:100%;font-size:14px}.wh-table th,.wh-table td{padding:13px 15px;text-align:left;vertical-align:top;border-bottom:1px solid #e5edf1}.wh-table th{font-weight:650;background:#f1f6f8}.wh-table tr:last-child td{border-bottom:0}.wh-table .wh-field input{min-width:100px}.wh-pagination{display:flex;justify-content:space-between;gap:14px;margin-top:20px}.wh-dialog{border:1px solid #cbdce3;border-radius:21px;padding:0;max-height:calc(100dvh - 28px);width:min(700px,calc(100vw - 28px));max-width:calc(100vw - 28px);background:#fff;color:#18323f;box-shadow:0 20px 80px #173d4b40;overflow:hidden;font:16px/1.5 system-ui,sans-serif}.wh-dialog.wh-wide{width:min(980px,calc(100vw - 28px))}.wh-dialog[open]{display:flex;flex-direction:column}.wh-dialog::backdrop{background:#173b5066}.wh-dialog>header{flex-shrink:0;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:21px 24px;background:#edf6f6;border-bottom:1px solid #d7e5e9}.wh-dialog>header h2{font-size:22px;margin:0}.wh-dialog>header p{margin:0 0 6px}.wh-dialog .wh-close{min-width:44px;min-height:44px;padding:5px;font-size:27px}.wh-dialog-body{overflow:auto;overscroll-behavior:contain;padding:24px;display:flex;flex-direction:column;gap:22px}.wh-dialog-body>*{flex-shrink:0;margin-top:0;margin-bottom:0}.wh-dialog .wh-actions{margin-top:4px}.wh-dialog .wh-copy{white-space:pre-wrap;overflow-wrap:anywhere}.wh-line-editor{display:grid;grid-template-columns:minmax(160px,2fr) minmax(110px,1fr) auto;gap:14px;align-items:end;padding:16px;border:1px solid #d8e4e9;border-radius:12px;background:#f8fbfc}.wh-photo{width:80px;height:80px;object-fit:contain;border-radius:10px;border:1px solid #d8e4e9;background:#fff}.wh-context{padding:15px 18px;border:1px solid #bed8d3;border-radius:12px;background:#eff8f4}.wh-stat{display:block;font-size:28px;font-weight:700;line-height:1.3;margin:8px 0}.wh-workspace a,.wh-dialog a{color:#126d88;text-decoration:underline;overflow-wrap:anywhere}@media(max-width:600px){.wh-header{padding:20px;flex-direction:column}.wh-header h1{font-size:25px}.wh-card{padding:17px}.wh-fields{grid-template-columns:1fr}.wh-card-head,.wh-list-row{align-items:flex-start;flex-direction:column;gap:12px}.wh-list-row>.wh-actions{width:100%}.wh-actions .wh-button{flex:1 1 auto}.wh-tabs{gap:5px}.wh-tabs .wh-button{padding:9px 12px;font-size:14px}.wh-dialog>header{padding:18px}.wh-dialog-body{padding:18px;gap:18px}.wh-dialog h2{font-size:20px}.wh-line-editor{grid-template-columns:minmax(0,1fr);padding:14px}.wh-table th,.wh-table td{padding:11px}.wh-pagination{flex-wrap:wrap}}

.wh-workspace .wh-start{margin:18px 0;padding:22px;border:1px solid #b8d8da;border-radius:18px;background:linear-gradient(120deg,#eaf6f4,#eef3fc)}
.wh-start h2{margin:0 0 8px}.wh-start p{margin:8px 0 16px}.wh-start .wh-actions{gap:12px}.wh-start .wh-button{min-height:44px}
@media(max-width:600px){.wh-workspace .wh-start{padding:16px}.wh-start .wh-actions{display:grid;grid-template-columns:1fr}.wh-start .wh-button{width:100%}}

.wh-start [data-wh-action="quick-receipt"]{background:#146c68;color:#fff;border-color:#146c68}

.wh-refill-fields{border:0;margin:0;padding:0;min-width:0}.wh-refill-groups{display:grid;gap:12px;margin:16px 0}.wh-refill-group{border:1px solid #cbdcde;border-radius:14px;overflow:hidden;background:#fff}.wh-refill-group summary{cursor:pointer;padding:16px;font-weight:700;background:#eef6f5}.wh-refill-group summary span{font-weight:400;margin-left:8px}.wh-refill-items{padding:12px 16px;display:grid;gap:12px}.wh-refill-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,180px);gap:16px;align-items:center;padding:10px 0;border-bottom:1px solid #e3ecec}.wh-refill-item small{display:block;color:#52656b;margin-top:4px}.wh-refill-item:last-child{border:0}.wh-refill-item input{min-height:44px}@media(max-width:520px){.wh-refill-item{grid-template-columns:minmax(0,1fr)} }

.wh-location-tree{display:grid;gap:16px;margin-top:18px}.wh-location-card{border:1px solid #c5dadd;border-radius:16px;background:#fff;overflow:hidden;min-width:0}.wh-location-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:20px;border:0;background:#f1f8f6;text-align:left;color:#18323f;font:inherit;cursor:pointer;min-height:70px}.wh-location-name{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}.wh-location-name strong{font-size:18px}.wh-location-name>span,.wh-location-name small{color:#586f7c;font-size:14px}.wh-location-cue{display:flex;align-items:center;gap:12px;color:#155c64;font-size:14px;flex-shrink:0}.wh-location-cue>span{font-size:24px}.wh-location-children{padding:20px;display:grid;gap:16px;border-top:1px solid #c5dadd}.wh-location-children .wh-card-head{margin:0}.wh-target-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-left:3px solid #79b5a8;background:#f8fbfa;border-radius:0 10px 10px 0;min-width:0}.wh-target-row h4{margin:0;overflow-wrap:anywhere}.wh-target-row p{white-space:pre-line}.wh-location-settings{padding-top:16px;border-top:1px solid #e0eaed}.wh-location-extra{margin-top:18px;padding-top:18px;border-top:1px solid #d8e4e9}.wh-location-extra summary,.wh-ended-supplies summary{cursor:pointer;min-height:44px;line-height:1.5}.wh-ended-supplies .wh-target-row{margin-top:12px;border-left-color:#becbd0}.wh-location-children .wh-info{margin:0}@media(max-width:600px){.wh-location-toggle{align-items:flex-start;padding:16px;flex-direction:column;gap:12px}.wh-location-cue{width:100%;justify-content:space-between}.wh-location-children{padding:16px}.wh-target-row{align-items:flex-start;flex-direction:column}.wh-target-row>.wh-button{width:100%}}

.wh-preset-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:end}
.wh-preset-group,.wh-preset-custom{border:1px solid #d5e1e5;border-radius:14px;padding:16px;margin:14px 0;background:#fff}
.wh-preset-group>summary,.wh-preset-custom>summary{cursor:pointer;font-weight:650;padding:6px 0;line-height:1.6}
.wh-preset-group>summary span{font-weight:400;color:#536b78;margin-left:12px}
.wh-preset-group>.wh-actions{margin:16px 0}.wh-preset-save{border-top:1px solid #d5e1e5;padding-top:16px;margin-top:20px}
.wh-preset-group[hidden],[data-preset-item][hidden]{display:none!important}
@media(max-width:600px){.wh-preset-filters{grid-template-columns:1fr}.wh-preset-group,.wh-preset-custom{padding:12px}.wh-preset-group>summary span{display:block;margin:0}}

.wh-alerts>.wh-fieldset + .wh-fieldset{margin-top:18px}.wh-alerts .wh-list-row h4{margin:0 0 12px}
