/* SUKUMA! private workspace — approved civic design tokens and responsive shell.
   This layer intentionally overrides the preserved legacy Phoenix presentation without
   changing application logic, storage keys, API contracts, or module behavior. */
 :root{
  color-scheme:light;
  --primary:#00263B;--accent:#004B5C;--background:#F8F9FC;--surface:#FFFFFF;
  --surface-soft:#EFF3F7;--text:#172B36;--muted:#526575;--border:#DCE4EB;
  --error:#B42318;--warning:#8A4B08;--success:#176B45;
  --canvas:var(--background);--panel:var(--surface);--panel2:var(--surface-soft);
  --line:var(--border);--ink:var(--text);--muted-2:#526575;
  --blue:var(--primary);--blue-strong:#003B4D;--cyan:var(--accent);
  --danger:var(--error);--radius:16px;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
html{background:var(--background);scroll-behavior:smooth}
body{background:var(--background);color:var(--text);overflow-x:hidden}
body::before{display:none}
.app-shell{max-width:1600px;padding:0 clamp(12px,2.2vw,32px)}
.topbar{position:sticky;top:0;min-height:76px;margin:0 0 14px;padding:12px 16px;
 background:rgba(255,255,255,.96);border:1px solid var(--border);border-top:3px solid var(--primary);
 border-radius:0 0 14px 14px;box-shadow:0 5px 20px rgba(18,59,70,.07);backdrop-filter:blur(14px)}
.brand{min-width:0;gap:12px}
.brand small{color:var(--primary);font-size:10px;font-weight:800;letter-spacing:.13em}
.topbar .brand-mark{width:190px!important;height:auto!important;max-width:38vw;object-fit:contain}
.global-search{background:#fff;color:var(--text);border:1px solid var(--border);border-radius:10px}
.global-search::placeholder,input::placeholder,textarea::placeholder{color:#526575}
.notice{margin:0 0 16px;padding:12px 15px;background:#E8EEF3;border:1px solid #D7E1E9;
 border-left:4px solid var(--accent);border-radius:12px;color:var(--text);box-shadow:none}
.notice strong{color:var(--primary);font-size:11px;letter-spacing:.05em}
.layout{grid-template-columns:236px minmax(0,1fr);gap:24px;min-height:65vh}
.sidebar{position:sticky;top:92px;max-height:calc(100vh - 108px);padding:14px 10px;
 background:#00263B;border:1px solid #00263B;border-radius:14px;box-shadow:none;color:#F8F9FC}
.nav{min-height:42px;padding:9px 11px;border:1px solid transparent;border-radius:9px;color:#D8E7E4}
.nav span{font-size:12px;font-weight:650}
.nav:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.08);color:#fff}
.nav.active{background:rgba(49,183,165,.16);border-color:rgba(49,183,165,.35);color:#fff;box-shadow:inset 3px 0 var(--accent)}
.nav.active .nav-icon,.nav:hover .nav-icon{color:#fff}
main{min-width:0;padding:10px 0 34px}
.hero{margin:0 0 18px;padding:16px 4px 10px;background:transparent;border:0;border-radius:0;box-shadow:none}
.hero h1,.hero h2,.section-head h2,.card h2,.dialog-head h2,.login-card h1{color:var(--primary);font-family:Montserrat,Inter,sans-serif}
.eyebrow{color:var(--success);letter-spacing:.14em}
.muted,.help{color:var(--muted)}
.button{min-height:42px;padding:10px 15px;border:1px solid var(--primary);border-radius:10px;
 background:var(--primary);color:#fff;box-shadow:none;font-weight:750;letter-spacing:0}
.button:hover{background:#003B4D;color:#fff;filter:none;transform:none}
.button.secondary,.theme-toggle{background:#fff;border:1px solid var(--border);color:var(--primary);box-shadow:none}
.button.secondary:hover,.theme-toggle:hover{background:#E8EEF3;border-color:#B7C7D1;color:var(--primary)}
.pill,.badge,.tag,.top-actions .pill{background:#E8EEF3;border:1px solid #D7E1E9;color:var(--primary)}
.grid{gap:13px}
.card{background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 3px 14px rgba(18,59,70,.035)}
.stat-label{color:var(--muted)}
.stat-value{color:var(--primary)}
.row{background:#fff;border:1px solid var(--border);border-radius:11px}
.row-title{color:var(--text)}
.row-detail{color:var(--muted)}
.row-meta{color:var(--success)}
.empty{border-color:#D0DCE5;color:var(--muted);background:#F8F9FC}
.toolbar{gap:8px}
input,textarea,select,.input{background:#fff;color:var(--text);border:1px solid #D0DCE5;border-radius:9px}
input:focus,textarea:focus,select:focus{border-color:var(--accent);outline:3px solid rgba(49,183,165,.18);outline-offset:1px}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{
 outline:3px solid var(--accent);outline-offset:3px
}
dialog{background:#fff;color:var(--text);border:1px solid var(--border);border-radius:16px;box-shadow:0 25px 80px rgba(18,59,70,.2)}
dialog::backdrop{background:rgba(15,35,40,.48);backdrop-filter:blur(3px)}
.icon-button{border-color:var(--border);color:var(--muted)}
.login-gate{background:var(--background)}
.login-card{background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 18px 55px rgba(18,59,70,.12)}
.login-card h1{font-size:28px}
.login-card label{color:var(--muted)}
.login-error{color:var(--error)}
.login-card .muted{color:var(--muted)}
.chat-message{background:#fff;border:1px solid var(--border);color:var(--text)}
.chat-message.user{background:#E8EEF3;border-color:#D7E1E9}
.chat-message strong{color:var(--success)}
.chat-thinking{color:var(--muted)}
footer{border-color:var(--border);color:var(--muted);background:transparent}
.toast{background:var(--primary);color:#fff}
.status-dot{background:var(--success)}
@media(max-width:900px){
 .layout{grid-template-columns:190px minmax(0,1fr);gap:14px}
 .topbar{gap:12px;padding:10px 12px}
 .topbar .brand-mark{width:158px!important}
 .top-actions{gap:6px}
}
@media(max-width:760px){
 .app-shell{padding:0 12px}
 .topbar{position:relative;min-height:0;align-items:flex-start;flex-direction:column;gap:10px;padding:11px 12px}
 .topbar .brand-mark{width:155px!important;max-width:60vw}
 .top-actions{width:100%;justify-content:stretch}
 .top-actions .global-search{flex:1;min-width:0;width:auto}
 .top-actions .button{min-height:40px;padding:9px 11px}
 .notice{align-items:flex-start;flex-direction:column;gap:5px;font-size:11px}
 .layout{display:flex;flex-direction:column;gap:10px}
 .sidebar{position:sticky;top:0;z-index:12;display:flex;flex-direction:row;gap:5px;
  max-height:none;overflow-x:auto;padding:7px;background:rgba(255,255,255,.97);
  border-radius:0 0 12px 12px;scrollbar-width:thin;backdrop-filter:blur(12px)}
 .nav{flex:0 0 auto;width:auto;min-height:40px;padding:8px 10px}
 .nav span{font-size:11px;white-space:nowrap}
 main{padding:4px 0 24px}
 .hero{padding:18px;margin:0 0 14px;align-items:flex-start}
 .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .card{padding:13px}
 .stat-value{font-size:26px}
 footer{padding-bottom:calc(20px + env(safe-area-inset-bottom))}
}
@media(max-width:390px){
 .grid{grid-template-columns:1fr}
 .top-actions .pill{display:none}
 .hero{display:block}
 .hero .button{margin-top:12px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* Grouped desktop navigation and compact Android-first mobile navigation. */
.nav-group{display:grid;gap:3px;margin:0 0 12px}
.nav-group-label{margin:12px 10px 5px;color:#526575;font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.sidebar .nav{width:100%;justify-content:flex-start;text-align:left}
.mobile-primary-nav{display:none}
.mobile-more summary{list-style:none;cursor:pointer;display:grid;place-items:center;min-height:44px;padding:5px 8px;border-radius:10px;color:var(--muted);font-size:11px;font-weight:750}
.mobile-more summary::-webkit-details-marker{display:none}
.mobile-more[open] summary,.mobile-more summary:focus-visible{background:#E8EEF3;color:var(--primary)}
.mobile-more-menu{display:none}
.mobile-more[open] .mobile-more-menu{display:grid;position:absolute;right:8px;bottom:calc(100% + 9px);width:min(290px,calc(100vw - 16px));max-height:min(65vh,520px);overflow:auto;gap:4px;padding:9px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 12px 36px rgba(18,59,70,.18)}
.mobile-more-item{width:100%;min-height:42px;text-align:left;justify-content:flex-start;background:#fff;border:1px solid transparent;color:var(--text);font-size:12px}
.mobile-more-item:hover,.mobile-more-item.active{background:#E8EEF3;color:var(--primary);border-color:#D7E1E9}
@media(max-width:760px){
 .sidebar{display:flex!important;position:sticky;top:0;z-index:25;flex-direction:row;align-items:center;gap:6px;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:8px 2px;background:var(--surface);border-bottom:1px solid var(--border);scrollbar-width:thin;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
 .sidebar .nav-group{display:flex;flex:0 0 auto;align-items:center;gap:6px;margin:0;padding:0}
 .sidebar .nav-group-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .sidebar .nav{flex:0 0 auto;width:auto;min-height:42px;padding:10px 12px;white-space:nowrap}
 .mobile-primary-nav[hidden]{display:none!important}
 body{padding-bottom:0!important}
 .app-shell footer{padding-bottom:calc(16px + env(safe-area-inset-bottom))}
}

/* Google OAuth option on the private workspace sign-in gate. */
.login-card .google-signin{width:100%;margin-top:8px;min-height:48px;background:var(--primary);color:#fff}
.login-card .google-signin:hover{background:#003B4D}
.login-divider{display:flex;align-items:center;gap:12px;margin:16px 0 10px;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.12em}
.login-divider::before,.login-divider::after{content:"";height:1px;flex:1;background:var(--border)}
.login-alternative{margin:0 0 10px;font-size:12px}



/* Premium dashboard composition — one hierarchy, purposeful panels, no stacked card noise. */
body.demo-mode .notice{background:#FFF5E5;border-color:#F2D6A8;border-left-color:#C27A17;color:#5C3A0B}
body.demo-mode .notice strong{color:#7A4A0B}
.hero h1{font-size:clamp(27px,3vw,36px);letter-spacing:-.035em;line-height:1.15}
.hero .eyebrow{margin-bottom:7px;font-size:10px}
.hero .muted{max-width:66ch;font-size:14px;line-height:1.55}
.dashboard-quick-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 16px}
.dashboard-quick-actions .button{min-height:42px}
.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 17px}
.dashboard-stat{appearance:none;display:flex;align-items:flex-start;gap:13px;width:100%;min-width:0;min-height:120px;padding:17px 16px;text-align:left;font:inherit;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:13px;box-shadow:0 2px 8px rgba(18,59,70,.025);cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.dashboard-stat:hover{transform:translateY(-1px);border-color:#B7C7D1;box-shadow:0 5px 16px rgba(18,59,70,.07)}
.dashboard-stat:focus-visible,.pulse-stat:focus-visible,.dashboard-area-row:focus-visible,.dashboard-shortcut:focus-visible,.dashboard-click-row:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.dashboard-stat-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:11px;background:#E8EEF3;color:var(--primary)}
.dashboard-stat-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dashboard-stat-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.dashboard-stat .stat-label{font-size:10px;line-height:1.35;font-weight:800;letter-spacing:.075em;color:var(--muted)}
.dashboard-stat .stat-value{font-size:clamp(25px,2.4vw,31px);line-height:1.08;font-weight:800;color:var(--primary);letter-spacing:-.035em}
.dashboard-stat-note{font-size:11px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
.dashboard-stat-attention .dashboard-stat-icon{background:#FFF2E4;color:#8A4B08}
.dashboard-stat-attention .stat-value{color:#8A4B08}
.dashboard-progress-track{display:block;width:100%;height:5px;margin-top:3px;overflow:hidden;border-radius:99px;background:#DCE5EC}
.dashboard-progress-track i{display:block;height:100%;border-radius:inherit;background:var(--accent)}
.dashboard-overview-grid,.dashboard-work-grid,.dashboard-activity-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:15px;align-items:stretch;margin:0 0 15px}
.dashboard-alerts,.dashboard-upcoming{min-width:0}
.dashboard-panel{min-width:0;padding:18px 18px 16px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 2px 9px rgba(18,59,70,.025)}
.dashboard-panel .section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid #DCE5EC}
.dashboard-panel .section-head>div{min-width:0}
.dashboard-panel .section-head h2{margin:0 0 4px;font-size:16px;line-height:1.3;font-weight:750;color:var(--primary)}
.dashboard-panel .section-head p{margin:0;font-size:11px;line-height:1.45;color:var(--muted)}
.dashboard-panel .section-head .button{flex:0 0 auto;min-height:36px;padding:7px 10px;font-size:11px}
.dashboard-pulse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 17px}
.pulse-stat{appearance:none;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:7px;min-width:0;min-height:76px;padding:10px 11px;text-align:left;font:inherit;color:var(--text);background:#F1F4F7;border:1px solid #DCE5EC;border-radius:10px;cursor:pointer}
.pulse-stat span{font-size:9px;line-height:1.3;font-weight:800;letter-spacing:.04em;color:var(--muted)}
.pulse-stat strong{font-size:22px;line-height:1.05;color:var(--primary);font-weight:800}
.pulse-stat:nth-child(2) strong{color:#A65A13}
.pulse-stat:nth-child(4) strong{color:var(--success)}
.pulse-stat:hover{border-color:#B7C7D1;background:#EAF0F5}
.dashboard-area-heading{margin:0 0 9px;color:var(--primary);font-size:12px;font-weight:750}
.dashboard-area-list{display:grid;gap:8px}
.dashboard-area-row{appearance:none;display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:5px 10px;align-items:center;width:100%;min-width:0;padding:8px 9px;text-align:left;font:inherit;background:#fff;border:1px solid #DCE5EC;border-radius:9px;cursor:pointer}
.dashboard-area-row:hover{border-color:#B7C7D1;background:#F8F9FC}
.dashboard-area-copy{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.dashboard-area-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:11px;font-weight:700}
.dashboard-area-copy small{flex:0 0 auto;color:var(--muted);font-size:10px}
.dashboard-area-count{grid-column:2;grid-row:1 / span 2;display:grid;place-items:center;color:var(--primary);font-size:12px;font-weight:800}
.dashboard-area-track{grid-column:1;display:block;height:5px;overflow:hidden;border-radius:99px;background:#DCE5EC}
.dashboard-area-track i{display:block;height:100%;border-radius:inherit;background:var(--accent)}
.dashboard-data-note{margin:10px 0 0;color:var(--muted);font-size:10px;line-height:1.45}
.dashboard-panel .list{display:grid;gap:7px}
.dashboard-panel .row{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 11px;background:#fff;border:1px solid #DCE5EC;border-radius:10px;box-shadow:none}
.dashboard-panel .row+.row{margin-top:0}
.dashboard-panel .row-main{min-width:0;flex:1}
.dashboard-panel .row-title{font-size:12px;font-weight:700;line-height:1.4;color:var(--text)}
.dashboard-panel .row-detail{margin-top:3px;font-size:11px;line-height:1.4;color:var(--muted)}
.dashboard-panel .row-meta{margin-top:4px;font-size:10px;color:#526575}
.dashboard-panel .row-main[data-record-view]{cursor:pointer}
.dashboard-panel .row-main[data-record-view]:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:5px}
.dashboard-click-row{appearance:none;width:100%;text-align:left;font:inherit;cursor:pointer}
.dashboard-click-row:hover{border-color:#B7C7D1;background:#F8F9FC}
.dashboard-alert-row{align-items:center}
.dashboard-alert-row .button{flex:0 0 auto;min-height:36px;padding:7px 10px;font-size:11px}
.dashboard-activity-marker{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:var(--accent)}
.dashboard-shortcuts-section{margin:2px 0 22px;padding:15px 0 4px;border-top:1px solid var(--border)}
.dashboard-shortcuts-heading{margin:0 0 11px}
.dashboard-shortcuts-heading h2{margin:0 0 4px;font-size:14px;color:var(--primary)}
.dashboard-shortcuts-heading p{margin:0;font-size:11px;color:var(--muted)}
.dashboard-shortcuts{display:flex;flex-wrap:wrap;gap:8px}
.dashboard-shortcut{appearance:none;display:inline-flex;align-items:center;gap:10px;min-height:40px;padding:8px 12px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--primary);font:650 11px Inter,system-ui,sans-serif;cursor:pointer}
.dashboard-shortcut span{color:var(--success);font-size:15px}
.dashboard-shortcut:hover{background:#EAF0F5;border-color:#B7C7D1}
.dashboard-panel .empty{padding:18px 12px;border:1px dashed #CAD8D6;border-radius:10px;background:#F8F9FC;font-size:11px;line-height:1.5}
.dashboard-panel .section-head .button:focus-visible,.dashboard-quick-actions .button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:1120px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.dashboard-overview-grid,.dashboard-work-grid,.dashboard-activity-grid{grid-template-columns:1fr}.layout{grid-template-columns:205px minmax(0,1fr);gap:16px}}
@media(max-width:760px){
 .app-shell{padding:0 12px}
 .layout{display:flex;flex-direction:column;gap:8px}
 .sidebar{display:flex!important}
 main{padding:4px 0 22px}
 .hero{padding:14px 2px 8px;margin-bottom:12px}
 .hero h1{font-size:27px}
 .dashboard-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:13px}
 .dashboard-quick-actions .button{width:100%;min-width:0;padding:9px 8px;font-size:11px}
 .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:13px}
 .dashboard-stat{min-height:106px;padding:12px 11px;gap:9px}
 .dashboard-stat-icon{flex-basis:35px;width:35px;height:35px;border-radius:9px}
 .dashboard-stat-icon svg{width:18px;height:18px}
 .dashboard-stat .stat-value{font-size:25px}
 .dashboard-stat-note{font-size:10px}
 .dashboard-panel{padding:14px 13px}
 .dashboard-panel .section-head{align-items:flex-start;gap:7px}
 .dashboard-panel .section-head .button{min-height:38px;padding:7px 8px;font-size:10px}
 .dashboard-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .pulse-stat{min-height:68px}
 .dashboard-area-copy{align-items:flex-start;flex-direction:column;gap:2px}
 .dashboard-area-copy small{font-size:9px}
 .dashboard-shortcuts{flex-wrap:nowrap;overflow-x:auto;padding:2px 2px 9px;scrollbar-width:thin}
 .dashboard-shortcut{flex:0 0 auto}
}
@media(max-width:360px){
 .dashboard-stat{gap:7px;padding:11px 9px}
 .dashboard-stat-icon{flex-basis:31px;width:31px;height:31px}
 .dashboard-stat .stat-value{font-size:23px}
 .dashboard-panel .section-head{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
 .dashboard-stat,.dashboard-shortcut,.dashboard-area-row,.pulse-stat{transition:none;transform:none}
}


/* SUKUMA! premium dashboard refinement — one rhythm, fewer competing surfaces. */
:root{
 --background:#F4F6FA;
 --surface:#FFFFFF;
 --surface-soft:#F8F9FC;
 --border:#E3E9EF;
 --text:#172B36;
 --muted:#526575;
 --primary:#00263B;
 --accent:#004B5C;
 --success:#176B45;
}
html,body{background:var(--background)}
.app-shell{max-width:1680px;padding-inline:clamp(14px,2.4vw,36px)}
.topbar{
 position:sticky;top:0;z-index:20;min-height:78px;margin:0 0 16px;padding:13px 20px;
 display:flex;align-items:center;gap:18px;
 background:linear-gradient(112deg,#00263B 0%,#00263B 62%,#004B5C 100%);
 color:#fff;border:0;border-radius:0 0 18px 18px;
 box-shadow:0 10px 28px rgba(13,48,57,.18);
}
.topbar .brand{flex:0 0 auto}
.topbar .brand small{color:#D7E1E9}
.topbar .brand-mark{width:190px!important;max-width:36vw;filter:none}
.topbar .top-actions{min-width:0}
.topbar .global-search{width:min(300px,27vw);background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);color:#fff}
.topbar .global-search::placeholder{color:#D7E1E9}
.topbar .top-actions .pill{background:#E8EEF3;border:1px solid #D7E1E9;color:#00263B}
.topbar .top-actions .button.secondary{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.28);color:#fff}
.topbar .top-actions .button.secondary:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.5)}
.layout{grid-template-columns:244px minmax(0,1fr);gap:24px;min-height:calc(100vh - 180px)}
.sidebar{
 position:sticky;top:94px;max-height:calc(100vh - 112px);overflow-y:auto;
 padding:16px 11px;background:linear-gradient(180deg,#00263B 0%,#00263B 100%);
 border:1px solid #003B4D;border-radius:18px;
 box-shadow:0 12px 30px rgba(16,47,57,.12);
}
.nav-group{gap:4px;margin-bottom:15px}
.nav-group+.nav-group{padding-top:8px;border-top:1px solid rgba(255,255,255,.09)}
.nav-group-label{margin:10px 11px 7px;color:#B7C7D1;font-size:9px;letter-spacing:.14em}
.sidebar .nav{min-height:42px;padding:9px 12px;border-radius:10px}
.sidebar .nav span{font-size:12px;font-weight:600}
.sidebar .nav.active{background:rgba(49,183,165,.17);border-color:rgba(49,183,165,.3);box-shadow:inset 3px 0 #54D0BB}
main{padding:8px 0 36px}
.hero{margin:0 0 17px;padding:13px 2px 8px}
.hero .eyebrow{margin:0 0 7px;color:#004B5C;font-size:10px;font-weight:800;letter-spacing:.15em}
.hero h1{margin:0 0 7px;font-family:Montserrat,Inter,sans-serif;font-size:clamp(27px,2.5vw,34px);font-weight:800;letter-spacing:-.045em;line-height:1.18;color:#00263B}
.hero .muted{margin:0;max-width:65ch;font-size:13px;line-height:1.55;color:#526575}
.hero #quickAdd{min-height:44px;padding-inline:18px;border-radius:11px;box-shadow:0 5px 14px rgba(18,59,70,.13)}
.dashboard-quick-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 16px}
.dashboard-quick-actions .button{min-height:42px;padding:10px 15px;border-radius:10px;font-size:12px}
.dashboard-quick-actions .button.secondary{background:#fff;border-color:#DCE5E9;color:#003B4D}
.dashboard-quick-actions .button.secondary:hover{background:#EAF5F2;border-color:#B7DAD2}
.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 17px}
.dashboard-stat{
 min-height:116px;padding:17px 16px;gap:13px;align-items:flex-start;
 background:#fff;border:1px solid #E5EBF1;border-radius:16px;
 box-shadow:0 5px 18px rgba(25,52,67,.045);
 transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.dashboard-stat:hover{transform:translateY(-2px);border-color:#D7E1E9;box-shadow:0 10px 25px rgba(25,52,67,.09)}
.dashboard-stat-icon{width:42px;height:42px;flex-basis:42px;border-radius:12px;background:#E8F5F2;color:#176B65}
.dashboard-stat-copy{gap:5px}
.dashboard-stat .stat-label{font-size:9px;letter-spacing:.09em;color:#526575}
.dashboard-stat .stat-value{font-size:clamp(26px,2.2vw,32px);font-weight:800;letter-spacing:-.045em;color:#00263B}
.dashboard-stat-note{font-size:10px;color:#526575}
.dashboard-stat-attention .dashboard-stat-icon{background:#FFF3E8;color:#9A5A1C}
.dashboard-stat-attention .stat-value{color:#9A5A1C}
.dashboard-progress-track{height:5px;background:#E8EFF1}
.dashboard-progress-track i{background:linear-gradient(90deg,#004B5C,#69C9B8)}
.dashboard-overview-grid,.dashboard-work-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);gap:16px;align-items:stretch;margin:0 0 16px}
.dashboard-panel{
 min-width:0;padding:20px;background:#fff;border:1px solid #E4EAF0;border-radius:18px;
 box-shadow:0 6px 22px rgba(25,52,67,.045);
}
.dashboard-panel .section-head{align-items:flex-start;gap:14px;margin:0 0 16px;padding:0 0 14px;border-bottom:1px solid #EDF1F4}
.dashboard-panel .section-head h2{font-size:16px;line-height:1.3;font-weight:800;letter-spacing:-.02em;color:#00263B}
.dashboard-panel .section-head p{margin-top:5px;font-size:11px;line-height:1.5;color:#526575}
.dashboard-panel .section-head .button{min-height:36px;padding:8px 11px;border-radius:9px;font-size:10px}
.dashboard-pulse-grid{gap:9px;margin-bottom:18px}
.pulse-stat{min-height:78px;padding:12px 13px;background:#F8F9FC;border:1px solid #E8EEF2;border-radius:12px;transition:background .15s ease,border-color .15s ease}
.pulse-stat:hover{background:#E8EEF3;border-color:#D7E1E9}
.pulse-stat span{font-size:9px;letter-spacing:.07em;color:#526575}
.pulse-stat strong{font-size:24px;color:#00263B}
.dashboard-area-heading{margin:0 0 10px;font-size:11px;letter-spacing:.01em;color:#003B4D}
.dashboard-area-list{gap:9px}
.dashboard-area-row{padding:10px 11px;border:1px solid #EDF1F4;border-radius:11px}
.dashboard-area-row:hover{background:#F9FCFB;border-color:#D7E1E9}
.dashboard-area-track{height:6px;background:#EDF2F4}
.dashboard-area-track i{background:#004B5C}
.dashboard-data-note{margin-top:12px;font-size:10px;color:#526575}
.dashboard-panel .list{gap:8px}
.dashboard-panel .row{min-height:60px;padding:11px 12px;background:#FBFCFD;border:1px solid #EBF0F3;border-radius:11px;transition:background .15s ease,border-color .15s ease}
.dashboard-panel .row:hover{background:#F8F9FC;border-color:#C5E1DB}
.dashboard-panel .row-title{font-size:12px;font-weight:750;color:#003B4D}
.dashboard-panel .row-detail{font-size:10px;color:#526575}
.dashboard-panel .row-meta{font-size:9px;color:#50776F}
.dashboard-panel .empty{padding:20px 14px;background:#FAFCFD;border:1px dashed #D8E2E8;border-radius:12px;color:#526575}
.dashboard-alert-row .button{min-height:36px;border-radius:9px}
.dashboard-activity-stream{margin:0 0 16px}
.dashboard-activity-columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:20px}
.dashboard-activity-column{min-width:0}
.dashboard-activity-column+.dashboard-activity-column{padding-left:20px;border-left:1px solid #E8EEF3}
.dashboard-subsection-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
.dashboard-subsection-head h3{margin:0;font-size:12px;font-weight:800;color:#003B4D}
.dashboard-subsection-head>span{font-size:10px;color:#526575}
.dashboard-subsection-head .button{min-height:32px;padding:6px 9px;font-size:10px}
.dashboard-activity-stream .dashboard-click-row{min-height:58px}
.dashboard-activity-marker{width:8px;height:8px;flex-basis:8px;background:#004B5C;box-shadow:0 0 0 4px #E6F5F1}
.dashboard-shortcuts-section{margin:0 0 24px;padding:18px 0 0;border-top:1px solid #E3EAF0}
.dashboard-shortcuts-heading h2{font-size:14px;color:#00263B}
.dashboard-shortcuts-heading p{font-size:11px;color:#526575}
.dashboard-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.dashboard-shortcut{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:44px;padding:10px 12px;background:#fff;border:1px solid #E8EEF2;border-radius:11px;color:#003B4D;font-size:11px;font-weight:700;transition:background .15s ease,border-color .15s ease}
.dashboard-shortcut:hover{background:#E8EEF3;border-color:#D7E1E9}
.dashboard-shortcut span{color:#269D8D;font-size:16px}
.dashboard-stat:focus-visible,.pulse-stat:focus-visible,.dashboard-area-row:focus-visible,.dashboard-shortcut:focus-visible,.dashboard-click-row:focus-visible{outline:3px solid #004B5C;outline-offset:3px}
@media(max-width:1120px){
 .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dashboard-overview-grid,.dashboard-work-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .dashboard-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
 .layout{grid-template-columns:204px minmax(0,1fr);gap:16px}
 .dashboard-overview-grid,.dashboard-work-grid{grid-template-columns:1fr}
 .dashboard-panel{padding:17px}
}
@media(max-width:760px){
 .app-shell{padding-inline:12px}
 .topbar{position:relative;min-height:0;flex-direction:column;align-items:stretch;gap:11px;padding:12px 14px;border-radius:0 0 15px 15px}
 .topbar .brand-mark{width:158px!important;max-width:64vw}
 .topbar .top-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px}
 .topbar .global-search{grid-column:1/-1;grid-row:1;width:100%;max-width:none}
 .topbar .top-actions .pill{grid-column:1;grid-row:2;justify-self:start}
 .topbar .top-actions .button.secondary{grid-column:2;grid-row:2}
 .topbar .top-actions #installBtn{grid-column:3;grid-row:2}
 .layout{display:flex;flex-direction:column;gap:8px}
 .sidebar{display:flex!important}
 main{padding:4px 0 24px}
 .hero{margin:0 0 13px;padding:12px 2px 7px;gap:12px}
 .hero h1{font-size:26px}
 .hero .muted{font-size:12px}
 .dashboard-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
 .dashboard-quick-actions .button{width:100%;min-width:0;min-height:44px;padding:9px 8px;font-size:10px}
 .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:13px}
 .dashboard-stat{min-height:106px;padding:12px 11px;gap:9px}
 .dashboard-stat-icon{width:35px;height:35px;flex-basis:35px;border-radius:10px}
 .dashboard-stat-icon svg{width:18px;height:18px}
 .dashboard-stat .stat-value{font-size:25px}
 .dashboard-stat-note{font-size:9px}
 .dashboard-panel{padding:15px 13px;border-radius:15px}
 .dashboard-panel .section-head{align-items:flex-start;gap:8px}
 .dashboard-panel .section-head h2{font-size:15px}
 .dashboard-panel .section-head p{font-size:10px}
 .dashboard-panel .section-head .button{min-height:36px;padding:7px 8px;font-size:9px}
 .dashboard-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .pulse-stat{min-height:68px;padding:10px}
 .dashboard-area-copy{align-items:flex-start;flex-direction:column;gap:2px}
 .dashboard-area-copy small{font-size:9px}
 .dashboard-activity-columns{grid-template-columns:1fr;gap:16px}
 .dashboard-activity-column+.dashboard-activity-column{padding:15px 0 0;border-left:0;border-top:1px solid #E8EEF3}
 .dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dashboard-shortcut{min-height:44px;padding:9px 10px;font-size:10px}
}
@media(max-width:390px){
 .dashboard-metrics{gap:7px}
 .dashboard-stat{padding:10px 9px;gap:7px}
 .dashboard-stat-icon{width:31px;height:31px;flex-basis:31px}
 .dashboard-stat .stat-value{font-size:23px}
 .dashboard-panel{padding:13px 11px}
 .dashboard-panel .section-head{flex-direction:column}
 .dashboard-panel .section-head .button{width:100%}
 .dashboard-quick-actions{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
 .dashboard-stat,.dashboard-shortcut,.dashboard-area-row,.pulse-stat,.dashboard-panel .row{transition:none;transform:none}
}
