@font-face {
  font-family:Rubik;
  src:url(rubik-regular.woff) format("woff");
  font-weight:400 599;
  font-display:swap;
}

@font-face {
  font-family:Rubik;
  src:url(rubik-bold.woff) format("woff");
  font-weight:600 900;
  font-display:swap;
}

:root {
  --ink:#172e30;
  --muted:#536b6b;
  --teal:#007969;
  --border:#d5e2dd;
  --pine:#063e3e;
  --page:#f5f8f4;
  --lime:#d2fa65;
  --paper:#fff;
  --shadow:0 5px 16px #173e3807;
}

* {
  box-sizing:border-box;
}

html {
  font-size:16px;
  scroll-behavior:auto;
}

html.large {
  font-size:19px;
}

body {
  margin:0;
  color:var(--ink);
  background:var(--page);
  font-family:Rubik,"Trebuchet MS",Arial,sans-serif;
  font-size:1.04rem;
  line-height:1.55;
}

img {
  max-width:100%;
}

a {
  color:var(--teal);
  text-underline-offset:4px;
}

button,input,textarea,select {
  font:inherit;
}

button,summary,.button {
  cursor:pointer;
}

a,button,input,textarea,select,summary {
  touch-action:manipulation;
}

button:disabled {
  cursor:default;
  opacity:.55;
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,select:focus-visible,.import:focus-within {
  outline:3px solid #c5550c;
  outline-offset:3px;
}

.ico {
  flex:none;
  vertical-align:middle;
}

p {
  margin:.55em 0 1em;
}

h1,h2,h3 {
  line-height:1.14;
  letter-spacing:-.04em;
  margin:.2em 0 .45em;
  text-wrap:balance;
}

h1 {
  font-size:clamp(2.25rem,4vw,3.55rem);
}

h2 {
  font-size:clamp(1.65rem,2.5vw,2.25rem);
}

h3 {
  font-size:1.32rem;
}

.wrap {
  width:min(1240px,calc(100% - clamp(2rem,8vw,8rem)));
  margin-inline:auto;
}

.main {
  padding-block:1.55rem 3.3rem;
  min-height:66vh;
}

.main:focus {
  outline:none;
}

.skip {
  position:fixed;
  top:-100px;
  left:1em;
  z-index:50;
  background:white;
  padding:.7em;
}

.skip:focus {
  top:8px;
}

.mast {
  background:#fff;
  border-bottom:1px solid var(--border);
}

.top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.8rem;
  min-height:78px;
}

.brand {
  display:flex;
  align-items:center;
  gap:.6rem;
  line-height:1;
  text-decoration:none;
  color:#153633;
  font-weight:700;
  font-size:1.34rem;
  letter-spacing:-.055em;
  white-space:nowrap;
}

.brand em {
  font-size:.67rem;
  font-style:normal;
  letter-spacing:.045em;
  background:#ddf3e9;
  color:#076359;
  padding:.32rem .43rem;
  border-radius:.35rem;
  vertical-align:middle;
  margin-left:.15rem;
}

.brandmark {
  position:relative;
  color:white;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:13px 13px 13px 3px;
  background:#087b6d;
}

.brandmark:after {
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--lime);
  position:absolute;
  top:5px;
  right:4px;
}

.nav {
  display:flex;
  gap:.2rem;
  align-items:center;
}

.nav a,.footlinks a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  text-decoration:none;
  color:#435957;
  font-size:.98rem;
  font-weight:500;
  padding:.45rem .9rem;
  border-radius:100px;
}

.nav a[aria-current=page] {
  background:#e1f4e9;
  color:#066756;
  font-weight:700;
}

.nav a:hover,.footlinks a:hover {
  background:#f0f5ef;
}

.mast-actions {
  display:flex;
  gap:6px;
}

.typebtn,.menu-toggle {
  height:44px;
  min-width:44px;
  background:#f7f9f5;
  border:1px solid var(--border);
  border-radius:12px;
  color:var(--ink);
  font-weight:700;
}

.typebtn span {
  font-size:.82em;
}

.menu-toggle {
  display:none;
}

.hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:radial-gradient(ellipse at 54% 56%,#0a6556 0%,transparent 40%),linear-gradient(111deg,#113b3d,#074b45 73%,#07433d);
  border-radius:23px;
  display:grid;
  grid-template-columns:37% 34% 29%;
  color:white;
  padding:clamp(1.6rem,3.2vw,3rem);
  min-height:337px;
  align-items:center;
}

.hero:before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background-image:radial-gradient(#b5f4ce25 .85px,transparent .9px);
  background-size:14px 14px;
  mask-image:linear-gradient(95deg,transparent 12%,black 39%,black 72%,transparent 94%);
}

.hero h1 {
  font-size:clamp(2.5rem,4.12vw,3.85rem);
  line-height:.99;
  letter-spacing:-.065em;
  margin:1rem 0 .9rem;
}

.hero h1 span {
  color:#c7fb7b;
}

.hero-copy {
  position:relative;
  z-index:2;
}

.hero-copy p {
  color:#e2efeb;
  max-width:38ch;
  line-height:1.48;
  font-size:1.04rem;
  margin:0 0 1.4rem;
}

.eyeline,.kicker,.modtag,.cardmeta,.hero-facts small {
  letter-spacing:.09em;
  font-weight:700;
}

.eyeline,.kicker,.modtag {
  text-transform:uppercase;
}

.eyeline {
  font-size:.69rem;
  display:flex;
  gap:.54rem;
  align-items:center;
  color:#d4eee5;
}

.statusdot {
  width:8px;
  height:8px;
  background:#b8ee7a;
  border-radius:100%;
  box-shadow:0 0 0 4px #b8ee7a1b;
}

.button,.subbtn,.textlink,.crumb,.link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  text-decoration:none;
  font-weight:700;
  min-height:46px;
}

.button {
  border-radius:12px;
  padding:.64rem 1.1rem;
  border:1px solid transparent;
  font-size:1rem;
  line-height:1.3;
}

.lime {
  background:var(--lime);
  color:#183b2e;
  box-shadow:0 3px 0 #174b37;
}

.lime:hover {
  background:#e2ff93;
}

.lime .ico:last-child {
  margin-left:.35rem;
}

.primary {
  background:#087766;
  color:white;
}

.primary:hover {
  background:#025e53;
}

.secondary {
  background:#fff;
  color:#006e60;
  border-color:#c7ddd4;
}

.secondary:hover,.subbtn:hover {
  background:#edf6ef;
}

.textlink,.crumb,.subbtn,.link {
  color:#006e60;
}

.textlink,.subbtn,.crumb,.link {
  background:none;
  border:0;
  padding:.35rem .15rem;
}

.subbtn,.link {
  font-size:.98rem;
  text-decoration:underline;
  text-underline-offset:3px;
}

.actions,.chiprow {
  display:flex;
  gap:.7rem;
  flex-wrap:wrap;
  align-items:center;
}

.apart {
  justify-content:space-between;
}

.mt {
  margin-top:.7rem;
}

.hero-art {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:clamp(205px,20.7vw,295px);
  aspect-ratio:1;
  display:grid;
  place-items:center;
  isolation:isolate;
  pointer-events:none;
}

.school-logo {
  width:56%;
  height:56%;
  object-fit:cover;
  border-radius:50%;
  z-index:2;
  outline:4px solid #ffffff26;
  outline-offset:8px;
  box-shadow:0 12px 30px #022d3066;
}

.orbit {
  position:absolute;
  border:1px solid #83cdbb55;
  border-radius:50%;
  inset:0;
}

.orbit2 {
  inset:9%;
  border-style:dashed;
  border-color:#84d4b35e;
}

.orbit3 {
  inset:-10%;
  border-color:#95d9c023;
}

.orbpoint {
  width:8px;
  height:8px;
  border-radius:50%;
  background:#bcf783;
  position:absolute;
}

.p1 {
  left:14%;
  top:14%;
}

.p2 {
  bottom:4%;
  right:28%;
  background:#5dd0b3;
}

.orbit-chip {
  position:absolute;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border:1px solid #86dec584;
  border-radius:9px;
  background:#155c50;
  color:#c7f6c0;
}

.chip1 {
  right:5%;
  top:12%;
  transform:rotate(9deg);
}

.chip2 {
  left:1%;
  bottom:18%;
  transform:rotate(-8deg);
}

.hero-facts {
  grid-column:3;
  justify-self:end;
  width:min(100%,220px);
  border-left:1px solid #b6dcc635;
  padding-left:clamp(1.2rem,2.2vw,2rem);
}

.hero-facts .eyeline {
  color:#b3dace;
  margin-bottom:.9rem;
  white-space:nowrap;
}

.hero-facts>div:not(.eyeline) {
  display:flex;
  gap:.75rem;
  align-items:center;
  margin:.65rem 0;
}

.hero-facts .ico {
  color:#b6e6cf;
}

.hero-facts strong,.hero-facts small {
  display:block;
}

.hero-facts small {
  font-size:.72rem;
  letter-spacing:0;
  color:#b6d1c8;
  font-weight:400;
}

.hero-facts strong {
  font-size:1rem;
}

.hero-facts a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:#ddf5dd;
  font-size:.85rem;
  font-weight:600;
  text-decoration:none;
  gap:.4rem;
}

.section-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

.route-head {
  margin:2rem 0 1.12rem;
}

.kicker {
  font-size:.73rem;
  color:#077263;
  margin:0 0 .45rem;
  display:flex;
  gap:.55rem;
  align-items:center;
}

.kicker i {
  display:inline-block;
  height:3px;
  width:17px;
  background:#098575;
  border-radius:10px;
}

.section-head h2 {
  margin:0;
}

.module-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.15rem;
}

.module-card {
  border:1px solid var(--border);
  border-radius:17px;
  overflow:hidden;
  background:white;
  color:var(--ink);
  text-decoration:none;
  display:flex;
  flex-direction:column;
  box-shadow:var(--shadow);
  transition:transform .15s,border-color .15s;
}

.module-card:hover {
  transform:translateY(-3px);
  border-color:#8bb5a8;
}

.artband {
  height:91px;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:var(--pale);
  color:var(--tone);
}

.mint {
  --tone:#076d58;
  --pale:#b7f2b8;
  --tint:#61c692;
}

.blue {
  --tone:#125d86;
  --pale:#b6e3fa;
  --tint:#57aece;
}

.violet {
  --tone:#694b97;
  --pale:#e2d2fa;
  --tint:#b291d6;
}

.amber {
  --tone:#825516;
  --pale:#ffdfa6;
  --tint:#e6b162;
}

.rose {
  --tone:#924560;
  --pale:#fbcddc;
  --tint:#e59ab8;
}

.teal {
  --tone:#126b6a;
  --pale:#b6e9df;
  --tint:#68c7bb;
}

.artband:before,.artband:after {
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  right:-38px;
  top:-54px;
  border:1px solid var(--tint);
  border-radius:50%;
  opacity:.65;
  z-index:-1;
}

.artband:after {
  width:200px;
  height:200px;
  right:-52px;
  top:-69px;
}

.artdots {
  position:absolute;
  inset:4px 0 0 42%;
  z-index:-1;
  opacity:.26;
  background-image:radial-gradient(var(--tone) .9px,transparent 1px);
  background-size:9px 9px;
  mask-image:linear-gradient(90deg,transparent,black);
}

.modtag {
  position:absolute;
  top:17px;
  left:20px;
  font-size:.72rem;
  padding:.22rem .58rem;
  background:#ffffffcf;
  border-radius:6px;
  letter-spacing:.065em;
}

.mini-art {
  position:absolute;
  right:11%;
  bottom:9px;
  width:73px;
  height:64px;
  transform:rotate(7deg);
}

.mini-back,.mini-sheet {
  position:absolute;
  border:2px solid currentColor;
  border-radius:8px;
}

.mini-back {
  width:56px;
  height:47px;
  right:0;
  bottom:0;
  background:var(--tint);
  transform:rotate(5deg);
}

.mini-sheet {
  width:58px;
  height:47px;
  left:5px;
  top:5px;
  background:color-mix(in srgb,var(--pale) 45%,white);
  box-shadow:3px 3px 0 var(--tone);
  display:grid;
  place-items:center;
}

.mini-sheet:before {
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:6px;
  border-top:1.5px solid var(--tone);
}

.mini-sheet .ico {
  margin-top:4px;
  width:29px;
  height:29px;
}

.mini-spark {
  position:absolute;
  top:-9px;
  right:-12px;
  font-size:1.15rem;
}

.mini-art.chart {
  transform:rotate(-5deg);
}

.mini-art.stat {
  transform:rotate(6deg);
}

.mini-art.file .mini-sheet {
  width:44px;
  height:54px;
}

.mini-art.sparkles .mini-sheet {
  border-radius:11px 11px 11px 1px;
}

.mini-art.sparkles .mini-sheet:before {
  display:none;
}

.mini-art.sparkles .mini-sheet .ico {
  width:32px;
  height:32px;
  margin:0;
}

.cardbody {
  padding:1rem 1.25rem .85rem;
  display:flex;
  flex:1;
  flex-direction:column;
}

.cardmeta {
  display:flex;
  align-items:center;
  gap:.48rem;
  font-size:.81rem;
  font-weight:400;
  letter-spacing:0;
  color:var(--muted);
}

.cardmeta span {
  display:flex;
  gap:.25rem;
  align-items:center;
}

.cardmeta b {
  color:#a0afa9;
}

.cardbody h3 {
  font-size:1.4rem;
  line-height:1.18;
  letter-spacing:-.04em;
  margin:.55rem 0 1rem;
  text-wrap:initial;
}

.cardfoot {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.4rem;
  color:#06705e;
  margin-top:auto;
  font-size:.92rem;
  font-weight:700;
}

.cardfoot i {
  background:#eff5ef;
  border-radius:100%;
  width:29px;
  height:29px;
  display:grid;
  place-items:center;
}

.cardstate {
  margin-left:auto;
  font-size:.7rem;
}

.panel {
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:clamp(1.15rem,2.1vw,2rem);
  box-shadow:var(--shadow);
  min-width:0;
}

.panel+.panel {
  margin-top:1rem;
}

.panel p:last-child {
  margin-bottom:0;
}

.panel h3 {
  margin-top:1.2em;
}

.disclosure {
  margin-top:1.4rem;
}

.disclosure summary,details summary {
  cursor:pointer;
  font-weight:700;
  min-height:44px;
  align-content:center;
}

.disclosure summary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:1.15rem;
}

.disclosure[open] summary {
  margin-bottom:1rem;
}

.info-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}

.info-grid dd,dd {
  margin:0 0 1rem;
  color:#405852;
}

dt {
  font-weight:700;
}

.foot {
  border-top:1px solid var(--border);
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:1.1rem;
  padding:1.25rem 0 1.8rem;
}

.footid {
  display:flex;
  gap:.7rem;
  align-items:center;
}

.footid img {
  width:36px;
  height:42px;
  object-fit:contain;
}

.footid small,.tick small,.file-row small,.admin-entry small,.sidebox small {
  display:block;
}

.footid strong {
  font-size:.9rem;
}

.footid small,.credits {
  font-size:.79rem;
  color:var(--muted);
}

.footlinks {
  margin-left:auto;
  display:flex;
}

.footlinks a {
  padding:.45rem .7rem;
}

.credits {
  width:100%;
  display:flex;
  align-items:center;
  gap:.55rem;
}

.credits a {
  min-height:44px;
  align-content:center;
}

.pagehead {
  padding:1.4rem 0 1.6rem;
  margin-bottom:.6rem;
}

.pagehead p:not(.kicker) {
  max-width:70ch;
  color:#405d55;
  font-size:1.1rem;
}

.pagehead h1 {
  max-width:28ch;
}

.crumb {
  min-height:44px;
  font-size:.92rem;
  justify-content:flex-start;
  text-align:left;
}

.chiprow span,.state {
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.35rem .8rem;
  border-radius:50px;
  color:#1f6456;
  font-size:.85rem;
  background:#e1f1e5;
}

.mod-head {
  display:flex;
  gap:1rem;
  align-items:center;
  margin-bottom:1rem;
}

.mark {
  width:54px;
  height:54px;
  display:inline-grid;
  place-items:center;
  border-radius:13px;
  flex-shrink:0;
  background:var(--pale,#d8f4db);
  color:var(--tone,#175945);
}

.mod-head .state {
  margin-left:auto;
}

.mod-head h2 {
  font-size:1.55rem;
  margin:0;
}

.mod-head .kicker {
  margin-bottom:.25rem;
}

.lesson-row,.file-row {
  display:flex;
  align-items:center;
  gap:.75rem;
  padding:.75rem .2rem;
  border-top:1px solid var(--border);
  color:var(--ink);
  text-decoration:none;
  min-height:56px;
}

.lesson-row:hover {
  background:#f4f9f5;
}

.lesson-row .rowmeta,.lesson-row>small {
  margin-left:auto;
  color:var(--muted);
  font-size:.86rem;
}

.ordinal {
  display:grid;
  place-items:center;
  color:#337567;
  background:#ecf3ec;
  width:32px;
  height:32px;
  border-radius:8px;
  font-size:.84rem;
  font-weight:700;
}

.evalrow {
  color:#086c5f;
}

.study-layout,.admin-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,.41fr);
  gap:1.25rem;
  align-items:start;
}

.study-core>*+.actions,.study-core .panel+.panel {
  margin-top:1rem;
}

.sidebox {
  position:sticky;
  top:.7rem;
}

.sidebox h3 {
  margin-top:.4em;
}

.sidebox>a {
  display:flex;
  gap:.6rem;
  align-items:center;
  padding:.6rem .2rem;
  min-height:44px;
  text-decoration:none;
  border-top:1px solid var(--border);
  font-weight:600;
}

.sidebox>a.here {
  color:#123c34;
  background:#e8f5ec;
}

.sidebox small {
  margin-top:1rem;
  color:var(--muted);
}

.steps {
  padding:0;
  margin:1rem 0 1.4rem;
  counter-reset:step;
  list-style:none;
}

.steps li {
  position:relative;
  min-height:2.35rem;
  padding-left:2.85rem;
  margin-bottom:.92rem;
}

.steps li:before {
  counter-increment:step;
  content:counter(step);
  position:absolute;
  left:0;
  top:0;
  display:grid;
  place-items:center;
  width:2.15rem;
  height:2.15rem;
  background:#d9f0dd;
  color:#126653;
  border-radius:10px;
  font-weight:700;
}

.note {
  background:#eef7ef;
  border:1px solid #d0e6d4;
  border-radius:12px;
  padding:.9rem 1.1rem;
  margin:.9rem 0;
}

.note p {
  margin:.28rem 0;
}

.file-row {
  border:1px solid var(--border);
  background:#f8faf7;
  width:100%;
  padding:.6rem .85rem;
  text-align:left;
  border-radius:10px;
  color:#145c51;
  overflow-wrap:anywhere;
}

.file-row small {
  font-size:.81rem;
  color:var(--muted);
  font-weight:400;
}

.filelist {
  display:grid;
  gap:.5rem;
}

.tool-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}

.tool-grid>.panel,.resource-list>.panel,.study-layout>.panel {
  margin:0;
}

.tool-grid .mark {
  margin-bottom:.8rem;
}

.tool-grid details {
  margin:1rem 0;
}

.tool-grid dt {
  color:#0a6053;
}

.tool-grid dd {
  margin:.15rem 0 .8rem;
}

label {
  display:block;
  font-weight:600;
  margin:.75rem 0;
}

.filters label {
  margin:0;
}

input:not([type=checkbox],[type=radio],[type=file]),textarea,select {
  display:block;
  width:100%;
  margin:.28rem 0 .4rem;
  border:1px solid #a7bdb2;
  background:#fff;
  color:#183b32;
  padding:.65rem .8rem;
  border-radius:9px;
  min-height:46px;
  font-weight:400;
}

textarea {
  resize:vertical;
  line-height:1.5;
}

.codebox {
  color:#d4fde1;
  background:#143731;
  font: .91rem/1.65 "DejaVu Sans Mono",monospace;
  tab-size:4;
  white-space:pre;
  overflow:auto;
}

.tick {
  display:flex;
  gap:.7em;
  align-items:flex-start;
  padding:.65rem 0;
  font-weight:400;
  min-height:44px;
  cursor:pointer;
}

.tick input {
  accent-color:#087767;
  width:1.25rem;
  height:1.25rem;
  flex:none;
  margin:.15em 0 0;
}

.tick small {
  color:var(--muted);
  overflow-wrap:anywhere;
}

.filters {
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:1rem;
}

.tabs {
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  margin:1.2rem 0;
}

.tabs button {
  min-height:44px;
  border-radius:10px;
  background:#fff;
  border:1px solid var(--border);
  padding:.45rem .85rem;
  color:#28574b;
  font-weight:600;
}

.tabs .selected {
  background:#0b665a;
  color:#fff;
  border-color:#0b665a;
}

.muted {
  color:var(--muted);
}

.resource-list {
  display:grid;
  gap:.7rem;
}

.resource-row {
  display:flex;
  gap:1rem;
  align-items:center;
}

.resource-row>div {
  min-width:0;
  flex:1;
}

.resource-row .kicker {
  margin:0;
}

.resource-row h3 {
  margin:.25rem 0;
}

.resource-row p:not(.kicker) {
  margin:.2rem 0;
  color:#486055;
}

.resource-row small {
  font-size:.8rem;
  color:#577168;
  overflow-wrap:anywhere;
}

.empty {
  text-align:center;
}

.promptresult {
  margin-top:1rem;
}

.quizwrap,.narrow {
  max-width:880px;
}

.question {
  margin:1.7rem 0 1rem!important;
}

.question legend {
  font-size:1.2rem;
  line-height:1.35;
  font-weight:700;
  padding:0 .45rem;
}

.option {
  border:1px solid var(--border);
  padding:.65rem .85rem;
  border-radius:10px;
}

.progress-panel progress {
  appearance:none;
  display:block;
  width:100%;
  height:13px;
  border:0;
  border-radius:12px;
  overflow:hidden;
  background:#dde8df;
  margin:1rem 0;
}

.progress-panel progress::-webkit-progress-bar {
  background:#dde8df;
}

.progress-panel progress::-webkit-progress-value {
  background:#078574;
}

.progress-panel progress::-moz-progress-bar {
  background:#078574;
}

.import {
  position:relative;
  overflow:hidden;
  margin:0;
}

.import input {
  position:absolute;
  inset:0;
  opacity:0;
  width:100%;
  cursor:pointer;
}

.rubric {
  display:flex;
  justify-content:space-between;
  gap:1rem;
  border-top:1px solid var(--border);
  padding:.6rem 0;
}

.rubric b {
  color:#006c5c;
}

.toast {
  position:fixed;
  bottom:1rem;
  left:50%;
  transform:translateX(-50%);
  max-width:min(600px,92vw);
  width:max-content;
  background:#173e37;
  color:white;
  padding:.8rem 1.2rem;
  border-radius:12px;
  z-index:12;
  box-shadow:0 6px 24px #0003;
}

.previewbar {
  text-align:center;
  background:#fff2bf;
  color:#483c07;
  padding:.5rem;
}

.login {
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:1rem;
}

.login-card {
  background:white;
  border:1px solid var(--border);
  border-radius:24px;
  padding:2.2rem;
  width:min(100%,460px);
}

.login-card img {
  width:84px;
  border-radius:50%;
  display:block;
  margin:0 auto 1rem;
}

.login-card h1 {
  font-size:2.3rem;
}

.login-card form {
  margin-bottom:1rem;
}

.error {
  color:#982d32;
}

.adminhead {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:.8rem 5%;
  background:white;
  border-bottom:1px solid var(--border);
}

.admin-layout {
  grid-template-columns:minmax(220px,.48fr) minmax(0,1fr);
}

.admin-layout>section {
  margin:0;
}

.admin {
  padding-block:2rem;
}

.admin-entry {
  display:block;
  width:100%;
  border:0;
  border-top:1px solid var(--border);
  background:white;
  text-align:left;
  padding:.85rem .3rem;
  color:var(--ink);
}

.admin-entry:hover {
  background:#eef6f0;
}

.admin-entry small {
  color:var(--muted);
}

.loading {
  margin:2rem;
}

.large .top {
  flex-wrap:wrap;
  gap:.4rem;
}

.large .hero-copy h1 {
  font-size:2.65rem;
}

@media(max-width:1000px) {
  .top {
    gap:1rem;
  }
  .nav a {
    padding:.4rem .55rem;
    font-size:.91rem;
  }
  .hero {
    grid-template-columns:40% 32% 28%;
  }
  .hero-art {
    left:54%;
    width:195px;
  }
  .hero h1 {
    font-size:2.7rem;
  }
  .hero-facts {
    padding-left:1rem;
  }
  .module-grid {
    gap:.8rem;
  }
  .cardbody {
    padding:.9rem;
  }
  .cardbody h3 {
    font-size:1.22rem;
  }
}

@media(max-width:820px) {
  .top {
    min-height:66px;
    position:relative;
  }
  .menu-toggle {
    display:block;
  }
  .nav {
    display:none;
    position:absolute;
    right:0;
    top:calc(100% - 2px);
    width:min(340px,100%);
    background:white;
    padding:.6rem;
    border:1px solid var(--border);
    border-radius:12px;
    box-shadow:0 12px 26px #123a3920;
    z-index:8;
  }
  .nav.open {
    display:grid;
  }
  .nav a {
    font-size:1rem;
  }
  .hero {
    grid-template-columns:49% 51%;
    padding:1.8rem;
    min-height:273px;
  }
  .hero-art {
    top:41%;
    left:74%;
    width:180px;
  }
  .hero-facts {
    grid-column:1/-1;
    width:100%;
    max-width:none;
    border:0;
    border-top:1px solid #ffffff32;
    padding:.6rem 0 0;
    margin-top:1.4rem;
    display:flex;
    gap:1rem;
    align-items:center;
  }
  .hero-facts>.eyeline,.hero-facts>div:nth-child(4) {
    display:none;
  }
  .hero-facts>div:not(.eyeline) {
    margin:0;
  }
  .hero-facts a {
    margin-left:auto;
  }
  .hero-facts small {
    font-size:.7rem;
  }
  .hero-facts strong {
    font-size:.9rem;
  }
  .hero-copy p {
    max-width:40ch;
  }
  .module-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .study-layout,.admin-layout {
    grid-template-columns:1fr;
  }
  .sidebox {
    position:static;
  }
  .admin-layout>aside {
    max-height:370px;
    overflow:auto;
  }
  .filters {
    grid-template-columns:1fr 1fr;
  }
  .filters .search {
    grid-column:1/-1;
  }
  .large .hero h1 {
    font-size:2.3rem;
  }
}

@media(max-width:570px) {
  .wrap {
    width:calc(100% - 1.7rem);
  }
  .main {
    padding-top:.9rem;
  }
  .brand {
    font-size:1.13rem;
  }
  .brandmark {
    width:35px;
    height:35px;
    border-radius:10px 10px 10px 3px;
  }
  .top {
    min-height:62px;
  }
  .hero {
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:1.35rem 1.1rem 1rem;
    border-radius:17px;
  }
  .hero-art {
    position:relative;
    left:auto;
    top:auto;
    transform:none;
    order:0;
    width:137px;
    flex-shrink:0;
    margin:.4rem auto .9rem;
  }
  .school-logo {
    width:68%;
    height:68%;
    outline-width:2px;
    outline-offset:3px;
  }
  .orbit-chip {
    width:24px;
    height:24px;
    border-radius:6px;
  }
  .orbit-chip svg {
    width:14px;
  }
  .hero-copy {
    order:1;
    text-align:center;
  }
  .hero-copy .eyeline {
    justify-content:center;
  }
  .hero-copy h1,.large .hero-copy h1 {
    font-size:clamp(2.28rem,10vw,3rem);
    margin:.75rem 0 .6rem;
  }
  .hero-copy p {
    margin:0 auto 1rem;
    font-size:1rem;
  }
  .hero-facts {
    order:2;
    justify-content:center;
    flex-wrap:wrap;
    gap:.3rem .9rem;
    margin-top:1rem;
  }
  .hero-facts>div:not(.eyeline) {
    gap:.35rem;
  }
  .hero-facts>div .ico {
    width:16px;
  }
  .hero-facts strong {
    font-size:.8rem;
  }
  .hero-facts a {
    font-size:.77rem;
    margin:0;
  }
  .hero-facts .eyeline {
    display:none;
  }
  .hero-facts small {
    display:none;
  }
  .route-head {
    margin:1.5rem 0 .85rem;
  }
  .section-head {
    align-items:flex-start;
    flex-wrap:wrap;
    gap:.45rem;
  }
  .route-head .textlink {
    font-size:.92rem;
  }
  .route-head h2 {
    font-size:1.8rem;
  }
  .module-grid,.tool-grid,.filters,.info-grid {
    grid-template-columns:1fr;
  }
  .artband {
    height:83px;
  }
  .cardbody {
    padding:1rem 1.15rem;
  }
  .cardbody h3 {
    font-size:1.35rem;
  }
  .section-head .textlink {
    min-height:44px;
  }
  .mod-head,.resource-row {
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .mod-head {
    gap:.6rem;
  }
  .mod-head>div {
    flex:1;
    min-width:170px;
  }
  .mod-head .state {
    margin:0;
  }
  .lesson-row {
    flex-wrap:wrap;
    gap:.45rem;
  }
  .lesson-row strong {
    flex:1;
    min-width:100px;
  }
  .lesson-row .rowmeta {
    order:3;
    width:100%;
    margin-left:2.5rem;
  }
  .resource-row .button {
    margin-left:0;
  }
  .resource-row>div {
    flex-basis:calc(100% - 72px);
  }
  .sidebox h3 {
    font-size:1.25rem;
  }
  .pagehead {
    padding:.9rem 0;
  }
  .footlinks {
    margin:0;
  }
  .foot {
    gap:.4rem;
  }
  .credits {
    flex-wrap:wrap;
  }
  .filters .search {
    grid-column:auto;
  }
  .filters {
    gap:.4rem;
  }
  .mark {
    width:44px;
    height:44px;
  }
  .toast {
    font-size:.9rem;
  }
  .filters label,.panel label {
    overflow-wrap:anywhere;
  }
  .panel h2 {
    font-size:1.55rem;
  }
  .tool-grid .actions .button {
    width:100%;
  }
  .large .brand em {
    display:none;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important;
  }
}

.visualguide {
  margin:1.2rem 0;
}

.visualguide figure {
  margin:1.1rem 0 1.5rem;
}

.screen {
  position:relative;
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
}

.screen img {
  display:block;
  width:100%;
}

.screen i {
  position:absolute;
  border:3px solid #c34616;
  border-radius:7px;
  box-shadow:0 0 0 2px white;
  pointer-events:none;
}

.visualguide figcaption {
  padding:.4rem .1rem;
  font-weight:600;
}

@media(min-width:821px) and (max-width:1000px) {
  .hero-art {
    left:50%;
  }
  .hero-copy h1 {
    font-size:2.5rem;
  }
}

@media(min-width:571px) and (max-width:820px) {
  .hero {
    display:flex;
    flex-direction:column;
    padding:1.55rem 1.8rem;
  }
  .hero-art {
    position:relative;
    order:0;
    top:auto;
    left:auto;
    transform:none;
    width:145px;
    margin:.4rem auto 1rem;
  }
  .school-logo {
    width:62%;
    height:62%;
  }
  .hero-copy {
    order:1;
    text-align:center;
  }
  .hero-copy .eyeline {
    justify-content:center;
  }
  .hero-copy p {
    max-width:55ch;
    margin-inline:auto;
  }
  .hero-copy h1 {
    margin:.65rem 0;
  }
  .hero-copy h1 br {
    display:none;
  }
  .hero-copy h1 span:before {
    content:" ";
  }
  .hero-facts {
    order:2;
    justify-content:center;
    width:100%;
    gap:1.6rem;
  }
  .hero-facts a {
    margin-left:0;
  }
}

