.shipment-hero{align-items:center}.shipment-hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.shipment-workspace{display:grid;grid-template-columns:310px minmax(0,1fr);gap:14px;align-items:start}.shipment-browser,.shipment-detail{min-height:560px}.shipment-browser{position:sticky;top:82px}.shipment-browser-tools{display:grid;gap:8px;padding:14px;border-bottom:1px solid var(--line)}.shipment-browser-tools .search{min-width:0;width:100%}.shipment-list{max-height:calc(100vh - 230px);overflow:auto;padding:8px}.shipment-card{width:100%;display:block;text-align:left;border:1px solid transparent;background:transparent;color:var(--text);border-radius:10px;padding:12px;cursor:pointer}.shipment-card:hover{background:var(--panel2)}.shipment-card.active{background:rgba(91,140,255,.1);border-color:rgba(91,140,255,.42)}.shipment-card-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.shipment-number{font-weight:800;font-size:12px;overflow-wrap:anywhere}.shipment-card-meta{display:grid;gap:4px;margin-top:9px;color:var(--muted);font-size:10px}.shipment-card-counts{display:flex;gap:9px;flex-wrap:wrap;margin-top:9px;font-size:9px;color:var(--muted)}.shipment-card-counts b{color:var(--text)}.shipment-status{display:inline-flex;align-items:center;border-radius:14px;padding:4px 7px;font-size:9px;font-weight:800;white-space:nowrap}.shipment-status.forming{background:rgba(247,184,75,.14);color:#ffc45e}.shipment-status.in_transit{background:rgba(91,140,255,.14);color:#91adff}.shipment-status.received{background:rgba(63,208,139,.13);color:#6ee1aa}.shipment-status.overbooked{background:rgba(255,98,92,.14);color:#ff7d78}.shipment-detail-head{padding:18px;border-bottom:1px solid var(--line)}.shipment-detail-title{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.shipment-detail-title h2{font-family:'Unbounded';font-size:17px;margin:0 0 6px}.shipment-detail-sub{color:var(--muted);font-size:11px}.shipment-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));gap:8px;margin-top:15px}.shipment-meta{padding:10px;background:var(--panel2);border-radius:8px}.shipment-meta span{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.4px}.shipment-meta b{display:block;margin-top:4px;font-size:11px}.shipment-summary{display:flex;gap:7px;flex-wrap:wrap;padding:12px 18px;border-bottom:1px solid var(--line)}.shipment-summary-chip{padding:6px 9px;border-radius:16px;background:var(--panel2);color:var(--muted);font-size:9px}.shipment-summary-chip b{color:var(--text);margin-left:4px}.shipment-table-wrap{max-height:calc(100vh - 315px);overflow:auto}.shipment-table{min-width:1450px}.shipment-table th{position:sticky;top:0;z-index:4;background:var(--panel)}.shipment-table td{vertical-align:top}.shipment-product{min-width:210px;max-width:300px}.shipment-qty{font-weight:800;white-space:nowrap}.reservation-count{border:0;background:transparent;padding:0;color:#78dca9;font-weight:800;cursor:pointer;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}.reservation-count.hold{color:#ffc45e}.reservation-count:hover{color:#fff}.reservation-owners-preview{max-width:180px;color:var(--muted);font-size:9px;line-height:1.35;margin-top:4px}.shipment-comment{max-width:240px;white-space:normal;line-height:1.4;color:var(--muted)}.shipment-actions{display:flex;gap:6px;flex-wrap:wrap;min-width:140px}.mini-button{border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:7px;padding:6px 8px;font-size:9px;font-weight:700;cursor:pointer;white-space:nowrap}.mini-button:hover{border-color:#536079}.mini-button.reserve{color:#91adff}.mini-button.receive{color:#6ee1aa}.mini-button.danger{color:#ff8581}.overbooked-row{background:rgba(255,98,92,.045)}.overbooked-note{color:#ff8581;font-size:9px;font-weight:700;margin-top:4px}.article-warning{color:#ffc45e;font-size:9px;margin-top:4px}.workflow-modal{position:fixed;inset:0;z-index:85;display:grid;place-items:center;padding:20px;background:rgba(6,7,10,.74);backdrop-filter:blur(5px)}.workflow-dialog{position:relative;width:min(760px,100%);max-height:min(900px,calc(100vh - 40px));overflow:auto;padding:26px;background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:0 30px 90px rgba(0,0,0,.55)}.workflow-dialog.wide{width:min(980px,100%)}.workflow-dialog h2{font-family:'Unbounded';font-size:17px;margin:0 44px 7px 0}.workflow-dialog-sub{color:var(--muted);font-size:11px;line-height:1.5;margin-bottom:18px}.shipment-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.shipment-form-grid .wide{grid-column:1/-1}.shipment-form-grid textarea{resize:vertical;min-height:84px}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:18px}.modal-feedback{margin-right:auto;color:#ff8581;font-size:11px}.reservation-modal-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px}.reservation-history{display:grid;gap:8px;max-height:520px;overflow:auto}.reservation-record{border:1px solid var(--line);background:var(--panel2);border-radius:10px;padding:11px}.reservation-record-top{display:flex;justify-content:space-between;gap:8px}.reservation-record-owner{font-weight:800;font-size:11px}.reservation-record-meta{color:var(--muted);font-size:9px;line-height:1.55;margin-top:6px}.reservation-record-actions{display:flex;gap:6px;margin-top:9px}.reservation-form-panel{border:1px solid var(--line);border-radius:11px;padding:14px;align-self:start}.reservation-form-panel h3{font-size:12px;margin:0 0 12px}.reservation-form-panel .field{margin-top:10px}.reservation-available{padding:9px;border-radius:8px;background:rgba(91,140,255,.09);color:#a9beff;font-size:10px;line-height:1.45;margin-bottom:10px}.reservation-table{overflow:auto}.reservation-table table{min-width:1120px}.reservation-kind{font-weight:800}.reservation-kind.purchased{color:#78dca9}.reservation-kind.hold{color:#ffc45e}.reservation-status.active{color:#6ee1aa}.reservation-status.expired{color:#ffc45e}.reservation-status.released{color:var(--muted)}.reservation-link{color:#91adff;text-decoration:none}.reservation-link:hover{text-decoration:underline}.shipment-empty{padding:80px 25px;text-align:center;color:var(--muted)}
.incoming-shipment-list{display:grid;gap:9px;margin-top:4px}.incoming-shipment-card{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:11px;padding:13px 14px;text-align:left;cursor:pointer}.incoming-shipment-card:hover,.incoming-shipment-card:focus-visible{border-color:rgba(91,140,255,.72);background:rgba(91,140,255,.09);outline:none}.incoming-shipment-qty{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:7px 9px;border-radius:9px;background:rgba(63,208,139,.12);color:#78dca9;font-weight:800;white-space:nowrap}.incoming-shipment-card b{display:block;font-size:11px;line-height:1.45}.incoming-shipment-card small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.incoming-shipment-arrow{color:#91adff;font-size:20px}
.reservation-comment{margin-top:7px;padding:7px 8px;border-left:2px solid rgba(91,140,255,.5);background:rgba(91,140,255,.07);border-radius:0 6px 6px 0;color:var(--text);font-size:9px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.shipment-table{min-width:1510px}.shipment-article{min-width:105px;max-width:145px}.shipment-product{min-width:200px;max-width:290px}.shipment-photo{width:64px}.receipt-user{margin-top:4px;color:#91adff;font-size:9px;font-weight:700}.mini-button.export{color:#78dca9}
.shipment-table .shipment-index{box-sizing:border-box;width:38px;min-width:38px;max-width:38px;padding-left:8px;padding-right:6px;text-align:center;white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums}
.shipment-detail-comment{margin-top:10px;padding:11px 13px;border:1px solid var(--line);border-radius:9px;background:var(--panel2)}.shipment-detail-comment span{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.45px}.shipment-detail-comment p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.5}
.receipt-quantity{transition:color .18s ease,text-shadow .18s ease}.receipt-quantity.receipt-match{color:#78dca9;font-weight:900;text-shadow:0 0 7px rgba(63,208,139,.48),0 0 16px rgba(63,208,139,.22)}.receipt-quantity.receipt-mismatch{color:#ff7d78;font-weight:900;text-shadow:0 0 7px rgba(255,98,92,.45),0 0 16px rgba(255,98,92,.2)}
@media(max-width:1100px){.shipment-workspace{grid-template-columns:260px minmax(0,1fr)}.shipment-meta-grid{grid-template-columns:repeat(2,1fr)}.reservation-modal-layout{grid-template-columns:1fr}.reservation-form-panel{order:-1}}
@media(max-width:760px){.shipment-hero-actions{justify-content:flex-start;margin-top:12px}.shipment-workspace{display:block}.shipment-browser{position:static;min-height:0;margin-bottom:12px}.shipment-list{display:flex;gap:7px;overflow:auto;max-height:none}.shipment-card{min-width:245px}.shipment-detail{min-height:420px}.shipment-meta-grid{grid-template-columns:1fr 1fr}.shipment-table-wrap{max-height:calc(100vh - 360px)}.workflow-dialog{padding:22px 16px}.shipment-form-grid{grid-template-columns:1fr}.shipment-form-grid .wide{grid-column:auto}.reservation-modal-layout{display:block}.reservation-form-panel{margin-bottom:14px}}

html[data-theme="light"] .workflow-modal{background:rgba(69,61,49,.4)}
html[data-theme="light"] .workflow-dialog{box-shadow:0 24px 70px rgba(77,65,48,.2)}
html[data-theme="light"] .reservation-count:hover{color:var(--text)}
html[data-theme="light"] .shipment-status.in_transit,html[data-theme="light"] .mini-button.reserve,html[data-theme="light"] .incoming-shipment-arrow,html[data-theme="light"] .receipt-user{color:var(--blue)}
html[data-theme="light"] .shipment-status.received,html[data-theme="light"] .mini-button.receive,html[data-theme="light"] .mini-button.export,html[data-theme="light"] .incoming-shipment-qty{color:var(--green)}
html[data-theme="light"] .shipment-status.forming,html[data-theme="light"] .reservation-count.hold,html[data-theme="light"] .reservation-kind.hold{color:var(--amber)}
html[data-theme="light"] .receipt-quantity.receipt-match{color:var(--green)}
html[data-theme="light"] .receipt-quantity.receipt-mismatch{color:var(--red)}
