:root{color:var(--brand-secondary-dark);background:var(--brand-soft-background);font-synthesis:none;--brand-lavender:#cdb6dc;--brand-steel-blue:#7897ae;--brand-primary-dark:#7f6a8d;--brand-secondary-dark:#516c7d;--brand-soft-background:#f0e5e5;--brand-light-lavender:#ccbcd7;--brand-supporting-lilac:#ac91bf;--navy:var(--brand-secondary-dark);--teal:var(--brand-steel-blue);--teal-soft:var(--brand-soft-background);--purple:var(--brand-primary-dark);--lilac:var(--brand-light-lavender);--paper:#fff;--line:#516c7d33;--muted:var(--brand-secondary-dark);--danger:#a3343a;--success:#246b4e;font-family:Atkinson Hyperlegible,Arial,sans-serif}*{box-sizing:border-box}body{background:var(--brand-soft-background);min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}h1,h2{color:var(--navy);margin:0 0 .6rem;font-family:Lora,Georgia,serif;line-height:1.15}h1{font-size:clamp(2rem,4vw,3.5rem)}h2{font-size:clamp(1.4rem,2.4vw,2rem)}h3{margin:0 0 .35rem}p{line-height:1.55}.login-shell{grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr);min-height:100vh;display:grid}.login-visual{color:#fff;background:linear-gradient(145deg,#cdb6dc94,#516c7d8a),url(/assets/hero.webp) 50%/cover;flex-direction:column;justify-content:space-between;padding:clamp(2rem,5vw,5rem);display:flex}.login-visual h1{color:#fff;max-width:700px}.login-visual p{max-width:650px;font-size:1.15rem}.login-panel{place-items:center;padding:2rem;display:grid}.login-card{background:#fff;border-radius:28px;width:min(100%,480px);padding:clamp(1.7rem,4vw,3rem);box-shadow:0 24px 70px #17283d1f}.brand-logo{object-fit:contain;width:190px;height:auto}.brand-logo--light{filter:drop-shadow(0 4px 12px #00000026)}.hero-copy{padding-top:4rem}.eyebrow{letter-spacing:.13em;text-transform:uppercase;margin:0 0 .8rem;font-weight:700;font-size:.78rem!important}.eyebrow--teal{color:var(--teal)}.muted{color:var(--muted)}label{gap:.45rem;margin:1rem 0;font-weight:700;display:grid}input,textarea,select{border:1px solid var(--line);width:100%;color:var(--navy);background:#fff;border-radius:12px;padding:.85rem 1rem}textarea{resize:vertical;min-height:120px}input:focus,textarea:focus,select:focus,button:focus-visible{outline-offset:2px;outline:3px solid #126a7040}.button{border:0;border-radius:999px;padding:.72rem 1.15rem;font-weight:700;transition:transform .15s,box-shadow .15s}.button:hover{transform:translateY(-1px)}.button--primary{background:var(--brand-lavender);color:var(--brand-secondary-dark);box-shadow:0 8px 20px #cdb6dc59}.button--secondary{background:var(--brand-light-lavender);color:var(--brand-primary-dark)}.button--quiet{color:var(--navy);border:1px solid var(--line);background:0 0}.login-card .button--primary{width:100%;margin-top:.5rem}.demo-details{color:var(--muted);margin-top:1.2rem;font-size:.9rem}.app-shell{flex-direction:column;min-height:100vh;display:flex}.topbar{border-bottom:1px solid var(--line);z-index:10;background:#fff;justify-content:space-between;align-items:center;gap:1rem;min-height:88px;padding:1rem clamp(1rem,4vw,3.5rem);display:flex;position:sticky;top:0}.topbar-actions,.button-row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.role-badge{background:var(--brand-light-lavender);color:var(--brand-primary-dark);border-radius:999px;padding:.45rem .75rem;font-weight:700}.workspace{gap:1.5rem;width:min(1240px,100% - 2rem);margin:2rem auto 4rem;display:grid}.welcome-card{background:linear-gradient(135deg, var(--brand-lavender), var(--brand-secondary-dark));color:#fff;border-radius:28px;justify-content:space-between;align-items:center;gap:2rem;padding:clamp(1.5rem,4vw,3rem);display:flex}.welcome-card h1{color:#fff}.welcome-card--admin{background:linear-gradient(135deg, var(--brand-primary-dark), var(--brand-secondary-dark))}.progress-ring{aspect-ratio:1;text-align:center;border:10px solid #ffffff38;border-top-color:#fff;border-radius:50%;flex:none;place-content:center;width:130px;display:grid}.progress-ring strong{font-size:1.8rem}.progress-ring span{font-size:.85rem}.grid{gap:1.5rem;display:grid}.grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{background:var(--paper);border:1px solid #d8dde5cc;border-radius:24px;padding:clamp(1.25rem,3vw,2rem);box-shadow:0 12px 40px #17283d0f}.panel-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.exercise-list,.card-stack,.table-list{gap:1rem;margin-top:1.2rem;display:grid}.exercise-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:1rem;padding-top:1rem;display:flex}.exercise-row p,.exercise-card p{color:var(--muted);margin:0}.exercise-card{border:1px solid var(--line);border-radius:18px;grid-template-columns:110px 1fr;gap:1rem;padding:.75rem;display:grid;overflow:hidden}.exercise-card img{object-fit:cover;border-radius:12px;width:110px;height:95px}.exercise-card small{color:var(--purple);font-weight:700}.status{white-space:nowrap;border-radius:999px;padding:.45rem .7rem;font-weight:700}.status--done{color:var(--success);background:#e2f2e9}.notice{border-radius:14px;padding:.9rem 1rem;font-weight:700}.notice--success{color:var(--success);background:#e2f2e9}.notice--error{color:var(--danger);background:#f8e5e6}.empty{color:var(--muted);padding:1rem 0}.table-list>div{border-top:1px solid var(--line);justify-content:space-between;gap:1rem;padding:.75rem 0;display:flex}footer{text-align:center;color:var(--muted);margin-top:auto;padding:2rem}.loading-screen{min-height:100vh;color:var(--brand-secondary-dark);place-items:center;font-weight:700;display:grid}@media (width<=850px){.login-shell,.grid--two{grid-template-columns:1fr}.login-visual{min-height:45vh}.welcome-card{align-items:flex-start}}@media (width<=560px){.topbar{align-items:flex-start}.brand-logo{width:145px}.topbar-actions{justify-content:flex-end}.welcome-card,.panel-heading,.exercise-row{flex-direction:column}.progress-ring{width:100px}.exercise-card{grid-template-columns:1fr}.exercise-card img{width:100%;height:160px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}
