:root{--orange:#f97316;--orange2:#ea6422;--green:#16a34a;--red:#ef4444;--blue:#38bdf8;--purple:#a78bfa;--radius:15px;--shadow:0 14px 38px rgba(0,0,0,.14);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;min-height:100vh;font-size:13px;transition:background .2s,color .2s}.top-accent{height:5px;background:linear-gradient(90deg,#f97316,#ea6422 58%,#f97316);position:fixed;top:0;left:0;right:0;z-index:50}
body.theme-dark{--bg:#111111;--sidebar:#151515;--surface:#1a1a1a;--surface2:#202020;--surface3:#262626;--text:#f5f5f5;--muted:#a3a3a3;--faint:#737373;--border:#303030;--input:#111111;--table-alt:#181818;--shadow:0 12px 30px rgba(0,0,0,.3);background:var(--bg);color:var(--text)}
body.theme-light{--bg:#f3f4f6;--sidebar:#fff;--surface:#fff;--surface2:#f8fafc;--surface3:#eef2f7;--text:#1f2937;--muted:#64748b;--faint:#94a3b8;--border:#e2e8f0;--input:#fff;--table-alt:#f8fafc;--shadow:0 12px 30px rgba(15,23,42,.07);background:var(--bg);color:var(--text)}
button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:flex;padding-top:5px}.sidebar{width:252px;flex:0 0 252px;background:var(--sidebar);border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:calc(100vh - 5px);padding:18px 14px 13px;position:fixed;top:5px;bottom:0;left:0;z-index:30;transition:transform .25s,background .2s}.brand-row{height:55px;display:flex;align-items:center;gap:11px;padding:0 6px 14px;border-bottom:1px solid var(--border)}.brand-title{white-space:nowrap;color:var(--text);font-size:14px;font-weight:800;letter-spacing:-.5px}.brand-title strong{color:var(--orange);font-size:19px;margin-right:2px}.brand-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.brand-copy span{font-weight:800;letter-spacing:.5px;font-size:12px}.brand-copy small{font-size:9px;color:var(--muted);letter-spacing:1.4px}.sidebar-close{display:none;margin-left:auto}.workspace-switcher{display:flex;align-items:center;gap:10px;padding:12px 9px;margin:14px 0 19px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.workspace-mark{height:32px;width:32px;display:grid;place-items:center;border-radius:9px;background:rgba(249,115,22,.14);color:var(--orange);font-weight:800;font-size:11px}.workspace-text{display:flex;flex:1;flex-direction:column;gap:4px}.workspace-text strong{font-size:11px}.workspace-text span{font-size:10px;color:var(--muted)}.chevron{color:var(--muted);font-size:16px}.nav-caption{font-size:9px;font-weight:800;letter-spacing:1.2px;color:var(--faint);padding:0 9px 8px}.second-caption{margin-top:23px}.main-nav{display:grid;gap:4px}.nav-item{border:1px solid transparent;background:transparent;color:var(--muted);height:39px;padding:0 10px;display:flex;align-items:center;gap:11px;border-radius:9px;text-align:left;font-weight:600;font-size:11px;transition:background .15s,color .15s,border .15s}.nav-item:hover{background:var(--surface2);color:var(--text)}.nav-item.active{background:rgba(249,115,22,.13);border-color:rgba(249,115,22,.28);color:var(--orange)}.nav-icon{font-size:17px;width:17px;text-align:center;color:inherit}.nav-count{margin-left:auto;min-width:22px;height:20px;border-radius:6px;display:grid;place-items:center;background:rgba(22,163,74,.15);color:#4ade80;font-size:10px}.nav-count.orange{background:rgba(249,115,22,.15);color:var(--orange)}.sidebar-bottom{margin-top:auto}.support-card{display:flex;align-items:center;gap:9px;padding:11px 8px;border:1px solid var(--border);border-radius:10px;margin-bottom:12px}.support-icon{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;color:var(--orange);background:rgba(249,115,22,.13);font-weight:800}.support-card>div:nth-child(2){display:grid;gap:4px;flex:1}.support-card strong{font-size:10px}.support-card span{font-size:9px;color:var(--muted)}.support-arrow{font-size:15px!important}.sidebar-user{border-top:1px solid var(--border);padding:12px 3px 0;display:flex;align-items:center;gap:9px}.avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:800;flex:0 0 auto}.avatar-orange{background:rgba(249,115,22,.18);color:var(--orange)}.avatar-dark{background:var(--surface3);color:var(--orange)}.user-meta{display:grid;gap:3px;flex:1}.user-meta strong{font-size:10px}.user-meta span{font-size:9px;color:var(--muted)}.more-button{border:0;background:transparent;color:var(--muted);font-size:15px}.main-area{margin-left:252px;width:calc(100% - 252px);min-width:0}.topbar{height:66px;border-bottom:1px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:5px;z-index:20}.topbar-left,.topbar-actions{display:flex;align-items:center;gap:15px}.breadcrumb{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:10px}.breadcrumb b{color:var(--faint)}.breadcrumb strong{color:var(--text);font-weight:600}.icon-button{border:1px solid var(--border);background:var(--surface2);color:var(--muted);width:34px;height:34px;border-radius:9px;display:grid;place-items:center;font-size:17px}.icon-button:hover{color:var(--orange);border-color:rgba(249,115,22,.45)}.menu-toggle{display:none}.global-search{height:34px;width:190px;border:1px solid var(--border);background:var(--input);border-radius:9px;display:flex;align-items:center;gap:8px;padding:0 10px;color:var(--muted)}.global-search span{font-size:18px}.global-search input{width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:10px}.theme-toggle span{font-size:18px}.notification-button{position:relative}.notification-button i{position:absolute;top:7px;right:7px;width:6px;height:6px;border:1px solid var(--surface);border-radius:50%;background:var(--orange)}.top-divider{width:1px;height:28px;background:var(--border)}.profile-button{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:var(--text);text-align:left;padding:0}.profile-copy{display:grid;gap:4px}.profile-copy strong{font-size:10px}.profile-copy small{font-size:9px;color:var(--muted)}.notification-popover,.profile-popover{position:absolute;right:26px;top:58px;width:280px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:13px;display:none;z-index:40}.notification-popover.open,.profile-popover.open{display:block}.popover-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.popover-heading strong{font-size:12px}.unread-pill{font-size:9px;color:var(--orange);background:rgba(249,115,22,.13);padding:5px 7px;border-radius:20px}.notice-row{display:flex;gap:9px;padding:10px 2px;border-top:1px solid var(--border)}.notice-row>div{display:grid;gap:4px}.notice-row strong{font-size:10px}.notice-row small{color:var(--muted);font-size:9px}.notice-dot,.status-dot,.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex:0 0 auto;margin-top:3px}.green-dot{background:#22c55e}.orange-dot{background:var(--orange)}.blue-dot{background:#38bdf8}.profile-popover{width:205px;display:none;right:22px}.profile-popover strong,.profile-popover small{display:block}.profile-popover strong{font-size:11px}.profile-popover small{margin:4px 0 10px;color:var(--muted);font-size:9px}.profile-popover button{width:100%;text-align:left;border:0;border-top:1px solid var(--border);padding:10px 3px;background:transparent;color:var(--text);font-size:10px}.content-wrap{padding:25px 28px 22px;max-width:1600px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px}.eyebrow{color:var(--orange);font-size:9px;font-weight:800;letter-spacing:1.4px;display:flex;gap:7px;align-items:center;margin-bottom:7px}.eyebrow-dot{width:6px;height:6px;border-radius:50%;background:var(--orange)}h1{font-size:22px;line-height:1.2;letter-spacing:-.6px;margin:0 0 6px;font-weight:800}.page-subtitle{font-size:11px;color:var(--muted);margin:0}.heading-actions{display:flex;gap:9px;align-items:center}.date-select,.filter-select{height:34px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--muted);padding:0 10px;font-size:10px}.primary-button,.secondary-button{height:35px;padding:0 13px;border-radius:8px;border:1px solid transparent;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-button{background:var(--orange);color:white;box-shadow:0 4px 14px rgba(249,115,22,.16)}.primary-button:hover{background:#ea580c}.secondary-button{background:var(--surface2);color:var(--text);border-color:var(--border)}.plus{font-size:17px;line-height:10px}.welcome-banner{background:linear-gradient(110deg,#1b1b1b,#252525 72%,#1e293b);border:1px solid #343434;border-radius:15px;min-height:128px;padding:22px 25px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;margin-bottom:17px;color:#fff}.welcome-banner:after{content:"";position:absolute;width:320px;height:320px;right:20px;top:-190px;border:1px solid rgba(249,115,22,.14);border-radius:50%;box-shadow:0 0 0 28px rgba(249,115,22,.025),0 0 0 60px rgba(249,115,22,.02)}.welcome-label{font-size:9px;font-weight:800;letter-spacing:1.3px;color:#fda76b}.welcome-spark{color:var(--orange);font-size:14px;margin-right:5px}.welcome-copy h2{font-size:18px;margin:9px 0 5px;letter-spacing:-.4px}.wave{font-size:17px}.welcome-copy p{margin:0;color:#c7c7c7;font-size:10px}.welcome-status{margin-top:12px;display:inline-flex;align-items:center;gap:7px;padding:6px 9px;background:rgba(34,197,94,.09);border:1px solid rgba(34,197,94,.17);color:#a7f3d0;border-radius:20px;font-size:9px}.pulse{width:6px;height:6px;background:#22c55e;border-radius:50%;box-shadow:0 0 0 4px rgba(34,197,94,.12)}.welcome-graphic{width:190px;height:90px;position:relative;display:grid;place-items:center;z-index:1}.welcome-mark{height:64px;width:64px;border-radius:16px;border:1px solid rgba(249,115,22,.45);background:rgba(249,115,22,.11);display:grid;place-items:center;color:#ffb27a;font-size:21px;font-weight:800;transform:rotate(-8deg);box-shadow:0 12px 30px rgba(0,0,0,.2)}.graphic-node{position:absolute;width:27px;height:27px;border:1px solid #474747;background:#292929;border-radius:9px;display:grid;place-items:center;color:#fda76b;font-size:12px}.node-one{top:4px;right:28px}.node-two{bottom:3px;right:48px;color:#4ade80}.node-three{top:30px;left:14px}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:15px}.kpi-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:15px 16px;min-width:0;position:relative;overflow:hidden}.kpi-card:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--kpi-color,var(--orange));opacity:.8}.kpi-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.kpi-label{font-size:10px;color:var(--muted);font-weight:600}.kpi-icon{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;font-size:13px}.icon-green{background:rgba(22,163,74,.13);color:#4ade80}.icon-orange{background:rgba(249,115,22,.13);color:#fb923c}.icon-blue{background:rgba(56,189,248,.13);color:#7dd3fc}.icon-purple{background:rgba(167,139,250,.13);color:#c4b5fd}.kpi-value{font-size:25px;font-weight:800;letter-spacing:-1px;margin:10px 0 7px}.kpi-unit{font-size:11px;color:var(--muted);font-weight:600;letter-spacing:0}.kpi-foot{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:9px}.trend{font-size:9px;font-weight:700}.positive{color:#4ade80}.mini-bars{margin-left:auto;height:20px;display:flex;align-items:flex-end;gap:2px}.mini-bars i{width:3px;border-radius:3px;background:#22c55e;height:7px}.mini-bars i:nth-child(2){height:12px}.mini-bars i:nth-child(3){height:9px}.mini-bars i:nth-child(4){height:17px}.mini-bars i:nth-child(5){height:12px}.mini-bars i:nth-child(6){height:15px}.mini-bars i:nth-child(7){height:19px}.orange-bars i{background:var(--orange)}.blue-bars i{background:#38bdf8}.purple-bars i{background:#a78bfa}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.9fr);gap:14px;margin-bottom:15px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:16px;min-width:0}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:13px}.panel-heading h3{font-size:12px;margin:0 0 5px;font-weight:800}.panel-heading p{font-size:9px;color:var(--muted);margin:0}.legend{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:9px}.legend-dot{margin-right:4px}.orange-fill{background:var(--orange)}.green-fill{background:#22c55e}.chart-summary{display:flex;gap:8px;align-items:baseline;color:var(--muted);font-size:9px;margin-bottom:7px}.chart-summary strong{font-size:18px;color:var(--text)}.chart-change{color:#4ade80;font-weight:700}.chart-area{display:flex;gap:10px;height:155px}.y-labels{display:flex;flex-direction:column;justify-content:space-between;padding:3px 0 18px;color:var(--faint);font-size:8px}.chart-main{position:relative;flex:1;min-width:0}.grid-lines{position:absolute;inset:0 0 18px;display:flex;flex-direction:column;justify-content:space-between}.grid-lines i{height:1px;border-top:1px dashed var(--border)}.activity-chart{position:absolute;inset:0 0 18px;width:100%;height:calc(100% - 18px);overflow:visible}.x-labels{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;color:var(--faint);font-size:8px}.health-score-row{display:flex;align-items:center;gap:16px;padding:5px 0 11px}.health-ring{width:92px;height:92px;border-radius:50%;background:conic-gradient(#22c55e 0 98%,var(--surface3) 98%);display:grid;place-items:center;position:relative;flex:0 0 auto}.health-ring:before{content:"";position:absolute;inset:7px;background:var(--surface);border-radius:50%}.health-ring>div{z-index:1;display:grid;text-align:center;gap:1px}.health-ring strong{font-size:19px}.health-ring strong span{font-size:10px}.health-ring small{font-size:8px;color:var(--muted)}.health-caption{display:grid;gap:9px}.health-caption strong{font-size:11px}.health-caption span{color:var(--muted);font-size:9px;display:flex;align-items:center;gap:6px}.health-divider{border-top:1px solid var(--border);margin:0 0 9px}.health-metric{display:flex;justify-content:space-between;gap:8px;padding:6px 0;color:var(--muted);font-size:9px}.health-metric strong{color:var(--text);font-size:9px;font-weight:600}.health-metric strong .status-dot{margin-right:4px}.no-alert{color:#4ade80!important}.agencies-panel{padding-bottom:11px}.agency-heading{align-items:center}.table-actions{display:flex;align-items:center;gap:7px}.table-search{height:31px;border:1px solid var(--border);border-radius:7px;padding:0 8px;display:flex;align-items:center;gap:6px;background:var(--input);color:var(--muted)}.table-search span{font-size:16px}.table-search input{border:0;outline:0;background:transparent;color:var(--text);width:145px;font-size:9px}.filter-select{height:31px;font-size:9px}.more-table-button,.row-menu{border:1px solid var(--border);background:var(--surface2);color:var(--muted);border-radius:7px;height:29px;padding:0 8px}.table-scroll{overflow:auto}.agency-table{width:100%;border-collapse:collapse;min-width:700px;text-align:left}.agency-table th{font-size:8px;color:var(--muted);font-weight:800;letter-spacing:.6px;padding:10px 8px;border-bottom:1px solid var(--border);white-space:nowrap}.agency-table td{font-size:9px;padding:10px 8px;border-bottom:1px solid var(--border);color:var(--muted);white-space:nowrap}.agency-table tbody tr:nth-child(2n){background:var(--table-alt)}.agency-table tbody tr:last-child td{border-bottom:0}.agency-table td strong{color:var(--text)}.agency-cell{display:flex;align-items:center;gap:8px}.agency-cell>span:last-child{display:grid;gap:3px}.agency-cell small{font-size:8px;color:var(--faint)}.agency-symbol{height:27px;width:27px;border-radius:8px;display:grid;place-items:center;font-weight:800;font-size:9px}.symbol-orange{background:rgba(249,115,22,.13);color:var(--orange)}.symbol-green{background:rgba(22,163,74,.13);color:#4ade80}.symbol-blue{background:rgba(56,189,248,.13);color:#7dd3fc}.symbol-purple{background:rgba(167,139,250,.13);color:#c4b5fd}.symbol-teal{background:rgba(45,212,191,.13);color:#5eead4}.api-state{display:inline-flex;align-items:center;gap:5px}.status-badge{display:inline-block;padding:4px 7px;border-radius:20px;font-size:8px;font-weight:700}.active-badge{color:#4ade80;background:rgba(22,163,74,.13)}.pending-badge{color:#fdba74;background:rgba(249,115,22,.13)}.inactive-badge{color:#9ca3af;background:rgba(148,163,184,.13)}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 7px 0;color:var(--muted);font-size:9px}.table-footer strong{color:var(--text)}.view-all-button,.text-action{border:0;background:transparent;color:var(--orange);font-size:9px;font-weight:700}.view-all-button span{font-size:15px;margin-left:5px}.page-footer{display:flex;justify-content:space-between;gap:10px;color:var(--faint);font-size:8px;padding:14px 3px 0}.footer-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--orange);margin-right:5px}.loading-state{padding:80px;text-align:center;color:var(--muted)}
/* Inner pages */
.page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.search-field{height:35px;min-width:210px;border:1px solid var(--border);border-radius:8px;background:var(--input);display:flex;align-items:center;gap:7px;padding:0 10px;color:var(--muted)}.search-field input{border:0;outline:0;background:transparent;color:var(--text);font-size:10px;width:100%}.stat-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.strip-card{padding:14px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.strip-card span{display:block;color:var(--muted);font-size:9px;margin-bottom:8px}.strip-card strong{font-size:21px}.strip-card small{display:block;color:var(--muted);font-size:8px;margin-top:4px}.content-table{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}.content-table .agency-table{min-width:720px}.content-table .agency-table td{padding-top:13px;padding-bottom:13px}.empty-state{text-align:center;color:var(--muted);padding:28px}.role-card-grid,.api-card-grid,.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:14px}.role-card,.api-card,.settings-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px}.role-icon{height:34px;width:34px;border-radius:9px;display:grid;place-items:center;background:rgba(249,115,22,.13);color:var(--orange);font-weight:800;font-size:15px;margin-bottom:11px}.role-card h3,.api-card h3,.settings-card h3{font-size:12px;margin:0 0 6px}.role-card p,.api-card p,.settings-card p{font-size:9px;color:var(--muted);line-height:1.6;margin:0 0 12px}.role-meta{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding-top:10px;color:var(--muted);font-size:9px}.transfer-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}.transfer-card{background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:15px}.transfer-card span{display:block;color:var(--muted);font-size:9px;margin-bottom:8px}.transfer-card strong{font-size:22px}.transfer-card small{display:block;color:var(--muted);font-size:8px;margin-top:5px}.api-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.api-flag{height:32px;width:32px;display:grid;place-items:center;border-radius:9px;background:var(--surface3);color:var(--orange);font-weight:800}.status-line{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:9px}.api-card .secondary-button{width:100%;margin-top:4px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-top:1px solid var(--border)}.settings-row:first-of-type{border-top:0}.settings-row div{display:grid;gap:4px}.settings-row strong{font-size:10px}.settings-row small{font-size:9px;color:var(--muted)}.theme-options{display:flex;gap:7px}.theme-option{border:1px solid var(--border);background:var(--surface2);color:var(--muted);border-radius:8px;padding:8px 10px;font-size:9px}.theme-option.selected{border-color:var(--orange);color:var(--orange);background:rgba(249,115,22,.1)}.activity-item{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--border)}.activity-item:last-child{border-bottom:0}.activity-marker{height:28px;width:28px;border-radius:50%;background:rgba(249,115,22,.13);color:var(--orange);display:grid;place-items:center;flex:0 0 auto}.activity-item div{display:grid;gap:4px}.activity-item strong{font-size:10px}.activity-item small{color:var(--muted);font-size:9px}.report-chart{height:210px;display:flex;align-items:flex-end;gap:12px;padding:14px 8px 0;border-bottom:1px solid var(--border)}.bar-group{height:100%;display:flex;flex:1;align-items:flex-end;justify-content:center;gap:4px;position:relative;padding-bottom:24px}.bar{width:22%;max-width:29px;border-radius:5px 5px 0 0;background:var(--orange);opacity:.9}.bar.green{background:#16a34a}.bar-label{position:absolute;bottom:4px;color:var(--muted);font-size:8px}.report-legend{display:flex;gap:14px;color:var(--muted);font-size:9px;margin-top:12px}.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.66);display:none;align-items:center;justify-content:center;padding:16px;z-index:70}.modal-backdrop.open{display:flex}.modal{width:min(520px,100%);background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:21px;box-shadow:var(--shadow)}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:17px}.modal-kicker{color:var(--orange);font-size:8px;font-weight:800;letter-spacing:1.2px}.modal-header h2{font-size:18px;margin:7px 0 5px}.modal-header p{font-size:9px;color:var(--muted);margin:0}.modal-close{height:29px;width:29px;border:1px solid var(--border);border-radius:8px;background:var(--surface2);color:var(--muted);font-size:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-field{display:grid;gap:6px}.full-field{grid-column:1/-1}.form-field span{font-size:9px;font-weight:700;color:var(--muted)}.form-field b{color:var(--orange)}.form-field input{height:36px;width:100%;border:1px solid var(--border);border-radius:8px;background:var(--input);color:var(--text);padding:0 10px;outline:0;font-size:10px}.form-field input:focus,.search-field:focus-within{border-color:var(--orange)}.modal-note{display:flex;gap:8px;margin:14px 0;color:var(--muted);font-size:9px;line-height:1.6}.modal-note span{color:var(--orange)}.modal-actions{display:flex;justify-content:flex-end;gap:8px}.toast{position:fixed;right:20px;bottom:20px;z-index:90;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:11px 14px;display:flex;align-items:center;gap:9px;box-shadow:var(--shadow);font-size:10px;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.toast-check{width:18px;height:18px;border-radius:50%;background:rgba(22,163,74,.15);display:grid;place-items:center;color:#4ade80}.mobile-overlay{display:none}
@media(max-width:1100px){.content-wrap{padding:22px 19px}.topbar{padding:0 19px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(240px,.9fr)}.global-search{width:150px}.role-card-grid,.api-card-grid,.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.sidebar{transform:translateX(-105%);width:270px;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.sidebar-close{display:grid}.main-area{margin-left:0;width:100%}.mobile-overlay.show{display:block;position:fixed;inset:5px 0 0;background:rgba(0,0,0,.55);z-index:25}.topbar{height:58px;padding:0 13px}.menu-toggle{display:grid}.topbar-left,.topbar-actions{gap:8px}.breadcrumb{font-size:9px}.global-search{width:34px;padding:0 8px;justify-content:center}.global-search input{display:none}.theme-toggle,.notification-button{height:32px;width:32px}.top-divider,.profile-copy,.profile-button>.chevron{display:none}.profile-button .avatar{width:29px;height:29px}.content-wrap{padding:18px 13px}.page-heading{align-items:flex-start;flex-direction:column}.heading-actions{width:100%;justify-content:space-between}.date-select{flex:1}.welcome-banner{padding:17px;min-height:125px}.welcome-graphic{width:100px}.welcome-mark{width:52px;height:52px}.welcome-copy h2{font-size:16px}.welcome-copy p{max-width:230px;line-height:1.5}.dashboard-grid{grid-template-columns:1fr}.health-score-row{justify-content:flex-start}.agency-heading{align-items:flex-start;flex-direction:column}.table-actions{width:100%;flex-wrap:wrap}.table-search{flex:1;min-width:145px}.table-search input{width:100%}.table-footer{align-items:flex-start;flex-direction:column}.page-footer{flex-direction:column}.stat-strip{grid-template-columns:repeat(2,1fr)}.transfer-summary{grid-template-columns:repeat(3,1fr)}.transfer-card{padding:11px}.transfer-card strong{font-size:18px}.role-card-grid,.api-card-grid,.settings-grid{grid-template-columns:1fr}.profile-popover,.notification-popover{right:10px;top:52px}.global-search:focus-within{width:150px;position:absolute;right:150px;z-index:10}.global-search:focus-within input{display:block}}
@media(max-width:420px){.kpi-grid{gap:8px}.kpi-card{padding:12px}.kpi-value{font-size:21px}.kpi-label{font-size:9px}.welcome-graphic{display:none}.transfer-summary{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.full-field{grid-column:auto}.heading-actions{gap:6px}.primary-button{padding:0 10px}.date-select{font-size:9px}.stat-strip{gap:8px}.strip-card{padding:11px}.strip-card strong{font-size:18px}}
