.profile-info { display:flex; flex-direction:column; gap:2px; }
.profile-info .profile-name { font-size:.85rem; font-weight:700; }
.profile-info .profile-role { font-size:.7rem; color:var(--text-secondary); }
.portal-welcome { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:26px; }
.portal-eyebrow { color:var(--warning); font-size:.73rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; margin-bottom:8px; }
.portal-welcome h1 { font-size:clamp(1.8rem,3vw,2.6rem); line-height:1.15; letter-spacing:-.04em; }
.portal-welcome p { color:var(--text-secondary); margin-top:9px; }
.portal-date { color:var(--text-secondary); font-size:.85rem; white-space:nowrap; }
.portal-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-bottom:28px; }
.portal-choice { position:relative; overflow:hidden; display:flex; flex-direction:column; align-items:flex-start; text-align:left; font:inherit; color:var(--text-primary); border:1px solid var(--border-color-hover); border-radius:20px; padding:28px; min-height:228px; cursor:pointer; background:linear-gradient(120deg,var(--primary-glow),var(--bg-surface-opaque) 80%); transition:transform .2s,border-color .2s; }
.portal-choice.it-choice { background:linear-gradient(120deg,rgba(59,130,246,.13),var(--bg-surface-opaque) 80%); }
.portal-choice:hover { transform:translateY(-3px); border-color:var(--primary); }
.portal-choice.it-choice:hover { border-color:#60a5fa; }
.portal-choice:focus-visible { outline:3px solid var(--warning); outline-offset:4px; }
.portal-choice-top { display:flex; justify-content:space-between; align-items:center; width:100%; margin-bottom:22px; }
.portal-choice-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; color:var(--primary); background:var(--primary-glow); font-size:1.25rem; }
.it-choice .portal-choice-icon { color:#60a5fa; background:rgba(59,130,246,.13); }
.portal-label { font-size:.72rem; border:1px solid var(--border-color-hover); border-radius:20px; padding:4px 10px; color:var(--text-secondary); }
.portal-choice h2 { font-size:1.45rem; letter-spacing:-.03em; margin-bottom:8px; }
.portal-choice p { color:var(--text-secondary); font-size:.9rem; max-width:410px; line-height:1.6; }
.portal-enter { display:flex; align-items:center; gap:10px; color:var(--primary); font-size:.85rem; font-weight:700; margin-top:22px; }
.it-choice .portal-enter { color:#60a5fa; }
.home-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:28px; }
.home-stat { padding:20px; border:1px solid var(--border-color); border-radius:14px; background:var(--bg-surface); }
.home-stat-label { font-size:.82rem; color:var(--text-secondary); display:flex; gap:8px; align-items:center; }
.home-stat strong { display:block; font-size:2rem; letter-spacing:-.05em; margin:8px 0 2px; }
.home-stat small { color:var(--text-muted); font-size:.76rem; }
.home-columns { display:grid; grid-template-columns:1.2fr 1fr; gap:20px; align-items:start; }
.home-panel { background:var(--bg-surface); border:1px solid var(--border-color); border-radius:18px; padding:24px; }
.home-panel-header { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:20px; }
.home-panel h2 { font-size:1.12rem; letter-spacing:-.02em; }
.home-panel-desc { color:var(--text-secondary); font-size:.82rem; margin-top:4px; }
.home-empty { border:1px dashed var(--border-color-hover); border-radius:12px; padding:28px 18px; text-align:center; color:var(--text-secondary); }
.home-empty strong { display:block; color:var(--text-primary); margin-bottom:5px; font-size:.95rem; }
.home-empty p { font-size:.83rem; }
.home-record { padding:17px 0; border-top:1px solid var(--border-color); }
.home-record:first-child { padding-top:0; border-top:0; }
.home-record-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; }
.home-record h3 { font-size:.97rem; overflow-wrap:anywhere; }
.home-record p { margin:8px 0 10px; color:var(--text-secondary); font-size:.86rem; white-space:pre-wrap; overflow-wrap:anywhere; }
.home-record small { color:var(--text-muted); font-size:.74rem; }
.home-remove { font:inherit; background:none; border:0; color:var(--text-muted); cursor:pointer; padding:2px 5px; font-size:.78rem; }
.home-remove:hover { color:var(--danger); }
.home-form { display:grid; gap:12px; margin-top:20px; padding-top:20px; border-top:1px solid var(--border-color); }
.home-form label { display:grid; gap:6px; font-size:.8rem; color:var(--text-secondary); }
.home-form input,.home-form textarea { width:100%; padding:11px 12px; background:var(--bg-main); color:var(--text-primary); font:inherit; border:1px solid var(--border-color-hover); border-radius:8px; }
.home-form textarea { resize:vertical; min-height:86px; }
.home-form .btn { justify-self:start; }
.home-form-note { font-size:.75rem; color:var(--text-muted); }
.home-next-match { margin-top:20px; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.home-next-match strong { display:block; font-size:.97rem; margin:6px 0; }
.home-next-match p { color:var(--text-secondary); font-size:.83rem; }
.it-intro { border:1px solid var(--border-color); border-radius:20px; padding:40px; background:linear-gradient(130deg,rgba(59,130,246,.1),var(--bg-surface)); margin-top:24px; }
.it-intro h2 { margin:20px 0 10px; font-size:1.55rem; }
.it-intro p { max-width:580px; color:var(--text-secondary); line-height:1.8; }
.it-intro .btn { margin-top:24px; }
[data-theme="light"] .portal-choice { background:linear-gradient(120deg,#fff0ed,#fff); }
[data-theme="light"] .portal-choice.it-choice { background:linear-gradient(120deg,#edf4ff,#fff); }
@media(max-width:900px) { .home-columns { grid-template-columns:1fr; } .home-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .portal-options { grid-template-columns:1fr; gap:14px; } .portal-choice { min-height:200px; padding:22px; } .portal-welcome { align-items:flex-start; flex-direction:column; gap:12px; } .home-panel { padding:20px; } .home-next-match { align-items:flex-start; flex-direction:column; } .it-intro { padding:25px; } .home-stat { padding:16px; } }
