html[data-ootb-text=small]{--ootb-user-scale:.92}html[data-ootb-text=normal]{--ootb-user-scale:1}html[data-ootb-text=large]{--ootb-user-scale:1.16}
html[data-ootb-text] body{font-size:calc(14px * var(--ootb-user-scale))}
html[data-ootb-text] :is(.data-table,.document-table,.backorders-table,.customer-table,.tablewrap table,.identity-panel table,.load-history-table){font-size:calc(13px * var(--ootb-user-scale))}
html[data-ootb-text] :is(.data-table,.document-table,.backorders-table,.customer-table,.tablewrap table,.identity-panel table) td{font-size:inherit}
html[data-ootb-text] :is(.data-table,.document-table,.backorders-table,.customer-table,.tablewrap table,.identity-panel table) th{font-size:calc(11px * var(--ootb-user-scale))}
html[data-ootb-text] :is(.card-name,.info-desc,.customer-info,.profile-section dd,.kv dd,.saved-selection-info h4){font-size:calc(14px * var(--ootb-user-scale))}
html[data-ootb-text] :is(.metrics .value,.metric .value,.metrics .metric-value){font-size:clamp(19px,calc(27px * var(--ootb-user-scale)),34px)}
html[data-ootb-text] .metricvalue{font-size:clamp(18px,calc(26px * var(--ootb-user-scale)),34px)!important}
html[data-ootb-text] :is(.btn,.chip,select,input,textarea,.identity-panel button){font-size:calc(13px * var(--ootb-user-scale))}
html[data-ootb-theme=white]{--ootb-surface-2:#f8fafc;--ootb-fill:#f5f8fa;--ootb-bg:#f8fafc;--soft:#f7f9fb}
html[data-ootb-theme=white] :is(.panelhead,.panel-head,.section-head,.card-panel>h3){background:#f5f8fb!important;color:#12354b!important;border-bottom:1px solid #cddce6}
html[data-ootb-theme=white] :is(.panelhead,.panel-head,.section-head) :is(h2,h3,strong,small,span){color:inherit!important}
html[data-ootb-theme=white] :is(.data-table,.document-table,.backorders-table,.tablewrap table) th{background:#eaf0f5!important;color:#244860!important}
html[data-ootb-theme=white] :is(.panel,.card-panel,.saved-selection-item,.metric){background:#fff}
.ootb-display-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:8px!important;border:1px solid #315670;border-radius:8px;color:#ffdd00!important;background:#12354b!important;cursor:pointer;vertical-align:middle}
.ootb-display-button svg{flex:none}.ootb-display-button:focus-visible{outline:3px solid #ffdd00;outline-offset:2px}
.ootb-display-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;border:1px solid #cddce6;border-radius:16px;background:#fff;color:#12354b;font:inherit;overflow-y:auto;box-shadow:0 12px 48px #0f2c4433}
.ootb-display-dialog::backdrop{background:#0f2c4477}.ootb-display-dialog form{display:grid;gap:16px}.ootb-display-dialog h2{margin:0;font-size:calc(21px * var(--ootb-user-scale,1))}.ootb-display-dialog p{font-size:calc(13px * var(--ootb-user-scale,1));line-height:1.5;margin:0;color:#526e81}.ootb-display-dialog label{display:grid;gap:7px;font-weight:600;font-size:calc(14px * var(--ootb-user-scale,1))}.ootb-display-dialog select{box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:9px 12px;border:1px solid #b9cddc;border-radius:8px;color:#12354b;background:#fff;font:inherit}.ootb-display-dialog .ootb-display-actions{display:flex;gap:8px;justify-content:flex-end}.ootb-display-dialog button{min-width:44px;min-height:44px;padding:10px 16px;border:1px solid #b9cddc;border-radius:8px;font:inherit;background:#fff;color:#12354b;cursor:pointer}.ootb-display-dialog button[type=submit]{background:#006fa6;color:#fff;border-color:#006fa6}.ootb-display-dialog button:disabled{opacity:.6}.ootb-display-status:empty{display:none}
@media(max-width:760px){.ootb-display-dialog{padding:18px}.topactions .ootb-display-button{margin-left:0}}
.ootb-settings-form{display:grid;gap:20px;max-width:960px;width:100%;min-width:0;color:#12354b}.ootb-settings-form h1{margin:0;font-size:clamp(23px,4vw,30px)}.ootb-settings-form>p{margin:0;font-size:14px;line-height:1.6;color:#526e81;max-width:800px}.ootb-settings-form fieldset{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));align-items:start;gap:18px;border:1px solid #cddce6;border-radius:12px;padding:20px;background:#fff;min-width:0;margin:0}.ootb-settings-form legend{font-weight:700;font-size:16px;padding:0 8px;color:#1d4967}.ootb-settings-form label{display:grid;gap:8px;min-width:0;font-size:calc(14px * var(--ootb-user-scale,1));line-height:1.5;font-weight:600}.ootb-settings-form select{width:100%;box-sizing:border-box;min-width:0;min-height:46px;border:1px solid #b9cddc;border-radius:8px;padding:9px 12px;background:white;color:#12354b;font:inherit}.ootb-settings-form label.ootb-settings-check{display:flex;align-items:flex-start;gap:10px;min-height:44px;font-weight:500}.ootb-settings-check input{flex:none;min-height:22px;height:22px;width:22px;margin:1px 0 0;accent-color:#006fa6}.ootb-settings-form fieldset>p{grid-column:1/-1;line-height:1.5;font-size:13px;color:#526e81;margin:0}.ootb-settings-form .ootb-settings-save{justify-self:end;min-width:150px;min-height:46px;background:#006fa6;color:#fff;border:1px solid #006fa6;border-radius:8px;padding:10px 18px;font:inherit;font-weight:600;cursor:pointer}.ootb-settings-form .ootb-settings-save:disabled{opacity:.6}.ootb-settings-form .ootb-settings-status{font-size:14px}.ootb-settings-form .ootb-settings-status:empty{display:none}.ootb-settings-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:9px 12px;border:1px solid #cddce6;border-radius:8px;background:white;color:#12354b;white-space:nowrap}.ootb-settings-link svg{width:19px;height:19px}
img,svg{ -webkit-user-drag:none }
@media(pointer:coarse){body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation}input,textarea,[contenteditable=true],[data-ootb-copy],[data-allow-copy],pre,code{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}img,a,button{-webkit-touch-callout:none}input,textarea,[contenteditable=true]{touch-action:manipulation}}
@media(max-width:600px){.ootb-settings-form{gap:16px}.ootb-settings-form fieldset{padding:16px;gap:16px}.ootb-settings-form .ootb-settings-save{justify-self:stretch}}
@media(max-width:600px){#server-app .server-shell .topbar{flex-wrap:wrap;height:auto}#server-app .server-shell .topbar>.account{width:100%;flex-wrap:wrap;justify-content:flex-end;gap:6px}#server-app .server-shell .topbar-location{flex:1}#server-app .server-shell .account .avatar{display:none}}

/* Legal links occupy only a small navigation-corner capsule, never a page strip. */
:root{--ootb-legal-footer:0px}
html body{padding-bottom:0!important}
html body>.frame{bottom:0!important}
html .layout{height:100dvh!important;min-height:0!important}
html .server-shell,html .shell{min-height:100dvh!important}
html .server-shell>.sidebar,html .shell>.sidebar,html .layout>.sidebar{bottom:0!important;height:100dvh!important}
html .sidebar,html .side{padding-bottom:calc(32px + env(safe-area-inset-bottom,0px));box-sizing:border-box}
.ootb-legal-links{position:fixed;inset:auto auto calc(4px + env(safe-area-inset-bottom,0px)) 4px;z-index:45;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;width:max-content;max-width:calc(100vw - 16px);min-height:22px;padding:0 8px;gap:12px;background:#fff;color:#476477;border:1px solid #e2e9ef;border-radius:5px;font:10px/1.2 system-ui,sans-serif}
.ootb-legal-links a{color:inherit!important;text-decoration:underline;text-underline-offset:3px;display:flex;align-items:center;min-height:22px;white-space:nowrap}
.ootb-legal-links a:focus-visible{outline:2px solid #ffe400;outline-offset:2px}
@media(max-width:600px){html .layout .workspace{height:calc(100dvh - 66px)!important}.ootb-legal-links{gap:8px}}
@media print{.ootb-legal-links{display:none}}
