:root{color-scheme:dark;--ink:#003740;--copper:#b95118;--panel:#082a30;--line:#36575b;--text:#fff8f1;--muted:#c2d5d4;--accent:#f5b086;font-family:Poppins,system-ui,sans-serif;background:#061f23;color:var(--text)}
body{background:radial-gradient(ellipse at 80% 0%,#003740 0%,transparent 50%),#061f23;min-height:100vh}
header{background:#071f23;border-bottom:1px solid var(--line)}.top{max-width:1250px;padding:15px 28px}.brand-logo{width:145px;height:auto;background:#fff;border-radius:5px;padding:5px 8px}
main{max-width:1250px;padding-top:34px}.hero{isolation:isolate;overflow:hidden;position:relative;min-height:245px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(108deg,#082a30,#003740 65%,#154449);border:1px solid var(--line);border-radius:24px;padding:34px clamp(20px,5vw,58px)}.hero::before,.hero::after{content:"";position:absolute;z-index:-1;aspect-ratio:1;border-radius:50%;pointer-events:none}.hero::before{width:490px;right:-90px;top:-225px;border:1px solid #bc693d;background:radial-gradient(circle at 45% 78%,#003740 45%,#153f42 58%,#804722 75%,#b95118 100%);box-shadow:0 8px 60px #e77a4340}.hero::after{width:590px;right:-139px;top:-258px;border:1px solid #f5b08650}.hero h1{font-size:clamp(2rem,6vw,4.35rem);max-width:820px;overflow-wrap:anywhere;text-wrap:balance}.hero p:last-child{max-width:580px;color:var(--muted)}.eyebrow{color:var(--accent);letter-spacing:.13em}.tag{color:var(--muted)}
.card{background:var(--panel);border-color:var(--line);border-radius:18px;padding:22px}.grid .card{background:#0a343b}.card h2{font-size:1.32rem}.card p,.card label{overflow-wrap:anywhere}
input,select,textarea{background:#092128;color:var(--text);border-color:#507075;accent-color:var(--copper)}input::placeholder{color:#a9c4c5}button{background:#17474d;color:var(--text)}button.secondary{background:transparent;color:var(--text);border-color:#567378}button.accent,.choices input:checked+span{background:var(--copper);color:white;border-color:#ee9b69}button:hover:not(:disabled){filter:brightness(1.13)}:focus-visible,.choices input:focus-visible+span{outline-color:var(--accent)}
th{background:#12393e;color:#dcebea}th,td{border-color:var(--line)}.pill{background:#23454b;color:#e4f2f0}.pill.pass{background:#214738;color:#c2f2d9}.pill.fail{background:#552e28;color:#ffddd3}.dock{background:var(--panel);border-top:1px solid var(--line);box-shadow:none}.choices span{border-color:#617d81}
.rubric-row{background:#0a343b;padding:10px;border-radius:9px}.rubric-row label small{display:inline}.login{max-width:490px}.row .secondary{white-space:nowrap}
@media(max-width:640px){.top{padding:12px}.hero{min-height:180px;padding:19px}.hero::before{width:245px;right:-85px;top:-130px}.hero::after{width:300px;right:-110px;top:-155px}.card{padding:15px}.dock{box-shadow:none}}

/* Academy identity and practical scoring layout */
:root {
  background: #061c20;
  font-family: 'DM Sans', system-ui, sans-serif;
}
body {
  background: radial-gradient(ellipse at 80% 5%, #003740 0%, transparent 45%), #061c20;
}
h1, h2, h3 { font-family: Manrope, system-ui, sans-serif; }
header { background: #071d21; }
.brand-logo { width: 158px; padding: 6px 9px; }
.hero {
  min-height: 260px;
  background: linear-gradient(110deg, #09252a, #003740 74%, #103d43);
  border-radius: 28px;
}
.hero::before, .hero::after { content: none; }
.hero-content { position: relative; max-width: 660px; }
.hero h1 { margin: 10px 0 12px; text-wrap: initial; }
.hero p { color: var(--muted); }
.hero .eyebrow { color: var(--accent); font-size: .75rem; }
.eclipse {
  position: absolute;
  width: clamp(270px, 47vw, 590px);
  aspect-ratio: 1;
  top: -52%;
  right: -7%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #003740 32%, #0a2b30 68%, #ab501e 94%);
  border: 1px solid #c4774d;
  box-shadow: 0 10px 70px #b9511860, 0 0 0 34px #cc8a6030, 0 0 0 35px #e2a27c36;
  pointer-events: none;
}
.weighting { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.weighting div, .task {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #082a30;
  padding: 10px 14px;
}
.weighting strong { color: var(--accent); font-size: 1.3rem; }
.weighting span, .task small { color: var(--muted); }
.task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.task > span { color: #fff; background: var(--copper); padding: 7px 10px; border-radius: 8px; white-space: nowrap; font-weight: 700; }
.task strong, .task small { display: block; }
.rubric-row { grid-template-columns: minmax(0,1fr) minmax(0,2fr) auto; }
.criterion { padding: 17px 0; }
.choices span { height: 48px; background: #0a353d; }
.choices input:checked + span { background: var(--copper); }
.card .stack input, .stack textarea, #student { width: 100%; min-width: 0; }
#results th { vertical-align: top; }
@media(max-width:640px) {
  .hero { min-height: 210px; border-radius: 20px; }
  .eclipse { top: -105px; right: -160px; opacity: .55; }
  .task-grid, .rubric-row { grid-template-columns: 1fr; }
  .task { padding: 10px; }
  .dock { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .dock button { flex: 1 0 100%; }
}
