*{box-sizing:border-box}:root{color:#101828;background:#f4f7fb;font-family:Inter,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--primary: #4f46e5;--muted: #667085;--border: #e4e7ec}html,body,#root{min-height:100%;margin:0}body{min-height:100vh;background:linear-gradient(180deg,#eef4ff,#f7f8fd)}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;border-radius:12px;padding:.85rem 1.1rem}input,textarea,select{width:100%;border:1px solid var(--border);border-radius:12px;padding:.85rem 1rem}.topbar,.hero,.auth-shell,.dashboard-shell,.study-shell{max-width:1200px;margin:0 auto}.topbar,.panel-header,.card-header-row,.study-topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem}.topbar{padding:1.2rem 2rem}.brand{color:#3b37c7;font-size:1.6rem;font-weight:800;letter-spacing:-.06em}.hero{display:grid;grid-template-columns:1.3fr .7fr;gap:2rem;align-items:center;padding:4rem 2rem 2rem;min-height:calc(100vh - 90px)}.hero-copy h1{font-size:clamp(2.8rem,5vw,5rem);line-height:1.05;letter-spacing:-.07em}.hero-copy p{max-width:640px;color:var(--muted);font-size:1.15rem;line-height:1.7}.eyebrow,.tag{display:inline-flex;padding:.35rem .7rem;border-radius:999px;background:#dbeafe;color:var(--primary);font-size:.78rem;font-weight:700}.cta-row,.study-actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.5rem}.primary-button{background:var(--primary);color:#fff;font-weight:700}.secondary-button,.ghost-button,.nav-button{background:#fff;border:1px solid var(--border);color:#101828}.success-button{background:#16a34a;color:#fff}.warning-button{background:#f59e0b;color:#fff}.hero-card{display:grid;gap:1rem}.mini-card,.score-card,.stat-card,.panel-card,.auth-card,.study-card{padding:1.4rem;border:1px solid var(--border);border-radius:22px;background:#ffffffeb;box-shadow:0 12px 30px #11182714}.mini-card strong,.score-card strong,.stat-card strong{display:block;margin-top:.5rem;font-size:1.7rem}.auth-shell,.study-shell{display:grid;place-items:center;min-height:100vh;padding:2rem}.auth-card{width:min(100%,480px)}.auth-form,.stack-form,.card-form{display:flex;flex-direction:column;gap:1rem}label{display:flex;flex-direction:column;gap:.5rem;font-weight:600}.full-width{width:100%}.dashboard-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh;padding:2rem;gap:2rem}.sidebar{padding:1.5rem;border:1px solid var(--border);border-radius:24px;background:#ffffffb3}.profile-card{display:flex;align-items:center;gap:.8rem;margin:1.5rem 0}.profile-card span,.profile-card strong{display:block}.avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--primary);color:#fff;font-weight:700}.sidebar-nav,.main-panel{display:flex;flex-direction:column;gap:1rem}.nav-button{text-align:left}.nav-button.active{background:var(--primary);color:#fff}.main-panel{gap:1.5rem}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.deck-summary{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border)}.deck-summary h4{margin:.5rem 0;font-size:1.6rem}.study-card{width:min(100%,760px)}.flashcard{display:grid;gap:1rem;margin:1.5rem 0}.flashcard-face{padding:1.6rem;border:1px solid var(--border);border-radius:20px;background:#eef2ff}.flashcard-face span{display:block;margin-bottom:.8rem;color:var(--muted);font-size:.8rem;font-weight:700;text-transform:uppercase}.flashcard-face h3{margin:0;font-size:clamp(1.5rem,4vw,2.4rem);line-height:1.3}.flashcard-face.answer{background:#ecfdf5}.counter{color:var(--muted)}.empty-state{min-height:100vh;display:grid;place-items:center;color:var(--muted)}@media (max-width: 900px){.hero,.content-grid,.dashboard-shell,.stats-grid{grid-template-columns:1fr}.dashboard-shell,.sidebar{padding:1rem}}
