:root{
  color-scheme:light;
  --ink:#141d46;
  --muted:#495673;
  --navy:#080746;
  --blue:#0046d4;
  --line:#d8e1f1;
  --surface:#f4f7fd;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--surface);
}
*{box-sizing:border-box}
body{margin:0}
[hidden]{display:none!important}
.header{
  min-height:58px;padding:8px max(16px,calc((100% - 940px)/2));
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:var(--navy);color:white;border-bottom:2px solid #e72439
}
.brand{font-size:.84rem;font-weight:720}
.gate{display:grid;place-items:start center;padding:clamp(28px,8vw,76px) 16px}
.panel{
  width:min(100%,530px);padding:clamp(19px,5vw,36px);
  border:1px solid var(--line);border-radius:23px;background:#fff;
  box-shadow:0 18px 44px rgba(17,40,97,.08)
}
.headline{
  display:flex;align-items:center;justify-content:space-between;gap:9px;
  padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)
}
.headline img{border-radius:12px;flex:none}
.kicker{font-size:.74rem;letter-spacing:.09em;text-transform:uppercase;font-weight:780;color:#1c479e;margin:0 0 6px}
h1{font-size:clamp(1.7rem,6vw,2.35rem);line-height:1.08;margin:0}
h2{font-size:1.28rem;margin:0}
p{line-height:1.55;color:var(--muted);margin:8px 0 16px}
form{display:grid;gap:8px}
label{font-size:.9rem;font-weight:700}
input,button{font:inherit;border-radius:9px;min-height:44px}
input{padding:10px 12px;border:1px solid #a5b2ca;color:var(--ink);width:100%;background:#fff}
button{border:1px solid transparent;background:var(--blue);color:white;font-weight:700;padding:8px 14px;cursor:pointer}
button:disabled{opacity:.65;cursor:wait}
button:focus-visible,input:focus-visible,iframe:focus-visible{outline:3px solid #e72439;outline-offset:3px}
form button{margin-top:5px}
.quiet{color:#1743ae;background:transparent;text-decoration:underline;text-underline-offset:3px;padding-inline:5px}
.header .quiet{color:white;text-decoration:none;border-color:#898bb6;padding-inline:10px}
.links{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.notice{margin:14px 0 0;font-size:.9rem}
.notice:empty{display:none}
.notice[data-error="true"]{color:#a02733}
.student-email{font-size:.85rem;overflow-wrap:anywhere}
#course iframe{display:block;width:100%;height:calc(100dvh - 58px);border:0;background:#fff}
