:root{font-family:'DM Sans',sans-serif;color:#202124;background:#ffffff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;font-weight:400}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}a{color:inherit}.login-layout{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;background:#fbfcfe}.login-heading{display:flex;flex-direction:column;align-items:center;margin:0 0 28px;text-align:center}.login-logo{display:block;width:250px;height:auto;max-height:84px;object-fit:contain}.panel-topline,.brand,.panel-footer,.form-footer{display:flex;align-items:center;justify-content:space-between}.brand{display:none}.form-panel{width:min(100%,480px);display:flex;flex-direction:column;justify-content:center;min-height:0;padding:31px 32px 10px;border:1px solid #e2e4e9;border-radius:24px;background:#fff;box-shadow:0 18px 32px rgba(25,35,55,.13),0 3px 6px rgba(25,35,55,.04);transition:box-shadow .34s ease,transform .34s cubic-bezier(.2,.75,.25,1)}.form-panel.is-code-step{box-shadow:0 18px 32px rgba(25,35,55,.13),0 3px 6px rgba(25,35,55,.04)}.form-panel.is-run-step{opacity:1;visibility:visible}.form-wrap{width:100%;max-width:416px;margin:0 auto}.step-heading{position:relative;margin-bottom:26px}.step-heading h1{margin:0;color:#202124;font-size:22px;font-weight:700;letter-spacing:-.035em}.step-heading p{margin:8px 0 0;color:#777d88;font-size:13px;line-height:1.5}.run-summary{display:inline-block;margin-top:12px;padding:5px 9px;border-radius:6px;background:#f3f4f6;color:#565b65;font-size:12px;font-weight:600;letter-spacing:.04em}.back-button{position:absolute;top:0;right:0;width:32px;height:32px;display:grid;place-items:center;border:1px solid #e5e6eb;border-radius:8px;background:#fff;color:#6e7480;cursor:pointer;transition:color .18s,border-color .18s}.back-button:hover{border-color:#d9242f;color:#d9242f}.back-button:focus-visible{outline:2px solid #d9242f;outline-offset:2px}.login-form{display:flex;flex-direction:column;gap:21px}.step-content{animation:step-in .3s cubic-bezier(.2,.75,.25,1) both}.is-code-step .step-content{animation-duration:.38s;animation-timing-function:cubic-bezier(.16,1,.3,1)}.is-code-step .step-heading{animation:heading-in .36s cubic-bezier(.16,1,.3,1) both}.field-group label{display:block;margin-bottom:7px;color:#4d4f58;font-size:12px;font-weight:600;letter-spacing:.035em;text-transform:uppercase}.input-control{border:1px solid #dedfe4;border-radius:12px;background:#ffffff;color:#969aa5;transition:border-color .18s,background .18s}.input-control:focus,.input-control:focus-within{border-color:#d9242f;background:#fff;box-shadow:none}.input-control.has-error{border-color:#d9242f;background:#fffafa}.input-shell{height:44px;display:flex;align-items:center;gap:12px;padding:0 14px}.input-shell input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#24262b;font-size:13px}.input-shell input::placeholder{color:#a1a4ad}.code-inputs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}.code-digit{width:100%;min-width:0;height:52px;color:#24262b;text-align:center;font-size:20px;font-weight:600;outline:none}.code-inputs.has-error .input-control{border-color:#d9242f;background:#fffafa}.field-error{margin:7px 0 0;color:#b51e27;font-size:11px;line-height:1.4}.submit-button{height:45px;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 16px;border:0;border-radius:12px;background:#d9242f;color:#fff;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 2px 3px rgba(217,36,47,.2);transition:background .18s,transform .18s,box-shadow .18s}.submit-button:hover{background:#c31f2a;box-shadow:0 5px 12px rgba(217,36,47,.2);transform:translateY(-1px)}.submit-button:active{transform:translateY(0)}.submit-button:focus-visible{outline:2px solid #9a1820;outline-offset:3px}.form-message{min-height:16px;margin:12px 0 0;color:#a81c26;font-size:11px;line-height:1.5}.form-message:not(.is-error):empty{margin-top:0}.form-message.is-error{color:#b51e27}.signup-note{margin:12px 0 0;text-align:center;color:#8b8e96;font-size:11px}.form-footer{width:100%;max-width:360px;margin:27px auto 0;color:#aaa;font-size:10px}.form-footer a{color:#777;text-decoration:none}.form-footer a:hover{text-decoration:underline;text-underline-offset:3px}@keyframes step-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes step-out{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-7px)}}@keyframes heading-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:480px){.login-layout{padding:28px 18px}.login-heading{margin-bottom:24px}.login-logo{width:min(220px,64vw);max-height:74px}.form-panel{width:min(100%,420px);padding:26px 22px 9px;border-radius:20px}.login-form{gap:19px}.form-options{font-size:10px}.form-footer{margin-top:23px}}@media(max-width:360px){.form-panel{padding:23px 18px 8px}.step-heading h1{font-size:20px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important;filter:none!important}}
.code-subtitle-line{display:flex;align-items:baseline;justify-content:flex-start;gap:4px;flex-wrap:nowrap;min-width:0}.code-subtitle-line p{margin:8px 0 0;font-size:13px;line-height:1.5;white-space:nowrap}.code-subtitle-line .run-summary{flex:none;margin:8px 0 0;padding:0;background:transparent;color:#565b65;font-size:13px;font-weight:600;letter-spacing:0;white-space:nowrap}@media(max-width:480px){.code-subtitle-line{flex-wrap:wrap;gap:2px 8px}.code-subtitle-line p,.code-subtitle-line .run-summary{font-size:13px}.code-subtitle-line p{white-space:normal}}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.error-toast{position:fixed;right:24px;bottom:24px;z-index:20;display:grid;grid-template-columns:20px minmax(0,1fr) 28px;align-items:center;gap:11px;width:min(420px,calc(100vw - 32px));padding:13px 14px;border:1px solid #e7e7e9;border-radius:10px;background:#fff;color:#34343a;font-size:13px;line-height:1.45;animation:toast-in .2s ease-out both}.error-toast>svg{color:#d9242f}.error-toast button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;background:transparent;color:#777;cursor:pointer}.error-toast button:hover{background:#f3f3f4;color:#242424}.error-toast button:focus-visible{outline:2px solid #d9242f;outline-offset:2px}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:480px){.error-toast{right:16px;bottom:16px}}.toast-stack{position:fixed;right:24px;bottom:24px;z-index:20;display:flex;flex-direction:column;align-items:stretch;gap:10px;width:min(420px,calc(100vw - 32px));pointer-events:none}.toast-stack .error-toast{position:relative;right:auto;bottom:auto;z-index:auto;width:100%;padding:13px 14px;border:1px solid #e2e4e9;border-radius:12px;background:#fff;color:#34343a;box-shadow:none;pointer-events:auto}.toast-stack .error-toast>svg{color:#d9242f}.toast-stack .error-toast>span{font-size:13px}.toast-stack .error-toast button:hover{background:#ffffff;color:#d9242f}@media(max-width:480px){.toast-stack{right:16px;bottom:16px}}.toast-stack{height:104px;display:block;pointer-events:none}.toast-stack .error-toast{position:absolute;right:0;bottom:0;z-index:var(--stack-z);box-shadow:none;opacity:var(--stack-opacity);transform:translate(var(--stack-x),var(--stack-y)) scale(var(--stack-scale));transform-origin:right bottom;transition:transform .2s ease,opacity .2s ease;animation:none}.copyright-note{margin:0;text-align:center;color:#8f949d;font-size:11px;line-height:1.5;font-weight:400}
.theme-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 30;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #555b66;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.theme-toggle:hover {
  background: transparent;
  color: #d9242f;
  transform: translateY(-1px);
}
.theme-toggle:active { transform: translateY(0); }
.theme-toggle:focus-visible {
  outline: 2px solid #d9242f;
  outline-offset: 3px;
}
.login-layout[data-theme="dark"] {
  background: #1d1d20;
}
.login-layout[data-theme="dark"] .form-panel {
  border-color: #38383f;
  background: #232327;
  box-shadow: none;
}
.login-layout[data-theme="dark"] .step-heading h1 { color: #f0f1f3; }
.login-layout[data-theme="dark"] .step-heading p { color: #aaaab2; }
.login-layout[data-theme="dark"] .input-control {
  border-color: #48484f;
  background: #2d2d32;
  color: #b7b7bf;
}
.login-layout[data-theme="dark"] .input-control:focus,
.login-layout[data-theme="dark"] .input-control:focus-within {
  border-color: #d9242f;
  background: #28282d;
}
.login-layout[data-theme="dark"] .input-control.has-error,
.login-layout[data-theme="dark"] .code-inputs.has-error .input-control {
  border-color: #d9242f;
  background: #30262a;
}
.login-layout[data-theme="dark"] .input-shell input { color: #f0f1f3; }
.login-layout[data-theme="dark"] .input-shell input::placeholder { color: #91919a; }
.login-layout[data-theme="dark"] .run-summary {
  background: #37373d;
  color: #ceced4;
}
.login-layout[data-theme="dark"] .field-error,
.login-layout[data-theme="dark"] .form-message.is-error { color: #ff858b; }
.login-layout[data-theme="dark"] .copyright-note { color: #92929a; }
.login-layout[data-theme="dark"] .toast-stack .error-toast {
  border-color: #3a3a41;
  background: #29292e;
  color: #e9e9ed;
}
.login-layout[data-theme="dark"] .toast-stack .error-toast button { color: #b7b7bf; }
.login-layout[data-theme="dark"] .toast-stack .error-toast button:hover {
  background: #3a3a41;
  color: #fff;
}
.login-layout[data-theme="dark"] .theme-toggle {
  background: transparent;
  color: #e1e1e6;
}
.login-layout[data-theme="dark"] .theme-toggle:hover {
  background: transparent;
  color: #ff7a82;
}
.form-panel,
.form-panel.is-code-step { box-shadow: none; }
.resend-code-prompt {
  margin: -8px 0 0;
  color: #777d88;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
.resend-code-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #d9242f;
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.resend-code-button:hover { color: #c31f2a; }
.resend-code-button:disabled { color: #777d88; cursor: not-allowed; text-decoration: none; }
.resend-code-button:focus-visible { outline: 2px solid #d9242f; outline-offset: 3px; border-radius: 2px; }
.login-layout[data-theme="dark"] .resend-code-prompt { color: #aaaab2; }
.login-layout[data-theme="dark"] .resend-code-button:disabled { color: #aaaab2; }
.dashboard-layout{--db:#f8f9fb;--dp:#fff;--dt:#24262b;--dm:#858a95;--dl:#e9eaee;min-height:100vh;display:grid;grid-template-columns:244px minmax(0,1fr);background:var(--db);color:var(--dt);font-family:'DM Sans',sans-serif}.dashboard-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:27px 18px 20px;border-right:1px solid var(--dl);background:var(--dp)}.dashboard-brand{display:flex;align-items:center;gap:10px;margin:0 8px 47px;color:var(--dt);font-size:16px;font-weight:700;text-decoration:none}.dashboard-brand img{width:36px;height:36px;object-fit:contain}.sidebar-label{margin:0 10px 12px;color:#a2a6af;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.sidebar-nav{display:grid;gap:5px}.sidebar-link{height:43px;display:flex;align-items:center;gap:12px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:#747984;text-align:left;font-size:13px;cursor:pointer}.sidebar-link:hover{background:#f6f6f8}.sidebar-link.is-active{background:#fff0f1;color:#c9222d;font-weight:600}.sidebar-link:focus-visible,.profile-trigger:focus-visible,.sidebar-mobile-toggle:focus-visible{outline:2px solid #d9242f;outline-offset:2px}.sidebar-bottom{display:flex;align-items:center;gap:9px;margin-top:auto;padding:14px 9px 0;border-top:1px solid var(--dl);color:#9297a1;font-size:11px}.sidebar-status-dot{width:8px;height:8px;border-radius:50%;background:#45aa77;box-shadow:0 0 0 3px #e9f6ef}.dashboard-main{min-width:0}.dashboard-topbar{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 32px;border-bottom:1px solid var(--dl);background:var(--dp)}.topbar-breadcrumb{display:flex;align-items:center;gap:11px;color:#9297a1;font-size:12px}.topbar-breadcrumb strong{color:#393c43}.breadcrumb-divider{color:#c7c9cf}.topbar-actions{display:flex;align-items:center;gap:15px}.dashboard-search{width:170px;height:36px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--dl);border-radius:8px;color:#9a9ea7}.dashboard-search input{width:100%;border:0;outline:0;background:transparent;font-size:12px}.dashboard-theme-toggle.theme-toggle{position:static;flex:none;width:36px;height:36px;border:0;border-radius:9px;background:transparent;box-shadow:none}.profile-menu-wrap{position:relative}.profile-trigger{display:flex;align-items:center;gap:9px;padding:3px;border:0;background:transparent;color:#727782;text-align:left;cursor:pointer}.profile-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#f9e5e6;color:#bf202a;font-size:11px;font-weight:700}.profile-copy{display:grid;gap:2px;min-width:100px}.profile-copy strong{color:#34363c;font-size:11px}.profile-copy small{color:#969ba4;font-size:10px}.profile-dropdown{position:absolute;top:calc(100% + 12px);right:0;z-index:40;width:220px;padding:8px;border:1px solid var(--dl);border-radius:11px;background:var(--dp);box-shadow:0 12px 32px #1a1f2a24}.profile-dropdown-heading{display:grid;gap:4px;padding:10px;border-bottom:1px solid var(--dl);font-size:12px}.profile-dropdown-heading span{color:var(--dm);font-size:10px}.profile-dropdown button{width:100%;height:38px;display:flex;align-items:center;gap:9px;margin-top:5px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#bb2530;text-align:left;font-size:12px;cursor:pointer}.profile-dropdown button:hover{background:#fff0f1}.profile-dropdown button:focus-visible{outline:2px solid #d9242f}.sidebar-mobile-toggle{display:none}.dashboard-content{width:min(100%,1440px);margin:auto;padding:34px 32px 20px}.dashboard-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:27px}.dashboard-eyebrow{margin:0 0 7px;color:#969ba4;font-size:11px}.dashboard-page-heading h1{margin:0;font-size:25px;letter-spacing:-.045em}.dashboard-page-heading>div>p:last-child{margin:7px 0 0;color:var(--dm);font-size:12px}.date-filter{height:36px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--dl);border-radius:8px;background:var(--dp);color:#676c76;font-size:11px}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.metric-card,.dashboard-panel{border:1px solid var(--dl);border-radius:11px;background:var(--dp)}.metric-card{min-height:143px;padding:17px}.metric-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#777c86;font-size:11px}.metric-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px}.metric-icon-blue{background:#eaf1ff;color:#5482dc}.metric-icon-red{background:#fff0f0;color:#d74b54}.metric-icon-amber{background:#fff5e5;color:#d99b37}.metric-icon-green{background:#e8f6ef;color:#45a878}.metric-value{display:block;margin-top:9px;font-size:26px;line-height:1.1;font-weight:700;letter-spacing:-.04em}.metric-unit{margin-left:1px;font-size:18px}.metric-trend{display:flex;align-items:center;gap:4px;margin:7px 0 0;color:#45a878;font-size:10px}.metric-trend span{margin-left:2px;color:#a0a4ad}.metric-trend.is-down{color:#d18455}.metric-trend.is-neutral{color:#d99b37}.dashboard-lower-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.9fr);gap:15px;margin-bottom:18px}.dashboard-panel{padding:19px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.panel-heading h2,.section-placeholder h2{margin:0;font-size:14px}.panel-heading p{margin:5px 0 0;color:#9a9ea7;font-size:10px}.text-action{padding:3px 0;border:0;background:transparent;color:#ce2630;font-size:10px;font-weight:600;cursor:pointer}.text-action:hover{text-decoration:underline}.activity-list{margin-top:13px}.activity-row{min-height:55px;display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:10px;border-top:1px solid #f0f1f3}.activity-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px}.activity-icon-red{background:#fff0f0;color:#d74b54}.activity-icon-blue{background:#eaf1ff;color:#5482dc}.activity-icon-green{background:#e8f6ef;color:#45a878}.activity-icon-amber{background:#fff5e5;color:#d99b37}.activity-row>div{display:grid;gap:4px;min-width:0}.activity-row>div strong{overflow:hidden;color:#4a4d54;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.activity-row>div span{color:#a0a4ad;font-size:9px}.activity-score{color:#4d9c72;font-size:10px;font-weight:700}.activity-tag,.activity-pending{padding:4px 7px;border-radius:12px;background:#f2f4f7;color:#838994;font-size:9px}.activity-pending{background:#fff6e7;color:#c38a32}.progress-percent{color:#d02a34;font-size:22px;font-weight:700}.progress-chart{position:relative;height:166px;margin-top:15px;padding-left:35px}.chart-grid-lines{position:absolute;inset:0 0 19px;display:flex;flex-direction:column;justify-content:space-between}.chart-grid-lines span{position:relative;color:#a4a8b0;font-size:8px}.chart-grid-lines span::after{position:absolute;top:50%;right:0;left:32px;height:1px;background:#f0f1f3;content:''}.chart-bars{position:absolute;inset:0 0 0 38px;display:flex;justify-content:space-around;gap:8px}.chart-column{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;color:#989da6;font-size:8px}.chart-bar-track{width:min(22px,70%);height:calc(100% - 19px);display:flex;align-items:flex-end}.chart-bar{width:100%;min-height:3px;border-radius:5px 5px 0 0;background:#f5b7ba}.chart-bar.is-highlighted{background:#d9242f}.chart-caption{display:flex;justify-content:space-between;margin-top:8px;padding-top:11px;border-top:1px solid #f0f1f3;color:#999ea7;font-size:9px}.chart-caption>span:first-child{display:flex;align-items:center;gap:6px}.chart-caption i{width:7px;height:7px;border-radius:2px;background:#d9242f}.classes-panel{padding-bottom:9px}.classes-table-wrap{overflow-x:auto;margin-top:12px}.classes-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.classes-table th{height:31px;border-bottom:1px solid #eff0f2;color:#a0a4ad;font-size:9px;font-weight:500}.classes-table td{height:43px;border-bottom:1px solid #f2f3f5;color:#666b75;font-size:10px}.classes-table tbody tr:last-child td{border:0}.classes-table td:first-child{color:#42454c;font-weight:600}.group-avatar{width:25px;height:25px;display:inline-grid;place-items:center;margin-right:8px;border-radius:7px;font-size:8px}.group-avatar-blue{background:#eaf1ff;color:#5482dc}.group-avatar-red{background:#fff0f0;color:#d74b54}.group-avatar-amber{background:#fff5e5;color:#d99b37}.table-progress{display:flex;align-items:center;gap:7px;font-size:9px}.table-progress i{width:65px;height:5px;overflow:hidden;border-radius:5px;background:#f0f1f3}.table-progress b{height:100%;display:block;border-radius:inherit;background:#d9242f}.status-pill{padding:4px 7px;border-radius:12px;font-size:8px}.status-pill-green{background:#e8f6ef;color:#45966c}.status-pill-amber{background:#fff5e5;color:#c48b35}.section-placeholder{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.placeholder-icon{width:54px;height:54px;display:grid;place-items:center;margin-bottom:14px;border-radius:15px;background:#fff0f1;color:#d9242f}.section-placeholder h2{font-size:17px}.section-placeholder p{margin:8px 0 12px;color:var(--dm);font-size:12px}.dashboard-footer{display:flex;justify-content:space-between;margin-top:20px;color:#a2a6af;font-size:9px}.dashboard-layout[data-theme="dark"]{--db:#1d1d20;--dp:#252529;--dt:#f0f1f3;--dm:#a8a8b1;--dl:#38383f}.dashboard-layout[data-theme="dark"] .topbar-breadcrumb strong,.dashboard-layout[data-theme="dark"] .profile-copy strong,.dashboard-layout[data-theme="dark"] .activity-row>div strong,.dashboard-layout[data-theme="dark"] .classes-table td:first-child{color:#e9e9ed}.dashboard-layout[data-theme="dark"] .sidebar-link:hover{background:#303035}.dashboard-layout[data-theme="dark"] .sidebar-link.is-active{background:#42292d;color:#ff858b}.dashboard-layout[data-theme="dark"] .profile-avatar{background:#452c30;color:#ff858b}.dashboard-layout[data-theme="dark"] .dashboard-search,.dashboard-layout[data-theme="dark"] .date-filter{border-color:#414148;background:#29292e;color:#c6c6ce}.dashboard-layout[data-theme="dark"] .profile-dropdown button:hover{background:#42292d}.dashboard-layout[data-theme="dark"] .chart-grid-lines span::after,.dashboard-layout[data-theme="dark"] .table-progress i{background:#38383f}.dashboard-layout[data-theme="dark"] .activity-tag{background:#37373d;color:#ceced4}
@media(max-width:1050px){.dashboard-layout{grid-template-columns:220px minmax(0,1fr)}.dashboard-topbar{padding:0 24px}.dashboard-content{padding:28px 24px 18px}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-lower-grid{grid-template-columns:1fr}.progress-chart{height:185px}}
@media(max-width:680px){.dashboard-layout{display:block}.dashboard-sidebar{position:fixed;top:0;bottom:0;left:0;z-index:25;width:270px;height:100dvh;transform:translateX(-102%);transition:transform .22s ease;box-shadow:none}.dashboard-sidebar.is-open{transform:translateX(0);box-shadow:12px 0 32px #181c261f}.sidebar-backdrop{position:fixed;inset:0;z-index:24;display:block;border:0;background:#1a1c2252}.sidebar-mobile-toggle{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--dl);border-radius:8px;background:var(--dp);color:var(--dt)}.dashboard-topbar{height:62px;gap:10px;padding:0 14px}.topbar-breadcrumb{flex:1;gap:6px;font-size:10px}.topbar-actions{gap:7px}.dashboard-search{width:32px;height:34px;justify-content:center;padding:0;border-color:transparent;background:transparent}.dashboard-search input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.dashboard-theme-toggle.theme-toggle{width:34px;height:34px}.profile-trigger{gap:0}.profile-avatar{width:33px;height:33px}.profile-copy,.profile-trigger>svg{display:none}.dashboard-content{padding:25px 16px 16px}.dashboard-page-heading{align-items:flex-start;margin-bottom:20px}.dashboard-page-heading h1{font-size:22px}.dashboard-page-heading>div>p:last-child{max-width:280px;font-size:11px;line-height:1.5}.date-filter{height:32px;gap:5px;padding:0 7px;font-size:9px}.date-filter svg:first-child{display:none}.metrics-grid{gap:10px;margin-bottom:12px}.metric-card{min-height:128px;padding:13px 12px}.metric-card-heading{font-size:10px}.metric-icon{width:29px;height:29px}.metric-value{font-size:23px}.metric-trend{flex-wrap:wrap;font-size:9px}.dashboard-lower-grid{gap:12px;margin-bottom:12px}.dashboard-panel{padding:15px 13px 12px}.activity-row{grid-template-columns:29px minmax(0,1fr) auto;gap:7px}.activity-row>div strong{font-size:9px}.activity-row>div span{font-size:8px}.activity-tag,.activity-pending{padding:4px 5px;font-size:8px}.progress-chart{height:158px}.classes-table{min-width:540px}.dashboard-footer{margin-top:15px}}
@media(max-width:380px){.dashboard-page-heading{flex-direction:column;align-items:stretch}.date-filter{align-self:flex-start}.metric-card-heading>span:first-child{max-width:86px;line-height:1.4}.dashboard-content{padding-right:12px;padding-left:12px}}
@media(prefers-reduced-motion:reduce){.dashboard-sidebar,.sidebar-link{transition:none}}
.dashboard-brand{min-height:78px;justify-content:flex-start;margin:0 8px 32px}.dashboard-brand img{width:164px;height:64px;max-width:100%;object-fit:contain;object-position:left center}.service-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),320px));gap:14px}.service-card{min-height:122px;display:flex;align-items:center;gap:15px;padding:20px;border:1px solid var(--dl);border-radius:12px;background:var(--dp);color:var(--dt);text-align:left;cursor:pointer;transition:border-color .18s,transform .18s,box-shadow .18s}.service-card:hover{transform:translateY(-2px);border-color:#e7a0a4;box-shadow:0 8px 22px #20263510}.service-card:focus-visible{outline:2px solid #d9242f;outline-offset:3px}.dashboard-layout[data-theme="dark"] .service-card:hover{border-color:#694148;box-shadow:0 8px 22px #0003}.dashboard-page-heading .text-action{flex:none}
@media (max-width: 480px) {
  .theme-toggle {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }
}
.dashboard-sidebar{padding-top:0}.dashboard-brand{height:72px;min-height:72px;flex:none;margin:0;padding:0 26px;border-bottom:1px solid var(--dl)}.dashboard-brand img{width:176px;height:56px;object-fit:contain;object-position:left center}.sidebar-nav{margin-top:16px}.dashboard-topbar{height:72px}
.dashboard-content{width:100%;max-width:none}
.services-section-heading{display:flex;align-items:center;gap:11px;margin:3px 0 22px}.services-section-heading h1{margin:0;color:var(--dt);font-size:20px;font-weight:650;letter-spacing:-.035em}.services-heading-mark{width:4px;height:23px;border-radius:4px;background:#d9242f}
.services-section-heading{display:flex;align-items:center;gap:18px;margin:2px 0 20px}.services-section-heading h1{flex:none;margin:0;color:var(--dt);font-size:18px;font-weight:600;letter-spacing:-.025em}.services-section-heading>span{height:1px;flex:1;background:var(--dl)}
.services-section-heading{display:flex;align-items:center;margin:0 0 18px}.services-section-heading h1{margin:0;color:var(--dm);font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.services-section-heading>span{display:none}


.toast-stack .alert-success>svg{color:#23824c}.login-layout[data-theme="dark"] .toast-stack .alert-success>svg{color:#6fce8f}
.service-card{text-decoration:none}



.service-card{min-height:92px;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:8px 10px 7px}.service-card-info{display:flex;align-items:flex-start;gap:8px;min-width:0}.service-updated-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border:1px solid #d8eee0;border-radius:999px;background:#f4fbf6;color:#23824c;font-size:9px;font-weight:600;line-height:1}.service-card-name{flex:0 1 auto;min-width:0;color:var(--dt);font-size:13px;line-height:1.3;font-weight:600}.service-card-status-separator{flex:none;color:var(--dm);font-size:12px}.service-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:5px;border-top:1px solid var(--dl)}.service-card-footer small{color:var(--dm);font-size:11px}.service-card-open{width:20px;height:20px;display:grid;place-items:center;border-radius:7px;background:#f6f6f8;color:#6f7480;transition:background .18s,color .18s}.service-card:hover .service-card-open{background:#fff0f1;color:#d9242f}.dashboard-layout[data-theme="dark"] .service-updated-badge{border-color:#355b43;background:#213b2d;color:#6fce8f}.dashboard-layout[data-theme="dark"] .service-card-open{background:#303035;color:#c1c1c9}.dashboard-layout[data-theme="dark"] .service-card:hover .service-card-open{background:#42292d;color:#ff858b}.service-card-grid{grid-template-columns:repeat(4,minmax(0,300px));justify-content:start;gap:12px}@media(max-width:1050px){.service-card-grid{grid-template-columns:repeat(3,minmax(0,300px))}}@media(max-width:680px){.service-card-grid{grid-template-columns:repeat(2,minmax(0,300px))}}@media(max-width:480px){.service-card-grid{grid-template-columns:minmax(0,1fr)}}

/* Microservice portals: compact launch tiles with a clear name and action. */
.service-card{position:relative;min-height:116px;gap:12px;overflow:hidden;padding:14px 15px 12px;border-radius:10px;box-shadow:0 1px 2px #20263508;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s}
.service-card::before{position:absolute;inset:0 auto 0 0;width:3px;background:#d9242f;content:'';opacity:.48;transition:opacity .18s}
.service-card:hover{transform:translateY(-2px);border-color:#e7a0a4;background:#fffdfd;box-shadow:0 8px 20px #20263510}
.service-card:hover::before,.service-card:focus-visible::before{opacity:1}
.service-card-info{align-items:center;gap:7px;min-height:33px;padding-left:2px}
.service-card-name{overflow:hidden;font-size:14px;font-weight:650;letter-spacing:-.015em;text-overflow:ellipsis}
.service-updated-badge{flex:none;padding:5px 8px;font-size:10px}
.service-card-footer{padding-top:8px;border-color:color-mix(in srgb,var(--dl) 78%,transparent)}
.service-card-footer small{font-size:11px;font-weight:500;transition:color .18s}
.service-card-open{width:25px;height:25px;border:1px solid var(--dl);border-radius:8px;background:var(--dp);color:var(--dm)}
.service-card:hover .service-card-footer small{color:#c9222d}
.dashboard-layout[data-theme="dark"] .service-card:hover{border-color:#694148;background:#292529}
.dashboard-layout[data-theme="dark"] .service-card-open{border-color:#414148;background:#303035;color:#c1c1c9}
.dashboard-layout[data-theme="dark"] .service-card:hover .service-card-open{border-color:#694148;background:#42292d;color:#ff858b}
@media(max-width:480px){.service-card{min-height:108px;padding:13px 14px 11px}.service-card-name{font-size:13px}}
/* Updated state uses a quiet green status dot instead of a pill. */
.service-card::before{display:none}
.service-card-info{gap:9px}
.service-updated-badge{display:inline-flex;align-items:center;gap:6px;flex:none;padding:0;border:0;border-radius:0;background:transparent;color:#23824c;font-size:10px;font-weight:600;line-height:1.2}
.service-updated-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#32a668;box-shadow:0 0 0 2px #e5f5eb}
.dashboard-layout[data-theme="dark"] .service-updated-badge{border:0;background:transparent;color:#79d398}
.dashboard-layout[data-theme="dark"] .service-updated-dot{background:#62cb87;box-shadow:0 0 0 2px #294333}
.interest-section-heading{margin-top:30px}.interest-section-heading h2{flex:none;margin:0;color:var(--dm);font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.interest-card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),220px));gap:10px}
.interest-card-grid .service-card{min-height:76px;padding:10px 12px 9px;gap:7px}
.interest-card-grid .service-card-info{min-height:24px}
.interest-card-grid .service-card-name{font-size:12px}
.interest-card-grid .service-card-footer{padding-top:5px}
.interest-card-grid .service-card-footer small{font-size:10px}
.interest-card-grid .service-card-open{width:21px;height:21px}
@media(max-width:480px){.interest-card-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.interest-card-grid .service-card{min-height:72px}}
/* Keep both dashboard card groups at the same compact dimensions. */
.service-card-grid,.interest-card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),220px));gap:10px}
.service-card-grid .service-card,.interest-card-grid .service-card{min-height:76px;padding:10px 12px 9px;gap:7px}
.service-card-grid .service-card-info,.interest-card-grid .service-card-info{min-height:24px}
.service-card-grid .service-card-name,.interest-card-grid .service-card-name{font-size:12px}
.service-card-grid .service-card-footer,.interest-card-grid .service-card-footer{padding-top:5px}
.service-card-grid .service-card-footer small,.interest-card-grid .service-card-footer small{font-size:10px}
.service-card-grid .service-card-open,.interest-card-grid .service-card-open{width:21px;height:21px}
@media(max-width:480px){.service-card-grid,.interest-card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),220px))}.service-card-grid .service-card,.interest-card-grid .service-card{min-height:72px}}
/* Six-column dashboard grid shared by portals and interest links. */
.service-card-grid,.interest-card-grid{grid-template-columns:repeat(6,minmax(0,1fr));width:100%;max-width:none}
.service-card-grid .service-card,.interest-card-grid .service-card{min-width:0}
.service-card-grid .service-card-info,.interest-card-grid .service-card-info{min-width:0}
.service-card-grid .service-card-name,.interest-card-grid .service-card-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1050px){.service-card-grid,.interest-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.service-card-grid,.interest-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.service-card-grid,.interest-card-grid{grid-template-columns:minmax(0,1fr)}}
/* Slightly roomier cards, shared across both sections. */
.service-card-grid .service-card,.interest-card-grid .service-card{min-height:88px;padding:12px 14px 10px;gap:8px}
.service-card-grid .service-card-info,.interest-card-grid .service-card-info{min-height:28px}
.service-card-grid .service-card-name,.interest-card-grid .service-card-name{font-size:13px}
.service-card-grid .service-card-footer,.interest-card-grid .service-card-footer{padding-top:6px}
.service-card-grid .service-card-footer small,.interest-card-grid .service-card-footer small{font-size:11px}
.service-card-grid .service-card-open,.interest-card-grid .service-card-open{width:23px;height:23px}
@media(max-width:480px){.service-card-grid .service-card,.interest-card-grid .service-card{min-height:84px;padding:11px 13px 9px}}
.theme-toggle-icon-moon{color:#6574d8;background:#f0f2ff}
.theme-toggle-icon-sun{color:#d28a12;background:#fff5dd}
.theme-toggle-icon-moon:hover{color:#5262c5;background:#e7eaff}
.theme-toggle-icon-sun:hover{color:#b97508;background:#ffedc2}
.dashboard-layout[data-theme="dark"] .dashboard-theme-toggle.theme-toggle-icon-sun{background:#3b3325;color:#ffc45b}
.dashboard-layout[data-theme="dark"] .dashboard-theme-toggle.theme-toggle-icon-sun:hover{background:#4b402c;color:#ffd078}
.interest-card-grid .interest-external-badge{display:inline-flex;align-items:center;gap:6px;color:#9a6a0a;font-weight:600}
.interest-external-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#e6ae2e;box-shadow:0 0 0 2px #fff4d6}
.dashboard-layout[data-theme="dark"] .interest-card-grid .interest-external-badge{color:#f1c85e}
.dashboard-layout[data-theme="dark"] .interest-external-dot{background:#edbd45;box-shadow:0 0 0 2px #4a4028}

/* User management screens */
.users-nav-label{margin:25px 10px 8px}
.user-section-icon,.user-feedback-icon{display:grid;place-items:center;flex:none;color:#d9242f;background:#fff0f1}
.user-form-panel,.users-list-panel{border:1px solid var(--dl);border-radius:12px;background:var(--dp)}
.user-form-panel{width:100%;max-width:none;margin-top:14px;padding:16px 18px}
.user-form-intro{display:flex;align-items:center;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--dl)}
.user-section-icon{width:36px;height:36px;border-radius:9px}
.user-form-intro h2,.users-list-heading h2{margin:0;color:var(--dt);font-size:15px;font-weight:650;letter-spacing:-.02em}
.user-form-intro p,.users-list-heading p{margin:5px 0 0;color:var(--dm);font-size:12px}
.user-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding-top:0}
.user-form label{display:grid;gap:7px;color:var(--dt);font-size:12px;font-weight:600}
.user-form input{width:100%;height:42px;padding:0 12px;border:1px solid var(--dl);border-radius:8px;background-color:var(--dp);color:var(--dt);font-size:13px;font-weight:400;outline:0;transition:border-color .16s}
.role-select-wrap{position:relative}
.role-select-trigger{width:100%;height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border:1px solid var(--dl);border-radius:8px;background:var(--dp);color:var(--dt);text-align:left;font-size:13px;font-weight:400;cursor:pointer;transition:border-color .16s}
.role-select-trigger:hover,.role-select-trigger.is-open{border-color:#c8cbd2}
.role-select-trigger:focus-visible{border-color:#d9242f;outline:0}
.role-select-trigger:disabled{opacity:.65}
.role-select-trigger>svg{flex:none;color:var(--dm);transition:transform .16s}
.role-select-trigger.is-open>svg{transform:rotate(180deg)}
.role-select-options{position:absolute;top:calc(100% + 5px);right:0;left:0;z-index:12;display:flex;flex-direction:column;gap:6px;max-height:min(320px,45vh);overflow:hidden;padding:7px;border:1px solid var(--dl);border-radius:9px;background:var(--dp);box-shadow:0 8px 22px #20263514}
.role-select-search{width:100%;height:36px;flex:none;padding:0 10px;border:1px solid var(--dl);border-radius:6px;background:var(--dp);color:var(--dt);font-size:12px;outline:0}
.role-select-search::placeholder{color:var(--dm)}
.role-select-search:focus{border-color:#d9242f}
.role-select-list{display:grid;gap:3px;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.role-select-no-results{margin:0;padding:12px 10px;color:var(--dm);font-size:12px}
.role-select-option{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 10px;border-radius:6px;color:var(--dt);font-size:12px;font-weight:500;cursor:pointer;outline:0}
.role-select-option:hover,.role-select-option.is-active{background:#f3f4f6;color:var(--dt)}
.role-select-option[aria-selected="true"]{background:#fff0f1;color:#c9222d;font-weight:650}
.role-select-option>svg{color:#d9242f}
@media(max-width:1050px){.user-form{grid-template-columns:repeat(2,minmax(0,1fr))}}.user-form input::placeholder{color:#a1a4ad}
.user-form input:focus{border-color:#d9242f}
.user-form-role{max-width:none}
.user-form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px;padding-top:4px}
.users-primary-button,.users-secondary-button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 13px;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;transition:background .16s,border-color .16s,color .16s}
.users-primary-button{background:#d9242f;color:#fff}
.users-primary-button:hover{background:#c31f2a}
.users-secondary-button{border-color:var(--dl);background:var(--dp);color:var(--dt)}
.users-secondary-button:hover{border-color:#d99a9e;color:#c9222d}
.users-primary-button:focus-visible,.users-secondary-button:focus-visible{outline:2px solid #d9242f;outline-offset:2px}
.users-primary-button:disabled,.users-secondary-button:disabled{opacity:.6;cursor:not-allowed}
.confirmation-alert-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:rgba(20,22,27,.48)}.confirmation-alert{width:min(440px,100%);padding:24px;border:1px solid #e2e4e9;border-radius:12px;background:#fff;color:#242832;box-shadow:0 18px 56px rgba(0,0,0,.18)}.confirmation-alert h2{margin:0;font-size:18px;line-height:1.35}.confirmation-alert p{margin:10px 0 22px;color:#626a76;font-size:14px;line-height:1.55}.confirmation-alert-actions{display:flex;justify-content:flex-end;gap:9px}.confirmation-alert-actions button{min-height:40px;font-size:13px}.confirmation-alert button:focus-visible{outline:2px solid #d9242f;outline-offset:3px}.dashboard-layout[data-theme="dark"] .confirmation-alert{border-color:#3a3a41;background:#29292e;color:#f0f1f3}.dashboard-layout[data-theme="dark"] .confirmation-alert p{color:#b7b7bf}
.user-form-error{display:block;color:#b51e27;font-size:11px;font-weight:400;line-height:1.5}
.user-form-error button{padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:650;text-decoration:underline;cursor:pointer}
.user-form-submit-error{grid-column:1/-1;margin:0}
.users-filter-panel{display:grid;gap:14px;margin:14px 0 12px;padding:16px 18px;border:1px solid var(--dl);border-radius:12px;background:var(--dp)}.users-list-panel{overflow:hidden}
.users-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--dl)}
.users-table-wrap{width:100%;overflow-x:auto}
.users-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}
.users-table th{padding:11px 16px;background:color-mix(in srgb,var(--db) 75%,var(--dp));color:var(--dm);font-size:10px;font-weight:650}
.users-table td{padding:14px 16px;border-top:1px solid var(--dl);color:var(--dt);font-size:12px}
.users-table td strong{font-weight:600}
.users-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid var(--dl);color:var(--dm);font-size:11px}
.users-pagination-controls{display:flex;align-items:center;gap:5px}
.users-page-button{min-width:32px;height:32px;padding:0 9px;border:1px solid var(--dl);border-radius:7px;background:var(--dp);color:var(--dt);font-size:11px;cursor:pointer}
.users-page-button:hover:not(:disabled):not(.is-current){border-color:#d5a0a3;color:#c9222d}
.users-page-button.is-current{border-color:#d9242f;background:#d9242f;color:#fff;font-weight:650}
.users-page-button:disabled{opacity:.45;cursor:not-allowed}
.users-page-button:focus-visible{outline:2px solid #d9242f;outline-offset:2px}
.user-role-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#f1f2f5;color:#626773;font-size:10px;font-weight:600}
.user-status-badge{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:600}
.user-status-badge.is-active{background:#e8f5ec;color:#247341}
.user-status-badge.is-disabled{background:#fff0f1;color:#ba202a}
.users-empty{min-height:102px;display:flex;align-items:center;justify-content:center;padding:20px;border:1px solid var(--dl);border-radius:12px;background:var(--dp);text-align:center}
.users-empty h2{margin:0;color:var(--dm);font-size:13px;font-weight:500}
.users-load-error{flex-direction:column;gap:12px}
.users-load-error h2{max-width:640px;color:#b51e27;font-size:12px;line-height:1.5}
.user-feedback{display:flex;flex-direction:column;align-items:center;text-align:center}
.user-feedback-icon{width:44px;height:44px;border-radius:12px}
.user-feedback h2{margin:15px 0 0;color:var(--dt);font-size:14px;font-weight:650}
.user-feedback p{margin:7px 0 16px;color:var(--dm);font-size:12px;line-height:1.5}
.user-feedback{max-width:460px;margin:24px auto;padding:34px 24px;border:1px solid var(--dl);border-radius:12px;background:var(--dp)}
.dashboard-layout[data-theme="dark"] .user-section-icon,.dashboard-layout[data-theme="dark"] .user-feedback-icon{background:#42292d;color:#ff858b}
.dashboard-layout[data-theme="dark"] .user-role-badge{background:#34343a;color:#d0d0d7}
.dashboard-layout[data-theme="dark"] .user-status-badge.is-active{background:#203b2b;color:#8ad4a2}
.dashboard-layout[data-theme="dark"] .user-status-badge.is-disabled{background:#42292d;color:#ff858b}

.dashboard-layout[data-theme="dark"] .users-page-button:hover:not(:disabled):not(.is-current){border-color:#694148;color:#ff858b}
.dashboard-layout[data-theme="dark"] .user-form-error,.dashboard-layout[data-theme="dark"] .users-load-error h2{color:#ff858b}
.dashboard-layout[data-theme="dark"] .role-select-options{box-shadow:0 8px 22px #0004}
.dashboard-layout[data-theme="dark"] .role-select-search{border-color:var(--dl);background:#29292e;color:var(--dt)}
.dashboard-layout[data-theme="dark"] .role-select-search:focus{border-color:#ff858b}
.dashboard-layout[data-theme="dark"] .role-select-option:hover,.dashboard-layout[data-theme="dark"] .role-select-option.is-active{background:#34343a;color:var(--dt)}
.dashboard-layout[data-theme="dark"] .role-select-option[aria-selected="true"]{background:#42292d;color:#ff858b}
.dashboard-layout[data-theme="dark"] .role-select-option>svg{color:#ff858b}
.dashboard-layout[data-theme="dark"] .users-secondary-button:hover{border-color:#694148;color:#ff858b}
.dashboard-layout[data-theme="dark"] .toast-stack .error-toast{border-color:#3a3a41;background:#29292e;color:#f0f1f3}
.dashboard-layout[data-theme="dark"] .toast-stack .error-toast button{color:#b7b7bf}
.dashboard-layout[data-theme="dark"] .toast-stack .error-toast button:hover{background:#34343a;color:#fff}
.dashboard-layout[data-theme="dark"] .toast-stack .alert-success>svg{color:#6fce8f}
@media(max-width:680px){.user-form-panel{padding:16px 18px}.users-table{min-width:640px}.users-list-heading{padding:15px}}
@media(max-width:480px){.user-form{grid-template-columns:minmax(0,1fr);gap:10px}.user-form-role{max-width:none}.user-form-actions{grid-column:1;justify-content:stretch}.user-form-actions button{flex:1}.users-list-heading{align-items:flex-start}.users-pagination{align-items:flex-start;flex-direction:column;padding:12px}.users-pagination-controls{width:100%;justify-content:space-between;gap:4px}.users-page-button{min-width:30px;padding:0 7px}.users-primary-button{min-height:36px;padding:0 10px;font-size:11px}}

.interest-card-grid .interest-internal-badge{display:inline-flex;align-items:center;gap:6px;color:#23824c;font-weight:600}
.interest-internal-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#32a668;box-shadow:0 0 0 2px #e5f5eb}
.dashboard-layout[data-theme="dark"] .interest-card-grid .interest-internal-badge{color:#79d398}
.dashboard-layout[data-theme="dark"] .interest-internal-dot{background:#62cb87;box-shadow:0 0 0 2px #294333}
.service-card-grid .service-updated-badge{color:#c9222d}
.service-updated-dot{background:#d9242f;box-shadow:0 0 0 2px #ffe8ea}
.dashboard-layout[data-theme="dark"] .service-card-grid .service-updated-badge{border:0;background:transparent;color:#ff858b}
.dashboard-layout[data-theme="dark"] .service-updated-dot{background:#ff626c;box-shadow:0 0 0 2px #48272b}
.profile-dropdown-heading span{font-size:12px}
.profile-copy strong,.profile-copy small{font-size:12px}
.confirmation-alert-actions .confirmation-alert-confirm-button{min-width:140px;justify-content:center}
.users-list-title{display:flex;align-items:center;gap:12px;min-width:0}.users-search{display:grid;gap:6px;min-width:min(280px,42%);color:var(--dm);font-size:11px;font-weight:600}.users-search input,.user-edit-form input{width:100%;height:38px;padding:0 11px;border:1px solid var(--dl);border-radius:8px;background:var(--dp);color:var(--dt);font:400 12px inherit;outline:0}.users-search input:focus,.user-edit-form input:focus{border-color:#d9242f}.users-search input::placeholder{color:var(--dm)}.users-table{min-width:760px}.users-edit-button{min-height:30px;padding:0 10px;font-size:11px}.users-filter-empty{padding:28px 20px;color:var(--dm);font-size:13px;text-align:center}.user-edit-dialog{width:min(640px,100%);max-height:calc(100vh - 40px);overflow-y:auto;padding:24px;border:1px solid var(--dl);border-radius:12px;background:var(--dp);color:var(--dt);box-shadow:0 18px 56px #0003}.user-edit-dialog h2{margin:0 0 18px;font-size:18px}.user-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.user-edit-form label{display:grid;align-content:start;gap:7px;color:var(--dt);font-size:12px;font-weight:600}.user-edit-form .user-form-role{max-width:none}.user-edit-form .user-form-actions{grid-column:1/-1}.dashboard-layout[data-theme="dark"] .users-search input,.dashboard-layout[data-theme="dark"] .user-edit-form input{color:var(--dt)}@media(max-width:600px){.users-list-heading{align-items:stretch;flex-direction:column}.users-search{min-width:0;width:100%}.user-edit-dialog{padding:18px}.user-edit-form{grid-template-columns:minmax(0,1fr);gap:14px}.user-edit-form .user-form-actions{grid-column:1}.users-table{min-width:780px}}
.users-search input,.user-edit-form input{font-family:inherit;font-size:12px;font-weight:400}
.users-list-heading{align-items:stretch;flex-direction:column}.users-list-divider{width:100%;height:1px;margin:0;border:0;background:var(--dl)}.users-search{width:100%;min-width:0}
.users-filter-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.users-filter-fields .users-search{width:100%;min-width:0}.users-filter-fields .role-select-trigger{height:38px}@media(max-width:1050px){.users-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.users-filter-fields{grid-template-columns:minmax(0,1fr);gap:10px}}
.user-edit-dialog{overflow:visible}@media(max-width:600px){.user-edit-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}}

.role-select-options.opens-above{top:auto;bottom:calc(100% + 5px)}
.user-form-field{display:grid;gap:7px;color:var(--dt);font-size:12px;font-weight:600}.user-form-field-label,.user-edit-field-label{color:var(--dt);font-size:12px;font-weight:600}.user-edit-field{display:grid;align-content:start;gap:7px;color:var(--dt);font-size:12px;font-weight:600}
.users-list-panel:has(.role-select-options){overflow:visible}
.users-table th{font-size:12px}.users-table td{font-size:14px}.users-table .user-role-badge,.users-table .user-status-badge{font-size:11px}
.user-edit-save-button{min-width:140px;justify-content:center}

.role-access-page{display:grid;gap:0}.role-access-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px;border:1px solid var(--dl);border-radius:12px;background:var(--dp)}.role-access-summary-copy{display:flex;align-items:center;gap:12px;min-width:0}.role-access-summary-icon{width:42px;height:42px;display:grid;place-items:center;flex:none;border:1px solid #f1d2d4;border-radius:11px;background:#fff7f7;color:#d9242f}.role-access-summary-copy h2{margin:0;color:var(--dt);font-size:14px;font-weight:650;letter-spacing:-.02em}.role-access-summary-copy p{margin:5px 0 0;color:var(--dm);font-size:12px}.role-access-stats{display:flex;align-items:stretch;flex:none}.role-access-stats>div{min-width:98px;display:grid;align-content:center;gap:3px;padding:0 16px;border-left:1px solid var(--dl)}.role-access-stats strong{color:var(--dt);font-size:20px;font-weight:650;line-height:1}.role-access-stats span{color:var(--dm);font-size:10px}.role-access-search{width:min(100%,420px);height:40px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid var(--dl);border-radius:9px;background:var(--dp);color:var(--dm)}.role-access-search:focus-within{border-color:#d9242f}.role-access-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--dt);font-family:inherit;font-size:12px;font-weight:400}.role-access-search input::placeholder{color:var(--dm)}.role-access-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}.role-access-card{overflow:hidden}.role-access-heading{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--dl)}.role-access-heading>div{min-width:0;flex:1}.role-access-heading h2{margin:0;color:var(--dt);font-size:15px;font-weight:650;letter-spacing:-.02em}.role-access-heading p{margin:5px 0 0;color:var(--dm);font-size:12px}.role-access-count{width:30px;height:30px;display:grid;place-items:center;flex:none;border:1px solid #f1d2d4;border-radius:9px;background:#fff7f7;color:#c9222d;font-size:12px;font-weight:650}.role-access-count.is-empty{border-color:var(--dl);background:var(--db);color:var(--dm)}.role-access-services{margin:0;padding:0 18px;list-style:none}.role-access-service{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid var(--dl)}.role-access-service:last-child{border-bottom:0}.role-access-service-copy{display:grid;gap:4px;min-width:0}.role-access-service strong{color:var(--dt);font-size:13px;font-weight:600}.role-access-service small{overflow-wrap:anywhere;color:var(--dm);font-size:11px}.role-access-updated{flex:none;padding:4px 8px;border-radius:999px;background:#f4fbf6;color:#23824c;font-size:10px;font-weight:600}.role-access-empty,.role-access-no-results{margin:0;padding:15px 18px;color:var(--dm);font-size:12px}.role-access-no-results{padding:22px;border:1px dashed var(--dl);border-radius:10px;text-align:center}.dashboard-layout[data-theme="dark"] .role-access-summary-icon,.dashboard-layout[data-theme="dark"] .role-access-count{border-color:#563439;background:#38282b;color:#ff858b}.dashboard-layout[data-theme="dark"] .role-access-count.is-empty{border-color:var(--dl);background:var(--db);color:var(--dm)}.dashboard-layout[data-theme="dark"] .role-access-updated{background:#213b2d;color:#6fce8f}@media(max-width:900px){.role-access-summary{align-items:flex-start;flex-direction:column;gap:18px}.role-access-stats{width:100%}.role-access-stats>div{flex:1;padding:0 12px}.role-access-stats>div:first-child{padding-left:0;border-left:0}.role-access-search{width:100%}}@media(max-width:680px){.role-access-list{grid-template-columns:minmax(0,1fr)}}@media(max-width:480px){.role-access-summary{padding:15px}.role-access-stats>div{min-width:0;padding:0 9px}.role-access-stats strong{font-size:18px}.role-access-stats span{font-size:9px}.role-access-heading{padding:14px}.role-access-services{padding:0 14px}.role-access-service{align-items:flex-start;flex-direction:column;gap:8px}}

.role-access-stats.user-stats>.is-active strong,.role-access-stats.user-stats>.is-active span{color:#247341}.role-access-stats.user-stats>.is-disabled strong,.role-access-stats.user-stats>.is-disabled span{color:#ba202a}.dashboard-layout[data-theme="dark"] .role-access-stats.user-stats>.is-active strong,.dashboard-layout[data-theme="dark"] .role-access-stats.user-stats>.is-active span{color:#8ad4a2}.dashboard-layout[data-theme="dark"] .role-access-stats.user-stats>.is-disabled strong,.dashboard-layout[data-theme="dark"] .role-access-stats.user-stats>.is-disabled span{color:#ff858b}.confirmation-alert-backdrop.confirmation-alert-layer{z-index:70}
.role-access-heading{display:block;margin:0;padding:0}.role-access-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border:0;background:transparent;color:var(--dt);text-align:left;cursor:pointer}.role-access-toggle>span{display:grid;gap:5px}.role-access-toggle strong{font-size:15px;font-weight:650;letter-spacing:-.02em}.role-access-toggle small{color:var(--dm);font-size:12px;font-weight:400}.role-access-toggle>svg{flex:none;color:var(--dm);transition:transform .16s}.role-access-toggle[aria-expanded="false"]>svg{transform:rotate(-90deg)}.role-access-toggle:focus-visible{outline:2px solid #d9242f;outline-offset:-3px}.dashboard-layout[data-theme="dark"] .role-access-toggle{color:var(--dt)}@media(max-width:480px){.role-access-toggle{padding:14px}}
.role-access-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}.role-access-service{min-width:0}@media(max-width:480px){.role-access-services{grid-template-columns:minmax(0,1fr)}}

.app-content{min-height:100vh}.loading-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:rgba(255,255,255,.42);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.loading-overlay .loader-spinner{width:40px;height:40px;color:#d9242f;stroke-width:2.4;animation:button-spin .8s linear infinite}body:has(.dashboard-layout[data-theme="dark"]) .loading-overlay{background:rgba(23,23,26,.48)}@keyframes button-spin{to{transform:rotate(360deg)}}
