/* Reference-led dashboard. The named important layer isolates this page from
   legacy unlayered important normalization without changing other pages. */
@layer crm-dashboard {
body.crm-dashboard {
 --dash-gold:#C9A44C !important; --dash-anthracite:#242629 !important; --dash-petrol:#176C70 !important; --dash-warm:#F7F5F0 !important;
 --dash-bg:#181b1d !important; --dash-panel:#242629 !important; --dash-text:#f7f5f0 !important; --dash-muted:#b7bab9 !important;
 --dash-line:#41474a !important; --dash-soft:#2d3134 !important; --dash-focus:#e3c876 !important; --dash-sidebar:250px !important;
 margin:0 !important; background:var(--dash-bg) !important; color:var(--dash-text) !important; font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important; color-scheme:dark !important;
}
html.theme-light body.crm-dashboard { --dash-bg:#F7F5F0 !important; --dash-panel:#fff !important; --dash-text:#242629 !important; --dash-muted:#657076 !important; --dash-line:#e7e7e3 !important; --dash-soft:#f8f6f1 !important; --dash-focus:#176C70 !important; color-scheme:light !important; }
body.crm-dashboard *,body.crm-dashboard *::before,body.crm-dashboard *::after { box-sizing:border-box !important; }
body.crm-dashboard::before,body.crm-dashboard::after { display:none !important; }
body.crm-dashboard :is(h1,h2,h3,p,blockquote) { margin:0 !important; color:inherit !important; background:none !important; text-shadow:none !important; -webkit-text-fill-color:currentColor !important; }
body.crm-dashboard :is(button,input,select) { font-family:inherit !important; }
body.crm-dashboard :is(button,a,input,summary,[tabindex]):focus-visible { outline:3px solid var(--dash-focus) !important; outline-offset:3px !important; box-shadow:none !important; }
body.crm-dashboard button { cursor:pointer !important; }
body.crm-dashboard .dash-icon { width:18px !important; height:18px !important; flex:0 0 18px !important; fill:none !important; stroke:currentColor !important; stroke-width:1.75 !important; stroke-linecap:round !important; stroke-linejoin:round !important; vertical-align:middle !important; }
body.crm-dashboard .dash-skip { position:fixed !important; left:270px !important; top:-80px !important; z-index:200000 !important; padding:12px 20px !important; background:var(--dash-panel) !important; color:var(--dash-text) !important; }
body.crm-dashboard .dash-skip:focus { top:10px !important; }
body.crm-dashboard .dash-main { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:14px !important; width:auto !important; max-width:1800px !important; margin:0 0 0 var(--dash-sidebar) !important; padding:76px 20px 24px !important; background:transparent !important; }
body.crm-dashboard .dash-hero { min-height:216px !important; display:flex !important; align-items:center !important; justify-content:space-between !important; gap:24px !important; padding:25px 28px !important; border-radius:10px !important; overflow:hidden !important; background:linear-gradient(90deg,#101314c9 0%,#10131450 47%,#10131426 70%,#101314bd 100%),url('assets/branding/crm-hero-events.png') center 47%/cover !important; color:#fff !important; }
body.crm-dashboard .dash-eyebrow { font-size:10px !important; text-transform:uppercase !important; letter-spacing:.16em !important; font-weight:600 !important; color:#eee9df !important; margin:0 0 5px !important; }
body.crm-dashboard .dash-hero h1 { font:normal clamp(30px,3vw,44px)/1.12 Georgia,'Times New Roman',serif !important; letter-spacing:-.035em !important; margin:0 0 7px !important; color:#fff !important; }
body.crm-dashboard .dash-hero-copy>p:not(.dash-eyebrow) { font-size:13px !important; color:#f4f1e8 !important; line-height:1.45 !important; }
body.crm-dashboard .dash-hero-actions { display:flex !important; flex-wrap:wrap !important; gap:10px !important; margin-top:22px !important; }
body.crm-dashboard .dash-button { display:inline-flex !important; align-items:center !important; justify-content:center !important; gap:8px !important; min-height:38px !important; padding:8px 13px !important; border:1px solid var(--dash-line) !important; border-radius:6px !important; background:var(--dash-panel) !important; color:var(--dash-text) !important; text-decoration:none !important; font-size:12px !important; font-weight:550 !important; box-shadow:none !important; transform:none !important; }
body.crm-dashboard .dash-button.dash-gold { background:var(--dash-gold) !important; border-color:var(--dash-gold) !important; color:#242629 !important; }
body.crm-dashboard .dash-button.dash-gold:hover { background:#dbb960 !important; }
body.crm-dashboard .dash-hero-button { color:#fff !important; border-color:#bbbcb6 !important; background:#10131480 !important; }
body.crm-dashboard .dash-hero-button:hover { background:#242629 !important; }
body.crm-dashboard .dash-hero blockquote { flex:0 0 190px !important; color:#f7f5f0 !important; text-align:center !important; font:italic 20px/1.3 Georgia,'Times New Roman',serif !important; }
body.crm-dashboard .dash-hero blockquote::after { content:'' !important; display:block !important; width:36px !important; height:2px !important; background:#C9A44C !important; margin:15px auto 0 !important; }
body.crm-dashboard .dash-card { min-width:0 !important; background:var(--dash-panel) !important; border:1px solid var(--dash-line) !important; border-radius:10px !important; box-shadow:0 2px 9px #00000003 !important; overflow:visible !important; color:var(--dash-text) !important; }
body.crm-dashboard .dash-metrics { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) minmax(190px,1.2fr) !important; gap:12px !important; }
body.crm-dashboard .dash-metric { min-height:98px !important; padding:17px 16px !important; display:flex !important; gap:12px !important; align-items:center !important; text-decoration:none !important; }
body.crm-dashboard .dash-icon-tile { display:inline-flex !important; align-items:center !important; justify-content:center !important; width:42px !important; height:42px !important; flex:0 0 42px !important; border-radius:9px !important; background:#C9A44C25 !important; color:var(--dash-gold) !important; }
html.theme-light body.crm-dashboard .dash-icon-tile { background:#faf1df !important; color:#765517 !important; }
body.crm-dashboard .dash-icon-tile .dash-icon { width:22px !important; height:22px !important; flex-basis:22px !important; }
body.crm-dashboard .dash-metric>div { min-width:0 !important; }
body.crm-dashboard .dash-metric strong { display:block !important; font-size:25px !important; font-weight:650 !important; line-height:1.1 !important; letter-spacing:-.03em !important; color:var(--dash-text) !important; font-variant-numeric:tabular-nums !important; }
body.crm-dashboard .dash-metric span:not(.dash-icon-tile) { display:block !important; font-size:12px !important; margin-top:5px !important; color:var(--dash-muted) !important; }
body.crm-dashboard .dash-metric>.dash-icon { width:14px !important; height:14px !important; flex-basis:14px !important; color:var(--dash-muted) !important; margin-left:auto !important; }
body.crm-dashboard .dash-metric:hover { border-color:#C9A44C !important; }
body.crm-dashboard .dash-clock { display:flex !important; align-items:center !important; padding:12px 16px !important; gap:10px !important; position:relative !important; }
body.crm-dashboard .dash-clock-date { flex:1 !important; }
body.crm-dashboard .dash-clock-date span { display:block !important; font-size:10px !important; color:var(--dash-muted) !important; }
body.crm-dashboard #homeDateValue { font-size:11px !important; text-transform:capitalize !important; }
body.crm-dashboard #homeDateSub { display:none !important; }
body.crm-dashboard #homeTimeValue { display:block !important; font-size:26px !important; line-height:1.2 !important; font-weight:600 !important; color:var(--dash-text) !important; font-variant-numeric:tabular-nums !important; }
body.crm-dashboard .dash-weather-details>summary { display:flex !important; flex-direction:column !important; align-items:center !important; gap:4px !important; cursor:pointer !important; font-size:10px !important; color:var(--dash-muted) !important; padding:7px !important; border-radius:5px !important; }
body.crm-dashboard .dash-weather-details .dash-icon { color:var(--dash-gold) !important; width:27px !important; height:27px !important; }
body.crm-dashboard .home-weather-widget { position:absolute !important; top:100% !important; right:0 !important; width:330px !important; max-width:calc(100vw - 32px) !important; z-index:30 !important; padding:14px !important; border:1px solid var(--dash-line) !important; border-radius:9px !important; background:var(--dash-panel) !important; box-shadow:0 12px 30px #00000020 !important; }
body.crm-dashboard #homeWeatherGrid { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:8px !important; }
body.crm-dashboard .home-weather-empty { grid-column:1/-1 !important; font-size:12px !important; color:var(--dash-muted) !important; }
body.crm-dashboard .home-weather-empty-title { font-weight:600 !important; color:var(--dash-text) !important; margin-bottom:5px !important; }
body.crm-dashboard .home-weather-slot { padding:10px !important; border:1px solid var(--dash-line) !important; border-radius:6px !important; background:var(--dash-soft) !important; color:var(--dash-text) !important; font-size:11px !important; }
body.crm-dashboard .home-weather-slot-mid { display:flex !important; gap:8px !important; align-items:center !important; }
body.crm-dashboard .home-weather-slot-temp { font-size:20px !important; }
body.crm-dashboard .home-weather-slot-time,body.crm-dashboard .home-weather-slot-extra { color:var(--dash-muted) !important; }
body.crm-dashboard .dash-work-grid { display:grid !important; grid-template-columns:1.15fr 1fr 1fr !important; gap:14px !important; align-items:stretch !important; }
body.crm-dashboard .dash-card-heading { display:flex !important; align-items:center !important; justify-content:space-between !important; gap:12px !important; padding:16px 17px 12px !important; background:none !important; box-shadow:none !important; }
body.crm-dashboard .dash-card-heading h2 { display:flex !important; align-items:center !important; gap:9px !important; min-width:0 !important; font-size:14px !important; font-weight:650 !important; letter-spacing:-.02em !important; color:var(--dash-text) !important; }
body.crm-dashboard .dash-card-heading h2>.dash-icon { color:var(--dash-gold) !important; }
html.theme-light body.crm-dashboard .dash-card-heading h2>.dash-icon { color:#8d681e !important; }
body.crm-dashboard .dash-small-link { display:inline-flex !important; align-items:center !important; justify-content:center !important; gap:5px !important; white-space:nowrap !important; color:var(--dash-muted) !important; text-decoration:none !important; font-size:10px !important; font-weight:550 !important; padding:5px 7px !important; border:1px solid var(--dash-line) !important; border-radius:5px !important; }
body.crm-dashboard .dash-small-link .dash-icon { width:12px !important; height:12px !important; flex-basis:12px !important; }
body.crm-dashboard .dash-small-link:hover { color:var(--dash-text) !important; border-color:#C9A44C !important; }
body.crm-dashboard .dash-card-sub { color:var(--dash-muted) !important; font-size:11px !important; padding:0 17px 10px !important; }
body.crm-dashboard #homeAgendaDateLabel { text-transform:capitalize !important; }
body.crm-dashboard .home-agenda-link { display:block !important; color:var(--dash-text) !important; text-decoration:none !important; margin:0 12px !important; border-top:1px solid var(--dash-line) !important; }
body.crm-dashboard .home-agenda-item { display:grid !important; grid-template-columns:78px minmax(0,1fr) !important; gap:13px !important; padding:11px 5px !important; background:transparent !important; border:0 !important; box-shadow:none !important; border-radius:4px !important; }
body.crm-dashboard .home-agenda-link:hover .home-agenda-item { background:var(--dash-soft) !important; }
body.crm-dashboard .home-agenda-time { font-size:11px !important; font-variant-numeric:tabular-nums !important; color:var(--dash-muted) !important; }
body.crm-dashboard .home-agenda-meta { font-size:9px !important; color:var(--dash-muted) !important; margin-top:4px !important; overflow-wrap:anywhere !important; }
body.crm-dashboard .home-agenda-title { font-size:12px !important; font-weight:600 !important; color:var(--dash-text) !important; overflow-wrap:anywhere !important; }
body.crm-dashboard .home-agenda-sub { font-size:11px !important; color:var(--dash-muted) !important; margin-top:3px !important; overflow-wrap:anywhere !important; }
body.crm-dashboard .home-agenda-empty,body.crm-dashboard .dash-empty { padding:22px 18px !important; font-size:12px !important; color:var(--dash-muted) !important; }
body.crm-dashboard .dash-caption { font-size:10px !important; color:var(--dash-muted) !important; white-space:nowrap !important; }
body.crm-dashboard .dash-summary-row { display:flex !important; justify-content:space-between !important; gap:15px !important; margin:0 17px !important; padding:13px 0 !important; border-bottom:1px solid var(--dash-line) !important; font-size:12px !important; text-decoration:none !important; color:var(--dash-text) !important; }
body.crm-dashboard .dash-summary-row strong { color:var(--dash-text) !important; font-size:17px !important; font-variant-numeric:tabular-nums !important; }
body.crm-dashboard .dash-crm-actions { padding:18px 17px 0 !important; display:grid !important; gap:8px !important; }
body.crm-dashboard .dash-crm-actions a { display:flex !important; align-items:center !important; gap:9px !important; padding:10px !important; background:var(--dash-soft) !important; color:var(--dash-text) !important; font-size:11px !important; border-radius:5px !important; text-decoration:none !important; }
body.crm-dashboard .dash-crm-actions a>.dash-icon:last-child { margin-left:auto !important; }
body.crm-dashboard .dash-crm-footer { padding:16px 17px !important; font-size:11px !important; color:var(--dash-muted) !important; }
body.crm-dashboard .dash-focus-row { display:flex !important; align-items:flex-start !important; gap:10px !important; padding:12px 0 !important; margin:0 17px !important; border-top:1px solid var(--dash-line) !important; text-decoration:none !important; color:var(--dash-text) !important; }
body.crm-dashboard .dash-focus-row>.dash-icon { width:15px !important; height:15px !important; flex-basis:15px !important; color:var(--dash-muted) !important; margin-top:3px !important; }
body.crm-dashboard .dash-focus-row>div { flex:1 !important; min-width:0 !important; }
body.crm-dashboard .dash-focus-row strong { display:block !important; font-size:12px !important; font-weight:550 !important; color:var(--dash-text) !important; }
body.crm-dashboard .dash-focus-row span { display:block !important; margin-top:3px !important; font-size:10px !important; line-height:1.4 !important; color:var(--dash-muted) !important; }
body.crm-dashboard .dash-focus-row b { flex:0 0 auto !important; font-size:11px !important; font-weight:500 !important; max-width:82px !important; text-align:right !important; color:var(--dash-text) !important; }
body.crm-dashboard .dash-shortcuts { padding-bottom:10px !important; }
body.crm-dashboard .dash-shortcut-grid { display:grid !important; grid-template-columns:repeat(8,minmax(0,1fr)) !important; gap:9px !important; padding:0 14px !important; background:none !important; box-shadow:none !important; }
body.crm-dashboard .dash-shortcut { min-width:0 !important; border:1px solid var(--dash-line) !important; border-radius:8px !important; padding:10px !important; display:flex !important; flex-direction:column !important; align-items:flex-start !important; text-decoration:none !important; color:var(--dash-text) !important; }
body.crm-dashboard .dash-shortcut .dash-icon-tile { width:32px !important; height:32px !important; flex-basis:32px !important; border-radius:7px !important; margin-bottom:5px !important; }
body.crm-dashboard .dash-shortcut .dash-icon { width:17px !important; height:17px !important; flex-basis:17px !important; }
body.crm-dashboard .dash-shortcut strong { color:var(--dash-text) !important; font-size:11px !important; overflow-wrap:anywhere !important; }
body.crm-dashboard .dash-shortcut>span:last-child { color:var(--dash-muted) !important; font-size:10px !important; margin-top:1px !important; }
body.crm-dashboard .dash-shortcut:hover { background:var(--dash-soft) !important; border-color:#C9A44C !important; }
body.crm-dashboard .dash-more-modules>summary { display:flex !important; align-items:center !important; justify-content:flex-end !important; gap:6px !important; padding:8px 16px 0 !important; cursor:pointer !important; font-size:11px !important; color:var(--dash-muted) !important; }
body.crm-dashboard .dash-more-modules[open]>summary { margin-bottom:10px !important; }
body.crm-dashboard .dash-bottom-grid { display:grid !important; grid-template-columns:1fr 1fr !important; gap:14px !important; }
body.crm-dashboard .dash-activity-row { display:flex !important; align-items:center !important; gap:10px !important; margin:0 17px !important; padding:11px 0 !important; border-top:1px solid var(--dash-line) !important; font-size:11px !important; }
body.crm-dashboard .dash-activity-row>.dash-icon { color:var(--dash-petrol) !important; }
html:not(.theme-light) body.crm-dashboard .dash-activity-row>.dash-icon { color:#8bc8c6 !important; }
body.crm-dashboard .dash-activity-row>div { flex:1 !important; min-width:0 !important; overflow-wrap:anywhere !important; }
body.crm-dashboard .dash-activity-row strong { font-weight:550 !important; color:var(--dash-text) !important; }
body.crm-dashboard .dash-activity-row span { display:block !important; font-size:10px !important; color:var(--dash-muted) !important; }
body.crm-dashboard .dash-activity-row time { color:var(--dash-muted) !important; font-size:10px !important; white-space:nowrap !important; }
body.crm-dashboard .dash-alert-summary { padding:12px 17px !important; font-size:12px !important; color:var(--dash-muted) !important; }
body.crm-dashboard .dash-monitor-link { display:flex !important; align-items:center !important; gap:7px !important; padding:0 17px 15px !important; text-decoration:none !important; font-size:11px !important; color:var(--dash-text) !important; }
body.crm-dashboard .dash-data-status { padding:10px 14px !important; border:1px solid #a9802d !important; border-radius:6px !important; background:var(--dash-soft) !important; font-size:12px !important; }
body.crm-dashboard [hidden] { display:none !important; }
/* Retain the actual navigation controls and loaded menu; only its placement changes. */
body.crm-dashboard .nav-header { position:fixed !important; left:var(--dash-sidebar) !important; right:0 !important; top:0 !important; height:56px !important; margin:0 !important; padding:0 20px !important; width:auto !important; border:0 !important; border-bottom:1px solid var(--dash-line) !important; border-radius:0 !important; background:var(--dash-panel) !important; color:var(--dash-text) !important; box-shadow:none !important; backdrop-filter:none !important; display:flex !important; gap:14px !important; z-index:10000 !important; }
body.crm-dashboard #navGlobalSearchBtn,body.crm-dashboard #navSearchBtn,body.crm-dashboard .nav-header>.nav-logo,body.crm-dashboard .nav-links { display:none !important; }
body.crm-dashboard .dash-location { display:flex !important; gap:10px !important; align-items:center !important; color:var(--dash-text) !important; font-size:12px !important; font-weight:550 !important; margin-right:auto !important; }
body.crm-dashboard .dash-top-search { display:flex !important; align-items:center !important; gap:9px !important; width:clamp(180px,24vw,340px) !important; min-height:34px !important; padding:7px 10px !important; border:1px solid var(--dash-line) !important; border-radius:7px !important; background:var(--dash-panel) !important; color:var(--dash-muted) !important; font-size:11px !important; text-align:left !important; box-shadow:none !important; }
body.crm-dashboard .dash-top-search kbd { margin-left:auto !important; font-size:10px !important; color:var(--dash-muted) !important; }
body.crm-dashboard .nav-actions { display:flex !important; gap:8px !important; overflow:visible !important; max-width:none !important; }
body.crm-dashboard :is(.nav-action-btn,.nav-user-btn,#seThemeToggle,.dash-tools>summary) { width:32px !important; height:32px !important; min-width:32px !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; gap:5px !important; padding:6px !important; border:1px solid var(--dash-line) !important; border-radius:50% !important; background:var(--dash-panel) !important; color:var(--dash-text) !important; box-shadow:none !important; transform:none !important; font-size:14px !important; }
body.crm-dashboard .nav-user-name,body.crm-dashboard .nav-user-arrow { display:none !important; }
body.crm-dashboard .nav-user-btn { width:34px !important; height:34px !important; }
body.crm-dashboard .nav-user-icon { font-size:18px !important; }
body.crm-dashboard .nav-user-dropdown { background:var(--dash-panel) !important; color:var(--dash-text) !important; border:1px solid var(--dash-line) !important; }
body.crm-dashboard .nav-user-dropdown-item,body.crm-dashboard .nav-user-info { color:var(--dash-text) !important; background:var(--dash-panel) !important; }
body.crm-dashboard .nav-user-dropdown-item:hover { background:var(--dash-soft) !important; }
body.crm-dashboard .dash-new-menu,body.crm-dashboard .dash-tools { position:relative !important; }
body.crm-dashboard .dash-new-menu>summary { list-style:none !important; cursor:pointer !important; }
body.crm-dashboard .dash-new-menu>summary::-webkit-details-marker,body.crm-dashboard .dash-tools>summary::-webkit-details-marker { display:none !important; }
body.crm-dashboard .dash-menu-panel { position:absolute !important; top:calc(100% + 8px) !important; right:0 !important; min-width:200px !important; padding:6px !important; border:1px solid var(--dash-line) !important; border-radius:8px !important; background:var(--dash-panel) !important; box-shadow:0 10px 25px #00000020 !important; z-index:50 !important; }
body.crm-dashboard .dash-menu-panel :is(a,button) { display:flex !important; align-items:center !important; gap:8px !important; width:100% !important; min-height:36px !important; padding:8px 10px !important; border:0 !important; border-radius:4px !important; color:var(--dash-text) !important; background:transparent !important; text-decoration:none !important; font-size:12px !important; text-align:left !important; }
body.crm-dashboard .dash-menu-panel :is(a,button):hover { background:var(--dash-soft) !important; }
body.crm-dashboard .dash-menu-panel .action-badge { position:static !important; margin-left:auto !important; }
body.crm-dashboard .nav-mobile-drawer { position:fixed !important; inset:0 auto 0 0 !important; display:flex !important; flex-direction:column !important; width:var(--dash-sidebar) !important; max-width:none !important; height:100dvh !important; transform:none !important; background:#242629 !important; color:#f7f5f0 !important; border:0 !important; z-index:10030 !important; overflow:hidden !important; box-shadow:none !important; }
body.crm-dashboard .nav-mobile-drawer-header { flex:0 0 auto !important; display:flex !important; align-items:center !important; justify-content:space-between !important; padding:16px 15px 10px !important; border:0 !important; background:#242629 !important; }
body.crm-dashboard .nav-mobile-drawer .nav-logo { display:flex !important; gap:9px !important; padding:0 !important; margin:0 !important; color:#f7f5f0 !important; font-size:16px !important; background:transparent !important; }
body.crm-dashboard .nav-mobile-drawer .logo-text { display:block !important; }
body.crm-dashboard .dash-brand-symbol { width:31px !important; height:31px !important; object-fit:contain !important; }
body.crm-dashboard .nav-mobile-drawer .logo-icon { display:flex !important; }
body.crm-dashboard .dash-sidebar-search { display:flex !important; align-items:center !important; gap:8px !important; flex:0 0 auto !important; margin:12px 16px 14px !important; padding:9px 11px !important; min-height:35px !important; background:#303338 !important; color:#e5e5e0 !important; border:1px solid #4c5054 !important; border-radius:6px !important; font-size:11px !important; box-shadow:none !important; }
body.crm-dashboard .dash-sidebar-search kbd { margin-left:auto !important; padding:1px 4px !important; border-radius:3px !important; background:#45494e !important; color:#e2e2dd !important; font-size:10px !important; }
body.crm-dashboard .nav-mobile-menu { flex:1 !important; min-height:0 !important; padding:0 15px 18px !important; overflow:auto !important; overscroll-behavior:contain !important; }
body.crm-dashboard .nav-mobile-section { padding:17px 8px 7px !important; margin:0 !important; color:#c4c7c7 !important; font-size:9px !important; font-weight:550 !important; letter-spacing:.13em !important; text-transform:uppercase !important; opacity:1 !important; }
body.crm-dashboard .nav-mobile-item { display:flex !important; align-items:center !important; gap:10px !important; min-height:34px !important; padding:7px 10px !important; color:#e3e5e4 !important; background:transparent !important; border:0 !important; border-radius:6px !important; font-size:11px !important; text-decoration:none !important; }
body.crm-dashboard .nav-mobile-item .icon { display:inline-flex !important; width:17px !important; flex:0 0 17px !important; }
body.crm-dashboard .nav-mobile-item .dash-icon { width:16px !important; height:16px !important; flex-basis:16px !important; }
body.crm-dashboard .nav-mobile-item:hover { background:#363a3e !important; color:#fff !important; }
body.crm-dashboard .nav-mobile-item.active { background:#C9A44C35 !important; color:#f9ecd1 !important; border-left:2px solid #C9A44C !important; }
body.crm-dashboard .nav-mobile-item.dummy { opacity:.55 !important; }
body.crm-dashboard .nav-mobile-drawer-close,body.crm-dashboard .nav-header>.nav-mobile-btn { display:none !important; }
body.crm-dashboard .nav-mobile-overlay { display:none !important; }
body.crm-dashboard .dash-sidebar-footer { flex:0 0 auto !important; padding:13px 16px !important; border-top:1px solid #45494b !important; background:#242629 !important; }
body.crm-dashboard #profilePhotoLink { display:flex !important; align-items:center !important; gap:10px !important; color:#f7f5f0 !important; text-decoration:none !important; }
body.crm-dashboard #profilePhotoContainer { width:34px !important; height:34px !important; flex:0 0 34px !important; border-radius:50% !important; overflow:hidden !important; display:flex !important; align-items:center !important; justify-content:center !important; background:#424749 !important; box-shadow:none !important; transform:none !important; }
body.crm-dashboard #profilePhotoFallback { display:flex !important; width:100% !important; height:100% !important; align-items:center !important; justify-content:center !important; }
body.crm-dashboard #dashboardUserName { display:block !important; font-size:11px !important; color:#f7f5f0 !important; }
body.crm-dashboard #dashboardUserRole { display:block !important; font-size:10px !important; color:#b8bcbd !important; }
body.crm-dashboard .dash-profile-source { display:none !important; }
/* Existing create iframe, including the same-origin dirty/busy guard. */
body.crm-dashboard .dashboard-layer { display:none !important; position:fixed !important; inset:0 !important; padding:28px !important; align-items:center !important; justify-content:center !important; background:#10131575 !important; backdrop-filter:blur(6px) !important; z-index:20000 !important; }
body.crm-dashboard .dashboard-layer.active { display:flex !important; }
body.crm-dashboard .dashboard-layer-shell { display:flex !important; flex-direction:column !important; width:min(1100px,100%) !important; height:min(900px,calc(100dvh - 56px)) !important; overflow:hidden !important; border:1px solid var(--dash-line) !important; border-radius:12px !important; background:var(--dash-panel) !important; box-shadow:0 25px 90px #00000035 !important; }
body.crm-dashboard .dashboard-layer-bar { display:flex !important; flex:0 0 auto !important; align-items:center !important; justify-content:space-between !important; gap:12px !important; padding:12px 16px !important; border-bottom:1px solid var(--dash-line) !important; background:var(--dash-panel) !important; }
body.crm-dashboard .dashboard-layer-title { font-size:14px !important; font-weight:600 !important; color:var(--dash-text) !important; }
body.crm-dashboard .dashboard-layer-sub { font-size:11px !important; color:var(--dash-muted) !important; }
body.crm-dashboard .dashboard-layer-close { border:1px solid var(--dash-line) !important; border-radius:5px !important; padding:7px 12px !important; background:var(--dash-panel) !important; color:var(--dash-text) !important; }
body.crm-dashboard .dashboard-layer-frame { width:100% !important; flex:1 !important; min-height:0 !important; border:0 !important; background:var(--dash-panel) !important; }
body.crm-dashboard.dashboard-layer-open { overflow:hidden !important; }
@media (max-width:1250px) {
 body.crm-dashboard { --dash-sidebar:230px !important; }
 body.crm-dashboard .dash-main { padding-right:15px !important; padding-left:15px !important; }
 body.crm-dashboard .dash-metrics { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
 body.crm-dashboard .dash-clock { grid-column:1/-1 !important; min-height:60px !important; }
 body.crm-dashboard .dash-clock-date { display:flex !important; align-items:center !important; gap:12px !important; }
 body.crm-dashboard #homeDateValue { font-size:12px !important; }
 body.crm-dashboard .dash-work-grid { grid-template-columns:1fr 1fr !important; }
 body.crm-dashboard .dash-focus { grid-column:1/-1 !important; }
 body.crm-dashboard .dash-focus-row { display:inline-flex !important; width:calc(50% - 36px) !important; vertical-align:top !important; }
 body.crm-dashboard .dash-shortcut-grid { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
 body.crm-dashboard .dash-top-search { width:200px !important; }
 body.crm-dashboard .dash-hero blockquote { flex-basis:150px !important; font-size:18px !important; }
}
@media (max-width:1000px) {
 body.crm-dashboard .dash-main { margin-left:0 !important; padding-top:70px !important; }
 body.crm-dashboard .nav-header { left:0 !important; padding:0 14px !important; gap:10px !important; }
 body.crm-dashboard .nav-mobile-drawer { transform:translateX(-100%) !important; width:270px !important; max-width:90vw !important; transition:transform 160ms !important; }
 body.crm-dashboard .nav-mobile-drawer.active { transform:translateX(0) !important; }
 body.crm-dashboard .nav-mobile-drawer-close { display:flex !important; align-items:center !important; justify-content:center !important; width:30px !important; height:30px !important; background:transparent !important; border:1px solid #6c7275 !important; color:#fff !important; border-radius:5px !important; }
 body.crm-dashboard .nav-header>.nav-mobile-btn { display:flex !important; width:34px !important; height:34px !important; min-width:34px !important; align-items:center !important; justify-content:center !important; background:transparent !important; color:var(--dash-text) !important; border:1px solid var(--dash-line) !important; border-radius:5px !important; }
 body.crm-dashboard .nav-mobile-overlay.active { display:block !important; position:fixed !important; inset:0 !important; background:#10131588 !important; z-index:10020 !important; }
 body.crm-dashboard .dash-skip { left:15px !important; }
 body.crm-dashboard .dash-hero { min-height:215px !important; }
}
@media (max-width:700px) {
 body.crm-dashboard .dash-main { gap:12px !important; padding:66px 12px 18px !important; }
 body.crm-dashboard .nav-header { padding:0 10px !important; gap:8px !important; }
 body.crm-dashboard .dash-location { font-size:11px !important; gap:5px !important; }
 body.crm-dashboard .dash-location .dash-icon { display:none !important; }
 body.crm-dashboard .dash-top-search { width:32px !important; height:32px !important; min-width:32px !important; justify-content:center !important; padding:6px !important; border-radius:50% !important; }
 body.crm-dashboard .dash-top-search span,body.crm-dashboard .dash-top-search kbd { display:none !important; }
 body.crm-dashboard .dash-new-menu>summary { font-size:0 !important; min-width:32px !important; padding:7px !important; min-height:32px !important; gap:0 !important; }
 body.crm-dashboard .dash-new-menu>summary>.dash-icon:last-child { display:none !important; }
 body.crm-dashboard .nav-actions { gap:5px !important; }
 body.crm-dashboard .dash-location { display:none !important; }
 body.crm-dashboard .dash-tools-mobile { display:block !important; }
 body.crm-dashboard .dash-hero { padding:22px !important; min-height:240px !important; background-position:61% center !important; }
 body.crm-dashboard .dash-hero h1 { font-size:32px !important; }
 body.crm-dashboard .dash-hero-copy>p:not(.dash-eyebrow) { font-size:12px !important; }
 body.crm-dashboard .dash-hero blockquote { display:none !important; }
 body.crm-dashboard .dash-hero-actions { gap:7px !important; margin-top:18px !important; }
 body.crm-dashboard .dash-hero-actions .dash-button { font-size:11px !important; padding:8px 10px !important; }
 body.crm-dashboard .dash-metrics { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }
 body.crm-dashboard .dash-metric { padding:13px !important; min-height:90px !important; gap:10px !important; }
 body.crm-dashboard .dash-metric strong { font-size:24px !important; }
 body.crm-dashboard .dash-metric>.dash-icon { display:none !important; }
 body.crm-dashboard .dash-icon-tile { width:36px !important; height:36px !important; flex-basis:36px !important; }
 body.crm-dashboard .dash-clock-date { flex-wrap:wrap !important; gap:4px 12px !important; }
 body.crm-dashboard .dash-work-grid,body.crm-dashboard .dash-bottom-grid { grid-template-columns:1fr !important; }
 body.crm-dashboard .dash-focus { grid-column:auto !important; }
 body.crm-dashboard .dash-focus-row { display:flex !important; width:auto !important; }
 body.crm-dashboard .dash-shortcut-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
 body.crm-dashboard .dashboard-layer { padding:0 !important; }
 body.crm-dashboard .dashboard-layer-shell { height:100dvh !important; border:0 !important; border-radius:0 !important; }
 body.crm-dashboard .dashboard-layer-bar { padding:8px 12px !important; }
 body.crm-dashboard .dashboard-layer-sub { display:none !important; }
}
@media(prefers-reduced-motion:reduce) { body.crm-dashboard * { transition:none !important; animation:none !important; scroll-behavior:auto !important; } }
@media(prefers-reduced-transparency:reduce) { body.crm-dashboard .dashboard-layer { backdrop-filter:none !important; background:#101315d9 !important; } }

/* Neutralize legacy decoration on structure and inherited icon/span colors. */
body.crm-dashboard :is(.dash-work-grid,.dash-bottom-grid,.dash-metrics,.dash-summary-row,.dash-monitor-link,.dash-alert-summary,.dash-clock-date,.dash-weather-details>summary) { background:transparent !important; box-shadow:none !important; }
body.crm-dashboard .dash-icon use { color:inherit !important; }
body.crm-dashboard #navMobileDrawer :is(span,svg,use,kbd) { color:inherit !important; background:transparent !important; box-shadow:none !important; }
body.crm-dashboard #navMobileDrawer .nav-mobile-section { background:transparent !important; box-shadow:none !important; border:0 !important; }
body.crm-dashboard #btnGlobalSearch::after { content:none !important; }
body.crm-dashboard .dash-hero-actions .dash-button { min-height:40px !important; }
body.crm-dashboard :is(.home-agenda-sub,.home-agenda-time,.dash-card-sub,.dash-summary-row,.dash-focus-row span,.dash-activity-row,.dash-shortcut strong,.dash-shortcut>span:last-child) { font-size:12px !important; }
body.crm-dashboard .dash-button>.dash-icon { color:inherit !important; }
body.crm-dashboard .dash-weather-details { background:transparent !important; box-shadow:none !important; border:0 !important; }
/* Shared overlays must cover the fixed shell, including legacy inline layers. */
body.crm-dashboard>.modal,body.crm-dashboard #pageFeedbackModal { z-index:30000 !important; }
body.crm-dashboard #toast-container { z-index:100001 !important; }
body.crm-dashboard .dash-skip { z-index:10040 !important; }
body.crm-dashboard #navGlobalSearchBtn { display:none !important; }
@media(min-width:701px) and (max-width:1400px) {
 body.crm-dashboard .dash-shortcut-grid { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
}
body.crm-dashboard>.global-search-modal { position:fixed !important; inset:0 !important; width:100vw !important; height:100dvh !important; max-width:none !important; max-height:none !important; margin:0 !important; transform:none !important; border:0 !important; border-radius:0 !important; padding:60px 16px 24px !important; animation:none !important; }
body.crm-dashboard .nav-user-menu:not(.open) .nav-user-dropdown { display:none !important; }
body.crm-dashboard .nav-user-menu.open .nav-user-dropdown { display:block !important; animation:none !important; opacity:1 !important; }
/* Disclosures follow the original top-level menu, including nested headings. */
body.crm-dashboard .dash-nav-group,body.crm-dashboard .dash-nav-group-content { margin:0 !important; padding:0 !important; background:transparent !important; border:0 !important; box-shadow:none !important; }
body.crm-dashboard .dash-nav-group { margin-bottom:4px !important; }
body.crm-dashboard .dash-nav-group-toggle { width:100% !important; min-height:44px !important; display:flex !important; align-items:center !important; justify-content:space-between !important; gap:10px !important; padding:10px 9px !important; border:0 !important; border-radius:5px !important; background:transparent !important; color:#e8e9e6 !important; font-size:12px !important; font-weight:600 !important; text-align:left !important; box-shadow:none !important; }
body.crm-dashboard .dash-nav-group-toggle:hover,body.crm-dashboard .dash-nav-group-toggle[aria-expanded="true"] { background:#176C70 !important; color:#fff !important; }
body.crm-dashboard .dash-nav-group-toggle>.dash-icon { width:15px !important; height:15px !important; flex-basis:15px !important; transform:rotate(-90deg) !important; }
body.crm-dashboard .dash-nav-group-toggle[aria-expanded="true"]>.dash-icon { transform:none !important; }
body.crm-dashboard .dash-nav-group-content[hidden] { display:none !important; }
body.crm-dashboard .dash-nav-group-content .nav-mobile-section { margin-top:10px !important; padding-left:9px !important; }
body.crm-dashboard .dash-finance { overflow:hidden !important; }
body.crm-dashboard .dash-finance-heading { display:flex !important; align-items:center !important; justify-content:space-between !important; gap:20px !important; padding:16px 20px !important; background:#176C70 !important; color:#fff !important; }
body.crm-dashboard .dash-finance-heading :is(h2,p,span,a,svg,use) { color:#fff !important; }
body.crm-dashboard .dash-finance-heading h2 { font-size:16px !important; font-weight:600 !important; }
body.crm-dashboard .dash-finance-heading p { font-size:12px !important; margin-top:3px !important; }
body.crm-dashboard .dash-finance-heading a { display:inline-flex !important; align-items:center !important; gap:8px !important; font-size:12px !important; text-decoration:none !important; white-space:nowrap !important; }
body.crm-dashboard .dash-finance-body { display:grid !important; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) !important; gap:24px !important; padding:20px !important; background:transparent !important; }
body.crm-dashboard .dash-finance-body>div { min-width:0 !important; }
body.crm-dashboard .dash-finance h3 { font-size:13px !important; font-weight:600 !important; }
body.crm-dashboard .dash-finance-chart-title { display:flex !important; align-items:center !important; justify-content:space-between !important; gap:8px !important; }
body.crm-dashboard .dash-finance-chart { min-height:130px !important; }
body.crm-dashboard .dash-finance-chart svg { display:block !important; width:100% !important; height:auto !important; max-height:170px !important; }
body.crm-dashboard .dash-finance-chart rect { fill:#176C70 !important; stroke:var(--dash-text) !important; stroke-width:1 !important; }
body.crm-dashboard .dash-finance-chart rect.is-current { fill:#C9A44C !important; stroke:#242629 !important; stroke-width:1 !important; }
body.crm-dashboard .dash-finance-chart line { stroke:var(--dash-muted) !important; stroke-width:1 !important; }
body.crm-dashboard .dash-finance-chart text { fill:var(--dash-muted) !important; font-size:12px !important; }
body.crm-dashboard .dash-finance-current { border-left:1px solid var(--dash-line) !important; padding-left:24px !important; }
body.crm-dashboard .dash-finance-current>span,body.crm-dashboard .dash-finance-basis,body.crm-dashboard #dashboardFinanceComparison { display:block !important; color:var(--dash-muted) !important; font-size:12px !important; }
body.crm-dashboard .dash-finance-current>strong { display:block !important; margin:7px 0 12px !important; font-size:32px !important; line-height:1.2 !important; color:var(--dash-text) !important; font-variant-numeric:tabular-nums !important; overflow-wrap:anywhere !important; }
body.crm-dashboard .dash-finance-basis { margin-top:12px !important; }
body.crm-dashboard .dash-finance-open p { font-size:12px !important; margin:8px 0 !important; }
body.crm-dashboard .dash-finance-count { display:flex !important; gap:10px !important; align-items:baseline !important; }
body.crm-dashboard .dash-finance-count strong { font-size:28px !important; font-variant-numeric:tabular-nums !important; }
body.crm-dashboard .dash-finance-open a { display:flex !important; align-items:center !important; justify-content:space-between !important; gap:8px !important; color:var(--dash-text) !important; padding-top:10px !important; font-size:12px !important; text-decoration:none !important; }
body.crm-dashboard .dash-finance-values { background:transparent !important; border:0 !important; box-shadow:none !important; }
body.crm-dashboard .dash-finance-values summary { cursor:pointer !important; font-size:12px !important; color:var(--dash-muted) !important; background:transparent !important; box-shadow:none !important; }
body.crm-dashboard .dash-finance-values table { width:100% !important; font-size:12px !important; }
body.crm-dashboard .dash-finance-values :is(th,td) { padding:6px 3px !important; color:var(--dash-text) !important; background:transparent !important; text-align:left !important; }
body.crm-dashboard .dash-finance-values td { text-align:right !important; }
body.crm-dashboard .dash-finance-status { margin:0 20px 16px !important; color:var(--dash-muted) !important; font-size:13px !important; }
body.crm-dashboard #dashboardFinanceCurrencyLabel[hidden] { display:none !important; }
body.crm-dashboard #dashboardFinanceCurrencyLabel { font-size:12px !important; }
body.crm-dashboard #dashboardFinanceCurrency { font-size:12px !important; min-height:28px !important; padding:2px 4px !important; color:var(--dash-text) !important; background:var(--dash-panel) !important; }
@media(max-width:1150px) { body.crm-dashboard .dash-finance-body { grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; } body.crm-dashboard .dash-finance-chart-block { grid-column:1/-1 !important; } body.crm-dashboard .dash-finance-current { border:0 !important; padding-left:0 !important; } }
@media(max-width:550px) { body.crm-dashboard .dash-finance-body { grid-template-columns:minmax(0,1fr) !important; gap:18px !important; padding:16px !important; } body.crm-dashboard .dash-finance-heading { padding:16px !important; flex-wrap:wrap !important; gap:10px !important; } body.crm-dashboard .dash-finance-chart svg { max-height:none !important; } }
}
