:root {
  color-scheme: light;
  --ink: #1c352d;
  --text: #324a3e;
  --muted: #597062;
  --forest: #194735;
  --edge: #d9e2da;
  --bg: #f2f4f0;
  --quiet: #f6f8f4;
  --panel-inset: clamp(13px, 1.75vw, 22px);
  font: 14px/1.45 Inter, "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button{background:none;border:0;cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #638656;outline-offset:3px}
h1,h2,h3,p{margin:0}h1,h2,h3,strong,b{color:var(--ink)}small{font-size:12px}input,select{min-width:0}.ico{flex:none;vertical-align:middle}.skip-link{position:fixed;top:-60px;left:10px;z-index:40;background:white;color:var(--ink);padding:10px}.skip-link:focus{top:10px}
.shell{display:grid;grid-template-columns:205px minmax(0,1fr);min-height:100vh}.workspace,main,.page,.panel,#listing{min-width:0}main:focus{outline:none}
.sidebar{position:sticky;top:0;height:100vh;padding:27px 16px 20px;background:#fafbf6;border-right:1px solid var(--edge);display:flex;flex-direction:column;gap:0;z-index:4}
.brand{display:flex;align-items:center;gap:10px;padding:0 5px 26px}.brand-mark{background:var(--forest);width:42px;height:42px;display:grid;place-items:center;border-radius:12px}.brand>div{display:grid;gap:1px}.brand b{font-size:23px;line-height:1.12;letter-spacing:-1.3px}.brand small{color:var(--muted);font-size:11px;letter-spacing:.045em}
.site{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #dae3d1;border-radius:10px;background:#f0f4e9;margin:0 1px 23px}.site>span{width:32px;height:32px;display:grid;place-items:center;border:1px solid #dbe3d2;background:white;border-radius:8px;color:#406047}.site>div{display:grid;gap:1px}.site b{font-size:13px;font-weight:640}.site small{color:var(--muted);font-size:11px}
.work-nav{display:grid;gap:6px}.work-nav button{display:flex;align-items:center;gap:10px;text-align:left;font-size:14px;font-weight:550;padding:12px;border-radius:8px;color:#4b6252;width:100%;white-space:nowrap}.work-nav button:hover{background:#eef2e8}.work-nav [aria-current=page]{background:#e2eddc;color:#264e37;font-weight:700}.work-nav small{font:650 11px/18px Inter,"Segoe UI",sans-serif;min-width:21px;text-align:center;margin-left:auto;border-radius:5px;background:#f5e7cc;color:#865722}
.select-wrap{display:flex;position:relative;align-items:center;background:#fff;border:1px solid #d6e0d1;border-radius:7px;height:34px;padding:0 8px;gap:6px}.select-wrap select{background:transparent;appearance:none;border:0;flex:1;width:100%;height:100%;padding-right:16px;font-size:12px;cursor:pointer;color:#374f3d}.select-wrap>.ico:last-child{position:absolute;right:8px;pointer-events:none}.select-wrap:focus-within,.search:focus-within{outline:2px solid #c1d6b8;outline-offset:0}.select-wrap select:focus-visible,.search input:focus-visible{outline:none}
.topbar,.crumb,.languages,.preview-badge{display:flex;align-items:center}.topbar{background:#fafbf7;border-bottom:1px solid var(--edge);padding:10px clamp(15px,2.1vw,36px);gap:13px;min-height:62px;position:sticky;top:0;z-index:5}.crumb{gap:8px;font-size:12px;color:var(--muted)}.crumb b{font-weight:650}.preview-badge{margin-left:auto;gap:6px;color:#4d6b44;border:1px solid #d6e1c8;background:#f2f7e7;font-size:11px;padding:4px 9px;border-radius:20px;white-space:nowrap}.preview-badge i{background:#739b61;width:6px;height:6px;border-radius:50%}
.languages{gap:2px;border-left:1px solid #d9e2d6;padding-left:12px}.languages>.ico{color:#60795f;margin-right:3px}.languages button{padding:5px 9px;border-radius:6px;font-size:12px;white-space:nowrap;color:#58705c}.languages [aria-pressed=true]{background:var(--forest);color:#fff;font-weight:650}.languages [aria-pressed=false]:hover{background:#e7eee1}
.page{max-width:1570px;margin:0 auto;padding:clamp(16px,1.9vw,29px) clamp(16px,2.1vw,36px) 32px}
.hero {
  display: flex;
  align-items: center;
  min-height: 120px;
  background: linear-gradient(90deg, #15392d 5%, #15392df2 26%, #15392d48 75%, #15392d20), url('assets/warehouse.png') right 58% / cover #15392d;
  border: 1px solid #244638;
  border-radius: 12px;
}
.hero-copy { padding: 18px clamp(16px, 2.2vw, 31px); }
.hero-loc { display: flex; gap: 6px; align-items: center; color: #dcebd9; font-size: 12px; font-weight: 600; }
.hero h1 { color: #fff; font-size: clamp(27px, 2.6vw, 38px); line-height: 1.14; margin: 4px 0 6px; }
.hero p { display: flex; align-items: center; gap: 8px; color: #e1ebdb; font-size: 13px; }
.hero p i { width: 3px; height: 3px; border-radius: 50%; background: #78907c; }
.motion-btn {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border: 1px solid var(--edge);
  border-radius: 7px; color: #4d6855; background: #fff;
}
.motion-btn:hover { background: #edf2e9; }
.sidebar-menu { display: contents; }
.motion-btn:disabled { opacity: .65; }
@media (min-width: 701px) {
  .topbar { min-height: 46px; padding-block: 6px; background: #fafbf8; }
  .page { padding-top: 15px; }
}
.work-nav button[aria-current="page"] { box-shadow: inset 3px 0 #4a785c; }

.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:16px 0;margin:14px 0 20px;background:white;border:1px solid var(--edge);border-radius:13px}.metric{padding:0 clamp(11px,2vw,27px);display:flex;gap:12px;align-items:center;min-width:0}.metric+.metric{border-left:1px solid var(--edge)}.metric-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#e8f0e4;color:#456b47}.metric.tone-1 .metric-icon{color:#786944;background:#f0eee0}.metric.tone-2 .metric-icon{color:#3a7650;background:#e4f2e2}.metric>div{display:grid;gap:0}.metric small{color:var(--muted);font-size:12px}.metric b{font:690 clamp(24px,2.15vw,34px)/1.12 Inter,"Segoe UI",sans-serif;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.panel{background:white;border:1px solid var(--edge);border-radius:14px;overflow:hidden}.tools-row,.filters,.section-title{display:flex;gap:9px;align-items:center}.tools-row{flex-wrap:wrap;justify-content:space-between;padding:16px 19px}.section-title h2{font-size:19px;letter-spacing:-.025em}.section-title small{font-size:11px;background:#edf2e6;color:#5f7559;border-radius:5px;padding:2px 7px}.filters{gap:7px;min-width:0}.search{display:flex;align-items:center;gap:6px;border:1px solid #d6e0d1;border-radius:7px;height:34px;width:clamp(160px,16vw,235px);padding:0 9px;color:#627567}.search input{background:none;border:0;outline:none;width:100%;height:100%;font-size:12px}.owner-filter{max-width:155px;color:#657b65}
.badge{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;width:max-content;max-width:100%;font-size:11px;font-weight:600;line-height:1.4;border-radius:5px;padding:3px 6px}.badge i{flex:none;width:5px;height:5px;border-radius:50%;background:currentColor}.badge.inStock{background:#e6f1e1;color:#3b7348}.badge.low{background:#f9eed9;color:#8c5a1d}.badge.empty{background:#f8e7e1;color:#a04c39}.shortfall{display:block;color:#9c4938;font-size:10px;margin-top:2px}
.notice{position:fixed;z-index:10;left:50%;bottom:21px;transform:translate(-50%,8px);opacity:0;visibility:hidden;pointer-events:none;background:var(--forest);color:white;border-radius:8px;padding:10px 15px;box-shadow:0 4px 14px #14352325;font-size:13px;max-width:calc(100vw - 24px);transition:opacity .15s,transform .15s}.notice.show{visibility:visible;opacity:1;transform:translate(-50%,0)}

.panel { container-type: inline-size; }
.panel [hidden] { display: none !important; }
.tools-row { padding: 18px 20px 11px; }
.search { width: clamp(185px, 23vw, 295px); }
.view-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; padding: 0 20px 14px; }
.view-switch { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border-radius: 9px; border: 1px solid #dfe6da; background: #f2f5ed; }
.view-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 6px 13px; color: #4f6558; line-height: 1.4; font-weight: 600; font-size: 13px; border-radius: 6px; }
.view-switch button[aria-pressed="true"] { background: var(--forest); color: white; }
.view-switch button:not([aria-pressed="true"]):hover { background: #e5ecdf; }
.shop-filter { height: 33px; border-color: #d5dfd0; }
.shop-filter select { padding-inline-end: 19px; }
.column-head, .sku-line {
  display: grid;
  grid-template-columns: var(--stock-columns);
  align-items: center;
  gap: 7px 12px;
  padding-inline: var(--panel-inset);
}
.column-head { padding-block: 8px; background: #edf2ee; border-block: 1px solid #d9e3da; color: #4d6457; font-size: 11.5px; font-weight: 650; }
.column-head span:nth-child(2) { text-align: center; }
.stock-page .panel { --stock-columns: minmax(125px, 1fr) minmax(108px, .36fr) minmax(130px, .42fr); }
.product-group-heading { margin: 0; font-size: inherit; }
.product-band {
  width:100%; display:grid; grid-template-columns:var(--stock-columns); gap:7px 12px; align-items:center;
  padding:9px var(--panel-inset); text-align:start; background:#f5f8f3; border-block:1px solid #dce5db;
}
.catalog-block + .catalog-block .product-band { border-top:0; }
.product-band:hover,.product-band[aria-expanded="true"] { background:#eaf1e7; }
.product-info { min-width:0; display:flex; gap:10px; align-items:center; }
.product-info > span:last-child { min-width:0; display:grid; }
.product-band img,.product-info .no-photo { width:38px; height:38px; flex:none; border-radius:7px; object-fit:cover; background:#e5ebdd; border:1px solid #dae3d8; }
.no-photo { display:inline-grid; place-items:center; color:#809284; }
.product-band strong { font-size:15px; line-height:1.3; font-weight:670; overflow-wrap:anywhere; }
.product-band small { font-size:11px; color:var(--muted); font-weight:450; }
.product-sum { display:flex; align-items:baseline; justify-content:center; gap:5px; font-variant-numeric:tabular-nums; }
.product-sum b {font-size:17px;}
.product-sum small {display:none;}
.product-band[aria-expanded="true"] .product-info .fold-chevron svg {transform:rotate(90deg);}
.sku-line { position: relative; min-height: 48px; padding-block: 7px; border-bottom: 1px solid #e8ede8; font-variant-numeric: tabular-nums; }
.catalog-block .sku-line:last-child { border-bottom: 0; }
.sku-line.dirty { background: #f3f8e9; box-shadow: inset 3px 0 #63844a; }
.sku-id { position: relative; min-width: 0; padding-inline-start: 48px; }
.sku-id::before {
  content: ""; position: absolute; left: 17px; top: 4px;
  width: 10px; height: 7px; border: solid #c7d5c8; border-width: 0 0 1px 1px; border-bottom-left-radius: 2px;
}
.sku-id b { display: block; line-height: 1.3; font-size: 13px; font-weight: 590; overflow-wrap: anywhere; }
.sku-id small { display: flex; gap: 1px 8px; flex-wrap: wrap; margin-top: 3px; color: #64786a; font-size: 10.5px; }
.sku-id small span + span { padding-inline-start: 8px; border-inline-start: 1px solid #cbd6c6; }
.qty-cell { display: flex; align-items: center; justify-content: center; }
.cell-label { display: none; }
@container (min-width: 651px) {
  .reserved-cell .cell-label { display: block; position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.qty-stepper { display: inline-grid; grid-template-columns: 25px minmax(40px, 1fr) 25px; width: 105px; height: 33px; align-items: stretch; border-radius: 7px; overflow: hidden; border: 1px solid #cbd8c4; background: #fff; }
.qty-stepper:focus-within { outline: 2px solid #647f52; outline-offset: 2px; }
.qty-stepper button { display: grid; place-items: center; color: #3e654a; font: 500 16px/1 "Segoe UI", sans-serif; padding: 0; border-radius: 0; background: #f6f8f2; }
.qty-stepper button:not(:disabled):hover { background: #e5eedc; }
.qty-stepper button:focus-visible { outline-offset: -2px; }
.qty-stepper button:disabled { color: #95a294; cursor: default; }
.qty-stepper input { min-width: 0; width: 100%; padding: 0 1px; border: 0; border-inline: 1px solid #e4eadd; border-radius: 0; outline: 0; background: transparent; font-size: 14px; font-weight: 620; text-align: center; color: var(--ink); font-variant-numeric: tabular-nums; }
.qty-stepper:has(input[aria-invalid="true"]) { border-color: #b75339; }
.sell-cell input { color: #275d3d; }
.reserved-cell { text-align: center; color: #54675b; font-size: 14px; }
.flag-cell small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.row-end { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.row-action { margin-inline-start: auto; text-align: end; }
.row-action:not(:has(button:not([hidden]))) { display: none; }
@media (hover: hover) { .sku-line:not(.dirty):hover { background: #f9fbf8; } }
.row-action button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; max-width: 100%; padding: 7px 8px; border-radius: 6px; font-size: 12px; line-height: 1.3; font-weight: 650; background: var(--forest); color: white; }
.row-action button:hover { background: #27573d; }
.row-action button:disabled { background: #e1e7dc; color: #62705f; cursor: default; }
.row-note { grid-column: 1 / -1; margin: 0; padding-inline-start: 10px; color: #9b482f; font-size: 12px; }
.shop-heading { display: flex; align-items: center; gap: 9px; padding: 13px 20px; border-block: 1px solid #c6d5bc; background: #e5eddd; }
.shop-heading > span { width: 28px; height: 28px; display: grid; place-items: center; background: #fcfdf9; border: 1px solid #cbd8c1; border-radius: 7px; color: #446242; }
.shop-heading h3 { font-size: 16px; }
.shop-heading small { margin-inline-start: auto; color: #546d53; font-size: 12px; }
.empty-list { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: var(--muted); border-top: 1px solid var(--edge); }
.empty-list button { color: #326540; text-decoration: underline; }
@media (min-width: 1600px) { .shell { grid-template-columns: 230px minmax(0,1fr); } .hero { min-height: 194px; } }
@media (max-width: 1260px) { .shell { grid-template-columns: 172px minmax(0,1fr); } .sidebar { padding-inline: 11px; } }
@media (max-width: 980px) and (min-width: 701px) {
  .shell { grid-template-columns: 139px minmax(0,1fr); }
  .sidebar { padding: 19px 8px 12px; }
  .brand { gap: 6px; padding-left: 2px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark svg { width: 25px; } .brand b { font-size: 20px; }
  .site { gap: 5px; padding: 6px; margin-bottom: 14px; }
  .site > span { width: 25px; height: 25px; } .site b { font-size: 11px; }
  .work-nav button { font-size: 12px; gap: 6px; padding: 9px 6px; } .work-nav button .ico { width: 15px; height: 15px; }
}
@media (max-width: 700px) {
  .shell { display: block; }
  .sidebar { position: static; height: auto; padding: 10px 13px 6px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px; border: 0; border-bottom: 1px solid var(--edge); }
  .brand { padding: 0; gap: 7px; } .brand-mark { width: 32px; height: 32px; border-radius: 8px; } .brand-mark svg { width: 24px; } .brand b { font-size: 18px; } .brand small { font-size: 9px; }
  .site { justify-self: end; margin: 0; padding: 4px 5px; background: none; border: 0; } .site > span { width: 25px; height: 25px; } .site b { font-size: 12px; } .site small { display: none; }
  .work-nav { grid-column: 1 / -1; display: flex; gap: 5px; } .work-nav button { padding: 6px 11px; font-size: 12px; gap: 5px; } .work-nav button .ico { width: 15px; height: 15px; }
  .topbar { padding: 5px 13px; min-height: 40px; gap: 7px; } .crumb { font-size: 11px; gap: 4px; }
  .languages { padding-left: 5px; } .languages button { padding: 4px 7px; font-size: 12px; } .preview-badge { font-size: 10px; }
  .page { padding: 12px 10px 25px; } .hero,.alerts-hero { min-height: 122px; border-radius: 12px; } .hero-copy { padding: 17px; } .hero h1 { font-size: 31px; margin: 5px 0; } .hero p,.hero-loc { font-size: 11px; }
  .metrics { margin: 10px 0 13px; padding: 12px 0; } .metric { gap: 6px; padding: 0 9px; } .metric-icon { width: 27px; height: 27px; } .metric small { font-size: 11px; } .metric b { font-size: 22px; }
}
@media (max-width: 465px) {
  .metric-icon, .crumb > span, .crumb > .ico { display: none; }
  .metric { padding-inline: 7px; }
}
@container (max-width: 650px) {
  .stock-page .column-head, .stock-page .sku-line, .product-band { grid-template-columns:minmax(95px,1fr) 104px minmax(76px,.48fr); gap:7px; }
  .sku-id { padding-inline-start:16px; }
  .sku-id::before { left:0; width:7px; }
  .qty-stepper { width:99px; }
  .product-info {gap:5px;}
  .row-end {gap:3px;}
  .shop-heading {padding-inline:var(--panel-inset);}
}
@container (max-width: 455px) {
  .stock-page .column-head {display:none;}
  .product-band { grid-template-columns:minmax(0,1fr) auto; gap:4px 10px; padding-block:10px; }
  .product-info .fold-chevron {width:12px;}
  .product-info strong {font-size:13px;}
  .product-level {display:none;}
  .product-sum {flex-direction:column;align-items:flex-end;gap:0;}
  .product-sum small {display:block;}
  .stock-page .sku-line {grid-template-columns:minmax(0,1fr) auto; gap:4px 9px; padding-block:9px;}
  .sku-id {grid-column:1; grid-row:1 / span 2;}
  .sell-cell {grid-column:2;justify-content:flex-end;}
  .row-end {grid-column:2;justify-content:flex-end;}
  .row-note {grid-column:1 / -1;}
  .row-action {margin-inline-start:2px;}
  .product-band img,.product-info .no-photo {width:32px;height:32px;}
  .flag-cell .badge {font-size:10px;}
}
@media (prefers-reduced-motion: reduce) { .notice { transition: none; } }

.stock-shop-title { margin: 0; }
.stock-shop-title .shop-heading { width: 100%; text-align: start; }
.shop-heading strong { font-size: 15px; }
.fold-chevron { display: inline-flex; flex: none; align-items: center; justify-content: center; color: #547057; }
.fold-chevron > svg { transition: transform .16s ease; }
button[aria-expanded="true"] > .fold-chevron > svg,
.bill-summary[aria-expanded="true"] .waybill-id .fold-chevron > svg { transform: rotate(90deg); }
button[data-act="fold"]:focus-visible { outline-offset: -3px; }
.transit-page .hero { min-height: 90px; margin-bottom: 12px; }
#transit-list { padding: 4px 14px 14px; }
.manifest-shop { margin-top: 10px; border: 1px solid #d6e0d0; border-radius: 10px; overflow: hidden; }
.manifest-shop h3, .cargo-bill h4 { margin: 0; }
.manifest-shop-head { display: flex; align-items: center; width: 100%; gap: 9px; padding: 12px 15px; text-align: start; background: #eef3e8; }
.manifest-shop-head:hover { background: #e7efdf; }
.manifest-shop-head strong { min-width: 0; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.freight-store-icon { flex: none; display: grid; place-items: center; width: 33px; height: 33px; color: #396147; border: 1px solid #cfddc7; border-radius: 8px; background: #fff; }
.ship-tally { flex: none; border-radius: 12px; background: #dee8d6; color: #405d46; padding: 3px 9px; font-size: 12px; font-weight: 600; }
.shop-total { flex: none; margin-inline-start: auto; color: #3c5947; font-size: 13px; font-weight: 610; font-variant-numeric: tabular-nums; }
.manifest-shop-head > .fold-chevron { margin-inline-start: 4px; }
.cargo-shipments { padding: 0 14px 0 27px; background: #fcfdf9; border-top: 1px solid #d8e2d2; }
.cargo-bill { position: relative; padding-left: 12px; border-left: 1px solid #d7e2cf; }
.cargo-bill::before { content: ''; position: absolute; top: 29px; left: 0; height: 1px; width: 10px; background: #d7e2cf; }
.cargo-bill + .cargo-bill .bill-summary { border-top: 1px solid #e1e8db; }
.bill-summary { display: grid; grid-template-columns: minmax(150px,1.3fr) minmax(154px,1fr) minmax(91px,.75fr) minmax(66px,.4fr); align-items: center; width: 100%; padding: 11px 8px; gap: 8px 14px; text-align: start; font-weight: 500; }
.bill-summary:hover { background: #f0f5eb; }
.bill-summary .waybill-id { display: flex; align-items: center; gap: 7px; min-width: 0; }
.bill-summary small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.4; }
.waybill-id b, .bill-timing time { display: block; font-size: 13px; font-variant-numeric: tabular-nums; }
.waybill-id b { font-weight: 690; letter-spacing: .015em; overflow-wrap: anywhere; }
.bill-timing time { font-weight: 560; color: #344d3e; }
.bill-amount { text-align: end; }
.bill-amount b { font-size: 17px; font-variant-numeric: tabular-nums; }
.bill-stage { justify-self: start; }
.bill-stage small { margin: 3px 0 0; font-size: 10.5px; }
.freight-status { display: inline-flex; align-items: center; gap: 5px; background: #e4eff1; color: #365f6c; font-size: 11px; font-weight: 650; line-height: 1.35; padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
.freight-status i { width: 5px; height: 5px; border-radius: 100%; background: currentColor; }
.freight-status.at-customs { background: #f6ebd8; color: #805b24; }
.cargo-detail { padding: 0 8px 11px 27px; }
.cargo-items { width: 100%; border-spacing: 0; border: 1px solid #dce5d6; border-radius: 7px; overflow: hidden; background: #fff; }
.cargo-items th { background: #f0f4ec; color: #57705b; text-align: start; font-size: 11px; font-weight: 600; padding: 5px 10px; }
.cargo-items th:last-child, .cargo-items .cargo-number { width: 90px; text-align: end; }
.cargo-items td { padding: 7px 10px; }
.cargo-items tr + tr td { border-top: 1px solid #e8eee4; }
.cargo-product { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cargo-product img { flex: none; width: 36px; height: 36px; object-fit: cover; background: #f0f3e9; border-radius: 6px; }
.cargo-product > div { min-width: 0; }
.cargo-product b, .cargo-product small { display: block; overflow-wrap: anywhere; }
.cargo-product b { font-size: 13px; line-height: 1.3; }
.cargo-product small { font-size: 11px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.cargo-number { font-size: 15px; font-weight: 650; color: var(--forest); font-variant-numeric: tabular-nums; }
@container (max-width: 685px) {
  #transit-list { padding-inline: 8px; }
  .cargo-shipments { padding-inline: 12px 7px; }
  .bill-summary { grid-template-columns: minmax(120px,1.2fr) minmax(107px,1fr) minmax(70px,.7fr) auto; gap: 7px; }
  .manifest-shop-head { padding: 10px; gap: 7px; }
}
@container (max-width: 470px) {
  .manifest-shop-head { flex-wrap: wrap; gap: 5px; }
  .manifest-shop-head strong { flex: 1; font-size: 14px; }
  .freight-store-icon { width: 27px; height: 27px; }
  .ship-tally, .shop-total { font-size: 10px; }
  .ship-tally { padding-inline: 6px; } .shop-total { margin-inline-start: 1px; }
  .cargo-shipments { padding-inline: 8px 4px; }
  .cargo-bill { padding-left: 5px; } .cargo-bill::before { width: 5px; }
  .bill-summary { grid-template-columns: minmax(130px,1fr) auto; padding: 8px 6px; }
  .bill-stage { grid-column: 2; grid-row: 1; justify-self: end; text-align: end; }
  .bill-timing { grid-column: 1; grid-row: 2; margin-left: 21px; }
  .bill-amount { grid-column: 2; grid-row: 2; }
  .bill-timing time, .bill-amount b { font-size: 12px; }
  .cargo-detail { padding: 0 3px 8px 9px; }
  .cargo-items th, .cargo-items td { padding-inline: 6px; }
  .cargo-items th:last-child, .cargo-items .cargo-number { width: 55px; }
  .cargo-product { gap: 6px; } .cargo-product img { width: 29px; height: 29px; }
}
@media (prefers-reduced-motion: reduce) { .fold-chevron > svg { transition: none; } }


.stock-overview {
  container-type: inline-size;
  margin-bottom: 13px;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 13px;
  background: white;
}
.stock-overview .hero {
  min-height: 76px;
  border: 0;
  border-radius: 0;
}
.stock-overview .hero-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 3px 14px;
  padding: 11px var(--panel-inset);
}
.stock-overview .hero-loc { grid-column: 1 / -1; font-size: 11.5px; font-weight: 550; }
.stock-overview h1 { margin: 0; font-size: clamp(24px, 2.35vw, 32px); letter-spacing: -.025em; }
.stock-overview .hero p { border-left: 1px solid #91aa98; padding-left: 13px; font-size: 12px; }
.stock-overview .metrics { min-height: 50px; margin: 0; padding: 8px 0; border: 0; border-radius: 0; }
.stock-overview .metric { gap: 9px; padding-inline: var(--panel-inset); }
.stock-overview .metric > div { flex: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.stock-overview .metric b { font-size: clamp(21px, 1.85vw, 27px); letter-spacing: -.04em; }
.stock-overview .metric-icon { flex: none; width: 29px; height: 29px; border-radius: 7px; }
.stock-overview .metric-icon .ico { width: 17px; height: 17px; }

.list-heading {
  display: grid;
  grid-template-columns: fit-content(43%) minmax(0,1fr);
  align-items: center;
  gap: 12px;
  padding: 5px var(--panel-inset) 4px;
}
.section-title { min-width: 0; flex-wrap: wrap; gap: 3px 9px; }
.list-heading .section-title { overflow-wrap: anywhere; }
.list-heading { column-gap:clamp(10px,1.5vw,20px); }
.section-title h2 { font-size: clamp(18px, 2cqi, 23px); font-weight: 680; line-height: 1.2; letter-spacing: -.025em; }
.section-title small { padding: 0; color: var(--muted); background: none; font-size: 12px; }
.stock-filters, .transit-filters {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  padding: 0 var(--panel-inset) 10px;
}
.stock-filters:has(.shop-filter) { grid-template-columns: auto minmax(145px, 1fr) minmax(125px, 185px); }
.transit-filters { grid-template-columns: minmax(0, 1fr) minmax(125px, 185px); }
.view-switch { justify-self: start; }
.stock-filters .search, .transit-filters .search, .view-bar .shop-filter {
  width: 100%; height: 35px; border-color: #cfdacf; border-radius: 7px;
}
.view-bar .search { gap: 8px; padding-inline: 11px; background: #fcfdfb; }
.view-bar .search input { color: var(--ink); font-size: 13px; }
.view-bar .search input::placeholder { color: #65796b; }
.view-switch button { min-height: 27px; padding-block: 4px; }

.list-pagination,
.page-context, .page-controls, .page-numbers, .list-pagination label {
  display: flex; align-items: center;
}
.list-pagination {
  flex-wrap: wrap; justify-content: space-between; gap: 5px 14px;
  min-height: 41px; padding: 5px var(--panel-inset);
  border-top: 1px solid #e7ece6; color: var(--muted); background: #fbfcfa;
  font-size: 12px; font-variant-numeric: tabular-nums;
}
.page-context { flex-wrap: wrap; gap: 6px 12px; }
.page-context label { gap: 5px; }
.page-context select {
  min-height: 29px; padding: 2px 6px; border: 1px solid #d2ddd2;
  border-radius: 6px; color: var(--ink); background: white; cursor: pointer;
}
.page-status { padding-inline-start: 12px; border-inline-start: 1px solid #d9e2d8; }
.page-controls, .page-numbers { flex-wrap: wrap; gap: 3px; }
.page-controls { justify-content: flex-end; }
.page-controls button {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 29px; min-width: 29px; padding: 3px 7px; color: #415e4e; border-radius: 6px;
}
.page-controls button:enabled:hover { background: #e6eee5; }
.page-controls button:disabled { color: #838f86; }
.page-controls [data-act="prev"] .ico { transform: rotate(180deg); }
.page-numbers [aria-current="page"], .page-numbers [aria-current="page"]:enabled:hover { color: #fff; background: var(--forest); font-weight: 650; }
.page-numbers > span { padding-inline: 2px; }

@container (max-width: 740px) {
  .stock-overview .metric > div { flex-direction: column; align-items: flex-start; gap: 0; }
  .stock-overview .metric small { line-height: 1.25; }
}
@container (max-width: 540px) {
  .stock-overview .hero-copy { column-gap: 10px; }
  .stock-overview .hero p { padding-inline-start: 10px; }
  .alerts-hero .hero-copy { display: block; }
  .stock-overview .alerts-hero p { padding: 0; border: 0; }
  .stock-filters, .stock-filters:has(.shop-filter) { grid-template-columns: auto minmax(0, 1fr); gap: 6px; }
  .stock-filters .shop-filter { grid-column: 1 / -1; }
  .stock-filters .view-switch button { padding-inline: 8px; }
  .page-controls [data-act="prev"] span, .page-controls [data-act="next"] span { display: none; }
  .page-controls button { min-width: 31px; min-height: 32px; }
}
@container (max-width: 380px) {
  .stock-filters .view-switch .ico { display: none; }
  .list-pagination { column-gap: 6px; }
  .page-context { column-gap: 6px; }
  .page-status { padding-inline-start: 6px; }
}
@container (max-width: 320px) {
  .stock-filters, .stock-filters:has(.shop-filter), .transit-filters { grid-template-columns: 1fr; }
  .view-bar .shop-filter { grid-column: auto; }
}
@media (max-width: 700px) {
  .sidebar { grid-template-columns: max-content minmax(0,1fr) max-content; gap: 5px 8px; padding-block-start: 5px; }
  .sidebar .brand { grid-column: 1; grid-row: 1; }
  .sidebar .site { grid-column: 3; grid-row: 1; }
  .sidebar .work-nav { grid-column: 1 / -1; grid-row: 2; }
  .work-nav button { flex: 1 1 0; width: auto; justify-content: center; padding: 7px 4px; }
  .work-nav button[aria-current="page"] { box-shadow: inset 0 -2px #4a785c; }
}
@media (max-width: 365px) {
  .sidebar .site > span { display: none; }
  .work-nav button { gap: 3px; }
  .topbar { padding-inline: 10px; gap: 5px; }
  .languages > .ico { display: none; }
}
.hero:has(.hero-available) {display:flex; align-items:center; min-height:92px;}
.hero-available {display:grid;gap:1px;align-content:center;border-inline-start:1px solid #95ac974f;padding-inline:clamp(12px,2vw,28px);color:#f8fbea;}
.hero-available span {display:flex;align-items:center;gap:5px;font-size:11px;font-weight:550;color:#e4eed9;}
.hero-available b {font-size:clamp(25px,3.1vw,37px);font-weight:680;line-height:1.08;letter-spacing:-.035em;color:#fff;font-variant-numeric:tabular-nums;}
.stock-overview .hero:has(.hero-available) {background-image:linear-gradient(90deg,#15392d 8%,#15392df2 38%,#15392d57 80%,#15392d28),url('assets/warehouse.png');}
.product-level .badge {font-weight:550;}
.receipt-action {display:flex;justify-content:flex-end;padding-top:8px;}
.receipt-action button,.receipt-dialog button,.warehouse-message button {padding:6px 12px;border:1px solid #b8cbbd;border-radius:7px;background:#f2f6f0;color:#295842;font-weight:600;}
.receipt-dialog {width:min(420px,calc(100vw - 28px));max-height:80vh;padding:20px;border:1px solid var(--edge);border-radius:14px;color:var(--text);}
.receipt-dialog::backdrop {background:#1b30294f;}
.receipt-dialog h2 {font-size:19px;margin:0 0 8px;}
.receipt-dialog p {font-size:13px;margin:5px 0;}
.receipt-lines {margin:12px 0;}
.receipt-lines label {display:flex;align-items:center;justify-content:space-between;gap:9px;border-block-start:1px solid var(--edge);padding:8px 0;}
.receipt-lines label span:first-child {min-width:0;overflow-wrap:anywhere;}
.receipt-lines small {display:block;color:var(--muted);}
.receipt-lines label span:last-child {display:flex;gap:5px;align-items:center;font-size:12px;white-space:nowrap;}
.receipt-lines input {width:55px;padding:6px 3px;border:1px solid var(--edge);border-radius:5px;}
.receipt-dialog footer {display:flex;gap:6px;justify-content:flex-end;}
.receipt-dialog [type=submit],.warehouse-message button {background:var(--forest);color:white;}
.receipt-dialog .receipt-error {color:#983e28;}
.warehouse-message {padding:20px;display:grid;gap:12px;justify-items:start;}
@container (max-width:470px) {
  .stock-overview .hero:has(.hero-available) .hero-copy {display:block;}
  .stock-overview .hero:has(.hero-available) .hero-copy p {padding:0;border:0;margin-top:2px;}
  .hero-available {padding-inline:12px;}
}
/* The toolbar and pagination stay outside the independently scrolling records. */
.shell {height:100vh;height:100dvh;min-height:0;overflow:hidden;}
.workspace,#main-content,.page {display:flex;flex-direction:column;min-height:0;}
.workspace {overflow:hidden;}
.topbar,.stock-overview,.transit-page>.hero {flex:none;}
#main-content,.page,.page>.panel {flex:1;min-height:0;}
.page {width:100%;padding-bottom:14px;overflow:hidden;}
.page>.panel {display:flex;flex-direction:column;overflow:hidden;}
.panel>.list-heading,.panel>.view-bar,.panel>.list-pagination {flex:none;}
.list-window {flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#acbaae #f3f6f1;}
.list-window:focus-visible {outline:2px solid #64846d;outline-offset:-2px;}
#listing .column-head {position:sticky;top:0;z-index:2;}
[hidden] {display:none!important;}
.work-nav {--nav-pad:12px;--nav-icon:18px;--nav-gap:10px;}
.locations-nav {display:grid;gap:2px;margin:0;padding:0;min-width:0;}
.work-nav .locations-nav button {width:100%;min-height:37px;justify-content:flex-start;padding:8px var(--nav-pad) 8px calc(var(--nav-pad) + var(--nav-icon) + var(--nav-gap));border-radius:7px;text-align:start;font-size:13px;font-weight:530;line-height:1.35;white-space:normal;overflow-wrap:anywhere;transition:background-color .14s,color .14s;}
.work-nav button:hover,.work-nav button:focus-visible {background:#e8eee6;color:#1f402f;}
.work-nav .locations-nav [aria-current="page"],.work-nav .locations-nav [aria-current="page"]:hover {background:var(--forest);color:#fff;box-shadow:none;font-weight:640;}
.work-nav .locations-nav button:focus-visible {outline:2px solid #628369;outline-offset:-2px;}
.warehouse-caret {display:grid;place-items:center;flex:none;margin-inline-start:auto;color:currentColor;}
.warehouse-caret svg {transition:transform .16s ease;}
[aria-expanded="true"]>.warehouse-caret svg {transform:rotate(180deg);}
@media (min-width:701px) and (max-width:980px) {.work-nav {--nav-pad:6px;--nav-icon:15px;--nav-gap:6px;}}
.sidebar {min-height:0;overflow-y:auto;}
.sidebar .delivery-scene {flex-shrink:0;pointer-events:none;}
.work-nav,.brand,.site {flex-shrink:0;}
.fold-chevron {display:inline-grid!important;place-items:center;width:19px;height:19px;min-width:19px;flex:none;margin:0;border-radius:5px;background:#e5ede3;color:#3e654c;}
.fold-chevron svg {display:none;}
.fold-chevron:after {content:'';display:block;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid currentColor;transition:transform .14s;}
[aria-expanded="true"]>.fold-chevron:after,[aria-expanded="true"]>.product-info>.fold-chevron:after {transform:rotate(90deg);}
button:hover .fold-chevron,button:focus-visible .fold-chevron {background:#d6e4d5;color:#214d33;}
.hero {position:relative;}
.hero .overview-toggle {width:29px;height:29px;background:#17392dd9;color:white;border:1px solid #9ab49e7a;border-radius:7px;margin-inline:auto 12px;display:grid;place-items:center;flex:none;}
.overview-toggle[aria-expanded="true"] svg {transform:rotate(180deg);}
.stock-overview .hero.summary-collapsed,.hero.summary-collapsed {min-height:40px;}
.summary-collapsed .hero-copy {display:flex!important;align-items:center;gap:10px;padding-block:6px;}
.summary-collapsed h1 {font-size:18px;line-height:1.3;margin:0;}
.read-quantity {text-align:center;font-weight:630;font-variant-numeric:tabular-nums;color:#334f3e;}
.incoming-product {display:flex;gap:10px;align-items:center;padding:12px var(--panel-inset);color:#747e75;background:#f2f4f1;border-bottom:1px solid var(--edge);}
.incoming-product img {width:36px;height:36px;object-fit:cover;border-radius:6px;filter:grayscale(1);opacity:.65;}
.incoming-product strong {color:#67726b;font-size:14px;}
.incoming-product>span:last-child {display:flex;align-items:center;gap:5px;margin-inline-start:auto;font-size:12px;white-space:nowrap;}
.on-road {opacity:.68;}
.stock-page:has([data-field="sell"]) .column-head>span:last-child:empty {min-width:0;}
#transit-list {padding:0;}
.manifest-shop {margin:0;border:0;border-radius:0;overflow:visible;}
.manifest-shop+.manifest-shop {border-top:1px solid #b4c6b6;}
#transit-list .manifest-shop-head,.waybill-bar,.freight-product-heading {width:100%;padding-inline:var(--panel-inset);}
#transit-list .manifest-shop-head {flex-wrap:nowrap;gap:9px;padding-block:10px;background:#e7eee2;border-bottom:1px solid #d3dfd0;}
#transit-list .manifest-shop-head strong {font-size:15px;}
.manifest-shop-head .shop-total {margin-inline-start:auto;}
#transit-list .manifest-shop-head>.fold-chevron {margin-inline-start:0;}
#transit-list .cargo-shipments,#transit-list .cargo-detail,#transit-list .cargo-bill {padding:0;margin:0;border:0;}
#transit-list .cargo-bill:before,#transit-list .cargo-bill:after,#transit-list .cargo-shipments:before {display:none;}
.waybill-bar {display:grid;grid-template-columns:minmax(125px,1.3fr) minmax(100px,1fr) minmax(108px,auto) minmax(58px,auto);gap:8px;align-items:center;padding-block:8px;background:#f7f9f5;border-block:1px solid #e1e8de;}
.waybill-toggle {display:flex;align-items:center;gap:9px;padding:0;text-align:start;width:100%;overflow-wrap:anywhere;}
.waybill-toggle small,.freight-date small,.freight-stage>small,.freight-units small {display:block;font-size:10.5px;font-weight:480;color:#637368;}
.freight-stage {display:grid;justify-items:start;gap:2px;}
.freight-date,.freight-units {font-size:12px;font-variant-numeric:tabular-nums;}
.freight-units {text-align:end;}
.freight-units b {font-size:16px;}
.stage-picker,.done-stage {display:inline-flex;align-items:center;gap:4px;position:relative;height:28px;color:#345747;border:1px solid #c6d5c9;background:white;border-radius:6px;padding:0 6px;font-size:11.5px;white-space:nowrap;}
.stage-picker select {appearance:none;cursor:pointer;border:0;background:transparent;padding:2px 14px 2px 0;width:100%;color:inherit;}
.stage-picker>.ico:last-child {position:absolute;right:5px;pointer-events:none;}
.stage-picker:focus-within,.done-stage:focus-visible {outline:2px solid #67876c;outline-offset:1px;}
.freight-product h5 {margin:0;}
.freight-product-heading {display:flex;align-items:center;gap:9px;min-height:41px;padding-block:4px;text-align:left;border-bottom:1px solid #ebefea;background:white;}
.freight-product-heading strong {order:1;font-size:13px;overflow-wrap:anywhere;}
.freight-product-heading img,.freight-product-heading .no-photo {order:2;width:29px;height:29px;object-fit:cover;flex:none;border-radius:5px;}
.freight-product-heading>span:last-child {order:3;margin-inline-start:auto;font-size:13px;font-weight:650;}
.freight-product-heading:hover,.waybill-toggle:hover {color:#214e35;background:#eef4ec;}
.freight-spec {padding:6px var(--panel-inset) 6px calc(var(--panel-inset) + 42px);border-bottom:1px solid #edf0eb;display:flex;gap:7px;align-items:baseline;font-size:12px;background:#fff;}
.freight-spec small {font-size:10px;color:var(--muted);overflow-wrap:anywhere;}.freight-spec b {margin-inline-start:auto;}
.receipt-dialog.arrival {width:min(540px,calc(100vw - 20px));max-height:85dvh;padding:0;}
.arrival form {display:flex;flex-direction:column;max-height:84dvh;}
.arrival header,.arrival .receipt-place,.arrival .receipt-error,.arrival footer {padding:11px 17px;flex:none;}
.arrival header {border-bottom:1px solid var(--edge);background:#f5f8f2;}
.receipt-place {display:grid;gap:5px;font-size:12px;font-weight:650;}
.receipt-place select,.receipt-place input {background:#fff;border:1px solid #bccdbf;padding:7px 9px;border-radius:6px;width:100%;}
.arrival .receipt-lines {margin:0;padding:0 17px;overflow:auto;min-height:0;}
.arrival .receipt-lines label {display:grid;grid-template-columns:33px minmax(0,1fr) auto;}
.arrival .receipt-lines img {object-fit:cover;border-radius:5px;}
.arrival footer {border-top:1px solid var(--edge);background:white;}
.add-place [role=alert] {color:#873b27;}
.add-place footer {margin-top:14px;}
@media(min-width:701px) { .workspace{height:100%;} }
@media(max-width:700px) {
 .shell {display:flex;flex-direction:column;}
 .sidebar {height:auto;max-height:35dvh;flex:none;padding-block:4px;}
 .workspace {flex:1;}
 .work-nav {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;}
 .work-nav>[data-act="locations-nav"] {grid-column:1;grid-row:1;}
 .work-nav>[data-id="transit"] {grid-column:2;grid-row:1;}
 .work-nav>[data-id="alerts"] {grid-column:3;grid-row:1;}
 .locations-nav {grid-column:1/-1;grid-row:2;display:flex;gap:4px;max-width:100%;overflow:auto;overscroll-behavior:contain;border:0;padding:0;margin:0;}
 .work-nav .locations-nav button {flex:1 0 auto;width:auto;justify-content:center;white-space:nowrap;padding:5px 8px;min-height:29px;font-size:11.5px;}
 .work-nav [data-act="locations-nav"]>.warehouse-caret {margin-inline-start:2px;}
 .page {padding-block:6px;}
}
@container(max-width:560px) {
 .waybill-bar {grid-template-columns:minmax(90px,1fr) max-content auto;gap:4px 8px;}
 .freight-date {display:none;}
 #transit-list .manifest-shop-head .ship-tally {display:none;}
 .freight-spec {padding-inline-start:calc(var(--panel-inset) + 32px);}
}
@media(max-height:520px){ .sidebar .site,.sidebar .delivery-scene {display:none;} .page {overflow:auto;} .page>.panel {min-height:170px;} }
@media(prefers-reduced-motion:reduce){.fold-chevron:after,.warehouse-caret svg,.work-nav .locations-nav button {transition:none;}}
.inventory-page #listing .column-head,.inventory-page #listing .product-band,.inventory-page #listing .sku-line {grid-template-columns:minmax(0,1fr) minmax(88px,auto);}
.inventory-page #listing .column-head>span:empty,.inventory-page .row-end:not(:has(button:not([hidden]))) {display:none;}
.inventory-page #listing .column-head>span:nth-child(2),.inventory-page .read-quantity,.inventory-page .product-sum {justify-self:end;text-align:end;}
.inventory-page .qty-cell {justify-content:flex-end;}
.inventory-page .row-end {grid-column:1/-1;justify-content:flex-end;}
.inventory-page .product-info {min-width:0;}
.receipt-count {display:inline-flex;align-items:center;gap:4px;color:#30533b;padding:1px 0;}
.receipt-count:hover {text-decoration:underline;}
