:root{color:#1f2937;background:#eef2f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.login-page{display:grid;min-height:100vh;place-items:center;padding:24px;background:linear-gradient(180deg,#0f172ae0,#1e293bdb),url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='.12'%3E%3Cpath d='M32 28h96v12H32zM32 74h96v12H32zM32 120h96v12H32z'/%3E%3Ccircle cx='30' cy='34' r='6'/%3E%3Ccircle cx='30' cy='80' r='6'/%3E%3Ccircle cx='30' cy='126' r='6'/%3E%3C/g%3E%3C/svg%3E")}.login-panel{width:min(420px,100%);border:1px solid #dbe3ee;border-radius:8px;background:#fff;padding:28px;box-shadow:0 24px 60px #02061738}.brand-mark,.topbar__mark{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:8px;background:#0f766e;color:#fff}.login-panel h1,.page-heading h1,.placeholder-view h1{margin:0;color:#0f172a;font-size:2rem;line-height:1.1}.eyebrow{margin:16px 0 8px;color:#0f766e;font-size:.78rem;font-weight:800;letter-spacing:0;text-transform:uppercase}.login-options{display:grid;gap:12px;margin-top:24px}.login-form{display:grid;gap:14px;margin-top:24px}.login-form label{display:grid;gap:6px;color:#344054;font-size:.9rem;font-weight:800}.login-form input{min-height:42px;border:1px solid #cfd8e3;border-radius:8px;background:#fff;color:#111827;padding:0 12px}.login-form .button{display:inline-flex;align-items:center;justify-content:center;width:100%;border:0;border-radius:8px}.login-option{display:flex;align-items:center;justify-content:space-between;width:100%;border:1px solid #dbe3ee;border-radius:8px;background:#f8fafc;color:#111827;padding:14px 16px;text-align:left}.login-option:hover{border-color:#0f766e;background:#eefcf8}.login-option span,.topbar__user span,.onboard-table td:first-child{display:grid;gap:3px}.login-option small,.topbar__user small,.onboard-table small{color:#64748b;font-size:.8rem}.app-frame{min-height:100vh;background:#eef2f7}.topbar{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;padding:14px 22px;background:#111827;color:#fff;box-shadow:0 12px 32px #0f172a29}.topbar__brand,.topbar__user,.topbar__nav,.row-actions{display:flex;align-items:center}.topbar__brand{gap:12px;min-width:max-content}.topbar__nav{flex-wrap:wrap;gap:6px}.topbar__user{gap:10px;justify-content:end;min-width:max-content}.topbar__user strong{font-size:.92rem}.topbar__user small{color:#cbd5e1}.nav-button,.button,.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;font-weight:700}.nav-button{gap:8px;min-height:36px;padding:0 12px;background:transparent;color:#cbd5e1}.nav-button:hover,.nav-button--active{background:#233044;color:#fff}.content-shell{width:min(1500px,100%);margin:0 auto;padding:28px 22px 44px}.dashboard-page{display:grid;gap:20px}.page-heading,.section-heading{display:flex;gap:16px;align-items:center;justify-content:space-between}.page-heading .eyebrow{margin-top:0}.button{gap:8px;min-height:40px;padding:0 14px}.button--primary{background:#0f766e;color:#fff}.button--primary:disabled{background:#a7b0bd}.button--ghost{border:1px solid #d7e0eb;background:#fff;color:#344054}.button--danger{background:#b42318;color:#fff}.stats-grid{display:grid;grid-template-columns:repeat(7,minmax(130px,1fr));gap:12px}.stat-card{display:flex;gap:12px;align-items:center;min-height:92px;border:1px solid #dbe3ee;border-radius:8px;background:#fff;padding:16px;box-shadow:0 10px 24px #0f172a0d}.stat-card__icon{display:grid;flex:0 0 auto;place-items:center;width:34px;height:34px;border-radius:8px;background:#e6f5f3;color:#0f766e}.stat-card span{display:block;color:#0f172a;font-size:1.6rem;font-weight:800;line-height:1}.stat-card p{margin:6px 0 0;color:#667085;font-size:.84rem;font-weight:700}.filters-toolbar{display:grid;grid-template-columns:minmax(220px,1.3fr) repeat(auto-fit,minmax(150px,1fr));gap:10px;align-items:end;border:1px solid #dbe3ee;border-radius:8px;background:#fff;padding:14px}.filters-toolbar label{display:grid;gap:6px}.filters-toolbar label span{color:#475467;font-size:.78rem;font-weight:800}.filters-toolbar input,.filters-toolbar select{width:100%;min-height:40px;border:1px solid #d7e0eb;border-radius:8px;background:#fff;color:#1f2937;padding:0 10px}.search-field{position:relative}.search-field svg{position:absolute;bottom:11px;left:11px;color:#667085}.search-field input{padding-left:36px}.records-section,.placeholder-view{border:1px solid #dbe3ee;border-radius:8px;background:#fff;box-shadow:0 10px 24px #0f172a0d}.records-section{overflow:hidden}.section-heading{padding:18px 18px 0}.section-heading h2{margin:0;color:#111827;font-size:1.05rem}.section-heading p{margin:4px 0 0;color:#667085;font-size:.88rem}.table-wrap{overflow-x:auto;padding:18px}.onboard-table{width:100%;min-width:1280px;border-collapse:collapse}.onboard-table th{background:#f6f8fb;color:#475467;font-size:.76rem;text-align:left;text-transform:uppercase}.onboard-table th,.onboard-table td{border-bottom:1px solid #e5ebf3;padding:12px 10px;vertical-align:top}.onboard-table td{color:#27364a;font-size:.88rem}.onboard-table strong{color:#111827}.row--hold td{background:#fff8ed}.notes-cell{max-width:240px;color:#526070}.sales-tracker{display:grid;gap:18px;padding-bottom:18px}.salesperson-block{display:grid;gap:12px;margin:0 18px;border:1px solid #dbe3ee;border-radius:8px;background:#f8fafc;overflow:hidden}.salesperson-block>header,.community-sales-group__heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.salesperson-block>header{background:#fff;border-bottom:1px solid #e5ebf3;padding:14px 16px}.salesperson-block h3{margin:0;color:#111827;font-size:1rem}.salesperson-block span,.community-sales-group__heading span{color:#667085;font-size:.84rem;font-weight:800}.community-sales-group{display:grid;gap:10px;padding:0 12px 12px}.community-sales-group__heading{color:#344054;padding:0 4px}.community-sales-group .table-wrap{border:1px solid #e5ebf3;border-radius:8px;background:#fff;padding:0}.sales-table{min-width:980px}.empty-panel{margin:0 18px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;color:#526070;padding:18px;font-weight:700}.status-badge{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:3px 9px;font-size:.76rem;font-weight:800;line-height:1.2;white-space:nowrap}.status-badge--info{background:#e7f0ff;color:#1d4ed8}.status-badge--success{background:#e7f6ec;color:#047857}.status-badge--warning{background:#fff0d3;color:#a15c00}.status-badge--danger{background:#fee2e2;color:#b42318}.status-badge--clinical{background:#f0e7ff;color:#6d28d9}.status-badge--muted{background:#eef2f7;color:#526070}.row-actions{gap:6px}.action-tooltip{display:inline-flex}.icon-button{width:34px;height:34px;border:1px solid #d7e0eb;background:#fff;color:#344054}.icon-button:hover:not(:disabled){border-color:#0f766e;color:#0f766e}.icon-button:disabled{background:#f1f5f9;color:#a7b0bd}.icon-button--danger:hover:not(:disabled){border-color:#dc2626;color:#dc2626}.icon-button--dark{border-color:#344054;background:#1f2937;color:#fff}.empty-cell{height:120px;text-align:center}.placeholder-view{min-height:260px;padding:28px}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;overflow-y:auto;background:#0f172a94;padding:24px}.modal{width:min(620px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid #dbe3ee;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0206174d}.modal--wide{width:min(960px,100%)}.modal__header{position:sticky;top:0;z-index:1;display:flex;gap:16px;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #e5ebf3;background:#fff;padding:18px}.modal__header h2{margin:0;color:#111827;font-size:1.2rem}.modal__header p{margin:4px 0 0;color:#667085;font-size:.9rem}.form-grid,.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.form-grid label,.stack-form label{display:grid;gap:6px}.form-grid label span,.stack-form label span,.detail-grid span{color:#475467;font-size:.78rem;font-weight:800}.form-grid input,.form-grid select,.form-grid textarea,.stack-form textarea{width:100%;min-height:40px;border:1px solid #d7e0eb;border-radius:8px;background:#fff;color:#1f2937;padding:9px 10px}.form-grid textarea,.stack-form textarea{min-height:96px;resize:vertical}.form-grid__wide,.detail-grid__wide{grid-column:1 / -1}.form-actions{display:flex;gap:10px;justify-content:flex-end;grid-column:1 / -1;border-top:1px solid #e5ebf3;padding-top:16px}.stack-form{display:grid;gap:16px;padding:18px}.detail-grid>div{display:grid;gap:6px;align-content:start;border:1px solid #e5ebf3;border-radius:8px;background:#f8fafc;padding:12px}.detail-grid strong{color:#111827}.detail-grid p{margin:0;color:#344054;line-height:1.5}.drug-list{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.drug-list li{border-radius:999px;background:#e6f5f3;color:#0f766e;padding:5px 10px;font-size:.84rem;font-weight:800}.activity-log{display:grid;gap:10px;margin:0;padding-left:20px}.activity-log li{color:#344054;line-height:1.4}.activity-log strong{display:block;color:#111827;font-size:.9rem}.activity-log small{color:#667085;font-size:.8rem}.confirm-message{margin:0;color:#344054;line-height:1.5}.form-error{margin:0;border:1px solid #fecaca;border-radius:8px;background:#fef2f2;color:#b42318;padding:10px 12px;font-size:.9rem;font-weight:700}.import-panel{display:flex;gap:14px;align-items:center;justify-content:space-between;border:1px solid #dbe3ee;border-radius:8px;background:#f8fafc;padding:14px}.import-panel strong{color:#111827}.import-panel p,.import-panel small{margin:4px 0 0;color:#667085;line-height:1.4}.import-panel small{display:block;color:#0f766e;font-weight:800}.import-panel__button{flex:0 0 auto;cursor:pointer}.import-panel__button input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}.issue-options{display:grid;gap:10px;margin:0;border:0;padding:0}.issue-options legend{margin-bottom:4px;color:#475467;font-size:.78rem;font-weight:800}.issue-option{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;border:1px solid #d7e0eb;border-radius:8px;background:#f8fafc;padding:12px}.issue-option input{margin-top:3px}.issue-option span{display:grid;gap:3px}.issue-option strong{color:#111827;font-size:.92rem}.issue-option small{color:#667085;line-height:1.4}.queue-tabs{display:flex;flex-wrap:wrap;gap:8px;border:1px solid #dbe3ee;border-radius:8px;background:#fff;padding:8px}.queue-tab{min-height:38px;border:1px solid transparent;border-radius:8px;background:#f6f8fb;color:#344054;padding:0 14px;font-weight:800}.queue-tab:hover,.queue-tab--active{border-color:#0f766e;background:#e6f5f3;color:#0f766e}.communities-toolbar{grid-template-columns:minmax(220px,420px) minmax(180px,240px)}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.community-card{display:grid;gap:12px;border:1px solid #dbe3ee;border-radius:8px;background:#fff;padding:16px;box-shadow:0 10px 24px #0f172a0d}.community-card header{display:grid;gap:4px}.community-card h2{margin:0;color:#111827;font-size:1.05rem}.community-card p{margin:0;color:#667085;font-size:.86rem}.metric-row{display:flex;align-items:center;justify-content:space-between;border:1px solid #e5ebf3;border-radius:8px;background:#f8fafc;padding:9px 10px}.metric-row span{color:#0f172a;font-size:1.15rem;font-weight:900}.metric-row small{color:#64748b;font-weight:800}.community-card footer{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:4px}.archive-table{min-width:1050px}.admin-table{min-width:900px}.admin-form{border-top:1px solid #e5ebf3;margin-top:18px}@media(max-width:1200px){.topbar{grid-template-columns:1fr}.topbar__user{justify-content:start}.stats-grid,.filters-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.content-shell{padding:18px 12px 32px}.page-heading,.section-heading{align-items:stretch;flex-direction:column}.stats-grid,.filters-toolbar,.form-grid,.detail-grid,.card-grid{grid-template-columns:1fr}.topbar{padding:12px}.topbar__brand{min-width:0}.topbar__nav{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}}
