:root{--brand-blue:#395cf6;--brand-blue-soft:#eef2ff}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;font-size:14px;color:#25354d;background:#f6f7fb}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b4c5ff;outline-offset:2px}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:220px;background:white;border-right:1px solid #e6eaf2;padding:30px 18px;display:flex;flex-direction:column}.logo{font-size:23px;font-weight:700;letter-spacing:-.6px}.muted{font-size:13px;line-height:1.5;color:#8794aa}.sidebar>small{margin:38px 10px 12px;color:#98a2b3;font-size:11px}.nav-active{background:#4562f5;color:white;padding:13px;border-radius:8px;font-weight:600}.nav-active span{margin-right:8px}.sidebar-user{margin-top:auto;border-top:1px solid #edf0f6;padding-top:18px}.sidebar-user small{display:block;color:#8e9bb0;font-size:11px;margin-top:5px}.workspace{margin-left:220px}.admin-header{height:76px;background:#fff;border-bottom:1px solid #e6eaf2;display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:20px}.header-role{color:#8e9bb0;font-size:12px;margin-left:15px}.header-right{display:flex;align-items:center;gap:22px}.header-money small{display:block;font-size:10px;color:#8b98ad;margin-bottom:5px}.header-money b{font-size:13px}.avatar{width:36px;height:36px;border:1px solid #e5e9f2;background:#eef2fc;border-radius:50%;font-weight:700;color:#4562f5}.profile-wrap{position:relative}#profile-menu{position:absolute;right:0;top:45px;width:205px;padding:12px;background:white;border:1px solid #e6eaf2;border-radius:10px;box-shadow:0 8px 24px #25354d12;z-index:10}#profile-menu strong{display:block;padding:8px}#profile-menu button{display:block;width:100%;border:0;background:none;text-align:left;padding:10px;border-radius:6px;color:#59677e}#profile-menu button:hover{background:#f3f5fa}main{padding:28px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}h1{font-size:24px;margin:0}h2{font-size:20px;margin:0}p{margin:8px 0 0}.primary{border:0;background:#4562f5;color:white;border-radius:7px;padding:11px 16px;font-weight:600}.outline{border:1px solid #e1e6f0;background:#fff;border-radius:6px;padding:9px 12px;color:#546780}.panel{background:white;border:1px solid #e3e8f2;border-radius:12px;padding:20px}.search-row{display:flex;align-items:flex-end;gap:14px}.search-row label:first-child{width:290px}.search-row label:nth-child(2){width:140px}label{display:block;font-size:12px;color:#58677f}input,select{display:block;width:100%;border:1px solid #dfe5ef;border-radius:6px;background:white;color:#25354d;padding:10px 12px;margin-top:7px}.breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:20px 0 16px}.breadcrumbs button{background:none;border:0;color:#4562f5;padding:0;font-size:12px}.summaries{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.summaries>div{background:#f1f4f9;border-radius:10px;padding:20px 16px}.summaries small{display:block;font-size:11px;color:#8291a8}.summaries strong{display:block;font-size:20px;line-height:1.3;margin:12px 0;overflow-wrap:anywhere}.summaries span{font-size:10px;color:#8d9ab0}.summary-note{font-size:11px;line-height:1.5;color:#929eb0;margin:14px 0 20px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}th{text-align:left;font-size:11px;background:#f3f5fa;color:#6b7b93;padding:13px 12px;font-weight:600}td{border-bottom:1px solid #edf0f5;padding:14px 12px;font-size:12px}.username{border:0;background:none;color:#4562f5;padding:0;font-size:12px;font-weight:600}.role-chip{font-size:9px;color:#687ad8;background:#edf0ff;padding:4px 5px;border-radius:4px;display:inline-block;margin-right:7px}.status{border-radius:5px;padding:4px 9px;font-size:10px;background:#e7f7ee;color:#299567}.status.locked{background:#fff3db;color:#9f6a17}.status.suspended{background:#ffeaeb;color:#c34356}.exposure{color:#d14f61}.action{border:1px solid #e1e6ef;border-radius:5px;background:#fff;width:29px;height:29px;color:#71829b;margin-left:4px}.action svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.6;vertical-align:middle}.pagination{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:20px;color:#8996aa;font-size:12px}.pagination>div{display:flex;gap:12px;align-items:center}#notice{color:#ba4152;font-size:13px;margin-bottom:12px}dialog{border:1px solid #e3e8f2;border-radius:14px;padding:25px;width:440px;max-width:calc(100vw - 30px);color:#25354d}dialog::backdrop{background:#17233865}dialog label{margin-top:16px}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading button{border:0;background:none;font-size:25px;color:#8794aa}dialog .primary{width:100%;margin-top:20px}.form-status,#login-status{font-size:12px;color:#bb4055;line-height:1.5}.login-body{min-height:100dvh;display:grid;place-items:center;padding:24px}.login-card{width:420px;max-width:100%;padding:32px;background:white;border:1px solid #e3e8f2;border-radius:14px}.login-card h1{margin:28px 0 20px}.login-card label{margin:16px 0}.login-card .primary,.google-login{width:100%;text-align:center;display:block;margin-top:20px}.google-login{padding:11px;border:1px solid #dfe5ef;border-radius:7px;font-weight:600}.google-login[aria-disabled=true]{opacity:.5;pointer-events:none}.back-link{display:block;font-size:12px;margin-top:24px;color:#8492a7}@media(max-width:1100px){.summaries{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:185px}.workspace{margin-left:185px}.header-role{display:block;margin:5px 0 0}.header-right{gap:12px}}@media(max-width:760px){.sidebar{position:static;width:100%;padding:16px;border-right:0;border-bottom:1px solid #e3e8f2;display:flex;flex-direction:row;align-items:center;gap:16px}.sidebar .muted,.sidebar>small,.sidebar-user{display:none}.sidebar .logo{font-size:19px}.nav-active{margin-left:auto;padding:9px 13px;font-size:12px}.workspace{margin:0}.admin-header{height:auto;min-height:82px;padding:14px 16px;gap:10px}.admin-header>div:first-child>strong{display:none}.header-role{font-size:11px;margin:0}.header-right{gap:10px}.header-money b{font-size:11px}.header-money small{font-size:9px}.avatar{width:30px;height:30px}main{padding:18px 12px}.page-heading{margin-bottom:18px}h1{font-size:21px}.page-heading p{font-size:11px}.page-heading .primary{padding:10px;font-size:12px}.panel{padding:14px 10px}.search-row{flex-wrap:wrap;gap:10px}.search-row label:first-child{width:100%}.search-row label:nth-child(2){flex:1}.summaries{gap:8px}.summaries>div{padding:14px 10px}.summaries strong{font-size:17px}.pagination{flex-wrap:wrap}.login-card{padding:24px}}

/* Neutral reference menu and compact mobile controls. */
.nav-active{display:flex;align-items:center;gap:12px;background:#e7e8eb;color:#252b32;padding:11px 14px;border-radius:10px;font-weight:600}.nav-active svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.6;flex-shrink:0}.nav-active:hover{background:#dfe1e5}.primary{background:#e7e8eb;color:#252b32;border:1px solid #d9dce1}.primary:hover:not(:disabled){background:#dce0e5}.avatar{display:grid;place-items:center;background:#fff;color:#555c65;border:1px solid #dfe2e7}.avatar svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.menu-toggle,.sidebar-backdrop{display:none}.admin-header{position:sticky;top:0;z-index:20}.header-identity{min-width:0}#profile-menu{z-index:40}.sidebar>small{color:#747b85}.header-money small{color:#747b85}
@media(max-width:760px){.menu-toggle{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border:1px solid #e1e3e7;border-radius:7px;background:#fff;color:#525961}.menu-toggle svg{width:23px;height:23px;fill:currentColor}.sidebar{position:fixed;inset:0 auto 0 0;width:min(280px,82vw);height:100dvh;padding:26px 18px;border-right:1px solid #e3e5e9;border-bottom:0;flex-direction:column;align-items:stretch;gap:0;z-index:60;transform:translateX(-100%);transition:transform .18s ease;visibility:hidden}.sidebar.is-open{transform:translateX(0);visibility:visible}.sidebar .logo{font-size:22px}.sidebar .muted,.sidebar>small,.sidebar-user{display:block}.sidebar-user{margin-top:auto}.sidebar>small{margin:30px 10px 12px}.sidebar .nav-active{margin:0;padding:12px 14px;font-size:14px}.sidebar-backdrop:not([hidden]){display:block;position:fixed;inset:0;border:0;background:#10182055;z-index:50}.menu-open{overflow:hidden}.admin-header{height:64px;min-height:64px;padding:0 12px;gap:10px}.header-identity{flex:1}.header-identity>strong{display:none}.header-role{font-size:10px;line-height:1.4;overflow-wrap:anywhere}.header-right{gap:9px;flex-shrink:0}.header-money{text-align:right}.header-money small{font-size:9px;margin-bottom:3px}.header-money b{font-size:12px;white-space:nowrap}.avatar{width:34px;height:34px}.avatar svg{width:20px;height:20px}#profile-menu{top:43px;width:200px}.page-heading .primary{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}

.wallet-action{font-size:11px;font-weight:700;vertical-align:middle}.deposit:hover,.deposit.selected{background:#258244;border-color:#258244;color:#fff}.withdraw:hover,.withdraw.selected{background:#cc3039;border-color:#cc3039;color:#fff}#members[aria-busy=true]{opacity:.65}.table-scroll{min-height:90px}

.breadcrumbs{gap:5px;width:fit-content;max-width:100%;padding:6px;border:1px solid #dfe3e9;border-radius:7px;background:#fff}.breadcrumbs .crumb{display:inline-flex;align-items:center;gap:7px;padding:5px 7px;border-radius:4px;color:#303a48;font-size:12px}.crumb:hover{background:#f1f3f6}.crumb.current{background:#f0f2f5}.crumb strong{font-size:12px}.crumb-role{font-size:9px;font-weight:500;padding:3px 5px;border-radius:3px;background:#e7edf5;color:#52677e}.breadcrumbs>span{color:#9ba4af;padding:0 2px}th:last-child,td:last-child{position:sticky;right:0;text-align:right;width:1%;white-space:nowrap;z-index:2}th:last-child{background:#f3f5fa}td:last-child{background:#fff;box-shadow:-6px 0 8px -8px #7d899c}td[colspan]{position:static;text-align:left;width:auto;box-shadow:none}.table-scroll{isolation:isolate}

.role-chip.role-0,.crumb-role.role-0{background:#e9e2fb;color:#6640a0}.role-chip.role-1,.crumb-role.role-1{background:#dff2fc;color:#176787}.role-chip.role-2,.crumb-role.role-2{background:#e1f4e8;color:#286641}.role-chip.role-3,.crumb-role.role-3{background:#f0f3ce;color:#62691d}.role-chip.role-4,.crumb-role.role-4{background:#fae2ed;color:#9a3566}.role-chip.role-5,.crumb-role.role-5{background:#fff0d5;color:#8c5b12}

/* Lifetime financial history; existing columns and sticky actions retained. */
.deposit-heading{color:#119456;background:#effaf5}.withdraw-heading{color:#ce3042;background:#fff2f4}.history-cell{padding:8px 6px;min-width:175px}.history-card{display:flex;align-items:center;gap:14px;padding:10px 12px;border-radius:8px;min-height:48px}.history-card.deposit{background:#effaf5;color:#08784b}.history-card.withdraw{background:#fff2f4;color:#c8233a}.history-arrow{font-size:26px;line-height:1;font-weight:400}.history-card strong{display:block;font-size:12px;line-height:1.5}.history-card small{display:block;font-size:10px;line-height:1.5;color:#8592a5}.dark .history-card.deposit,.dark .deposit-heading{background:#17342b;color:#5bd8a1}.dark .history-card.withdraw,.dark .withdraw-heading{background:#3a222d;color:#ff8b9a}

#account-warning{padding:14px 16px;margin-bottom:16px;background:#fff2df;color:#936116;border:1px solid #f1d59d;border-radius:8px;line-height:1.5}.settings-options{display:grid;gap:10px;margin:18px 0}.settings-options label{display:flex;gap:12px;padding:14px;border:1px solid #e0e5ee;border-radius:9px;margin:0;align-items:flex-start}.settings-options input{width:16px;margin:3px 0;flex-shrink:0}.settings-options strong{display:block;font-size:13px;color:#25354d}.settings-options small{display:block;margin-top:6px;font-size:11px;line-height:1.5;color:#8491a4}.settings-options label:has(input:checked){border-color:#7187d8;background:#f5f7ff}.settings-options label:has(input:disabled){opacity:.5}

/* V26: clear settings action and consistent compact dialogs. */
.action[data-settings]{background:#3b55b5;border-color:#3b55b5;color:#fff;box-shadow:0 2px 4px #30489818}.action[data-settings]:hover{background:#293e8b;border-color:#293e8b}.action[data-settings] svg{stroke-width:2.2}
dialog{width:460px;padding:24px;border:1px solid #e3e7ef;border-radius:16px;box-shadow:0 22px 65px #15233a24;max-height:calc(100dvh - 36px);overflow:auto}dialog::backdrop{background:#17233870;backdrop-filter:blur(2px)}.dialog-heading{gap:18px;margin-bottom:10px;align-items:center}.dialog-heading h2{font-size:18px;line-height:1.4;overflow-wrap:anywhere}.dialog-heading .modal-close{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;padding:0;border:1px solid #e2e7ef;background:#f3f5f8;color:#65738a;border-radius:9px;cursor:pointer}.modal-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.dialog-heading .modal-close:hover{background:#e7ecf3;color:#25354d;border-color:#cdd6e4}dialog .muted{font-size:12px;line-height:1.6}dialog label{font-size:12px;line-height:1.5;margin-top:16px}dialog input:not([type=radio]){height:42px;border-radius:8px;margin-top:7px}dialog .primary{height:42px;padding:10px 16px;border-radius:8px;margin-top:16px;font-size:13px}dialog .form-status:empty{display:none}dialog .form-status{margin-top:12px;line-height:1.6}#settings-state{padding:9px 11px;border:1px solid #e8ecf3;background:#f7f9fc;border-radius:7px;overflow-wrap:anywhere}.settings-options{gap:9px;margin:16px 0}.settings-options label{padding:12px 13px;border-radius:9px;gap:11px;transition:background .15s,border-color .15s}.settings-options input{accent-color:#3b55b5;margin-top:2px}.settings-options strong{font-weight:600;font-size:12px}.settings-options small{font-size:11px;line-height:1.5;margin-top:4px}.settings-options label:has(input:checked){background:#f1f4ff;border-color:#8398e5}.settings-options label:has(input:disabled){opacity:.55;background:#fafbfc}.settings-options label:has(input:not(:disabled)):hover{border-color:#a9b7d0}
.dark dialog{background:#1e2430;border-color:#354052;color:#e1e7f0}.dark .dialog-heading .modal-close{background:#2a3443;border-color:#3c485d;color:#c4cedd}.dark .dialog-heading .modal-close:hover{background:#354258;color:#fff}.dark dialog input:not([type=radio]){background:#17202c;border-color:#3d485c;color:#e1e7f0}.dark dialog label{color:#c0cbde}.dark .settings-options label{border-color:#3d485c;background:#202a39}.dark .settings-options strong{color:#e1e7f0}.dark .settings-options label:has(input:checked){background:#283451;border-color:#8398e5}.dark .settings-options label:has(input:disabled){background:#202630}.dark #settings-state{background:#202a39;border-color:#3d485c}.dark .action[data-settings]{background:#526bd0;border-color:#526bd0;color:#fff}
@media(max-width:760px){dialog{padding:20px;width:calc(100vw - 28px);max-width:460px;max-height:calc(100dvh - 28px)}.dialog-heading h2{font-size:17px}.settings-options label{padding:11px 12px}}
@media(prefers-reduced-motion:reduce){.settings-options label{transition:none}}

/* V27: colored icon only, and a separate modal header strip. */
.action[data-settings]{background:#fff;border-color:#e1e6ef;color:#334e9c;box-shadow:none}.action[data-settings]:hover{background:#f5f7fb;border-color:#b8c5e1;color:#233c85}.action[data-settings] svg{stroke-width:2.2}
dialog{padding:24px;overflow-x:hidden}.dialog-heading{margin:-24px -24px 20px;padding:14px 20px;background:#f5f7fb;border-bottom:1px solid #e1e7f0;min-height:60px;justify-content:space-between;gap:16px}.dialog-heading h2{font-size:16px;line-height:1.4;margin:0;flex:1}.dialog-heading .modal-close{margin-left:auto;background:#fff;border-color:#dde4ef;width:30px;height:30px;border-radius:7px;color:#69788d}.dialog-heading .modal-close:hover{background:#eaf0f8;border-color:#bbc9df;color:#25354d}
.dark .action[data-settings]{background:#1e2430;border-color:#3d485c;color:#91a8ff;box-shadow:none}.dark .action[data-settings]:hover{background:#283248;border-color:#657aa8;color:#adc0ff}.dark .dialog-heading{background:#252f40;border-color:#3d485c}.dark .dialog-heading .modal-close{background:#1e2430;border-color:#45516a;color:#c5cfde}
@media(max-width:760px){.dialog-heading{margin:-20px -20px 18px;padding:13px 16px;min-height:56px}.dialog-heading h2{font-size:15px}}

/* V28: action cells scroll with the table, remaining its final column. */
th:last-child,td:last-child{position:static;right:auto;z-index:auto;box-shadow:none}td[colspan]{position:static;box-shadow:none}

.nav-link{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:11px 14px;margin-top:8px;border:0;background:transparent;color:#58677f;border-radius:10px;font-weight:600;font-size:14px}.nav-link svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}.nav-link:hover,.nav-link.selected{background:#e7e8eb;color:#252b32}.fund-summaries{grid-template-columns:repeat(3,minmax(0,1fr))}.fund-panel{margin-top:18px}.fund-panel h2{font-size:17px;margin-bottom:16px}.fund-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.clear-check{display:flex;align-items:center;gap:9px;margin:16px 0}.clear-check input{width:16px;margin:0}.fund-panel .primary{margin-top:14px}#funds-notice{color:#ba4152;margin-bottom:12px}.dark .nav-link{color:#bec9dc}.dark .nav-link:hover,.dark .nav-link.selected{background:#2c3545;color:#fff}@media(max-width:760px){.fund-fields{grid-template-columns:1fr;gap:14px}.fund-summaries{grid-template-columns:repeat(2,minmax(0,1fr))}.fund-panel{padding:16px}.sidebar .nav-link{margin-top:8px}}

.copy-username{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:26px;height:28px;padding:5px;margin-left:4px;background:transparent;border:0;border-radius:5px;color:#8594ab;cursor:pointer}.copy-username svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.copy-username:hover{background:#edf2fa;color:#3b55b5}.copy-username.copied{color:#16945d;background:#eaf8f1}.dark .copy-username{color:#9caecb}.dark .copy-username:hover{color:#abc0ff;background:#2b3650}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.transaction-summaries{grid-template-columns:repeat(3,minmax(0,1fr))}.transaction-filters{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin-bottom:20px}.transaction-filters label:first-child{flex:1;min-width:190px}.transaction-filters label{min-width:125px}.transaction-filters .outline{height:38px}.transaction-table td{padding:15px 12px}.transfer-party small{display:block;color:#8a97aa;font-size:10px;margin-bottom:5px}.transfer-party strong{font-size:12px;color:#354b70}.transaction-reference{font-family:monospace;font-size:10px;color:#7b8ba3}.transaction-type{padding:5px 8px;border-radius:5px;font-size:10px;font-weight:600}.transaction-type.deposit{background:#eaf8f1;color:#168659}.transaction-type.withdraw{background:#fff0f2;color:#c7445c}.transaction-amount{font-weight:600}.transaction-amount.received{color:#168659}.transaction-amount.sent{color:#c7445c}#transactions-notice{color:#ba4152;margin-bottom:12px}.dark .transfer-party strong{color:#c0cee8}@media(max-width:760px){.transaction-summaries{grid-template-columns:1fr}.transaction-filters{gap:10px}.transaction-filters label{flex:1;min-width:130px}.transaction-filters label:first-child{flex-basis:100%}}

.transaction-summaries{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1100px){.transaction-summaries{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.transaction-summaries{grid-template-columns:1fr}}

.sidebar .nav-link.selected,.sidebar .nav-link.nav-active{background:#e7e8eb;color:#252b32}.dark .sidebar .nav-link.selected{background:#2c3545;color:#fff}

.password-field,.username-field{position:relative;width:100%}.password-field input,.username-field input{padding-right:48px;width:100%}.password-eye{position:absolute;right:7px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#53657c;padding:7px;display:flex}.password-eye svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.password-eye[aria-pressed=true]{color:#2563eb}#username-mark{position:absolute;right:15px;top:50%;transform:translateY(-50%);font-size:22px;font-weight:700}.username-good{color:#168052}.username-bad{color:#c53030}#username-availability{min-height:18px;display:block;margin-top:5px}.login-card>h1,.login-card>.muted,.login-card>#login-status,.login-card>.back-link{text-align:center}.login-card>.back-link{display:block}.login-card .google-login{text-align:center}

/* V36: clear header menu and account controls */
.menu-toggle,.avatar{color:#171c24;background:#fff;border:1px solid #bfc7d2;flex-shrink:0;padding:0}
.menu-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.menu-toggle svg circle{fill:currentColor;stroke:none}
.avatar{width:40px;height:40px}
.avatar svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.menu-toggle:hover,.avatar:hover,.menu-toggle[aria-expanded="true"],.avatar[aria-expanded="true"]{background:#edf0f4;border-color:#8793a3}
@media(max-width:760px){.menu-toggle,.avatar{width:40px;height:40px}.menu-toggle{border-radius:8px}}

/* V37: distinct downline account settings gear */
.action[data-settings]{color:#171c24;border-color:#bfc7d2}
.action[data-settings] svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.action[data-settings]:hover{background:#edf0f4;border-color:#8793a3}

.transaction-table .transfer-party strong{display:inline-block;vertical-align:middle}.transaction-reference>span{vertical-align:middle}.transaction-table .copy-username{color:#546780}.transaction-table .copy-username:hover{color:#334bc4}

/* V42: align Add Fund summaries with the dashboard cards */
@media(min-width:761px) and (max-width:1100px){.fund-summaries{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V45: calm mobile drawer entrance/exit, no selected-state ambiguity */
@media(max-width:760px){.sidebar{transition:transform .28s cubic-bezier(.22,1,.36,1),visibility 0s linear .28s;will-change:transform;box-shadow:12px 0 40px #17233818}.sidebar.is-open{transition:transform .28s cubic-bezier(.22,1,.36,1),visibility 0s;visibility:visible}.sidebar-backdrop:not([hidden]){animation:sidebar-shade-in .28s ease both}.sidebar-backdrop.is-closing:not([hidden]){animation:sidebar-shade-out .28s ease both}.menu-toggle{transition:background .18s,border-color .18s}.sidebar .nav-link,.sidebar .configuration-submenu{transition:background .18s,color .18s}}
@keyframes sidebar-shade-in{from{opacity:0}to{opacity:1}}@keyframes sidebar-shade-out{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.sidebar,.sidebar.is-open{transition:none!important}.sidebar-backdrop:not([hidden]){animation:none!important}.configuration-chevron{transition:none!important}}

/* V45 sidebar spacing and account identity */
.sidebar>.muted{margin:8px 0 24px}.sidebar-user{border-top:0;padding-top:20px}.sidebar-account-card{display:flex;align-items:center;gap:10px;border:1px solid #e0e6ef;border-radius:10px;background:#f8f9fc;padding:12px}.sidebar-account-card>div{min-width:0}.sidebar-account-card #side-role{display:block;color:#8190a5;font-size:10px;line-height:1.4;margin:0 0 5px}.sidebar-account-card #side-user{display:block;font-size:13px;line-height:1.4;font-weight:600;color:#2f4058;overflow-wrap:anywhere}.sidebar-account-icon{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;background:white;border:1px solid #e0e6ef;border-radius:8px;color:#516780}.sidebar-account-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sidebar-user .sidebar-version{display:block;text-align:center;margin-top:10px;color:#97a3b4;font-size:10px;letter-spacing:.3px}.dark .sidebar-account-card{background:#202a39;border-color:#38465b}.dark .sidebar-account-card #side-user{color:#dce5f3}.dark .sidebar-account-icon{background:#283448;border-color:#3b4a61;color:#a7bbd7}

.login-log-secondary{display:block;font-size:10px;color:#8794aa;margin-top:5px}.login-log-ip{font-family:monospace;font-size:11px}.login-log-note{font-size:11px;margin-top:16px;line-height:1.6}.login-log-agent{margin-top:6px;font-size:10px;color:#8794aa;max-width:240px}.login-log-agent summary{cursor:pointer}.login-log-agent p{white-space:normal;overflow-wrap:anywhere;line-height:1.6}.login-log-table td{padding:15px 12px}

.sidebar-account-card{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;padding:10px}
.sidebar-account-icon{width:28px;height:28px;border-radius:7px}
.sidebar-account-icon svg{width:17px;height:17px}
.sidebar-account-card #side-role{font-size:10px;margin-bottom:3px}
.sidebar-user .sidebar-version{display:inline-flex;align-items:center;justify-content:center;align-self:center;margin:0;padding:4px 5px;border:1px solid #dfe5ed;border-radius:6px;background:#eef2f7;color:#64758c;font-size:9px;font-weight:600;line-height:1;letter-spacing:0;white-space:nowrap}
.dark .sidebar-user .sidebar-version{background:#283448;border-color:#3b4a61;color:#b7c5d8}

#funds-nav>svg{width:19px;height:19px;aspect-ratio:1;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Downline action symbols share the settings gear's contrast and weight. */
#members .action.wallet-action,#members .action[data-future="Profile"]{color:#171c24;border-color:#bfc7d2;background:#fff}
#members .action.wallet-action{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:800;line-height:1;padding:0;letter-spacing:0}
#members .action[data-future="Profile"] svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#members .action[data-future="Profile"]:hover{background:#edf0f4;border-color:#8793a3}
#members .deposit:hover,#members .deposit.selected{background:#258244;border-color:#258244;color:#fff}
#members .withdraw:hover,#members .withdraw.selected{background:#cc3039;border-color:#cc3039;color:#fff}

#profile-menu{width:240px;max-width:calc(100vw - 24px);padding:8px;border-radius:12px}
.profile-menu-identity{padding:12px 10px 14px;margin-bottom:6px;border-bottom:1px solid #e3e8f0}
#profile-menu .profile-menu-identity strong{display:block;padding:0;margin:5px 0 7px;font-size:15px;font-weight:700;color:#293c55;overflow-wrap:anywhere}
.profile-menu-caption{display:block;font-size:10px;color:#8b97a8}
#profile-joined{display:block;font-size:10px;line-height:1.5;color:#7c8ba0}
#profile-menu button{padding:11px 10px;border-radius:7px}
#profile-menu #logout{color:#a54c56}

.sidebar-username-row{display:flex;align-items:center;gap:3px;min-width:0}
.sidebar-username-row #side-user{min-width:0;overflow-wrap:anywhere}
#sidebar-copy{display:inline-flex;flex-shrink:0}
#sidebar-copy .copy-username{width:22px;height:22px;padding:3px;margin:0;color:#71829b}
@media(max-width:760px){.header-identity>strong{display:block;font-size:12px;line-height:1.4}}

.profile-username-row{display:flex;align-items:center;gap:7px;min-width:0;margin:5px 0 7px}
#profile-menu .profile-username-row #profile-name{margin:0;min-width:0}
#profile-menu #profile-copy{display:inline-flex;flex-shrink:0}
#profile-menu #profile-copy .copy-username{display:inline-flex;width:24px;height:24px;padding:4px;margin:0;background:transparent;color:#71829b}

#fund-dialog{width:min(480px,calc(100vw - 28px));max-width:calc(100vw - 28px)}
#fund-dialog .fund-fields{grid-template-columns:1fr;gap:0}
#fund-dialog .clear-check input{width:16px;height:16px;margin:0}
#fund-dialog .muted{margin-top:10px}


/* Explicit outcome colors shared by all operation messages. */
.form-status,[id$="-notice"],#notice,[id$="-error"]{color:#b42318}
[data-message-kind="success"]{color:#16803c!important}
[data-message-kind="error"]{color:#b42318!important}

/* Direct Banking uses the existing panel and field system. */
.banking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.banking-site{display:flex;align-items:center;gap:24px}.banking-site label{min-width:220px}.banking-card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.banking-card h2{font-size:18px}.banking-switch{display:flex;align-items:center;gap:8px;font-weight:600}.banking-switch input{width:20px;height:20px;margin:0;accent-color:var(--brand-blue)}.banking-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.banking-footer .primary{margin-top:16px}.banking-inputs input{min-width:0}#banking-notice{margin-top:12px}#wallet-banking-preview{padding:10px;background:#f5f7fb;border-radius:8px;overflow-wrap:anywhere}
@media(max-width:760px){.banking-grid{grid-template-columns:1fr;gap:14px}.banking-site{display:block}.banking-site label{min-width:0}.banking-inputs{gap:12px}.banking-card{padding:18px}.banking-card-heading h2{font-size:17px}}

.banking-switch input{appearance:none;width:36px;height:20px;padding:0;border:0;border-radius:20px;background:#cbd5e1;position:relative;transition:background .2s}.banking-switch input:before{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;background:white;border-radius:50%;transition:transform .2s}.banking-switch input:checked{background:var(--brand-blue)}.banking-switch input:checked:before{transform:translateX(16px)}#banking-form .primary{background:var(--brand-blue);color:#fff}.dark .banking-card,.dark .banking-site,.dark .banking-footer{background:#1e2430;border-color:#354052}.dark #wallet-banking-preview{background:#252f40}
/* V59: separate, initially collapsed direction editors and clear dialog summaries. */
.banking-expand{display:flex;align-items:center;gap:12px;border:0;background:none;padding:0;color:inherit;font-size:18px;font-weight:700;text-align:left}.banking-expand svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;background:#f1f4f9;border-radius:6px;padding:4px;transition:transform .2s}.banking-expand[aria-expanded=true] svg{transform:rotate(180deg)}.banking-card form{padding-top:6px}.banking-card [role=status]:empty{display:none}.banking-card [role=status]{margin-top:12px;font-size:12px}.banking-grid{align-items:start}
#wallet-banking-preview.banking-alert{margin-top:16px;padding:14px;background:#eef4ff;border:1px solid #d8e5ff;border-left:3px solid var(--brand-blue);border-radius:9px;color:#354b72;font-size:12px}#wallet-banking-preview.banking-alert[data-enabled=false]{background:#fff4ed;border-color:#fed7aa;border-left-color:#d97706;color:#92400e}.banking-alert>strong{display:block;margin-bottom:12px;font-size:13px}.banking-alert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.banking-alert-grid small{display:block;margin-bottom:4px;color:#66758c;font-size:11px}.banking-alert-grid b{display:block;font-size:12px;overflow-wrap:anywhere}
#settings-state[data-status=active]{background:#edf9f1;border-color:#bce7ca;color:#16803c;font-weight:600}#settings-state[data-status=suspended]{background:#fff0f0;border-color:#f4bcbc;color:#b42318;font-weight:600}#settings-state[data-status=locked]{background:#fff8e6;border-color:#eed08c;color:#996514;font-weight:600}.settings-options label:has(input[value=suspended]:checked){background:#fff0f0;border-color:#e5a3a3}.settings-options label:has(input[value=locked]:checked){background:#fff8e6;border-color:#dfbd6f}.settings-options label:has(input[value=active]:checked){background:#edf9f1;border-color:#90cba2}.dark .banking-expand svg{background:#354052}.dark #wallet-banking-preview.banking-alert{background:#24324a;border-color:#3a5177;color:#dbe7ff}

.account-banking-settings{border-top:1px solid #e3e8f2;margin-top:22px;padding-top:20px}.account-banking-settings h3{font-size:16px;margin:0}.account-banking-switches{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.account-banking-switches .banking-switch{display:flex;flex-wrap:wrap;gap:8px;padding:12px;border:1px solid #e3e8f2;border-radius:9px;margin:0}.account-banking-switches .banking-switch>span{width:100%;font-weight:600}.account-banking-switches b{font-size:12px}.account-banking-switches label:has(input:checked){background:#edf9f1;border-color:#bce7ca;color:#16803c}.account-banking-switches label:has(input:not(:checked)){background:#fff0f0;border-color:#f4bcbc;color:#b42318}.dark .account-banking-settings{border-color:#354052}

#account-banking-settings input[type=checkbox]{height:20px;width:36px;margin:0}

.transaction-fee-detail{display:grid;gap:3px;margin-top:5px;font-size:11px;line-height:1.4;color:#667085;white-space:normal}.transaction-fee-detail small{font-size:inherit}.transaction-fee-detail b{font-weight:600;color:#344054}

#timezone-page{padding:30px 28px}#timezone-page .card{background:#fff;border:1px solid #e6eaf2;border-radius:14px;padding:24px;max-width:760px}#timezone-form{display:grid;gap:18px}#timezone-form label{display:grid;gap:8px;font-size:13px;color:#667085}#timezone-form select{width:100%;height:42px;border:1px solid #d8e0ed;border-radius:8px;padding:0 12px;background:white;color:#25354d}#timezone-form .banking-alert{padding:16px;background:#eef2ff;border:1px solid #dce4ff;border-radius:10px;line-height:1.6;margin:0}#timezone-form p{margin:0}#timezone-form .primary{justify-self:start}@media(max-width:760px){#timezone-page{padding:20px 14px}#timezone-page .card{padding:18px}#timezone-form .primary{width:100%}}
#timezone-page .panel{padding:22px}.timezone-search-label{display:grid;gap:8px;max-width:320px;color:#667085;font-size:13px;margin-bottom:16px}.timezone-search-label input{height:40px;border:1px solid #d8e0ed;border-radius:8px;padding:0 12px}.timezone-table{width:100%;min-width:500px}.timezone-table td{padding:17px 12px}.timezone-username{display:flex;align-items:center;gap:6px}.timezone-badge{display:inline-block;background:#eef2ff;color:#395cf6;padding:7px 10px;border-radius:7px;font-weight:600;white-space:nowrap}.timezone-edit{display:inline-flex;gap:7px;align-items:center}.timezone-edit svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.timezone-account-info{padding:14px;border:1px solid #e6eaf2;border-radius:8px;background:#f7f8fc;display:grid;gap:5px}.timezone-account-info small{color:#8794aa}#timezone-dialog{width:min(460px,calc(100vw - 28px))}#timezone-dialog .banking-alert{font-size:12px}@media(max-width:760px){#timezone-page .panel{padding:16px}.timezone-table td{padding:14px 10px}}
#timezone-page .table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}#timezone-page .panel{min-width:0}
#password-logs-page{padding:28px}#password-logs-page .table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}#password-logs-page table{width:100%;min-width:700px}#password-logs-page td{padding:16px 12px}.password-self{background:#eaf8f1;color:#168659}@media(max-width:760px){#password-logs-page{padding:18px 12px}}
#activity-logs-page{padding:28px}#activity-logs-page .table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}#activity-logs-page table{width:100%;min-width:1000px}#activity-logs-page td{padding:16px 12px;vertical-align:top}.activity-details{min-width:140px;max-width:240px;font-size:12px}.activity-details summary{color:#395cf6;cursor:pointer;white-space:nowrap}.activity-details>div{display:grid;gap:4px;padding:8px 0;border-bottom:1px solid #edf0f6;white-space:normal;overflow-wrap:anywhere}.activity-details small{color:#8794aa}@media(max-width:760px){#activity-logs-page{padding:18px 12px}}
/* Site management uses the same cards, controls and table rhythm as Reports. */
#sites-page{padding:32px;min-width:0}#sites-page[hidden]{display:none!important}.site-platform-note{background:#f0f4ff;border:1px solid #e0e7ff;border-radius:12px;padding:16px;margin:0 0 20px;display:grid;gap:6px;color:#46566b}.site-platform-note small{color:#69798e}.site-search{display:flex;align-items:end;gap:12px;margin-bottom:16px}.site-search label{flex:1;margin:0}.sites-table{min-width:850px}.site-prefix-label{display:block;font-size:11px;font-weight:700;color:#315bff;margin-top:6px;letter-spacing:.08em}.site-domain{overflow-wrap:anywhere;margin-bottom:6px}.site-domain small{margin-left:8px;font-size:10px;color:#64748b;background:#f0f4ff;padding:3px 6px;border-radius:4px}#site-dialog{width:min(560px,calc(100vw - 24px))}#site-dialog form{display:grid;gap:14px}#site-dialog label{margin:0}#site-dialog textarea,#new-site-fields textarea{width:100%;box-sizing:border-box;border:1px solid #dde2ea;border-radius:8px;padding:12px;font:inherit}#site-dialog .site-platform-note{margin:0;font-size:13px}.site-edit-identity{padding:12px;background:#f7f8fb;border-radius:8px;font-weight:600}#new-site-fields{border-bottom:1px solid #e8ebf0;margin-bottom:16px;padding-bottom:8px}#new-site-fields[hidden]{display:none}#new-site-fields small{display:block;color:#7b8798;margin-top:6px}@media(max-width:760px){#sites-page{padding:20px 16px}.site-search{flex-wrap:wrap}.site-search label{flex-basis:100%}#sites-page .page-heading{align-items:flex-start;gap:12px}#sites-page .page-heading .primary{white-space:nowrap}}
#sites-page .table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}#sites-page .panel{min-width:0}

/* V70 site settings: separate sections and individual domain controls. */
.site-settings-dialog{width:min(800px,calc(100vw - 32px));padding:0}.site-settings-dialog form{padding:0}.site-settings-dialog .dialog-heading{margin:0;padding:22px 24px}.site-settings-dialog .dialog-heading p{font-size:13px;margin:6px 0 0}.site-settings-body,.site-settings-footer{padding:20px 24px}.site-settings-footer{border-top:1px solid #e6e9f0;background:#fafbfe}.site-settings-section{border:1px solid #e5e8ef;border-radius:12px;margin:14px 0;overflow:hidden}.site-settings-section summary{padding:17px 18px;cursor:pointer;font-weight:650;color:#29384a;background:#f7f8fc}.settings-section-content{padding:18px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.domain-row{display:flex;gap:8px;margin-bottom:10px}.domain-row input{flex:1;min-width:0}.domain-row button{width:42px;flex:none}.domain-list{margin:10px 0}.image-control-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.image-control-row img{width:76px;height:64px;object-fit:contain;border:1px solid #e5e8ef;border-radius:8px;background:#fafafa}.upload-button{position:relative;padding:10px 12px;border:1px solid #dce1eb;border-radius:8px;cursor:pointer;font-size:13px}.upload-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.pwa-toggle{display:flex!important;align-items:center;gap:10px}.pwa-toggle input{width:18px!important}.new-site-domains{margin:12px 0}.site-image-control input{min-width:0}.site-settings-footer .primary{width:100%}@media(max-width:600px){.settings-grid{grid-template-columns:1fr}.site-settings-body,.site-settings-footer,.site-settings-dialog .dialog-heading{padding:16px}.settings-section-content{padding:14px}.site-settings-dialog{max-height:92dvh}}

/* V71: Site Configuration stays in menu flow; Site Management follows it. */
.site-settings-dialog{width:min(860px,calc(100vw - 32px));max-height:90dvh;overflow:hidden;border:1px solid #e2e7ef;box-shadow:0 24px 80px #15243a33}
.site-settings-dialog #site-form{display:flex;flex-direction:column;max-height:90dvh;overflow:hidden}
.site-settings-dialog .dialog-heading{flex:none;padding:18px 24px;border-bottom:1px solid #e8edf4;background:#fff;align-items:flex-start}
.site-settings-dialog .dialog-heading h2{font-size:20px;letter-spacing:-.3px}.site-settings-dialog .dialog-heading p{font-size:12px;color:#7a879a;margin:5px 0 0}
.site-settings-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:18px 24px;background:#f8fafc;scrollbar-width:thin}
.site-edit-identity{padding:12px 16px;margin:0 0 14px;background:#eef3ff;border:1px solid #e0e8fe;border-radius:10px;color:#315082;font-size:13px}
.site-settings-section{margin:10px 0;border:1px solid #e4e9f1;background:#fff;border-radius:12px}
.site-settings-section summary{display:flex;align-items:center;gap:12px;padding:14px 16px;list-style:none;background:#fff;font-weight:500}
.site-settings-section summary::-webkit-details-marker{display:none}.site-settings-section[open] summary{border-bottom:1px solid #edf0f5;background:#fff}
.settings-section-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;background:#eef3ff;border-radius:10px;color:#2f5bff}
.settings-section-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.settings-section-title{min-width:0;flex:1}.settings-section-title strong{display:block;font-size:14px;font-weight:650;line-height:1.5}.settings-section-title small{display:block;font-size:11px;color:#8390a2;line-height:1.5;margin-top:2px}
.settings-section-chevron{width:18px;height:18px;fill:none;stroke:#60738b;stroke-width:2;transition:transform .18s}.site-settings-section[open] .settings-section-chevron{transform:rotate(180deg)}
.settings-section-content{padding:18px;display:grid;gap:14px}.settings-section-content label{margin:0;display:grid;gap:7px;font-size:12px;font-weight:500;color:#52647b}.settings-section-content input,.settings-section-content select,.settings-section-content textarea{margin:0;font-size:13px;min-height:42px;border-color:#dfe5ee;border-radius:8px}.settings-section-content small{font-weight:400;line-height:1.6}
.settings-grid{gap:16px}.domain-list{margin:0}.domain-row{margin:0 0 10px;align-items:center}.domain-row:last-child{margin-bottom:0}.domain-row button{height:42px;padding:0;color:#8390a2}.domain-row button:hover{color:#bd3544;border-color:#eac3c8;background:#fff5f6}.settings-section-content [data-add-domain]{justify-self:start;margin:0;color:#2f5bff;border-color:#dae4ff;background:#f7f9ff;font-weight:600}
.site-image-control{border:1px solid #e8edf4;padding:14px;border-radius:10px;background:#fcfdff;display:grid;gap:12px}.image-control-row img{width:64px;height:64px;background:#fff}.settings-section-content .upload-button{display:block;color:#2f5bff;background:white;line-height:1.5}.settings-section-content .upload-button input{min-height:0}.settings-section-content .site-platform-note{margin:0;padding:12px 14px;font-size:12px;line-height:1.6;background:#f5f8ff;border-color:#e7edf8}
.site-settings-footer{flex:none;padding:14px 24px 18px;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:8px 18px;align-items:end;border-top:1px solid #e4e9f1}
.site-settings-footer>small{grid-column:1/-1;font-size:11px}.site-settings-footer>label{margin:0;font-size:12px;display:grid;gap:6px}.site-settings-footer input{margin:0;min-height:42px}.site-settings-footer .primary{margin:0;min-height:42px}.site-settings-footer .form-status{grid-column:1/-1;grid-row:3;margin:0;font-size:12px}.site-settings-footer .form-status:empty{display:none}
@media(max-width:600px){.site-settings-dialog,.site-settings-dialog #site-form{max-height:92dvh}.site-settings-dialog .dialog-heading{padding:15px 16px}.site-settings-body{padding:14px}.site-settings-footer{padding:12px 16px 16px;grid-template-columns:minmax(0,1fr)}.site-settings-footer .primary{grid-row:4}.site-settings-footer .form-status{grid-row:3}.settings-section-content{padding:14px}.settings-section-title small{font-size:10px}.site-settings-section summary{padding:12px;gap:10px}}

.site-settings-dialog{max-width:860px}.site-settings-footer .primary{background:#2f5bff;border-color:#2f5bff;color:#fff;font-weight:600}.site-settings-footer .primary:hover{background:#254ddd}.site-settings-footer .primary:disabled{opacity:.55}

/* Account dialogs share the Site Settings spacing and blue accent. */
.downline-account .downline-prefix{display:flex;width:max-content;align-items:center;gap:7px;margin:9px 0 0;padding:4px 8px;border:1px solid #e1e8fa;border-radius:6px;background:#f4f7ff;line-height:1.2}.downline-prefix span{font-size:9px;letter-spacing:0;color:#7d8ca3;font-weight:400}.downline-prefix b{font-size:10px;color:#2f5bff;letter-spacing:.6px}.crumb .downline-prefix{display:inline-flex;gap:5px;align-items:center}.crumb .downline-prefix span{display:none}
.account-dialog{width:600px;max-width:calc(100vw - 28px);max-height:90dvh;padding:0;overflow:hidden;border:1px solid #e2e8f1;box-shadow:0 24px 80px #15243a33;border-radius:18px}.account-dialog form{display:flex;flex-direction:column;max-height:90dvh}.account-dialog .dialog-heading{padding:22px 24px;margin:0;flex:none;background:#fff;border-bottom:1px solid #e8edf4;gap:12px}.account-heading{display:flex;gap:13px;align-items:center;min-width:0}.account-heading-icon{display:grid;place-items:center;width:44px;height:44px;background:#eef3ff;border:1px solid #e2e9ff;border-radius:13px;color:#2f5bff;flex:none}.account-heading-icon svg,.account-security-note>svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.account-dialog h2{font-size:20px;letter-spacing:-.4px}.account-heading p{font-size:12px;color:#8491a4;margin:5px 0 0;line-height:1.5}.account-dialog-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:22px 24px;background:#f8fafc;scrollbar-width:thin}.account-identity{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #e2e9f5;background:#fff;border-radius:12px;margin-bottom:18px}.account-avatar{width:45px;height:45px;display:grid;place-items:center;flex:none;background:#eef3ff;color:#2f5bff;font-size:17px;font-weight:700;border-radius:13px}.account-identity>div{flex:1;min-width:0}.account-identity strong{display:block;font-size:15px;overflow-wrap:anywhere}.account-identity>div>span{display:block;margin-top:5px;font-size:11px;color:#8391a5}.account-identity-tag{font-size:10px;padding:5px 8px;background:#f3f6fa;color:#7c8a9e;border-radius:6px;white-space:nowrap}.account-form-section{background:#fff;border:1px solid #e6ebf2;padding:18px;border-radius:12px;margin-top:14px}.account-form-section h3{margin:0 0 14px;font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:#7b8aa0}.account-dialog label{margin:14px 0 0;font-size:12px;font-weight:500;color:#52647b}.account-dialog label:first-child,.account-form-section h3+label{margin-top:0}.account-dialog label small{font-size:10px;color:#95a0b0;font-weight:400;margin-left:4px}.account-dialog input{min-height:44px;border-radius:9px;border-color:#dfe5ee;font-size:13px;margin-top:7px}.account-dialog input[readonly]{background:#f7f9fc;color:#7a899e}.account-fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.account-fields-grid label{margin:0}.account-dialog-footer{flex:none;border-top:1px solid #e4e9f1;padding:16px 24px;background:#fff;display:grid;grid-template-columns:auto 1fr;gap:10px}.account-dialog-footer .form-status{grid-column:1/-1;margin:0}.account-dialog-footer .form-status:empty{display:none}.account-dialog-footer .primary{margin:0;background:#2f5bff;color:white;min-height:44px;border-radius:9px}.account-dialog-footer .primary:hover{background:#254ddd}.account-dialog-footer .outline{border-radius:9px;padding:10px 22px;background:white}.account-security-note{display:flex;gap:12px;background:#eef3ff;border:1px solid #e0e8fe;border-radius:12px;padding:15px;color:#2f5bff}.account-security-note>svg{flex:none}.account-security-note strong{font-size:12px;color:#36537d}.account-security-note p{font-size:12px;color:#7586a1;line-height:1.6;margin:5px 0 0}.account-dialog .modal-close{flex:none}
@media(max-width:600px){.account-dialog,.account-dialog form{max-height:92dvh}.account-dialog .dialog-heading{padding:17px 16px}.account-dialog h2{font-size:18px}.account-heading{gap:10px}.account-heading-icon{width:38px;height:38px}.account-heading p{font-size:11px}.account-dialog-body{padding:16px}.account-form-section{padding:15px}.account-fields-grid{grid-template-columns:1fr}.account-dialog-footer{padding:14px 16px}.account-identity-tag{display:none}}

/* Creation starts with one primary domain; additional domains belong in Site Management. */
.create-account-dialog{width:680px}.create-account-dialog .account-form-section:first-child{margin-top:0}.create-account-dialog label>small{display:block;margin:6px 0 0;line-height:1.5;font-size:11px}.create-account-dialog label>small:empty{display:none}.create-account-dialog #new-domain-list{margin-top:16px}.create-account-dialog #new-domain-list label{margin:0}.create-account-dialog #new-domain-list label>small:first-child{display:inline;margin-left:5px}.create-account-dialog [name=prefix]{text-transform:uppercase;letter-spacing:1px}.create-account-dialog .username-field input{margin-top:7px}

/* Shared dialog system: stable heading and actions, independently scrollable content. */
.unified-dialog{width:600px}.unified-dialog .account-heading h2{line-height:1.4}.unified-dialog>.dialog-heading{margin:0}.unified-dialog:not(:has(form)){overflow-y:auto}.unified-footer{grid-template-columns:1fr}.unified-dialog .account-dialog-body>label{padding:0}.unified-dialog .account-dialog-body>p:first-child{margin:0 0 16px}.unified-dialog .account-dialog-body>p.muted{line-height:1.65}.unified-dialog .banking-alert{padding:15px;border-radius:12px;border:1px solid #e1e8fa;font-size:12px;line-height:1.65;margin:14px 0;background:#eef3ff}.unified-dialog .settings-options{margin:16px 0;display:grid;gap:10px}.unified-dialog .settings-options label{margin:0;padding:14px;border-radius:12px;background:white}.unified-dialog .settings-options input{min-height:0;width:17px;height:17px;margin:3px 0 0}.unified-dialog .account-banking-settings{border:1px solid #e4eaf2;background:#fff;border-radius:12px;padding:16px;margin:16px 0}.unified-dialog .account-banking-settings h3{font-size:14px;margin:0}.unified-dialog .banking-switch input,.unified-dialog .clear-check input{min-height:0}.unified-dialog .clear-check{display:flex;align-items:center;gap:10px}.unified-dialog .clear-check input{width:17px;height:17px}.unified-dialog .timezone-account-info{border-radius:12px;padding:16px;background:#fff;border:1px solid #e2e9f5;margin:0 0 18px}.unified-dialog .fund-fields{display:grid;grid-template-columns:1fr;gap:14px}.unified-dialog .fund-fields label{margin:0}.unified-dialog .announcement-editor-shell{border-radius:10px;overflow:hidden}.unified-dialog #announcement-toolbar{padding:9px;gap:6px;background:#f3f6fc}.unified-dialog #announcement-toolbar button{border-radius:6px;min-height:30px}.unified-dialog .announcement-editor-note{border-radius:10px;line-height:1.65}.unified-dialog .announcement-rich img{max-width:100%;height:auto}.unified-dialog #announcement-link{display:inline-block;color:#2f5bff;margin-top:18px}.unified-dialog #announcement-date{display:block;margin-bottom:16px}.unified-dialog .announcement-rich{overflow-wrap:anywhere}#announcement-manager.unified-dialog{width:760px}#announcement-detail-dialog.unified-dialog{width:720px}.banking-rule-editor{border-radius:12px}.banking-rule-editor label{color:#52647b}.banking-rule-editor input{border-radius:9px;border-color:#dfe5ee}.banking-rule-editor .primary{background:#2f5bff;color:#fff;border-radius:9px}
@media(max-width:600px){.unified-dialog .account-dialog-body{padding:16px}.unified-dialog .account-heading h2{font-size:17px}.unified-dialog .settings-options label{padding:12px}.unified-dialog .account-banking-settings{padding:14px}}
.unified-dialog select{min-height:44px;border-radius:9px;border-color:#dfe5ee;font-size:13px}.unified-dialog .account-dialog-body>label+p.banking-alert{margin-top:16px}.banking-inputs{gap:16px}.banking-inputs input{border-radius:9px;min-height:44px;border-color:#dfe5ee}.banking-card .primary{background:#2f5bff;border-radius:9px;color:#fff}.banking-card{border-radius:14px}.site-settings-dialog .dialog-heading{border-radius:18px 18px 0 0}.site-settings-dialog{border-radius:18px}

/* Login layout remains centered when tenant branding is applied. */
body.login-body{display:flex;align-items:center;justify-content:center;min-height:100vh;min-height:100dvh;padding:28px 16px;background:radial-gradient(ellipse at top,#eaf0ff 0,#f6f8fc 55%);}.login-body .login-card{margin:auto;width:440px;max-width:100%;padding:34px;border-radius:20px;border:1px solid #e1e8f3;box-shadow:0 18px 60px #20386412}.login-emblem{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 20px;border-radius:16px;background:#eef3ff;border:1px solid #e0e8ff;color:#2f5bff}.login-emblem svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.login-card h1{margin:0;font-size:26px;letter-spacing:-.6px;text-align:center}.login-intro{text-align:center;color:#8491a4;font-size:13px;margin:9px 0 28px}.login-card label{font-size:12px;margin:18px 0;color:#52647b}.login-card input{height:46px;border-radius:9px;border-color:#dfe5ee}.login-card .primary{background:#2f5bff;color:#fff;border-radius:9px;height:46px;margin-top:22px}.login-card .google-login{border-radius:9px;padding:13px;margin-top:16px}.login-card .back-link{text-align:center;padding-top:18px;border-top:1px solid #edf0f5;margin-top:25px}.login-card #google-note{text-align:center;font-size:11px}.login-card #login-status:empty{display:none}@media(max-width:480px){.login-body .login-card{padding:26px 22px}.login-card h1{font-size:24px}}@media(max-height:650px){body.login-body{align-items:flex-start}.login-body .login-card{margin:0 auto}}

/* V78: prefix and account information form one compact identity. */
.table-account-identity{display:flex;align-items:center;gap:10px;min-width:145px}.table-prefix-tile{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;border:1px solid #dce5ff;background:linear-gradient(145deg,#f3f6ff,#e8eeff);color:#2f5bff;font-size:11px;font-weight:700;letter-spacing:.6px;box-shadow:inset 0 1px 0 #fff}.table-account-text{display:grid;gap:7px;min-width:0}.table-account-name{display:flex;align-items:center;gap:5px}.table-account-name .username,.table-account-name .account-table-name{font-size:12px;font-weight:650;color:#293c58}.table-account-name .username:hover{color:#2f5bff}.table-account-name .copy-username{margin:0}.table-account-text .role-chip{justify-self:start;margin:0;line-height:1.2;font-size:9px;padding:4px 6px}.downline-account:has(.table-account-identity){padding-top:14px;padding-bottom:14px}

/* V79: one action layout for every editing dialog. */
.account-dialog-footer{grid-template-columns:auto minmax(0,1fr);align-items:center}.account-dialog-footer .outline{min-height:44px;font-size:13px}.account-dialog-footer .primary{font-size:13px}.site-settings-footer{grid-template-columns:1fr;gap:10px}.site-settings-footer>label{grid-column:1/-1}.site-settings-footer .form-status{grid-row:auto}.site-settings-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;grid-column:1/-1}.site-settings-actions .outline{min-height:44px;border-radius:9px;padding:10px 22px}.site-settings-actions .primary{min-height:44px;border-radius:9px;margin:0}.reader-footer{grid-template-columns:1fr}#announcement-detail-dialog.unified-dialog{display:none;width:600px;max-width:calc(100vw - 28px);padding:0;overflow:hidden;flex-direction:column;max-height:90dvh}#announcement-detail-dialog.unified-dialog[open]{display:flex}#announcement-detail-dialog .dialog-heading{flex:none}#announcement-detail-dialog .account-dialog-body{flex:1;min-height:0;background:#f8fafc}#announcement-detail-dialog #announcement-detail{background:#fff;border:1px solid #e6ebf2;border-radius:12px;padding:18px;margin:16px 0 0;min-height:90px;line-height:1.75}#announcement-detail-dialog #announcement-title{overflow-wrap:anywhere;white-space:normal;font-size:20px;min-width:0}#announcement-detail-dialog .account-heading{flex:1}#announcement-detail-dialog .account-dialog-footer{flex:none}@media(max-width:600px){#announcement-detail-dialog.unified-dialog{max-height:92dvh}#announcement-detail-dialog #announcement-title{font-size:18px}.site-settings-actions .primary{grid-row:auto}.site-settings-footer .form-status{grid-row:auto}.site-settings-footer{padding:14px 16px}.account-dialog-footer .outline{padding:10px 18px}}

/* V80: Site Settings uses the same cancel/action sizing as account forms. */
.site-settings-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center}.site-settings-actions .outline{min-height:44px;border-radius:9px;padding:10px 22px;background:white;font-size:13px}.site-settings-actions .primary{min-height:44px;font-size:13px;grid-row:auto!important}@media(max-width:600px){.site-settings-actions .outline{padding:10px 18px}}

.site-seo-block{padding:22px;border:1px solid #e5eaf2;border-radius:16px;background:#fff;margin-bottom:18px}.site-seo-block:last-child{margin-bottom:0}.site-seo-block h3{margin:0 0 6px;font-size:16px}.site-seo-block>p{font-size:13px;margin:0 0 20px}.site-seo-block label:last-child{margin-bottom:0}
@media(max-width:600px){.site-seo-block{padding:18px}}
/* V96 player-matching header icons */
.admin-header-icons{display:flex;align-items:center;gap:10px;flex-shrink:0}.header-right .admin-header-icon{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #e8ebf0;border-radius:12px;background:transparent;color:#303a48;cursor:pointer}.header-right .admin-header-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.header-right .admin-header-icon:hover{background:#f3f5f9;border-color:#cad3e1}
@media(max-width:760px){.admin-header-icons{gap:8px}.header-right .admin-header-icon{width:34px;height:34px}}

/* Match the player authentication modal entrance across admin dialogs. */
@media(prefers-reduced-motion:no-preference){dialog[open]:not(#global-loader){animation:admin-modal-enter .18s ease-out}@keyframes admin-modal-enter{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}}

/* Larger header profile control, distinct from secondary action icons. */
.header-right #profile-toggle{width:48px;height:48px;flex-shrink:0;padding:0;border-radius:50%}
.header-right #profile-toggle svg{width:28px;height:28px;stroke-width:2}
.header-right #profile-menu{top:calc(100% + 8px)}
@media(max-width:760px){.header-right #profile-toggle{width:44px;height:44px}.header-right #profile-toggle svg{width:26px;height:26px}}
/* Compact control-panel chrome, keeping the profile icon legible. */
.admin-header{height:64px;min-height:64px;padding:0 28px}
@media(max-width:760px){.admin-header{height:60px;min-height:60px;padding:0 12px}.header-right{gap:8px}}

/* V108: logo shares the header's vertical center; compact sidebar start. */
.sidebar{padding-top:8px}
.sidebar>.logo{display:flex;align-items:center;flex:none;height:48px;min-height:48px;margin:0 0 20px;padding:0 10px;line-height:1.2}
.sidebar>.logo .site-brand-image{height:48px;max-height:48px;max-width:100%;object-fit:contain;object-position:left center}
@media(max-width:760px){.sidebar{padding-top:8px}.sidebar>.logo{height:44px;min-height:44px;margin-bottom:20px}.sidebar>.logo .site-brand-image{height:44px;max-height:44px}}

/* V110: compact shared admin modal rhythm; preserve usable controls. */
.account-dialog .dialog-heading,.site-settings-dialog .dialog-heading{padding:16px 20px}
.account-heading-icon{width:38px;height:38px;border-radius:11px}
.account-heading p{margin-top:3px}
.account-dialog-body,.site-settings-body{padding:16px 20px}
.account-identity{padding:12px;margin-bottom:12px}.account-avatar{width:38px;height:38px}
.account-form-section{padding:14px;margin-top:10px}.account-form-section h3{margin-bottom:10px}
.account-dialog .account-form-section label{margin-top:10px;margin-bottom:10px}
.account-dialog-footer,.site-settings-footer{padding:12px 20px;gap:8px}
.site-settings-section summary{padding:12px 14px}.settings-section-content{padding:14px;gap:10px}
.unified-dialog .timezone-account-info,.unified-dialog .account-banking-settings{padding:12px;margin-bottom:12px}
.unified-dialog .banking-alert{padding:12px;margin:12px 0}
#announcement-detail-dialog #announcement-detail{padding:14px;min-height:0;margin-top:10px}
@media(max-width:600px){.account-dialog .dialog-heading,.site-settings-dialog .dialog-heading{padding:14px 16px}.account-dialog-body,.site-settings-body,.unified-dialog .account-dialog-body{padding:14px 16px}.account-dialog-footer,.site-settings-footer{padding:12px 16px}.account-form-section{padding:12px}}

/* Keep admin navigation available while long reports scroll. */
.workspace{padding-top:64px}.admin-header{position:fixed;top:0;left:220px;right:0;z-index:40}.sidebar{overflow-y:auto;overscroll-behavior:contain}.workspace{scroll-padding-top:64px}@media(max-width:1100px){.admin-header{left:185px}}@media(max-width:760px){.workspace{padding-top:60px;scroll-padding-top:60px}.admin-header{left:0}}

/* V130: keep the app shell stationary; only its content pane scrolls. */
html:has(body>.sidebar){height:100%;overflow:hidden;overscroll-behavior:none}
body:has(>.sidebar){height:100vh;height:100dvh;overflow:hidden;overscroll-behavior:none}
body>.workspace{height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable}
body>.sidebar{height:100%;bottom:auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior:none;overflow-anchor:none}
body>.sidebar>*{flex-shrink:0}
body>.workspace .table-scroll{max-width:100%;overscroll-behavior-x:contain}

/* V131: centered numbered pagination shared by all paginated tables. */
.pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 16px;padding-top:18px}
.pagination>span:first-child{flex-basis:100%;text-align:center;color:#8794aa;font-size:12px}
.pagination-controls{display:flex;align-items:center;justify-content:center;gap:8px;max-width:100%}
.pagination-numbers{display:flex;align-items:center;gap:6px}
.pagination .pagination-direction,.pagination .pagination-number{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 12px;border:1px solid #dfe5ef;border-radius:8px;background:#fff;color:#52647b;font-size:12px;line-height:1}
.pagination .pagination-number{width:36px;padding:0;font-weight:600}
.pagination .pagination-number.is-current{background:var(--brand-blue);border-color:var(--brand-blue);color:#fff;opacity:1}
.pagination button:hover:not(:disabled){border-color:var(--brand-blue);color:var(--brand-blue);background:#eef2ff}
.pagination-total{flex-basis:100%;text-align:center;color:#8794aa;font-size:11px}.pagination-ellipsis{color:#8794aa;padding:0 2px}
.dark .pagination .pagination-direction,.dark .pagination .pagination-number{background:#202a39;border-color:#38465b;color:#c5d0e2}
.dark .pagination .pagination-number.is-current{background:var(--brand-blue);border-color:var(--brand-blue);color:#fff}
@media(max-width:480px){.pagination-controls{gap:4px}.pagination-numbers{gap:3px}.pagination .pagination-number{width:30px;min-width:30px;height:34px}.pagination .pagination-direction{padding:0 7px;height:34px;font-size:11px}}

/* V132: portrait login card and site-specific branding. */
.login-body .login-card{width:400px;min-height:500px;padding:36px 30px;border-radius:22px}
.login-brand{display:flex;align-items:center;justify-content:center;min-height:72px;margin:0 0 26px}
.login-brand .site-brand-image{width:auto;height:auto;max-width:220px;max-height:72px;object-fit:contain}
@media(max-width:480px){.login-body .login-card{width:100%;max-width:400px;min-height:480px;padding:30px 24px}.login-brand{margin-bottom:22px}}
@media(max-height:600px){.login-body .login-card{min-height:0}}

.session-reference{display:block;font-size:12px}.session-revoke{width:34px;height:34px;padding:7px;color:#ad4c62}.session-revoke svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.password-vault-dialog{width:min(420px,calc(100vw - 28px))}.password-vault-dialog .account-dialog-body{display:grid;gap:14px;padding:22px}.password-vault-copy{display:flex;align-items:center;gap:12px;margin-top:8px}.password-vault-copy code{flex:1;min-width:0;overflow-wrap:anywhere;font-size:18px}.password-vault-copy button{width:36px;height:36px;padding:8px}.password-vault-copy svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.password-vault-result{padding:16px;border:1px solid var(--border,#e4e9f0);border-radius:12px}.password-vault-change summary{cursor:pointer;font-weight:600;margin-bottom:14px}.password-vault-change[open]{display:grid;gap:12px}.password-vault-change label{margin:12px 0}.password-vault-change .primary{margin-top:14px;width:100%}

.action[data-password-key] svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.action[data-password-key]{color:#334e9c}.dark .action[data-password-key]{color:#a8bcff;background:#1e2430;border-color:#3d485c}.dark .password-vault-result{border-color:#3d485c;background:#182130}
.visitor-nav-dot,.visitor-online{display:inline-block;width:7px;height:7px;border-radius:50%;background:#27a878;flex-shrink:0}.visitor-nav-dot{margin-left:auto}.visitor-online{margin-right:8px;box-shadow:0 0 0 3px #27a8781a}.visitor-live-badge{display:flex;align-items:center;background:#edf9f3;color:#237654;border:1px solid #cfe9dc;border-radius:20px;padding:7px 12px;font-weight:600;font-size:12px}.visitor-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.visitor-stats>div{padding:16px 20px;border:1px solid #e4e9f0;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px}.visitor-stats span{font-size:12px;color:#728095}.visitor-stats strong{font-size:24px;color:#34496c}.visitor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.visitor-toolbar small{font-size:11px;color:#758298}.visitor-table{min-width:1040px;width:100%;table-layout:fixed}.visitor-table th:first-child{width:185px}.visitor-table th:nth-child(2){width:180px}.visitor-table th:nth-child(3){width:160px}.visitor-table th:nth-child(4){width:180px}.visitor-table th:nth-child(5){width:130px}.visitor-table td{vertical-align:middle;padding:14px 12px;font-size:12px}.visitor-table td strong,.visitor-table td small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visitor-table td small{font-size:11px;color:#7b889b;margin-top:4px}.visitor-table .role-chip,.visitor-guest{display:inline-block;margin-top:6px;font-size:10px}.visitor-guest{color:#7b889b}.visitor-table code{overflow-wrap:anywhere}.visitor-note{font-size:11px;margin:12px 0 0}.visitor-empty{text-align:center;padding:40px!important}.visitor-new{animation:visitor-arrival 1.8s ease-out}@keyframes visitor-arrival{from{background:#e7f7f0}to{background:transparent}}.dark .visitor-stats>div{background:#202632;border-color:#354052}.dark .visitor-stats strong{color:#e1e7f0}.dark .visitor-live-badge{background:#183c31;color:#96dabc;border-color:#2c5946}.dark .visitor-stats span,.dark .visitor-toolbar small,.dark .visitor-table td small{color:#a9b5c7}@media(max-width:600px){.visitor-stats{gap:8px}.visitor-stats>div{padding:12px;display:block}.visitor-stats strong{display:block;font-size:22px;margin-top:6px}.visitor-toolbar{align-items:flex-start}.visitor-toolbar small{text-align:right;max-width:155px}}@media(prefers-reduced-motion:reduce){.visitor-new{animation:none}}
#live-visitors-page{padding:32px;min-width:0}#live-visitors-page[hidden]{display:none!important}#live-visitors-page .panel{min-width:0}#live-visitors-page .table-wrap{width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}@media(max-width:600px){#live-visitors-page{padding:18px 14px}}

.dark .visitor-new{animation-name:visitor-arrival-dark}@keyframes visitor-arrival-dark{from{background:#173e32}to{background:transparent}}
.visitor-table th:last-child{width:205px;text-align:left}.visitor-table td:last-child{width:auto;text-align:left;background:transparent}
.dark .visitor-table td:last-child{background:transparent}#live-visitors-nav{white-space:nowrap;font-size:13px}
.visitor-visits{display:inline-block;margin-top:5px;padding:3px 7px;border-radius:6px;background:#edf3ff;color:#476ca8;font-size:10px;font-weight:600}.dark .visitor-visits{background:#293c58;color:#bad0f2}
.visitor-name-line{display:flex;align-items:center;gap:7px;min-width:0}.visitor-name-line strong{min-width:0}.visitor-name-line .visitor-visits{flex-shrink:0;margin-top:0}
.action[data-password-key]{color:#171c24;border-color:#bfc7d2}.action[data-password-key] svg{width:20px;height:20px;stroke-width:2.6}.dark .action[data-password-key]{color:#d6e0f2;border-color:#45516a}.password-vault-dialog .form-status[data-message-kind=info]{color:#65748b}.dark .password-vault-dialog .form-status[data-message-kind=info]{color:#b4c0d2}
