/* Dashboard composition and account dialogs. Shared toolbar rules live in aura-theme.css. */
html body.platform-body #platformApp .dh-home{padding:20px 32px 36px;max-width:1650px;--dh-card:rgba(229,237,246,.63);--dh-paper:#fdfefd;--dh-ink:var(--aura-ink,#152b39)}
html body.platform-body #platformApp .dh-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px 24px;align-items:center;margin-bottom:12px}
html body.platform-body #platformApp .dh-title{display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-width:0}
html body.platform-body #platformApp .dh-title h1{font-size:clamp(28px,2.5vw,42px);font-weight:600;line-height:1.16;letter-spacing:-.045em;color:var(--dh-ink);margin:0}
html body.platform-body #platformApp :is(.dh-role,.dh-pill,.dh-global-status,.dh-tabs button){display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:39px;border:0;border-radius:999px;background:rgba(245,250,254,.65);color:var(--dh-ink);padding:10px 16px;font-size:14px;font-weight:500;line-height:1.15;white-space:nowrap;text-decoration:none;cursor:pointer}
html body.platform-body #platformApp .dh-role{min-height:35px;padding:8px 12px;font-size:13px}
html body.platform-body #platformApp .dh-role select{appearance:none;background:transparent!important;border:0!important;border-radius:0!important;min-height:0!important;padding:0 4px!important;font-size:13px;color:inherit;cursor:pointer;max-width:140px}
html body.platform-body #platformApp :is(.dh-header-actions,.dh-header-meta){display:flex;gap:9px;align-items:center;justify-content:flex-end}
html body.platform-body #platformApp .dh-header-meta>span{font-size:12px;color:var(--aura-muted)}
html body.platform-body #platformApp .dh-tabs{display:flex;align-items:center;gap:8px;overflow-x:auto;max-width:100%;scrollbar-width:thin}
html body.platform-body #platformApp .dh-tabs button{font-size:14px;padding:11px 16px;background:rgba(242,248,252,.38)}
html body.platform-body #platformApp .dh-tabs button[aria-pressed=true]{background:rgba(253,254,255,.8);box-shadow:0 3px 14px #20314c08}
html body.platform-body #platformApp .dh-global-status{font-size:12px;padding:8px 11px;min-height:34px;--dh-status:#c58a12}
html body.platform-body #platformApp .dh-global-status.dh-red{--dh-status:#df3159}
html body.platform-body #platformApp .dh-global-status.dh-green{--dh-status:#218655}
html body.platform-body #platformApp .dh-global-status.dh-unknown{--dh-status:#7c8b99}
html body.platform-body #platformApp .dh-global-status i{position:relative;width:8px;height:8px;background:var(--dh-status);border-radius:50%}
html body.platform-body #platformApp .dh-global-status i:after{content:'';position:absolute;inset:-4px;border:1.5px solid var(--dh-status);border-radius:50%;animation:dh-pulse 2.8s ease-out infinite}
@keyframes dh-pulse{0%{transform:scale(.65);opacity:.6}70%,100%{transform:scale(1.55);opacity:0}}
html body.platform-body #platformApp .dh-home>.eh-products{margin:12px 0 18px}
html body.platform-body #platformApp .dh-home>.eh-products>header{display:none}
html body.platform-body #platformApp .dh-carousel{position:relative;margin:10px 0 22px;min-width:0}
html body.platform-body #platformApp .dh-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 80px)/4);gap:20px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#a0b6cc66 transparent;padding:4px 4px 19px;overscroll-behavior-x:contain;min-width:0}
html body.platform-body #platformApp .dh-metric{position:relative;min-width:0;height:330px;scroll-snap-align:start;isolation:isolate}
html body.platform-body #platformApp .dh-illustration{position:absolute;top:0;left:0;right:0;height:212px;display:flex;justify-content:center;z-index:-1;pointer-events:none}
html body.platform-body #platformApp .dh-illustration svg{width:100%;height:100%;max-width:300px;stroke:none;overflow:visible}
html body.platform-body #platformApp .dh-metric-front{position:absolute;bottom:0;left:0;right:0;min-height:174px;border:1px solid rgba(247,251,255,.3);border-radius:22px;background:var(--dh-card);box-shadow:0 7px 22px rgba(50,75,92,.045);padding:22px 24px;transition:background .16s}
html body.platform-body #platformApp .dh-metric-link{display:block;text-decoration:none;color:var(--dh-ink);padding-right:12px}
html body.platform-body #platformApp .dh-number{display:block;font-size:43px;line-height:1.05;font-weight:600;letter-spacing:-.04em;margin-bottom:12px}
html body.platform-body #platformApp .dh-metric h2{font-size:19px;font-weight:600;line-height:1.25;margin:0 0 8px;color:var(--dh-ink);letter-spacing:-.02em}
html body.platform-body #platformApp .dh-note{display:block;font-size:14px;line-height:1.45;padding-right:30px;color:var(--aura-muted)}
html body.platform-body #platformApp .dh-more{position:absolute;right:16px;bottom:19px;display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:rgba(239,242,255,.63);color:var(--dh-ink);font-size:17px;letter-spacing:1px;cursor:pointer;box-shadow:0 0 9px rgba(151,128,222,.09),0 0 16px rgba(120,210,228,.05)}
html body.platform-body #platformApp .dh-metric:hover .dh-metric-front{background:rgba(229,237,246,.8)}
html body.platform-body #platformApp :is(.dh-carousel-prev,.dh-carousel-next){position:absolute;bottom:106px;transform:translateY(50%);z-index:3;width:52px;height:52px;display:grid;place-items:center;background:rgba(245,250,254,.95);border:0;border-radius:50%;box-shadow:0 4px 15px #2a415921;color:var(--dh-ink);cursor:pointer}
html body.platform-body #platformApp .dh-carousel-prev{left:-12px}
html body.platform-body #platformApp .dh-carousel-next{right:-12px}
html body.platform-body #platformApp :is(.dh-carousel-prev,.dh-carousel-next) svg{width:25px;height:25px;stroke-width:1.8}
html body.platform-body #platformApp :is(.dh-carousel-prev,.dh-carousel-next):disabled{opacity:.35;cursor:default}
html body.platform-body #platformApp .dh-breakdown{display:grid;grid-template-columns:1fr 1.5fr;gap:12px;padding-right:35px;font-size:11px;color:var(--aura-muted)}
html body.platform-body #platformApp .dh-breakdown b{display:block;font-size:21px;color:#237d54;margin-bottom:4px}
html body.platform-body #platformApp .dh-breakdown>span:last-child b{color:#b77800}
html body.platform-body #platformApp .dh-operations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0 0 26px}
html body.platform-body #platformApp .dh-operation{--dh-status:#cc8900;display:flex;align-items:center;gap:14px;min-width:0;min-height:120px;padding:22px;border-radius:22px;background:rgba(245,250,253,.56);box-shadow:0 5px 17px #3143560b,0 0 25px #f4ad191c;text-decoration:none;color:var(--dh-ink)}
html body.platform-body #platformApp .dh-operation.dh-blue{--dh-status:#3868f4;box-shadow:0 5px 17px #3143560b,0 0 25px #4179f81c}
html body.platform-body #platformApp .dh-operation.dh-red{--dh-status:#e42d5c;box-shadow:0 5px 17px #3143560b,0 0 25px #ec436e1c}
html body.platform-body #platformApp .dh-operation-icon{width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--dh-status) 15%,transparent);color:var(--dh-status);display:grid;place-items:center;flex-shrink:0}
html body.platform-body #platformApp .dh-operation strong{display:block;font-size:17px;font-weight:600;line-height:1.3}
html body.platform-body #platformApp .dh-operation small{display:block;font-size:14px;line-height:1.45;color:var(--aura-muted);margin-top:5px}
html body.platform-body #platformApp .dh-operation>b{margin-left:auto;font-size:36px;line-height:1;font-weight:600;color:var(--dh-status)}
html body.platform-body #platformApp .dh-operation>svg{width:15px;height:15px;color:#748e9e}
html body.platform-body #platformApp .dh-home .eh-layout{grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:26px}
html body.platform-body #platformApp .dh-home .eh-panel-heading{padding:26px 28px 18px}
html body.platform-body #platformApp .dh-home .eh-brief{padding:28px}
html body.platform-body #platformApp .dh-home :is(.eh-brief p,.eh-queue-row p){font-size:16px;line-height:1.6}
html body.platform-body #platformApp .dh-home .eh-ceo-sections h3{font-size:12px;font-weight:600}
html body.platform-body #platformApp .dh-home .eh-position{grid-template-columns:minmax(0,1fr) minmax(200px,.8fr);padding:0 28px 28px;gap:24px}
html body.platform-body #platformApp .dh-exposure{display:grid;justify-items:center;gap:15px}
html body.platform-body #platformApp .dh-exposure svg{width:215px;height:215px;stroke:none;color:var(--dh-ink)}
html body.platform-body #platformApp .dh-risk-legend{display:grid;grid-template-columns:1fr 1fr;gap:15px 20px;width:100%;max-width:350px;font-size:14px}
html body.platform-body #platformApp .dh-risk-legend>span{display:flex;gap:7px;align-items:center}
html body.platform-body #platformApp .dh-risk-legend i{width:7px;height:7px;border-radius:50%;flex-shrink:0}
html body.platform-body #platformApp .dh-risk-legend b{margin-left:auto;font-weight:500}
html body.platform-body #platformApp .dh-home .eh-target{margin-top:22px}
.dh-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.dh-dialog{width:min(560px,calc(100vw - 28px));max-height:85dvh;overflow:auto;border:1px solid var(--aura-line,#dce4ec);border-radius:24px;padding:28px;background:#fff;color:var(--aura-ink,#142c3b);box-shadow:0 20px 80px #10203030;font:18px/1.55 Urbanist,Arial,sans-serif}
.dh-dialog::backdrop{background:#12243a45;backdrop-filter:blur(5px)}
.dh-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.dh-dialog h2{font-size:30px;letter-spacing:-.03em;margin:0;font-weight:600}
.dh-dialog button{border:0;border-radius:999px;background:var(--aura-raised,#e8eff6);padding:10px 16px;color:inherit;font:inherit;cursor:pointer}
.dh-dialog header button{font-size:24px;padding:3px 13px}
.dh-dialog dl>div{display:flex;justify-content:space-between;gap:24px;border-bottom:1px solid var(--aura-line,#dce4ec);padding:13px 0}
.dh-dialog dt{font-size:18px;font-weight:500}
.dh-dialog dd{font-size:18px;margin:0;text-align:right;max-width:60%;font-weight:600}
.dh-dialog a{font-size:18px;font-weight:500;display:inline-flex;align-items:center;gap:12px;color:inherit;padding-top:16px;text-decoration:none}
.dh-dialog svg{width:18px;height:18px;stroke:currentColor}
.dh-dialog fieldset{border:1px solid var(--aura-line,#dce4ec);border-radius:14px;margin:20px 0;padding:16px}
.dh-dialog label{display:flex;align-items:center;gap:10px;padding:7px 0}
.dh-dialog input[type=checkbox]{accent-color:#416cf0;width:17px;height:17px;flex-shrink:0}
.dh-dialog input[type=range]{accent-color:#416cf0;width:100%;min-width:0;height:auto}
.dh-dialog .dh-upload input[type=file]{display:block;width:100%;max-width:100%;height:auto;min-height:44px;font:inherit;color:inherit;padding:6px 0}
.dh-dialog .dh-upload input[type=file]::file-selector-button{border:0;border-radius:999px;background:var(--aura-raised,#e8eff6);color:inherit;font:inherit;padding:10px 16px;margin-right:12px;cursor:pointer}
.dh-dialog footer{display:flex;justify-content:space-between;gap:12px;margin-top:22px}
.dh-metric-preference{display:flex;align-items:center;gap:6px}
.dh-metric-preference label{flex:1}
.dh-metric-preference button{padding:5px 10px}
.dh-popup-score{font-size:56px;line-height:1.2;text-align:center;padding:20px}
.dh-popup-score svg{width:220px;height:220px;stroke:none}
.dh-admin-menu{position:fixed;inset:auto;width:240px;margin:0;padding:14px;border:1px solid var(--aura-line,#dce4ec);border-radius:20px;background:var(--aura-surface,#f6fafc);color:var(--aura-ink,#142c3b);backdrop-filter:blur(24px);box-shadow:0 15px 45px #14283e24;font:15px Urbanist,Arial,sans-serif}
.dh-admin-menu strong{display:block;padding:8px 12px;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--aura-muted)}
.dh-admin-menu a{display:block;padding:12px;border-radius:12px;color:inherit;text-decoration:none}
.dh-admin-menu a:hover{background:var(--aura-raised)}
.dh-dialog .dh-photo-preview{width:90px;height:90px;border-radius:50%;overflow:hidden;margin:16px 0;background:#dce7ed}
.dh-photo-preview img{width:100%;height:100%;object-fit:cover}
.dh-dialog canvas{display:block;width:min(100%,330px);height:auto;border-radius:50%;touch-action:none;cursor:grab;margin:20px auto;border:3px solid white;box-shadow:0 4px 24px #10203020}
.dh-dialog [data-crop][hidden]{display:none}
.dh-dialog .dh-upload{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
html body.platform-body #platformApp .dh-compact .dh-metric{height:295px}
html body.platform-body #platformApp .dh-compact .dh-metric-front{min-height:155px;padding:18px}
html body.platform-body #platformApp .dh-home [hidden]{display:none!important}
html body.platform-body.platform-dark-mode #platformApp .dh-home{--dh-card:rgba(42,61,82,.78)}
html body.platform-body.platform-dark-mode #platformApp .dh-home :is(.dh-pill,.dh-tabs button,.dh-role,.dh-global-status,.dh-more,.dh-carousel-prev,.dh-carousel-next){background:var(--aura-raised)}
html body.platform-body.platform-dark-mode #platformApp .dh-operation{background:var(--aura-surface)}
html body.platform-body.platform-dark-mode #platformApp .dh-illustration{opacity:.88}
@media(max-width:1350px){html body.platform-body #platformApp .dh-header{grid-template-columns:minmax(0,1fr) auto}html body.platform-body #platformApp .dh-title h1{font-size:31px}html body.platform-body #platformApp .dh-global-status{font-size:11px}html body.platform-body #platformApp .dh-track{grid-auto-columns:calc((100% - 60px)/3)}html body.platform-body #platformApp .dh-home .eh-position{grid-template-columns:1fr}html body.platform-body #platformApp .dh-operation{padding:20px 16px;gap:10px}html body.platform-body #platformApp .dh-operation strong{font-size:16px}}
@media(max-width:1000px){html body.platform-body #platformApp .dh-header{grid-template-columns:1fr}html body.platform-body #platformApp .dh-header-actions{justify-content:flex-start;grid-row:2}html body.platform-body #platformApp .dh-tabs{grid-row:3}html body.platform-body #platformApp .dh-header-meta{grid-row:4;justify-content:space-between}html body.platform-body #platformApp .dh-track{grid-auto-columns:calc((100% - 45px)/2)}html body.platform-body #platformApp .dh-home .eh-layout{grid-template-columns:1fr}html body.platform-body #platformApp .dh-operations{gap:12px}html body.platform-body #platformApp .dh-operation-icon{display:none}}
@media(max-width:640px){html body.platform-body #platformApp .dh-home{padding:16px 4px 26px}html body.platform-body #platformApp .dh-title h1{font-size:32px;width:100%}html body.platform-body #platformApp .dh-header{gap:14px}html body.platform-body #platformApp .dh-tabs button{font-size:13px;padding:10px 12px}html body.platform-body #platformApp .dh-track{grid-auto-columns:84%;gap:15px}html body.platform-body #platformApp .dh-metric{height:330px}html body.platform-body #platformApp .dh-metric-front{padding:22px;min-height:180px}html body.platform-body #platformApp .dh-carousel-prev{left:-4px}html body.platform-body #platformApp .dh-carousel-next{right:-4px}html body.platform-body #platformApp :is(.dh-carousel-prev,.dh-carousel-next){width:44px;height:44px}html body.platform-body #platformApp .dh-operations{grid-template-columns:1fr;gap:12px}html body.platform-body #platformApp .dh-operation{min-height:98px;padding:18px}html body.platform-body #platformApp .dh-operation-icon{display:grid}html body.platform-body #platformApp .dh-home .eh-position{padding:0 20px 22px}}
@media(prefers-reduced-motion:reduce){html body.platform-body #platformApp .dh-global-status i:after{animation:none;opacity:.25}}

body.platform-body:not(.platform-dark-mode) .dh-dialog{color:#111c24}
body.platform-dark-mode .dh-dialog{background:#182739}
.dh-popup-score text{font-size:44px;font-weight:600}

/* Readable lower-dashboard content, including secondary operational details. */
html body.platform-body #platformApp .dh-home .eh-panel h2{font-size:24px;font-weight:600}
html body.platform-body #platformApp .dh-home :is(.eh-changes h3,.eh-queue-row h3){font-size:18px;font-weight:600;line-height:1.45}
html body.platform-body #platformApp .dh-home :is(.eh-changes p,.eh-queue-row p){font-size:17px;line-height:1.6;color:var(--dh-ink)}
html body.platform-body #platformApp .dh-home :is(.eh-jobs strong,.eh-programmes strong,.eh-deadlines strong){font-size:17px;font-weight:600;line-height:1.5;color:var(--dh-ink)}
html body.platform-body #platformApp .dh-home :is(.eh-jobs span:not(.eh-job-dot),.eh-programmes span,.eh-deadlines span,.eh-job-summary span,.eh-queue-row small){font-size:15px;line-height:1.5;color:var(--aura-muted)}
html body.platform-body #platformApp .dh-home :is(.eh-changes small,.eh-row-meta,.eh-rank,.eh-eyebrow){font-size:14px;font-weight:500;line-height:1.5}
html body.platform-body #platformApp .dh-home :is(.eh-changes small,.eh-row-meta,.eh-rank,.eh-eyebrow){color:var(--aura-muted)}
html body.platform-body #platformApp .dh-home :is(.eh-panel-heading>a,.eh-review,.eh-period,.eh-period select){font-size:15px;font-weight:500}
html body.platform-body #platformApp .dh-home .eh-panel-note{font-size:16px;line-height:1.6}
html body.platform-body #platformApp .dh-home .eh-panel-footnote{font-size:14px;line-height:1.6}
html body.platform-body #platformApp .dh-home .eh-programmes progress{height:6px}
html body.platform-body #platformApp .dh-home .eh-panel-heading{flex-wrap:wrap}
@media(max-width:1200px){html body.platform-body #platformApp .dh-home .eh-layout{grid-template-columns:minmax(0,1fr)}}

/* Keep the photo editor and its save action visible without a scrolling modal. */
html body.platform-body dialog.dh-dialog.dh-profile-dialog{
 background:#fff!important;color:#111c24!important;--aura-raised:#edf3f7;
 width:min(740px,calc(100vw - 32px));max-height:none;box-sizing:border-box;
 padding:24px;overflow:visible;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 24px;
}
html body.platform-body .dh-profile-dialog>header{grid-column:1/-1;margin:0}
html body.platform-body .dh-profile-dialog>p{grid-column:1/-1;margin:0;font-size:16px;line-height:1.4}
html body.platform-body .dh-profile-dialog .dh-photo-tools{min-width:0;align-self:center}
html body.platform-body .dh-profile-dialog .dh-photo-preview{width:64px;height:64px;margin:0 0 12px}
html body.platform-body .dh-profile-dialog .dh-upload{font-size:16px;gap:4px;padding:0;margin-bottom:10px}
html body.platform-body .dh-profile-dialog .dh-upload input[type=file]{width:100%;min-width:0;font-size:14px;height:auto!important;min-height:44px}
html body.platform-body .dh-profile-dialog [data-crop]{min-width:0;text-align:center}
html body.platform-body .dh-profile-dialog [data-crop] p{font-size:15px;line-height:1.4;margin:0 0 10px}
html body.platform-body .dh-profile-dialog canvas{width:min(100%,240px,32dvh);margin:0 auto 10px;box-sizing:border-box;aspect-ratio:1}
html body.platform-body .dh-profile-dialog [data-crop] label{font-size:16px;padding:0;margin-bottom:10px}
html body.platform-body .dh-profile-dialog button{font-size:16px;padding:9px 16px}
html body.platform-body .dh-profile-dialog header button{font-size:24px;padding:3px 13px}
html body.platform-body .dh-profile-dialog [data-photo-error]:empty{display:none}
html body.platform-body .dh-profile-dialog footer{grid-column:1/-1;justify-content:flex-end;margin:0;padding-top:8px}
@media(max-width:560px){
 html body.platform-body dialog.dh-dialog.dh-profile-dialog{padding:18px;gap:12px;grid-template-columns:1fr}
 html body.platform-body .dh-profile-dialog h2{font-size:26px}
 html body.platform-body .dh-profile-dialog .dh-photo-tools{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px 12px;align-items:center}
 html body.platform-body .dh-profile-dialog .dh-photo-preview{width:52px;height:52px;margin:0;grid-row:1/3}
 html body.platform-body .dh-profile-dialog .dh-upload{margin:0}
 html body.platform-body .dh-profile-dialog [data-remove-photo]{justify-self:start;padding:6px 12px}
 html body.platform-body .dh-profile-dialog canvas{width:min(100%,220px,27dvh)}
}
@media(max-height:600px){
 html body.platform-body dialog.dh-dialog.dh-profile-dialog{padding:14px;gap:8px 18px}
 html body.platform-body .dh-profile-dialog h2{font-size:24px}
 html body.platform-body .dh-profile-dialog canvas{width:min(100%,180px,27dvh)}
 html body.platform-body .dh-profile-dialog .dh-photo-preview{display:none}
}
html:has(dialog.dh-profile-dialog[open]),body:has(dialog.dh-profile-dialog[open]){overflow:hidden!important}

/* Dashboard preferences use the available width instead of a long scrolling form. */
html body.platform-body dialog.dh-dialog.dh-customise-dialog{background:#fff!important;color:#111c24!important;--aura-raised:#edf3f7;width:min(920px,calc(100vw - 32px));max-height:none;overflow:visible;box-sizing:border-box;padding:24px}
html body.platform-body .dh-customise-dialog header{margin-bottom:12px}
html body.platform-body .dh-customise-dialog form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:14px 20px}
html body.platform-body .dh-customise-dialog form>p:first-child{grid-column:1/-1;margin:0;font-size:16px;line-height:1.4}
html body.platform-body .dh-customise-dialog fieldset{min-width:0;border:1px solid #dce4ec;border-radius:16px;padding:12px;margin:0;align-self:start}
html body.platform-body .dh-customise-dialog legend{font-size:17px;font-weight:600;padding:0 6px}
html body.platform-body .dh-customise-dialog label{font-size:16px;line-height:1.35;padding:6px 0}
html body.platform-body .dh-customise-dialog .dh-metric-preference{gap:6px;min-height:35px}
html body.platform-body .dh-customise-dialog .dh-metric-preference button{font-size:17px;padding:4px 10px}
html body.platform-body .dh-customise-dialog form>label{grid-column:1/-1}
html body.platform-body .dh-customise-dialog [data-settings-error]:empty{display:none}
html body.platform-body .dh-customise-dialog footer{grid-column:1/-1;margin:0}
html body.platform-body .dh-customise-dialog footer button{font-size:17px}
html:has(dialog.dh-customise-dialog[open]),body:has(dialog.dh-customise-dialog[open]){overflow:hidden!important}
@media(max-width:640px){
 html body.platform-body dialog.dh-dialog.dh-customise-dialog{padding:16px}
 html body.platform-body .dh-customise-dialog h2{font-size:25px}
 html body.platform-body .dh-customise-dialog form{grid-template-columns:1fr;gap:10px}
 html body.platform-body .dh-customise-dialog fieldset{padding:8px 10px}
 html body.platform-body .dh-customise-dialog fieldset:first-of-type{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
 html body.platform-body .dh-customise-dialog label{font-size:15px;padding:4px 0}
 html body.platform-body .dh-customise-dialog .dh-metric-preference{min-height:30px}
 html body.platform-body .dh-customise-dialog .dh-metric-preference button{padding:2px 9px}
}
@media(max-height:740px) and (min-width:641px){html body.platform-body .dh-customise-dialog .dh-metric-preference{min-height:30px}html body.platform-body .dh-customise-dialog label{padding:3px 0}html body.platform-body .dh-customise-dialog form{gap:10px 20px}}

html body.platform-body:not([data-platform-page=command]) #platformApp .platform-main{padding-top:10px!important}

html body.platform-body .dh-profile-dialog .dh-upload input[type=file][hidden]{display:none!important}
html body.platform-body .dh-profile-dialog .dh-upload small{font-size:14px;line-height:1.4;color:#465463}
html body.platform-body .dh-profile-dialog [data-choose-photo]{background:#224fd4;color:#fff;font-weight:600;min-height:44px}

/* Explicit type sizes override legacy runtime styles on operational panels. */
html body.platform-body #platformApp .executive-home.dh-home .eh-panel h2{font-size:25px!important;font-weight:600!important}
html body.platform-body #platformApp .executive-home.dh-home :is(.eh-queue-row h3,.eh-changes h3,.eh-jobs strong,.eh-programmes strong,.eh-deadlines strong){font-size:18px!important;font-weight:600!important;line-height:1.5!important;color:var(--dh-ink)!important}
html body.platform-body #platformApp .executive-home.dh-home :is(.eh-queue-row p,.eh-changes p,.eh-deadlines span){font-size:17px!important;line-height:1.6!important;color:var(--dh-ink)!important}
html body.platform-body #platformApp .executive-home.dh-home :is(.eh-queue-row small,.eh-changes small,.eh-jobs span:not(.eh-job-dot),.eh-job-summary span,.eh-programmes span,.eh-programmes b,.eh-panel-footnote,.eh-review,.eh-period,.eh-period select,.eh-panel-heading>a){font-size:16px!important;line-height:1.5!important;color:var(--dh-ink)!important}
html body.platform-body #platformApp .executive-home.dh-home :is(.eh-row-meta,.eh-row-meta span,.eh-rank,.eh-eyebrow){font-size:14px!important;line-height:1.5!important}
html body.platform-body #platformApp .executive-home.dh-home :is(.eh-brief small,.eh-brief-source,.eh-sources a){font-size:15px!important;line-height:1.5!important}

/* Readable exposure legend, risk context and assurance summaries. */
html body.platform-body #platformApp .dh-home .dh-risk-legend{font-size:17px!important;max-width:390px;line-height:1.5}
html body.platform-body #platformApp .dh-home .dh-risk-legend b{font-size:18px!important;font-weight:600}
html body.platform-body #platformApp .dh-home .dh-exposure text:last-of-type{font-size:16px!important}
html body.platform-body #platformApp .dh-home .dh-exposure-panel .eh-target>span{font-size:17px!important;color:var(--dh-ink)!important}
html body.platform-body #platformApp .dh-home .dh-exposure-panel .eh-target>strong{font-size:28px!important;font-weight:600}
html body.platform-body #platformApp .dh-home .dh-exposure-panel .eh-target :is(p,small){font-size:16px!important;line-height:1.6!important;color:var(--dh-ink)!important}
html body.platform-body #platformApp .dh-home .dh-exposure-panel .eh-portfolios a>span{font-size:17px!important;font-weight:600!important;color:var(--dh-ink)!important}
html body.platform-body #platformApp .dh-home .dh-exposure-panel .eh-portfolios strong{font-size:30px!important}
html body.platform-body #platformApp .dh-home .dh-exposure-panel .eh-portfolios :is(small,p){font-size:16px!important;line-height:1.5!important;color:var(--dh-ink)!important}
html body.platform-body #platformApp .dh-home .dh-exposure-panel .eh-portfolios a{padding:18px!important}
@media(max-width:640px){html body.platform-body #platformApp .dh-home .dh-exposure-panel .eh-portfolios{grid-template-columns:1fr!important}}

html body.platform-body #platformApp .dh-more svg{display:block!important;width:24px!important;height:24px!important;fill:currentColor!important;stroke:none!important}

html body.platform-body #platformApp .dh-more svg{width:28px!important;height:28px!important;shape-rendering:geometricPrecision}html body.platform-body #platformApp .dh-more svg circle{stroke:none!important}

html body.platform-body #platformApp .dh-more svg{width:30px!important;height:24px!important;color:#64748b!important}
html body.platform-body #platformApp .dh-more svg{width:27px!important;height:24px!important;color:#526176!important}

/* Lift metric cards off the aura background and leave room for their glow. */
html body.platform-body #platformApp .dh-home .dh-metric-front{box-shadow:0 8px 18px rgba(35,58,80,.11),0 0 18px rgba(127,151,217,.12),0 0 12px rgba(120,205,214,.08)!important}
html body.platform-body #platformApp .dh-home .dh-track{padding-bottom:30px!important}
html body.platform-body #platformApp .dh-home .dh-metric-front{box-shadow:0 5px 14px rgba(35,58,80,.055),0 0 12px rgba(127,151,217,.06)!important}

/* Give the executive brief a readable hierarchy and an obvious action focus. */
html body.platform-body #platformApp .dh-home .eh-brief-heading{font-size:17px!important;font-weight:600!important;color:var(--dh-ink)!important;margin-bottom:18px!important}
html body.platform-body #platformApp .dh-home .eh-brief-tag{font-size:13px!important}
html body.platform-body #platformApp .dh-home .eh-ceo-brief h2{font-size:30px!important;font-weight:600!important;line-height:1.3!important}
html body.platform-body #platformApp .dh-home .eh-ceo-sections h3{font-size:16px!important;font-weight:700!important;letter-spacing:.04em!important;margin:0 0 10px!important;color:var(--dh-ink)!important}
html body.platform-body #platformApp .dh-home .eh-ceo-sections p{font-size:18px!important;line-height:1.6!important;color:var(--dh-ink)!important}
html body.platform-body #platformApp .dh-home .eh-ceo-sections>div:nth-child(2){border:1px solid rgba(190,133,18,.25)!important;border-left:4px solid #bd861c!important;border-radius:12px;padding:18px!important;background:rgba(255,243,213,.48)!important}
html body.platform-body #platformApp .dh-home .eh-ceo-sections>div:nth-child(3){border:1px solid rgba(64,99,191,.22)!important;border-left:4px solid #4267bd!important;border-radius:12px;padding:18px!important;background:rgba(229,237,255,.45)!important}
html body.platform-body #platformApp .dh-home .eh-brief .eh-brief-sources a{font-size:15px!important;line-height:1.45!important;padding:8px 10px!important;color:var(--dh-ink)!important}
html body.platform-body #platformApp .dh-home .eh-brief-sources svg{width:15px!important;height:15px!important;flex-shrink:0}
html body.platform-body #platformApp .dh-home .eh-brief>small{font-size:15px!important;line-height:1.6!important}

/* Inset forecast rows so hover emphasis does not crowd their content. */
html body.platform-body #platformApp .dh-home .eh-deadlines{padding:0 24px 16px!important}
html body.platform-body #platformApp .dh-home .eh-deadlines a{padding:16px!important;gap:20px!important;min-height:88px;box-sizing:border-box}
html body.platform-body #platformApp .dh-home .eh-deadlines a>div{min-width:0;flex:1}
html body.platform-body #platformApp .dh-home .eh-deadlines strong{line-height:1.45!important}
html body.platform-body #platformApp .dh-home .eh-deadlines span{margin-top:6px!important}
html body.platform-body #platformApp .dh-home .eh-deadlines a>b{flex:0 0 auto;font-size:28px!important;line-height:1.2!important;min-width:32px;text-align:right}

html body.platform-body #platformApp .dh-home .eh-ceo-sections>div:nth-child(2){border-color:rgba(237,112,45,.28)!important;border-left-color:#ed702d!important;background:rgba(255,235,222,.55)!important}

html body.platform-body:not([data-platform-page=command]) #platformApp .platform-main{padding-top:0!important}

/* Give the dashboard introduction and metric groups a little more air. */
html body.platform-body #platformApp .dh-home{padding-top:30px}
html body.platform-body #platformApp .dh-home .dh-header{row-gap:28px;margin-bottom:24px}
html body.platform-body #platformApp .dh-home .dh-carousel{margin-top:18px;margin-bottom:30px}
html body.platform-body #platformApp .dh-home .dh-operations{margin-bottom:32px}
@media(max-width:640px){html body.platform-body #platformApp .dh-home{padding-top:22px}html body.platform-body #platformApp .dh-home .dh-header{row-gap:20px;margin-bottom:20px}}

html body.platform-body:not([data-platform-page=command]) #platformApp.platform-shell>main.platform-main{padding-top:0!important}

html body.platform-body .dh-password-dialog{background:#fff!important;color:#111c24!important}
html body.platform-body .dh-password-form label{display:grid;gap:6px;font-size:17px}
html body.platform-body .dh-password-form input{box-sizing:border-box;width:100%!important;height:44px!important;border:1px solid #bdcbd8;border-radius:10px;background:#fff;color:#111c24;font:18px Arial,sans-serif;padding:10px}
html body.platform-body .dh-password-form p{font-size:16px;line-height:1.5}
html body.platform-body .dh-profile-dialog footer:has([data-password]){justify-content:space-between;flex-wrap:wrap}

/* A little more tracking keeps account form text comfortably readable. */
html body.platform-body .dh-password-dialog{letter-spacing:.015em}
html body.platform-body .dh-password-dialog h2{letter-spacing:-.01em!important}
html body.platform-body .dh-password-dialog :is(label,p,button){letter-spacing:.02em!important}

/* Account form fields must override generic compact dialog controls. */
html body.platform-body dialog.dh-dialog.dh-password-dialog{width:min(520px,calc(100vw - 32px))!important;padding:28px!important;border-radius:24px!important;background:#fff!important;color:#111c24!important}
html body.platform-body dialog.dh-password-dialog .dh-password-form{display:grid!important;gap:18px!important;margin:0!important}
html body.platform-body dialog.dh-password-dialog .dh-password-form>p{margin:0!important;font-size:16px!important;line-height:1.55!important;color:#526176!important}
html body.platform-body dialog.dh-password-dialog .dh-password-form label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;margin:0!important;padding:0!important;font-size:17px!important;font-weight:500!important}
html body.platform-body dialog.dh-dialog.dh-password-dialog .dh-password-form input[type=password]{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;height:48px!important;min-height:48px!important;box-sizing:border-box!important;padding:10px 14px!important;border:1px solid #becbd8!important;border-radius:10px!important;background:#fff!important;color:#111c24!important;box-shadow:none!important;font:18px/1.4 Urbanist,Arial,sans-serif!important}
html body.platform-body dialog.dh-password-dialog .dh-password-form input:focus-visible{outline:2px solid #4267bd!important;outline-offset:2px!important}
html body.platform-body dialog.dh-password-dialog .dh-password-form footer{margin:2px 0 0!important;justify-content:flex-end!important}
html body.platform-body dialog.dh-password-dialog .dh-password-form button[type=submit]{background:#254fbb!important;color:#fff!important;min-height:46px!important;padding:11px 20px!important;font-size:17px!important;font-weight:600!important}
html body.platform-body dialog.dh-password-dialog [data-password-status]:empty{display:none!important}
