/* Shared brand foundation: approved v0.5.01 roles; no decorative gradients. */
#appShell{--v09-bg:var(--ruction-surface-base);--v09-panel:var(--ruction-surface-card);--v09-panel-2:var(--ruction-surface-raised);--v09-ink:var(--ruction-text-primary);--v09-muted:var(--ruction-text-muted);--v09-line:var(--ruction-border);--v09-blue:var(--ruction-elements-blue);--v09-blue-soft:color-mix(in srgb,var(--ruction-elements-blue) 10%,var(--ruction-surface-card));--v09-shadow:0 2px 9px #0000000b;--bg:var(--ruction-surface-base);--card:var(--ruction-surface-card);--surface:var(--ruction-surface-card);--text:var(--ruction-text-primary);--muted:var(--ruction-text-muted);--border:var(--ruction-border);--line:var(--ruction-border);--accent:var(--ruction-elements-blue);--re355-card:var(--ruction-surface-card);--re355-text:var(--ruction-text-primary);--re355-muted:var(--ruction-text-muted);--re355-border:var(--ruction-border);--re355-accent:var(--ruction-elements-blue);background:var(--ruction-surface-base)!important;color:var(--ruction-text-primary)}
#appShell[data-theme="dark"]{--v09-bg:var(--ruction-surface-base);--v09-panel:var(--ruction-surface-card);--v09-panel-2:var(--ruction-surface-raised);--v09-ink:var(--ruction-text-primary);--v09-muted:var(--ruction-text-muted);--v09-line:var(--ruction-border);--v09-blue:var(--ruction-elements-blue);--v09-blue-soft:color-mix(in srgb,var(--ruction-elements-blue) 12%,var(--ruction-surface-card));--v09-shadow:none;color-scheme:dark}
#appShell[data-theme="light"]{color-scheme:light}
#appShell[data-theme] :is(.workspace,.workspace-main,.content-view){--v09-bg:var(--ruction-surface-base);--v09-panel:var(--ruction-surface-card);--v09-panel-2:var(--ruction-surface-raised);--v09-ink:var(--ruction-text-primary);--v09-muted:var(--ruction-text-muted);--v09-line:var(--ruction-border);--v09-blue:var(--ruction-elements-blue);--v09-blue-soft:color-mix(in srgb,var(--ruction-elements-blue) 12%,var(--ruction-surface-card));background:var(--ruction-surface-base)!important;color:var(--ruction-text-primary)!important}
#appShell[data-theme]{--re-panel:var(--ruction-surface-card);--re-panel-2:var(--ruction-surface-raised);--re-field:var(--ruction-surface-card);--re-line:var(--ruction-border);--re-ink:var(--ruction-text-primary);--re-muted:var(--ruction-text-muted);--re-blue:var(--ruction-elements-blue);--re-focus:color-mix(in srgb,var(--ruction-elements-blue) 12%,var(--ruction-surface-card));--re-radius:12px;--card-bg:var(--ruction-surface-card);--border-color:var(--ruction-border);--text-color:var(--ruction-text-primary);--input-bg:var(--ruction-surface-raised);--muted-color:var(--ruction-text-muted)}
#appShell[data-theme] .impact-first-view{--re56-surface:var(--ruction-surface-card);--re56-secondary:var(--ruction-surface-raised);--re56-line:var(--ruction-border);--re56-ink:var(--ruction-text-primary);--re56-muted:var(--ruction-text-muted);--re56-blue:var(--ruction-elements-blue)}
#appShell :is(.workspace,.workspace-main){background:var(--ruction-surface-base)!important}
#appShell #premiumPageHeader{background:var(--ruction-surface-base)!important;border-bottom:1px solid var(--ruction-border)!important;box-shadow:none!important;border-radius:0!important;padding-block:10px!important;margin-bottom:12px!important;min-height:0!important}
#appShell #premiumPageHeader :is(#pageTitle,#overviewWelcome){color:var(--ruction-text-primary)!important;letter-spacing:-.035em}
#appShell #premiumPageHeader :is(.control-field,.theme-toggle,.premium-signout,.owner-customer-wrap){background:var(--ruction-surface-card)!important;border-color:var(--ruction-border)!important;color:var(--ruction-text-primary)!important;border-radius:9px!important}
#appShell #premiumPageHeader :is(.control-field,.owner-customer-wrap) svg{color:var(--ruction-elements-blue)!important}
/* Native shared card families, excluding report document content and explicit module-style overrides. */
#appShell .content-view :is(.panel,.premium-card,.premium-kpi,.re56-card,.re322-overview-card,.re309-panel,.re86-card,.re355-module,.re355-business-card,.re648-hub-panel):not([data-re431-styled]){background-color:var(--ruction-surface-card);border-color:var(--ruction-border);color:var(--ruction-text-primary);border-radius:12px;box-shadow:var(--v09-shadow)}
#appShell .content-view :is(.panel,.premium-card,.premium-kpi,.re56-card,.re322-overview-card,.re86-card)>:is(h2,h3){color:var(--ruction-text-primary);font-weight:760;letter-spacing:-.025em}
#appShell .content-view :is(.panel,.premium-card,.re56-card,.re322-overview-card) :is(.section-head p,.card-subtitle,.metric-label){color:var(--ruction-text-muted)}
#appShell .content-view :is(.panel,.premium-card,.re56-card,.re322-overview-card) th{font-size:12px;color:var(--ruction-text-muted)}
#appShell .content-view :is(.panel,.premium-card,.re56-card,.re322-overview-card) td{padding-block:8px;border-color:var(--ruction-border)}
#appShell .content-view :is(.panel,.premium-card,.re56-card,.re322-overview-card) :is(.section-head,.card-title) svg{color:var(--ruction-elements-blue);width:23px;height:23px}
#appShell .content-view :is(.panel,.premium-card,.re56-card,.re322-overview-card) :is(.outline-button,.icon-small){background:var(--ruction-surface-card);border-color:var(--ruction-border);color:var(--ruction-text-primary)}
#appShell .content-view a:not(.re647-project-link):focus-visible,#appShell button:focus-visible{outline-offset:3px}
/* The navigation remains a static rail, independent of selected group or hover. */
#appShell #sidebar{background:var(--re650-sidebar,#05070b)!important;color:var(--re650-text,#d5dce4)!important}
#appShell #sidebar::after{display:none!important}
#appShell #sidebar .re85-children{display:none!important}
#appShell #sidebar .re315-navigation{display:grid!important;grid-auto-rows:auto;gap:var(--re650-gap,5px)!important}
#appShell #sidebar .re85-group{margin:0!important;padding:0!important;border:0!important;background:none!important}
#appShell #sidebar :is(.re315-navigation>.nav-link,.re85-group-toggle,#ownerNavGroup .nav-link){display:flex!important;align-items:center;gap:11px;min-height:var(--re650-rowHeight,46px)!important;padding:7px 11px!important;font-size:var(--re650-font,14px)!important;font-weight:650;border-radius:var(--re650-radius,9px)!important;background:transparent!important;border:1px solid transparent!important;color:var(--re650-text,#d5dce4)!important;text-align:left;box-shadow:none!important;width:100%}
#appShell #sidebar :is(.re315-navigation>.nav-link,.re85-group-toggle,#ownerNavGroup .nav-link)>svg:first-child{width:var(--re650-iconSize,23px)!important;height:var(--re650-iconSize,23px)!important;color:var(--re650-icon,#109dc9)!important;stroke:currentColor;flex:0 0 auto}
#appShell #sidebar :is(.re315-navigation>.nav-link,.re85-group-toggle,#ownerNavGroup .nav-link):hover,#appShell #sidebar :is(.re315-navigation>.nav-link,.re85-group-toggle)[aria-expanded="true"]{background:var(--re650-hover,#12333e)!important;color:var(--re650-hoverText,#eafaff)!important}
#appShell #sidebar :is(.re315-navigation>.nav-link.selected,.re85-group:has(.nav-link.selected)>.re85-group-toggle,#ownerNavGroup .nav-link.selected){background:var(--re650-active,#124352)!important;color:var(--re650-activeText,#e9fbff)!important;box-shadow:inset var(--re650-accent,4px) 0 var(--re650-indicator,#109dc9)!important}
#appShell #sidebar :is(.nav-link,.re85-group-toggle) .re85-chevron{font-size:20px!important;font-weight:400;line-height:1;transform:none!important;flex:0 0 12px;margin-left:auto}
#appShell #sidebar .re85-chevron::before,#appShell #sidebar .re85-chevron::after{content:none!important}
#appShell #sidebar .re648-team-chevron{width:16px!important;height:16px!important}
#appShell.sidebar-collapsed #sidebar :is(.re315-navigation>.nav-link,.re85-group-toggle,#ownerNavGroup .nav-link){padding:7px!important;justify-content:center}
#appShell.sidebar-collapsed #sidebar :is(.re85-chevron,.re648-team-chevron){display:none!important}
#appShell #sidebar .dock-icon{color:var(--re650-icon,#109dc9)!important}
#appShell #sidebar .dock-icon svg{width:var(--re650-iconSize,23px);height:var(--re650-iconSize,23px)}
/* Right-hand flyouts outside the scrolling rail: standard menus stack; Team cards stay horizontal. */
#appShell :is(.re650-nav-flyout,.re648-team-flyout){position:fixed!important;z-index:1700!important;background:var(--re650-flyBg,var(--ruction-surface-card))!important;color:var(--re650-flyText,var(--ruction-text-primary))!important;border:1px solid var(--ruction-border)!important;border-radius:12px;box-shadow:0 12px 48px #0004!important;padding:var(--re650-flyPadding,16px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;overscroll-behavior:contain;min-width:0}
#appShell :is(.re650-nav-flyout,.re648-team-flyout)[hidden]{display:none!important}
#appShell .re650-nav-flyout{box-sizing:border-box;width:min(var(--re328-sidebar-width,250px),calc(100vw - 24px));max-width:calc(100vw - 24px);display:grid;gap:8px;align-content:start}
#appShell .re650-fly-head{display:flex;gap:12px;align-items:center;justify-content:space-between}
#appShell .re650-nav-flyout .re650-fly-head{padding:0 0 8px;border-bottom:1px solid var(--ruction-border)}
#appShell .re650-fly-head strong{font-size:18px}
#appShell .re650-nav-flyout .re650-fly-head strong{font-size:var(--re650-font,14px);overflow-wrap:anywhere}
#appShell .re650-nav-flyout .re650-fly-head .re650-control{min-height:32px;padding:5px 8px;flex:none;background:transparent;color:var(--re650-flyText);font-size:12px}
#appShell .re650-nav-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--re650-gap,5px);min-width:0}
#appShell .re650-nav-card{box-sizing:border-box;display:flex;align-items:center;text-align:left;gap:11px;width:100%;min-width:0;min-height:var(--re650-rowHeight,46px);padding:7px 11px;border:1px solid transparent;border-radius:var(--re650-radius,9px);background:transparent;color:var(--re650-flyText);font-weight:650;font-size:var(--re650-font,14px);line-height:1.3;cursor:pointer}
#appShell .re650-nav-card svg{color:var(--re650-flyIcon);width:var(--re650-iconSize,23px);height:var(--re650-iconSize,23px);flex:0 0 auto}
#appShell .re650-nav-card span:first-of-type{flex:1;min-width:0;overflow-wrap:anywhere}
#appShell .re650-nav-card:is(:hover,:focus-visible){background:var(--re650-hover,#12333e);color:var(--re650-hoverText,#eafaff)}
#appShell .re650-nav-card[aria-current="page"]{background:var(--re650-active,#124352);color:var(--re650-activeText,#e9fbff);box-shadow:inset var(--re650-accent,4px) 0 var(--re650-indicator,#109dc9)}
#appShell .re650-nav-card:is(:hover,:focus-visible) :is(svg,.re650-arrow){color:var(--re650-flyHoverIcon,var(--re650-flyIcon))}
#appShell .re650-nav-card[aria-current="page"] :is(svg,.re650-arrow){color:var(--re650-flyActiveIcon,var(--re650-flyIcon))}
#appShell .re650-arrow{color:var(--re650-flyIcon);font-size:20px;line-height:1;flex:none}
#appShell .re648-team-flyout{max-width:none!important;display:flex;gap:14px!important}
#appShell .re648-flyout-list{display:grid!important;gap:16px!important;max-height:none!important;min-height:0;overflow-y:auto}
#appShell .re650-people-group{display:grid;gap:8px;min-width:0}
#appShell .re650-people-group h3{font-size:13px;color:var(--re650-flyMuted);font-weight:650}
#appShell .re650-people-row{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 9px;scroll-snap-type:x proximity}
#appShell .re648-fly-person{display:grid!important;align-content:start!important;gap:10px!important;flex:0 0 var(--re650-flyCard,224px);max-width:100%;min-width:0;scroll-snap-align:start;padding:12px!important;background:transparent!important;color:var(--re650-flyText)!important;border:1px solid var(--ruction-border)!important;border-radius:var(--re650-radius,9px)!important}
#appShell .re648-fly-person:hover{background:color-mix(in srgb,var(--re650-flyIcon) 10%,var(--re650-flyBg))!important;border-color:var(--re650-flyIcon)!important}
#appShell .re650-person-identity{display:flex;align-items:center;gap:10px;min-width:0}
#appShell .re648-fly-person .re648-avatar{width:var(--re650-avatar,48px);height:var(--re650-avatar,48px);background:var(--re650-flyBg);color:var(--re650-flyText);border-color:var(--re650-flyIcon)}
#appShell .re648-team-flyout :is(.re648-fly-details strong,.re648-flyout-head strong){color:var(--re650-flyText)!important}
#appShell .re648-team-flyout :is(.re648-fly-details small,small,.re648-muted){color:var(--re650-flyMuted)!important}
#appShell .re650-person-stats{display:grid;grid-template-columns:1fr auto;gap:4px;align-items:center;border-top:1px solid var(--ruction-border);padding-top:8px;min-width:0}
#appShell .re650-person-stats svg{width:100%;height:34px;color:var(--re650-flyIcon);grid-column:1/-1}
#appShell .re650-person-stats strong{font-size:23px;grid-column:1/-1;color:var(--re650-flyText);font-variant-numeric:tabular-nums}
#appShell .re650-person-stats small{grid-column:1/-1;font-size:11px!important}
#appShell .re648-team-flyout :is(.re648-flyout-search,.re648-flyout-all,.re648-flyout-head button){background:transparent!important;color:var(--re650-flyText)!important;border-color:var(--ruction-border)!important}
#appShell #re648FlyoutSearch{color:var(--re650-flyText)!important}#appShell #re648FlyoutSearch::placeholder{color:var(--re650-flyMuted)}
/* Correct the actual generated module boundary, not just the pre-grid markup. */
#appShell #teamView[data-re648-selection="all"]:not([data-re648-section="evidence"]) [data-re376-zone="team-activity"],#appShell #teamView[data-re648-selection="all"]:not([data-re648-section="evidence"]) [data-re376-module^="team-activity-"]{display:none!important}
#appShell #teamView[data-re648-selection="person"] :is([data-re376-module="team-activity-m1"],[data-re376-module="team-activity-m2"]){display:none!important}
#appShell #teamView[data-re648-selection="person"] #re415TeamDetailsModule{display:none!important}
#appShell #teamView[data-re648-selection="person"] [data-re376-zone="team-activity"],#appShell #teamView[data-re648-selection="person"] .re309-grid,#appShell #teamView[data-re648-selection="person"] [data-re376-module^="team-activity-"]{display:none!important}
#appShell #teamView #re650ProfileMount{width:100%;min-width:0;max-width:none}#appShell #teamView #re650ProfileMount #re309Profile{display:block!important;width:100%;max-width:none;height:auto;overflow:visible!important}
#appShell #teamView[data-re648-section="evidence"][data-re648-selection="all"] .re309-grid{display:grid!important}
#appShell #teamView :is(.re648-summary-tile,.re647-metric){border-top-color:var(--re649-accent)!important}
#appShell #teamView .re650-tile-label{display:flex;align-items:center;gap:9px;color:var(--re649-muted)}
#appShell #teamView .re650-tile-label svg{color:var(--re649-accent);width:var(--re649-icon);height:var(--re649-icon)}
#appShell #teamView :is(.re650-tile-label,.re650-metric-label) svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#appShell #teamView .re648-hub-head{background:transparent!important;padding:0 0 4px!important}
#appShell #teamView .re647-hero{background:var(--re649-surface)!important;color:var(--re649-ink)!important;border:1px solid var(--re649-border)!important;border-left:var(--re649-accent-width) solid var(--re649-accent)!important;box-shadow:var(--re649-shadow)!important}
#appShell #teamView .re647-hero:before{display:none}
#appShell[data-re649-banner="gradient"] #teamView .re647-hero{background:linear-gradient(110deg,var(--re649-surface),color-mix(in srgb,var(--re649-surface) 96%,var(--re649-accent)))!important}
#appShell[data-re649-banner="scenic"] #teamView .re647-scenery{opacity:.08;pointer-events:none}
#appShell #teamView .re650-metric-label{display:flex;align-items:center;gap:8px;color:var(--re649-muted);font-weight:650}
#appShell #teamView .re650-metric-label svg{width:var(--re649-icon);height:var(--re649-icon);color:var(--re649-accent);flex:none}
#appShell #teamView .re647-hero :is(.re647-person-text h2,.re647-hero-pill){color:var(--re649-ink)!important}
#appShell #teamView .re647-hero :is(.re647-job,.re647-bio,.re647-hero-foot){color:var(--re649-muted)!important}
#appShell #teamView .re647-hero .re647-kicker{color:var(--re649-accent)!important}
#appShell #teamView .re647-hero-pill{background:var(--re649-surface)!important;border-color:var(--re649-border)!important}
#appShell #teamView .re647-hero .re647-identity>.re309-avatar-profile{box-shadow:none;background:var(--ruction-surface-raised);color:var(--re649-ink)}
#appShell #teamView .re647-verified{color:var(--ruction-success)!important}
#appShell #teamView .re647-line-chart svg{width:100%!important;max-height:220px;min-height:150px}
#appShell #teamView :is(.re647-event-row,.re648-evidence-row){padding-block:8px!important;gap:9px!important}
#appShell #teamView .re648-sections{display:flex!important;flex-wrap:wrap;gap:5px!important}#appShell #teamView .re648-section-btn{flex:1 1 120px}
/* Local appearance editor, accessible in both themes. */
#appShell .re650-control{min-height:38px;background:var(--ruction-surface-raised);color:var(--ruction-text-primary);border:1px solid var(--ruction-border);border-radius:8px;padding:8px 12px;font-weight:650;font-size:13px}
#appShell #re650NavDesignButton{width:100%;margin:12px 0;border-color:var(--ruction-elements-blue);color:var(--ruction-text-primary)}
#appShell .re650-nav-design{background:var(--ruction-surface-card);color:var(--ruction-text-primary);border:1px solid var(--ruction-border);border-radius:14px;width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:20px}
#appShell .re650-nav-design::backdrop{background:#0008}
#appShell .re650-nav-design p{color:var(--ruction-text-muted);margin:10px 0 16px;font-size:13px}
#appShell .re650-design-section{border:1px solid var(--ruction-border);border-radius:10px;padding:14px;margin-bottom:12px}
#appShell .re650-design-section h3{margin-bottom:10px}
#appShell .re650-design-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#appShell .re650-design-fields label{display:grid;grid-template-columns:1fr auto;gap:5px;align-items:center;font-size:13px;font-weight:600;color:var(--ruction-text-primary)}
#appShell .re650-design-fields input[type=color]{width:44px;height:34px;padding:2px;border:1px solid var(--ruction-border);border-radius:7px;background:var(--ruction-surface-card)}
#appShell .re650-design-fields input[type=range]{grid-column:1/-1;accent-color:var(--ruction-elements-blue);width:100%}
#appShell .re650-design-fields output{font-size:11px;color:var(--ruction-text-muted)}
@media(max-width:760px){#appShell .re650-design-fields{grid-template-columns:1fr}#appShell #teamView .re648-sections{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}#appShell .re650-people-row{max-width:100%}#appShell .re648-fly-person{flex-basis:min(var(--re650-flyCard,224px),85vw)}#appShell #premiumPageHeader{padding-block:7px!important}}
@media(prefers-reduced-motion:reduce){#appShell :is(.re650-nav-flyout,.re648-team-flyout){scroll-behavior:auto}}
#appShell #sidebar .re85-group:has(.nav-link.selected[data-view="team"]):not(:has(.nav-link.selected:not([data-view="team"])))>.re85-group-toggle:not(:hover):not([aria-expanded="true"]){background:transparent!important;color:var(--re650-text)!important;box-shadow:none!important}
#appShell #sidebar :is(.nav-link,.re85-group-toggle):hover>svg:first-child{color:var(--re650-hoverIcon,var(--re650-icon))!important}
#appShell #sidebar :is(.nav-link.selected,.re85-group:has(.nav-link.selected:not([data-view="team"]))>.re85-group-toggle)>svg:first-child{color:var(--re650-activeIcon,var(--re650-icon))!important}
#appShell #re323Editor:not([hidden]){background:var(--ruction-surface-card);border-color:var(--ruction-border);color:var(--ruction-text-primary)}
#appShell .re648-fly-person[aria-current="true"]{background:color-mix(in srgb,var(--re650-flyIcon) 10%,var(--re650-flyBg))!important;border-color:var(--re650-flyIcon)!important}
body:has(#appShell[data-theme="dark"]) .re648-review-dialog{background:#1c1f22;color:#f4f6f7;border-color:#393d42}
body:has(#appShell[data-theme="dark"]) .re648-review-dialog :is(input:not([type="checkbox"]),select){background:#24282c;color:#f4f6f7;border-color:#393d42}
@media(max-width:900px){#appShell #re323Open:not([hidden]){display:flex!important}#appShell #re323Editor:not([hidden]){display:block!important;top:12px;right:12px;max-height:calc(100dvh - 24px)}}
/* 0.6.53 — one connected secondary menu; no duplicate page titles. */
#appShell #sidebar{background:var(--re650-sidebar,#000000)!important}
#appShell #sidebar :is(.sidebar-scroll,.dock-area){background:var(--re650-sidebar,#000000)!important}
#appShell #sidebar :is(.re315-navigation>.nav-link,.re85-group-toggle,#ownerNavGroup .nav-link)[aria-expanded="true"]{background:var(--re650-flyBg,#12384e)!important;color:var(--re650-flyText,#fff)!important;border-color:transparent!important}
#appShell #sidebar .re85-group:has(.nav-link.selected)>.re85-group-toggle[aria-expanded="true"]{background:var(--re650-flyBg,#12384e)!important;color:var(--re650-flyText,#fff)!important}
#appShell #sidebar :is(.nav-link,.re85-group-toggle)[aria-expanded="true"]>svg:first-child{color:var(--re650-connectedIcon,var(--re650-icon))!important}
#appShell #sidebar :is(.re315-navigation>.nav-link,.re85-group-toggle).re653-connected[aria-expanded="true"]{border-top-right-radius:0!important;border-bottom-right-radius:0!important}
#appShell .re653-nav-bridge{position:fixed;z-index:1700;background:var(--re650-hover,#12384e);pointer-events:auto}
#appShell .re653-nav-bridge[hidden]{display:none!important}
#appShell .re650-nav-flyout{background:var(--re650-flyBg,#12384e)!important;border:0!important;border-radius:var(--re650-radius,9px)!important;box-shadow:8px 8px 22px #0004!important;padding:0 var(--re650-flyPadding,16px) var(--re650-gap,5px)!important;min-height:var(--re650-rowHeight,46px)}
#appShell #sidebar .re653-connected{transition-property:background-color,color,box-shadow!important}
#appShell .re650-nav-card{gap:0}
/* Always-black sticky toolbar in both content themes. Scope colors to the header only. */
#appShell[data-theme] #premiumPageHeader{--ruction-surface-base:#000000;--ruction-surface-card:#181a1c;--ruction-surface-raised:#24282c;--ruction-text-primary:#ffffff;--ruction-text-muted:#c1ccd6;--ruction-border:#667380;--ruction-elements-blue:#56d2ff;--v09-panel:#181a1c;--v09-ink:#ffffff;--v09-muted:#c1ccd6;--v09-line:#667380;--v09-blue:#56d2ff;background:#000000!important;color:#ffffff!important;color-scheme:dark;border-bottom-color:#667380!important}
#appShell[data-theme] #premiumPageHeader :is(#pageTitle,#overviewWelcome,.top-control-primary,.theme-toggle-label,#ownerCustomerSelect,#reportingFocusSelect){color:#ffffff!important}
#appShell[data-theme] #premiumPageHeader :is(#pageSubtitle,#pageEyebrow,.top-control-secondary,.reporting-focus-caption,.owner-customer-wrap>label,.owner-customer-heading,.re347-status){color:#c1ccd6!important}
#appShell[data-theme] #premiumPageHeader :is(.top-controls .control-field,.top-controls .owner-customer-wrap,.theme-toggle,.premium-signout,#re649Customize,#re649People){background:#181a1c!important;color:#ffffff!important;border-color:#667380!important}
#appShell[data-theme] #premiumPageHeader :is(.top-controls .control-field,.top-controls .owner-customer-wrap,.theme-toggle,.premium-signout,#re649Customize,#re649People):is(:hover,:focus-within){background:#24282c!important;border-color:#56d2ff!important}
#appShell[data-theme] #premiumPageHeader :is(.top-controls select,.top-controls select option){color:#ffffff!important;background-color:#181a1c!important}
#appShell[data-theme] #premiumPageHeader :is(.website-picker,.date-control,.owner-customer-wrap)::after,#appShell[data-theme] #premiumPageHeader #re87Bell{color:#56d2ff!important}
#appShell[data-theme] #premiumPageHeader :is(button,select,input):focus-visible{outline:2px solid #56d2ff!important;outline-offset:2px}
#appShell[data-theme] #premiumPageHeader .custom-date-panel{background:#181a1c!important;color:#ffffff!important;border-color:#667380!important}
#appShell[data-theme] #premiumPageHeader .custom-date-panel :is(label,input){color:#ffffff!important}
#appShell[data-theme] #premiumPageHeader .custom-date-panel input{background:#24282c!important;border:1px solid #667380!important}
#appShell[data-theme] #premiumPageHeader #customDateError{color:#ffb6b6!important}
#appShell[data-theme] #premiumPageHeader :is(#applyCustomDates,.re347-proxy){background:#12384e!important;color:#ffffff!important;border:1px solid #56d2ff!important}
#appShell[data-theme] #premiumPageHeader :is(#applyCustomDates,.re347-proxy):hover{background:#154963!important;color:#ffffff!important}
#appShell .re650-nav-card:is(:hover,:focus-visible){background:var(--re650-subHover,#154963);color:var(--re650-subHoverText,#fff)}
#appShell .re650-nav-card[aria-current="page"]{background:var(--re650-active,#154963);color:var(--re650-activeText,#fff)}
#appShell #teamView[data-re648-section="people"][data-re648-selection="all"]>:not(#re740TeamDirectoryCanvas):not(.re740-layout-chrome):not(.re384-page-reset-row):not(.re382-statusbar){display:none!important}
#appShell #teamView[data-re648-section="people"][data-re648-selection="all"] #re648TeamHub{width:100%;max-width:none;min-width:0}
#appShell #teamView .re653-directory-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
#appShell #teamView .re653-directory-head h2{font-size:28px;letter-spacing:-.035em;color:var(--re649-ink);margin:0 0 4px}
#appShell #teamView .re653-directory-head input{width:min(100%,300px);min-width:0}
#appShell #teamView .re653-directory-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--re650-flyCard,224px)),1fr));gap:var(--re649-space,16px);width:100%;align-items:stretch}
#appShell #teamView .re653-person-card{display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px;min-height:150px;min-width:0;width:100%;text-align:left;padding:var(--re649-space,16px)!important;border:1px solid var(--re649-border)!important;border-left:var(--re649-accent-width,4px) solid var(--re649-accent)!important;border-radius:var(--re649-radius,12px)!important;background:var(--re649-surface)!important;color:var(--re649-ink)!important;box-shadow:var(--re649-shadow);align-content:start;cursor:pointer}
#appShell #teamView .re653-person-card:hover{border-color:var(--re649-accent)!important;background:color-mix(in srgb,var(--re649-surface) 94%,var(--re649-accent))!important}
#appShell #teamView .re653-person-identity{display:flex;align-items:center;gap:12px;min-width:0}
#appShell #teamView .re653-person-card .re648-avatar{width:var(--re650-avatar,48px);height:var(--re650-avatar,48px);flex:0 0 auto}
#appShell #teamView .re653-person-card .re648-person-meta{flex:1;min-width:0;overflow-wrap:anywhere}
#appShell #teamView .re653-person-card .re648-person-meta strong{font-size:calc(17px*var(--re649-type,1));color:var(--re649-ink)}
#appShell #teamView .re653-person-card .re648-person-meta span{font-size:calc(13px*var(--re649-type,1));color:var(--re649-muted)}
#appShell #teamView .re653-person-arrow{color:var(--re649-accent);font-size:25px}
#appShell #teamView .re653-person-card .re650-person-stats{grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;border-color:var(--re649-border)}
#appShell #teamView .re653-person-card .re650-person-stats svg{grid-column:1;grid-row:1 / span 2;color:var(--re649-accent);height:40px}
#appShell #teamView .re653-person-card .re650-person-stats strong{grid-column:2;color:var(--re649-ink);font-size:26px;text-align:right}
#appShell #teamView .re653-person-card .re650-person-stats small{grid-column:2;color:var(--re649-muted);text-align:right}
#appShell #teamView .re653-person-card .re650-person-stats:not(:has(svg)) :is(strong,small){grid-column:1/-1;text-align:left}
@media(max-width:600px){#appShell #teamView .re653-directory-head{align-items:stretch;flex-direction:column}#appShell #teamView .re653-directory-head input{width:100%}#appShell #teamView .re653-directory-grid{grid-template-columns:minmax(0,1fr);gap:10px}}
