/* Flux Admin 2.2.8 — comprehensive visual system. Scoped to owner console only. */
:root{--fx-accent:#7054f6;--fx-accent-hover:#6041e5;--fx-accent-light:#eeebff;--fx-bg:#f6f7fb;--fx-card:#fff;--fx-ink:#172036;--fx-ink-strong:#0d162e;--fx-muted:#798299;--fx-border:#e8ebf3;--fx-soft:#f8f9fc;--fx-sidebar:#101929;--fx-sidebar-2:#172438;--fx-nav-muted:#90a0bb;--fx-good:#087a61;--fx-warn:#a46710;--fx-bad:#bf4559;--fx-shadow:0 14px 38px rgba(35,45,74,.045);--fx-radius:18px}
html{scroll-behavior:smooth}
.av-body{margin:0;background:var(--fx-bg)!important;color:var(--fx-ink)!important;font-family:Inter,'Google Sans',ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;font-size:14px;-webkit-font-smoothing:antialiased}
.av-body *{box-sizing:border-box}
.av-body .av-shell{display:grid;grid-template-columns:264px minmax(0,1fr);min-height:100vh;transition:grid-template-columns .25s ease}
.av-body .av-side{height:100dvh;padding:0;display:flex;flex-direction:column;position:sticky;top:0;min-width:0;z-index:30;overflow:hidden;background:var(--fx-sidebar)!important;color:#f5f7ff!important;border-right:1px solid #27354b;box-shadow:inset -1px 0 rgba(255,255,255,.03)}
.av-body .fx-brand-row{height:91px;min-height:91px;padding:22px 17px 18px 23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.075)}
.av-body .av-brand{display:flex;align-items:center;gap:12px;min-width:0;padding:0;margin:0;color:#fff;text-decoration:none}
.av-body .fx-brand-mark{display:grid;place-items:center;height:42px;width:42px;border:1px solid #47527b;border-radius:14px;background:linear-gradient(140deg,rgba(112,84,246,.25),rgba(113,208,247,.04));box-shadow:0 3px 13px #05091738;flex-shrink:0}
.av-body .fx-brand-mark img{width:30px;height:30px;object-fit:contain}
.av-body .fx-brand-text{display:grid;gap:1px;line-height:1.1;white-space:nowrap}
.av-body .fx-brand-text strong{font-size:24px;font-weight:850;letter-spacing:-1.1px;color:#f9f9ff}
.av-body .fx-brand-dot{color:#9a84ff}
.av-body .fx-brand-text small{font-size:9px;letter-spacing:.18em;font-weight:740;color:#7d90af}
.av-body .fx-collapse-btn{display:grid;place-items:center;flex-shrink:0;height:30px;width:30px;border-radius:9px;border:1px solid #32405a;background:transparent;color:#a4b0c6;cursor:pointer;transition:.18s}
.av-body .fx-collapse-btn:hover{background:#273551;color:#fff}
.av-body .fx-sidebar-scroll{overflow-y:auto;overflow-x:hidden;min-height:0;flex:1;padding:20px 12px 10px;scrollbar-color:#43516a transparent;scrollbar-width:thin}
.av-body .fx-workspace{display:flex;align-items:center;gap:11px;margin:0 6px 24px;border:1px solid #38445b;padding:12px 10px;border-radius:13px;background:linear-gradient(140deg,#26364f,#1c293d);color:#e3eaf8;min-width:0}
.av-body .fx-workspace-icon{display:grid;place-items:center;width:33px;height:33px;flex-shrink:0;border-radius:10px;background:#6756d729;color:#b7aaff;font-size:17px}
.av-body .fx-workspace span{min-width:0;display:grid;gap:4px;white-space:nowrap}
.av-body .fx-workspace b{font-size:12px;font-weight:750}
.av-body .fx-workspace small{color:#9baac1;font-size:10px}
.av-body .fx-workspace-arrow{margin-left:auto;color:#6f7c94;font-size:13px}
.av-body .fx-nav-list{display:flex;flex-direction:column;gap:17px}
.av-body .fx-nav-group{display:grid;gap:3px;min-width:0}
.av-body .fx-nav-heading{margin:0 11px 8px;padding:0;font-size:10px;font-weight:780;text-transform:uppercase;letter-spacing:.13em;color:#677b99;line-height:1.4}
.av-body .fx-nav-link{position:relative;display:flex;align-items:center;gap:12px;min-height:40px;margin:0;padding:0 11px;border-radius:10px;background:transparent;color:#aab8ce;text-decoration:none;font-size:12.5px;font-weight:600;white-space:nowrap;transition:background .16s,color .16s,border-color .16s;overflow:hidden}
.av-body .fx-nav-link>.ti:first-child{font-size:19px;min-width:21px;text-align:center;color:#8fa0bd}
.av-body .fx-nav-link:hover{background:#ffffff0d;color:#fff}
.av-body .fx-nav-link.active{background:linear-gradient(93deg,#7355fa37,#6143ff12);box-shadow:inset 3px 0 #977fff;color:#fff;font-weight:760}
.av-body .fx-nav-link.active>.ti:first-child{color:#b6a3ff}
.av-body .fx-nav-active-dot{font-size:10px;color:#a891ff;margin-left:auto}
.av-body .av-side-foot{margin:auto 0 0;padding:16px 18px 19px;border-top:1px solid #2b384b;background:#0d1726;display:flex;flex-direction:column;gap:12px}
.av-body .av-admin{display:flex;gap:11px;align-items:center;padding:0;min-width:0}
.av-body .av-admin .avatar{height:37px;width:37px;flex-shrink:0;border-radius:12px;background:linear-gradient(145deg,#7755ff,#4f72e7);color:#fff;font-size:15px;font-weight:850}
.av-body .fx-user-details{display:grid;gap:4px;min-width:0}
.av-body .av-admin strong{display:block;font-size:12px;font-weight:750;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#edf2fd}
.av-body .av-admin span{font-size:10px;color:#94a4ba}
.av-body .av-logout{margin:0;color:#b8c3d3;display:flex;gap:10px;align-items:center;text-decoration:none;font-size:12px;font-weight:600;padding:8px 4px;border-radius:8px}
.av-body .av-logout:hover{color:#fff}
.av-body .av-main{min-width:0;display:flex;flex-direction:column}
.av-body .av-top{height:88px;min-height:88px;padding:0 36px;display:flex;gap:18px;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:19;background:color-mix(in srgb,var(--fx-card) 92%,transparent)!important;backdrop-filter:blur(18px);border-bottom:1px solid var(--fx-border);box-shadow:0 2px 10px #1a275104}
.av-body .fx-top-start,.av-body .fx-top-actions{display:flex;align-items:center;gap:12px;min-width:0}
.av-body .fx-top-actions{margin-left:auto}
.av-body .av-top .eyebrow{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--fx-muted);letter-spacing:.1em;text-transform:uppercase;font-weight:750}
.av-body .av-top .eyebrow .ti{color:#aeb4c2}
.av-body .av-top h1{font-size:22px;font-weight:800;color:var(--fx-ink-strong);letter-spacing:-.055em;line-height:1.17;margin:5px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.av-body .fx-icon-button{background:var(--fx-card);border:1px solid var(--fx-border);color:var(--fx-muted);border-radius:11px;min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 12px;font-family:inherit;font-size:12px;cursor:pointer;transition:.15s}
.av-body .fx-icon-button:hover{border-color:#c9c3ed;color:var(--fx-accent)}
.av-body .fx-search-launch{min-width:200px;justify-content:flex-start}
.av-body .fx-search-launch>.ti{font-size:17px}
.av-body .fx-search-launch>span{margin-right:auto}
.av-body kbd{font-family:inherit;font-weight:650;border:1px solid var(--fx-border);background:var(--fx-soft);border-radius:5px;font-size:10px;padding:4px 5px;color:var(--fx-muted)}
.av-body .av-view{height:40px;margin:0;display:inline-flex;gap:8px;align-items:center;background:var(--fx-card);color:var(--fx-ink);border:1px solid var(--fx-border);border-radius:11px;padding:0 15px;text-decoration:none;font-size:12px;font-weight:720;white-space:nowrap;transition:.15s}
.av-body .av-view:hover{color:var(--fx-accent);border-color:#cdc4f9}
.av-body .fx-top-avatar{display:grid;place-items:center;background:#f1eaff;border:2px solid #fff;border-radius:12px;color:#6340db;height:41px;width:41px;box-shadow:0 1px 8px #6e62b827;font-size:15px;font-weight:800;flex-shrink:0}
.av-body .av-menu{display:none;align-items:center;justify-content:center;min-width:39px;height:39px;background:var(--fx-card);border:1px solid var(--fx-border);color:var(--fx-ink);border-radius:10px;cursor:pointer;font-size:19px}
.av-body .av-content{width:100%;max-width:1680px;margin:0 auto;padding:30px 36px 45px;flex:1}
.av-body .fx-footbar{padding:18px 36px 24px;display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--fx-border);font-size:11px;color:var(--fx-muted)}
/* Core cards, tables and forms used by all pages */
.av-body .av-grid{gap:16px}
.av-body .av-card{border:1px solid var(--fx-border)!important;border-radius:var(--fx-radius)!important;box-shadow:var(--fx-shadow)!important;background:var(--fx-card)!important;color:var(--fx-ink);padding:23px}
.av-body .av-stat{position:relative;overflow:hidden;min-width:0;padding:24px!important;transition:box-shadow .17s,transform .17s}
.av-body .av-stat:hover{box-shadow:0 17px 45px rgba(28,43,75,.085)!important;transform:translateY(-2px)}
.av-body .av-stat span{display:block;font-size:12px;color:var(--fx-muted)!important;font-weight:690;letter-spacing:0}
.av-body .av-stat strong{display:block;margin:10px 0 0!important;color:var(--fx-ink-strong);font-size:25px!important;font-weight:820!important;letter-spacing:-.052em;overflow-wrap:anywhere}
.av-body .av-stat small{color:var(--fx-muted)!important;line-height:1.45;font-size:11px;margin-top:8px}
.av-body .av-section-head{margin-bottom:19px;align-items:center;gap:15px}
.av-body .av-section-head h2,.av-body .av-section-head h3{font-size:17px;letter-spacing:-.027em;font-weight:780;color:var(--fx-ink-strong)}
.av-body .av-muted{font-size:12px;color:var(--fx-muted)!important;line-height:1.65}
.av-body .av-table-wrap{width:100%;max-width:100%;overflow:auto;border-radius:11px;scrollbar-color:#c8cee0 transparent;scrollbar-width:thin}
.av-body .av-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12.5px;line-height:1.48}
.av-body .av-table th{background:var(--fx-soft);color:var(--fx-muted);font-size:10px;font-weight:810;letter-spacing:.08em;padding:13px 15px!important;text-transform:uppercase;border-top:1px solid var(--fx-border);border-bottom:1px solid var(--fx-border);white-space:nowrap}
.av-body .av-table th:first-child{border-radius:10px 0 0 0;border-left:1px solid var(--fx-border)}
.av-body .av-table th:last-child{border-radius:0 10px 0 0;border-right:1px solid var(--fx-border)}
.av-body .av-table td{padding:16px 15px!important;border-bottom:1px solid var(--fx-border);color:var(--fx-ink);vertical-align:middle}
.av-body .av-table tbody tr{transition:background .15s}
.av-body .av-table tbody tr:hover{background:var(--fx-soft)}
.av-body .av-table a{font-weight:720;color:var(--fx-accent);text-decoration:none}
.av-body .av-table a:hover{text-decoration:underline}
.av-body .av-table td strong{font-weight:740}
.av-body .av-table td code{font-size:11.5px;background:var(--fx-soft);padding:4px 6px;border-radius:5px;overflow-wrap:anywhere}
.av-body .av-badge{padding:5px 10px;font-size:10px;border-radius:7px;font-weight:780;text-transform:none;letter-spacing:0;line-height:1.4}
.av-body .av-badge.ok{background:#e2f8ef;color:#047857}
.av-body .av-badge.warn{background:#fff2d7;color:#925a0b}
.av-body .av-badge.bad{background:#ffeced;color:#bb3f53}
.av-body .av-badge.neutral{background:var(--fx-soft);color:var(--fx-muted)}
.av-body .av-btn{min-height:38px;max-width:100%;background:var(--fx-card);color:var(--fx-ink);border:1px solid var(--fx-border);border-radius:10px;padding:10px 14px;font:700 12px Inter,ui-sans-serif,sans-serif;box-shadow:0 1px 2px #10172c08;transition:background .16s,transform .16s,border-color .16s,box-shadow .16s;text-decoration:none}
.av-body .av-btn:hover:not(:disabled){border-color:#c8bdfa;box-shadow:0 5px 15px #1c235113;transform:translateY(-1px)}
.av-body .av-btn.primary{background:linear-gradient(115deg,#7759fb,#6251e9);border-color:#6d54f0;color:#fff;box-shadow:0 5px 12px #7054f633}
.av-body .av-btn.primary:hover:not(:disabled){background:linear-gradient(115deg,#654be7,#5640dc);box-shadow:0 8px 20px #7054f645}
.av-body .av-btn:disabled{opacity:.45;cursor:not-allowed}
.av-body .av-input,.av-body .av-select,.av-body .av-textarea{background:var(--fx-card);color:var(--fx-ink);border-color:var(--fx-border);font-size:13px;min-height:40px;border-radius:10px;max-width:100%}
.av-body .av-input:focus,.av-body .av-select:focus,.av-body .av-textarea:focus{border-color:var(--fx-accent);box-shadow:0 0 0 3px #7355fc1b}
.av-body .av-input::placeholder{color:#a7adbb}
.av-body .av-field label{font-size:10px;font-weight:750;letter-spacing:.04em;color:var(--fx-muted)}
.av-body .av-note{background:var(--fx-soft);color:var(--fx-ink);border:1px solid var(--fx-border);border-radius:12px;padding:15px 17px}
.av-body .av-alert{padding:14px 17px;border-radius:12px;font-weight:650;font-size:12px;border:1px solid transparent}
.av-body .av-alert.ok{background:#edfaf3;border-color:#b8ebd3;color:#08744d}
.av-body .av-alert.bad{background:#fff2f2;border-color:#ffd7d9;color:#b83447}
.av-body .av-kv{border-bottom:1px solid var(--fx-border);min-width:0;align-items:center}
.av-body .av-kv span{color:var(--fx-muted)}
.av-body .av-op-link{display:flex;align-items:center;justify-content:space-between;padding:15px 14px;border:1px solid var(--fx-border);border-radius:12px;background:var(--fx-card);text-decoration:none;color:var(--fx-ink);gap:20px;margin:0 0 9px;transition:.16s}
.av-body .av-op-link:hover{background:var(--fx-soft);border-color:#c7baf9;transform:translateX(2px)}
.av-body .av-op-link div strong{font-size:13px;font-weight:750;color:var(--fx-ink-strong)}
.av-body .av-op-link div span{color:var(--fx-muted);font-size:11px;margin-top:3px;line-height:1.45}
.av-body .av-op-link>.ti{color:var(--fx-accent);font-size:17px}
/* Dashboard 2.2.8 */
.av-body .fx-dash-welcome{min-height:214px;border-radius:23px;padding:33px 34px;display:flex;justify-content:space-between;align-items:center;gap:25px;overflow:hidden;position:relative;background:linear-gradient(110deg,#161b40 0%,#242157 58%,#4c2fa0 100%);color:#fff;box-shadow:0 20px 38px #39337424}
.av-body .fx-dash-welcome::after{content:"";position:absolute;width:340px;height:340px;right:-120px;top:-122px;border:1px solid #ffffff26;border-radius:50%;box-shadow:0 0 0 38px #ffffff05,0 0 0 86px #ffffff04;pointer-events:none}
.av-body .fx-dash-welcome::before{content:"";position:absolute;width:180px;height:180px;right:17%;bottom:-136px;background:#8774ff4b;filter:blur(65px);border-radius:50%;pointer-events:none}
.av-body .fx-dash-welcome>div{position:relative;z-index:1}
.av-body .fx-kicker{display:inline-flex;align-items:center;gap:8px;color:#c1b9fc;text-transform:uppercase;font-size:10px;letter-spacing:.17em;font-weight:850}
.av-body .fx-dash-welcome h2{font-size:clamp(26px,3vw,36px);color:#fff;margin:13px 0 11px;line-height:1.13;letter-spacing:-.065em;font-weight:850}
.av-body .fx-dash-welcome p{font-size:13px;color:#c4cbe5;line-height:1.65;margin:0;max-width:495px}
.av-body .fx-dash-welcome .fx-hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
.av-body .fx-dash-welcome .fx-hero-actions a{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:38px;padding:10px 15px;border-radius:10px;font-size:12px;font-weight:750;text-decoration:none;background:#fff;color:#292755;border:1px solid #ffffff36}
.av-body .fx-dash-welcome .fx-hero-actions a.secondary{background:#ffffff12;color:#fff}
.av-body .fx-dash-welcome .fx-hero-illustration{width:178px;min-height:138px;display:grid;place-items:center;color:#b6a4ff;flex-shrink:0;font-size:96px;opacity:.75}
.av-body .fx-dash-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 15px}
.av-body .fx-dash-section-head h2{font-size:17px;margin:0;color:var(--fx-ink-strong);font-weight:820;letter-spacing:-.03em}
.av-body .fx-dash-section-head small{font-size:11px;color:var(--fx-muted)}
.av-body .fx-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.av-body .fx-metric{background:var(--fx-card);border:1px solid var(--fx-border);border-radius:17px;padding:22px 21px;min-width:0;box-shadow:var(--fx-shadow);transition:.16s}
.av-body .fx-metric:hover{transform:translateY(-2px);box-shadow:0 18px 36px #101b3912}
.av-body .fx-metric-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.av-body .fx-metric-name{font-size:12px;color:var(--fx-muted);font-weight:690}
.av-body .fx-metric-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:17px;color:#7258ee;background:#f0eeff;flex-shrink:0}
.av-body .fx-metric-icon.mint{color:#13896e;background:#dff8ed}
.av-body .fx-metric-icon.orange{color:#b87713;background:#fff1d8}
.av-body .fx-metric-icon.blue{color:#3478cc;background:#eaf3ff}
.av-body .fx-metric-value{font-size:clamp(20px,2vw,27px);font-weight:850;letter-spacing:-.062em;line-height:1.2;color:var(--fx-ink-strong);margin:18px 0 8px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.av-body .fx-metric-hint{font-size:11px;color:var(--fx-muted)}
.av-body .fx-dashboard-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:17px;align-items:start}
.av-body .fx-dash-card{background:var(--fx-card);border:1px solid var(--fx-border);border-radius:18px;padding:24px;box-shadow:var(--fx-shadow);min-width:0}
.av-body .fx-dash-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.av-body .fx-dash-card-header h3{color:var(--fx-ink-strong);font-size:16px;letter-spacing:-.03em;margin:0;font-weight:800}
.av-body .fx-dash-card-header p{margin:5px 0 0;font-size:11px;color:var(--fx-muted)}
.av-body .fx-text-link{display:inline-flex;align-items:center;gap:5px;color:var(--fx-accent);text-decoration:none;font-size:11px;font-weight:750;white-space:nowrap}
.av-body .fx-text-link:hover{text-decoration:underline}
.av-body .fx-attention-list{display:flex;flex-direction:column;gap:11px}
.av-body .fx-attention-row{display:flex;align-items:center;gap:12px;text-decoration:none;padding:14px;border:1px solid var(--fx-border);border-radius:12px;transition:.15s;color:var(--fx-ink)}
.av-body .fx-attention-row:hover{background:var(--fx-soft);border-color:#d2c6ff}
.av-body .fx-attention-symbol{display:grid;place-items:center;width:37px;height:37px;flex-shrink:0;border-radius:11px;background:#f2eeff;color:#7153e8;font-size:17px}
.av-body .fx-attention-symbol.amber{background:#fff5e4;color:#c2821f}
.av-body .fx-attention-symbol.green{background:#e5f8ef;color:#0b8b63}
.av-body .fx-attention-row div:nth-child(2){min-width:0;flex:1;display:grid;gap:3px}
.av-body .fx-attention-row strong{font-size:12px;font-weight:760;color:var(--fx-ink-strong)}
.av-body .fx-attention-row span{font-size:11px;color:var(--fx-muted);line-height:1.45}
.av-body .fx-attention-row>.ti{color:#acb3c3}
.av-body .fx-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.av-body .fx-shortcut{display:flex;flex-direction:column;gap:13px;min-height:110px;padding:17px;border-radius:13px;text-decoration:none;color:var(--fx-ink);background:var(--fx-soft);border:1px solid var(--fx-border);transition:.15s}
.av-body .fx-shortcut:hover{transform:translateY(-2px);border-color:#c4b8fa;background:var(--fx-card)}
.av-body .fx-shortcut i{color:var(--fx-accent);font-size:20px}
.av-body .fx-shortcut span{font-weight:750;font-size:12px;line-height:1.3}
.av-body .fx-dash-tables{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:start}
.av-body .fx-dashboard-table{width:100%;border-collapse:collapse;font-size:12px}
.av-body .fx-dashboard-table th{text-align:left;color:var(--fx-muted);font-size:10px;font-weight:780;letter-spacing:.07em;text-transform:uppercase;background:var(--fx-soft);padding:12px;border-bottom:1px solid var(--fx-border)}
.av-body .fx-dashboard-table td{padding:14px 12px;border-bottom:1px solid var(--fx-border);vertical-align:middle}
.av-body .fx-dashboard-table td strong{color:var(--fx-ink-strong);font-size:11.5px;font-weight:760;overflow-wrap:anywhere}
.av-body .fx-dashboard-table td small{color:var(--fx-muted);font-size:10px}
.av-body .fx-dashboard-table a{color:var(--fx-accent);text-decoration:none}
.av-body .fx-empty{padding:26px 14px;text-align:center;color:var(--fx-muted);font-size:12px}
/* Command palette */
.fx-command-backdrop[hidden]{display:none!important}
.fx-command-backdrop{position:fixed;z-index:120;inset:0;background:rgba(6,12,30,.62);backdrop-filter:blur(6px);padding:12vh 15px 15px;display:flex;align-items:flex-start;justify-content:center}
.fx-command-panel{width:min(550px,100%);background:var(--fx-card);border:1px solid var(--fx-border);border-radius:20px;box-shadow:0 33px 100px #0509184c;overflow:hidden;color:var(--fx-ink)}
.fx-command-search{display:flex;align-items:center;gap:13px;padding:17px 19px;border-bottom:1px solid var(--fx-border)}
.fx-command-search>.ti{font-size:20px;color:var(--fx-muted)}
.fx-command-search input{width:100%;border:0!important;outline:0!important;background:transparent!important;color:var(--fx-ink);font:500 14px ui-sans-serif,system-ui;min-width:0;box-shadow:none!important}
.fx-command-search button{border:0;background:transparent;cursor:pointer}
.fx-command-caption{padding:18px 18px 6px;font-size:10px;font-weight:810;letter-spacing:.11em;text-transform:uppercase;color:var(--fx-muted)}
#fx-command-results{max-height:min(50vh,400px);overflow:auto;padding:4px 10px 13px}
.fx-result{width:100%;display:flex;gap:13px;align-items:center;text-decoration:none;font-size:13px;color:var(--fx-ink);border-radius:10px;padding:12px 14px;cursor:pointer}
.fx-result:hover,.fx-result.active{background:var(--fx-soft);color:var(--fx-accent)}
.fx-result .ti{font-size:17px;color:var(--fx-accent)}
.fx-result .ti:last-child{margin-left:auto;color:var(--fx-muted)}
.fx-command-bottom{display:flex;gap:17px;padding:13px 19px;border-top:1px solid var(--fx-border);color:var(--fx-muted);font-size:10px}
.fx-mobile-overlay{display:none}
/* Narrow desktop layout and compact sidebar */
@media(min-width:981px){html.fx-compact .av-body .av-shell{grid-template-columns:78px minmax(0,1fr)}html.fx-compact .av-body .fx-brand-text,html.fx-compact .av-body .fx-workspace,html.fx-compact .av-body .fx-nav-heading,html.fx-compact .av-body .fx-nav-link span,html.fx-compact .av-body .fx-nav-active-dot,html.fx-compact .av-body .fx-user-details,html.fx-compact .av-body .av-logout span{display:none}html.fx-compact .av-body .fx-brand-row{padding:16px;min-height:91px}html.fx-compact .av-body .fx-brand-mark{width:40px}html.fx-compact .av-body .fx-collapse-btn{position:absolute;top:68px;right:2px;height:22px;width:22px;border-radius:50%;font-size:9px}html.fx-compact .av-body .fx-nav-list{gap:21px}html.fx-compact .av-body .fx-nav-group{gap:8px}html.fx-compact .av-body .fx-nav-link{justify-content:center;padding:0;min-height:42px}html.fx-compact .av-body .fx-nav-link>.ti:first-child{font-size:21px}html.fx-compact .av-body .av-side-foot{padding:14px 18px}html.fx-compact .av-body .av-admin{justify-content:center}html.fx-compact .av-body .av-logout{justify-content:center}}
@media(max-width:1280px){.av-body .fx-search-launch{min-width:40px;width:40px;padding:0;justify-content:center}.av-body .fx-search-launch span,.av-body .fx-search-launch kbd{display:none}.av-body .av-top{padding:0 24px}.av-body .av-content{padding:24px 23px 45px}.av-body .fx-dash-tables{grid-template-columns:1fr}}
@media(max-width:1080px){.av-body .fx-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.av-body .fx-dashboard-columns{grid-template-columns:1fr}.av-body .fx-dash-tables{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.av-body .av-shell{grid-template-columns:1fr!important}.av-body .av-side{position:fixed;top:0;left:0;width:270px;max-width:86vw;height:100dvh;transform:translateX(-105%);transition:transform .22s ease;box-shadow:0 25px 50px #060b1c30}.av-side-open .av-body .av-side,.av-body.av-side-open .av-side{transform:translateX(0)}.av-body .av-menu{display:flex}.av-body .fx-collapse-btn{display:none}.av-body .fx-mobile-overlay{display:none}.av-body.av-side-open .fx-mobile-overlay{display:block;position:fixed;inset:0;background:#0810218a;z-index:25}.av-body .av-top{height:75px;min-height:75px}.av-body .av-top h1{font-size:20px}.av-body .fx-top-actions{gap:8px}.av-body .av-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.av-body .av-top{padding:0 15px;height:71px;min-height:71px;gap:9px}.av-body .av-top h1{font-size:17px}.av-body .av-top .eyebrow{font-size:9px}.av-body .fx-top-actions{gap:6px}.av-body .av-view{padding:0 10px;width:38px;height:38px;justify-content:center}.av-body .av-view span,.av-body .fx-top-avatar{display:none}.av-body .fx-icon-button{min-width:38px;width:38px;height:38px;padding:0}.av-body .av-content{padding:17px 13px 35px}.av-body .av-card{padding:17px}.av-body .av-stat{padding:17px!important}.av-body .av-stat strong{font-size:21px!important}.av-body .av-stat span{font-size:11px}.av-body .av-grid-4{gap:9px}.av-body .av-grid-2,.av-body .fx-dash-tables{grid-template-columns:1fr}.av-body .fx-dash-welcome{padding:24px 20px;min-height:204px}.av-body .fx-dash-welcome .fx-hero-illustration{display:none}.av-body .fx-dash-welcome h2{font-size:29px}.av-body .fx-metric-grid{gap:10px}.av-body .fx-metric{padding:17px 14px}.av-body .fx-metric-value{font-size:20px}.av-body .fx-dashboard-columns,.av-body .fx-dash-tables{gap:12px}.av-body .fx-dash-card{padding:18px 14px}.av-body .fx-footbar{padding:15px;font-size:10px}.av-body .fx-dash-section-head{margin:23px 0 12px}.av-body .av-table-wrap{overflow-x:auto}.av-body .av-table{min-width:540px}.av-body .av-table td,.av-body .av-table th{padding:11px!important}.av-body .av-section-head{align-items:flex-start;flex-wrap:wrap}.av-body .av-section-head h3{font-size:15px}.av-body .av-btn{min-height:36px}.av-body .av-form-grid{grid-template-columns:1fr}.av-body .fx-command-backdrop{padding-top:7vh}}
/* Effective dark mode for shared primitives and dashboard */
html[data-fx-theme="dark"]{--fx-bg:#0b1220;--fx-card:#121c2c;--fx-ink:#dbe4f5;--fx-ink-strong:#eef3ff;--fx-muted:#91a1bb;--fx-border:#283750;--fx-soft:#19263b;--fx-shadow:0 10px 28px #00000028}
html[data-fx-theme="dark"] .av-body .av-top{background:rgba(18,28,44,.92)!important}
html[data-fx-theme="dark"] .av-body .fx-top-avatar{border-color:#26344b;background:#342a66;color:#c3b4ff}
html[data-fx-theme="dark"] .av-body .fx-metric-icon{background:#302757}
html[data-fx-theme="dark"] .av-body .fx-metric-icon.mint{background:#103a33}
html[data-fx-theme="dark"] .av-body .fx-metric-icon.orange{background:#4d361c}
html[data-fx-theme="dark"] .av-body .fx-metric-icon.blue{background:#1a3658}
html[data-fx-theme="dark"] .av-body .av-badge.ok{background:#0b3d32;color:#74e0bc}
html[data-fx-theme="dark"] .av-body .av-badge.warn{background:#4d3619;color:#ffd28c}
html[data-fx-theme="dark"] .av-body .av-badge.bad{background:#4c232b;color:#ffb6c1}
html[data-fx-theme="dark"] .av-body .av-alert.ok{background:#113b30;color:#85dfb6;border-color:#285f4b}
html[data-fx-theme="dark"] .av-body .av-alert.bad{background:#45242d;color:#ffa4b4;border-color:#713244}
html[data-fx-theme="dark"] .av-body .av-stat strong[style*="color"],html[data-fx-theme="dark"] .av-body .av-card strong[style*="color:#0f172a"]{color:var(--fx-ink-strong)!important}
html[data-fx-theme="dark"] .av-body .av-kv{background:transparent}
/* Focus, accessible motion and visibility */
.av-body :focus-visible,.fx-command-panel :focus-visible{outline:3px solid #b4a6ff!important;outline-offset:2px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.av-body *, .fx-command-panel *{transition:none!important;animation:none!important}}
/* Login + first administrator setup share the premium surface */
.fx-login-page{margin:0;font-family:Inter,ui-sans-serif,system-ui,'Segoe UI',sans-serif;background:#f5f6fb;-webkit-font-smoothing:antialiased}
.fx-login-page *{box-sizing:border-box}
.fx-login-page .av-auth{min-height:100dvh;background:radial-gradient(ellipse at 7% 5%,#e9e4ff 0,transparent 32%),radial-gradient(ellipse at 92% 95%,#e6eefc 0,transparent 35%),#f7f8fc;padding:30px}
.fx-login-page .av-auth-card{width:min(1030px,100%);min-height:598px;border:1px solid #e4e7f0;border-radius:26px;grid-template-columns:.97fr 1fr;box-shadow:0 32px 120px #333c721a;background:#fff}
.fx-login-page .av-auth-art{position:relative;padding:47px 44px;min-height:575px;background:linear-gradient(133deg,#111b32 0%,#252058 58%,#563fa8 100%);overflow:hidden}
.fx-login-page .av-auth-art:before{content:"";width:360px;height:360px;border:1px solid #ffffff2d;border-radius:50%;position:absolute;right:-185px;top:85px;box-shadow:0 0 0 45px #ffffff07,0 0 0 92px #ffffff05}
.fx-login-page .av-auth-art>*{position:relative;z-index:1}
.fx-login-page .av-auth-art img{width:59px;height:59px;object-fit:contain;padding:9px;border-radius:17px;border:1px solid #ffffff22;background:#ffffff14}
.fx-login-page .av-auth-art h1{font-size:clamp(34px,4vw,52px);line-height:1.07;letter-spacing:-.06em;font-weight:840;margin:0 0 18px;color:#fff}
.fx-login-page .av-auth-art p{font-size:14px;line-height:1.8;color:#c5cce1;max-width:390px;margin:0}
.fx-login-page .av-auth-form{padding:55px 52px}
.fx-login-page .av-auth-form h2{font-size:31px;font-weight:820;letter-spacing:-.055em;color:#141b30}
.fx-login-page .av-auth-form>p{font-size:13px;color:#858da1;margin-top:7px;margin-bottom:30px}
.fx-login-page .av-auth-form form{gap:18px}
.fx-login-page .av-auth-form .av-field{gap:8px}
.fx-login-page .av-auth-form .av-field label{font-size:11px;letter-spacing:.08em;font-weight:800;color:#535b70}
.fx-login-page .av-auth-form .av-input{border-radius:12px;border:1px solid #e0e4ee;padding:13px 15px;height:48px;min-width:0;background:#fbfcff;outline:0;color:#1c263c;font-size:14px;width:100%}
.fx-login-page .av-auth-form .av-input:focus{border-color:#7759fb;box-shadow:0 0 0 4px #7657fa22;background:#fff}
.fx-login-page .av-auth-form .av-check{font-size:12px;color:#727d93;gap:10px;line-height:1.5}
.fx-login-page .av-auth-form .av-check input{accent-color:#7054f6}
.fx-login-page .av-auth-form .av-btn.primary{border-radius:12px;background:linear-gradient(110deg,#7659f8,#5c4bdf);color:#fff;border:0;min-height:50px;box-shadow:0 9px 20px #6f52fc30;font-size:13px;font-weight:780;cursor:pointer}
.fx-login-page .av-auth-form .av-btn.primary:hover{filter:brightness(.96)}
.fx-login-page .av-alert.bad{background:#fff0f2;color:#b03b4c;padding:13px;border:1px solid #ffd6df;border-radius:11px;font-size:12px}
@media(max-width:850px){.fx-login-page .av-auth-card{grid-template-columns:1fr;max-width:520px}.fx-login-page .av-auth-art{min-height:250px;padding:31px}.fx-login-page .av-auth-art h1{font-size:35px}.fx-login-page .av-auth-form{padding:35px}}
@media(max-width:490px){.fx-login-page .av-auth{padding:10px}.fx-login-page .av-auth-card{border-radius:17px;min-height:0}.fx-login-page .av-auth-art{min-height:210px;padding:25px}.fx-login-page .av-auth-art img{height:42px;width:42px}.fx-login-page .av-auth-art h1{font-size:31px}.fx-login-page .av-auth-art p{font-size:12px}.fx-login-page .av-auth-form{padding:27px 22px}.fx-login-page .av-auth-form h2{font-size:27px}}
/* Priority financial action surfaces */
.av-body .av-disb-hero{display:flex;justify-content:space-between;gap:25px;align-items:center;background:linear-gradient(115deg,#1a2250,#43358a)!important;border:0!important;color:#fff!important;padding:26px 28px;border-radius:20px!important;margin-bottom:20px}
.av-body .av-disb-hero h2{font-size:24px;font-weight:830;letter-spacing:-.05em;color:#fff;margin:7px 0}
.av-body .av-disb-hero p{font-size:12px;color:#d3d4f1;line-height:1.6;max-width:440px;margin:0}
.av-body .av-disb-hero .av-disb-eyebrow{font-size:10px;color:#bcb3ff;text-transform:uppercase;letter-spacing:.13em;font-weight:800}
.av-body .av-disb-hero .av-disb-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;max-width:540px}
.av-body .av-disb-hero .av-btn{background:#ffffff1c;color:#fff;border-color:#ffffff30;box-shadow:none;min-height:36px}
.av-body .av-disb-hero .av-btn.primary{background:#fff;color:#2e2654;border-color:transparent;box-shadow:none}
.av-body .av-disb-hero .av-btn:hover{background:#ffffff30}
.av-body .av-disb-hero .av-btn.primary:hover{background:#f4f0ff}
.av-body .av-disb-hero .av-disb-actions form{margin:0}
.av-body .av-disb-stats{margin-bottom:16px}
.av-body .av-disb-stats .av-stat strong{font-variant-numeric:tabular-nums}
.av-body .av-disb-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.av-body .av-payout-action{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.av-body .av-payout-action .av-select{width:auto;min-width:130px}
.av-body .av-payout-action .av-input{width:130px}
.av-body .av-inline-release{display:flex;gap:8px;flex-wrap:wrap}
.av-body .av-inline-release .av-input{width:190px}
.av-body .av-health{font-size:11px;font-weight:750}
@media(max-width:1150px){.av-body .av-disb-hero{align-items:flex-start;flex-direction:column}.av-body .av-disb-hero .av-disb-actions{justify-content:flex-start}}
