:root { --pa-ink:#172234; --pa-muted:#667085; --pa-line:#d8e0e8; --pa-blue:#075baa; --pa-red:#e71920; --pa-soft:#f3f6f9; --pa-green:#087a55; }
.participant-auth-overlay { position:fixed; inset:0; z-index:10000; display:grid; place-items:center; padding:18px; background:rgba(12,22,36,.68); overflow-y:auto; }
.participant-auth-overlay[hidden] { display:none!important; }
.participant-auth-card { position:relative; width:min(470px,100%); padding:27px; color:var(--pa-ink); background:#fff; border-radius:8px; border-top:4px solid var(--pa-red); box-shadow:0 25px 80px rgba(0,0,0,.25); font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
.participant-auth-close { position:absolute; top:13px; right:13px; width:36px; height:36px; border:1px solid var(--pa-line); border-radius:50%; color:var(--pa-muted); background:#fff; font-size:24px; line-height:1; cursor:pointer; }
.participant-auth-brand { display:flex; align-items:center; gap:12px; padding-right:35px; }
.participant-auth-brand img { width:64px; height:64px; object-fit:contain; }
.participant-auth-brand span { color:var(--pa-blue); font-size:11px; font-weight:800; }
.participant-auth-brand h2 { margin:3px 0 0; font-size:22px; letter-spacing:0; }
.participant-auth-copy { margin:18px 0; color:var(--pa-muted); line-height:1.55; }
.participant-auth-card form { display:grid; gap:13px; }
.participant-auth-card label { display:grid; gap:6px; color:#344054; font-size:13px; font-weight:750; }
.participant-auth-card label small { color:var(--pa-muted); font-size:11px; font-weight:500; }
.participant-auth-card .participant-remember,.account-login .participant-remember { display:flex; align-items:center; gap:9px; font-weight:650; }
.participant-auth-card .participant-remember input,.account-login .participant-remember input { width:18px; height:18px; min-height:0; margin:0; accent-color:var(--pa-blue); }
.participant-auth-card input { width:100%; min-height:45px; padding:10px 12px; border:1px solid #aeb9c7; border-radius:6px; color:var(--pa-ink); background:#fff; font:inherit; outline:none; }
.participant-auth-card input:focus { border-color:var(--pa-blue); box-shadow:0 0 0 3px rgba(7,91,170,.12); }
.participant-password-control { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:stretch; }
.participant-password-control input { min-width:0; border-radius:6px 0 0 6px!important; }
.participant-password-toggle { min-width:72px; padding:0 10px; color:var(--pa-blue); background:#f5f8fb; border:1px solid #aeb9c7; border-left:0; border-radius:0 6px 6px 0; font-size:12px; font-weight:800; cursor:pointer; }
.participant-gate-note { margin:0 0 16px; padding:14px 16px; display:flex; align-items:center; justify-content:space-between; gap:14px; grid-column:1/-1; color:var(--pa-ink); background:#eef6ff; border:1px solid #b8d5ef; border-left:4px solid var(--pa-blue); border-radius:6px; font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
.participant-gate-note strong,.participant-gate-note span { display:block; }
.participant-gate-note span { margin-top:3px; color:#536273; font-size:12px; line-height:1.45; }
.participant-gate-note button { flex:0 0 auto; min-height:39px; padding:8px 12px; color:#fff; background:var(--pa-blue); border:0; border-radius:5px; font-weight:800; cursor:pointer; }
.participant-auth-primary { min-height:44px; padding:10px 14px; color:#fff; background:var(--pa-blue); border:0; border-radius:6px; font-weight:800; cursor:pointer; }
.participant-auth-primary:disabled { opacity:.65; cursor:wait; }
.participant-auth-switch { width:100%; margin-top:8px; padding:9px; color:var(--pa-blue); background:transparent; border:0; font-weight:750; cursor:pointer; }
.participant-auth-status { min-height:20px; margin:8px 0 0; color:var(--pa-green); font-size:12px; line-height:1.45; }
.participant-auth-status.error { color:#b42318; }

.account-page { min-height:100vh; margin:0; color:var(--pa-ink); background:#edf2f6; font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
.account-page * { box-sizing:border-box; }
.account-page [hidden] { display:none!important; }
.account-header { min-height:70px; padding:10px clamp(16px,4vw,48px); display:flex; align-items:center; justify-content:space-between; gap:16px; background:#fff; border-bottom:1px solid var(--pa-line); }
.account-brand { display:flex; align-items:center; gap:11px; color:inherit; text-decoration:none; }
.account-brand img { width:48px; height:48px; object-fit:contain; }
.account-brand span { color:var(--pa-blue); font-size:11px; font-weight:800; }
.account-brand strong { display:block; margin-top:2px; }
.account-header nav { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.account-header a.account-link,.account-header button { min-height:39px; padding:9px 13px; border:1px solid #acbac8; border-radius:6px; color:var(--pa-blue); background:#fff; font-weight:750; text-decoration:none; cursor:pointer; }
.account-main { width:min(1180px,calc(100% - 32px)); margin:0 auto; padding:34px 0 50px; }
.account-loading { width:min(470px,100%); min-height:210px; margin:4vh auto; padding:30px; display:grid; place-items:center; align-content:center; gap:10px; text-align:center; background:#fff; border:1px solid var(--pa-line); border-top:4px solid var(--pa-blue); border-radius:8px; box-shadow:0 18px 55px rgba(20,32,48,.1); }
.account-loading small { color:var(--pa-muted); }
.account-loading-spinner { width:34px; height:34px; border:3px solid #dce7f0; border-top-color:var(--pa-blue); border-radius:50%; animation:account-spin .75s linear infinite; }
@keyframes account-spin { to { transform:rotate(360deg); } }
.account-login { width:min(470px,100%); margin:4vh auto; padding:30px; background:#fff; border:1px solid var(--pa-line); border-top:4px solid var(--pa-red); border-radius:8px; box-shadow:0 18px 55px rgba(20,32,48,.1); }
.account-login h1 { margin:0 0 8px; font-size:27px; }
.account-login>p { margin:0 0 22px; color:var(--pa-muted); line-height:1.55; }
.account-login form { display:grid; gap:14px; }
.account-login label { display:grid; gap:6px; color:#344054; font-size:13px; font-weight:750; }
.account-login input { min-height:46px; padding:10px 12px; border:1px solid #adb8c5; border-radius:6px; font:inherit; }
.account-login .participant-password-control input { width:100%; }
.account-form-links { display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.account-form-links button { padding:7px 0; color:var(--pa-blue); background:transparent; border:0; font-weight:700; cursor:pointer; }
.account-status { min-height:20px; margin:12px 0 0; color:var(--pa-muted); font-size:13px; }
.account-status.error { color:#b42318; }
.account-heading { display:flex; justify-content:space-between; align-items:end; gap:18px; margin-bottom:22px; }
.account-heading p { margin:0 0 5px; color:var(--pa-blue); font-size:12px; font-weight:800; }
.account-heading h1 { margin:0; font-size:clamp(26px,4vw,36px); }
.account-heading span { color:var(--pa-muted); font-size:13px; }
.account-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin-bottom:20px; }
.account-summary article { min-height:106px; padding:17px; display:grid; align-content:space-between; background:#fff; border:1px solid var(--pa-line); border-radius:7px; }
.account-summary article:nth-child(1){border-top:3px solid var(--pa-blue)} .account-summary article:nth-child(2){border-top:3px solid var(--pa-red)} .account-summary article:nth-child(3){border-top:3px solid var(--pa-green)} .account-summary article:nth-child(4){border-top:3px solid #f0a000}
.account-summary span,.account-summary small { color:var(--pa-muted); }
.account-summary strong { margin:6px 0; font-size:25px; }
.account-panel { overflow:hidden; background:#fff; border:1px solid var(--pa-line); border-radius:7px; }
.account-tabs { display:flex; overflow-x:auto; border-bottom:1px solid var(--pa-line); }
.account-tabs button { min-height:52px; padding:0 17px; white-space:nowrap; color:var(--pa-muted); background:#fff; border:0; border-bottom:3px solid transparent; font-weight:750; cursor:pointer; }
.account-tabs button.active { color:var(--pa-blue); border-bottom-color:var(--pa-blue); }
.account-list { display:grid; }
.account-item { padding:18px; display:grid; grid-template-columns:minmax(180px,1.4fr) minmax(140px,1fr) minmax(120px,.8fr); gap:16px; align-items:center; border-bottom:1px solid #ebeff3; }
.account-item:last-child { border-bottom:0; }
.account-item strong,.account-item span,.account-item small { display:block; }
.account-item small { margin-top:4px; color:var(--pa-muted); }
.account-pill { width:max-content; padding:4px 8px; color:#06613f; background:#dff6eb; border-radius:4px; font-size:11px; font-weight:800; }
.account-empty { padding:48px 20px; text-align:center; color:var(--pa-muted); }
.account-empty strong { display:block; margin-bottom:7px; color:var(--pa-ink); font-size:18px; }
@media(max-width:760px){.account-summary{grid-template-columns:1fr 1fr}.account-item{grid-template-columns:1fr;gap:8px}.account-heading{align-items:start;flex-direction:column}.account-header{padding:9px 12px}.account-brand span{display:none}.account-header a.account-link{display:none}.account-header button{padding:7px 9px;font-size:11px}}
@media(max-width:480px){.participant-auth-card,.account-login{padding:22px 18px}.participant-auth-brand img{width:54px;height:54px}.participant-auth-brand h2{font-size:19px}.account-main{width:min(100% - 22px,1180px);padding-top:22px}.account-summary{gap:8px}.account-summary article{min-height:96px;padding:12px}.account-summary strong{font-size:20px}.participant-gate-note{align-items:stretch;flex-direction:column}.participant-gate-note button{width:100%}}
