.demo-notice{padding:12px 14px;border:1px solid #dce5cf;border-radius:8px;background:#f1f5eb;font-size:13px;line-height:1.6;color:#496039;margin:-12px 0 24px}.dashboard-page{display:block;background:#f5f7f9}.dashboard-shell{min-height:100svh;display:grid;grid-template-columns:252px minmax(0,1fr)}.dashboard-sidebar{padding:36px 26px;background:#132b3b;color:#fff;display:flex;flex-direction:column}.dashboard-sidebar .brand{font-size:21px;letter-spacing:2px}.nav-label{font-size:12px;letter-spacing:1.5px;color:#a9bbc7;margin:60px 0 18px}.nav-current{display:flex;align-items:center;gap:12px;background:#c7df91;color:#182e28;padding:14px 16px;border-radius:8px;font-size:16px;font-weight:600}.sidebar-bottom{margin-top:auto;padding-top:60px;font-size:14px;line-height:1.9}.sidebar-bottom span{font-size:12px;color:#a9bbc7}.dashboard-main{padding:0;display:flex;min-width:0}.dashboard-header{background:#fff;border-bottom:1px solid #e0e6ea;min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 40px;font-size:14px;color:#60717e}.user-menu{display:flex;align-items:center;gap:12px}.avatar{width:34px;height:34px;background:#edf2e6;color:#405d35;border-radius:50%;display:grid;place-items:center;font-weight:600}.logout{border:1px solid #ccd6dc;background:#fff;border-radius:7px;padding:9px 16px;color:#193749;margin-left:12px}.logout:hover{background:#eef2f5}.dashboard-content{padding:32px 40px;max-width:1300px;width:100%;margin:0 auto;flex:1}.demo-banner{font-size:14px;line-height:1.6;padding:12px 16px;border:1px solid #dce5cf;background:#eef3e6;color:#496039;border-radius:8px;margin:0 0 36px}.dashboard-eyebrow{font-size:12px;letter-spacing:1.7px;color:#617848;font-weight:600}.dashboard-content h1{font-size:34px;letter-spacing:-1px;margin:12px 0;line-height:1.25}.dashboard-intro{color:#677984;line-height:1.6;margin-bottom:32px}.dashboard-empty{background:#fff;border:1px solid #dfe6eb;border-radius:14px;padding:64px 24px;text-align:center;min-height:330px;display:flex;align-items:center;justify-content:center;flex-direction:column}.empty-symbol{background:#edf2e6;color:#48643a;border-radius:14px;width:56px;height:56px;display:grid;place-items:center;font-size:30px;margin-bottom:22px}.dashboard-empty h2{font-size:23px;letter-spacing:-.5px}.dashboard-empty p{max-width:420px;color:#6a7984;font-size:16px;line-height:1.7;margin:0 0 22px}.empty-tag{border:1px solid #e0e6ea;background:#f7f9fa;border-radius:20px;padding:6px 12px;font-size:12px;color:#61717c}.dashboard-main footer{padding:24px 40px;flex-direction:row}@media(max-width:850px){.dashboard-shell{grid-template-columns:200px minmax(0,1fr)}.dashboard-sidebar{padding:28px 18px}.dashboard-sidebar .brand{font-size:17px}.dashboard-content{padding:24px}.dashboard-header{padding:18px 24px}.dashboard-content h1{font-size:28px}}@media(max-width:620px){.dashboard-shell{display:block}.dashboard-sidebar{padding:20px 24px}.nav-label,.sidebar-bottom{display:none}.dashboard-sidebar nav{margin-top:20px}.nav-current{padding:10px 14px}.dashboard-header{padding:16px 24px;flex-wrap:wrap}.user-menu{gap:8px}.dashboard-content{padding:24px 20px}.dashboard-empty{padding:40px 20px}.dashboard-content h1{font-size:27px}.dashboard-main footer{padding:20px;gap:12px;flex-wrap:wrap}.demo-banner{margin-bottom:28px}}

/* Collapsible navigation shared by the dashboard and administration. */
.dashboard-shell{grid-template-columns:272px minmax(0,1fr);transition:grid-template-columns .25s ease}
.dashboard-sidebar{padding:24px 14px;min-width:0}
.sidebar-header{display:flex;align-items:center;min-height:44px}
.dashboard-sidebar .brand{gap:10px;white-space:nowrap;font-size:20px}
.dashboard-sidebar .brand-symbol{flex:0 0 44px;width:44px;height:44px;padding:0;letter-spacing:0;line-height:1;display:grid;place-items:center;text-align:center}
.dashboard-sidebar #dashboard-nav{margin-top:24px}
.brand-name{transition:opacity .18s ease;overflow:hidden}
.sidebar-toggle{background:transparent;transition:background .18s ease}
.sidebar-toggle:hover{background:#ffffff12;color:#fff}
.dashboard-sidebar .nav-label{margin:24px 10px 16px;font-size:11px;white-space:nowrap;overflow:hidden}
.dashboard-sidebar nav{display:grid;gap:6px;margin:0}
.dashboard-sidebar .nav-link,.dashboard-sidebar .nav-current{display:flex;align-items:center;gap:10px;padding:12px 11px;min-height:46px;white-space:nowrap;font-size:14px;position:relative}
.nav-icon{width:22px;height:22px;flex:0 0 22px}
.nav-text{overflow:hidden;transition:opacity .15s ease}
.nav-soon{margin-left:auto;font-size:9px;color:#a9bbc7;border:1px solid #ffffff26;border-radius:4px;padding:3px 4px}
.dashboard-sidebar [aria-disabled=true]{cursor:default;color:#a9bbc7}
.dashboard-sidebar .sidebar-bottom{overflow:hidden;white-space:nowrap;padding:40px 10px 0}
.dashboard-shell.sidebar-collapsed{grid-template-columns:72px minmax(0,1fr)}
.sidebar-collapsed .brand-name,.sidebar-collapsed .nav-text,.sidebar-collapsed .nav-soon{width:0;opacity:0;pointer-events:none}
.sidebar-collapsed .brand,.sidebar-collapsed .nav-link,.sidebar-collapsed .nav-current{gap:0}
.sidebar-collapsed .nav-soon{padding:0;border:0;margin:0}
.sidebar-collapsed .nav-label{font-size:0;height:13px;margin-left:0;margin-right:0}
.sidebar-collapsed .sidebar-bottom{visibility:hidden;padding-left:0;padding-right:0}
@media(max-width:620px){
 .dashboard-shell{display:grid;grid-template-columns:244px minmax(0,1fr)}
 .dashboard-sidebar{padding:20px 14px}
 .dashboard-sidebar .nav-label{display:block}
 .dashboard-sidebar .sidebar-bottom{display:none}
 .dashboard-sidebar .nav-link,.dashboard-sidebar .nav-current{font-size:12px}
 .dashboard-header{padding:16px 12px;overflow-wrap:anywhere}
 .dashboard-content{padding:24px 12px}
 .dashboard-content h1{font-size:24px}
 .dashboard-main{min-height:100svh}
 .user-menu{min-width:0;flex-wrap:wrap}
 #current-user{overflow-wrap:anywhere;min-width:0}
 .logout{margin-left:0}
 .dashboard-shell:not(.sidebar-collapsed){grid-template-columns:72px minmax(0,1fr)}
 .dashboard-sidebar{z-index:2}
 .dashboard-shell:not(.sidebar-collapsed) .dashboard-sidebar{width:244px;box-shadow:12px 0 28px #132b3b26}
}

/* Administration stays at the foot of the visible navigation rail. */
.dashboard-sidebar{position:sticky;top:0;height:100dvh;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#496171 #132b3b}
.sidebar-header{flex-shrink:0}
.sidebar-admin{margin-top:auto;padding-top:32px;flex-shrink:0}
.admin-nav-label{border-top:1px solid #ffffff29;padding-top:20px;margin:0 0 14px;font-size:10px;letter-spacing:1.6px;color:#a9bbc7;white-space:nowrap;overflow:hidden}
.dashboard-sidebar #sidebar-admin-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.admin-nav-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:82px;min-width:44px;padding:12px 4px;border:1px solid #ffffff30;border-radius:12px;color:#d5e1e9;background:#ffffff03;transition:background .18s,border-color .18s}
.admin-nav-button .nav-icon{width:26px;height:26px;flex-basis:26px}
.admin-nav-button:hover{background:#ffffff0d;border-color:#a9bbc7}
.admin-nav-button[aria-current=page]{background:#c7df91;color:#182e28;border-color:#c7df91}
.admin-nav-text{font-size:12px;white-space:nowrap}
.sidebar-collapsed #sidebar-admin-actions{grid-template-columns:1fr;gap:10px}
.sidebar-collapsed .admin-nav-label{font-size:0;height:1px;padding:0;margin-bottom:16px}
.sidebar-collapsed .admin-nav-button{min-height:46px;padding:9px 0;gap:0;border-radius:10px}
.sidebar-collapsed .admin-nav-button .nav-icon{width:24px;height:24px;flex-basis:24px}
.sidebar-collapsed .admin-nav-text{display:none}
@media(prefers-reduced-motion:reduce){.dashboard-shell,.brand-name,.nav-text,.admin-nav-button{transition:none}}
.header-icon{position:relative;width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;border:1px solid transparent;border-radius:9px;background:transparent;color:#193749}.header-icon:hover,.header-icon[aria-expanded=true]{background:#edf2e6;border-color:#dce5cf}.header-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.notification-badge{position:absolute;right:0;top:0;min-width:17px;height:17px;padding:0 3px;border-radius:10px;background:#c84343;color:#fff;font-size:10px;display:grid;place-items:center}.user-menu{position:relative}.header-popover{position:absolute;right:0;top:calc(100% + 12px);z-index:10;width:340px;max-width:calc(100vw - 96px);max-height:70dvh;overflow:auto;background:#fff;border:1px solid #dfe6eb;border-radius:12px;box-shadow:0 14px 45px #132b3b26;padding:20px;color:#182c3b}.header-popover h2{font-size:18px;letter-spacing:-.3px;margin:0 0 16px}.notification-item{padding:14px 0 14px 14px;border-top:1px solid #edf0f2;position:relative;font-size:13px}.notification-item.unread:before{content:'';position:absolute;left:0;top:19px;width:6px;height:6px;border-radius:50%;background:#3979bd}.notification-item time{display:block;margin-top:6px;color:#687781;font-size:11px}.header-popover .text-button{display:block;font-size:12px;margin-top:14px}.notification-empty{font-size:14px;color:#687781;line-height:1.6}.settings-entry{display:block;width:100%;text-align:left;padding:12px 8px;border:0;border-radius:6px;background:transparent;color:#193749;font-size:14px}.settings-entry:hover{background:#edf2e6}.user-settings-dialog{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;border:1px solid #dfe6eb;border-radius:14px;color:#182c3b}.user-settings-dialog::backdrop{background:#102b3b88}.user-settings-dialog h2{font-size:23px;margin-bottom:24px}.user-settings-dialog label{margin:16px 0}.user-settings-dialog input{margin-top:8px}.settings-help{font-size:12px;line-height:1.5;color:#687781}.settings-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.settings-footer .submit{width:auto;height:auto;padding:10px 20px;margin:0}.settings-footer .action-button{margin:0}.settings-checkbox{display:flex;gap:10px;align-items:center;font-weight:400}.settings-checkbox input{width:18px;height:18px;flex-shrink:0;margin:0}

/* Compact navigation and header. */
.dashboard-shell{grid-template-columns:256px minmax(0,1fr)}
.dashboard-shell.sidebar-collapsed{grid-template-columns:64px minmax(0,1fr)}
.dashboard-sidebar{padding:12px}
.sidebar-header{min-height:40px}
.dashboard-sidebar .brand-symbol{width:40px;height:40px;flex-basis:40px;font-size:25px}
.dashboard-sidebar #dashboard-nav{margin-top:16px;gap:3px}
.dashboard-sidebar .nav-link,.dashboard-sidebar .nav-current{min-height:40px;padding:9px;border-radius:7px}
.sidebar-collapsed .nav-current{background:#c7df911a;color:#c7df91;box-shadow:inset 2px 0 #c7df91}
.sidebar-admin{padding-top:24px}
.dashboard-sidebar #sidebar-admin-actions{gap:8px}
.admin-nav-button{min-height:68px;padding:9px 4px;gap:7px;border-color:transparent;background:transparent;border-radius:8px}
.sidebar-collapsed #sidebar-admin-actions{gap:3px}
.sidebar-collapsed .admin-nav-button{min-width:40px;min-height:40px;padding:8px 0;border-radius:7px}
.sidebar-collapsed .admin-nav-button .nav-icon{width:22px;height:22px;flex-basis:22px}
.sidebar-collapsed .admin-nav-button[aria-current=page]{background:#c7df911a;color:#c7df91;border-color:transparent;box-shadow:inset 2px 0 #c7df91}
.sidebar-collapsed .admin-nav-label{margin-bottom:10px}
.dashboard-header{min-height:64px;padding:12px 28px;gap:12px}
.dashboard-header .user-menu{gap:10px}
.dashboard-header .logout{margin-left:4px;padding:8px 14px}
@media(max-width:620px){
 .dashboard-shell:not(.sidebar-collapsed){grid-template-columns:64px minmax(0,1fr)}
 .dashboard-shell:not(.sidebar-collapsed) .dashboard-sidebar{width:244px}
 .dashboard-header{padding:10px 12px}
 .dashboard-header .user-menu{gap:6px}
}
.dashboard-heading{display:flex;align-items:center;gap:12px;min-width:0}
.dashboard-shell.sidebar-hidden{grid-template-columns:0 minmax(0,1fr)}
.dashboard-shell.sidebar-hidden .dashboard-sidebar{width:0;padding:0;visibility:hidden;overflow:hidden;pointer-events:none}
@media(max-width:620px){.dashboard-shell.sidebar-hidden{grid-template-columns:0 minmax(0,1fr)}.dashboard-shell.sidebar-hidden .dashboard-sidebar{width:0}}
.user-settings-dialog select{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #cfd7dd;border-radius:8px;background:#fff;color:#182c3b;font:inherit;font-size:14px}.access-dialog{width:min(760px,calc(100vw - 24px))}.access-dialog caption{text-align:left;font-weight:600;padding:16px 0}.access-dialog td:first-child{min-width:0}.access-dialog td,.access-dialog th{white-space:nowrap;padding:12px 8px}.access-role{font-weight:600}.access-allowed{color:#3c642c}.access-denied{color:#687781}.compact-view .dashboard-content{padding:20px 24px}.compact-view .dashboard-header{min-height:64px;padding-top:10px;padding-bottom:10px}.compact-view .admin-card{padding:18px;margin:16px 0}.compact-view td{padding-top:10px;padding-bottom:10px}.compact-view .dashboard-sidebar .nav-link,.compact-view .dashboard-sidebar .nav-current{min-height:34px;padding-top:6px;padding-bottom:6px}
body.dashboard-page[data-theme=dark]{color-scheme:dark;background:#101c26;color:#e5edf3}
[data-theme=dark] :is(.dashboard-header,.dashboard-empty,.admin-card,.admin-summary>div,.header-popover,.user-settings-dialog,.permissions-dialog){background:#192b38;color:#e5edf3;border-color:#3d5362}
[data-theme=dark] :is(input,select,.action-button,.logout){background:#14232e;color:#e5edf3;border-color:#526978}
[data-theme=dark] :is(.dashboard-intro,.dashboard-empty p,.admin-card p,.admin-summary span,.user-email,.settings-help,.permission-help,.notification-empty,.notification-item time,th,.access-denied,.permissions-dialog p,.permissions-status,.dashboard-main footer){color:#afc0cb}
[data-theme=dark] :is(.settings-entry,.header-icon){color:#e5edf3}
[data-theme=dark] :is(.settings-entry:hover,.header-icon:hover,.header-icon[aria-expanded=true],.action-button:hover,.logout:hover,.permissions-person,.permissions-head,.permissions-dialog footer){background:#253d4c;color:#e5edf3}
[data-theme=dark] :is(td,th,.notification-item,.permissions-row,.permissions-dialog header,.permissions-dialog footer){border-color:#3d5362}
[data-theme=dark] :is(.dashboard-eyebrow,.access-allowed){color:#c7df91}
[data-theme=dark] .feedback{background:#422e30;color:#ffcbc6}
[data-theme=dark] .link-result{background:#253d35;color:#e5edf3;border-color:#526b55}
.settings-window{width:min(1000px,calc(100vw - 32px));height:min(680px,calc(100dvh - 32px));padding:0;overflow:hidden;background:#fff}.settings-window[open]{display:flex;flex-direction:column}.settings-window-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #dfe6eb;flex-shrink:0}.settings-window-header h2{margin:0;font-size:22px}.settings-close{border:0;background:transparent;color:inherit;font-size:28px;width:40px;height:40px;border-radius:8px}.settings-close:hover{background:#edf2e6}.settings-layout{display:grid;grid-template-columns:210px minmax(0,1fr);flex:1;min-height:0}.settings-tabs{padding:20px 12px;background:#f5f7f9;border-right:1px solid #dfe6eb;overflow:auto;display:flex;flex-direction:column;gap:6px}.settings-tab{text-align:left;border:0;background:transparent;color:#526775;border-radius:8px;padding:13px 14px;font-size:14px}.settings-tab:hover{background:#e8edf0}.settings-tab[aria-selected=true]{background:#e7efd9;color:#29452a;font-weight:600;box-shadow:inset 3px 0 #678645}.settings-panels{min-width:0;overflow:auto;padding:28px}.settings-panel h3{font-size:22px;margin:0 0 22px}.settings-panel form{max-width:100%}.settings-panel .settings-footer{margin-top:28px}.settings-panel caption{text-align:left;padding:16px 0;font-weight:600}.settings-panel td:first-child{min-width:0}.settings-panel td,.settings-panel th{padding:12px 8px;white-space:nowrap;font-size:12px}.settings-success{color:#315429;background:#edf2e6}.settings-tab:focus-visible,.settings-close:focus-visible{outline:2px solid #c7df91;outline-offset:2px}
[data-theme=dark] .settings-tabs{background:#14232e;border-color:#3d5362}[data-theme=dark] .settings-window-header{border-color:#3d5362}[data-theme=dark] .settings-tab{color:#b9cbd5}[data-theme=dark] .settings-tab[aria-selected=true]{background:#304633;color:#d2e9ae}[data-theme=dark] .settings-tab:hover,[data-theme=dark] .settings-close:hover{background:#253d4c}[data-theme=dark] .settings-success{background:#253d35;color:#d2e9ae}
@media(max-width:620px){.settings-window{width:calc(100vw - 16px);height:calc(100dvh - 16px)}.settings-layout{grid-template-columns:125px minmax(0,1fr)}.settings-tabs{padding:12px 6px}.settings-tab{padding:12px 8px;font-size:12px}.settings-panels{padding:18px 12px}.settings-window-header{padding:12px 16px}.settings-panel h3{font-size:19px}}
/* Shared palette tokens also power the isolated preview. */
[data-palette]{--brand:#132b3b;--accent:#c7df91;--accent-ink:#29452a;--tint:#edf2e6;--button:#193749;--brand-muted:#bdccd5}
[data-palette=blue-gray]{--brand:#1c3554;--accent:#c7d5e4;--accent-ink:#253c56;--tint:#edf1f6;--button:#284a70;--brand-muted:#c4d1e0}
[data-palette=graphite-gold]{--brand:#292a2f;--accent:#e4c574;--accent-ink:#57431a;--tint:#f6f0df;--button:#48402b;--brand-muted:#d1cbbf}
[data-palette=green-sand]{--brand:#203d35;--accent:#e0d2ac;--accent-ink:#3b4931;--tint:#f3f0e5;--button:#31564a;--brand-muted:#c7d7cc}
[data-palette=wine-gray]{--brand:#482b3c;--accent:#dfcbd7;--accent-ink:#603d51;--tint:#f4edf1;--button:#683f57;--brand-muted:#ddcbd5}
body[data-palette] .dashboard-sidebar{background:var(--brand);scrollbar-color:var(--brand-muted) var(--brand)}
body[data-palette] .dashboard-sidebar .nav-link,body[data-palette] .dashboard-sidebar [aria-disabled=true]{color:var(--brand-muted)}
body[data-palette] .dashboard-sidebar .nav-current{background:var(--accent);color:var(--accent-ink)}
body[data-palette] .sidebar-collapsed .nav-current,body[data-palette] .sidebar-collapsed .admin-nav-button[aria-current=page]{background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent);box-shadow:inset 2px 0 var(--accent)}
body[data-palette] .brand-symbol{color:var(--accent);border-color:var(--accent)}
body[data-palette] .submit{background:var(--button);color:#fff}body[data-palette] .submit:hover{filter:brightness(1.12)}
body[data-palette] :is(.avatar,.empty-symbol,.status-tag,.settings-tab[aria-selected=true]){background:var(--tint);color:var(--accent-ink)}
body[data-palette] .settings-tab[aria-selected=true]{box-shadow:inset 3px 0 var(--accent-ink)}
body[data-palette] .dashboard-eyebrow{color:var(--accent-ink)}
body[data-palette] :is(.action-button:hover,.logout:hover,.header-icon:hover,.header-icon[aria-expanded=true]){background:var(--tint);color:var(--accent-ink)}
body[data-palette] :is(input,select){accent-color:var(--button)}
body[data-palette][data-theme=dark] :is(.avatar,.empty-symbol,.settings-tab[aria-selected=true]){background:var(--brand);color:var(--accent)}
body[data-palette][data-theme=dark] .dashboard-eyebrow{color:var(--accent)}
.palette-preview{display:grid;grid-template-columns:120px 1fr;overflow:hidden;border:1px solid #dfe6eb;border-radius:10px;margin:18px 0;background:#fff;color:#24313a}.palette-preview-menu{background:var(--brand);color:var(--accent);padding:18px 12px;font-size:13px;font-weight:600}.palette-preview-menu span{display:block;margin-top:20px;padding:8px;background:var(--accent);color:var(--accent-ink);border-radius:5px;font-size:11px}.palette-preview-content{padding:18px;font-size:13px}.palette-preview-content p{font-size:12px;color:#60717e;margin:8px 0 16px}.palette-preview-button{display:inline-block;background:var(--button);color:white;border-radius:6px;padding:9px 12px;font-size:12px}@media(max-width:480px){.palette-preview{grid-template-columns:1fr}.palette-preview-menu span{margin-top:10px}.palette-preview-content{padding:12px}}

/* Exit action matching the compact header reference. */
.dashboard-header #logout{display:inline-flex;align-items:center;justify-content:center;gap:8px;position:relative;min-height:36px;padding:8px 10px;margin-left:12px;border:0;border-radius:6px;background:transparent;color:inherit;font-size:12px;font-weight:600;white-space:nowrap}
.dashboard-header #logout::before{content:"";position:absolute;left:-10px;top:50%;transform:translateY(-50%);height:20px;width:1px;background:currentColor;opacity:.25}
.dashboard-header #logout svg{width:20px;height:20px;flex-shrink:0}
.dashboard-header #logout:hover{background:#132b3b0a}
[data-theme=dark] .dashboard-header #logout:hover{background:#ffffff12}
body[data-palette] .dashboard-header #logout:hover{background:var(--tint);color:var(--accent-ink)}
/* Daily deadlines: slow pulse, with a static alternative for reduced motion. */
.due-today-bell.has-due-activities{color:#ad6508;background:#fff3dc}
.due-today-bell.has-due-activities>svg{animation:due-today-pulse 2s ease-in-out infinite}
.due-today-bell[aria-expanded=true]>svg{animation:none}
.due-today-bell .notification-badge{background:#ad6508}
@keyframes due-today-pulse{0%,100%{opacity:1}50%{opacity:.4}}
@media(prefers-reduced-motion:reduce){.due-today-bell.has-due-activities>svg{animation:none}}
[data-theme=dark] .due-today-bell.has-due-activities{color:#ffd18a;background:#49351e}
.due-today-bell.has-due-activities{--due-glow:#fff3dc;--due-glow-strong:#ffe3ac;animation:due-button-pulse 2s ease-in-out infinite}
@keyframes due-button-pulse{0%,100%{background:var(--due-glow-strong);box-shadow:0 0 0 4px #d9932426}50%{background:var(--due-glow);box-shadow:0 0 0 0 #d9932400}}
.due-today-bell.has-due-activities[aria-expanded=true]{animation:none;box-shadow:none}
[data-theme=dark] .due-today-bell.has-due-activities{--due-glow:#49351e;--due-glow-strong:#684921}
@media(prefers-reduced-motion:reduce){.due-today-bell.has-due-activities{animation:none}}
.due-today-popover{width:490px}
.activity-notification{padding:18px 0}
.activity-notification-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.activity-notification-id{font-size:11px;color:#687781}
.activity-notification-status{font-size:11px;padding:4px 9px;border-radius:20px;background:#fff3dc;color:#945b09}
.activity-notification h3{font-size:16px;line-height:1.4;margin:0 0 8px;overflow-wrap:anywhere}
.activity-notification-description{margin:0 0 14px;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.activity-notification-details{display:grid;gap:10px;margin:14px 0}
.activity-notification-details>div{display:grid;grid-template-columns:125px minmax(0,1fr);gap:12px}
.activity-notification-details dt{font-size:11px;color:#687781}
.activity-notification-details dd{margin:0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.activity-notification-dates{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:10px 12px;background:#f6f8fa;border-radius:7px;font-size:12px}
.activity-notification-dates strong{color:#945b09}
[data-theme=dark] .activity-notification-id,[data-theme=dark] .activity-notification-details dt{color:#afc0cb}
[data-theme=dark] .activity-notification-dates{background:#243b49}
[data-theme=dark] .activity-notification-status{background:#49351e;color:#ffd18a}
[data-theme=dark] .activity-notification-dates strong{color:#ffd18a}
@media(max-width:540px){.due-today-popover{max-width:calc(100vw - 32px);width:calc(100vw - 32px);position:fixed;right:16px;top:76px}.activity-notification-details>div{grid-template-columns:1fr;gap:3px}}

.activity-notification-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:14px}.activity-notification-actions .text-button{margin:0}.activity-notification-read{font-size:12px;color:#687781}[data-theme=dark] .activity-notification-read{color:#afc0cb}

.due-today-bell[hidden]{display:none}
.notification-popover{width:490px}
.activity-notification-dates.is-overdue{background:#fff0ef}
.activity-notification-dates.is-overdue strong{color:#ae3535}
[data-theme=dark] .activity-notification-dates.is-overdue{background:#472d32}
[data-theme=dark] .activity-notification-dates.is-overdue strong{color:#ffb5b5}
@media(max-width:540px){.notification-popover{max-width:calc(100vw - 32px);width:calc(100vw - 32px);position:fixed;right:16px;top:76px}}

.activity-notification-heading{justify-content:flex-start;align-items:baseline;gap:10px}.activity-notification-heading h3{margin:0;min-width:0}.activity-notification-heading .activity-notification-status{flex-shrink:0;border-radius:5px;font-weight:600}

.notification-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 16px}
.notification-count{font-size:12px;color:#687781}
.notification-read-all{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;margin:0;padding:7px 10px;border:1px solid #dfe6eb;border-radius:7px;background:#f6f8fa;color:#214e64;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.notification-read-all svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.notification-read-all:hover{background:#edf2e6;border-color:#cbd9ba}
.notification-read-all:disabled{opacity:.6;cursor:wait}
[data-theme=dark] .notification-count{color:#afc0cb}
[data-theme=dark] .notification-read-all{background:#243b49;border-color:#3d5362;color:#e5edf3}
[data-theme=dark] .notification-read-all:hover{background:#314b59}

.activity-notification-details dd{white-space:pre-line}

.hearings-popover{width:490px}.hearings-popover>.action-button{display:inline-flex;margin:14px 8px 0 0;font-size:12px}@media(max-width:540px){.hearings-popover{max-width:calc(100vw - 32px);width:calc(100vw - 32px);position:fixed;right:16px;top:76px}}

.hearings-popover .activity-notification-actions{justify-content:flex-end}

.payments-today[hidden]{display:none}.payments-today{color:#20744b;background:#e8f4ec;text-decoration:none}.payments-today .notification-badge{background:#20744b}[data-theme=dark] .payments-today{color:#9edbb4;background:#213e32}

body :is(.record-more-button,.hearing-more,.overview-configure){display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1}
body :is(.record-more-button,.hearing-more,.overview-configure)>.vertical-more-icon{display:block;width:20px;height:20px;flex:none;fill:currentColor;stroke:none;margin:0;transform:none}

/* Shared borderless action menus; preserve each button's hit area. */
body :is(.record-more-button,.hearing-more,.overview-configure){border-color:transparent!important;background:transparent!important;box-shadow:none;box-sizing:border-box}
body :is(.record-more-button,.hearing-more,.overview-configure):is(:hover,[aria-expanded=true]){background:#edf2f6!important}
body[data-theme=dark] :is(.record-more-button,.hearing-more,.overview-configure):is(:hover,[aria-expanded=true]){background:#2c4453!important}
body :is(.record-more-button,.hearing-more,.overview-configure):focus-visible{outline:2px solid #b8ce86;outline-offset:2px}
