:root{color-scheme:dark;--bg:#09131e;--panel:#101e2d;--panel-raised:#152638;--line:#2b4252;--text:#f1f6f5;--muted:#a6b9c0;--mint:#83f5b4;--mint-ink:#092016;--warning:#ffcf70;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}body{margin:0;min-height:100vh;color:var(--text);background:radial-gradient(ellipse at 15% 0,#174238 0,transparent 34%),linear-gradient(160deg,#0a1521,#09111b 68%,#0c1820)}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}.portal-shell{width:min(1040px,calc(100% - 40px));margin:0 auto;padding:28px 0 22px}.portal-header{display:flex;align-items:center;justify-content:space-between;min-height:54px}.brand{display:inline-flex;align-items:center;gap:11px;color:var(--text);text-decoration:none}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:var(--mint-ink);background:var(--mint);font-size:13px;font-weight:950;letter-spacing:-.05em}.brand strong,.brand small{display:block}.brand strong{font-size:17px}.brand small{margin-top:2px;color:var(--muted);font-size:11px}.header-actions{display:flex;align-items:center;gap:12px}.account-name{color:var(--muted);font-size:13px}.quiet-button,.text-button{border:0;color:var(--mint);background:none;font-weight:800}.quiet-button{padding:9px 12px}.welcome-block{margin:clamp(40px,8vh,82px) 0 25px}.eyebrow{margin:0 0 9px;color:var(--mint);font-size:10px;font-weight:900;letter-spacing:.18em}.welcome-block h1{margin:0;font-size:clamp(29px,5vw,46px);letter-spacing:-.04em}.welcome-block>p:last-child{max-width:620px;margin:12px 0 0;color:var(--muted);font-size:15px;line-height:1.7}.auth-panel,.dashboard{padding:clamp(20px,4vw,34px);border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,#122233f5,#0e1a28f5);box-shadow:0 20px 55px #0004}.auth-panel{width:min(100%,480px)}.auth-heading,.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.auth-heading h2,.dashboard-heading h2{margin:0;font-size:21px}.auth-form{display:grid;gap:14px;margin-top:21px}.auth-form label{display:grid;gap:7px;color:#d8e5e5;font-size:12px;font-weight:800}.auth-form input{width:100%;min-height:46px;padding:11px 13px;border:1px solid var(--line);border-radius:11px;outline:0;color:var(--text);background:#0a1622}.auth-form input:focus{border-color:var(--mint);box-shadow:0 0 0 3px #83f5b422}.primary-button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:10px 16px;border:1px solid transparent;border-radius:11px;color:var(--mint-ink);background:var(--mint);font-weight:900;transition:filter .15s,transform .15s}.primary-button:hover{filter:brightness(1.06);transform:translateY(-1px)}.primary-button:disabled{cursor:wait;opacity:.65;transform:none}.primary-button.compact{min-height:40px;padding:8px 13px;font-size:13px}.auth-form .primary-button{margin-top:3px}.text-button{margin-top:11px;padding:8px 0}.message{min-height:20px;margin:9px 0 0;color:var(--warning);font-size:13px;line-height:1.5}.privacy-note{margin:19px 0 0;padding-top:14px;border-top:1px solid #263a48;color:var(--muted);font-size:11px;line-height:1.6}.invite-badge,.role-summary{padding:7px 10px;border:1px solid #38634e;border-radius:999px;color:var(--mint);background:#10251e;font-size:11px;font-weight:850}.dashboard{margin:25px 0 0}.dashboard-heading{margin-bottom:18px}.role-summary{white-space:nowrap}.access-summary{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.access-chip{padding:7px 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:11px}.access-chip.active{border-color:#38634e;color:var(--mint);background:#10251e}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.module-card{display:flex;flex-direction:column;min-height:174px;padding:18px;border:1px solid var(--line);border-radius:15px;background:#0c1925}.module-card.available{border-color:#315243;background:linear-gradient(140deg,#12241e,#10202a)}.module-card h3{margin:0;font-size:18px}.module-card p{margin:8px 0 17px;color:var(--muted);font-size:13px;line-height:1.6}.module-card .module-action{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;color:var(--mint);font-size:12px;font-weight:900;text-decoration:none}.module-card .module-action .arrow{font-size:18px}.module-card.locked{opacity:.8}.module-card.locked .module-action{color:var(--muted)}.coach-notice,.invite-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding:14px 16px;border:1px solid var(--line);border-radius:13px;background:#0d1a27}.invite-panel{border-color:#385e4d;background:#11261e}.invite-panel p{margin:4px 0 0;color:var(--muted);font-size:12px}.portal-footer{display:flex;justify-content:space-between;gap:14px;margin-top:33px;padding-top:14px;border-top:1px solid #21313e;color:#718791;font-size:10px}.portal-footer span:last-child{text-align:right}[hidden]{display:none!important}
@media(max-width:640px){.portal-shell{width:calc(100% - 24px);padding:14px 0 16px}.portal-header{min-height:46px}.brand-mark{width:38px;height:38px}.brand strong{font-size:15px}.account-name{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.quiet-button{padding:8px 4px;font-size:12px}.welcome-block{margin:43px 0 19px}.welcome-block>p:last-child{font-size:13px}.auth-panel,.dashboard{padding:19px;border-radius:16px}.auth-heading h2,.dashboard-heading h2{font-size:18px}.module-grid{grid-template-columns:1fr}.module-card{min-height:145px;padding:16px}.module-card p{margin-bottom:12px}.role-summary{font-size:10px}.invite-panel,.coach-notice{align-items:flex-start;flex-direction:column}.portal-footer{font-size:9px}}
