:root{--guindo:#641c36;--dark:#341120;--gold:#ffd554;--white:#fff;--line:#e4d5db;--paper:#fff9f5}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--paper);color:var(--dark);font:1rem/1.5 system-ui,sans-serif}.wrap{width:min(100% - 2rem,70rem);margin:auto}header{background:var(--guindo);color:white;border-bottom:5px solid var(--gold)}.top,.brand,.actions{display:flex;align-items:center;gap:1rem}.top,.split{justify-content:space-between}.top{min-height:5rem}.brand img{width:3.8rem;height:3.8rem;object-fit:contain;background:white;border-radius:.4rem}.brand strong,.brand span{display:block}.brand strong{font-size:1.5rem}.brand span{font-size:.92rem}.wrap main,main.wrap{padding:2rem 0 4rem}.hero{display:grid;grid-template-columns:1fr 1fr;background:var(--guindo);color:white;border-radius:1rem;overflow:hidden;min-height:19rem}.hero .hero-copy{padding:clamp(1.5rem,5vw,4rem)}.hero #studentPhoto{width:100%;height:100%;min-height:15rem;object-fit:cover}.eyebrow{color:var(--gold);font-weight:750}.hero h1{font:clamp(3rem,7vw,5rem)/.95 Georgia,serif}.hero:has(#studentPhoto[hidden]){grid-template-columns:1fr}h1,h2,h3{line-height:1.15;margin:0 0 .8rem}.card,article{background:white;border:1px solid var(--line);border-radius:.8rem;padding:1.25rem;margin:1rem 0}.access{max-width:37rem;margin:1.5rem auto}.actions{flex-wrap:wrap;margin-bottom:1rem}.top .actions{margin:0}button,input,select{font:inherit;padding:.55rem .8rem;border-radius:.5rem}button{background:var(--gold);color:var(--dark);border:1px solid transparent;cursor:pointer;font-weight:750}button.light,button[aria-pressed=false]{background:white;color:var(--guindo);border-color:var(--line)}button:disabled{opacity:.55;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b07600;outline-offset:3px}label{display:grid;gap:.25rem;font-weight:650}input,select{min-width:0;width:100%;background:white;color:inherit;border:1px solid #967788}form,.grid{display:grid;gap:.9rem}.grid,#results{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));align-items:end}#results{display:grid;align-items:stretch;gap:.8rem}article{margin:0;overflow-wrap:anywhere}article .actions{margin:0;gap:.5rem}summary{font-weight:750;cursor:pointer}details form{margin-top:1rem}.table{overflow:auto}table{width:100%;border-collapse:collapse;margin-top:1rem;text-align:left}td,th{border-bottom:1px solid var(--line);padding:.5rem}#status:not(:empty){background:#fff0bd;border-radius:.5rem;padding:.65rem}dialog{width:min(96vw,60rem);max-height:93vh;border:1px solid var(--line);border-radius:.8rem;color:var(--dark)}dialog::backdrop{background:#341120ba}canvas{display:block;max-width:100%;height:auto;margin:auto}#activate{max-width:36rem;margin:auto}@media(max-width:665px){.hero{grid-template-columns:1fr}.hero #studentPhoto{max-height:16rem}}

.hero-heading{display:flex;align-items:center;gap:clamp(.65rem,2vw,1.25rem)}.hero-heading img{width:clamp(4.1rem,8vw,6.1rem);height:auto;object-fit:contain;flex:none;border-radius:.6rem}.hero-heading h1{font-size:clamp(2.5rem,5.5vw,5rem);margin:0}

#registerPanel{border-top:1px solid var(--line);margin-top:1.25rem;padding-top:1rem}#registrationMessage{overflow-wrap:anywhere}label small{font-weight:400}

.hero .hero-copy{background:#fff2d4;color:var(--dark);padding:clamp(1.35rem,3vw,2.75rem)}
.hero .eyebrow{color:var(--guindo)}
.hero-heading img{width:clamp(6rem,13vw,11rem);border-radius:0;mix-blend-mode:multiply}
.hero-heading h1{font-size:clamp(2.25rem,4.7vw,4.4rem);overflow-wrap:normal}
body:has(#welcome:not([hidden])) .brand img{display:none}
.brand img{background:#fff2d4}
@media(max-width:385px){.hero-heading{align-items:flex-start;flex-direction:column}}

.hero #studentPhoto{display:block;aspect-ratio:4/3;height:auto;min-height:0;max-height:none;object-fit:cover;object-position:center bottom;align-self:center}
.hero .hero-tagline{font-weight:750;color:var(--guindo);margin-bottom:.35rem}
.hero .hero-tagline+p{margin-top:.35rem}
@media(min-width:666px){.hero{background:#fff2d4}}
