/* Five module compositions, paired with reference-interiors.js. */
html .ref-module {
 --ri-bg:#f7f9fc;--ri-panel:#fff;--ri-text:#15293f;--ri-muted:#53657b;--ri-line:#dfe6ef;--ri-accent:#087b46;--ri-soft:#edf6f1;--ri-input:#fff;--ri-radius:12px;
 --theme-text:var(--ri-text);--theme-muted:var(--ri-muted);--theme-border:var(--ri-line);--theme-surface:var(--ri-panel);--theme-surface-raised:var(--ri-soft);--theme-accent:var(--ri-accent);--theme-accent-contrast:#fff;
 color:var(--ri-text);font:400 16px/1.5 Inter,"Segoe UI",system-ui,sans-serif;min-width:0;max-width:100%;container:ref-module / inline-size;isolation:isolate;
}
html .ref-module.ref-premium{--ri-bg:#faf9f6;--ri-panel:#faf9f6;--ri-text:#202622;--ri-muted:#656b64;--ri-line:#d9d8d0;--ri-accent:#42634c;--ri-soft:#efeee7;--ri-input:#fffefa;--ri-radius:0px;}
html .ref-module.ref-soft-glass{--ri-bg:#edf5fb;--ri-panel:#ffffffdf;--ri-text:#183159;--ri-muted:#526a8a;--ri-line:#d8e7f5;--ri-accent:#0866f5;--ri-soft:#edf4ff;--ri-input:#fff;--ri-radius:22px;}
html .ref-module.ref-control-dark{--ri-bg:#080d0f;--ri-panel:#0d1417;--ri-text:#ecf2f3;--ri-muted:#a1b1b7;--ri-line:#273438;--ri-accent:#27c0c8;--ri-soft:#102f34;--ri-input:#111d22;--ri-radius:5px;}
html .ref-module.ref-logistics-modular{--ri-bg:#03152f;--ri-panel:#071f42;--ri-text:#f7f9ff;--ri-muted:#bccce5;--ri-line:#244d7b;--ri-accent:#2e8fff;--ri-soft:#102f59;--ri-input:#fff;--ri-radius:10px;}
html .ref-module *,html .ref-module *::before,html .ref-module *::after{box-sizing:border-box;}
html .ref-module :is(main,section,article,aside,header,footer,div,form){min-width:0;}
html .ref-module :is(h1,h2,h3,h4,p){overflow-wrap:break-word;}
html .ref-module :is(h1,h2,h3,h4){color:var(--ri-text);}
html .ref-module p{color:var(--ri-muted);}
html .ref-module :is(.muted,small,.helper){color:var(--ri-muted);}
html .ref-module [hidden]{display:none!important;}
html .ref-module .ref-heading{margin:0;padding:0;background:none;border:0;box-shadow:none;}
html .ref-module .ref-kicker{font:700 10px/1.5 Inter,"Segoe UI",sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--ri-muted);margin:0 0 5px;}
html .ref-module .ref-title{font:650 clamp(22px,2.3vw,30px)/1.18 Inter,"Segoe UI",sans-serif!important;letter-spacing:-.045em!important;margin:0!important;color:var(--ri-text)!important;}
html .ref-module .ref-description{font:400 13px/1.55 Inter,"Segoe UI",sans-serif!important;max-width:760px;color:var(--ri-muted)!important;margin:7px 0 0!important;}
html .ref-module .ref-identity:has(.modern-module-icon){display:block;}
html .ref-module .ref-identity .modern-module-icon{display:none;}
html .ref-module :is(.ref-actions,.ref-original-actions){display:flex;flex-wrap:wrap;gap:8px;align-items:center;max-width:100%;}
html .ref-module .ref-actions:empty{display:none;}
html .ref-module .button{min-height:38px;height:auto;min-width:0;max-width:100%;padding:9px 13px;border:1px solid var(--ri-line);border-radius:8px;background:var(--ri-panel);color:var(--ri-text);box-shadow:none;line-height:1.3;font-size:12px;font-weight:650;letter-spacing:0;text-align:center;white-space:normal;overflow-wrap:break-word;}
html .ref-module .button.primary{background:var(--ri-accent);color:#fff;border-color:var(--ri-accent);}
html .ref-module .button.orange{background:#fff1df;color:#884507;border-color:#f1d2a7;}
html .ref-module .button.danger{background:transparent;color:#c64444;border-color:#e3b1b1;}
html .ref-module :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--ri-accent);outline-offset:3px;}
html .ref-module .button:disabled{opacity:.5;}
html .ref-module :is(input,select,textarea){max-width:100%;min-width:0;border:1px solid var(--ri-line);background:var(--ri-input);color:var(--ri-text);border-radius:7px;box-shadow:none;font:inherit;}
html .ref-module input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),html .ref-module select{min-height:40px;padding:9px 11px;}
html .ref-module input::placeholder,html .ref-module textarea::placeholder{color:var(--ri-muted);opacity:1;}
html .ref-module label{color:var(--ri-text);font-size:12px;font-weight:600;}
html .ref-module .ref-statistics{display:block;margin:0;}
html .ref-module .ref-stat-origin{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;}
html .ref-module .ref-stat{position:relative;display:block;border:0;border-radius:0;padding:0;background:none;box-shadow:none;min-height:0;overflow:visible;}
html .ref-module .ref-stat::before,html .ref-module .ref-stat::after{display:none;}
html .ref-module .ref-stat-label{font:650 11px/1.4 Inter,"Segoe UI",sans-serif;color:var(--ri-muted);letter-spacing:.04em;text-transform:uppercase;}
html .ref-module .ref-stat-value{color:var(--ri-text);font:650 clamp(22px,2.3vw,32px)/1.2 Inter,"Segoe UI",sans-serif;letter-spacing:-.035em;margin:9px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;}
html .ref-module .ref-stat-note{font-size:11px;line-height:1.5;color:var(--ri-muted);margin:8px 0 0;}
html .ref-module .ref-symbol{display:inline-grid;place-items:center;flex:0 0 36px;width:36px;height:36px;color:var(--ri-accent);}
html .ref-module .ref-symbol svg{display:block;width:23px;height:23px;}
html .ref-module .ref-period-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;}
html .ref-module .ref-period-controls :is(.period-bar,.expense-month-bar){border:0;border-radius:0;background:none;box-shadow:none;margin:0;padding:0;display:flex;align-items:center;flex-wrap:wrap;gap:10px;}
html .ref-module .ref-period-controls :is(.period-bar,.expense-month-bar)>strong{font-size:11px;font-weight:650;max-width:150px;}
html .ref-module .ref-period-controls label{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:11px;}
html .ref-module .ref-period-controls input{width:147px;}
html .ref-module .ref-module-tabs{display:flex;align-items:stretch;gap:5px;max-width:100%;overflow-x:auto;scrollbar-width:thin;margin:0 0 18px;padding:5px;border-bottom:1px solid var(--ri-line);}
html .ref-module .ref-module-tabs button{flex:0 0 auto;min-height:40px;border:0;background:none;color:var(--ri-muted);padding:8px 15px;border-radius:7px;font:600 12px/1.4 Inter,"Segoe UI",sans-serif;}
html .ref-module .ref-module-tabs button.active{background:var(--ri-soft);color:var(--ri-accent);}
html .ref-module :is(.ref-module-workspace,.ref-sections){display:grid;gap:22px;}
html .ref-module .ref-sections:empty{display:none;}
html .ref-module .ref-record-section{display:grid;gap:12px;min-width:0;}
html .ref-module .ref-section-heading{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;padding:0;margin:0;}
html .ref-module .ref-section-heading h2{font-size:17px;font-weight:650;letter-spacing:-.02em;line-height:1.3;margin:0;}
html .ref-module .ref-section-heading p{font-size:12px;line-height:1.5;margin:5px 0 0;max-width:780px;}
html .ref-module .ref-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--ri-line);background:none;}
html .ref-module .ref-panel-heading :is(h2,h3){font-size:15px;line-height:1.35;margin:0;}
html .ref-module .ref-panel-heading p{font-size:11px;line-height:1.5;margin:5px 0 0;}
html .ref-module .ref-surface{padding:0;border:1px solid var(--ri-line);border-radius:var(--ri-radius);background:var(--ri-panel);box-shadow:none;overflow:hidden;}
html .ref-module .ref-surface.card-pad{padding:20px;}
html .ref-module .ref-table-scroll{width:100%;max-width:100%;overflow:auto;overscroll-behavior-x:contain;scrollbar-width:thin;}
html .ref-module table.ref-table{width:100%;border-collapse:collapse;table-layout:auto;background:transparent;color:var(--ri-text);font-size:12px;}
html .ref-module .ref-table :is(th,td){padding:14px 16px;border-bottom:1px solid var(--ri-line);color:var(--ri-text);background:transparent;}
html .ref-module .ref-table th{font-size:10px;text-transform:uppercase;letter-spacing:.055em;color:var(--ri-muted);font-weight:650;text-align:left;white-space:nowrap;background:var(--ri-soft);}
html .ref-module .ref-table td{vertical-align:middle;line-height:1.45;}
html .ref-module .ref-table td :is(strong,b){font-weight:600;color:inherit;}
html .ref-module .ref-table td small{font-size:10px;display:block;margin-top:4px;max-width:340px;overflow-wrap:anywhere;color:var(--ri-muted);}
html .ref-module .ref-table tr:last-child td{border-bottom:0;}
html .ref-module .ref-table tr:hover td{background:var(--ri-soft);}
html .ref-module .ref-table td.money{white-space:nowrap;}
html .ref-module .row-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;}
html .ref-module .row-actions .button{font-size:11px;min-height:34px;padding:7px 10px;}
html .ref-module .ref-guidance-stack{display:grid;gap:10px;}
html .ref-module .ref-guidance{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--ri-line);padding:13px 15px;border-radius:8px;background:var(--ri-soft);font-size:12px;}
html .ref-module .ref-guidance p{font-size:11px;line-height:1.5;margin:4px 0 0;}
html .ref-module .ref-side-title{font-size:11px;text-transform:uppercase;letter-spacing:.07em;font-weight:650;margin:0 0 12px;}
html .ref-module .ref-split-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
html .ref-module :is(.empty-state,.empty){padding:32px 20px;background:transparent;color:var(--ri-muted);}
html .ref-module :is(.empty-state,.empty) h3{color:var(--ri-text);}
html .ref-module .badge{display:inline-flex;align-items:center;border:0;border-radius:6px;padding:5px 8px;white-space:normal;line-height:1.25;font-size:10px;font-weight:650;}
html .ref-module .badge.green{color:#167340;background:#e6f5e9;}
html .ref-module .badge.amber{color:#875810;background:#fff2d7;}
html .ref-module .badge.danger{color:#a33938;background:#ffe8e6;}
html .ref-module .badge.gray{color:#53616e;background:#eaf0f4;}
html .ref-module .ref-upload{padding:24px;border:1px dashed var(--ri-accent);background:var(--ri-soft);border-radius:var(--ri-radius);color:var(--ri-text);}
/* Reception becomes a capture workstation and a separate manifest. */
html .ref-module .ref-reception-stage{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(230px,.8fr);gap:16px;align-items:stretch;}
html .ref-module .ref-capture-console{display:grid;gap:10px;}
html .ref-module .receiving-scanner{padding:24px;border-color:var(--ri-accent);background:var(--ri-panel);}
html .ref-module .receiving-scanner>label{font-size:19px;font-weight:650;letter-spacing:-.025em;}
html .ref-module .receiving-scan-entry{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0;}
html .ref-module .receiving-scan-entry input{flex:1 0 100%;font:500 18px/1.4 ui-monospace,Consolas,monospace;min-height:54px;}
html .ref-module .receiving-scanner>small{display:block;color:var(--ri-muted);font-size:11px;line-height:1.6;}
html .ref-module .receiving-scanner-diagnostic{background:var(--ri-soft);border:1px solid var(--ri-line);border-radius:8px;color:var(--ri-text);margin-top:13px;font-size:11px;padding:10px 12px;}
html .ref-module .receiving-scanner-diagnostic small{font-size:10px;color:var(--ri-muted);}
html .ref-module .receiving-counter{height:100%;min-height:230px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:18px;margin:0;padding:24px;border:1px solid var(--ri-line);background:var(--ri-panel);}
html .ref-module .receiving-counter strong{color:var(--ri-text);font-size:30px;letter-spacing:-.04em;line-height:1.15;}
html .ref-module .receiving-counter small{font-size:11px;}
html .ref-module .receiving-counter>b{font:650 40px/1 Inter,"Segoe UI",sans-serif;color:var(--ri-accent);align-self:flex-end;}
html .ref-module .receiving-counter .receiving-progress{height:8px;width:100%;background:var(--ri-soft);box-shadow:none;}
html .ref-module .receiving-feedback{margin:0;border-radius:8px;border-color:var(--ri-line);background:var(--ri-soft);padding:12px;font-size:12px;}
html .ref-module .receiving-feedback strong{color:var(--ri-text);}
html .ref-module .receiving-feedback p{font-size:11px;}
html .ref-module .receiving-row-done td{background:color-mix(in srgb,var(--ri-accent) 7%,var(--ri-panel));}
html .ref-module .receiving-empty{min-height:320px;display:grid;place-items:center;align-content:center;gap:16px;padding:32px;}
html .ref-module .receiving-empty p{text-align:center;max-width:640px;}
html .ref-module .receiving-manual-panel{padding:20px;}
html .ref-module .receiving-manual-option{background:var(--ri-panel);border-color:var(--ri-line);color:var(--ri-text);}
/* Communications keep the real directory/queue tabs and their actions. */
html .ref-module .ref-communications-desk{display:grid;gap:18px;}
html .ref-module .ref-communications-inboxes{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);gap:18px;}
html .ref-module .notice-mode{display:flex;align-items:center;gap:16px;margin:0;padding:18px;border:1px solid var(--ri-line);background:var(--ri-soft);border-radius:var(--ri-radius);}
html .ref-module .notice-mode>span{color:var(--ri-accent);}
html .ref-module .notice-mode p{font-size:11px;line-height:1.55;margin:4px 0 0;}
html .ref-module .notice-mode strong{font-size:13px;color:var(--ri-text);}
html .ref-module .notice-group-list{max-height:none;}
html .ref-module .notice-group{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:16px 18px;border-bottom:1px solid var(--ri-line);background:transparent;}
html .ref-module .notice-group>div{grid-row:span 2;}
html .ref-module .notice-group strong{font-size:13px;color:var(--ri-text);}
html .ref-module .notice-group :is(small,span){font-size:10px;color:var(--ri-muted);overflow-wrap:anywhere;}
html .ref-module .notice-group>button{justify-self:end;}
html .ref-module .notice-upcoming>div{display:flex;gap:12px;padding:15px 18px;border-bottom:1px solid var(--ri-line);}
html .ref-module .notice-upcoming p{margin:0;}
html .ref-module .notice-upcoming strong{font-size:12px;color:var(--ri-text);}
html .ref-module .notice-upcoming small{font-size:10px;overflow-wrap:anywhere;}
html .ref-module .notice-search{display:flex;gap:8px;align-items:center;width:clamp(190px,20vw,280px);}
html .ref-module .notice-search input{width:100%;}
html .ref-module :is(.support-case-card,.check-card,.bank-balance-card,.courier-card){background:var(--ri-panel);border-color:var(--ri-line);color:var(--ri-text);box-shadow:none;border-radius:var(--ri-radius);}
html .ref-module :is(.support-case-grid,.checklist-grid,.courier-grid){gap:16px;}
html .ref-module .tracking-search-shell{padding:22px;background:var(--ri-panel);border:1px solid var(--ri-line);border-radius:var(--ri-radius);}
html .ref-module .tracking-workspace{gap:18px;}
html .ref-module .tracking-workspace :is(article,section,textarea){max-width:100%;}
html .ref-module .tracking-report-preview{color:var(--ri-text);background:var(--ri-input);border-color:var(--ri-line);}
html .ref-module .ref-document-sources{gap:18px;}
html .ref-module .form-grid{gap:15px;}
/* 01 · Editorial folio: generous serif figures and ruled entries. */
html .ref-premium .ref-folio-edition{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:3px 0 22px;border-bottom:1px solid var(--ri-line);}
html .ref-premium .ref-title{font-family:Georgia,"Times New Roman",serif!important;font-weight:400!important;font-size:34px!important;letter-spacing:-.035em!important;}
html .ref-premium .ref-folio-stat-ledger{display:grid;grid-template-columns:minmax(0,2.6fr) minmax(230px,1fr);gap:32px;padding:25px 0;margin-bottom:23px;border-bottom:1px solid var(--ri-line);}
html .ref-premium .ref-folio-stat-ledger:not(:has(.ref-guidance-stack)){grid-template-columns:1fr;}
html .ref-premium .ref-stat-origin{display:grid;grid-template-columns:1.4fr 1fr;gap:0 30px;}
html .ref-premium .ref-stat{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--ri-line);align-items:center;}
html .ref-premium .ref-stat:first-child{grid-row:span 3;display:block;border-right:1px solid var(--ri-line);border-bottom:0;padding:18px 30px 18px 0;}
html .ref-premium .ref-stat:first-child .ref-stat-value{font-size:clamp(35px,3.8vw,60px);margin-top:18px;}
html .ref-premium .ref-stat-value{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:29px;white-space:normal;}
html .ref-premium .ref-stat-label{font-size:10px;letter-spacing:.075em;color:#343d35;}
html .ref-premium .ref-stat-note{font-size:11px;margin:5px 0 0;}
html .ref-premium .ref-ledger-amount{flex-shrink:0;max-width:60%;text-align:right;}
html .ref-premium .ref-stat:first-child .ref-ledger-amount{max-width:none;text-align:left;}
html .ref-premium .ref-folio-canvas{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:30px;align-items:start;}
html .ref-premium .ref-folio-canvas:not(:has(.ref-folio-operations)){grid-template-columns:1fr;}
html .ref-premium .ref-folio-operations{border-left:1px solid var(--ri-line);padding-left:25px;position:sticky;top:20px;}
html .ref-premium .ref-original-actions{display:grid;gap:0;width:100%;}
html .ref-premium .ref-original-actions>.button{border:0;border-bottom:1px solid var(--ri-line);background:none;border-radius:0;text-align:left;padding:14px 0;color:var(--ri-accent);font-size:12px;}
html .ref-premium .ref-original-actions>.button.primary{color:var(--ri-accent);background:none;font-weight:750;}
html .ref-premium .ref-surface{border:0;border-top:1px solid var(--ri-line);border-bottom:1px solid var(--ri-line);border-radius:0;}
html .ref-premium .ref-section-heading h2{font-size:14px;font-weight:600;letter-spacing:.065em;text-transform:uppercase;}
html .ref-premium .ref-table th{background:transparent;}
html .ref-premium .ref-table :is(th,td){padding:14px 12px;}
html .ref-premium .ref-panel-heading{padding:15px 0;}
html .ref-premium .ref-guidance{background:transparent;border:0;border-radius:0;padding:0;font-size:12px;}
html .ref-premium .ref-module-tabs{padding:0;border-radius:0;}
html .ref-premium .ref-module-tabs button{border-radius:0;}
html .ref-premium .ref-module-tabs button.active{border-bottom:2px solid var(--ri-accent);background:none;}
/* 02 · Business desk: prominent navy/green highlights, crisp working panels. */
html .ref-executive .ref-business-masthead{display:flex;align-items:start;justify-content:space-between;gap:24px;margin:0 0 22px;}
html .ref-executive .ref-business-masthead .ref-actions{max-width:48%;justify-content:flex-end;}
html .ref-executive .ref-business-overview{display:grid;gap:16px;margin-bottom:24px;}
html .ref-executive .ref-stat-origin{grid-template-columns:1.15fr 1.15fr .85fr;gap:14px;}
html .ref-executive .ref-stat{display:flex;gap:16px;align-items:flex-start;background:var(--ri-panel);border:1px solid var(--ri-line);border-radius:12px;padding:21px;}
html .ref-executive .ref-stat:first-child{background:linear-gradient(120deg,#082742,#0b3454);color:#fff;grid-row:span 2;}
html .ref-executive .ref-stat:nth-child(2){background:linear-gradient(120deg,#087245,#079758);color:#fff;grid-row:span 2;}
html .ref-executive .ref-stat:nth-child(-n+2) :is(.ref-stat-label,.ref-stat-value){color:#fff;}
html .ref-executive .ref-stat:nth-child(-n+2) .ref-stat-note{color:#d6e9e1;}
html .ref-executive .ref-stat:nth-child(-n+2) .ref-symbol{background:#ffffff18;color:#88e9b4;}
html .ref-executive .ref-stat .ref-symbol{background:#edf7ef;width:44px;height:44px;border-radius:50%;}
html .ref-executive .ref-stat-label{font-size:11px;text-transform:none;letter-spacing:0;}
html .ref-executive .ref-stat-value{font-size:27px;}
html .ref-executive .ref-stat:nth-child(-n+2) .ref-stat-value{margin:20px 0;font-size:35px;}
html .ref-executive .ref-stat:nth-child(n+3){padding:15px 18px;align-items:center;}
html .ref-executive .ref-stat:nth-child(n+3) .ref-stat-value{font-size:24px;margin-top:4px;}
html .ref-executive .ref-stat:nth-child(n+3) .ref-stat-note{margin-top:4px;}
html .ref-executive .ref-statistics[data-metric-count="4"] .ref-stat:nth-child(3){grid-column:3;grid-row:1;}
html .ref-executive .ref-statistics[data-metric-count="4"] .ref-stat:nth-child(4){grid-column:3;grid-row:2;}
html .ref-executive .ref-period-controls{justify-content:flex-end;}
html .ref-executive>.ref-guidance-stack{margin-bottom:20px;}
html .ref-executive .ref-section-heading{border-bottom:1px solid var(--ri-line);padding:0 0 12px;}
/* 03 · Floating workspace: independent islands, rounded status rail. */
html .ref-soft-glass .ref-glass-titlebar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;}
html .ref-soft-glass .ref-glass-canvas{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:20px;align-items:start;}
html .ref-soft-glass .ref-glass-canvas:not(:has(.ref-glass-status-rail)){grid-template-columns:1fr;}
html .ref-soft-glass .ref-glass-work-island{background:#ffffffb3;border:1px solid #fff;border-radius:25px;padding:22px;box-shadow:0 14px 35px #7297b51a;}
html .ref-soft-glass .ref-glass-commandbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--ri-line);}
html .ref-soft-glass .ref-glass-commandbar .ref-module-tabs{flex:1 0 100%;margin:0;padding:0;border:0;}
html .ref-soft-glass .ref-glass-status-rail{display:grid;gap:20px;}
html .ref-soft-glass .ref-stat-origin{display:grid;grid-template-columns:1fr;gap:14px;}
html .ref-soft-glass .ref-stat{padding:20px;border:1px solid #fff;border-radius:23px;background:linear-gradient(140deg,#fff,#f5faff);box-shadow:0 9px 24px #658ba917;}
html .ref-soft-glass .ref-glass-stat-head{display:flex;align-items:center;gap:9px;}
html .ref-soft-glass .ref-symbol{background:#eaf2ff;border-radius:11px;width:36px;height:36px;color:#096bff;}
html .ref-soft-glass .ref-stat:nth-child(2) .ref-symbol{background:#e7f8ec;color:#21a763;}
html .ref-soft-glass .ref-stat:nth-child(3) .ref-symbol{background:#f0eaff;color:#925bea;}
html .ref-soft-glass .ref-stat-label{text-transform:none;letter-spacing:0;font-size:11px;}
html .ref-soft-glass .ref-stat-value{font-size:30px;margin-top:15px;}
html .ref-soft-glass .ref-stat-note{border-top:1px solid var(--ri-line);padding-top:11px;margin-top:13px;}
html .ref-soft-glass .button{border-radius:99px;padding-left:16px;padding-right:16px;}
html .ref-soft-glass .ref-surface{border:1px solid #e0ebf5;box-shadow:0 6px 15px #668ba309;}
html .ref-soft-glass .ref-table th{background:#f4f8fc;}
html .ref-soft-glass .ref-communications-inboxes{grid-template-columns:1fr;}
html .ref-soft-glass .ref-reception-stage{grid-template-columns:1fr;}
html .ref-soft-glass .receiving-counter{min-height:0;display:grid;grid-template-columns:1fr auto;gap:12px;}
html .ref-soft-glass .receiving-counter .receiving-progress{grid-row:2;grid-column:1/-1;}
html .ref-soft-glass .receiving-counter>b{grid-row:1;grid-column:2;font-size:32px;}
/* 04 · Command console: command rack, compact instruments, dense records. */
html .ref-control-dark .ref-console-titlebar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 19px;border-bottom:1px solid var(--ri-line);margin-bottom:18px;}
html .ref-control-dark .ref-title{font-size:25px!important;}
html .ref-control-dark .ref-console-canvas{display:grid;grid-template-columns:185px minmax(0,1fr);gap:17px;align-items:start;}
html .ref-control-dark .ref-console-canvas:not(:has(.ref-console-commandrack)){grid-template-columns:1fr;}
html .ref-control-dark .ref-console-commandrack{border:1px solid var(--ri-line);background:#0c1518;border-radius:6px;padding:16px 13px;display:grid;gap:16px;position:sticky;top:16px;}
html .ref-control-dark .ref-original-actions{display:grid;width:100%;gap:7px;}
html .ref-control-dark .ref-original-actions>.button{width:100%;text-align:left;background:#102329;border-color:#1e4146;color:#ddf4f3;min-height:44px;border-radius:5px;padding:10px 11px;font-size:11px;}
html .ref-control-dark .ref-original-actions>.button.primary{background:#0b5a60;border-color:#197e84;}
html .ref-control-dark .ref-console-monitor{display:grid;gap:18px;}
html .ref-control-dark .ref-stat-origin{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;}
html .ref-control-dark .ref-stat{display:flex;align-items:center;gap:11px;border:1px solid #24444a;background:linear-gradient(130deg,#102025,#0b1417);border-radius:5px;padding:15px 13px;}
html .ref-control-dark .ref-instrument-icon{display:grid;place-items:center;min-width:40px;width:40px;height:40px;flex:0 0 40px;border-radius:50%;border:2px solid #1d6970;background:#0b282d;}
html .ref-control-dark .ref-stat-value{font-size:24px;color:#f2ffff;margin-top:4px;}
html .ref-control-dark .ref-stat-label{font-size:9px;letter-spacing:.055em;}
html .ref-control-dark .ref-stat-note{font-size:10px;margin-top:4px;}
html .ref-control-dark .ref-guidance{padding:0;background:none;border:0;display:block;}
html .ref-control-dark .ref-guidance .notice-icon{margin-bottom:10px;}
html .ref-control-dark .ref-table :is(th,td){padding:11px 12px;}
html .ref-control-dark .ref-table th{background:#121d21;font-size:9px;}
html .ref-control-dark .ref-table td{font-size:11px;}
html .ref-control-dark .ref-section-heading h2{font-size:13px;text-transform:uppercase;letter-spacing:.05em;}
html .ref-control-dark .ref-section-heading p{font-size:11px;}
html .ref-control-dark .ref-module-tabs{border:1px solid var(--ri-line);border-radius:5px;margin:0;padding:4px;}
html .ref-control-dark .ref-module-tabs button.active{background:#14373b;color:#53d5d9;}
html .ref-control-dark .ref-reception-stage{grid-template-columns:minmax(0,1.2fr) minmax(210px,.7fr);}
html .ref-control-dark .receiving-scanner{background:#0a1b20;}
html .ref-control-dark .ref-communications-inboxes{grid-template-columns:minmax(0,1.2fr) minmax(210px,.9fr);gap:12px;}
/* 05 · Logistics board: colored operational lanes and a right action dock. */
html .ref-logistics-modular .ref-logistics-titlebar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;}
html .ref-logistics-modular .ref-logistics-canvas{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:16px;align-items:start;}
html .ref-logistics-modular .ref-logistics-canvas:not(:has(.ref-logistics-actiondock)){grid-template-columns:1fr;}
html .ref-logistics-modular .ref-logistics-workboard{display:grid;gap:18px;}
html .ref-logistics-modular .ref-logistics-actiondock{position:sticky;top:18px;background:linear-gradient(160deg,#08254d,#031b3c);border:1px solid var(--ri-line);border-radius:10px;padding:18px 14px;display:grid;gap:20px;}
html .ref-logistics-modular .ref-original-actions{display:grid;gap:10px;width:100%;}
html .ref-logistics-modular .ref-original-actions>.button{width:100%;padding:16px 12px;background:#065bed;border-color:#1475fc;border-radius:8px;min-height:60px;color:#fff;text-align:left;}
html .ref-logistics-modular .ref-original-actions>.button:nth-child(2){background:#199744;border-color:#27ad54;}
html .ref-logistics-modular .ref-original-actions>.button:nth-child(3){background:#b56708;border-color:#d98210;}
html .ref-logistics-modular .ref-original-actions>.button:nth-child(4){background:#6742c7;border-color:#8664e4;}
html .ref-logistics-modular .ref-original-actions>.button.danger{background:#b73949;border-color:#d35061;}
html .ref-logistics-modular .ref-stat-origin{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;}
html .ref-logistics-modular .ref-stat{border:1px solid #16bbd1;border-radius:9px;overflow:hidden;background:linear-gradient(145deg,#077b95,#04556f);padding:20px 17px 0;min-height:200px;display:flex;flex-direction:column;}
html .ref-logistics-modular .ref-stat:nth-child(6n+2){background:linear-gradient(140deg,#0764f0,#033cae);border-color:#2478f0;}
html .ref-logistics-modular .ref-stat:nth-child(6n+3){background:linear-gradient(140deg,#219c43,#107230);border-color:#39b54c;}
html .ref-logistics-modular .ref-stat:nth-child(6n+4){background:linear-gradient(140deg,#c17700,#965100);border-color:#ed9a15;}
html .ref-logistics-modular .ref-stat:nth-child(6n+5){background:linear-gradient(140deg,#7951d9,#48249b);border-color:#9472f0;}
html .ref-logistics-modular .ref-stat:nth-child(6n+6){background:linear-gradient(140deg,#d54755,#a82c3c);border-color:#ed6470;}
html .ref-logistics-modular .ref-tile-label{display:flex;align-items:center;gap:9px;}
html .ref-logistics-modular .ref-stat-label{font-size:11px;text-transform:none;letter-spacing:0;color:#fff;}
html .ref-logistics-modular .ref-symbol{color:#fff;width:25px;flex-basis:25px;}
html .ref-logistics-modular .ref-stat-value{color:#fff;margin:22px 0;font-size:32px;}
html .ref-logistics-modular .ref-tile-foot{border-top:1px solid #ffffff40;padding:12px 0;margin-top:auto;}
html .ref-logistics-modular .ref-stat-note{color:#fff;font-size:10px;margin:0;}
html .ref-logistics-modular .ref-table th{background:#0d2a50;color:#d5e3f6;}
html .ref-logistics-modular .ref-table td{color:#e8effb;}
html .ref-logistics-modular :is(input,select,textarea){color:#19304f;background:#fff;}
html .ref-logistics-modular input::placeholder,html .ref-logistics-modular textarea::placeholder{color:#566d90;}
html .ref-logistics-modular .receiving-scanner{background:linear-gradient(130deg,#09284d,#041b3f);}
html .ref-logistics-modular .ref-module-tabs{margin:0;border:1px solid var(--ri-line);border-radius:8px;background:#031b3d;}
html .ref-logistics-modular .ref-module-tabs button.active{background:#0863f2;color:#fff;}
/* Responsive behavior follows available module width, including page zoom. */
@container ref-module (max-width:1050px){
 html .ref-module .ref-reception-stage,html .ref-control-dark .ref-reception-stage{grid-template-columns:1fr;}
 html .ref-module .receiving-counter{min-height:0;display:grid;grid-template-columns:1fr 100px;gap:12px;}
 html .ref-module .receiving-counter .receiving-progress{grid-column:1/-1;grid-row:2;}
 html .ref-module .receiving-counter>b{grid-row:1;grid-column:2;}
 html .ref-soft-glass .ref-glass-canvas{grid-template-columns:1fr;}
 html .ref-soft-glass .ref-glass-status-rail{grid-row:1;}
 html .ref-soft-glass .ref-stat-origin{grid-template-columns:repeat(4,minmax(0,1fr));}
 html .ref-soft-glass .ref-stat{padding:16px;}
 html .ref-soft-glass .ref-stat-value{font-size:25px;}
 html .ref-logistics-modular .ref-logistics-canvas{grid-template-columns:1fr;}
 html .ref-logistics-modular .ref-logistics-actiondock{position:static;grid-row:1;padding:14px;}
 html .ref-logistics-modular .ref-logistics-actiondock .ref-side-title{margin:0;}
 html .ref-logistics-modular .ref-original-actions{display:flex;flex-wrap:wrap;}
 html .ref-logistics-modular .ref-original-actions>.button{width:auto;min-height:40px;padding:10px 13px;flex:1 1 140px;}
 html .ref-logistics-modular .ref-guidance-stack{display:grid;}
 html .ref-premium .ref-folio-canvas{grid-template-columns:1fr;}
 html .ref-premium .ref-folio-operations{position:static;grid-row:1;border-left:0;padding-left:0;padding-bottom:16px;border-bottom:1px solid var(--ri-line);}
 html .ref-premium .ref-folio-operations .ref-side-title{display:none;}
 html .ref-premium .ref-original-actions{display:flex;flex-wrap:wrap;gap:8px 20px;}
 html .ref-premium .ref-original-actions>.button{padding:5px 0;}
 html .ref-premium .ref-folio-stat-ledger{grid-template-columns:1fr;gap:18px;}
 html .ref-executive .ref-business-masthead{display:grid;}
 html .ref-executive .ref-business-masthead .ref-actions{max-width:none;justify-content:flex-start;}
}
@container ref-module (max-width:790px){
 html .ref-module :is(.ref-console-titlebar,.ref-folio-edition,.ref-glass-titlebar,.ref-logistics-titlebar){display:grid;gap:14px;}
 html .ref-control-dark .ref-console-canvas{grid-template-columns:1fr;}
 html .ref-control-dark .ref-console-commandrack{position:static;padding:12px;gap:10px;}
 html .ref-control-dark .ref-console-commandrack .ref-side-title{display:none;}
 html .ref-control-dark .ref-original-actions{display:flex;flex-wrap:wrap;}
 html .ref-control-dark .ref-original-actions>.button{width:auto;flex:1 1 135px;min-height:40px;}
 html .ref-control-dark .ref-guidance-stack{display:grid;}
 html .ref-module .ref-communications-inboxes,html .ref-control-dark .ref-communications-inboxes{grid-template-columns:1fr;}
 html .ref-module .notice-mode{flex-wrap:wrap;}
 html .ref-module .notice-mode>div:first-of-type{flex:1 1 75%;}
 html .ref-module .ref-stat-origin,html .ref-soft-glass .ref-stat-origin{grid-template-columns:repeat(2,minmax(0,1fr));}
 html .ref-executive .ref-statistics .ref-stat{grid-area:auto;grid-row:auto;}
 html .ref-executive .ref-statistics .ref-stat:nth-child(3),html .ref-executive .ref-statistics .ref-stat:nth-child(4){grid-column:auto;grid-row:auto;}
 html .ref-executive .ref-stat:nth-child(-n+2) .ref-stat-value{font-size:28px;margin:14px 0;}
 html .ref-executive .ref-stat{display:block;padding:17px;}
 html .ref-executive .ref-stat .ref-symbol{margin-bottom:12px;}
 html .ref-premium .ref-stat:first-child{grid-row:auto;grid-column:1/-1;border-right:0;border-bottom:1px solid var(--ri-line);padding:10px 0 18px;}
 html .ref-premium .ref-stat:first-child .ref-stat-value{font-size:42px;}
 html .ref-premium .ref-stat-origin{grid-template-columns:1fr;}
 html .ref-module .ref-split-grid{grid-template-columns:1fr;}
 html .ref-module .ref-panel-heading{flex-wrap:wrap;}
 html .ref-module .ref-section-heading{align-items:start;}
 html .ref-module .ref-section-heading>.row-actions{width:100%;}
 html .ref-module .ref-section-heading .notice-search{width:100%;flex:1 0 100%;}
 html .ref-module .ref-table :is(th,td){padding:12px;}
 html .ref-module .ref-table{min-width:620px;}
 html .ref-module .ref-glass-work-island{padding:16px;border-radius:18px;}
 html .ref-module .ref-title{font-size:25px!important;}
 html .ref-premium .ref-title{font-size:30px!important;}
}
@container ref-module (max-width:460px){
 html .ref-module :is(.ref-module-workspace,.ref-sections){gap:18px;}
 html .ref-module .ref-description{font-size:12px!important;}
 html .ref-module .ref-stat-origin{gap:9px;}
 html .ref-module .ref-stat-value{font-size:23px;}
 html .ref-module .ref-stat-label{font-size:10px;}
 html .ref-module .ref-stat-note{font-size:10px;}
 html .ref-module .ref-actions,html .ref-module .ref-original-actions{width:100%;}
 html .ref-module .ref-original-actions>.button{flex:1 1 135px;min-height:44px;}
 html .ref-module .ref-period-controls{display:block;width:100%;}
 html .ref-module .ref-period-controls :is(.period-bar,.expense-month-bar){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 html .ref-module .ref-period-controls :is(.period-bar,.expense-month-bar)>strong{grid-column:1/-1;max-width:none;}
 html .ref-module .ref-period-controls label{display:grid;gap:4px;}
 html .ref-module .ref-period-controls input{width:100%;}
 html .ref-module :is(input,select,textarea){font-size:16px;}
 html .ref-module .receiving-scanner{padding:17px;}
 html .ref-module .receiving-scanner>label{font-size:18px;}
 html .ref-module .receiving-scan-entry input{font-size:16px;}
 html .ref-module .receiving-scan-entry .button{flex:1 1 120px;}
 html .ref-module .receiving-counter{padding:18px;grid-template-columns:1fr auto;}
 html .ref-module .receiving-counter strong{font-size:24px;}
 html .ref-module .receiving-counter>b{font-size:28px;}
 html .ref-module .ref-panel-heading,html .ref-module .notice-group{padding:14px;}
 html .ref-module .ref-section-heading h2{font-size:16px;}
 html .ref-module .notice-mode{padding:14px;gap:10px;}
 html .ref-module .notice-mode .row-actions{width:100%;}
 html .ref-module .notice-mode .row-actions>.button{flex:1 1 100%;}
 html .ref-soft-glass .ref-glass-work-island{padding:12px;}
 html .ref-soft-glass .ref-stat{padding:14px;}
 html .ref-soft-glass .ref-stat .ref-symbol{width:28px;flex-basis:28px;height:28px;}
 html .ref-soft-glass .ref-stat-value{font-size:24px;}
 html .ref-logistics-modular .ref-stat{padding:14px 12px 0;min-height:170px;}
 html .ref-logistics-modular .ref-stat-value{font-size:25px;margin:17px 0;}
 html .ref-control-dark .ref-stat{padding:12px 10px;display:block;}
 html .ref-control-dark .ref-instrument-icon{margin-bottom:10px;width:30px;min-width:30px;height:30px;}
 html .ref-premium .ref-stat{display:flex;}
 html .ref-premium .ref-stat:first-child{display:block;}
 html .ref-premium .ref-stat-label{font-size:10px;}
 html .ref-premium .ref-stat-value{font-size:27px;}
}
@media print{
 html .ref-module{--ri-text:#111;--ri-muted:#444;--ri-panel:#fff;--ri-bg:#fff;--ri-line:#ccc;color:#111;background:#fff;}
 html .ref-module :is(.ref-actions,.ref-folio-operations,.ref-console-commandrack,.ref-logistics-actiondock){display:none!important;}
 html .ref-module :is(.ref-folio-canvas,.ref-console-canvas,.ref-logistics-canvas,.ref-glass-canvas){display:block;}
 html .ref-module .ref-table-scroll{overflow:visible;}
 html .ref-module .ref-stat{break-inside:avoid;background:white!important;border:1px solid #ccc!important;}
 html .ref-module .ref-stat *{color:#111!important;}
}
/* Cash is a reconciliation statement rather than ten interchangeable tiles. */
html .ref-module .ref-cash-stat-origin{display:grid;grid-template-columns:minmax(0,2fr) minmax(190px,1fr);gap:18px;}
html .ref-module .ref-cash-heading{font-size:11px;font-weight:650;letter-spacing:.055em;text-transform:uppercase;color:var(--ri-muted);margin:0 0 12px;}
html .ref-module .ref-cash-terms{display:grid;gap:0;}
html .ref-module .ref-cash-terms>.ref-stat{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:12px 0;border:0;border-radius:0;border-bottom:1px solid var(--ri-line);background:none;min-height:0;}
html .ref-module .ref-cash-terms>.ref-stat .ref-symbol,html .ref-module .ref-cash-terms>.ref-stat .ref-instrument-icon{display:none;}
html .ref-module .ref-cash-terms>.ref-stat .ref-business-reading,html .ref-module .ref-cash-terms>.ref-stat .ref-instrument-reading{display:contents;}
html .ref-module .ref-cash-terms>.ref-stat .ref-stat-label{color:var(--ri-text);font-size:11px;text-transform:none;}
html .ref-module .ref-cash-terms>.ref-stat .ref-stat-value{margin:0;color:var(--ri-text);font-size:24px;text-align:right;}
html .ref-module .ref-cash-terms>.ref-stat .ref-stat-note{margin:0;font-size:10px;grid-column:1/-1;color:var(--ri-muted);padding:0;border:0;}
html .ref-module .ref-cash-terms>.ref-cash-total{padding:15px 12px;background:var(--ri-soft);border:0;border-radius:5px;margin-top:8px;}
html .ref-module .ref-cash-terms>.ref-cash-total .ref-stat-value{color:var(--ri-accent);font-size:29px;}
html .ref-module .ref-cash-channels{display:grid;gap:10px;align-content:start;border-left:1px solid var(--ri-line);padding-left:20px;}
html .ref-module .ref-cash-channels>.ref-stat{display:block;padding:14px;border:1px solid var(--ri-line);background:var(--ri-soft);border-radius:var(--ri-radius);min-height:0;}
html .ref-module .ref-cash-channels>.ref-stat .ref-stat-value{font-size:24px;margin:8px 0 0;color:var(--ri-text);}
html .ref-module .ref-cash-channels>.ref-stat .ref-stat-label{color:var(--ri-muted);}
html .ref-module .ref-cash-channels>.ref-stat .ref-stat-note{color:var(--ri-muted);}
html .ref-module .ref-cash-verdict{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;grid-column:1/-1;border-top:1px solid var(--ri-line);padding-top:16px;}
html .ref-module .ref-cash-verdict>.ref-stat{display:block;border:0;background:none;border-radius:0;padding:0;min-height:0;}
html .ref-module .ref-cash-verdict .ref-stat-value{font-size:25px;color:var(--ri-text);}
html .ref-module .ref-cash-verdict :is(.ref-stat-label,.ref-stat-note){color:var(--ri-muted);}
html .ref-module .ref-cash-verdict :is(.ref-symbol,.ref-instrument-icon){display:none;}
html .ref-premium .ref-cash-terms>.ref-stat:first-child{grid-row:auto;display:grid;grid-column:auto;padding:12px 0;}
html .ref-premium .ref-cash-terms>.ref-stat:first-child .ref-stat-value{font-size:27px;margin:0;}
html .ref-premium .ref-cash-terms>.ref-stat:first-child .ref-ledger-amount{max-width:none;}
html .ref-premium .ref-cash-channels .ref-stat:first-child{grid-row:auto;border-right:0;}
html .ref-premium .ref-cash-channels .ref-stat:first-child .ref-stat-value{font-size:29px;}
html .ref-soft-glass .ref-cash-stat-origin{grid-template-columns:1fr;}
html .ref-soft-glass .ref-cash-channels{border:0;border-top:1px solid var(--ri-line);padding:15px 0 0;}
html .ref-soft-glass .ref-cash-verdict{grid-template-columns:1fr;}
html .ref-soft-glass .ref-cash-calculation{padding:18px;border:1px solid #fff;border-radius:20px;background:#ffffffd9;}
html .ref-soft-glass .ref-cash-terms>.ref-stat{display:block;}
html .ref-soft-glass .ref-cash-terms>.ref-stat .ref-stat-value{text-align:left;margin:8px 0;}
html .ref-logistics-modular .ref-cash-terms>.ref-stat{display:grid;grid-template-columns:minmax(0,1fr) auto;}
html .ref-logistics-modular .ref-cash-terms .ref-tile-foot{grid-column:1/-1;border:0;padding:0;}
html .ref-logistics-modular .ref-cash-terms .ref-tile-label .ref-stat-label{color:var(--ri-text);}
@container ref-module (max-width:650px){html .ref-module .ref-cash-stat-origin{grid-template-columns:1fr;}html .ref-module .ref-cash-channels{border-left:0;border-top:1px solid var(--ri-line);padding:16px 0 0;grid-template-columns:1fr;}html .ref-module .ref-cash-verdict{grid-template-columns:1fr;}}
/* Explicit boundary against the application's older !important theme rules. */
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-module .button{color:var(--ri-text)!important;border-color:var(--ri-line)!important;background:var(--ri-panel)!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-module .button.primary{color:#fff!important;border-color:var(--ri-accent)!important;background:var(--ri-accent)!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-module .button.danger{color:#c64444!important;border-color:#c6444466!important;background:transparent!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-module :is(input,select,textarea){border-color:var(--ri-line)!important;color:var(--ri-text)!important;background:var(--ri-input)!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-module .ref-table :is(th,td){color:var(--ri-text)!important;border-color:var(--ri-line)!important;background:transparent!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-module .ref-table th{color:var(--ri-muted)!important;background:var(--ri-soft)!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-module .ref-table tbody tr{background:var(--ri-panel)!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-module .ref-table tr:hover td{background:var(--ri-soft)!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-module .ref-table .receiving-row-done td{background:color-mix(in srgb,var(--ri-accent) 7%,var(--ri-panel))!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-module .ref-period-controls :is(.period-bar,.expense-month-bar){background:transparent!important;border:0!important;box-shadow:none!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-premium .ref-original-actions>.button{color:var(--ri-accent)!important;background:none!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-control-dark .ref-original-actions>.button{color:#ddf4f3!important;background:#102329!important;border-color:#1e4146!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-control-dark .ref-original-actions>.button.primary{background:#0b5a60!important;border-color:#197e84!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-logistics-modular .ref-original-actions>.button{color:#fff!important;background:#065bed!important;border-color:#1475fc!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-logistics-modular .ref-original-actions>.button:nth-child(2){background:#199744!important;border-color:#27ad54!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-logistics-modular .ref-original-actions>.button:nth-child(3){background:#b56708!important;border-color:#d98210!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-logistics-modular .ref-original-actions>.button:nth-child(4){background:#6742c7!important;border-color:#8664e4!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-logistics-modular .ref-original-actions>.button.danger{background:#b73949!important;border-color:#d35061!important;color:#fff!important;}
html[data-design="modern"][data-theme] :is(.modern-workspace,.reference-app) .ref-logistics-modular :is(input,select,textarea){color:#19304f!important;background:#fff!important;}
/* Reading size is independent from dashboard density and browser zoom. */
html .ref-module .ref-description{font-size:16px!important;}
html .ref-module :is(.button,.row-actions .button,.ref-original-actions>.button){font-size:14px!important;}
html .ref-module :is(.ref-stat-label,.ref-side-title,.ref-cash-heading,label,.ref-module-tabs button){font-size:14px!important;}
html .ref-module :is(.ref-stat-note,.ref-table th,.ref-table td small,.ref-panel-heading p,.ref-kicker,.receiving-counter small,.receiving-scanner>small,.receiving-scanner-diagnostic small,.notice-group small,.notice-group>div>span,.notice-upcoming small,.ref-guidance p){font-size:12px!important;}
html .ref-module :is(.ref-table td,.ref-section-heading p,.ref-guidance,.notice-mode p,.notice-mode strong,.notice-group strong,.notice-upcoming strong,.receiving-feedback,.receiving-feedback p,.receiving-scanner-diagnostic){font-size:14px!important;}
html .ref-module :is(.ref-panel-heading h2,.ref-panel-heading h3){font-size:16px!important;}
html .ref-module .ref-period-controls :is(label,strong){font-size:14px!important;}
html .ref-module .ref-period-controls input{min-width:150px;}
@container ref-module (max-width:460px){html .ref-module .ref-period-controls input{min-width:0;}html .ref-module :is(.ref-section-heading p,.ref-description){font-size:14px!important;}}
