:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#34434f;background:#f4f5f7;--accent:#900445;--tint:#f7eaf0;--border:#dfe4e8;--muted:#546571}
*{box-sizing:border-box}
body{margin:0}
[hidden]{display:none!important}
a{color:var(--accent)}
button,.button,input,select{font:inherit}
button,.button{display:inline-block;border:1px solid #cbd2d8;border-radius:8px;background:#fff;color:#34434f;padding:.55rem .8rem;font-weight:600;text-decoration:none;cursor:pointer}
button:hover,.button:hover{background:var(--tint)}
button:disabled{opacity:.55;cursor:wait}
.primary,.primary:hover{background:var(--accent);border-color:var(--accent);color:white}
:focus-visible{outline:3px solid #bd5d88;outline-offset:3px}
.masthead{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem clamp(1rem,4vw,3rem);background:white;border-bottom:1px solid var(--border)}
.masthead>div{display:flex;align-items:baseline;gap:1rem;flex-wrap:wrap}
.wordmark{font-size:1.35rem;font-weight:750;color:var(--accent);text-decoration:none}
#account,.muted{color:var(--muted);font-size:.88rem}
.overview{max-width:1280px;margin:auto;padding:clamp(1rem,4vw,3rem)}
.card{background:white;border:1px solid var(--border);border-radius:13px;padding:clamp(1rem,3vw,1.7rem);min-width:0}
.login{max-width:620px;margin:3rem auto}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(1.55rem,4vw,2.1rem);margin-bottom:.45rem;overflow-wrap:anywhere}
h2{font-size:1.15rem;margin-bottom:.75rem}
h3{font-size:.9rem;margin:.9rem 0 .4rem}
#workspace{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:1rem;align-items:start}
.directory label{display:block;margin-bottom:.35rem;color:var(--muted);font-size:.85rem}
.directory input{width:100%;padding:.55rem;border:1px solid #cbd2d8;border-radius:7px}
.school{margin-top:1.2rem}
.group-list,.plan-list{list-style:none;margin:0;padding:0}
.group-link{display:block;padding:.45rem .55rem;border-radius:6px;text-decoration:none;color:inherit;overflow-wrap:anywhere}
.group-link:hover,.group-link[aria-current]{background:var(--tint);color:var(--accent)}
.plan-list{border-top:1px solid var(--border);margin-bottom:1.25rem}
.plan-list li{border-bottom:1px solid var(--border);padding:.7rem 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.4rem}
.plan-list a{font-weight:700;overflow-wrap:anywhere}
.plan-title{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-bottom:1.25rem}
.plan-title p{margin-bottom:0}
.notice{padding:.65rem .8rem;border-radius:7px;background:var(--tint);margin-bottom:.85rem;color:#6a2550}
@media(max-width:680px){#workspace{grid-template-columns:1fr}.directory{max-height:40vh;overflow:auto}.login{margin-top:1rem}}
