/* Keep category color on summary icons; surfaces and navigation stay neutral. */
.screen-dashboard{--dash-accent:#9f2447;--dash-soft:#fff1f4;--dash-line:#efd2dc;--dash-icon:#f8dce5;--dash-panel:#fffafb}
.screen-dashboard [data-accent="blue"]{--dash-accent:#2454a6;--dash-soft:#edf4ff;--dash-line:#d4e2f6;--dash-icon:#dbe8ff;--dash-panel:#f9fbff}
.screen-dashboard [data-accent="violet"]{--dash-accent:#7142a6;--dash-soft:#f4effc;--dash-line:#e3d8f2;--dash-icon:#e9ddfa;--dash-panel:#fcfaff}
.screen-dashboard [data-accent="amber"]{--dash-accent:#945708;--dash-soft:#fff6e5;--dash-line:#f0dfbb;--dash-icon:#f9e7be;--dash-panel:#fffcf6}
.screen-dashboard [data-accent="green"]{--dash-accent:#19704b;--dash-soft:#edf8ef;--dash-line:#d0e8d8;--dash-icon:#d5eede;--dash-panel:#f8fcf9}
.screen-dashboard [data-accent="teal"]{--dash-accent:#147071;--dash-soft:#eaf7f6;--dash-line:#cee7e4;--dash-icon:#d1eeeb;--dash-panel:#f7fcfb}
.screen-dashboard [data-accent="rose"]{--dash-accent:#a13254;--dash-soft:#fff0f4;--dash-line:#efd3dd;--dash-icon:#f7dce6;--dash-panel:#fff9fb}
.dense-ui .screen-dashboard .workspace-heading{padding:4px 0;border:0;border-radius:0;background:transparent;gap:20px}
.dense-ui .screen-dashboard .workspace-heading h1{font-size:clamp(30px,3vw,42px)}
.dense-ui .screen-dashboard .workspace-heading-copy>p{display:flex;align-items:center;gap:8px;color:#9f2447;font-weight:600}
.dense-ui .screen-dashboard .workspace-heading-copy>p::before{content:'';width:7px;height:7px;border-radius:50%;background:#be466b;flex-shrink:0}
.dense-ui .screen-dashboard .workspace-period strong{color:var(--ui-ink)}
.dense-ui .screen-dashboard .workspace-period>span:last-child{color:var(--ui-secondary);background:var(--ui-soft);padding:5px 10px;border-radius:7px}
.dense-ui .screen-dashboard .workspace-period>span.period-open{color:#19704b;background:#dff2e7}
.dense-ui .screen-dashboard .overview-stats>div[data-accent]{background:var(--ui-surface)!important;border:1px solid var(--ui-line)!important;border-radius:12px;padding:23px 22px;backdrop-filter:none}
.dense-ui .screen-dashboard .overview-stats p:first-child{color:var(--ui-secondary)!important;padding-right:48px;white-space:normal;line-height:1.45;font-weight:600;min-height:2.9em}
.dense-ui .screen-dashboard .overview-stats p:nth-child(2){color:var(--ui-ink)!important;font-variant-numeric:tabular-nums;font-size:38px;margin:8px 0 8px}
.dense-ui .screen-dashboard .overview-stats .metric-caption{color:var(--ui-secondary)!important;white-space:normal;line-height:1.5;font-size:11px;font-family:inherit}
.dense-ui .screen-dashboard .metric-icon{display:grid;place-items:center;right:18px;top:20px;width:38px;height:38px;padding:9px;border-radius:11px;background:var(--dash-icon);color:var(--dash-accent);font-size:20px}
.dense-ui .screen-dashboard .dashboard-services .overview-shortcuts button[data-accent]{background:var(--ui-surface);color:var(--ui-ink);border:1px solid var(--ui-line);border-radius:8px;min-height:44px;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.dense-ui .screen-dashboard .dashboard-services .overview-shortcuts button[data-accent] iconify-icon{color:var(--ui-secondary)}
.dense-ui .screen-dashboard .dashboard-services .overview-shortcuts button[data-accent]:hover{background:var(--ui-soft);border-color:var(--ui-line);transform:translateY(-1px)}
.dense-ui .screen-dashboard .dashboard-services .overview-shortcuts button[data-accent]:active{transform:translateY(0)}
.dense-ui .screen-dashboard .dense-dashboard .workspace-panel[data-accent]{background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:12px;box-shadow:none}
.dense-ui .screen-dashboard .workspace-panel[data-accent]>div:first-child iconify-icon:first-child{color:var(--ui-secondary)!important}
.dense-ui .screen-dashboard .workspace-panel[data-accent]>div:first-child>div>iconify-icon{padding:7px;width:18px;height:18px;box-sizing:content-box;border-radius:8px;background:var(--ui-soft)}
.dense-ui .screen-dashboard .workspace-highlight[data-accent] h3>iconify-icon{padding:7px;border-radius:8px;background:var(--ui-soft);box-sizing:content-box}
.dense-ui .screen-dashboard .workspace-panel[data-accent]>div:first-child{gap:12px}
.dense-ui .screen-dashboard .workspace-panel[data-accent]>div:first-child>div{min-width:0;flex:1}
.dense-ui .screen-dashboard .workspace-panel[data-accent]>div:first-child h3{min-width:0;white-space:normal;line-height:1.4}
.dense-ui .screen-dashboard .workspace-panel[data-accent]>div:first-child>button,.dense-ui .screen-dashboard .workspace-panel[data-accent]>div:first-child iconify-icon{flex-shrink:0}
.dense-ui .screen-dashboard .workspace-highlight[data-accent] .grid>div p:last-child{color:var(--ui-ink)!important}
.dense-ui .screen-dashboard .workspace-tasks .task-tabs{gap:20px;scrollbar-width:thin}
.dense-ui .screen-dashboard .workspace-tasks .task-tabs>button[data-accent]{border:0;border-bottom:2px solid transparent;border-radius:0;min-height:46px;padding:12px 2px;color:var(--ui-secondary)}
.dense-ui .screen-dashboard .workspace-tasks .task-tabs>button[data-accent]:hover{background:transparent;color:var(--ui-ink)}
.dense-ui .screen-dashboard .workspace-tasks .task-tabs>button[data-accent][aria-selected="true"]{background:transparent!important;border-bottom-color:var(--ui-accent);color:var(--ui-accent)!important;box-shadow:none}
.dense-ui .screen-dashboard .workspace-tasks .task-tabs>button[data-accent]>span+span{background:var(--ui-soft);color:var(--ui-ink)}
.dense-ui .screen-dashboard .task-empty{background:var(--ui-soft);border:0;border-radius:10px;padding:22px 16px}
.dense-ui .screen-dashboard .workspace-calendar button[data-event="true"]{background:var(--ui-soft);color:var(--ui-ink)}
.dense-ui .screen-dashboard .workspace-calendar button[data-selected="true"]{background:var(--ui-accent-soft)!important;color:var(--ui-accent)!important;outline:1px solid var(--ui-accent);outline-offset:2px;box-shadow:none}
.dense-ui .screen-dashboard .workspace-calendar button[data-today="true"]{background:var(--ui-accent)!important;color:#fff!important}
.dense-ui .screen-dashboard :is(button,a):focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}
.dark .screen-dashboard{--dash-soft:#2d2028;--dash-line:#533342;--dash-icon:#4d293b;--dash-accent:#f0a4be;--dash-panel:#221c22}
.dark .screen-dashboard [data-accent="blue"]{--dash-accent:#a1c5ff;--dash-soft:#1b2c43;--dash-line:#344d6e;--dash-icon:#2b4365;--dash-panel:#1b2533}
.dark .screen-dashboard [data-accent="violet"]{--dash-accent:#d0b1fa;--dash-soft:#2e2440;--dash-line:#514067;--dash-icon:#49345f;--dash-panel:#252130}
.dark .screen-dashboard [data-accent="amber"]{--dash-accent:#f0cb87;--dash-soft:#372d1e;--dash-line:#625034;--dash-icon:#57442a;--dash-panel:#2c271f}
.dark .screen-dashboard [data-accent="green"]{--dash-accent:#98dcb4;--dash-soft:#1c332a;--dash-line:#365949;--dash-icon:#2d4e3d;--dash-panel:#1d2a24}
.dark .screen-dashboard [data-accent="teal"]{--dash-accent:#8bd8d0;--dash-soft:#1c3334;--dash-line:#365858;--dash-icon:#2c4e4b;--dash-panel:#1c2b2c}
.dark .screen-dashboard [data-accent="rose"]{--dash-accent:#f0a9c1;--dash-soft:#39242e;--dash-line:#63404f;--dash-icon:#542f40;--dash-panel:#2c2028}
.dark.dense-ui .screen-dashboard .workspace-heading,.dark .dense-ui .screen-dashboard .workspace-heading{background:transparent;border:0}
.dark .screen-dashboard .workspace-heading-copy>p{color:#f0a4be}
.dark .screen-dashboard .workspace-period strong{color:var(--ui-ink)}
.dark .screen-dashboard .workspace-period>span:last-child{background:var(--ui-soft);color:var(--ui-secondary)}
.dark .screen-dashboard .workspace-period>span.period-open{background:#233d31;color:#98dcb4}
.dark .screen-dashboard .workspace-tasks .task-tabs>button[data-accent]>span+span{background:var(--ui-soft);color:var(--ui-ink)}
.dark .screen-dashboard .workspace-calendar button[data-today="true"]{color:#241b30!important}
@media(max-width:640px){.dense-ui .screen-dashboard .workspace-heading{padding:4px 0;align-items:flex-start}.dense-ui .screen-dashboard .overview-stats>div[data-accent]{padding:20px 16px}.dense-ui .screen-dashboard .overview-stats p:nth-child(2){font-size:32px}.dense-ui .screen-dashboard .metric-icon{right:14px;top:18px;width:32px;height:32px;padding:7px}.dense-ui .screen-dashboard .overview-stats p:first-child{padding-right:40px}.dense-ui .screen-dashboard .dashboard-services{align-items:flex-start}.dense-ui .screen-dashboard .dashboard-services .overview-shortcuts{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.dense-ui .screen-dashboard .dashboard-services .overview-shortcuts button[data-accent]{transition:none;transform:none}}
@media print{.dense-ui .screen-dashboard .workspace-heading,.dense-ui .screen-dashboard .overview-stats>div[data-accent],.dense-ui .screen-dashboard .workspace-panel[data-accent]{background:#fff!important;color:#111!important}}
