/* Approved compact report UI. One shared visual language for every WMS surface. */
html[data-wms-ui="compact"] {
  --erp-font-scale:1.5; --erp-ink:#172b4d; --erp-muted:#61718a; --erp-line:#ccd6e4;
  --erp-soft:#f0f3f8; --erp-selected:#dce0fa; --erp-link:#2449a0;
  --hv-ink:var(--erp-ink); --hv-muted:var(--erp-muted); --hv-line:var(--erp-line);
  --hv-brand:#24575d; --hv-navy:#edf1f5; --hv-soft:#e4f1ee;
  --palette-primary:#24575d; --palette-sky:#94bfc4; --palette-mint:#e1eeeb;
  --palette-ivory:#f4f6f9; --palette-ink:var(--erp-ink); --palette-muted:var(--erp-muted); --palette-line:var(--erp-line);
  --navy:var(--erp-ink); --blue:var(--erp-link); --brand:#24575d; --primary:#24575d;
  --primary-soft:#e4f1ee; --accent:#24575d; --ink:var(--erp-ink); --text:var(--erp-ink);
  --muted:var(--erp-muted); --line:var(--erp-line); --line-2:#e3e8f0; --bg:#fff; --panel:#fff;
  color-scheme:light;
}
html[data-wms-ui="compact"] body { margin:0; background:#fff!important; color:var(--erp-ink); font-family:"Malgun Gothic","Apple SD Gothic Neo","Segoe UI",sans-serif; font-size:calc(13px * var(--erp-font-scale)); line-height:1.5; }
html[data-wms-ui="compact"] body .app-shell { grid-template-columns:238px minmax(0,1fr)!important; grid-template-rows:auto minmax(0,1fr); background:#fff!important; gap:0!important; }
html[data-wms-ui="compact"] body .app-shell>.hv-skip { position:fixed; }
.erp-header { grid-column:1/-1; min-width:0; z-index:45; background:#f0f3f7; border-bottom:1px solid var(--erp-line); padding:0!important; max-width:none!important; margin:0!important; display:block!important; }
.erp-utility { min-height:27px; display:flex; align-items:center; gap:18px; padding:3px 14px; border-bottom:1px solid #dce3ed; font-size:calc(11px * var(--erp-font-scale)); }
.erp-utility a { color:var(--erp-ink); text-decoration:none; }
.erp-identity { margin-left:auto; display:flex; gap:18px; align-items:center; }
.erp-menu-search { display:flex; align-items:center; gap:6px; }
.erp-menu-search img { width:13px; height:13px; opacity:.65; }
.erp-menu-search input { width:226px; height:37px!important; min-height:37px!important; padding:2px 6px!important; font-size:calc(11px * var(--erp-font-scale))!important; }
.erp-masthead { display:flex; align-items:center; min-height:49px; }
.erp-brand { width:238px; flex:none; display:flex; align-items:center; gap:7px; padding:0 14px; color:#163357; text-decoration:none; white-space:nowrap; font-size:calc(17px * var(--erp-font-scale)); font-weight:700; }
.erp-brand img { width:23px; height:23px; }
.erp-modules { display:flex; flex:1; overflow:auto; align-self:stretch; gap:0; }
.erp-modules a { display:flex; align-items:center; justify-content:center; min-width:72px; padding:0 15px; text-decoration:none; color:#203556; font-size:calc(13px * var(--erp-font-scale)); border-bottom:2px solid transparent; white-space:nowrap; }
.erp-modules a[aria-current] { color:#283f8d; border-bottom-color:#5365b2; font-weight:700; }
.erp-subnav { display:flex; align-items:center; min-height:30px; padding-left:238px; background:#fafbfc; border-top:1px solid #dce3ed; overflow-x:auto; gap:0; }
.erp-subnav a { color:#253c64; text-decoration:none; white-space:nowrap; padding:5px 15px; font-size:calc(12px * var(--erp-font-scale)); }
.erp-subnav a[aria-current] { background:var(--erp-selected); color:#203c8e; font-weight:700; border-radius:3px; }
html[data-wms-ui="compact"] .hv-sidebar { top:0; height:calc(100dvh - 137px); min-height:350px; background:#f0f3f6!important; color:var(--erp-ink); padding:16px 6px 12px; border-right:1px solid var(--erp-line); box-shadow:none; border-radius:0; }
html[data-wms-ui="compact"] .hv-nav-label { color:#536785; font-size:calc(11px * var(--erp-font-scale)); letter-spacing:0; margin:0; padding:7px 10px; }
html[data-wms-ui="compact"] .hv-sidebar .hv-nav { display:block; }
html[data-wms-ui="compact"] .hv-nav a { min-height:37px; padding:5px 12px 5px 20px; margin:0; border:0; border-radius:2px; color:var(--erp-ink); font-size:calc(12px * var(--erp-font-scale)); gap:7px; }
html[data-wms-ui="compact"] .hv-nav a.is-active { color:#263d90; background:var(--erp-selected); box-shadow:none; }
html[data-wms-ui="compact"] .hv-nav a:hover { background:#e5e9f3; color:#193d7a; }
html[data-wms-ui="compact"] .hv-nav a.is-active:after { display:none; }
html[data-wms-ui="compact"] .hv-nav a[hidden],html[data-wms-ui="compact"] .hv-nav-group[hidden] { display:none!important; }
html[data-wms-ui="compact"] .hv-nav-ico { width:12px; height:12px; opacity:.6; }
html[data-wms-ui="compact"] .hv-nav-group { margin-bottom:4px; }
html[data-wms-ui="compact"] .hv-nav-group summary { display:list-item; list-style:disclosure-closed inside; padding:7px 9px; color:#203557; font-size:calc(12px * var(--erp-font-scale)); font-weight:600; }
html[data-wms-ui="compact"] .hv-nav-group[open] summary { list-style-type:disclosure-open; }
html[data-wms-ui="compact"] .hv-nav-group summary:after { content:none; }
html[data-wms-ui="compact"] .hv-nav-group .hv-nav a { min-height:37px; padding:5px 9px 5px 25px; font-size:calc(12px * var(--erp-font-scale)); }
html[data-wms-ui="compact"] .hv-account { border-color:var(--erp-line); padding:10px 7px 0; }
html[data-wms-ui="compact"] .hv-account :is(strong,small,a) { color:#4b607c; font-size:calc(11px * var(--erp-font-scale)); }
html[data-wms-ui="compact"] .hv-avatar { background:#e0e6ed; color:#3d566e; width:24px; height:24px; }
html[data-wms-ui="compact"] body :is(.app-workspace,.app-shell>.main) { min-width:0; width:auto; background:#fff; }
html[data-wms-ui="compact"] body .app-page { padding:16px 20px 36px!important; max-width:none; margin:0; font-size:calc(13px * var(--erp-font-scale)); }
html[data-wms-ui="compact"] body :is(.app-topbar-shell,.app-topbar) { min-height:34px!important; padding:7px 20px!important; background:white!important; box-shadow:none!important; border-bottom:1px solid var(--erp-line); border-radius:0; }
html[data-wms-ui="compact"] .hv-breadcrumb { font-size:calc(12px * var(--erp-font-scale)); }
html[data-wms-ui="compact"] .hv-breadcrumb>a { color:#61718a; }
html[data-wms-ui="compact"] .hv-topbar-right { font-size:calc(11px * var(--erp-font-scale)); }
html[data-wms-ui="compact"] .app-topbar-title strong { font-size:calc(13px * var(--erp-font-scale)); color:#334967; }
html[data-wms-ui="compact"] .app-topbar-title span { font-size:calc(11px * var(--erp-font-scale)); margin-top:2px; }
html[data-wms-ui="compact"] .hv-heading { display:block; position:relative; margin:5px 0 18px; text-align:center; }
html[data-wms-ui="compact"] .hv-heading h1 { color:#18253a; font-size:calc(23px * var(--erp-font-scale)); font-weight:700; letter-spacing:-.4px; margin:0; }
html[data-wms-ui="compact"] .hv-heading :is(.hv-eyebrow,p) { display:none; }
html[data-wms-ui="compact"] .hv-heading .hv-actions { justify-content:flex-end; margin-top:12px; }
html[data-wms-ui="compact"] body :is(.app-page,.hv-brand-page) :is(h1,.title h1) { color:#172b4d; font-size:calc(23px * var(--erp-font-scale)); font-weight:700; letter-spacing:-.4px; }
html[data-wms-ui="compact"] body :is(.app-page,.hv-brand-page) :is(h2,h3,.section-title,.wms-ds-card-title,.panel-head) { color:#273d5b; font-size:calc(14px * var(--erp-font-scale)); font-weight:700; letter-spacing:0; }
html[data-wms-ui="compact"] body :is(.card,.panel,.wms-ds-card,.hv-panel,.search-panel,.result-panel) { border-radius:2px!important; box-shadow:none!important; border-color:var(--erp-line)!important; background:#fff; }
html[data-wms-ui="compact"] body .app-page :is(.summary-grid,.top-summary) { gap:0; border:1px solid var(--erp-line); }
html[data-wms-ui="compact"] body .app-page :is(.summary-card,.summary-box,.kpi-card,.metric-card) { border:0; border-right:1px solid var(--erp-line); border-bottom:1px solid var(--erp-line); border-radius:0; padding:9px 12px; min-height:0; background:#f8fafc; box-shadow:none; }
html[data-wms-ui="compact"] body .app-page :is(.summary-card,.summary-box,.kpi-card,.metric-card) .value { font-size:calc(20px * var(--erp-font-scale)); font-weight:600; margin:4px 0; }
html[data-wms-ui="compact"] body .app-page :is(.summary-card,.summary-box) :is(.label,.desc) { font-size:calc(11px * var(--erp-font-scale)); margin:0; }
html[data-wms-ui="compact"] body .app-page :is(.banner,.alert-item,.template-item,.empty-box,.upload-box,.selected-editor,.notice) { border-radius:3px; box-shadow:none; }
html[data-wms-ui="compact"] body :is(.result-card,.summary-card,.stat-card,.board-card,.meta-item,.mobile-section-card,.kv,.selection-card,.selected-card,.status-card,.data-card) { border-radius:3px!important; box-shadow:none!important; }
html[data-wms-ui="compact"] body .app-page :is(.card-bd,.card-hd) { padding:10px; min-width:0; }
html[data-wms-ui="compact"] body .app-page :is(.grid,.stack,.row,.card,.panel,.form-grid)>* { min-width:0; }
html[data-wms-ui="compact"] body .app-page :is(.card,.wms-ds-card) { padding:12px; }
html[data-wms-ui="compact"] body :is(.panel-head,.panel-body,.search-body) { padding:8px 10px; }
html[data-wms-ui="compact"] body :is(.grid,.form-grid,.filter-grid,.fields,.wms-ds-filter-grid) { gap:8px; }
html[data-wms-ui="compact"] body :is(label,.field>label) { font-size:calc(11px * var(--erp-font-scale)); font-weight:500; color:#4c5e76; }
html[data-wms-ui="compact"] body :is(input:not(.cell-input):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select,textarea) { border:1px solid #c6d2e1!important; border-radius:3px!important; background:#fff!important; color:#243958!important; min-height:37px; padding:4px 7px; font-family:inherit; font-size:calc(12px * var(--erp-font-scale)); box-shadow:none!important; }
html[data-wms-ui="compact"] body :is(input,select,textarea):focus { outline:2px solid #8399c4; outline-offset:1px; border-color:#8098c2!important; }
html[data-wms-ui="compact"] body input[type=checkbox] { width:14px; height:14px; accent-color:#4256a4; }
html[data-wms-ui="compact"] body :is(input,textarea)::placeholder { color:#74849a; opacity:1; }
/* Glass belongs to actions, not to data surfaces. Pressed states are recessed. */
html[data-wms-ui="compact"] body :is(button,.btn,.button,.hv-button,.link-btn,.wms-ds-searchbtn,.pager-links a) {
  min-height:37px; padding:4px 13px; border:1px solid #d0d6e9!important; border-radius:10px!important;
  background:rgba(236,238,250,.82)!important; color:#263d66!important; font:600 calc(12px * var(--erp-font-scale))/1.5 "Malgun Gothic","Apple SD Gothic Neo","Segoe UI",sans-serif;
  box-shadow:inset 0 2px 2px #ffffffed,inset 0 -2px 3px #b3bbd733,0 2px 3px #5b6d862d!important;
  backdrop-filter:blur(7px); text-decoration:none; cursor:pointer; white-space:normal; transition:box-shadow .12s,background .12s;
}
html[data-wms-ui="compact"] body :is(.primary,.btn-primary,.wms-ds-searchbtn,button[type=submit]):not(input):not(.state-card):not(.hv-metric) { background:rgba(214,237,234,.9)!important; border-color:#bddad6!important; color:#234f55!important; }
html[data-wms-ui="compact"] body:has(.common-bottom-nav) :is(.btn.primary,.btn:not(.light):not(.danger):not(.secondary):not(.btn-danger):not(a),.button.primary) { background:rgba(214,237,234,.9)!important; border-color:#bddad6!important; color:#234f55!important; }
html[data-wms-ui="compact"] body :is(button,.btn,.button,.hv-button,.link-btn):hover { background:#e1e6f5!important; box-shadow:inset 0 2px 2px #fff,0 2px 4px #4059753b!important; }
html[data-wms-ui="compact"] body :is(button,.btn,.button,.hv-button,.link-btn):is(:active,[aria-pressed=true]) { box-shadow:inset 2px 2px 4px #6d849342,inset -2px -2px 3px #fff!important; }
html[data-wms-ui="compact"] body :is(button,.btn,.button):is(.active,.selected,[aria-selected=true]) { background:#dce4f6!important; color:#243e86!important; border-color:#a9b7dc!important; box-shadow:inset 2px 2px 4px #6d849342,inset -2px -2px 3px #fff!important; }
html[data-wms-ui="compact"] body :is(button,.btn,.button):is(:disabled,[aria-disabled=true]) { opacity:.45; cursor:not-allowed; box-shadow:none!important; }
html[data-wms-ui="compact"] body :is(button,.btn,.button):is(.danger,.btn-danger) { background:#fae8e8!important; color:#973b40!important; border-color:#e8c2c5!important; }
html[data-wms-ui="compact"] body :is(button,a,summary):focus-visible { outline:2px solid #687ec1; outline-offset:2px; }
html[data-wms-ui="compact"] body .table-wrap { border-radius:0!important; overflow:auto; }
html[data-wms-ui="compact"] body :is(.app-page,.page,.wrap,.container,.content,.hv-brand-page) table { border-collapse:collapse; font-size:calc(12px * var(--erp-font-scale)); background:#fff; }
html[data-wms-ui="compact"] body :is(.app-page,.page,.wrap,.container,.content,.hv-brand-page) :is(th,td) { padding:6px 9px; border:1px solid #d2dbe7; line-height:1.5; }
html[data-wms-ui="compact"] body :is(.app-page,.page,.wrap,.container,.content,.hv-brand-page) th { background:#f0f3f8!important; color:#2c4374; font-size:calc(12px * var(--erp-font-scale)); font-weight:600; }
html[data-wms-ui="compact"] body :is(.app-page,.page,.wrap,.container,.content,.hv-brand-page) td { color:#23354e; background:transparent; }
html[data-wms-ui="compact"] body table tbody tr:hover { background:#f5f7fc; }
html[data-wms-ui="compact"] body table td a:not(.btn):not(.button) { color:var(--erp-link); }
html[data-wms-ui="compact"] body table tfoot td { background:#edf1f6; font-weight:700; }
html[data-wms-ui="compact"] body[data-wms-page=inventory] table tfoot td { background:#edf1f6; }
html[data-wms-ui="compact"] body :is(.pagination,.pager) { border:0; border-radius:0; box-shadow:none; padding:9px 0; font-size:calc(11px * var(--erp-font-scale)); }
html[data-wms-ui="compact"] body .pager-links { gap:5px; }
html[data-wms-ui="compact"] body .pager-links :is(a,span) { min-width:28px; min-height:26px; padding:3px 8px; font-size:calc(11px * var(--erp-font-scale)); }
html[data-wms-ui="compact"] body .pager-links .current { background:#e2e6fa; color:#344b8c; border-color:#d4dcf1; }
html[data-wms-ui="compact"] body :is(.stats,.wms-ds-kpi-grid,.hv-dashboard-metrics,.state-summary) { gap:0; border:1px solid var(--erp-line); border-radius:2px; }
html[data-wms-ui="compact"] body :is(.stat,.wms-ds-kpi-card,.hv-metric,.state-card) { background:#f9fafc!important; border:0!important; border-right:1px solid var(--erp-line)!important; border-radius:0!important; box-shadow:none!important; padding:10px 14px; color:var(--erp-ink)!important; }
html[data-wms-ui="compact"] body :is(.stat,.hv-metric,.state-card) :is(strong,.hv-metric-value,.s-value) { font-size:calc(21px * var(--erp-font-scale))!important; color:var(--erp-ink)!important; }
html[data-wms-ui="compact"] body :is(.stat,.hv-metric,.state-card) :is(span,small,.hv-metric-top,.hv-metric-foot,.s-label) { color:#5a6c84!important; }
html[data-wms-ui="compact"] .hv-dashboard-grid { gap:14px; }
html[data-wms-ui="compact"] :is(.hv-panel-title,.hv-task-row,.hv-workflow-row) { padding:10px 14px; }
html[data-wms-ui="compact"] :is(.hv-summary-bar,.hv-mobile-intro) { background:#eff3f7; color:#243c5b; border:1px solid var(--erp-line); border-radius:2px; box-shadow:none; }
html[data-wms-ui="compact"] .hv-summary-bar :is(p,strong) { color:#324766; }
html[data-wms-ui="compact"] .hv-workflow-icon { width:30px; height:30px; border-radius:3px; background:#eef2f8; }
html[data-wms-ui="compact"] body :is(.wms-ds-chip,.badge,.tag,.pill,.wms-status-pill) { font-size:calc(11px * var(--erp-font-scale)); font-weight:500; border-radius:3px; padding:2px 5px; }
/* Inventory is a report: short query row, ordinary grid, totals in its footer. */
html[data-wms-ui="compact"] body[data-wms-page=inventory] .hv-heading { margin:9px 0 20px; }
.erp-report-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:calc(11px * var(--erp-font-scale)); color:#2e405a; margin-bottom:7px; }
html[data-wms-ui="compact"] body[data-wms-page=inventory] :is(.search-panel,.result-panel) { border:0!important; margin-bottom:10px; }
html[data-wms-ui="compact"] body[data-wms-page=inventory] .search-body { padding:0; }
.erp-query-row { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.erp-query-row .erp-search-field { flex:1 1 210px; max-width:310px; }
.erp-query-row input[type=text],.erp-query-row input[list] { width:100%; }
.erp-query-row select { max-width:155px; }
.erp-query-row label.check-filter { display:flex; gap:5px; align-items:center; background:none!important; border:0!important; padding:3px!important; font-size:calc(11px * var(--erp-font-scale))!important; }
.erp-query-actions { display:flex; gap:6px; margin-left:auto; }
.erp-advanced { margin:7px 0 0; font-size:calc(11px * var(--erp-font-scale)); }
.erp-advanced summary { cursor:pointer; color:#5c6d86; width:fit-content; }
.erp-advanced .erp-advanced-fields { display:flex; align-items:end; gap:10px; flex-wrap:wrap; padding:8px 0; }
.erp-advanced .field { min-width:100px; max-width:170px; }
.erp-advanced .field label { display:block; margin-bottom:3px; }
html[data-wms-ui="compact"] body[data-wms-page=inventory] .result-panel>.panel-head { padding:3px 0 7px; border:0; background:white; font-size:calc(11px * var(--erp-font-scale)); }
html[data-wms-ui="compact"] body[data-wms-page=inventory] .search-panel { background:white; }
html[data-wms-ui="compact"] body[data-wms-page=inventory] td a { text-decoration:none; }
html[data-wms-ui="compact"] body[data-wms-page=inventory] td a:hover { text-decoration:underline; }
html[data-wms-ui="compact"] body[data-wms-page=inventory] .panel-meta .badge { background:none; padding:0; color:#65748a; font-size:calc(11px * var(--erp-font-scale)); }
html[data-wms-ui="compact"] body[data-wms-page=inventory] table { min-width:820px; }
html[data-wms-ui="compact"] body[data-wms-page=inventory] :is(th,td) { padding:5px 8px; font-size:calc(12px * var(--erp-font-scale)); }
html[data-wms-ui="compact"] body[data-wms-page=inventory] .product-name { color:#2449a0; font-size:calc(12px * var(--erp-font-scale)); font-weight:400; }
html[data-wms-ui="compact"] body[data-wms-page=inventory] .qty-available { background:none; color:#24374d; font-weight:400; }
html[data-wms-ui="compact"] body[data-wms-page=inventory] .qty { font-weight:400; }
.erp-locations { font-size:calc(11px * var(--erp-font-scale)); line-height:1.6; }
.erp-locations span { white-space:nowrap; }
.erp-locations small { color:#7a8799; font-size:calc(10px * var(--erp-font-scale)); }
.erp-row-details { position:relative; }
.erp-row-details summary { color:#3e5790; cursor:pointer; font-size:calc(11px * var(--erp-font-scale)); white-space:nowrap; }
.erp-row-detail-content { position:relative; width:210px; padding:9px; border:1px solid #c9d3e3; border-radius:3px; background:white; text-align:left; margin-top:6px; }
.erp-row-detail-content p { margin:0 0 6px; }
.erp-row-detail-content .wms-row-actions { display:flex; flex-wrap:wrap; margin-top:8px; }
.erp-inventory-note { font-size:calc(11px * var(--erp-font-scale)); color:#67768c; margin:8px 0; }
.erp-visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; overflow:hidden!important; clip-path:inset(50%)!important; white-space:nowrap; }
/* Shared-shell adapters preserve specialized calendars, layouts and editors. */
html[data-wms-ui="compact"] body .app-shell>.erp-adapted-main { margin:0!important; max-width:none!important; padding:18px 20px!important; min-width:0; }
html[data-wms-ui="compact"] body .app-shell>.erp-adapted-main>.topbar { position:static; margin:0 0 12px; padding:0 0 10px; background:white; border-radius:0; box-shadow:none; }
html[data-wms-ui="compact"] body.hv-brand-page :is(.wrap,.container,.page) { max-width:1240px; }
html[data-wms-ui="compact"] body.hv-brand-page :is(.hero,.next,.notice) { background:#f0f4f7; color:#243958; border-radius:3px; box-shadow:none; }
html[data-wms-ui="compact"] body.hv-brand-page .next :is(a,span) { color:#24575d; }
@media(min-width:801px) {
 html[data-wms-ui="compact"] body :is(input:not(.cell-input):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select) { min-height:37px!important; }
 html[data-wms-ui="compact"] body :is(button,.btn,.button,.hv-button,.link-btn) { min-height:37px!important; height:auto!important; }
 html[data-wms-ui="compact"] body:has(.hv-sidebar) .common-bottom-nav { display:none!important; }
 html[data-wms-ui="compact"] body:has(.hv-sidebar) :is(.wrap,.page) { max-width:none!important; }
 html[data-wms-ui="compact"] body .hv-mobile-toggle { display:none!important; }
}
@media(max-width:1100px) and (min-width:801px) {
 .erp-modules a { min-width:50px; padding:0 10px; font-size:calc(12px * var(--erp-font-scale)); }
 .erp-utility { gap:12px; }
 .erp-query-actions { margin-left:0; }
}
@media(max-width:800px) {
 html[data-wms-ui="compact"] body .app-shell { grid-template-columns:minmax(0,1fr)!important; }
 .erp-header { position:relative; }
 .erp-utility { display:none; }
 .erp-masthead { flex-wrap:wrap; padding:6px 8px; }
 .erp-brand { width:auto; margin-right:auto; font-size:calc(16px * var(--erp-font-scale)); padding:3px 6px; }
 .erp-modules { flex-basis:100%; min-height:38px; }
 .erp-modules a { min-width:55px; padding:0 9px; }
 .erp-subnav { padding-left:8px; min-height:36px; }
 .erp-subnav a { padding:9px 12px; }
 html[data-wms-ui="compact"] body .hv-mobile-toggle { display:inline-flex!important; align-items:center; }
 html[data-wms-ui="compact"] body .app-shell:has(.erp-header) .app-topbar-shell .hv-mobile-toggle { display:none!important; }
 html[data-wms-ui="compact"] .hv-sidebar { display:none; position:fixed; top:0; left:0; height:100dvh; width:260px; z-index:70; }
 html[data-wms-ui="compact"] .hv-sidebar.is-open { display:flex; box-shadow:12px 0 28px #20385c30; }
 html[data-wms-ui="compact"] .hv-sidebar :is(.hv-nav a,summary) { min-height:40px!important; }
 html[data-wms-ui="compact"] body .app-page { padding:16px 12px 85px!important; }
 html[data-wms-ui="compact"] body .app-shell>.erp-adapted-main { padding:16px 12px 85px!important; }
 html[data-wms-ui="compact"] body :is(button,.btn,.button,.hv-button,.link-btn) { min-height:40px; font-size:calc(13px * var(--erp-font-scale)); }
 html[data-wms-ui="compact"] body :is(input:not(.cell-input):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select) { min-height:40px; font-size:calc(14px * var(--erp-font-scale)); }
 html[data-wms-ui="compact"] body .common-bottom-nav { background:#f4f6fa!important; box-shadow:none!important; border-color:var(--erp-line)!important; }
 html[data-wms-ui="compact"] body .common-bottom-nav-grid a { background:transparent!important; color:#526783!important; border:0!important; }
 html[data-wms-ui="compact"] body .common-bottom-nav-grid a.active { background:var(--erp-selected)!important; color:#2b448d!important; }
 html[data-wms-ui="compact"] body :is(.hero,.top,.topbar) { border-radius:3px!important; box-shadow:none!important; }
 html[data-wms-ui="compact"] body :is(.hero,.hv-mobile-intro) :is(h1,p,small) { color:#243958; }
 .erp-query-row .erp-search-field { max-width:none; flex-basis:100%; }
 .erp-query-actions { margin-left:0; flex-wrap:wrap; }
 .erp-row-detail-content { position:static; width:210px; }
}
@media print {
 html[data-wms-ui="compact"] body .app-shell { display:block!important; }
 .erp-header,.hv-sidebar,.app-topbar-shell,.erp-query-actions { display:none!important; }
 html[data-wms-ui="compact"] body .app-page { padding:0!important; }
 html[data-wms-ui="compact"] body :is(button,.btn,.button) { box-shadow:none!important; }
}
@media(prefers-reduced-motion:reduce) { html[data-wms-ui="compact"] * { transition:none!important; } }

/* Larger type requested on 2026-09-14. Layouts retain their actual viewport. */
html[data-wms-ui="compact"] .erp-masthead { min-height:57px; }
html[data-wms-ui="compact"] .erp-brand img { width:27px; height:27px; }
html[data-wms-ui="compact"] .erp-subnav { min-height:40px; }
html[data-wms-ui="compact"] .erp-utility { min-height:40px; flex-wrap:wrap; }
html[data-wms-ui="compact"] .erp-modules a { min-width:max-content; }
html[data-wms-ui="compact"] .hv-avatar { width:32px; height:32px; }
html[data-wms-ui="compact"] body :is(input[type=checkbox],input[type=radio]) { width:18px; height:18px; flex-shrink:0; }
html[data-wms-ui="compact"] body .erp-query-row .erp-search-field { max-width:420px; }
html[data-wms-ui="compact"] body .erp-query-row select { max-width:210px; }
html[data-wms-ui="compact"] body .erp-row-detail-content { width:280px; }
html[data-wms-ui="compact"] body .cell-input { font-size:calc(12px * var(--erp-font-scale)); min-height:36px; }
html[data-wms-ui="compact"] body :is(.hv-metric-top,.hv-metric-foot,.s-label,.sub,.muted,.hint,.help-text,.empty,.empty-text) { font-size:calc(12px * var(--erp-font-scale)); }
@media (max-width:800px) {
  html[data-wms-ui="compact"] body .erp-query-row .erp-search-field { max-width:none; }
  html[data-wms-ui="compact"] .erp-utility { display:none; }
  html[data-wms-ui="compact"] body .common-bottom-nav-grid a { font-size:16.5px; min-height:48px; }
}
@media print { html[data-wms-ui="compact"] { --erp-font-scale:1; } }
