:root {
    color-scheme: dark;
    --bg: #090711;
    --bg2: #13091b;
    --panel: rgba(31, 18, 43, .78);
    --panel-strong: rgba(38, 22, 53, .92);
    --line: rgba(232, 148, 255, .18);
    --line-strong: rgba(232, 148, 255, .34);
    --text: #fbf7ff;
    --muted: #a99bb5;
    --accent: #e186e9;
    --accent2: #ff8dcb;
    --good: #68e1a6;
    --warn: #ffcf73;
    --bad: #ff7f98;
    --shadow: 0 26px 80px rgba(0,0,0,.34);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.app-bg { position: fixed; inset: 0; background: radial-gradient(circle at 82% 8%, rgba(225,134,233,.12), transparent 34%), radial-gradient(circle at 18% 92%, rgba(117,94,255,.09), transparent 35%), linear-gradient(145deg,#08060d,#110918 48%,#090711); z-index: -2; }
.app-bg::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom,rgba(0,0,0,.6),transparent 75%); }
.glass { background: var(--panel); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.025), var(--shadow); backdrop-filter: blur(22px); }
.app-shell { display:grid; grid-template-columns: 250px minmax(0,1fr); min-height:100vh; }
.sidebar { margin: 16px 0 16px 16px; border-radius: 22px; padding: 18px 13px; display:flex; flex-direction:column; position:sticky; top:16px; height:calc(100vh - 32px); }
.brand { display:flex; align-items:center; gap:11px; padding: 8px 10px 19px; }
.brand-logo, .brand-mark { display:grid; place-items:center; width:42px; height:42px; border-radius:13px; font-weight:900; font-size:21px; color:#1b0c20; background:linear-gradient(135deg,var(--accent),#ff9fd0); box-shadow:0 8px 30px rgba(225,134,233,.25); }
.brand > span:last-child { display:flex; flex-direction:column; letter-spacing:.12em; line-height:1.05; }
.brand b { font-size:15px; }.brand small { font-size:9px; color:var(--muted); margin-top:4px; }
.sidebar nav { display:flex; flex-direction:column; gap:5px; margin-top:8px; }
.nav-link { min-height:43px; padding:0 11px; border-radius:11px; display:flex; align-items:center; gap:11px; color:#c8bccf; font-size:14px; font-weight:650; border:1px solid transparent; }
.nav-link span { width:22px; color:#a995b8; font-size:18px; text-align:center; }.nav-link i { margin-left:auto; font-size:9px; font-style:normal; color:#75687f; text-transform:uppercase; }
.nav-link:hover:not(.disabled) { background:rgba(255,255,255,.035); color:white; }.nav-link.active { color:white; background:linear-gradient(90deg,rgba(225,134,233,.14),rgba(225,134,233,.045)); border-color:rgba(225,134,233,.14); }.nav-link.active span { color:var(--accent); }.nav-link.disabled { opacity:.48; cursor:default; }
.sidebar-bottom { margin-top:auto; border-top:1px solid rgba(255,255,255,.07); padding:15px 7px 3px; }.admin-mini { display:flex; gap:9px; align-items:center; min-width:0; }.avatar { width:34px; height:34px; border-radius:10px; display:inline-grid; place-items:center; flex:0 0 auto; background:linear-gradient(145deg,#412b51,#251a31); border:1px solid rgba(225,134,233,.18); color:#f2c9f5; font-weight:800; }.admin-mini > span:last-child,.user-cell > span:last-child { display:flex; flex-direction:column; min-width:0; }.admin-mini b { max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }.admin-mini small,.user-cell small { color:var(--muted); font-size:10px; margin-top:3px; }.signout { width:100%; border:0; color:#96899f; background:transparent; text-align:left; padding:10px 43px; font-size:12px; }.signout:hover { color:#ff98ac; }
.content { padding:34px 38px 60px; max-width:1520px; width:100%; margin:0 auto; }
.page-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:24px; }.page-head.compact { align-items:center; }.eyebrow { color:var(--accent); font-size:10px; letter-spacing:.2em; font-weight:850; margin-bottom:8px; }.page-head h1 { margin:0; font-size:32px; letter-spacing:-.035em; }.page-head h1 span { color:var(--accent); }.page-head p { color:var(--muted); margin:7px 0 0; font-size:13px; }.status-pill { border:1px solid rgba(104,225,166,.18); background:rgba(104,225,166,.055); color:#a7f1cd; padding:9px 12px; border-radius:999px; font-size:11px; }.status-pill i { display:inline-block; width:7px; height:7px; background:var(--good); border-radius:99px; margin-right:7px; box-shadow:0 0 12px var(--good); }
.stats-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin-bottom:16px; }.stat-card { border-radius:17px; min-height:128px; padding:18px; display:flex; flex-direction:column; }.stat-label { font-size:11px; text-transform:uppercase; letter-spacing:.11em; color:#a99ab2; font-weight:750; }.stat-card strong { font-size:35px; line-height:1; margin-top:19px; letter-spacing:-.04em; }.stat-card small { color:var(--muted); margin-top:7px; font-size:11px; }.accent-card { border-color:rgba(225,134,233,.27); background:linear-gradient(145deg,rgba(225,134,233,.1),var(--panel)); }.pro-card { border-color:rgba(255,141,203,.3); background:linear-gradient(145deg,rgba(255,141,203,.12),var(--panel)); }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr); gap:16px; }.panel { border-radius:18px; overflow:hidden; }.panel-head { min-height:72px; padding:17px 19px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid rgba(255,255,255,.06); }.panel-head h2 { margin:0; font-size:15px; }.panel-head p { margin:5px 0 0; color:var(--muted); font-size:11px; }.text-link { color:var(--accent); font-size:11px; font-weight:700; }
.table-wrap { overflow:auto; }.data-table { width:100%; border-collapse:collapse; min-width:650px; }.data-table th { color:#8f8199; font-size:9px; letter-spacing:.1em; text-transform:uppercase; text-align:left; padding:11px 16px; background:rgba(255,255,255,.015); }.data-table td { padding:13px 16px; border-top:1px solid rgba(255,255,255,.045); font-size:11px; color:#c9bdcf; }.data-table tbody tr:hover { background:rgba(255,255,255,.018); }.user-cell { display:flex; gap:10px; align-items:center; }.user-cell b { font-size:11px; color:#f7f2f9; font-weight:650; }.badge { display:inline-flex; align-items:center; border-radius:999px; padding:5px 8px; font-size:9px; font-weight:750; white-space:nowrap; border:1px solid transparent; }.badge.good { color:#93e9bc; background:rgba(104,225,166,.07); border-color:rgba(104,225,166,.13); }.badge.warn { color:#ffd98b; background:rgba(255,207,115,.07); border-color:rgba(255,207,115,.13); }.badge.bad { color:#ffa2b3; background:rgba(255,127,152,.07); border-color:rgba(255,127,152,.16); }.badge.tier { color:#c6b7d1; background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.08); }.badge.tier.standard { color:#efbaf2; background:rgba(225,134,233,.09); border-color:rgba(225,134,233,.18); }.badge.tier.pro { color:#ffc0df; background:rgba(255,141,203,.11); border-color:rgba(255,141,203,.22); }.badge.large { font-size:11px; padding:7px 11px; }.table-empty { text-align:center!important; padding:34px!important; color:#7c7085!important; }
.quick-panel { align-self:start; }.quick-link { min-height:72px; display:grid; grid-template-columns:36px 1fr auto; gap:11px; align-items:center; padding:12px 17px; border-top:1px solid rgba(255,255,255,.05); }.quick-link > span { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:rgba(225,134,233,.08); color:var(--accent); }.quick-link div { display:flex; flex-direction:column; }.quick-link b { font-size:11px; }.quick-link small { color:var(--muted); font-size:9px; margin-top:4px; }.quick-link i { color:#8e8198; font-style:normal; font-size:15px; }.quick-link:not(.muted):hover { background:rgba(255,255,255,.02); }.quick-link.muted { opacity:.45; }
.toolbar { padding:14px 16px; display:flex; gap:9px; align-items:center; border-bottom:1px solid rgba(255,255,255,.06); }.search-box { flex:1; min-width:220px; position:relative; }.search-box span { position:absolute; left:12px; top:9px; color:#81748a; }.search-box input { width:100%; padding-left:34px; }.toolbar input,.toolbar select,.form-grid input,.form-grid select { border:1px solid rgba(225,134,233,.15); background:#171020; color:var(--text); border-radius:10px; padding:9px 11px; outline:none; }.toolbar input:focus,.toolbar select:focus,.form-grid input:focus,.form-grid select:focus { border-color:rgba(225,134,233,.45); box-shadow:0 0 0 3px rgba(225,134,233,.06); }.toolbar select { min-width:120px; }.btn { border:1px solid transparent; border-radius:10px; min-height:36px; padding:0 13px; display:inline-flex; align-items:center; justify-content:center; color:white; font-weight:750; font-size:10px; }.btn.primary { color:#1a0d1e; background:linear-gradient(135deg,#e186e9,#f19bdc); box-shadow:0 8px 22px rgba(225,134,233,.15); }.btn.secondary { background:#25192f; border-color:#3f2b4c; color:#e9ddea; }.btn.ghost { background:transparent; border-color:rgba(255,255,255,.08); color:#a99caf; }.btn.tiny { min-height:29px; padding:0 10px; background:#24172e; border-color:#3a2846; }.btn.full { width:100%; }.btn.danger-outline { background:transparent; border-color:rgba(255,127,152,.25); color:#ff9daf; }.back-link { display:block; margin-bottom:10px; color:#aa9ab4; font-size:11px; }.mono { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; color:#83768b; font-size:10px; }.flash { padding:11px 14px; border-radius:11px; margin:-7px 0 15px; background:rgba(104,225,166,.07); border:1px solid rgba(104,225,166,.15); color:#a8edce; font-size:11px; }
.user-detail-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(300px,.65fr); gap:16px; }.form-grid { padding:18px; display:grid; grid-template-columns:1fr 1fr; gap:14px; }.form-grid label { display:flex; flex-direction:column; gap:7px; font-size:10px; color:#a99bb3; font-weight:700; }.form-grid input:disabled { color:#756a7c; opacity:.75; }.check-stack { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; gap:10px; }.toggle-row { flex-direction:row!important; align-items:flex-start; gap:9px!important; padding:12px; border:1px solid rgba(255,255,255,.06); border-radius:11px; background:rgba(255,255,255,.015); }.toggle-row input { width:15px; height:15px; margin-top:2px; }.toggle-row span { display:flex; flex-direction:column; }.toggle-row b { color:#ded5e2; font-size:10px; }.toggle-row small { color:#807487; font-size:9px; margin-top:3px; }.form-grid > .btn { justify-self:start; }.info-stack { padding:8px 18px; }.info-row { display:flex; justify-content:space-between; gap:15px; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.05); font-size:10px; }.info-row span { color:#8d8096; }.info-row b { font-weight:700; }.muted-text { color:#81748a; }.action-stack { padding:12px 18px 18px; display:grid; gap:8px; }.audit-detail { max-width:420px; color:#918499!important; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:9px!important; }.nowrap { white-space:nowrap; }
.login-body { min-height:100vh; overflow:hidden; background:linear-gradient(145deg,#09060d,#170b1d 58%,#08060d); }.login-shell { min-height:100vh; display:grid; place-items:center; padding:24px; position:relative; isolation:isolate; }.login-shell::before { content:""; position:absolute; inset:0; z-index:-3; background:radial-gradient(circle at 72% 22%,rgba(255,129,210,.12),transparent 30%),radial-gradient(circle at 26% 78%,rgba(118,79,255,.12),transparent 32%); }.login-shell::after { content:""; position:absolute; inset:0; z-index:-2; background-image:linear-gradient(rgba(255,255,255,.016) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.016) 1px,transparent 1px); background-size:50px 50px; mask-image:radial-gradient(circle at center,#000,transparent 75%); }.login-glow { position:absolute; border-radius:999px; filter:blur(70px); opacity:.24; z-index:-1; }.login-glow-a { width:310px; height:310px; background:#d75cdf; right:8%; top:7%; }.login-glow-b { width:270px; height:270px; background:#5933d5; left:9%; bottom:7%; }.login-card { width:min(430px,100%); padding:35px; border-radius:24px; background:rgba(23,13,32,.82); }.login-card .brand-mark { margin-bottom:26px; }.login-card h1 { margin:0; font-size:30px; letter-spacing:-.04em; }.login-card h1 span { color:var(--accent); }.login-sub { margin:7px 0 25px; color:var(--muted); font-size:12px; }.login-form { display:flex; flex-direction:column; }.login-form > label:not(.remember) { color:#b2a4ba; font-size:10px; font-weight:700; margin:11px 0 7px; }.login-form input[type=email],.login-form input[type=password],.login-form input[type=text] { width:100%; border:1px solid rgba(225,134,233,.16); background:#120d18; color:white; border-radius:11px; padding:12px 13px; outline:none; }.login-form input:focus { border-color:rgba(225,134,233,.5); box-shadow:0 0 0 3px rgba(225,134,233,.06); }.password-wrap { position:relative; }.password-wrap input { padding-right:62px!important; }.reveal { position:absolute; right:7px; top:6px; height:31px; padding:0 9px; background:#211629; border:1px solid #392541; border-radius:8px; color:#a99bb2; font-size:9px; }.remember { margin:15px 0; display:flex; gap:8px; align-items:center; color:#978a9f; font-size:10px; }.remember input { accent-color:var(--accent); }.login-button { min-height:43px; margin-top:2px; }.validation { color:#ff96aa; font-size:9px; margin-top:5px; }.validation ul { padding-left:16px; }.login-foot { text-align:center; margin-top:22px; padding-top:18px; border-top:1px solid rgba(255,255,255,.055); color:#6e6375; font-size:9px; letter-spacing:.08em; text-transform:uppercase; }.empty-state { max-width:520px; margin:100px auto; padding:40px; border-radius:20px; text-align:center; }.empty-state p { color:var(--muted); }
@media (max-width:1000px) { .stats-grid { grid-template-columns:1fr 1fr; }.dashboard-grid,.user-detail-grid { grid-template-columns:1fr; } }
@media (max-width:760px) { .app-shell { grid-template-columns:1fr; }.sidebar { position:static; height:auto; margin:10px; }.sidebar nav { display:grid; grid-template-columns:1fr 1fr; }.sidebar-bottom { display:none; }.content { padding:20px 14px 40px; }.stats-grid { grid-template-columns:1fr 1fr; }.toolbar { flex-wrap:wrap; }.search-box { width:100%; flex-basis:100%; }.form-grid,.check-stack { grid-template-columns:1fr; }.login-card { padding:27px 22px; } }

.login-switch { text-align:center; margin-top:18px; color:#9d90a6; font-size:11px; }
.login-switch a { color:#f09be0; font-weight:750; }
.login-switch a:hover { color:#ffc2ef; }
.optional { color:#73677a; font-size:9px; font-weight:600; margin-left:4px; }
.password-hint { color:#776b7f; font-size:9px; margin-top:6px; }
.register-card { width:min(460px,100%); }
.register-button { margin-top:18px; }
.account-shell { padding:34px; }
.account-card { width:min(760px,100%); padding:32px; border-radius:24px; background:rgba(23,13,32,.84); }
.account-head { display:flex; justify-content:space-between; align-items:flex-start; gap:22px; padding-bottom:24px; border-bottom:1px solid rgba(255,255,255,.06); }
.account-head h1 { margin:8px 0 5px; font-size:30px; letter-spacing:-.04em; }
.account-head h1 span { color:var(--accent); }
.account-head p { margin:0; color:var(--muted); font-size:11px; }
.account-tier { padding:8px 13px; border-radius:999px; border:1px solid rgba(255,255,255,.09); background:rgba(255,255,255,.04); color:#c9bdd0; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.account-tier.standard { color:#efbaf2; border-color:rgba(225,134,233,.24); background:rgba(225,134,233,.09); }
.account-tier.pro { color:#ffc0df; border-color:rgba(255,141,203,.28); background:rgba(255,141,203,.11); }
.account-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0; }
.account-stat { padding:16px; border:1px solid rgba(255,255,255,.055); border-radius:13px; background:rgba(255,255,255,.018); display:flex; flex-direction:column; gap:7px; }
.account-stat span { color:#81758a; font-size:9px; text-transform:uppercase; letter-spacing:.07em; font-weight:700; }
.account-stat b { color:#eee5f0; font-size:12px; }
.account-note { padding:17px; border-radius:14px; border:1px solid rgba(225,134,233,.13); background:rgba(225,134,233,.045); display:flex; flex-direction:column; gap:7px; }
.account-note b { color:#f3c0e9; font-size:12px; }
.account-note span { color:#9c8ea5; font-size:10px; line-height:1.6; }
.account-actions { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-top:20px; }
.account-actions form { margin:0; }
@media (max-width:620px) { .account-head { flex-direction:column; }.account-grid { grid-template-columns:1fr; }.account-card { padding:24px 20px; } }

.login-options { margin:15px 0; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.login-options .remember { margin:0; }
.login-options > a { color:#e9a0df; font-size:10px; font-weight:750; }
.login-options > a:hover { color:#ffc3ef; }
.status-card { text-align:left; }
.status-actions { display:grid; gap:9px; margin-top:22px; }
.account-flash { margin:18px 0 -2px; padding:12px 14px; border-radius:12px; background:rgba(104,225,166,.07); border:1px solid rgba(104,225,166,.15); color:#b2edd2; font-size:10px; }
.verify-banner { margin:18px 0 0; padding:15px 16px; display:flex; justify-content:space-between; align-items:center; gap:15px; border-radius:14px; border:1px solid rgba(255,207,115,.18); background:rgba(255,207,115,.055); }
.verify-banner > div { display:flex; flex-direction:column; gap:5px; }
.verify-banner b { color:#ffe0a3; font-size:11px; }
.verify-banner span { color:#a99a8c; font-size:9px; line-height:1.55; }
.verify-banner form { margin:0; flex:0 0 auto; }
.btn:disabled { opacity:.42; cursor:not-allowed; transform:none!important; }
@media (max-width:620px) { .login-options,.verify-banner { align-items:stretch; flex-direction:column; }.verify-banner .btn { width:100%; } }

.upgrade-panel { margin-top:14px; padding:17px; border-radius:14px; border:1px solid rgba(225,134,233,.16); background:linear-gradient(135deg,rgba(225,134,233,.065),rgba(255,141,203,.035)); display:flex; justify-content:space-between; align-items:center; gap:16px; }
.upgrade-panel > div:first-child { display:flex; flex-direction:column; gap:5px; }
.upgrade-panel .eyebrow { margin:0; }
.upgrade-panel b { font-size:12px; color:#f5d6ef; }
.upgrade-panel small { color:#93869c; font-size:9px; line-height:1.5; }
.upgrade-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.purchase-history { margin-top:14px; border:1px solid rgba(255,255,255,.055); border-radius:14px; overflow:hidden; background:rgba(255,255,255,.012); }
.purchase-title { padding:13px 15px; display:flex; justify-content:space-between; border-bottom:1px solid rgba(255,255,255,.05); }
.purchase-title b { font-size:11px; } .purchase-title span { color:#7f7388; font-size:9px; }
.purchase-row { padding:12px 15px; display:flex; justify-content:space-between; gap:18px; border-top:1px solid rgba(255,255,255,.04); }
.purchase-row:first-of-type { border-top:0; }
.purchase-row > span { display:flex; flex-direction:column; gap:4px; }
.purchase-row > span:last-child { text-align:right; }
.purchase-row b { font-size:10px; color:#e8ddea; } .purchase-row small { font-size:9px; color:#81758a; }
@media (max-width:620px) { .upgrade-panel { flex-direction:column; align-items:stretch; }.upgrade-actions { justify-content:stretch; }.upgrade-actions .btn { width:100%; }.purchase-row { flex-direction:column; }.purchase-row > span:last-child { text-align:left; } }


/* Mochicast telemetry */
.telemetry-stats { margin-bottom:13px; }
.telemetry-stats-secondary .stat-card { min-height:112px; }
.telemetry-stats-secondary .stat-card strong { font-size:29px; margin-top:15px; }
.telemetry-byte-stat { font-size:28px!important; }
.telemetry-dashboard-grid { margin-top:3px; }
.telemetry-table { min-width:980px; }
.telemetry-table td { vertical-align:middle; }
.telemetry-sub { display:block; color:#7f7388; font-size:9px; margin-top:4px; white-space:nowrap; }
.telemetry-stream-id { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; color:#e7dce9; font-size:10px; }
.telemetry-viewers { font-size:15px; font-weight:800; color:#f3c7ef; }
.telemetry-breakdown-panel { align-self:start; }
.telemetry-breakdowns { padding:8px 18px 16px; }
.telemetry-breakdown { padding:12px 0; border-bottom:1px solid rgba(255,255,255,.05); }
.telemetry-breakdown:last-child { border-bottom:0; }
.telemetry-breakdown > b { display:block; margin-bottom:8px; font-size:10px; color:#b9abc1; text-transform:uppercase; letter-spacing:.08em; }
.telemetry-breakdown > div { display:flex; flex-wrap:wrap; gap:6px; }
.telemetry-breakdown span { display:inline-flex; gap:7px; align-items:center; padding:6px 8px; border-radius:9px; background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.055); color:#9f92a8; font-size:9px; }
.telemetry-breakdown span strong { color:#f1e8f3; }
.telemetry-breakdown em { color:#716677; font-size:9px; font-style:normal; }
.telemetry-section { margin-top:16px; }
.telemetry-error-panel { max-width:850px; }
.telemetry-message { padding:22px 20px; display:flex; flex-direction:column; gap:7px; }
.telemetry-message b { color:#ffb0bd; font-size:12px; }
.telemetry-message span { color:#95889e; font-size:10px; line-height:1.6; }
.telemetry-status-bad { color:#ffd29a; border-color:rgba(255,207,115,.18); background:rgba(255,207,115,.055); }
.telemetry-error-message { max-width:560px; color:#9f92a8!important; line-height:1.45; }
.badge.free { color:#c8bbcf; background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.08); }
@media (max-width:1000px) { .telemetry-dashboard-grid { grid-template-columns:1fr; } }


/* Admin email composer */
.email-health { display:flex; gap:7px; flex-wrap:wrap; justify-content:flex-end; align-items:center; }
.email-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr); gap:14px; align-items:start; }
.email-compose-form { padding:4px 18px 20px; display:grid; gap:15px; }
.email-compose-form > label { display:grid; gap:7px; color:#a99bb2; font-size:10px; font-weight:700; }
.email-compose-form input,.email-compose-form select,.email-compose-form textarea { width:100%; border:1px solid rgba(225,134,233,.16); background:#120d18; color:#f5edf7; border-radius:11px; padding:12px 13px; outline:none; font:inherit; }
.email-compose-form textarea { resize:vertical; min-height:230px; line-height:1.6; }
.email-compose-form input:focus,.email-compose-form select:focus,.email-compose-form textarea:focus { border-color:rgba(225,134,233,.5); box-shadow:0 0 0 3px rgba(225,134,233,.06); }
.email-send-row { display:flex; gap:9px; align-items:center; flex-wrap:wrap; }
.email-send-row > span { color:#81758a; font-size:9px; margin-left:auto; }
.email-send-row > span b { color:#bbaec2; }
.email-preview-copy { margin:0 18px 16px; padding:17px; border-radius:14px; border:1px solid rgba(225,134,233,.12); background:rgba(225,134,233,.035); }
.email-preview-copy b { color:#f3c7ef; font-size:12px; }
.email-preview-copy p { color:#9c8ea5; font-size:10px; line-height:1.65; margin:12px 0 0; }
.email-note { margin:0 18px 20px; padding:14px; border-radius:12px; background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.055); display:grid; gap:5px; }
.email-note b { color:#c9bbcf; font-size:10px; }
.email-note span { color:#83768b; font-size:9px; line-height:1.55; }
.email-history-panel { margin-top:16px; }
@media (max-width:1000px) { .email-grid { grid-template-columns:1fr; } }
@media (max-width:620px) { .email-health { justify-content:flex-start; }.email-send-row { align-items:stretch; flex-direction:column; }.email-send-row .btn { width:100%; }.email-send-row > span { margin-left:0; } }

/* Mochi Account V9 licences */
.account-card-v9 { width:min(860px,100%); }
.account-tabs { display:flex; gap:5px; margin:17px 0 0; padding:5px; width:max-content; max-width:100%; border:1px solid rgba(255,255,255,.055); border-radius:12px; background:rgba(255,255,255,.018); }
.account-tabs a { padding:8px 13px; border-radius:8px; color:#8f8298; font-size:10px; font-weight:750; transition:.15s ease; }
.account-tabs a:hover { color:#e9ddea; background:rgba(255,255,255,.025); }
.account-tabs a.active { color:#f7ddf3; background:rgba(225,134,233,.11); border:1px solid rgba(225,134,233,.16); }
.licence-section { margin-top:20px; }
.licence-section-head { display:flex; justify-content:space-between; align-items:flex-end; gap:18px; margin-bottom:11px; }
.licence-section-head > div { display:flex; flex-direction:column; gap:4px; }
.licence-section-head b { font-size:12px; color:#f2e8f4; }
.licence-section-head span { color:#81758a; font-size:9px; }
.licence-count { padding:6px 9px; border:1px solid rgba(104,225,166,.13); border-radius:999px; background:rgba(104,225,166,.055); color:#9fe8c4!important; font-weight:750; }
.licence-grid { display:grid; gap:11px; }
.licence-card { border:1px solid rgba(255,255,255,.06); border-radius:15px; padding:17px; background:rgba(255,255,255,.017); }
.licence-card:not(.inactive) { border-color:rgba(225,134,233,.13); background:linear-gradient(145deg,rgba(225,134,233,.038),rgba(255,255,255,.012)); }
.licence-card.inactive { opacity:.92; }
.licence-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.licence-app { display:block; color:#a682ad; font-size:8px; letter-spacing:.12em; font-weight:800; margin-bottom:5px; }
.licence-card h2 { margin:0; font-size:15px; letter-spacing:-.02em; }
.licence-card p { margin:11px 0 13px; color:#91849a; font-size:10px; line-height:1.6; }
.licence-state { flex:0 0 auto; padding:5px 8px; border-radius:999px; font-size:8px; font-weight:850; letter-spacing:.05em; }
.licence-state.active { color:#9de8c2; border:1px solid rgba(104,225,166,.14); background:rgba(104,225,166,.06); }
.licence-state.inactive { color:#94879d; border:1px solid rgba(255,255,255,.065); background:rgba(255,255,255,.025); }
.licence-meta { display:flex; justify-content:space-between; gap:15px; flex-wrap:wrap; padding-top:11px; border-top:1px solid rgba(255,255,255,.045); color:#776b7f; font-size:9px; }
.licence-meta span:first-child { color:#b5a7bd; font-weight:700; }
.licence-actions { display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap; margin-top:13px; }
.vpn-plan-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:11px 0; border-top:1px solid rgba(255,255,255,.045); }
.vpn-plan-row > div { display:flex; flex-direction:column; gap:4px; }
.vpn-plan-row b { font-size:10px; color:#e8ddea; }
.vpn-plan-row span { font-size:9px; color:#81758a; }
.plan-soon { padding:6px 8px; border-radius:8px; border:1px solid rgba(255,255,255,.05); background:rgba(255,255,255,.02); color:#776c7e!important; font-weight:700; }
.purchase-history-v9 { margin-top:20px; }
.purchase-empty { padding:24px 15px; color:#756a7c; font-size:10px; text-align:center; }
@media (max-width:620px) { .account-tabs { width:100%; }.account-tabs a { flex:1; text-align:center; }.licence-section-head { align-items:flex-start; flex-direction:column; }.licence-actions { justify-content:stretch; }.licence-actions .btn { width:100%; }.vpn-plan-row { align-items:stretch; flex-direction:column; }.vpn-plan-row .btn { width:100%; }.licence-meta { flex-direction:column; gap:5px; } }

/* V9 entitlement admin */
.entitlement-table { min-width:820px; }
.entitlement-recent-panel { margin-top:16px; }
.entitlement-user-list { padding:4px 18px 8px; }
.entitlement-user-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid rgba(255,255,255,.045); }
.entitlement-user-row > div { display:flex; flex-direction:column; gap:4px; min-width:0; }
.entitlement-user-row b { font-size:10px; color:#eadfeb; }
.entitlement-user-row small { font-size:8px; color:#786d80; overflow-wrap:anywhere; }
.entitlement-user-row form { margin:0; }
.mini-danger { border:1px solid rgba(255,127,152,.16); background:rgba(255,127,152,.05); color:#f2a2b0; border-radius:8px; padding:6px 8px; font-size:8px; font-weight:750; }
.admin-grant-block { margin:5px 18px 16px; padding-top:13px; border-top:1px solid rgba(255,255,255,.05); }
.admin-grant-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-top:10px; }
.admin-grant-grid form { margin:0; }
.entitlement-support-actions { padding-top:14px; border-top:1px solid rgba(255,255,255,.05); }
@media (max-width:620px) { .admin-grant-grid { grid-template-columns:1fr; } }

.login-body { overflow:auto; }

.mochi-account-v92 {
    --account-bg:#0d0911;
    --account-panel:#15101a;
    --account-panel-2:#1b1321;
    --account-border:rgba(237,140,255,.14);
    --account-border-strong:rgba(237,140,255,.28);
    --account-text:#f7f1f8;
    --account-muted:#b9a9be;
    --account-muted-2:#8f8194;
    --account-accent:#ed8cff;
    --account-good:#8ee7bb;
    --account-warn:#ffd58a;
    position:relative;
    min-height:100vh;
    padding:36px;
    overflow:hidden;
    background:
        radial-gradient(circle at 86% 12%,rgba(173,79,185,.18),transparent 28%),
        radial-gradient(circle at 16% 84%,rgba(91,42,129,.14),transparent 30%),
        var(--account-bg);
    color:var(--account-text);
}

.account-bg-orb { position:fixed; width:440px; height:440px; border-radius:50%; filter:blur(90px); pointer-events:none; opacity:.12; }
.account-bg-orb-a { right:-170px; top:-170px; background:#d76be6; }
.account-bg-orb-b { left:-180px; bottom:-220px; background:#7442b0; }

.account-shell-v92 {
    position:relative;
    z-index:1;
    width:min(1180px,100%);
    min-height:720px;
    margin:0 auto;
    display:grid;
    grid-template-columns:245px minmax(0,1fr);
    overflow:hidden;
    border:1px solid var(--account-border-strong);
    border-radius:30px;
    background:rgba(17,12,22,.94);
    box-shadow:0 28px 80px rgba(0,0,0,.35);
    backdrop-filter:blur(16px);
}

.account-sidebar-v92 {
    padding:28px 20px;
    display:flex;
    flex-direction:column;
    gap:26px;
    border-right:1px solid var(--account-border);
    background:linear-gradient(180deg,rgba(30,19,36,.92),rgba(18,12,23,.96));
}

.account-brand-v92 { padding:4px 10px 18px; }
.account-eyebrow-v92 { margin:0 0 8px; color:var(--account-accent); font-size:12px; font-weight:850; letter-spacing:.18em; text-transform:uppercase; }
.account-brand-name-v92 { font-size:25px; line-height:1.05; font-weight:850; letter-spacing:-.03em; }
.account-brand-sub-v92 { margin-top:8px; color:var(--account-muted); font-size:14px; line-height:1.45; }

.account-nav-v92 { display:grid; gap:8px; }
.account-nav-button-v92 {
    width:100%;
    border:0;
    border-radius:14px;
    padding:14px 15px;
    display:flex;
    align-items:center;
    gap:12px;
    color:var(--account-muted);
    background:transparent;
    cursor:pointer;
    text-align:left;
    font-size:16px;
    font-weight:750;
    transition:.18s ease;
}
.account-nav-button-v92:hover { color:var(--account-text); background:rgba(255,255,255,.035); }
.account-nav-button-v92.active { color:var(--account-text); background:linear-gradient(135deg,rgba(237,140,255,.16),rgba(183,97,208,.10)); box-shadow:inset 0 0 0 1px rgba(237,140,255,.16); }
.account-nav-icon-v92 { width:28px; height:28px; flex:0 0 auto; display:grid; place-items:center; border-radius:9px; background:rgba(255,255,255,.045); font-size:14px; }

.account-sidebar-footer-v92 { margin-top:auto; padding:0 10px 4px; }
.account-user-mini-v92 { padding:13px; border:1px solid rgba(255,255,255,.055); border-radius:16px; background:rgba(255,255,255,.035); }
.account-user-mini-v92 strong { display:block; margin-bottom:4px; font-size:15px; }
.account-user-mini-v92 span { display:block; color:var(--account-muted-2); font-size:13px; overflow-wrap:anywhere; }
.account-sidebar-footer-v92 form { margin:0; }
.account-side-link-v92 { display:block; width:100%; margin-top:10px; padding:8px 2px; border:0; color:var(--account-muted); background:transparent; font-size:14px; font-weight:750; text-align:left; cursor:pointer; }
.account-side-link-v92:hover { color:var(--account-text); }

.account-main-v92 { min-width:0; padding:42px 48px 48px; }
.account-tab-v92 { display:none; animation:accountTabFadeV92 .18s ease; }
.account-tab-v92.active { display:block; }
@keyframes accountTabFadeV92 { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }

.account-page-header-v92 { max-width:780px; margin-bottom:32px; }
.account-page-header-v92 h1 { margin:0; color:var(--account-text); font-size:clamp(34px,4vw,48px); line-height:1.04; letter-spacing:-.045em; }
.account-page-header-v92 p { margin:14px 0 0; color:var(--account-muted); font-size:18px; line-height:1.65; }

.account-flash-v92,.account-verify-v92 { margin-bottom:18px; padding:15px 17px; border:1px solid var(--account-border); border-radius:15px; background:rgba(237,140,255,.055); color:#e9dbea; font-size:15px; line-height:1.5; }
.account-verify-v92 { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.account-verify-v92 > div { display:flex; flex-direction:column; gap:4px; }
.account-verify-v92 strong { font-size:16px; }
.account-verify-v92 span { color:var(--account-muted); font-size:14px; }
.account-verify-v92 form { margin:0; }

.account-info-grid-v92 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.account-info-card-v92 { min-height:170px; padding:22px; display:flex; flex-direction:column; border:1px solid var(--account-border); border-radius:20px; background:linear-gradient(180deg,rgba(31,21,37,.95),rgba(24,17,29,.95)); }
.account-card-label-v92 { margin-bottom:10px; color:var(--account-muted-2); font-size:13px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.account-info-card-v92 > strong { color:var(--account-text); font-size:21px; line-height:1.3; overflow-wrap:anywhere; }
.account-email-value-v92 { font-size:18px!important; }
.account-info-card-v92 > small { margin-top:8px; color:var(--account-muted); font-size:15px; line-height:1.5; }
.account-card-actions-v92 { margin-top:auto; padding-top:18px; }

.account-pill-v92 { width:max-content; margin-top:12px; display:inline-flex; align-items:center; gap:7px; padding:8px 11px; border:1px solid rgba(255,255,255,.08); border-radius:999px; color:var(--account-muted); background:rgba(255,255,255,.03); font-size:14px; font-weight:800; }
.account-pill-v92.good { color:var(--account-good); border-color:rgba(142,231,187,.20); background:rgba(142,231,187,.06); }
.account-pill-v92.warn { color:var(--account-warn); border-color:rgba(255,213,138,.20); background:rgba(255,213,138,.06); }

.account-button-v92 { appearance:none; min-height:44px; padding:11px 16px; display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid var(--account-border-strong); border-radius:12px; color:var(--account-text); background:rgba(255,255,255,.04); font-size:15px; font-weight:800; text-decoration:none; cursor:pointer; transition:.18s ease; }
.account-button-v92:hover { transform:translateY(-1px); color:var(--account-text); border-color:rgba(237,140,255,.42); background:rgba(237,140,255,.07); }
.account-button-v92.primary { color:#1b0c20; border-color:transparent; background:linear-gradient(135deg,#f0a0ff,#d471ea); box-shadow:0 10px 26px rgba(218,111,235,.18); }
.account-button-v92:disabled { opacity:.45; cursor:not-allowed; transform:none; }

.account-app-list-v92 { display:grid; gap:12px; }
.account-app-row-v92 { padding:20px 22px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:18px; border:1px solid var(--account-border); border-radius:18px; background:rgba(255,255,255,.025); }
.account-app-main-v92 { min-width:0; }
.account-app-main-v92 strong { display:block; color:var(--account-text); font-size:20px; font-weight:850; letter-spacing:-.02em; }
.account-app-main-v92 span { display:block; margin-top:5px; color:var(--account-muted); font-size:15px; line-height:1.45; }
.account-app-side-v92 { display:flex; align-items:center; gap:14px; }
.account-app-price-v92 { min-width:125px; text-align:right; white-space:nowrap; }
.account-app-price-v92 strong { display:block; color:var(--account-text); font-size:18px; }
.account-app-price-v92 span { display:block; margin-top:3px; color:var(--account-muted); font-size:14px; }
.account-text-warn-v92 { color:var(--account-warn)!important; }

.account-manage-panel-v92 { display:none; margin-top:2px; padding:20px; border:1px solid var(--account-border-strong); border-radius:18px; background:rgba(237,140,255,.045); animation:accountManageFadeV92 .18s ease; }
.account-manage-panel-v92.show { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:18px; }
@keyframes accountManageFadeV92 { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
.account-manage-panel-v92 strong { color:var(--account-text); font-size:17px; }
.account-manage-panel-v92 p { margin:7px 0 0; max-width:680px; color:var(--account-muted); font-size:15px; line-height:1.55; }
.account-manage-actions-v92 { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; }
.account-manage-actions-v92 form { margin:0; }
.account-muted-v92 { color:var(--account-muted); font-size:14px; }

.account-vpn-plans-v92 { grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.account-vpn-plan-v92 { padding:16px; display:flex; align-items:center; justify-content:space-between; gap:14px; border:1px solid rgba(255,255,255,.07); border-radius:14px; background:rgba(0,0,0,.12); }
.account-vpn-plan-v92.featured { border-color:rgba(237,140,255,.22); background:rgba(237,140,255,.045); }
.account-vpn-plan-v92 > div { display:flex; flex-direction:column; gap:4px; }
.account-vpn-plan-v92 > div strong { font-size:17px; }
.account-vpn-plan-v92 > div span { color:var(--account-muted); font-size:14px; }

.account-billing-actions-v92 { margin:-12px 0 20px; display:flex; justify-content:flex-end; }
.account-billing-actions-v92 form { margin:0; }
.account-billing-list-v92 { overflow:hidden; border:1px solid var(--account-border); border-radius:18px; }
.account-billing-row-v92 { padding:18px 20px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:18px; border-bottom:1px solid rgba(255,255,255,.045); background:rgba(255,255,255,.02); }
.account-billing-row-v92:last-child { border-bottom:0; }
.account-billing-row-v92 > div:first-child { min-width:0; }
.account-billing-row-v92 strong { color:var(--account-text); font-size:16px; }
.account-billing-row-v92 span { display:block; margin-top:4px; color:var(--account-muted-2); font-size:14px; }
.account-billing-amount-v92 { min-width:110px; text-align:right; }
.account-billing-amount-v92 strong { font-size:18px; }
.account-empty-v92 { padding:26px 20px; color:var(--account-muted); font-size:15px; text-align:center; }

.account-support-card-v92 { max-width:760px; padding:30px; border:1px solid var(--account-border-strong); border-radius:22px; background:linear-gradient(135deg,rgba(237,140,255,.09),rgba(183,97,208,.035)),var(--account-panel); }
.account-support-card-v92 h2 { margin:0; color:var(--account-text); font-size:27px; letter-spacing:-.025em; }
.account-support-card-v92 p { margin:12px 0 0; color:var(--account-muted); font-size:17px; line-height:1.65; }
.account-support-actions-v92 { margin-top:22px; display:flex; gap:10px; flex-wrap:wrap; }

@media (max-width:820px) {
    .mochi-account-v92 { padding:16px; }
    .account-shell-v92 { min-height:0; grid-template-columns:1fr; }
    .account-sidebar-v92 { padding:20px; border-right:0; border-bottom:1px solid var(--account-border); }
    .account-brand-v92 { padding-bottom:4px; }
    .account-nav-v92 { grid-template-columns:repeat(4,1fr); }
    .account-nav-button-v92 { justify-content:center; padding:12px 8px; font-size:13px; }
    .account-nav-icon-v92 { display:none; }
    .account-sidebar-footer-v92 { display:none; }
    .account-main-v92 { padding:30px 22px 34px; }
    .account-info-grid-v92 { grid-template-columns:1fr; }
    .account-app-row-v92 { grid-template-columns:1fr; }
    .account-app-side-v92 { justify-content:space-between; }
    .account-manage-panel-v92.show { grid-template-columns:1fr; }
    .account-manage-actions-v92 { justify-content:flex-start; }
    .account-vpn-plans-v92 { grid-template-columns:1fr; }
}

@media (max-width:560px) {
    .account-nav-v92 { grid-template-columns:repeat(2,1fr); }
    .account-main-v92 { padding-inline:18px; }
    .account-page-header-v92 { margin-bottom:24px; }
    .account-page-header-v92 h1 { font-size:34px; }
    .account-page-header-v92 p { font-size:16px; }
    .account-app-side-v92 { align-items:flex-start; flex-direction:column; }
    .account-app-price-v92 { text-align:left; }
    .account-vpn-plan-v92 { align-items:flex-start; flex-direction:column; }
    .account-verify-v92 { align-items:flex-start; flex-direction:column; }
    .account-billing-row-v92 { align-items:flex-start; }
    .account-billing-amount-v92 { text-align:right; }
}


.account-support-form-v92 { display:grid; gap:12px; }
.account-support-form-v92 label { color:var(--account-text); font-size:13px; font-weight:800; }
.account-support-form-v92 textarea {
    width:100%; min-height:190px; resize:vertical; box-sizing:border-box;
    border:1px solid var(--account-border-strong); border-radius:15px;
    background:rgba(8,6,13,.55); color:var(--account-text);
    padding:16px 17px; font:inherit; font-size:15px; line-height:1.6; outline:none;
}
.account-support-form-v92 textarea:focus {
    border-color:rgba(229,119,255,.62);
    box-shadow:0 0 0 4px rgba(229,119,255,.08);
}
.account-support-form-v92 textarea::placeholder { color:#7f7585; }
.account-support-send-v92 { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.account-support-status-v92 { color:var(--account-muted); font-size:12px; line-height:1.45; }
.account-support-honeypot-v92 { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; opacity:0!important; pointer-events:none!important; }
