/* Hope visual system, inspired by Stuvanti. Inter is served with the application. */
@font-face{font-family:Inter;src:url('assets/InterVariable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--hope-navy:#0a1b33;--hope-blue:#1565ff;--hope-blue-dark:#1052d6;--hope-teal:#0f766e;--hope-canvas:#f2f5f9;--hope-line:#dce5f0;--hope-muted:#50627a;--hope-shadow:0 1px 2px #0a1b3304,0 8px 24px -12px #0a1b3314;--sans:Inter,'Segoe UI',Arial,sans-serif;--serif:var(--sans);--blue:var(--hope-blue);--blue-dark:var(--hope-blue-dark);--navy:var(--hope-navy);--navy-deep:#081629;--paper:var(--hope-canvas);--canvas:var(--hope-canvas);--ink:var(--hope-navy);--muted:var(--hope-muted);--line:var(--hope-line);--ice:#eaf1ff;--green:var(--hope-teal);--gold:var(--hope-blue);--shadow:var(--hope-shadow);font-family:var(--sans);font-synthesis:none}
body{font-family:var(--sans);color:var(--hope-navy);font-size:14px;line-height:1.55;text-rendering:optimizeLegibility}
h1,h2,h3,h4{font-family:var(--sans);color:var(--hope-navy)}
h1{font-weight:700;letter-spacing:-.04em}h2,h3{font-weight:650;letter-spacing:-.025em}
button,input,textarea,select{font-family:inherit}button,a,input,textarea,select{scroll-margin-top:88px}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--hope-blue);outline-offset:3px}
::selection{background:#dce9ff;color:var(--hope-navy)}
.button{min-height:40px;padding:10px 16px;font-size:13px;font-weight:600;border-radius:8px;gap:8px;line-height:1.4;transition:background .15s,border-color .15s}
.button.primary{background:var(--hope-blue);border-color:var(--hope-blue);color:#fff;box-shadow:none}.button.primary:hover{background:var(--hope-blue-dark);transform:none}
.button.light,.button:not(.primary):not(.danger){border-color:var(--hope-line);background:#fff;color:#294361;box-shadow:none}
.button.light:hover,.button:not(.primary):not(.danger):hover{background:#f3f7fd;border-color:#b8cbe5}
.button:disabled{cursor:not-allowed;transform:none}.button.small{min-height:34px;font-size:12px}
.brand{font-family:var(--sans);font-weight:750;letter-spacing:-1.1px}.brand-mark,.brand-symbol{font-family:var(--sans);color:var(--hope-blue)}
.eyebrow{color:#536b89;font-size:10px;letter-spacing:.1em;font-weight:650}
.badge{font-size:11px;font-weight:600;border-radius:6px;padding:4px 8px;line-height:1.5}
.badge.active,.badge.verified,.badge.succeeded{background:#e5f8f0;color:#08734a;border-color:#ccebdd}
.badge.pro{background:#eaf1ff;color:#1052d6;border-color:#d7e5ff}.badge.free{background:#f0f4f9;color:#50627a;border-color:#dce5f0}
.badge.failed,.badge.revoked,.badge.expired{background:#fff0f0;color:#ad3434;border-color:#f2d5d5}
.badge.reserved,.badge.uncertain{background:#fff7e5;color:#8b5e0b;border-color:#f1e2b6}
.text-button,.text-link,.quiet-button,.card-link{color:var(--hope-blue-dark)}
input,textarea,select{border-color:#ccd9e8;color:var(--hope-navy);background:#fff;border-radius:8px}
input::placeholder,textarea::placeholder{color:#748399}
.panel,.metric,.dash-card,.plan,.plan-card{border:1px solid var(--hope-line);border-radius:12px;box-shadow:var(--hope-shadow);background:#fff}
.notice,.empty-license{background:#eef4ff;border-color:#d7e5ff;color:#405b7c}
.notice strong{color:#254367}.form-error,.account-error{color:#ad3434}
@media(pointer:coarse){button,.button,nav a{min-height:44px}input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
body{background:var(--hope-canvas)}.sidebar{width:240px;background:#0a1b33;color:#a9b8ce;border:0;overflow-y:auto}.shell{margin-left:240px}
.sidebar .brand{padding:26px 22px 22px;color:#fff;font-size:28px}.sidebar .brand-symbol{color:#73a4ff;font-size:34px}.brand-small{font-size:9px;letter-spacing:.14em;color:#a3b6d2;margin-top:5px}
.workspace{margin:0 14px 20px;padding:11px 12px;background:#ffffff06;border-color:#ffffff12;color:#dce7f7;font-size:12px}.workspace small{font-size:10px;color:#9aaecb}.workspace-avatar{color:#bbd1f7;border-color:#ffffff25;font-size:18px}.workspace-chevron,.sidebar-note{display:none}
.nav-label,.nav-group-label{font-size:10px;font-weight:600;letter-spacing:.12em;color:#8198bb}.nav-label{margin:0 26px 10px}.nav-group-label{padding:18px 12px 8px}.sidebar nav{gap:4px;padding:0 12px}
.nav-item{font-size:13px;min-height:42px;padding:10px 12px;border-radius:8px;color:#aabbd3;gap:11px}.nav-item svg{width:18px;height:18px;color:#8fa7c9}.nav-item:hover{background:#ffffff09;color:white}.nav-item.active{background:#1565ff;color:white;box-shadow:none}.nav-item.active svg{color:#fff}.nav-item .nav-count{font-size:10px;background:#ffffff20;color:#fff}
.sidebar-bottom{margin-top:auto;padding:20px 18px;border-top:1px solid #ffffff15}.admin-user{font-size:12px;color:#f1f5fb}.admin-user small{font-size:11px;color:#94acca}.avatar{width:34px;height:34px;background:#ffffff12;color:#d5e4fc;border-color:#ffffff18}.admin-user>span:last-child{color:#9eb8dc}
.topbar{height:auto;min-height:70px;background:#fff;border-color:var(--hope-line);padding:14px 28px;gap:18px}.breadcrumb{font-size:12px;color:#65778f}.breadcrumb strong{color:#294361;font-weight:600}.breadcrumb>span:first-of-type{color:#65778f}.top-actions{gap:15px}.private-label,.auto-refresh-label{font-size:11px;color:#607089}.tiny-lock{color:#617b9c}.global-search{margin:0 0 0 auto;max-width:370px;background:#f7f9fc;border-color:var(--hope-line)}.global-search input{font-size:12px;min-height:38px}.auto-refresh-label input{accent-color:#1565ff}
main{padding:26px 28px 0;max-width:1600px}.page-heading{margin-bottom:23px;align-items:center;gap:20px}.page-heading h1{font-size:30px;font-weight:700;line-height:1.2;margin-top:5px;letter-spacing:-.04em}.page-heading h1>span{display:none}.page-heading p{font-size:13px;line-height:1.6;color:var(--hope-muted);margin-top:8px;max-width:720px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}
.metric{padding:18px}.metrics{gap:14px;margin-bottom:20px}.metric-head{font-size:12px;color:#50627a;gap:10px}.metric-value{font-size:31px;font-weight:700;letter-spacing:-.04em;color:#0a1b33;margin:15px 0 11px;font-variant-numeric:tabular-nums}.metric-icon{width:34px;height:34px;border:0;border-radius:9px;background:#eaf1ff;color:#1565ff}.metric-icon svg{width:18px;height:18px}.metric-foot{font-size:11px;color:#607089}.metric-foot strong{background:#e5f8f0;color:#0f766e;font-size:10px}
.panel-head{padding:20px 20px 0}.panel-head h2{font-size:16px;font-weight:650;color:#0a1b33}.panel-head p{font-size:12px;color:#607089}.panel-body{padding:20px}.panel-head .text-button{font-size:12px}.grid-main{gap:18px}.chart-wrap{padding-inline:16px}.chart-axis{fill:#62758e;font-size:10px}.chart-bottom{gap:28px;background:#fff}.chart-bottom span,.chart-bottom small{font-size:11px;color:#607089}.chart-bottom strong{color:#294361;font-size:18px}.chart-grid{stroke:#e7edf5}.legend-dot{background:#1565ff}.legend-dot.gold{background:#14b8a6}.chart-legend{font-size:11px}.mix-label{font-size:12px;color:#50627a}.mix-label strong{font-size:22px;color:#0a1b33}.mix-label small{font-size:11px;color:#607089}.mix-footer,.health-foot{font-size:11px;background:#f7f9fc;color:#607089;border-color:#e5ecf5}.health-row>span{font-size:12px;color:#50627a}.health-row strong{font-size:11px;color:#294361}.health-row i{background:#14b8a6}.donut-center span{font-size:10px;color:#607089}
th{background:#f5f8fc;font-size:10px;color:#526a87;letter-spacing:.06em;padding:12px 18px;border-color:#e5ecf5}td{font-size:12px;color:#425975;padding:14px 18px;border-color:#e8edf5}tbody tr:hover{background:#f8faff}.table-foot{background:#fff;color:#607089;font-size:11px;padding:13px 18px}.pagination button{min-height:32px;padding:6px 10px;font-size:12px;color:#385476;border-radius:6px}.toolbar{padding:16px 20px;gap:10px}.search-wrap{border-color:#ccd9e8;border-radius:8px}.search-wrap input{font-size:13px;padding:10px 0;min-height:38px}.filter-result{font-size:11px;color:#607089}.customer-cell strong{color:#254367;font-size:13px;font-weight:600}.customer-cell small{font-size:11px;color:#667b96}.customer-avatar{background:#eaf1ff;color:#1565ff}.credit-cell strong{color:#294361;font-size:12px}.credit-cell>span{font-size:11px;color:#607089}.mini-track{background:#e8eef7}.mini-track i{background:#1565ff}
.activity-item strong{font-size:12px;color:#294361}.activity-item p,.activity-item time{font-size:11px;color:#607089}.activity-icon{background:#eaf1ff;color:#1565ff}.activity-list{padding:20px}.content-footer{font-size:11px;color:#667b96;padding-top:24px}.content-footer i{color:#8a9bb0}.content-footer>span:first-child{font-size:0}.content-footer>span:first-child::after{content:'Hope administration';font-size:11px}
.signal-strip{border-color:var(--hope-line);border-radius:12px;box-shadow:var(--hope-shadow);gap:16px;padding:20px}.signal-strip>div{border-color:#cbdfff}.signal-label{font-size:12px;color:#607089}.signal-strip strong{color:#0a1b33}.attention-item{padding:20px}.attention-item h3{color:#294361;font-size:14px}.attention-item p{color:#607089}
.drawer{box-shadow:-12px 0 48px #0a1b3320}.drawer-profile h2,.investigation-heading h2{color:#0a1b33}.drawer-meta small,.detail-grid dt,.drawer-profile p,.license-card p{color:#607089}.detail-grid dd{color:#294361}.license-card{background:#f7faff;border-color:var(--hope-line)}.license-balance{color:#0a1b33}.detail-tabs{flex-wrap:wrap}.detail-tabs button{color:#607089;min-height:42px}.detail-tabs button.active{color:#1052d6;border-color:#1565ff}.retained-answer-text{background:#f7f9fc;border-color:var(--hope-line);font-family:var(--sans);color:#0a1b33}.archive-status .selected{background:#1565ff;color:#fff}.archive-filters label,.archive-export>label{color:#50627a}
.plan-card.featured{background:#f3f7ff;border-color:#9bbcff}.plan-card h2{font-weight:650}.plan-number strong{color:#0a1b33}.plan-card p,.plan-detail{color:#50627a}.notice{font-size:12px}.empty-state h3{font-size:23px;font-weight:650}.empty-state p{font-size:13px;color:#607089}.settings-row p,.form-note{color:#607089}.text-button:hover{color:#1565ff;text-decoration:underline}
body.auth-only{background:#f2f5f9}body.auth-only #auth-dialog::backdrop{background:#f2f5f9}body.auth-only #auth-dialog{border-color:#dce5f0;border-radius:14px;box-shadow:0 12px 40px #0a1b330b}body.auth-only #auth-dialog form{padding:32px}.login-brand{font-size:27px;color:#0a1b33}.login-brand>span{color:#1565ff}#auth-dialog h2{color:#0a1b33;font-size:25px}#auth-dialog label{font-size:12px;color:#405672}#auth-description{color:#607089}#auth-submit{background:#1565ff;justify-content:center}
.segmented-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;pointer-events:none!important;border:0!important}.choice-control{display:inline-flex;flex-wrap:wrap;gap:4px;align-items:center;border:1px solid #dce5f0;background:#f5f8fc;padding:4px;border-radius:9px;max-width:100%}.choice-control button{border:0;background:transparent;color:#536b89;border-radius:6px;min-height:32px;padding:6px 10px;font:500 12px var(--sans);white-space:normal;text-align:center}.choice-control button:hover{background:#e8f0fe}.choice-control button[aria-pressed=true]{background:#fff;color:#1052d6;box-shadow:0 1px 4px #0a1b3315}.choice-control button:disabled{opacity:.5}.choice-control[hidden]{display:none!important}
@media(max-width:1150px){.topbar{flex-wrap:wrap;gap:12px}.global-search{margin-left:auto;max-width:300px}.top-actions{gap:12px}.private-label{display:none}}
@media(max-width:900px){.topbar{padding:14px 20px}main{padding:24px 20px}.global-search{max-width:none;order:3;flex-basis:100%;margin:0}.page-heading{align-items:flex-start;flex-wrap:wrap}.heading-actions{justify-content:flex-start}.archive-filters{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);width:240px}.sidebar.open{transform:none}.shell{margin-left:0}.mobile-menu{display:inline-flex}.topbar{min-height:62px;padding:12px 16px}main{padding:22px 16px 0}.page-heading h1{font-size:26px}.page-heading p{font-size:12px}.metrics{grid-template-columns:1fr 1fr}.global-search{display:flex}.top-actions{margin-left:auto}.top-actions .button{min-height:34px}.signal-strip{grid-template-columns:1fr 1fr}.grid-main,.bottom-grid{grid-template-columns:1fr}.drawer{width:100vw}.archive-filters{grid-template-columns:1fr}.content-footer{flex-wrap:wrap}.choice-control{width:auto}.heading-actions{width:100%}}
@media(max-width:420px){.metrics{grid-template-columns:1fr}.metric-value{font-size:28px}.auto-refresh-label{display:none}.topbar .breadcrumb{gap:7px}.signal-strip{grid-template-columns:1fr}.heading-actions .choice-control{flex:1}.heading-actions .choice-control button{flex:1;padding:6px}.panel-head{padding:18px 16px 0}.panel-body{padding:16px}}
/* Business controls share the existing workspace typography and spacing. */
.business-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}.business-toolbar label{font-size:12px}.business-toolbar input,.business-toolbar select{max-width:270px;border:1px solid var(--border,#ddd);border-radius:8px;padding:10px;background:white}.business-pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:20px}.business-pager>span{margin-right:auto}.business-id{display:block;max-width:260px;white-space:normal;overflow-wrap:anywhere;margin-top:8px}.business-notes{white-space:pre-wrap;max-width:500px;overflow-wrap:anywhere}.business-json{white-space:pre-wrap;overflow-wrap:anywhere;max-width:500px;max-height:380px;overflow:auto;padding:12px;background:#f6f8fa;font-size:12px}#business-dialog{width:min(620px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:0;border-radius:18px;padding:32px}#business-dialog::backdrop{background:#10182880}#business-dialog fieldset{border:0;padding:0;margin:20px 0}#business-dialog label{display:block;margin:14px 0 6px;font-size:13px;font-weight:600}#business-dialog input:not([type=checkbox]),#business-dialog select,#business-dialog textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #d4dae4;border-radius:8px;font:inherit;background:#fff}#business-dialog .business-confirm{display:flex;gap:10px;align-items:center;font-weight:400}#business-dialog h2{margin-top:16px}#business-dialog p{line-height:1.6;color:#56657b}#business-dialog .modal-close{position:absolute;right:16px;top:12px}.drawer-actions{flex-wrap:wrap}.nav-item{flex-shrink:0}@media(max-width:600px){.business-toolbar>*{max-width:100%}.business-pager{flex-wrap:wrap}#business-dialog{padding:24px}.business-json{max-width:240px}}
