
/* Global Nexus light and dark theme - shared page styles only; preserve Classic branding. */
.nx-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 12px;border-radius:10px;border:1px solid #e2d3e3;background:#fff;color:#632b5d;font-weight:800;font-size:12px;cursor:pointer;white-space:nowrap;transition:background .16s,color .16s,border-color .16s}
.nx-theme-toggle:hover{background:#f8eff7;border-color:#a67aa3}
.nx-theme-toggle:focus-visible{outline:3px solid #ac7aaf;outline-offset:2px}
.nx-theme-toggle-icon{font-size:19px;line-height:1;min-width:17px}
.main>.top>.topright .nx-theme-toggle{flex:none;position:relative;z-index:4}
@media(max-width:750px){.nx-theme-toggle{width:36px;padding:0}.nx-theme-toggle-name{display:none}}
html[data-nx-theme="dark"]{color-scheme:dark;--bg:#14111b;--ink:#f1e9f1;--sub:#b7a6b9;--line:#46364a;--white:#241c2a;--blue:#a872af;--green:#56cb97;--orange:#e3ae66;--red:#f2879a}
html[data-nx-theme="dark"] body{background:#14111b;color:#f0e8f0}
html[data-nx-theme="dark"] .shell,html[data-nx-theme="dark"] .main,html[data-nx-theme="dark"] .content{background:#14111b;color:#f0e8f0}
html[data-nx-theme="dark"] .main>.top{background:#201824;border-color:#413047}
html[data-nx-theme="dark"] .main>.top>.topright{background:#201824}
html[data-nx-theme="dark"] .topright .caption,html[data-nx-theme="dark"] .crumb{color:#c3b2c6}
html[data-nx-theme="dark"] .nx-theme-toggle{background:#35233a;border-color:#65466a;color:#f7e9f5}
html[data-nx-theme="dark"] .nx-theme-toggle:hover{background:#49314e}
html[data-nx-theme="dark"] #nexus-auth-logout,html[data-nx-theme="dark"] .topright .button{background:#35253d;border:1px solid #66516c;color:#fff}
html[data-nx-theme="dark"] .avatar{background:#513452!important;color:#f9e7f3!important}
html[data-nx-theme="dark"] .nexus-copyright{background:#1a1420;color:#bbaabe;border-color:#443348}
html[data-nx-theme="dark"] .section-head:not(:first-child){color:#f5edf5}
html[data-nx-theme="dark"] .card,html[data-nx-theme="dark"] .panel,html[data-nx-theme="dark"] .metric,
html[data-nx-theme="dark"] .table-wrap,
html[data-nx-theme="dark"] .wh-filter-panel,
html[data-nx-theme="dark"] .wh-order-panel,
html[data-nx-theme="dark"] .wh-metrics .metric,
html[data-nx-theme="dark"] .nx-label-panel,
html[data-nx-theme="dark"] .nx-label-search-form,
html[data-nx-theme="dark"] .nx-label-type,
html[data-nx-theme="dark"] .nx-label-register,
html[data-nx-theme="dark"] .sl-card,
html[data-nx-theme="dark"] .dh-card,
html[data-nx-theme="dark"] .modal,
html[data-nx-theme="dark"] .notice,
html[data-nx-theme="dark"] .nx-compact-run,
html[data-nx-theme="dark"] .route-run-card,
html[data-nx-theme="dark"] .nx-delivery-preview,
html[data-nx-theme="dark"] .nx-delivery-row,
html[data-nx-theme="dark"] .nx-activity-row{background:#241c2a!important;color:#efe7f0!important;border-color:#4b384d!important}
html[data-nx-theme="dark"] .wh-order-head,html[data-nx-theme="dark"] .wh-order-bottom,
html[data-nx-theme="dark"] .wh-filter-heading,html[data-nx-theme="dark"] .nx-label-register-head,
html[data-nx-theme="dark"] .nx-label-printbar,html[data-nx-theme="dark"] .nx-label-footer,
html[data-nx-theme="dark"] .nx-label-type.active{background:#312338!important;border-color:#524058!important}
html[data-nx-theme="dark"] .nx-label-type:hover{background:#3a2940!important}
html[data-nx-theme="dark"] .nx-label-type-icon,html[data-nx-theme="dark"] .nx-label-section-number,
html[data-nx-theme="dark"] .nx-label-empty-symbol{background:#51345b;color:#f1d6ef}
html[data-nx-theme="dark"] .nx-label-help,html[data-nx-theme="dark"] .nx-label-identity,
html[data-nx-theme="dark"] .nxd-overview-stats>div{background:#302438;color:#eee5ef;border-color:#59435f}
html[data-nx-theme="dark"] .wh-orders-table thead th,html[data-nx-theme="dark"] .nx-label-results-table thead th,
html[data-nx-theme="dark"] .nx-delivery-table thead th,html[data-nx-theme="dark"] table thead th,
html[data-nx-theme="dark"] table th{background:#302438!important;color:#e5cee4!important;border-color:#59435f!important}
html[data-nx-theme="dark"] table,html[data-nx-theme="dark"] table tbody,html[data-nx-theme="dark"] table td{color:#e9dfeb;border-color:#47364c!important}
html[data-nx-theme="dark"] table tbody tr{background:#241c2a}
html[data-nx-theme="dark"] table tbody tr:nth-child(even){background:#291f30!important}
html[data-nx-theme="dark"] table tbody tr:hover{background:#3a2b40!important}
html[data-nx-theme="dark"] .button:not(.primary),html[data-nx-theme="dark"] :is(.main,.modalouter) button:not(.primary):not(.nx-theme-toggle):not(.nx-menu-button):not(.nx-label-type):not(.nx-feature-button):not(.nx-tool-tab):not(.nx-header-hub-filters button),
html[data-nx-theme="dark"] select,html[data-nx-theme="dark"] input,html[data-nx-theme="dark"] textarea,
html[data-nx-theme="dark"] .field{background:#322638;color:#f2e8f3;border-color:#67516a}
html[data-nx-theme="dark"] .button:hover{border-color:#ae7db0}
html[data-nx-theme="dark"] input::placeholder,html[data-nx-theme="dark"] textarea::placeholder{color:#bba6c0}
html[data-nx-theme="dark"] .wh-toolbar input,html[data-nx-theme="dark"] .wh-toolbar select,
html[data-nx-theme="dark"] .sl-filters input,html[data-nx-theme="dark"] .sl-filters select{background:#322638!important;color:#f3eaf2!important;border-color:#67516a!important}
html[data-nx-theme="dark"] .wh-smart-head h2,html[data-nx-theme="dark"] .wh-filter-heading h3,
html[data-nx-theme="dark"] .wh-order-head h3,html[data-nx-theme="dark"] .nx-label-panel-head h2,
html[data-nx-theme="dark"] .nx-label-register-head h2,html[data-nx-theme="dark"] .nx-label-type-text b,
html[data-nx-theme="dark"] .nx-label-empty h3,
html[data-nx-theme="dark"] .sl-root h2,html[data-nx-theme="dark"] .dh-root h2,
html[data-nx-theme="dark"] .wh-metrics .value,html[data-nx-theme="dark"] .nx-label-register-stats strong,
html[data-nx-theme="dark"] .nxd-overview-stats strong,html[data-nx-theme="dark"] .wh-queue-count strong,
html[data-nx-theme="dark"] .wh-order-ref .button{color:#f2e2f2!important}
html[data-nx-theme="dark"] .wh-metrics .label,html[data-nx-theme="dark"] .nx-label-type-text small,
html[data-nx-theme="dark"] .wh-smart-head p,html[data-nx-theme="dark"] .nx-label-panel-head p,
html[data-nx-theme="dark"] .wh-order-head p,
html[data-nx-theme="dark"] .wh-order-bottom,html[data-nx-theme="dark"] .nx-label-help p,
html[data-nx-theme="dark"] .wh-subtle{color:#c6b1c8!important}
html[data-nx-theme="dark"] .nx-smart .wh-order-scroll{scrollbar-color:#87608d #2b2030}
html[data-nx-theme="dark"] .nx-smart .wh-order-scroll::-webkit-scrollbar-track{background:#2b2030}
html[data-nx-theme="dark"] .nx-smart .wh-order-scroll::-webkit-scrollbar-thumb{background:#87608d;border-color:#2b2030}
html[data-nx-theme="dark"] .wh-order-status:not(.wh-order-status-ready):not(.wh-order-status-issue),
html[data-nx-theme="dark"] .pill.gray{background:#49374d;color:#efdaf0;border-color:#695473}
html[data-nx-theme="dark"] .wh-order-status-ready,html[data-nx-theme="dark"] .pill.green{background:#183f33;color:#a3efc9;border-color:#3c8061}
html[data-nx-theme="dark"] .wh-order-status-issue,html[data-nx-theme="dark"] .wh-order-issues{background:#523921;color:#ffe2a9;border-color:#88643b}
html[data-nx-theme="dark"] .nx-delivery-preview .nxd-sticker{background:#fff!important;color:#111!important}
html[data-nx-theme="dark"] .nx-delivery-preview .nxd-sticker *{color:#111!important}
html[data-nx-theme="dark"] .modalouter{background:rgba(0,0,0,.75)}
/* Keep prominent purple page heroes, active tabs and document/print previews visually stable. */
html[data-nx-theme="dark"] .content>.section-head:first-child,
html[data-nx-theme="dark"] .nx-tool-details>.section-head:first-child,
html[data-nx-theme="dark"] .sl-root>.section-head:first-child,
html[data-nx-theme="dark"] .dh-root>.section-head:first-child{color:#fff}
/* Cover the current portal workspaces as well as the shared base panels. */
html[data-nx-theme="dark"] :is(.nx-overview-panel,.nx-overview-hub,.nx-overview-kpi,.ns-card,.ns-summary button,.sl-sales-orders-card,.sl-manual-card,.sl-metric,.dh-panel,.dh-metric,.sim-card,.cms-card,.cms-subnav,.nh-sidebar,.nh-topic-card,.nh-detail,.nh-diagram-box,.nh-app-card,.nx-api-root,.nx-api-table,.connect-root,.connect-sidebar,.connect-main,.connect-history,.ha-card,.ha-map-card,.wh-order-panel,.wh-filter-panel,.dm-map-panel,.vh-history-panel,.nxi-register,.sl-pipe-panel,.sl-pipe-attention,.sl-pipe-column,.sl-pipe-column-body,.sl-pipe-card,.nxd-overview-stats>div){background:#241c2a!important;color:#efe7f0!important;border-color:#4b384d!important}
html[data-nx-theme="dark"] :is(.ns-tabs,.ns-foot,.ns-bottom,.ns-categories>div,.connect-composer,.connect-header,.nx-overview-panel-head,.sl-pipe-filters,.cms-status,.nxi-filters,.nh-sidebar-bottom){background:#302438!important;color:#e7d9e8!important;border-color:#4b384d!important}
html[data-nx-theme="dark"] #content :is(h1,h2,h3,h4,.value,.nx-hub-stats strong,.nx-kpi-value,.ns-summary strong,.ns-summary button>span,.ns-scroll td strong,.sl-metric strong,.dh-metric strong){color:#f3eaf4!important}
html[data-nx-theme="dark"] #content :is(.muted,.caption,.label,.hint,.subtle,.wh-subtle,.transport-caption,.ns-card-head p,.ns-top p,.ns-empty,.ns-filters label,.ns-summary small,.ns-scroll td small,.nx-overview-panel-head p,.nx-overview-section-head p,.nx-hub-stats,.nh-topic-card p,.cms-copy,.sl-subtle,.dh-subtle){color:#c1acc4!important}
html[data-nx-theme="dark"] #content :is(input,select,textarea){background:#322638!important;color:#f3eaf4!important;border-color:#67516a!important}
html[data-nx-theme="dark"] #content :is(.tab.active,.tab.primary,.ns-tabs button.active,.cms-subnav button.active,.sl-tabs button.active){background:#794374!important;color:#fff!important;border-color:#a876a6!important}
html[data-nx-theme="dark"] .nx-resize-handle{color:#dbb3dc}
html[data-nx-theme="dark"] .nx-resize-handle:hover,html[data-nx-theme="dark"] .nx-resize-handle:focus-visible{background:#bb80c055;outline-color:#dbb3dc}
html[data-nx-theme="dark"] :is(.nx-resizable,.table-wrap,.ns-scroll,.nx-overview-panel-body){scrollbar-color:#94689a #2b2030}
/* Preserve white paper and black text for invoice and label previews. */
html[data-nx-theme="dark"] #content :is(.nxi-paper,.nxd-sticker,.nx-print-sticker),html[data-nx-theme="dark"] #content :is(.nxi-paper,.nxd-sticker,.nx-print-sticker) *{background-color:#fff!important;color:#111!important}
@media print{html[data-nx-theme="dark"] body,html[data-nx-theme="dark"] #content,html[data-nx-theme="dark"] #content *{color:#111!important;background-color:#fff!important}.nx-theme-toggle{display:none!important}}
/* Hub dashboards and shared workspace navigation. */
html[data-nx-theme="dark"] #content :is(.nx-tools-row,.nx-workspace-nav,.hub-list,.transport-tabs,.nx-hub-transport-tabs,.nx-hub-stat,.nx-hub-section,.nx-hub-order-table,.nx-hub-list,.nx-hub-section-head){background:#241c2a!important;color:#efe7f0!important;border-color:#4b384d!important}
html[data-nx-theme="dark"] #content .nx-hub-route-note{background:#302438!important;color:#dec4df!important;border-color:#59415d!important}
html[data-nx-theme="dark"] #content :is(.nx-hub-stat-value,.nx-hub-row-body strong,.nx-hub-order-table td,.nx-hub-order-table td strong){color:#f3eaf4!important}
html[data-nx-theme="dark"] #content :is(.nx-hub-stat-name,.nx-hub-stat small,.nx-hub-section-head p,.nx-hub-row-body small,.nx-hub-destination,.nx-hub-empty){color:#c4b0c8!important}
html[data-nx-theme="dark"] #content :is(.nx-hub-counter,.nx-hub-test-tag){background:#49314d!important;color:#f1d8ef!important;border-color:#6e4c73!important}
html[data-nx-theme="dark"] #content .nx-hub-row{background:#241c2a!important;color:#f3eaf4!important;border-color:#4b384d!important}
html[data-nx-theme="dark"] #content .nx-hub-test-row{background:#291f30!important}
html[data-nx-theme="dark"] #content .nx-hub-row:hover{background:#3a2b40!important}
html[data-nx-theme="dark"] #content :is(.nx-hub-row-action,.nx-hub-order-table .link){color:#e4b2df!important;background:transparent!important}
html[data-nx-theme="dark"] #content .nx-hub-delivered{background:#183f33!important;color:#a3efc9!important}
html[data-nx-theme="dark"] #content .nx-hub-pallet{background:#49314d!important;color:#ecc6e9!important}
html[data-nx-theme="dark"] #content :is(.nx-tools-actions,.nx-workspace-nav,.hub-list,.transport-tabs,.nx-hub-transport-tabs) button{background:#322638!important;color:#eadbea!important;border-color:#67516a!important}
html[data-nx-theme="dark"] #content :is(.nx-tools-actions,.nx-workspace-nav,.hub-list,.transport-tabs,.nx-hub-transport-tabs) button.active,html[data-nx-theme="dark"] #content .nx-feature-button.active{background:#794374!important;color:#fff!important;border-color:#ac7fa7!important}
html[data-nx-theme="dark"] #content :is(.nx-hub-list,.nx-hub-order-table .table-wrap){scrollbar-color:#94689a #2b2030}
html[data-nx-theme="dark"] #content :is(.nx-hub-list,.nx-hub-order-table .table-wrap)::-webkit-scrollbar-track{background:#2b2030!important}
html[data-nx-theme="dark"] #content :is(.nx-hub-list,.nx-hub-order-table .table-wrap)::-webkit-scrollbar-thumb{background:#94689a!important;border-color:#2b2030!important}
/* Keep remaining filters, workspace tabs and report strips consistent. */
html[data-nx-theme="dark"] #content :is(.sl-tabs,.sl-filters,.sl-editor,.sl-empty,.sl-overview-section-heading,.sl-period-strip,.sl-date-range,.sl-range-note,.dh-filters,.dh-tabs,.dh-empty,.cms-form,.cms-toolbar,.nx-access-section,.nx-permission-option,.integration-columns>.panel){background:#241c2a!important;color:#eee3f0!important;border-color:#4b384d!important}
html[data-nx-theme="dark"] #content :is(.sl-filters label,.sl-search,.sl-metric small,.sl-metric span,.sl-source,.sl-definitions,.dh-filters label){color:#c6b1ca!important}
/* Fallback for light surfaces in dynamically rendered portal views. */
html[data-nx-theme="dark"] :is(.main,.modalouter,#content,#modalouter) .nx-theme-surface{background-color:#241c2a!important;background-image:none!important;border-color:#4b384d!important}
html[data-nx-theme="dark"] :is(.main,.modalouter,#content,#modalouter) .nx-theme-raised{background-color:#302438!important}
html[data-nx-theme="dark"] :is(.main,.modalouter,#content,#modalouter) .nx-theme-readable{color:#f0e7f2!important}
/* Explicit readable foregrounds for all operational tables and body copy. */
html[data-nx-theme="dark"] :is(#content,#modalouter) :is(td,th,p,label,small,strong,b,span,a,summary,li,dt,dd):not(:is(.pill,.tag,.ns-pill,.wh-order-status,.nh-topic-status,[class*="badge"],.nxi-paper,.nxd-sticker,.nx-print-sticker)):not(:is(.pill,.tag,.ns-pill,.wh-order-status,.nh-topic-status,[class*="badge"],.nxi-paper,.nxd-sticker,.nx-print-sticker,.nxi-preview-pages,.nx-delivery-preview,.leaflet-container) *){color:#e9dfed!important}
html[data-nx-theme="dark"] :is(#content,#modalouter) :is(.muted,.caption,.label,.hint,.subtle,.small.muted,small):not(:is(.nxi-paper,.nxd-sticker,.nx-print-sticker,.nxi-preview-pages,.nx-delivery-preview,.pill,.tag,.ns-pill,.leaflet-container) *){color:#cbb9cf!important}
html[data-nx-theme="dark"] :is(#content,#modalouter) :is(a,.link):not(:is(.nxi-paper,.nxd-sticker,.nx-print-sticker,.nxi-preview-pages,.nx-delivery-preview,.leaflet-container) *){color:#ecc3e8!important}
/* Selected transport runs retain their colour accent on dark surfaces. */
html[data-nx-theme="dark"] #content .nx-compact-run.nx-run-editing{background:#241c2a!important;background-image:none!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--run-color,#a675a8) 35%,transparent),0 8px 22px #0004!important}
html[data-nx-theme="dark"] #content .nx-compact-run.nx-run-editing :is(.nx-compact-run-heading,.nx-run-details,.nx-run-extra,.nx-run-figures>div){background:#302438!important;background-image:none!important;border-color:#59415d!important}
html[data-nx-theme="dark"] #content .nx-compact-run.nx-run-editing :is(.nx-run-heading-copy strong,.nx-run-heading-copy b,.nx-run-figures b,.nx-run-figures strong){color:#f3eaf4!important}
html[data-nx-theme="dark"] #content .nx-compact-run.nx-run-editing :is(.nx-run-heading-copy small,.nx-run-figures small){color:#cbb9cf!important}
html[data-nx-theme="dark"] #content .nx-compact-run.nx-run-editing .nx-run-edit-indicator{background:#37546d!important;color:#fff!important}

/* Match the theme control to the 38px notification bell. */
.main>.top>.topright .nx-theme-toggle{width:38px;min-width:38px;max-width:38px;height:38px;padding:0;border-radius:11px;gap:0}
.nx-theme-toggle .nx-theme-toggle-name{display:none}
.nx-theme-toggle-icon{font-size:21px}
.nx-layout-menu{position:relative;flex:none;color:var(--ink,#392039)}
.nx-layout-menu summary{display:flex;align-items:center;gap:8px;list-style:none;height:38px;padding:0 12px;border:1px solid var(--line,#e3dce9);border-radius:11px;background:var(--white,#fff);cursor:pointer;font-size:12px;font-weight:750;white-space:nowrap}
.nx-layout-menu summary::-webkit-details-marker{display:none}
.nx-layout-menu summary:focus-visible{outline:2px solid #b780b3;outline-offset:2px}
.nx-layout-options{position:absolute;right:0;top:calc(100% + 8px);width:260px;max-width:calc(100vw - 30px);max-height:70vh;overflow:auto;padding:7px;background:var(--white,#fff);border:1px solid var(--line,#e3dce9);border-radius:12px;box-shadow:0 12px 35px #0003;z-index:1300}
.nx-layout-options button{display:block;width:100%;text-align:left;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:var(--ink,#392039);cursor:pointer}
.nx-layout-options strong{display:block;font-size:12px}.nx-layout-options small{display:block;margin-top:4px;font-size:10px;color:var(--sub,#77667e);line-height:1.4}
.nx-layout-options button:hover{background:#85498422}
.nx-layout-options button[aria-pressed="true"]{background:#794374!important;color:#fff!important}.nx-layout-options button[aria-pressed="true"] small{color:#f2deef!important}
.nx-layout-options .nx-layout-default{border-top:1px solid var(--line,#e3dce9);margin-top:5px;border-radius:0 0 8px 8px}
@media print{.nx-layout-menu{display:none}}
/* Let the layout popup escape the header's decorative clipping layer. */
.main>.top:has(#nx-layout-menu[open]){overflow:visible!important;z-index:150}
.main>.top #nx-layout-menu[open]{z-index:10}
.main>.top #nx-layout-menu[open]>.nx-layout-options{z-index:1300}
/* Hub filters sit directly on the purple page heading. */
html[data-nx-theme="dark"] #content .section-head :is(.hub-list,.nx-header-hub-filters){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}

.main>.top .nx-layout-menu summary{padding:0 9px;gap:5px;font-size:11px}

/* Each account list and permission group has its own bounded scroll area. */
.nx-account-app-panel{margin:0 0 18px;overscroll-behavior:contain;scrollbar-gutter:stable}
.nx-account-app-panel:not(.nx-tall){max-height:480px!important}
.nx-collapsible-permissions>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer}
.nx-collapsible-permissions>summary::-webkit-details-marker{display:none}
.nx-collapsible-permissions>summary:after{content:'+';font-size:22px;font-weight:700;flex:none;color:var(--ink,#392039)}
.nx-collapsible-permissions[open]>summary:after{content:'−'}
.nx-collapsible-permissions>summary .nx-access-section-heading{margin:0;flex:1}
.nx-permission-section-scroll{max-height:360px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:6px;margin-top:14px}
.nx-permission-section-scroll::-webkit-scrollbar{width:11px;height:11px}
.nx-permission-section-scroll::-webkit-scrollbar-thumb{background:#a1759a;border-radius:8px;border:2px solid var(--white,#fff)}
.nx-permission-section-scroll::-webkit-scrollbar-track{background:var(--white,#fff)}
html[data-nx-theme="dark"] .nx-permission-section-scroll{scrollbar-color:#94689a #241c2a}
/* Separate order summary cards and their following information panels. */
#nx-order-overview>.grid{margin-bottom:18px}
#nx-order-overview>.panel+.panel{margin-top:18px}
/* Compact the Directors Hub overview summaries. */
body.nx-redesigned[data-nx-page="directors"] .dh-root .dh-overview-metrics{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:14px 0}
body.nx-redesigned[data-nx-page="directors"] .dh-root .dh-overview-metrics>.dh-metric{min-height:0;min-width:0;padding:10px 12px;border-radius:10px}
body.nx-redesigned[data-nx-page="directors"] .dh-root .dh-overview-metrics>.dh-metric span{font-size:11px;line-height:1.35}
body.nx-redesigned[data-nx-page="directors"] .dh-root .dh-overview-metrics>.dh-metric strong{font-size:24px;line-height:1.2;margin:6px 0}
body.nx-redesigned[data-nx-page="directors"] .dh-root .dh-overview-metrics>.dh-metric small{font-size:10px;line-height:1.35}
@media(max-width:540px){body.nx-redesigned[data-nx-page="directors"] .dh-root .dh-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body.nx-redesigned[data-nx-page="directors"] .dh-root .dh-overview-metrics>.dh-metric{padding:10px}body.nx-redesigned[data-nx-page="directors"] .dh-root .dh-overview-metrics>.dh-metric strong{font-size:21px}}
/* Directors Hub daily order chart. */
.dh-activity-chart{--dh-chart-text:#54344f;--dh-chart-muted:#806d83;--dh-chart-line:#83638026;color:var(--dh-chart-text);padding:4px 0}
html[data-nx-theme="dark"] .dh-activity-chart{--dh-chart-text:#f3eaf4;--dh-chart-muted:#c7b6cb;--dh-chart-line:#d1aad026}
.dh-activity-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:30px}
.dh-chart-eyebrow{display:block;font-size:10px;letter-spacing:1.4px;font-weight:750;color:var(--dh-chart-muted)}
.dh-activity-summary strong{display:block;font-size:30px;letter-spacing:-1px;margin-top:5px;line-height:1.2}
.dh-activity-summary strong small{font-size:12px;font-weight:400;letter-spacing:0;color:var(--dh-chart-muted)}
.dh-chart-peak{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;color:var(--dh-chart-muted);border:1px solid var(--dh-chart-line);border-radius:10px;padding:10px 12px}
.dh-chart-peak i,.dh-chart-key{display:inline-block;width:8px;height:8px;border-radius:3px;background:#ad70a3;flex-shrink:0}.dh-chart-peak b{color:var(--dh-chart-text)}
.dh-chart-scroll{overflow-x:auto;padding-top:14px;scrollbar-width:thin}
.dh-chart-canvas{display:grid;grid-template-columns:45px 1fr;height:246px}
.dh-chart-axis{display:flex;flex-direction:column;justify-content:space-between;padding-bottom:30px;font-size:10px;color:var(--dh-chart-muted)}
.dh-chart-plot{position:relative;min-width:0}
.dh-chart-lines{position:absolute;inset:0 0 30px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.dh-chart-lines i{border-top:1px dashed var(--dh-chart-line);width:100%}.dh-chart-lines i:last-child{border-top-style:solid}
.dh-chart-columns{position:absolute;inset:0;display:flex;gap:12px;padding:0 12px}
body.nx-redesigned .dh-chart-column{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:flex-end;padding:0;border:0;border-radius:8px 8px 0 0;background:transparent!important;color:var(--dh-chart-text)!important;cursor:pointer;font:inherit;box-shadow:none}
.dh-chart-track{display:flex;align-items:flex-end;justify-content:center;width:100%;height:calc(100% - 30px)}
.dh-chart-fill{position:relative;display:block;width:65%;max-width:68px;height:var(--dh-bar-height);background:linear-gradient(0deg,#753267,#bd85b2);border-radius:7px 7px 0 0;min-width:12px;transition:filter .15s,box-shadow .15s}
.dh-chart-column.is-peak .dh-chart-fill{background:linear-gradient(0deg,#773e8e,#c398d3);box-shadow:0 0 24px #b373c125}
.dh-chart-fill b{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);padding-bottom:7px;font-size:11px;color:var(--dh-chart-text);font-weight:700}
.dh-chart-column>small{height:30px;display:flex;align-items:center;justify-content:center;font-size:10px;color:var(--dh-chart-muted);white-space:nowrap}
.dh-chart-column:hover .dh-chart-fill,.dh-chart-column:focus-visible .dh-chart-fill{filter:brightness(1.2);box-shadow:0 0 0 3px #b67ca336}
.dh-chart-column:focus-visible{outline:2px solid #b67ca3;outline-offset:3px}
.dh-chart-caption{display:flex;align-items:center;gap:7px;margin:16px 0 0;font-size:11px;color:var(--dh-chart-muted)}.dh-chart-caption>span:last-child{margin-left:auto}
@media(max-width:650px){.dh-activity-summary{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:22px}.dh-chart-caption{flex-wrap:wrap}.dh-chart-caption>span:last-child{margin-left:0;width:100%}.dh-chart-columns{gap:8px}}
/* Selected Directors tabs and compact single-row financial summaries. */
body.nx-redesigned #content .dh-tabs button.active,html[data-nx-theme="dark"] #content .dh-tabs button.active{background:#794374!important;color:#fff!important;border-color:#ac7fa7!important;box-shadow:0 2px 6px #35142f22}
body.nx-redesigned[data-nx-page="directors"] .dh-root .dh-financial-metrics{grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}
body.nx-redesigned[data-nx-page="directors"] .dh-root .dh-financial-metrics>.dh-metric{min-width:0;min-height:0;padding:10px 9px;border-radius:9px}
body.nx-redesigned .dh-financial-metrics>.dh-metric span{font-size:10px;line-height:1.35;min-height:27px}
body.nx-redesigned .dh-financial-metrics>.dh-metric strong{font-size:clamp(14px,1.15vw,22px);line-height:1.3;letter-spacing:-.5px;white-space:nowrap;margin:5px 0}
body.nx-redesigned .dh-financial-metrics>.dh-metric small{font-size:9px;line-height:1.35}
@media(max-width:1100px){body.nx-redesigned[data-nx-page="directors"] .dh-root .dh-financial-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:600px){body.nx-redesigned[data-nx-page="directors"] .dh-root .dh-financial-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Crate view selection */
body #content .nx-crate-views button[aria-selected="true"]{background:#a94e87!important;color:#fff!important;border-color:#c375a5!important;box-shadow:0 2px 8px #a94e8726!important}
body #content .nx-crate-views button[aria-selected="false"]{box-shadow:none!important}

.rq-workspace, .rq-workspace .rq-group, .rq-workspace .rq-card { background-color: #fff; }
html[data-nx-theme="dark"] .rq-workspace,
html[data-nx-theme="dark"] .rq-workspace .rq-group { background-color: #241c2a; }
html[data-nx-theme="dark"] .rq-workspace .rq-card { background-color: #291f30; }
