:root{
  --bg:#f3f7f9;
  --panel:#ffffff;
  --panel2:#f8fbfc;
  --text:#10233a;
  --muted:#6d8193;
  --line:#d9e5eb;
  --accent:#0aaeb8;
  --accent2:#078e97;
  --success:#39df96;
  --danger:#e34d59;
  --warning:#d79522;
  --shadow:0 14px 42px rgba(31,67,91,.09);
}
*{box-sizing:border-box}
html{background:var(--bg)}
body{margin:0;background:linear-gradient(180deg,#f8fbfc 0,#f3f7f9 260px,#f3f7f9 100%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select{font:inherit}button,a{touch-action:manipulation}.shell{width:min(1120px,calc(100% - 32px));margin:0 auto;padding:28px 0 56px}
.topbar{min-height:74px;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(31,67,91,.06)}
.brand img{width:170px;display:block}.secure{color:#64798b;font-size:13px;display:flex;align-items:center;gap:9px}.secure span{width:8px;height:8px;border-radius:50%;background:var(--success);box-shadow:0 0 0 5px rgba(57,223,150,.12)}
.hero{display:grid;grid-template-columns:1.35fr .65fr;gap:40px;align-items:end;padding:58px 6px 32px}.eyebrow{font-size:12px;letter-spacing:.16em;color:var(--accent);font-weight:900}h1{font-size:clamp(39px,6vw,66px);line-height:.98;margin:14px 0 18px;letter-spacing:-.045em;max-width:780px}h1 span{color:#8195a5}.hero p{max-width:720px;color:var(--muted);line-height:1.65;font-size:16px;margin:0}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.step{border:1px solid var(--line);border-radius:16px;padding:13px 10px;background:#fff;color:#7b8d9b;text-align:center}.step b{width:27px;height:27px;display:grid;place-items:center;margin:0 auto 7px;border-radius:9px;background:#edf4f6;color:#607686;font-size:12px}.step span{font-size:11px;font-weight:800}.step.active{border-color:rgba(10,174,184,.45);color:var(--text);background:#f4fdfe;box-shadow:0 5px 15px rgba(10,174,184,.08)}.step.active b{background:var(--accent);color:#fff}
.card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:var(--shadow);margin-top:14px}.card[hidden]{display:none!important}.card-head{margin-bottom:26px}.card-head.split{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.number{display:inline-grid;place-items:center;width:36px;height:28px;border:1px solid rgba(10,174,184,.3);background:#f0fbfc;border-radius:9px;color:var(--accent);font-size:11px;font-weight:900;letter-spacing:.08em}h2{font-size:28px;letter-spacing:-.03em;margin:12px 0 7px}.card-head p{color:var(--muted);margin:0;line-height:1.5}
.form{display:grid;gap:16px}.one-col{max-width:590px}.grid-two{grid-template-columns:1fr 1fr}.wide{grid-column:1/-1}label span{display:block;font-size:12px;font-weight:850;color:#425d70;margin:0 0 8px}label small{font-weight:550;color:#8395a2}input,select{width:100%;border:1px solid #cfdee5;background:#fff;color:var(--text);border-radius:13px;padding:14px 15px;outline:none;transition:.15s;box-shadow:inset 0 1px 1px rgba(15,46,65,.02)}input:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(10,174,184,.1)}input::placeholder{color:#9aaab5}
button,.link-button{border:0;border-radius:13px;padding:13px 18px;font-weight:850;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:12px}.primary{background:linear-gradient(135deg,#11bdc7,#0797a0);color:#fff;box-shadow:0 7px 18px rgba(10,174,184,.18)}.primary:hover{filter:brightness(1.03)}.primary:disabled{opacity:.42;cursor:wait}.secondary{background:#fff;color:#405b6f;border:1px solid #cbdbe3}.one-col .primary{justify-self:start;margin-top:3px;min-width:170px}.actions,.final-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}.final-actions{justify-content:center}.message{margin-top:18px;border-radius:13px;padding:13px 15px;background:#fff4f5;border:1px solid #f2c8cc;color:#b93642;line-height:1.45;font-size:13px}.message.info{background:#f1fbfc;border-color:#bde8eb;color:#176e75}.message.warning{background:#fff8e9;border-color:#f1d59a;color:#8b6417}
.license{padding:12px 15px;background:#f0fbfc;border:1px solid #bce8eb;border-radius:14px;color:#176e75;font-size:12px;line-height:1.6;text-align:right}.court-count{min-width:190px}.court-rows{display:grid;gap:10px}.court-row{display:grid;grid-template-columns:70px 1fr 220px;gap:12px;align-items:center;padding:12px;border:1px solid #d9e5eb;border-radius:15px;background:#f8fbfc}.court-index{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:#e9f7f8;color:var(--accent);font-weight:900}.court-row input,.court-row select{padding:12px 13px;background:#fff}
.result{text-align:center;padding:42px 30px}.success-mark{width:66px;height:66px;margin:0 auto 18px;display:grid;place-items:center;border-radius:22px;background:var(--success);color:#073624;font-size:34px;font-weight:900}.result h2{font-size:36px;margin:8px 0}.result-lead{color:var(--muted);margin:0 auto 30px}.club-key-box{max-width:850px;margin:0 auto 28px;text-align:left;background:#f8fbfc;border:1px solid #c8e7e9;border-radius:18px;padding:18px;display:grid;grid-template-columns:1fr auto;gap:12px 16px;align-items:center}.club-key-box strong,.club-key-box span{display:block}.club-key-box span{font-size:12px;color:var(--muted);margin-top:4px}.club-key-box code{grid-column:1/-1;background:#fff;border:1px dashed #a9cbd0;padding:12px;border-radius:10px;word-break:break-all;color:#176e75}.club-key-box button{justify-self:start;background:#e9f4f6;color:#34586c;padding:9px 13px}
.result-courts{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:12px;text-align:left}.result-court{border:1px solid #d8e5eb;background:#f9fbfc;border-radius:17px;padding:16px}.result-court .sport{display:inline-flex;padding:5px 8px;border-radius:8px;background:#eaf3f6;color:#617989;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.result-court h3{margin:12px 0 5px}.result-court p{margin:0;color:var(--muted);font-size:12px;word-break:break-all}.result-court .links{display:flex;gap:7px;margin-top:14px}.result-court a{flex:1;text-align:center;text-decoration:none;color:#405b6f;background:#fff;border:1px solid #cfdee5;border-radius:10px;padding:9px;font-size:11px;font-weight:800}.result-court a:last-child{color:#fff;background:var(--accent);border-color:var(--accent)}
.account-status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.account-status.active{background:#eafaf3;color:#17724c}.account-status.suspended{background:#fff4d8;color:#8a6417}.account-status.disabled{background:#fce9eb;color:#a72c37}.admin-mode-banner{padding:12px 15px;margin-bottom:18px;border-radius:13px;background:#eef9fa;border:1px solid #bce6e9;color:#176e75;font-size:13px;font-weight:750}.locked-note{padding:15px;border-radius:14px;background:#fff8e9;border:1px solid #efd79f;color:#795b1d;margin:0 0 18px}.danger-zone{margin-top:42px;border-top:1px solid #d9e5eb;padding-top:26px}.danger-zone .eyebrow{color:var(--danger)}.danger-button{margin-top:14px;background:var(--danger);color:#fff}
.logo-field input[type=file]{padding:11px;background:#fff}.logo-preview{margin-top:12px;width:112px;height:112px;border:1px solid #d5e2e8;border-radius:16px;background:#fff;overflow:hidden;display:grid;place-items:center}.logo-preview[hidden]{display:none}.logo-preview img{max-width:100%;max-height:100%;object-fit:contain}.current-logo{max-width:120px;max-height:90px;object-fit:contain;background:#fff;border:1px solid #d5e2e8;border-radius:14px;padding:8px}
footer{display:flex;justify-content:space-between;padding:24px 6px 0;color:#7c8e9b;font-size:11px}footer a{color:#527386;text-decoration:none}footer a:hover{color:var(--accent)}
@media(max-width:760px){.shell{width:min(100% - 20px,1120px);padding-top:12px}.topbar{min-height:62px}.brand img{width:140px}.secure{font-size:11px}.hero{grid-template-columns:1fr;padding:38px 5px 24px}.steps{grid-template-columns:repeat(4,1fr)}.step span{display:none}.card{padding:20px;border-radius:20px}.grid-two{grid-template-columns:1fr}.wide{grid-column:auto}.card-head.split{display:block}.license{margin-top:15px;text-align:left}.court-count{margin-top:18px}.court-row{grid-template-columns:46px 1fr}.court-row select{grid-column:2}.actions{justify-content:stretch}.actions button{flex:1}.final-actions{flex-direction:column}.club-key-box{grid-template-columns:1fr}.result h2{font-size:29px}footer{display:block;line-height:1.8}}

/* IMMUTABLE MANAGEMENT V2 */
.identity-overview{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 24px}.identity-overview>div{display:grid;gap:6px;padding:15px;border:1px solid #cfe2e8;border-radius:15px;background:#f7fbfc}.identity-overview span,.member-kit span{font-size:9px;font-weight:900;letter-spacing:.1em;color:var(--accent)}.identity-overview strong{font-size:15px}.identity-overview code,.managed-identities code,.member-kit code{font-size:10px;color:#176e75;word-break:break-all}.section-note{margin:-4px 0 14px;color:var(--muted);font-size:12px;line-height:1.5}.court-row{grid-template-columns:52px minmax(260px,1fr) 190px auto;align-items:start}.managed-court-main{display:grid;gap:7px}.managed-identities{display:flex;gap:5px;flex-wrap:wrap}.managed-identities code{padding:4px 6px;border:1px solid #cde2e7;border-radius:7px;background:#fff}.managed-identities small{width:100%;color:var(--muted);font-size:9px;word-break:break-all}.copy-controller-url{justify-self:start;padding:7px 10px!important;background:#e9f4f6!important;color:#34586c!important;border:1px solid #cbdde4!important;font-size:9px}.member-hardware{display:grid;gap:9px}.hardware-empty{padding:15px;border:1px dashed #c9dce4;border-radius:14px;color:var(--muted);font-size:12px}.member-kit{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:12px;padding:15px;border:1px solid #d4e4e9;border-radius:15px;background:#f8fbfc}.member-kit>div{display:grid;gap:5px;min-width:0}.member-kit strong{font-size:12px}.member-kit small{font-size:9px;color:var(--muted);word-break:break-all}
@media(max-width:760px){.identity-overview,.member-kit{grid-template-columns:1fr}.court-row{grid-template-columns:46px 1fr}.court-row select{grid-column:2}}



/* =========================================================
   VOXCOURT PREMIUM SYSTEM — 2026-10
   Visual-only layer. No JS/HTML contracts changed.
========================================================= */
:root{
  --vc-bg:#06131b;--vc-bg-2:#0a1f2a;--vc-panel:#0d2633;--vc-panel-2:#123746;
  --vc-cyan:#1bc8ce;--vc-cyan-hi:#56e4df;--vc-teal:#0c848c;
  --vc-ice:#f5fbfc;--vc-ice-2:#eaf5f7;--vc-ink:#071c2b;--vc-muted:#607985;
  --vc-line:rgba(117,229,232,.18);--vc-glass:rgba(7,24,34,.78);
  --vc-shadow:0 18px 50px rgba(0,0,0,.24);--vc-shadow-soft:0 12px 34px rgba(0,0,0,.16);
  --vc-r1:10px;--vc-r2:14px;--vc-r3:18px;--vc-r4:24px;--vc-tap:44px;
}
*{box-sizing:border-box}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .16s ease,opacity .16s ease}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(27,200,206,.28);outline-offset:2px}

body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;background:radial-gradient(900px 520px at 88% -12%,rgba(27,200,206,.14),transparent 55%),linear-gradient(180deg,#071821,#06131b)!important;color:#eef9fa!important}
header,.topbar,.page-header,.site-header{border-bottom:1px solid var(--vc-line)!important;background:rgba(4,17,25,.9)!important;backdrop-filter:blur(18px)!important}
button,.btn,input,select,textarea{min-height:44px;border-radius:11px!important}
button,.btn{font-weight:800!important}
.card,.panel,.match-card,.admin-card,.member-card,.setup-card{border:1px solid var(--vc-line)!important;border-radius:18px!important;box-shadow:var(--vc-shadow-soft)!important}
input,select,textarea{border:1px solid #bdd6db!important;background:#f7fcfd!important;color:#071c2b!important}
a{color:var(--vc-cyan-hi)}

/* =========================================================
   VOXCOURT V17 — MEMBERS LIGHT SURFACE
   Header/menu intentionally untouched.
========================================================= */
html,
body{
  min-height:100%;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(27,200,206,.10), transparent 56%),
    linear-gradient(180deg,#dfe9ed 0%,#e7eff2 40%,#e2ebee 100%) !important;
  color:#10283b !important;
}

.shell{
  color:#10283b !important;
}

.hero{
  background:transparent !important;
}

.hero .eyebrow{
  color:#078b95 !important;
}

.hero h1{
  color:#10283b !important;
}

.hero h1 span{
  color:#0c9aa5 !important;
}

.hero p{
  color:#607985 !important;
}

/* Off-white content cards, not milk-white */
.card,
.step,
.summary-card,
.court-card{
  background:#f4f8f9 !important;
  color:#10283b !important;
}

.card h2,
.card h3,
.card-head h2,
.card-head h3{
  color:#10283b !important;
}

.card p,
.card-head p{
  color:#657d89 !important;
}

input,
select{
  background:#f8fbfc !important;
  color:#10283b !important;
}

footer,
.footer{
  color:#617985 !important;
}