@charset "UTF-8";
/* V7.6: one navigation rail, a useful home, and focused business workspaces. */
:root {
  --ws-rail:220px;
  --ws-panel:#FFFFFF;
  --ws-tint:#F6F9FF;
  --ws-line:#DCE5F5;
  --ws-title:#3D4A62;
  --ws-copy:#4F5B70;
  --ws-muted:#647089;
  --ws-blue:#3968F1;
}
html,body,.workspace,.workspace>main,#home-view,#inventory-view,#purchases-view,#returns-view { min-width:0; }
.sidebar {
  width:var(--ws-rail);padding:23px 16px 0;
  background:linear-gradient(165deg,#C1D4FC 0%,#D8E5FF 43%,#EAF1FF 100%);
  border-right:1px solid #CDDCF6;box-shadow:none;
}
.workspace { margin-left:var(--ws-rail); }
.sidebar .brand { min-height:47px;padding:0 8px;gap:10px; }
.sidebar .brand-mark { width:34px;min-width:34px;flex:0 0 34px;height:38px;color:#396DFF; }
.sidebar .brand-mark .icon { width:31px;height:31px; }
.sidebar #workspace-brand-name { font-size:14px;line-height:1.5;letter-spacing:0;max-width:136px;white-space:normal;overflow-wrap:anywhere; }
.sidebar .brand-en { font-size:7px;letter-spacing:1.6px;margin-top:2px; }
.sidebar .brand img { display:block;width:100%;max-width:176px;height:48px;object-fit:contain; }
.sidebar .workspace-label { margin:26px 0 12px 12px;font-size:9px;letter-spacing:1.8px;color:#5F7398; }
.sidebar nav { margin-top:0; }
.sidebar .nav-item {
  min-height:46px;padding:11px 14px;margin-bottom:7px;gap:12px;
  font-size:13px;border-radius:13px;color:#566783;white-space:nowrap;
}
.sidebar .nav-item .icon { width:18px;height:18px;flex:0 0 18px;color:inherit; }
.sidebar .nav-item>span:not(.nav-dot):not(.nav-warning-count) { min-width:0;white-space:nowrap; }
.sidebar .nav-item.active {
  color:#315FDE;background:#C7D9FF;border:1px solid #B8CEF6;
  box-shadow:none;font-weight:600;
}
.sidebar .nav-item:hover { background:#D3E2FC;color:#315FDE; }
.sidebar .nav-item.active .icon { color:#396DFF; }
.sidebar #nav-returns { font-size:13px; }
.sidebar .nav-warning-count { font-size:10px;min-width:20px;margin-left:auto;border-color:#C6D5F0;background:#F4F7FF;color:#53688E; }
.sidebar .nav-dot { margin-left:auto;box-shadow:0 0 0 3px #396DFF0D; }
.sidebar .lan-card { padding:14px 13px;margin-bottom:16px;border-radius:15px;background:#F5F8FFD9;box-shadow:none;border-color:#CBDCF8; }
.sidebar .lan-icon { margin-bottom:7px; }
.sidebar .lan-icon .icon { width:18px;height:18px; }
.sidebar .lan-card strong { font-size:11px; }
.sidebar .lan-card p { font-size:10px;line-height:1.75;margin:6px 0 11px; }
.sidebar .lan-status { font-size:9px;gap:6px; }
.sidebar .sidebar-footer { padding:16px 0 18px;gap:9px;border-color:#C8D9F5; }
.sidebar-footer .version { font-size:8px; }
.sidebar-footer small { font-size:9px; }
.sidebar #workspace-footer-name { display:block;max-width:129px;overflow-wrap:anywhere;line-height:1.5; }
.topbar { height:54px;min-height:54px;padding:0 26px;background:#F7FAFFD9;border-color:#E0E8F7;box-shadow:none; }
.topbar .breadcrumb { font-size:11px;gap:11px; }
.topbar .breadcrumb .icon { width:11px;height:11px; }
.topbar-right { gap:13px;font-size:10px; }
.topbar .live-status { font-size:10px;padding:6px 8px;border-radius:8px; }
.workspace>main { padding:24px 26px 24px; }
.workspace main>.local-test-notice { display:none; }
.company-context {
  padding:10px 14px;margin:0 0 19px;gap:12px;min-height:46px;
  border-radius:13px;background:#FFFFFFD9;border-color:#E0E8F7;box-shadow:none;
}
.company-context .company-context-identity { display:flex;align-items:center;gap:9px;min-width:0;flex:1 1 auto; }
.company-context #company-context-name { font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:anywhere; }
.company-context .company-context-kicker { font-size:10px;letter-spacing:.4px;flex-shrink:0; }
.company-context .company-context-actions { gap:6px;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end; }
.company-context .company-context-actions .button { min-height:28px;padding:5px 8px;font-size:10px;line-height:1.5; }
.company-context .company-context-account { font-size:10px;max-width:130px;padding:4px 7px;line-height:1.5;overflow-wrap:anywhere; }

/* Home follows the reference's large summary panel and compact action tiles. */
.workspace-home { display:grid;gap:20px; }
.ws-home-heading {
  display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px;
}
.ws-home-heading>div { min-width:0; }
.ws-home-heading h1 { margin:0;color:var(--ws-title);font-size:25px;line-height:1.45;font-weight:650;letter-spacing:.2px;overflow-wrap:anywhere; }
.ws-home-heading h1 span { color:var(--ws-blue); }
.ws-home-heading p { margin:5px 0 0;font-size:11px;line-height:1.7;color:var(--ws-muted); }
.ws-home-heading .button { flex-shrink:0;font-size:11px;min-height:33px;padding:7px 12px; }
.ws-account-badge,.ws-role-badge { display:inline-flex;font-size:10px;line-height:1.5;font-weight:500;color:#3968D8;border:1px solid #AFC8F8;background:#F2F7FF;border-radius:20px;padding:2px 8px;margin-left:10px;vertical-align:middle; }
.ws-overview {
  border:1px solid var(--ws-line);border-radius:20px;min-width:0;
  background:linear-gradient(115deg,#F7FAFF,#F2F6FF 70%,#F7FAFF);overflow:hidden;box-shadow:0 2px 10px #5275B203;
}
.ws-overview>.ws-section-heading { padding:18px 23px 0; }
.ws-overview-top { display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 25px;border-bottom:1px solid #E2EAF7;background:#FBFDFF99; }
.ws-overview-top>div { display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;color:#4F6588; }
.ws-overview-top>div strong { font-weight:550; }
.ws-overview-top>span { font-size:10px;line-height:1.6;color:var(--ws-muted);text-align:right; }
.ws-overview-dot { display:inline-block;width:6px;height:6px;border-radius:50%;background:#5A86E9;box-shadow:0 0 0 3px #5A86E914;flex-shrink:0; }
.ws-overview .metrics.ws-summary-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0; }
.ws-overview .metric.ws-stat-group {
  display:grid;grid-template-columns:40px minmax(0,1fr);gap:16px;align-items:start;
  position:relative;min-height:127px;padding:24px 25px;margin:0;
  border:0;border-radius:0;background:transparent;box-shadow:none;isolation:isolate;
}
.ws-overview .ws-stat-group:nth-child(2n+1) { border-right:1px solid #DCE5F5; }
.ws-overview .ws-stat-group:nth-child(n+3) { border-top:1px solid #DCE5F5; }
.ws-stat-group>div { grid-column:2;grid-row:1;min-width:0; }
.ws-stat-group .metric-icon { grid-column:1;grid-row:1;align-self:start;width:40px;height:40px;flex:0 0 40px;margin-top:3px;border-radius:13px;border:0;background:#E5EEFF;color:#396DFF; }
.ws-stat-group .metric-icon .icon { width:23px;height:23px; }
.ws-stat-group:nth-child(2) .metric-icon { background:#E3F3FC;color:#188BB2; }
.ws-stat-group:nth-child(3) .metric-icon { background:#EDEBFF;color:#7462D3; }
.ws-stat-group:nth-child(4) .metric-icon { background:#E4F3F0;color:#3E8C81; }
.ws-stat-content { padding-right:55px; }
.ws-stat-group .metric-label { display:block;font-size:12px;line-height:1.5;color:#53647E; }
.ws-stat-group .metric-number { display:block;color:#3D4A62;font-size:32px;line-height:1.1;font-weight:650;letter-spacing:-.5px;margin:7px 0 7px;font-variant-numeric:tabular-nums; }
.ws-stat-link { position:absolute;right:24px;top:25px;display:inline-flex;align-items:center;gap:3px;background:none;border:0;padding:0;color:#3968D8;font:inherit;font-size:10px;line-height:1.5;cursor:pointer; }
.ws-stat-link .icon { width:11px;height:11px; }
.ws-stat-link:hover { color:#234DBD; }
.ws-stat-group .metric-caption { display:block;font-size:10px;line-height:1.7;color:var(--ws-muted);white-space:normal; }
.ws-stat-group .metric-caption b { color:#435D85;font-weight:600;font-size:11px; }
.ws-stat-group .location-summary { display:flex;align-items:baseline;gap:6px;flex-wrap:wrap; }
.ws-stat-group .metric-link { font-size:10px;line-height:1.6;padding:0;color:#946513; }
.ws-stat-group .metric-link .icon { width:11px;height:11px; }
.ws-stat-secondary,.ws-substats { display:flex;align-items:baseline;gap:13px;flex-wrap:wrap;font-size:10px;line-height:1.7;color:var(--ws-muted); }
.ws-stat-secondary strong,.ws-substats strong { font-size:11px;font-weight:600;color:#435D85; }
.ws-stat-caption { font-size:10px;line-height:1.7;color:var(--ws-muted);margin-top:4px; }
.ws-section-heading { display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;margin-bottom:11px; }
.ws-section-heading h2 { font-size:16px;line-height:1.5;margin:0;color:var(--ws-title);font-weight:650;letter-spacing:.1px; }
.ws-section-heading p { font-size:10px;color:var(--ws-muted);margin:4px 0 0;line-height:1.6; }
.ws-section-heading>span { font-size:10px;line-height:1.6;color:var(--ws-muted);text-align:right; }
.ws-count { display:inline-block;color:#5977B2;background:#EDF3FF;border:1px solid #E0E8F7;font-size:10px;line-height:1.4;border-radius:5px;padding:1px 5px;font-weight:500; }
.ws-section-heading>button,.ws-section-link { border:0;background:none;color:#3968D8;font:inherit;font-size:10px;line-height:1.5;cursor:pointer;padding:4px 0;flex-shrink:0; }
.ws-section-heading>button:hover,.ws-section-link:hover { color:#234DBD;text-decoration:underline; }
.ws-shortcuts { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px; }
.ws-shortcut {
  appearance:none;display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:11px;row-gap:4px;align-content:center;
  min-width:0;min-height:96px;padding:16px 14px;background:#FBFDFF;border:1px solid var(--ws-line);border-radius:16px;
  text-align:left;color:var(--ws-copy);font:inherit;cursor:pointer;box-shadow:none;position:relative;isolation:isolate;
}
.ws-shortcut-icon { display:grid;place-items:center;grid-column:1;grid-row:1/3;width:36px;height:40px;align-self:center;background:#E9F0FF;border-radius:12px;color:#396DFF; }
.ws-shortcut-icon .icon { width:22px;height:22px;stroke-width:1.7; }
.ws-shortcut>span:nth-child(2) { grid-column:2;grid-row:1/3;min-width:0;padding-right:3px; }
.ws-shortcut .ws-shortcut-arrow { position:absolute;right:8px;top:15px;width:10px;height:10px;color:#8DA4CC;opacity:.75; }
.ws-shortcut:nth-child(2) .ws-shortcut-icon { background:#E3F4FA;color:#2088A9; }
.ws-shortcut:nth-child(3) .ws-shortcut-icon { background:#FDF0E2;color:#C18B3D; }
.ws-shortcut:nth-child(4) .ws-shortcut-icon { background:#E5F5F0;color:#3F9680; }
.ws-shortcut:nth-child(5) .ws-shortcut-icon { background:#EEEAFF;color:#7A63CE; }
.ws-shortcut strong { grid-column:2;min-width:0;align-self:end;font-size:12px;font-weight:600;line-height:1.5;color:#425675;overflow-wrap:anywhere; }
.ws-shortcut small { grid-column:2;display:block;font-size:10px;line-height:1.65;color:var(--ws-muted);min-width:0;overflow-wrap:anywhere; }
.ws-shortcut:hover { border-color:#B1C9F7;background:#F6F9FF;box-shadow:0 5px 16px #4974BB0A; }
.ws-shortcut:active { background:#EEF4FF; }
.ws-shortcut:focus-visible,.ws-help-card:focus-visible { outline:2px solid #779CEC;outline-offset:3px; }
.ws-shortcut:disabled { opacity:.48;cursor:default; }
.ws-todos { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0; }
.ws-todo-panel { border:1px solid var(--ws-line);border-radius:18px;background:#FFFFFF;min-width:0;overflow:hidden; }
.ws-todo-panel>.ws-section-heading { padding:17px 20px 12px;margin:0;border-bottom:1px solid #E7EDF8; }
.ws-todo-panel .ws-section-heading h2 { font-size:14px;display:flex;gap:8px;align-items:center; }
.ws-todo-panel .ws-section-heading h2 .icon { width:16px;height:16px;color:#6A86BB; }
.ws-todo-list { list-style:none;padding:0 20px;margin:0;min-width:0; }
.ws-todo-item { min-width:0;list-style:none;border-bottom:1px solid #EBF0F9;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:13px;min-height:55px; }
.ws-todo-item:last-child { border-bottom:0; }
.ws-todo-item>div { min-width:0; }
.ws-todo-item strong,.ws-todo-item .ws-todo-name { display:block;font-size:12px;line-height:1.5;font-weight:550;color:#415776;overflow-wrap:anywhere; }
.ws-todo-item small,.ws-todo-item .ws-todo-caption { display:block;font-size:10px;line-height:1.65;color:var(--ws-muted);margin-top:3px;overflow-wrap:anywhere; }
.ws-todo-item .ws-todo-value { font-size:17px;color:#3968D8;white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums; }
.ws-todo-item .ws-todo-quantity,.ws-todo-item .ws-todo-meta { font-size:10px;color:var(--ws-muted);white-space:normal;text-align:right;flex-shrink:0; }
.ws-todo-item .ws-todo-quantity { max-width:48%; }
.ws-todo-item .ws-todo-quantity>b { display:block;color:#9B6D2F;font-size:12px;line-height:1.5;font-weight:600; }
.ws-todo-item .ws-todo-deadline>b { color:#3968D8; }
.ws-todo-item>button>.icon { width:12px;height:12px;color:#98ABCC;flex:0 0 12px; }
.ws-todo-item button { font:inherit;font-size:11px;line-height:1.5;color:#3968D8;background:none;border:0;padding:0;text-align:left;cursor:pointer;max-width:100%;overflow-wrap:anywhere; }
.ws-todo-item button:hover { color:#234DBD; }
.ws-todo-item>button { display:flex;align-items:center;justify-content:space-between;gap:13px;width:100%; }
.ws-todo-item>button>span:first-child { flex:1;min-width:0; }
.ws-todo-empty,.ws-empty-note { min-height:118px;display:grid;place-items:center;padding:24px 20px;text-align:center;color:var(--ws-muted);font-size:11px;line-height:1.8; }
.ws-todo-loading { min-height:118px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:var(--ws-muted); }
.ws-panel-note,.ws-overview-note { padding:11px 20px;margin:0;background:#F8FAFF;border-top:1px solid #E7EDF8;font-size:10px;color:var(--ws-muted);line-height:1.7; }
.ws-data-notice { margin:0;padding:10px 20px;background:#FFF8ED;border-top:1px solid #F0DFC5;color:#98723E;font-size:10px;line-height:1.7; }
.ws-help-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px; }
.ws-help-card {
  appearance:none;display:flex;align-items:center;gap:13px;min-width:0;min-height:80px;padding:16px 18px;
  color:var(--ws-copy);background:#FBFDFF;border:1px solid var(--ws-line);border-radius:16px;text-align:left;font:inherit;cursor:pointer;
}
.ws-help-card>.icon,.ws-help-icon { display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border-radius:9px;color:#587CD2;background:#EDF3FF;padding:6px; }
.ws-help-card>span { min-width:0; }
.ws-help-card>.ws-help-step { display:grid;place-items:center;width:30px;height:31px;flex:0 0 30px;border:1px solid #DCE7F9;border-radius:9px;color:#6682B8;background:#EDF4FF;font-size:10px;font-weight:600; }
.ws-help-card>span:nth-child(2) { flex:1;min-width:0; }
.ws-help-card>.icon:last-child { margin-left:auto;width:12px;height:12px;flex:0 0 12px;color:#93A7CC;background:none;padding:0; }
.ws-help-card strong { display:block;font-size:12px;line-height:1.5;color:#435A7C;font-weight:550; }
.ws-help-card small { display:block;font-size:10px;line-height:1.65;color:var(--ws-muted);margin-top:4px;overflow-wrap:anywhere; }
.ws-help-card:hover { color:#315FDE;background:#F4F8FF;border-color:#B8CEF6; }
.ws-help-card .ws-help-arrow { margin-left:auto;width:13px;flex-shrink:0;color:#93A7CC;background:none;padding:0; }
.ws-home-status { padding:10px 13px;border:1px solid #DCE5F5;border-radius:10px;font-size:11px;line-height:1.7;color:var(--ws-muted);background:#F8FAFF; }
.ws-home-status.is-error { background:#FFF7F2;color:#A16E3D;border-color:#ECD6C3; }

/* Business pages lead with their task; controls stay above one complete list. */
.page-heading,.ret-heading { min-width:0;margin-bottom:18px;gap:18px; }
.page-heading h1,.ret-heading h1 { font-size:27px;line-height:1.35;margin:0;color:var(--ws-title); }
.page-heading p,.ret-heading p { font-size:11px;line-height:1.7;margin:6px 0 0; }
.page-heading .eyebrow,.ret-heading .eyebrow { display:none; }
.page-heading>div { display:block;padding:0;min-width:0; }
.page-heading>.ws-page-actions { display:flex;align-items:center;gap:8px;flex-shrink:0;padding:0; }
.ws-page-actions>.button { font-size:11px;min-height:35px;padding:8px 12px; }
.page-heading>.button-primary,.ret-heading>.button-primary { min-height:36px;padding:9px 15px;font-size:12px; }
#inventory-view>.metrics,#inventory-view>.wh-flow-strip { margin-bottom:16px; }
.inventory-panel,.ret-list-panel { border-radius:18px;box-shadow:none; }
.inventory-panel>.panel-heading { padding:18px 20px 13px;gap:12px; }
.inventory-panel>.panel-heading h2 { font-size:16px; }
.inventory-panel>.panel-heading p { font-size:10px; }
.inventory-panel>.toolbar,.inventory-panel>.ret-toolbar { padding:0 20px 16px;gap:12px; }
.inventory-panel>.toolbar .tab,.ret-tabs>button { font-size:11px;padding:6px 9px;min-height:30px; }
.inventory-panel>.toolbar .filter-controls .search-box { height:36px; }
.inventory-panel>.toolbar .filter-controls .search-box input { font-size:11px; }
.inventory-panel>.toolbar .filter-controls>select { height:36px;font-size:10px; }
.table-scroll,.ret-table-scroll,.wh-ledger-scroll { max-width:100%;width:100%;min-width:0;max-height:none;overflow:visible; }
.inventory-table,.ret-table,.wh-ledger-table { width:100%;min-width:0;max-width:100%;table-layout:fixed; }
.inventory-table td,.ret-table td,.wh-ledger-table td { white-space:normal;overflow-wrap:anywhere; }
.inventory-table .thumbnail img,.ret-table .thumbnail img,.image-preview img { object-fit:contain!important; }
.inventory-table .notes-text,.wh-order-value,.wh-tracking-cell,.ret-order-label { overflow-wrap:anywhere;white-space:normal; }
.inventory-table thead th,.ret-table thead th,.wh-ledger-table thead th { background:#F5F8FE; }
.ret-hero { border-radius:18px;box-shadow:none; }
.ret-metrics { gap:14px; }
.ret-metrics>article { border-radius:14px;box-shadow:none; }
.ret-rules { border-radius:14px;box-shadow:none; }
.ret-list-panel .ret-search { min-width:0; }

/* Procurement is a first-class page, not a second scrolling modal. */
#purchases-view,#wh-records.wh-records-workspace { min-width:0;width:100%;max-width:100%; }
.wh-records-workspace .page-heading { margin:0 0 18px; }
.wh-records-workspace .wh-caption { font-size:11px;line-height:1.7;color:var(--ws-muted); }
.wh-records-workspace .wh-ledger-top {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:19px 22px;margin:0 0 19px;
  border:1px solid var(--ws-line);border-radius:18px;background:linear-gradient(110deg,#F4F8FF,#F7F9FF);min-width:0;
}
.wh-records-workspace .wh-ledger-top>div { display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;padding-left:24px;border-left:1px solid #DCE5F5; }
.wh-records-workspace .wh-ledger-top>div:first-child { border-left:0;padding-left:0; }
.wh-records-workspace .wh-ledger-top strong { color:#3D4A62;font-size:29px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums; }
.wh-records-workspace .wh-ledger-top span { font-size:11px;line-height:1.5;color:var(--ws-muted); }
.wh-records-workspace .wh-ledger-top>p { grid-column:1/-1;margin:13px 0 0;padding-top:10px;border-top:1px solid #DCE5F5;color:var(--ws-muted);font-size:10px;line-height:1.7; }
.wh-ledger-panel { border:1px solid var(--ws-line);border-radius:18px;background:#FFF;min-width:0;overflow:hidden; }
.wh-records-workspace .wh-status-tabs { display:flex;gap:5px;padding:4px;background:#F2F6FD;border:1px solid #E3EBF8;border-radius:10px;max-width:100%;flex-wrap:wrap; }
.wh-status-tabs button { appearance:none;font:inherit;font-size:11px;min-height:31px;padding:6px 11px;color:#65758F;border:1px solid transparent;border-radius:7px;background:transparent;cursor:pointer;white-space:normal;line-height:1.5; }
.wh-status-tabs button.active,.wh-status-tabs button[aria-pressed="true"] { color:#315FDE;background:#FFF;border-color:#DCE5F5;box-shadow:0 1px 3px #5074AE08; }
.wh-status-tabs button:hover { color:#315FDE; }
.wh-status-tabs button span { margin-left:5px;color:inherit;font-size:10px; }
.wh-records-workspace .wh-search-row { padding:0 20px;margin:0 0 16px;gap:10px;min-width:0;align-items:center;flex-wrap:wrap; }
.wh-records-workspace .wh-search-row .search-box { min-width:0;flex:1 1 200px;height:36px; }
.wh-records-workspace .wh-search-row .search-box input { font-size:11px;min-width:0; }
.wh-records-workspace .wh-search-row .button { min-height:34px;font-size:11px; }
.wh-records-workspace .wh-ledger-toolbar { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px 14px;min-width:0;flex-wrap:wrap; }
.wh-records-workspace .wh-ledger-toolbar .wh-search-row { padding:0;margin:0;flex:1 1 260px; }
.wh-records-workspace .wh-ledger-scroll { border:0;border-radius:0;max-height:none;overflow:visible; }
.wh-records-workspace .wh-ledger-table { width:100%;min-width:0;max-width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0; }
.wh-records-workspace .wh-ledger-table th { position:static;font-size:11px;white-space:normal;line-height:1.6;padding:13px 15px;overflow-wrap:anywhere; }
.wh-records-workspace .wh-ledger-table td { font-size:12px;line-height:1.7;padding:18px 15px;overflow-wrap:anywhere;white-space:normal; }
.wh-records-workspace .wh-ledger-table th:nth-child(1) { width:25%; }
.wh-records-workspace .wh-ledger-table th:nth-child(2) { width:21%; }
.wh-records-workspace .wh-ledger-table th:nth-child(3) { width:18%; }
.wh-records-workspace .wh-ledger-table th:nth-child(4) { width:16%; }
.wh-records-workspace .wh-ledger-table th:nth-child(5) { width:20%; }
.wh-records-workspace .wh-ledger-table td time { font-size:10px;margin-bottom:6px; }
.wh-records-workspace .wh-ledger-table td strong { font-size:12px;line-height:1.7;white-space:normal;overflow-wrap:anywhere; }
.wh-records-workspace .wh-ledger-table .wh-received-number { font-size:26px;line-height:1.3;color:#3968D8; }
.wh-records-workspace .wh-received-number>span { font-size:10px;font-weight:400; }
.wh-records-workspace .wh-ledger-table td small { font-size:10px;line-height:1.7; }
.wh-records-workspace .wh-order-value,.wh-records-workspace .wh-tracking-cell { max-width:none;white-space:normal;word-break:normal;overflow-wrap:anywhere; }
.wh-records-workspace .wh-record-actions { max-width:none;display:flex;gap:5px;flex-wrap:wrap; }
.wh-records-workspace .wh-record-actions button { font-size:10px;line-height:1.5;padding:6px 8px;white-space:normal;min-width:0; }
.wh-records-workspace .wh-record-footer { padding:14px 20px;margin:0;border-top:1px solid #E4EBF7;gap:12px;flex-wrap:wrap;font-size:11px;line-height:1.6; }
.wh-records-workspace .wh-record-footer>div { flex-wrap:wrap; }
.wh-records-workspace .wh-footnote { font-size:10px;line-height:1.8;color:var(--ws-muted);margin:13px 1px 0; }
.wh-records-workspace #wh-record-error { margin:0 20px 14px; }
.wh-records-workspace .wh-record-empty { font-size:12px;color:var(--ws-muted);padding:46px 20px; }
.wh-records-workspace .wh-product-filter { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin:0 20px 14px;border:1px solid #DCE5F5;border-radius:10px;background:#F5F8FF;font-size:11px;line-height:1.7;min-width:0; }
.wh-records-workspace .wh-product-filter>span { min-width:0;overflow-wrap:anywhere; }
.wh-records-workspace .wh-product-filter .button { flex-shrink:0;min-height:27px;font-size:10px;padding:5px 8px; }
.wh-records-workspace .wh-record-loading { margin:0;padding:18px 20px;border-top:1px solid #E7EDF8;color:var(--ws-muted);font-size:11px;line-height:1.7; }
.ws-filter-context { display:flex;align-items:center;gap:9px;padding:10px 12px;margin:0 0 14px;border:1px solid #DCE5F5;border-radius:10px;background:#F4F8FF;font-size:11px;line-height:1.7;min-width:0;overflow-wrap:anywhere; }
.ws-filter-context button { margin-left:auto;color:#3968D8;border:0;background:none;font:inherit;font-size:10px;cursor:pointer;flex-shrink:0; }
.main-footer { margin-top:19px;font-size:9px;line-height:1.8; }
.company-auth-wordmark { min-width:0; }
.company-auth-wordmark .company-auth-logo { display:block;width:min(390px,100%);max-width:100%;height:auto;object-fit:contain;flex:0 1 390px;min-width:0; }
@media(max-width:720px) { .company-auth-wordmark .company-auth-logo { width:min(310px,100%);flex-basis:310px; } }

@media(min-width:1700px) {
  :root { --ws-rail:246px; }
  .workspace>main { padding:29px 34px; }
  .topbar { padding-left:34px;padding-right:34px; }
  .sidebar { padding-left:20px;padding-right:20px; }
  .sidebar .nav-item { font-size:14px;padding:13px 17px;min-height:49px; }
  .sidebar #nav-returns { font-size:14px; }
  .ws-home-heading h1 { font-size:28px; }
  .ws-stat-group .metric-number { font-size:36px; }
  .ws-overview .metric.ws-stat-group { padding:29px;min-height:141px; }
  .ws-shortcuts { gap:16px; }
  .ws-shortcut { padding:20px;min-height:108px; }
  .ws-shortcut strong,.ws-help-card strong { font-size:14px; }
  .ws-shortcut small,.ws-help-card small { font-size:11px; }
}
@media(max-width:1280px) {
  :root { --ws-rail:194px; }
  .workspace>main { padding:21px 20px; }
  .topbar { padding-left:20px;padding-right:20px; }
  .sidebar { padding-left:12px;padding-right:12px; }
  .sidebar .nav-item { padding:10px 11px;gap:10px;font-size:12px;min-height:44px; }
  .sidebar #nav-returns { font-size:12px; }
  .sidebar #workspace-brand-name { font-size:12px;max-width:120px; }
  .sidebar .brand-mark { width:29px;min-width:29px;flex-basis:29px; }
  .sidebar .brand-mark .icon { width:28px;height:28px; }
  .company-context { padding:9px 11px;margin-bottom:16px;gap:9px; }
  .company-context .company-context-kicker { display:none; }
  .company-context #company-context-name { font-size:12px; }
  .company-context .company-context-actions .button { font-size:9px;padding:5px 7px; }
  .company-context .company-context-account { max-width:105px;font-size:9px; }
  .workspace-home { gap:17px; }
  .ws-home-heading h1 { font-size:23px; }
  .ws-home-heading p { font-size:10px; }
  .ws-overview .metric.ws-stat-group { padding:20px;min-height:119px;grid-template-columns:34px minmax(0,1fr);gap:12px; }
  .ws-stat-group .metric-icon { width:34px;height:34px;border-radius:11px; }
  .ws-stat-group .metric-icon .icon { width:20px;height:20px; }
  .ws-stat-group .metric-number { font-size:30px; }
  .ws-stat-group .metric-label { font-size:11px; }
  .ws-stat-link { right:20px;top:21px;font-size:9px; }
  .ws-shortcuts { gap:9px; }
  .ws-shortcut { padding:14px 11px;grid-template-columns:30px minmax(0,1fr);column-gap:9px;min-height:94px;border-radius:14px; }
  .ws-shortcut-icon { width:30px;height:35px;border-radius:10px; }
  .ws-shortcut-icon .icon { width:19px;height:19px; }
  .ws-shortcut strong { font-size:11px; }
  .ws-shortcut small { font-size:9px; }
  .ws-todos { gap:13px; }
  .ws-todo-panel>.ws-section-heading { padding:15px 16px 11px; }
  .ws-todo-list { padding:0 16px; }
  .ws-todo-item { gap:9px;padding:11px 0; }
  .ws-todo-item strong,.ws-todo-item .ws-todo-name { font-size:11px; }
  .ws-todo-item small,.ws-todo-item .ws-todo-caption { font-size:9px; }
  .ws-todo-item .ws-todo-value { font-size:16px; }
  .ws-help-grid { gap:10px; }
  .ws-help-card { padding:14px 13px;gap:10px;min-height:79px; }
  .ws-help-card strong { font-size:11px; }
  .ws-help-card small { font-size:9px; }
  .inventory-panel>.toolbar,.inventory-panel>.ret-toolbar { flex-wrap:wrap; }
  .inventory-panel>.toolbar .filter-controls { flex:1 1 350px; }
  .inventory-panel>.panel-heading { padding-left:16px;padding-right:16px; }
  .inventory-panel>.toolbar,.inventory-panel>.ret-toolbar { padding-left:16px;padding-right:16px; }
  .wh-records-workspace .wh-ledger-top { padding:17px 18px; }
  .wh-records-workspace .wh-ledger-table th,.wh-records-workspace .wh-ledger-table td { padding-left:11px;padding-right:11px; }
  .wh-records-workspace .wh-ledger-toolbar { padding:15px 16px 13px; }
  .wh-records-workspace .wh-search-row { padding-left:16px;padding-right:16px; }
}
@media(max-width:1020px) and (min-width:761px) {
  :root { --ws-rail:176px; }
  .sidebar { display:flex;padding-left:10px;padding-right:10px; }
  .sidebar .brand { justify-content:flex-start;padding:0 4px;gap:7px; }
  .sidebar .brand>span:nth-child(2) { display:block; }
  .sidebar .workspace-label { display:block;margin-top:23px; }
  .sidebar .nav-item { justify-content:flex-start;gap:9px;padding:10px 10px; }
  .sidebar .nav-item>span { display:inline; }
  .sidebar .nav-item .icon { width:17px;height:17px;flex-basis:17px; }
  .sidebar .lan-card { display:block; }
  .sidebar .sidebar-footer { display:flex; }
  .sidebar #workspace-brand-name { font-size:11px;max-width:110px; }
  .workspace>main { padding:18px 16px; }
  .topbar { padding-left:16px;padding-right:16px; }
  .topbar-right { gap:9px; }
  .company-context { flex-wrap:wrap; }
  .company-context .company-context-actions { flex:1 1 100%;justify-content:flex-start; }
  .ws-shortcuts { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ws-shortcut { min-height:80px;padding:13px; }
  .ws-help-grid { grid-template-columns:1fr; }
  .ws-help-card { min-height:65px; }
  .ws-todo-item { align-items:flex-start; }
  .ws-todo-item>button { align-items:flex-start; }
  .wh-records-workspace .wh-ledger-toolbar { align-items:flex-start; }
  .wh-records-workspace .wh-ledger-toolbar .wh-search-row { flex-basis:100%; }
}
@media(max-width:760px) {
  .sidebar { display:none; }
  .workspace { margin-left:0; }
  .workspace>main { padding:16px 13px 88px; }
  .topbar { height:49px;min-height:49px;padding:0 14px; }
  .topbar .breadcrumb { font-size:10px;gap:7px; }
  .topbar #today,.topbar-divider { display:none; }
  .topbar .live-status { font-size:9px;padding:5px 6px; }
  .topbar .mobile-brand { font-size:15px;margin-right:8px; }
  .company-context { padding:11px 12px;flex-wrap:wrap;margin-bottom:15px;border-radius:12px; }
  .company-context .company-context-actions { flex:1 1 100%;justify-content:flex-start;gap:5px; }
  .company-context .company-context-actions .button { min-height:28px;font-size:9px; }
  .company-context #company-context-name { font-size:12px; }
  .workspace-home { gap:16px; }
  .ws-home-heading { align-items:flex-start;gap:12px; }
  .ws-home-heading h1 { font-size:21px; }
  .ws-home-heading p { font-size:10px; }
  .ws-home-heading .button { font-size:10px;padding:6px 9px;min-height:31px; }
  .ws-overview { border-radius:16px; }
  .ws-overview .metric.ws-stat-group { padding:16px 13px;gap:0;display:block;min-height:112px; }
  .ws-stat-group .metric-icon { display:none; }
  .ws-stat-group .metric-label { font-size:10px; }
  .ws-stat-group .metric-number { font-size:27px;margin:6px 0; }
  .ws-stat-group .metric-caption { font-size:9px; }
  .ws-stat-group .metric-caption b { font-size:10px; }
  .ws-stat-group .metric-link { font-size:9px; }
  .ws-section-heading h2 { font-size:15px; }
  .ws-section-heading p { display:none; }
  .ws-section-heading>span { display:none; }
  .ws-overview-top { padding:13px;gap:10px; }
  .ws-overview-top>div { font-size:10px; }
  .ws-overview-top>span { font-size:9px;max-width:47%; }
  .ws-stat-content { padding-right:0; }
  .ws-stat-link { position:static;display:inline-flex;margin-top:7px;font-size:9px; }
  .ws-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr));gap:9px; }
  .ws-shortcut { min-height:83px;padding:13px; }
  .ws-shortcut strong { font-size:11px; }
  .ws-shortcut small { font-size:9px; }
  .ws-todos { grid-template-columns:1fr;gap:14px; }
  .ws-todo-panel { border-radius:15px; }
  .ws-todo-panel>.ws-section-heading { padding:15px 16px 11px; }
  .ws-todo-list { padding:0 16px; }
  .ws-todo-item strong,.ws-todo-item .ws-todo-name { font-size:12px; }
  .ws-todo-item small,.ws-todo-item .ws-todo-caption { font-size:10px; }
  .ws-help-grid { grid-template-columns:1fr;gap:9px; }
  .ws-help-card { min-height:66px; }
  .ws-help-card strong { font-size:12px; }
  .ws-help-card small { font-size:10px; }
  .page-heading,.ret-heading { align-items:flex-start;margin-bottom:16px;gap:12px; }
  .page-heading h1,.ret-heading h1 { font-size:24px; }
  .page-heading p,.ret-heading p { font-size:10px; }
  .page-heading>.button-primary,.ret-heading>.button-primary { font-size:10px;min-height:33px;padding:8px 10px; }
  .ws-page-actions>.button { font-size:10px;min-height:32px;padding:7px 9px; }
  .inventory-panel>.panel-heading { padding:16px 14px 12px;flex-wrap:wrap; }
  .inventory-panel>.toolbar,.inventory-panel>.ret-toolbar { padding:0 14px 14px;flex-wrap:wrap; }
  .inventory-panel>.toolbar .tabs { width:100%; }
  .inventory-panel>.toolbar .tab { font-size:10px;flex:1 0 auto;padding:6px 8px; }
  .inventory-panel>.toolbar .filter-controls { flex-basis:100%;flex-wrap:wrap; }
  .inventory-panel>.toolbar .filter-controls .search-box { flex-basis:100%;height:37px; }
  .inventory-panel>.toolbar .filter-controls>select { flex:1;max-width:none;font-size:10px; }
  .inventory-table,.ret-table,.wh-records-workspace .wh-ledger-table { display:block;table-layout:auto;min-width:0;width:100%; }
  .inventory-table thead,.ret-table thead,.wh-records-workspace .wh-ledger-table thead { display:none; }
  .inventory-table tbody,.ret-table tbody,.wh-records-workspace .wh-ledger-table tbody { display:grid;gap:12px;padding:0 13px 13px; }
  .inventory-table tr,.ret-table tr,.wh-records-workspace .wh-ledger-table tr { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;gap:13px 15px; }
  .inventory-table td,.ret-table td,.wh-records-workspace .wh-ledger-table td { display:block;min-width:0;padding:0!important;width:auto;max-width:100%; }
  .wh-records-workspace .wh-ledger-table td::before { content:attr(data-label);display:block;font-size:10px;color:var(--ws-muted);margin-bottom:6px; }
  .wh-records-workspace .wh-ledger-table td:first-child,.wh-records-workspace .wh-ledger-table td:last-child { grid-column:1/-1; }
  .wh-records-workspace .wh-ledger-table td:last-child { border-top:1px solid #E2EAF8!important;padding-top:12px!important; }
  .wh-records-workspace .wh-ledger-top { padding:15px 13px;margin-bottom:15px;border-radius:15px; }
  .wh-records-workspace .wh-ledger-top>div { padding-left:12px;gap:5px; }
  .wh-records-workspace .wh-ledger-top strong { font-size:25px; }
  .wh-records-workspace .wh-ledger-top span { font-size:9px; }
  .wh-records-workspace .wh-ledger-top>p { margin-top:11px;padding-top:9px;font-size:9px; }
  .wh-ledger-panel { border-radius:15px; }
  .wh-records-workspace .wh-ledger-toolbar { padding:14px;gap:11px; }
  .wh-records-workspace .wh-status-tabs { width:100%;gap:2px; }
  .wh-status-tabs button { flex:1 0 auto;padding:6px 7px;font-size:10px; }
  .wh-records-workspace .wh-search-row { padding-left:14px;padding-right:14px;margin-bottom:14px; }
  .wh-records-workspace .wh-ledger-toolbar .wh-search-row { padding:0;margin:0;flex-basis:100%; }
  .wh-records-workspace .wh-ledger-scroll { padding-top:1px; }
  .wh-records-workspace .wh-ledger-table .wh-received-number { font-size:25px; }
  .wh-records-workspace .wh-record-actions button { font-size:11px;padding:8px 10px; }
  .wh-records-workspace .wh-record-footer { padding:13px 14px;align-items:flex-start; }
  .wh-records-workspace .wh-record-footer>div { width:100%;justify-content:flex-end; }
  .wh-records-workspace .wh-product-filter { margin-left:14px;margin-right:14px;flex-wrap:wrap; }
  .mobile-nav { grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr); }
  .mobile-nav button { min-width:0;font-size:9px; }
}
@media(min-width:761px) and (max-height:820px) {
  .workspace>main { padding-top:17px; }
  .company-context { margin-bottom:14px; }
  .workspace-home { gap:16px; }
  .ws-home-heading h1 { font-size:23px; }
  .ws-overview .metric.ws-stat-group { min-height:111px;padding-top:18px;padding-bottom:18px; }
  .ws-stat-group .metric-number { font-size:29px;margin-top:6px;margin-bottom:6px; }
  .ws-shortcut { min-height:85px;padding-top:13px;padding-bottom:13px; }
  .ws-todo-item { min-height:50px;padding-top:9px;padding-bottom:9px; }
}
