/* Light amethyst workspace; optional night mode uses the same palette. */
#login::before{background:linear-gradient(110deg,#8e62bd24,#bb96d91a)}
#login .login-form{background:linear-gradient(145deg,#67447ae8,#49315ee8);border-color:#dbc1ed88;box-shadow:0 20px 60px #29133b35}
#login .login-headline span{color:#edd9ff}#login .login-form input:not([type=radio]){background:#50336c75;border-color:#d8bfea88}
#shell{background:#f6f2fa;color:#463451}#shell>aside{background:linear-gradient(165deg,#e9dcf4,#f4edf9);border-color:#ddcce9}
#shell .brand{background:transparent}#shell nav a{color:#685075}#shell nav a:hover{background:#decaed;color:#422750}#shell nav a.active{background:#b58ad3;color:#291b37;box-shadow:inset 3px 0 #8753b2}
#shell>aside>.nav-label,#shell>aside>.sidebar-foot,#shell .sidebar-foot small{color:#7c608e}
#shell .page-head{background:linear-gradient(110deg,#e8d9f4,#d5b9eb);border-color:#d0b6e3;color:#432751;min-height:150px}
#shell .page-head h1{color:#432751}#shell .page-head p,#shell .page-head .eyebrow{color:#705680}
#shell .stat,#shell .stat:first-child{background:linear-gradient(145deg,#eee3f7,#e5d4f0);border-color:#ddc8eb}
#shell .stat strong,#shell .stat:first-child strong{color:#704298}#shell .stat-label,#shell .stat small{color:#795d89}
#shell .stat.warning strong{color:#985637}#shell .stat.good strong{color:#39745e}
#shell .page-head button{color:#624677;border-color:#b993cf;background:#ffffff66}
#shell .page-head .primary,#shell .primary,#modal .primary{color:#fff;background:#9462b9;border-color:#9462b9}
#shell button,#shell a.primary,#shell a.guide-open,#modal button,#login .login-form button.icon-action.action-labeled,#shell .page-head .icon-action.action-labeled,#shell .primary.icon-action.action-labeled,#modal .primary.icon-action.action-labeled{border-radius:7px}
.workspace-company{display:flex;align-items:center;gap:10px;border:1px solid #c9afd9;background:#ffffff9c;border-radius:8px;padding:12px;margin:0 0 22px;min-height:70px;overflow-wrap:anywhere;font-size:12px;color:#594168}
.workspace-company img{max-width:62px;max-height:48px;object-fit:contain}.workspace-company .firm-avatar{width:40px;height:40px;flex-shrink:0}
#shell .topbar{position:relative;z-index:12;justify-content:flex-end}#shell .topbar>div{display:flex;gap:12px;align-items:center}
#workspace-tools{display:flex;align-items:center;gap:8px}#shell .workspace-tool{display:flex;align-items:center;justify-content:center;position:relative;background:#f3eaf9;border:1px solid #dac6e7;color:#80549f;width:40px;height:40px;padding:8px}
.workspace-tool span:not(:empty){position:absolute;top:-5px;right:-5px;background:#9462b9;color:white;font-size:9px;border-radius:5px;padding:2px 4px}
#workspace-inbox{position:absolute;right:22px;top:60px;width:min(390px,calc(100vw - 90px));max-height:65vh;overflow:auto;background:#fff;border:1px solid #d3b9e3;box-shadow:0 15px 50px #51346635;padding:20px;border-radius:9px;color:#513466}
.inbox-item{display:block;padding:13px 4px;border-top:1px solid #eadff1;font-size:12px}.inbox-item[data-kind=warning]{color:#8f4b39}
.list-search{display:block;padding:16px 22px;max-width:600px}.assessment-chips{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.assessment-chip{display:flex;flex-direction:column;gap:6px;width:160px;min-height:112px;border:1px solid #d5bde4;border-radius:6px;background:#f5edf9;padding:12px;overflow-wrap:anywhere;font-size:11px}.assessment-chip strong{font-size:12px}.assessment-chip small{color:#80658f}
html[data-theme=dark] #shell{background:#30263b;color:#ecdef6}html[data-theme=dark] #shell>aside{background:#403149;border-color:#685073}html[data-theme=dark] #shell nav a{color:#e5cfef}html[data-theme=dark] #shell .page-head,html[data-theme=dark] #shell .stat{background:#59416c;border-color:#88669e}
html[data-theme=dark] #shell .page-head h1,html[data-theme=dark] #shell .stat strong{color:#f3e5ff}html[data-theme=dark] #shell .page-head p,html[data-theme=dark] #shell .stat-label,html[data-theme=dark] #shell .stat small{color:#d9c5e5}
html[data-theme=dark] #shell .panel,html[data-theme=dark] #shell .panel-head,html[data-theme=dark] #shell .topbar,html[data-theme=dark] #workspace-inbox,html[data-theme=dark] #modal{background:#44334f;color:#ecdef6;border-color:#70517e}
html[data-theme=dark] #shell h2,html[data-theme=dark] #shell h3,html[data-theme=dark] #shell td,html[data-theme=dark] #shell label,html[data-theme=dark] #modal label,html[data-theme=dark] #modal h2{color:#ecdef6}
html[data-theme=dark] #shell th,html[data-theme=dark] #shell input,html[data-theme=dark] #shell select,html[data-theme=dark] #shell textarea,html[data-theme=dark] #modal input,html[data-theme=dark] #modal select,html[data-theme=dark] #modal textarea{background:#36283f;color:#ebd9f6;border-color:#81648f}
html[data-theme=dark] #shell .firm-rights,html[data-theme=dark] #shell .notice,html[data-theme=dark] #shell .assessment-chip,html[data-theme=dark] #shell .catalog-group>summary,html[data-theme=dark] #shell tr:hover td{background:#513e5f;color:#e9d9f3}html[data-theme=dark] #shell a{color:#d5b0ef}html[data-theme=dark] .workspace-company{background:#5a436b;color:#f2e5fa}
@media(max-width:760px){.workspace-company{padding:4px;min-height:46px;justify-content:center}.workspace-company strong{display:none}.workspace-company img{max-width:40px;max-height:36px}#shell .topbar{padding:8px;height:auto;min-height:60px}#shell .topbar>div{gap:5px;flex-wrap:wrap;justify-content:flex-end}#shell #user-name{font-size:11px}.topbar .user-avatar{display:none}#workspace-tools{gap:4px}#shell .workspace-tool{width:36px;height:36px;min-height:36px}.assessment-chip{width:100%}#shell .page-head{min-height:0}}

html[data-theme=dark] #shell .muted,html[data-theme=dark] #shell .page-head .eyebrow,html[data-theme=dark] #shell>aside>.nav-label,html[data-theme=dark] #shell .sidebar-foot,html[data-theme=dark] #shell .sidebar-foot small{color:#cdb7dc}
#shell .workspace-tool:focus-visible{outline:2px solid #80549f;outline-offset:3px}

#login .login-wordmark img{width:280px;max-width:100%;height:auto}#login .login-headline{font-size:clamp(28px,2.6vw,34px);letter-spacing:-1.2px;line-height:1.2}
@media(max-width:760px){#login .login-wordmark img{width:220px}#login .login-headline{font-size:28px}}
