/* src/style.css */
:root {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: #172641;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --accent: #1168df;
  --navy: #111e37;
  --muted: #68768e;
  --line: #e6edf6;
  --surface: #fff;
  --surface-soft: #f5f8fc;
  --shadow: 0 14px 40px rgb(31 55 92 / 12%);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: #172641;
  transition: background .25s ease, color .25s ease;
}
body,
button,
input,
textarea,
select {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[contenteditable]:focus-visible {
  outline: 3px solid #77b6ff;
  outline-offset: 3px;
}
img {
  max-width: 100%;
}
.topbar {
  height: 76px;
  padding: 0 clamp(20px, 3.5vw, 56px);
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--navy);
  color: #f6f9ff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 4px 18px rgb(10 22 44 / 15%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.brand-mark {
  height: 30px;
  width: 37px;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.brand-mark span {
  width: 17px;
  height: 26px;
  background: #30c2dc;
  border: 2px solid #8be6f3;
  transform: skewY(8deg);
  border-radius: 4px 4px 1px 4px;
  box-shadow: 2px 1px 0 #1254bd;
}
.brand-mark span + span {
  position: absolute;
  right: 1px;
  top: 2px;
  background: #1874e4;
  transform: skewY(-8deg);
  border-color: #78b6ff;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font-size: 16px;
  letter-spacing: -.35px;
}
.brand small {
  color: #aebdd3;
  font-size: 9px;
  margin-top: 2px;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: clamp(13px, 2vw, 30px);
  margin: 0 auto;
}
.main-menu-items {
  display: contents;
}
.main-menu-items a,
#page-links a {
  color: #c4cfe0;
  font-size: 12px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
  transition: color .2s ease;
}
.main-menu-items a:hover,
#page-links a:hover,
.main-menu-items a.active {
  color: #56c6ff;
}
.main-menu-items a.active::after {
  content: "";
  height: 2px;
  background: #24b9ed;
  position: absolute;
  bottom: 13px;
  left: 0;
  right: 0;
}
#page-links {
  display: contents;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-button {
  background: none;
  color: #d7e2f3;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  width: 28px;
}
.safety-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #1f3151;
  color: #fff;
  border: 1px solid #324664;
  padding: 7px 12px;
  border-radius: 11px;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.safety-badge:hover {
  background: #294169;
  transform: translateY(-1px);
}
.safety-badge > span:first-child {
  font-size: 20px;
}
.safety-badge strong,
.safety-badge small {
  display: block;
  white-space: nowrap;
}
.safety-badge strong {
  font-size: 10px;
}
.safety-badge small {
  font-size: 9px;
  color: #b5c3d6;
  margin-top: 2px;
}
.menu-toggle {
  display: none;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 25px;
}
.hero {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(350px, 39%) 1fr;
  align-items: center;
  padding: 35px clamp(24px, 4vw, 64px) 44px;
  background:
    linear-gradient(
      112deg,
      #eff7ff 2%,
      #f8faff 49%,
      #d8eaff 100%);
  isolation: isolate;
}
.hero-copy {
  align-self: center;
  position: relative;
  z-index: 4;
  max-width: 510px;
  padding-bottom: 6px;
}
.eyebrow {
  color: var(--accent);
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.35px;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 9px;
}
.hero-copy > .eyebrow {
  letter-spacing: .5px;
  text-transform: none;
  font-size: 12px;
}
.sparkle {
  color: #f6b500;
  font-size: 18px;
  vertical-align: -1px;
  margin-right: 5px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family:
    "Nunito",
    "DM Sans",
    sans-serif;
}
.hero h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: .92;
  letter-spacing: -2.5px;
  margin: 17px 0 16px;
  color: #192844;
  font-weight: 900;
}
.hero h1 span {
  color: var(--accent);
}
.hero-copy > p:not(.hero-note) {
  color: #52617a;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.5;
  margin-bottom: 22px;
}
.hero-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.button {
  min-height: 44px;
  padding: 0 17px;
  border: 0;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgb(22 75 153 / 18%);
}
.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 5px 13px rgb(17 104 223 / 25%);
}
.button-primary:hover {
  background: #075bc8;
}
.button-light {
  background: #fff;
  color: #1c304e;
  border: 1px solid #e4ebf4;
}
.hero-note {
  color: var(--accent);
  font-family: "Nunito", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.12;
  margin: 18px 0 0 8px;
  transform: rotate(-5deg);
  width: fit-content;
}
.hero-note::after {
  content: "";
  display: block;
  width: 130px;
  height: 8px;
  border-top: 2px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-3deg);
  margin: 4px 0 0 13px;
}
.hero-art {
  align-self: stretch;
  min-height: 328px;
  max-height: 430px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.sun-glow {
  position: absolute;
  right: 17%;
  top: 2%;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      #fffac6a3 0%,
      #fff9da45 48%,
      transparent 71%);
}
.doodle {
  position: absolute;
  color: var(--accent);
  font-size: 37px;
  animation: bob 4s ease-in-out infinite;
}
.doodle-star {
  top: 10px;
  right: 31%;
  color: #ffbb00;
}
.doodle-spark {
  top: 29%;
  left: 4%;
  color: #1382e5;
  font-size: 25px;
  animation-delay: .5s;
}
.doodle-book {
  top: 35px;
  right: 6%;
  transform: rotate(17deg);
}
.doodle-cloud {
  top: 43%;
  right: 0;
  color: #44a9f1;
  font-size: 46px;
}
.student {
  position: absolute;
  bottom: -44px;
  width: 194px;
  height: 327px;
  transform-origin: bottom center;
  animation: float 5s ease-in-out infinite;
}
.student-one {
  left: 7%;
  z-index: 1;
  transform: scale(.9) rotate(-3deg);
  animation-delay: -.8s;
}
.student-two {
  left: 31%;
  z-index: 3;
  transform: scale(1.08) rotate(2deg);
}
.student-three {
  right: 7%;
  z-index: 2;
  transform: scale(.98) rotate(4deg);
  animation-delay: -1.6s;
}
.student .face {
  position: absolute;
  top: 38px;
  left: 46px;
  width: 108px;
  height: 109px;
  border-radius: 45% 48% 46% 48%;
  background: #f3bc8b;
  z-index: 2;
  box-shadow: inset -6px -7px #dc9167;
  transform: rotate(-4deg);
}
.student-one .face {
  background: #e9ad79;
}
.student-three .face {
  background: #efb783;
}
.student .hair {
  position: absolute;
  top: 13px;
  left: 34px;
  z-index: 3;
  width: 127px;
  height: 75px;
  background: #402317;
  border-radius: 60% 48% 23% 29%;
  transform: rotate(4deg);
  box-shadow: 9px -9px 0 -3px #593421, -7px 4px 0 -1px #332015;
}
.student-two .hair {
  background: #332017;
  width: 136px;
  left: 25px;
  border-radius: 58% 42% 32% 19%;
  box-shadow: 4px -9px 0 -2px #513024, 13px 2px 0 -5px #241813;
}
.student-three .hair {
  background: #d96a2a;
  width: 133px;
  left: 29px;
  box-shadow: 6px -9px 0 -2px #f28c44, -10px 4px 0 -1px #c65c27;
}
.student .eye {
  position: absolute;
  top: 43px;
  left: 30px;
  height: 8px;
  width: 8px;
  background: #152337;
  border-radius: 50%;
  box-shadow: 31px 1px #152337;
}
.student .smile {
  position: absolute;
  top: 69px;
  left: 43px;
  width: 25px;
  height: 11px;
  border-bottom: 2px solid #884d42;
  border-radius: 0 0 50% 50%;
  transform: rotate(-7deg);
}
.student .neck {
  position: absolute;
  left: 84px;
  top: 133px;
  width: 33px;
  height: 43px;
  background: #e6a474;
  z-index: 1;
}
.student .body {
  position: absolute;
  top: 158px;
  left: 18px;
  width: 162px;
  height: 190px;
  border-radius: 52px 48px 10px 10px;
  background:
    linear-gradient(
      135deg,
      #1555bb,
      #277bd7);
  z-index: 2;
  box-shadow: inset -14px 3px rgb(0 0 0 / 8%);
}
.student-two .body {
  background:
    linear-gradient(
      140deg,
      #ffb530,
      #ff8c17);
}
.student-three .body {
  background:
    linear-gradient(
      140deg,
      #047c79,
      #07544f);
}
.shirt-mark {
  position: absolute;
  top: 68px;
  left: 68px;
  color: #e7efff;
  font-size: 28px;
}
.student-two .shirt-mark {
  color: #fff0c2;
}
.student-three .shirt-mark {
  color: #b8eee6;
}
.student .arm {
  position: absolute;
  z-index: 4;
  left: -5px;
  top: 181px;
  width: 65px;
  height: 102px;
  border-radius: 40px;
  background:
    linear-gradient(
      90deg,
      #f0b382,
      #ffca9f);
  transform: rotate(29deg);
}
.student-two .arm {
  left: 132px;
  top: 165px;
  transform: rotate(-46deg);
}
.student-three .arm {
  left: 126px;
  top: 157px;
  transform: rotate(-25deg);
}
.student-three .glasses {
  position: absolute;
  top: 36px;
  left: 12px;
  width: 77px;
  color: #30404c;
  font-size: 26px;
  letter-spacing: 2px;
  border: 2px solid #394956;
  border-radius: 17px;
}
.hero-book {
  position: absolute;
  z-index: 4;
  bottom: 25px;
  left: 43%;
  padding: 20px 13px 15px;
  background: #ffefbc;
  color: #5a4e37;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  transform: rotate(8deg);
  border-radius: 5px 13px 7px 3px;
  box-shadow: 3px 7px 0 #d9a44e;
}
.hero-book span {
  font-size: 10px;
}
.hero-book i {
  position: absolute;
  color: #f0851d;
  right: 8px;
  top: 9px;
  font-style: normal;
}
.hero-stack {
  position: absolute;
  right: -2%;
  bottom: 23px;
  z-index: 4;
  display: grid;
  gap: 3px;
  transform: rotate(-4deg);
}
.hero-stack span {
  min-width: 165px;
  background: #319d68;
  border-radius: 8px 13px 8px 5px;
  padding: 5px 14px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 4px 0 #18704c;
}
.hero-stack span:nth-child(2) {
  background: #4969c7;
  box-shadow: 0 4px 0 #2d428c;
  transform: translateX(-15px);
}
.hero-stack span:nth-child(3) {
  background: #f2a127;
  box-shadow: 0 4px 0 #bd7214;
  transform: translateX(-28px);
}
.hero-leaf {
  position: absolute;
  bottom: 10px;
  left: 0;
  background: #6eaf49;
  width: 58px;
  height: 28px;
  border-radius: 100% 0 100% 0;
  transform: rotate(-25deg);
}
.leaf-two {
  left: 18px;
  bottom: 48px;
  background: #84bf55;
  transform: rotate(24deg);
}
.hero-bottom-wave {
  position: absolute;
  z-index: 5;
  bottom: -37px;
  left: -3%;
  right: -3%;
  height: 52px;
  background: var(--surface);
  border-radius: 50% 50% 0 0 / 55% 55% 0 0;
}
.section-wrap {
  padding: 38px clamp(22px, 3.7vw, 58px);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.section-heading .eyebrow {
  margin-bottom: 4px;
}
.section-heading h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.15;
  letter-spacing: -.7px;
  margin: 0;
  font-weight: 900;
}
.text-link {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  padding-bottom: 4px;
  white-space: nowrap;
}
.text-link > span:last-child {
  font-size: 18px;
  margin-left: 5px;
  vertical-align: -1px;
}
.class-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.class-card {
  min-height: 150px;
  padding: 16px 8px 12px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--class-color, #368dee);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / 11%), 0 6px 15px rgb(39 71 116 / 8%);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease;
}
.class-card:hover {
  transform: translateY(-6px) rotate(-.7deg);
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / 11%), 0 12px 24px rgb(39 71 116 / 18%);
  filter: saturate(1.08);
}
.class-icon {
  font-size: 32px;
  height: 42px;
  line-height: 1;
}
.class-card strong {
  font: 800 17px "Nunito", sans-serif;
}
.class-summary {
  font-size: 10px;
  opacity: .9;
}
.class-arrow {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffffed;
  color: var(--class-color, #368dee);
  font-size: 24px;
  line-height: 1;
  margin-top: 5px;
  transition: transform .2s ease;
}
.class-card:hover .class-arrow {
  transform: translateX(3px);
}
.work-plan-admin-list {
  display: grid;
  gap: 9px;
}
.work-plan-admin-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.work-plan-admin-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 800;
}
.work-plan-admin-item summary::-webkit-details-marker {
  display: none;
}
.work-plan-admin-item summary::after {
  content: "\ff0b";
  color: var(--accent);
  font-size: 17px;
}
.work-plan-admin-item[open] summary::after {
  content: "\2212";
}
.work-plan-admin-item summary small {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.work-plan-admin-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 14px 14px;
}
.work-plan-rich {
  min-height: 220px;
  font-weight: 400;
}
.work-plan-admin-form .editor-toolbar {
  margin-top: 0;
}
.work-plan-admin-form label {
  display: grid;
  gap: 7px;
  color: #33435d;
  font-size: 13px;
  font-weight: 800;
}
.work-plan-admin-form textarea {
  width: 100%;
  min-height: 145px;
  padding: 10px 12px;
  resize: vertical;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  color: #172641;
  background: #fff;
  font-size: 13px;
  line-height: 1.5;
}
.work-plan-admin-form button {
  white-space: nowrap;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 17px;
  border-right: 1px solid var(--line);
}
.feature-card-link {
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease;
}
.feature-card-link:hover,
.feature-card-link:focus-visible {
  transform: translateY(-2px);
}
.feature-card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 10px;
}
.feature-card:first-child {
  padding-left: 0;
}
.feature-card:last-child {
  border: 0;
}
.feature-icon {
  flex: 0 0 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf3ff;
  color: #2581e8;
  font-size: 27px;
  font-weight: 800;
}
.feature-icon.sky {
  background: #eaf5ff;
  color: #1698eb;
}
.feature-icon.yellow {
  background: #fff3df;
  color: #f49a16;
}
.feature-icon.pink {
  background: #ffedf2;
  color: #df3e6d;
}
.feature-card h3 {
  font-size: 15px;
  line-height: 1.15;
  margin: 0 0 4px;
  font-weight: 900;
}
.feature-card p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
}
.materials-section {
  background: var(--surface-soft);
}
.material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.material-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.material-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.file-icon {
  flex: 0 0 44px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #247ce1;
  background: #eaf3ff;
  font-size: 24px;
}
.material-copy {
  flex: 1;
  min-width: 0;
}
.material-class {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: 9px;
  font-weight: 800;
}
.material-copy h3 {
  font-size: 14px;
  margin: 4px 0;
  overflow-wrap: anywhere;
}
.material-copy p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
}
.download-button {
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #eaf3ff;
  color: var(--accent);
  font-size: 22px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.download-button:hover {
  color: #fff;
  background: var(--accent);
  transform: translateY(-2px);
}
.material-downloads {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.news-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 19px;
  background: var(--surface);
  box-shadow: 0 5px 16px rgb(31 55 92 / 4%);
}
.news-date {
  color: var(--accent);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-weight: 800;
}
.news-card h3 {
  font-size: 17px;
  margin: 7px 0;
}
.news-body {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.it-news-section {
  background: var(--surface-soft);
}
.it-news-status {
  margin: -7px 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.it-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.it-news-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px;
  background: var(--surface);
  box-shadow: 0 5px 16px rgb(31 55 92 / 4%);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.it-news-card:hover,
.it-news-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.it-news-source {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.it-news-date {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}
.it-news-card h3 {
  margin: 9px 0 6px;
  font-size: 15px;
  line-height: 1.35;
}
.it-news-card p {
  display: -webkit-box;
  flex: 1;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.dark-theme .it-news-card {
  background: #1b2b44;
  border-color: var(--line);
}
.dark-theme .it-news-card h3 {
  color: #edf3ff;
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  border: 1px dashed #cbd8e9;
  border-radius: 15px;
  padding: 26px 14px;
  background: var(--surface);
}
.empty-state > span {
  color: var(--accent);
  font-size: 27px;
}
.empty-state h3 {
  margin: 7px 0 3px;
  font-size: 17px;
}
.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.class-empty {
  padding: 20px;
}
.inspiration-band {
  min-height: 177px;
  display: grid;
  grid-template-columns: 28% 21% 1fr;
  align-items: center;
  padding: 17px 3.5vw;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(
      105deg,
      #bfe7ff,
      #f7f3e8 50%,
      #a6ddff);
}
.mountain-art {
  position: absolute;
  inset: 0 auto 0 0;
  width: 44%;
  background:
    linear-gradient(
      #a5ddff,
      #e8f6ff 72%,
      #2369ae 73%,
      #10508b);
  overflow: hidden;
}
.mountain {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 130px solid transparent;
  border-right: 130px solid transparent;
  border-bottom: 116px solid #4282b8;
}
.m1 {
  left: -20px;
  border-bottom-color: #67a1ce;
  border-bottom-width: 100px;
}
.m2 {
  left: 112px;
  bottom: -8px;
  border-left-width: 155px;
  border-right-width: 155px;
  border-bottom-width: 132px;
  border-bottom-color: #3073ab;
}
.m3 {
  left: 231px;
  bottom: -12px;
  border-left-width: 130px;
  border-right-width: 130px;
  border-bottom-width: 106px;
  border-bottom-color: #12568e;
}
.mountain::after {
  content: "";
  position: absolute;
  top: 28px;
  left: -35px;
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 35px solid #e8f6ff;
}
.hiker {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 45%;
  font-size: 52px;
  color: #121b29;
  transform: rotate(180deg);
  text-shadow: 0 1px #fff;
}
.mountain-stars {
  position: absolute;
  bottom: 110px;
  left: 35px;
  color: #fff0c8;
}
.inspiration-note {
  z-index: 1;
  grid-column: 2;
  color: #1250a8;
  font-family: "Nunito", sans-serif;
  font-size: clamp(15px, 1.9vw, 23px);
  font-weight: 800;
  line-height: 1.2;
  transform: rotate(-6deg);
  margin: 0;
}
.inspiration-note::after {
  content: "";
  display: block;
  width: 115px;
  border-top: 2px solid;
  transform: rotate(-3deg);
  margin: 8px 0 0 10px;
}
.promise-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  z-index: 1;
}
.promise-cards article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 12px;
  border: 1px solid #e2eaf4;
  border-radius: 11px;
  background: #fff;
  color: #1a2b47;
  box-shadow: 0 5px 15px rgb(27 54 91 / 7%);
}
.promise-icon {
  flex: 0 0 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 24px;
}
.promise-icon.blue {
  background: #e8f1ff;
  color: #1269dc;
}
.promise-icon.yellow {
  background: #fff2db;
  color: #f59c05;
}
.promise-icon.green {
  background: #eaf6e8;
  color: #50a75e;
}
.promise-cards h3 {
  font: 800 12px "Nunito", sans-serif;
  margin: 0 0 3px;
}
.promise-cards p {
  color: #64718a;
  font-size: 9px;
  line-height: 1.35;
  margin: 0;
}
.footer {
  min-height: 66px;
  padding: 12px clamp(20px, 3.5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: var(--navy);
  color: #dbe5f4;
}
.footer .brand strong {
  font-size: 13px;
}
.footer .brand small {
  font-size: 8px;
}
.footer .brand-mark {
  transform: scale(.82);
  transform-origin: left center;
  width: 32px;
}
.footer > p {
  margin: 0;
  font-size: 9px;
  color: #9fafc5;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  color: #bdc9db;
}
.footer-links a:hover {
  color: #fff;
}
.footer-links button {
  border: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: #f1f5fb;
  background: #344866;
  font-size: 17px;
  cursor: pointer;
}
.content-dialog,
.admin-dialog {
  border: 0;
  border-radius: 19px;
  padding: 30px;
  width: min(660px, calc(100% - 30px));
  max-height: min(86vh, 800px);
  overflow-y: auto;
  color: #172641;
  background: var(--surface);
  box-shadow: 0 25px 80px rgb(9 23 46 / 30%);
}
.content-dialog::backdrop,
.admin-dialog::backdrop {
  background: rgb(10 23 43 / 55%);
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: sticky;
  float: right;
  top: 0;
  margin: -15px -14px 0 0;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #53627a;
  background: #eef3f8;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.content-dialog h2,
.admin-dialog h2 {
  font-size: 27px;
  margin: 0 0 7px;
  letter-spacing: -.5px;
}
.dialog-lead {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 18px;
}
.task-list {
  display: grid;
  gap: 12px;
}
.task-detail {
  display: grid;
  grid-template-columns: 39px 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px;
  background: var(--surface);
}
.task-number {
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--accent);
  background: #eaf3ff;
  font-size: 12px;
  font-weight: 800;
}
.task-detail h3 {
  font-size: 16px;
  margin: 2px 0 8px;
}
.rich-content {
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.rich-content > :last-child {
  margin-bottom: 0;
}
.rich-content ul,
.rich-content ol {
  padding-left: 23px;
}
.rich-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 10px 0;
  padding-left: 12px;
  color: var(--muted);
}
.rich-content a {
  text-decoration: underline;
  color: var(--accent);
}
.inline-download {
  color: var(--accent);
  background: #eaf3ff;
  border: 0;
  border-radius: 8px;
  padding: 8px 11px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  margin-top: 10px;
}
.dialog-subheading {
  margin: 23px 0 9px;
  font-size: 17px;
}
.dialog-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-content {
  margin-top: 15px;
}
.admin-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border-radius: 0;
  padding: 34px clamp(18px, 5vw, 72px);
}
.admin-dialog::backdrop {
  background: var(--surface);
}
.admin-dialog #admin-root {
  width: min(1280px, 100%);
  margin: 0 auto;
}
.admin-dialog > .dialog-close {
  position: fixed;
  margin: 0;
  float: none;
  top: 14px;
  right: clamp(14px, 3vw, 36px);
  z-index: 5;
}
.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.admin-heading h2 {
  margin: 0 0 3px;
}
.admin-heading p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.admin-logout {
  min-height: 38px;
  font-size: 12px;
}
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.admin-tabs button {
  border: 0;
  padding: 9px 12px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.admin-tabs button:hover,
.admin-tabs button.selected {
  background: #eaf3ff;
  color: var(--accent);
}
.admin-editor {
  padding-top: 20px;
}
.editor-section + .editor-section {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 24px;
}
.editor-intro {
  margin-bottom: 17px;
}
.editor-intro h3 {
  font-size: 19px;
  margin: 0 0 4px;
}
.editor-intro p,
.muted {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.admin-form > label,
.rich-editor-dialog > label {
  display: grid;
  gap: 6px;
  color: #33435d;
  font-size: 12px;
  font-weight: 700;
}
.admin-form > label:nth-child(3),
.admin-form > label:nth-child(4),
.admin-form > label:nth-child(5),
.admin-form > label:nth-child(6),
.admin-form > label:nth-child(7),
.admin-form > h4,
.admin-form > fieldset,
.admin-form > .rich-editor,
.admin-form > .editor-toolbar {
  grid-column: 1 / -1;
}
.admin-form input,
.admin-form textarea,
.admin-form select,
.simple-form input,
.rich-editor-dialog input {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  color: #172641;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}
.admin-form input[type=color] {
  width: 75px;
  padding: 4px;
}
.admin-form textarea {
  resize: vertical;
}
.admin-form small,
.setup-hint {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.admin-form > h4 {
  margin: 6px 0 -6px;
  font-size: 15px;
}
.feature-editor {
  display: grid;
  grid-template-columns: .55fr 1fr 1.5fr;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.feature-editor legend {
  padding: 0 5px;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
}
.feature-editor label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
}
.feature-editor input,
.feature-editor textarea {
  width: 100%;
  min-height: 35px;
}
.feature-editor textarea {
  resize: vertical;
}
.admin-form > button[type=submit] {
  justify-self: start;
}
.compact-form {
  max-width: 640px;
  margin-bottom: 24px;
}
.compact-form > label:nth-child(3),
.compact-form > label:nth-child(4) {
  grid-column: auto;
}
.admin-list {
  display: grid;
  margin-top: 20px;
}
.admin-list > article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 55px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.menu-items-form {
  display: grid;
  gap: 12px;
}
.menu-items-list {
  display: grid;
  gap: 9px;
}
.menu-item-row,
.menu-item-add {
  display: grid;
  grid-template-columns: minmax(130px, .75fr) minmax(200px, 1.25fr) auto;
  align-items: end;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px;
}
.menu-item-row label,
.menu-item-add label {
  display: grid;
  gap: 5px;
  color: #33435d;
  font-size: 11px;
  font-weight: 700;
}
.menu-item-row input,
.menu-item-add input {
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
  color: #172641;
  font-size: 12px;
}
.menu-item-row .list-actions {
  min-height: 38px;
}
.menu-item-row button:disabled {
  opacity: .45;
  cursor: default;
}
.menu-item-add {
  border-style: dashed;
}
.dark-theme .menu-item-row label,
.dark-theme .menu-item-add label {
  color: #c7d2e2;
}
.dark-theme .menu-item-row input,
.dark-theme .menu-item-add input {
  background: #101c30;
  border-color: #3a4e6b;
  color: #edf3ff;
}
.admin-list > article > div:first-child {
  min-width: 0;
}
.admin-list strong,
.admin-list small {
  display: block;
}
.admin-list strong {
  font-size: 13px;
}
.admin-list small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.list-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
  gap: 5px;
}
.list-actions button,
.admin-list > article > button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--accent);
  padding: 7px 9px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}
.list-actions .danger-button,
.admin-list .danger-button {
  color: #d63254;
}
.admin-class-item {
  justify-content: start !important;
  flex-wrap: wrap;
}
.admin-class-color {
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  height: 35px;
  border-radius: 9px;
  color: white;
  background: var(--class-color);
  font-size: 18px;
}
.class-task-list {
  flex: 0 0 100%;
  display: grid;
  margin: 6px 0 0 47px;
}
.class-task-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.admin-class-info {
  flex: 1;
}
.page-manager > .button {
  margin-bottom: 5px;
}
.login-panel {
  max-width: 430px;
  margin: 16px auto;
  text-align: center;
  padding: 20px;
}
.login-shield {
  display: block;
  font-size: 42px;
  margin-bottom: 10px;
}
.login-panel > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 auto 22px;
  max-width: 350px;
}
.login-panel .admin-form {
  grid-template-columns: 1fr;
  text-align: left;
}
.login-panel .admin-form > small {
  text-align: center;
}
.login-panel .button {
  width: 100%;
  margin-top: 3px;
}
.login-panel .setup-hint {
  margin-top: 20px;
}
.rich-editor {
  min-height: 130px;
  width: 100%;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  line-height: 1.55;
  color: #172641;
  font-size: 13px;
  font-weight: 400;
  overflow-y: auto;
}
.rich-editor:empty::before {
  content: "Wpisz tre\15b\107\2026";
  color: #97a4b8;
}
.rich-editor-dialog {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 20px;
}
.rich-editor-dialog .rich-editor {
  margin-top: 8px;
}
.editor-toolbar {
  display: flex;
  gap: 4px;
  margin-top: -8px;
}
.editor-toolbar button {
  min-height: 31px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 9px;
  color: #33435d;
  background: var(--surface);
  cursor: pointer;
  font-size: 11px;
}
.editor-color-control {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 31px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #33435d;
  background: var(--surface);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}
.editor-color-control input {
  width: 25px;
  height: 23px;
  padding: 1px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.dialog-actions {
  display: flex;
  justify-content: end;
  gap: 8px;
  margin-top: 10px;
}
.admin-form .dialog-actions {
  grid-column: 1 / -1;
}
.content-dialog .admin-form {
  grid-template-columns: 1fr;
}
.content-dialog .admin-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}
.toast-region {
  position: fixed;
  z-index: 60;
  bottom: 22px;
  right: 22px;
  max-width: min(420px, calc(100vw - 44px));
}
.toast {
  padding: 14px 17px;
  border-radius: 11px;
  background: #172b49;
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
  animation: toast-in .25s ease both;
}
.toast-error {
  background: #a92b42;
}
.connection-message {
  position: relative;
  z-index: 10;
  padding: 9px 22px;
  text-align: center;
  color: #624814;
  background: #fff4d3;
  font-size: 12px;
}
.connection-message.error {
  color: #8d1f2e;
  background: #fff0f1;
}
.connection-message[hidden] {
  display: none;
}
.dark-theme {
  --surface: #152239;
  --surface-soft: #111d31;
  --line: #2b3d57;
  --muted: #b1bed0;
  color: #edf3ff;
}
.dark-theme .section-heading h2,
.dark-theme .feature-card h3,
.dark-theme .material-copy h3,
.dark-theme .news-card h3,
.dark-theme .empty-state h3 {
  color: #edf3ff;
}
.dark-theme .hero {
  background:
    linear-gradient(
      112deg,
      #1a2d48,
      #233956 55%,
      #254568);
}
.dark-theme .hero h1 {
  color: #f4f7ff;
}
.dark-theme .hero-copy > p:not(.hero-note) {
  color: #c1cee0;
}
.dark-theme .button-light {
  color: #edf3ff;
  background: #263954;
  border-color: #384c69;
}
.dark-theme .feature-card p,
.dark-theme .material-copy p,
.dark-theme .news-body,
.dark-theme .news-card p {
  color: var(--muted);
}
.dark-theme .feature-icon {
  background: #223653;
}
.dark-theme .material-card,
.dark-theme .news-card,
.dark-theme .empty-state {
  background: #1b2b44;
  border-color: var(--line);
}
.dark-theme .class-card {
  filter: saturate(.9) brightness(.92);
}
.dark-theme .content-dialog,
.dark-theme .admin-dialog {
  background: #152239;
  color: #edf3ff;
}
.dark-theme .admin-form input,
.dark-theme .admin-form textarea,
.dark-theme .admin-form select,
.dark-theme .simple-form input,
.dark-theme .rich-editor,
.dark-theme .rich-editor-dialog input,
.dark-theme .work-plan-admin-form textarea {
  background: #101c30;
  border-color: #3a4e6b;
  color: #edf3ff;
}
.dark-theme .work-plan-admin-form label {
  color: #edf3ff;
}
.dark-theme .admin-form > label {
  color: #c7d2e2;
}
.dark-theme .task-detail {
  background: #1b2b44;
}
.dark-theme .list-actions button,
.dark-theme .admin-list > article > button,
.dark-theme .editor-toolbar button {
  background: #1b2b44;
  border-color: var(--line);
  color: #a9cfff;
}
.editor-size-control {
  min-height: 31px;
  width: auto;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #33435d;
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
}
.dark-theme .editor-size-control {
  background: #1b2b44;
  border-color: var(--line);
  color: #a9cfff;
}
.dark-theme .editor-color-control {
  background: #1b2b44;
  border-color: var(--line);
  color: #a9cfff;
}
.dark-theme .list-actions .danger-button,
.dark-theme .admin-list .danger-button {
  color: #ff9eae;
}
.dark-theme .dialog-close {
  color: #d5dfed;
  background: #293d59;
}
.dark-theme .promise-cards article {
  background: #1b2b44;
  color: #edf3ff;
  border-color: #354b69;
}
.dark-theme .promise-cards p {
  color: #c0ccdd;
}
.dark-theme .hero-bottom-wave {
  background: var(--surface);
}
@keyframes bob {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}
@keyframes float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -5px;
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
@media (min-width: 1450px) {
  #app {
    max-width: 1700px;
    margin: auto;
    box-shadow: 0 0 50px rgb(11 34 69 / 5%);
  }
}
@media (min-width: 761px) and (max-width: 950px) {
  .hero {
    min-height: 350px;
    padding-top: 24px;
    padding-bottom: 31px;
  }
  .hero-art {
    min-height: 265px;
    max-height: 330px;
  }
  .hero-copy > p:not(.hero-note) {
    font-size: 13px;
  }
  .hero-note {
    font-size: 14px;
  }
}
@media (max-width: 1020px) {
  .topbar {
    gap: 16px;
  }
  .main-nav {
    gap: 14px;
  }
  .safety-badge {
    padding: 6px 8px;
  }
  .hero {
    grid-template-columns: 42% 1fr;
  }
  .hero-art {
    transform: scale(.93);
    transform-origin: center right;
    margin-left: -10px;
  }
  .feature-card {
    gap: 9px;
    padding: 5px 10px;
  }
  .feature-icon {
    flex-basis: 53px;
    height: 53px;
  }
  .inspiration-band {
    grid-template-columns: 27% 18% 1fr;
  }
  .promise-cards article {
    gap: 7px;
    padding: 12px 8px;
  }
}
@media (min-width: 761px) and (max-width: 900px) {
  .topbar {
    gap: 14px;
  }
  .menu-toggle {
    display: block;
    order: 2;
  }
  .topbar-actions {
    order: 3;
    gap: 9px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    height: auto;
    margin: 0;
    padding: 10px 24px 17px;
    background: var(--navy);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 14px 20px rgb(12 22 43 / 16%);
  }
  .main-nav.menu-open {
    display: flex;
  }
  .main-menu-items {
    display: flex;
    flex-direction: column;
  }
  .main-menu-items a,
  #page-links a {
    height: auto;
    padding: 11px 4px;
    font-size: 13px;
  }
  #page-links {
    display: flex;
    flex-direction: column;
  }
  .main-menu-items a.active::after {
    bottom: 5px;
    right: auto;
    width: 40px;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 66px;
    padding: 0 18px;
    justify-content: space-between;
  }
  .brand strong {
    font-size: 14px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    order: 2;
  }
  .topbar-actions {
    order: 3;
    gap: 8px;
  }
  .icon-button {
    font-size: 20px;
  }
  .safety-badge {
    padding: 6px;
  }
  .safety-badge > span:first-child {
    font-size: 17px;
  }
  .safety-badge > span:last-child {
    display: none;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    height: auto;
    margin: 0;
    padding: 10px 17px 17px;
    background: var(--navy);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 14px 20px rgb(12 22 43 / 16%);
  }
  .main-nav.menu-open {
    display: flex;
  }
  .main-menu-items {
    display: flex;
    flex-direction: column;
  }
  .main-menu-items a,
  #page-links a {
    height: auto;
    padding: 11px 4px;
    font-size: 13px;
  }
  #page-links {
    display: flex;
    flex-direction: column;
  }
  .main-menu-items a.active::after {
    bottom: 5px;
    right: auto;
    width: 40px;
  }
  .hero {
    min-height: 395px;
    grid-template-columns: 1fr;
    padding: 36px 24px 28px;
  }
  .hero-copy {
    max-width: 520px;
  }
  .hero h1 {
    font-size: clamp(38px, 7vw, 52px);
    margin-top: 12px;
  }
  .hero-copy > p:not(.hero-note) {
    max-width: 410px;
    font-size: 14px;
    margin-bottom: 15px;
  }
  .hero-buttons {
    gap: 8px;
  }
  .button {
    min-height: 41px;
    font-size: 12px;
    padding: 0 13px;
  }
  .hero-note {
    display: none;
  }
  .hero-art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 74%;
    min-height: auto;
    opacity: .64;
    transform: scale(.78);
    transform-origin: bottom right;
  }
  .hero-bottom-wave {
    bottom: -42px;
  }
  .section-wrap {
    padding: 30px 20px;
  }
  .section-heading {
    margin-bottom: 16px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .text-link {
    font-size: 10px;
  }
  .class-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }
  .class-card {
    min-height: 132px;
  }
  .class-card strong {
    font-size: 15px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }
  .feature-card {
    padding: 5px 10px;
    border-right: 0;
  }
  .feature-card:nth-child(odd) {
    padding-left: 0;
  }
  .feature-icon {
    flex-basis: 51px;
    height: 51px;
    font-size: 22px;
  }
  .feature-card h3 {
    font-size: 13px;
  }
  .feature-card p {
    font-size: 10px;
  }
  .material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .material-card {
    padding: 11px;
    gap: 9px;
  }
  .file-icon {
    flex-basis: 36px;
    height: 40px;
    font-size: 20px;
  }
  .material-copy h3 {
    font-size: 12px;
  }
  .material-copy p {
    font-size: 10px;
  }
  .download-button {
    width: 31px;
    height: 31px;
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .it-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inspiration-band {
    min-height: 250px;
    grid-template-columns: 32% 1fr;
    align-items: start;
    padding: 21px 16px;
  }
  .mountain-art {
    width: 40%;
  }
  .inspiration-note {
    grid-column: 2;
    margin: 11px 0 18px 14px;
    font-size: 18px;
  }
  .promise-cards {
    grid-column: 1 / -1;
    gap: 6px;
    align-self: end;
  }
  .promise-cards article {
    flex-direction: column;
    align-items: flex-start;
    min-height: 95px;
    padding: 10px;
  }
  .promise-cards h3 {
    font-size: 10px;
  }
  .promise-cards p {
    font-size: 8px;
  }
  .promise-icon {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
    font-size: 19px;
  }
  .footer {
    flex-wrap: wrap;
    padding: 13px 18px;
  }
  .footer > p {
    order: 3;
    flex-basis: 100%;
  }
  .footer-links {
    gap: 11px;
    font-size: 9px;
  }
}
@media (max-width: 480px) {
  .hero {
    min-height: 360px;
    padding: 30px 19px 23px;
  }
  .hero h1 {
    font-size: 39px;
    letter-spacing: -2px;
  }
  .hero-copy > .eyebrow {
    font-size: 10px;
  }
  .hero-copy > p:not(.hero-note) {
    max-width: 290px;
    font-size: 12px;
  }
  .hero-art {
    width: 75%;
    height: 65%;
    transform: scale(.69);
    opacity: .46;
  }
  .button {
    min-height: 39px;
    font-size: 11px;
  }
  .section-wrap {
    padding: 26px 16px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .text-link {
    font-size: 0;
    padding-top: 8px;
  }
  .text-link > span:first-child {
    display: none;
  }
  .text-link > span:last-child {
    font-size: 21px;
  }
  .class-grid {
    gap: 7px;
  }
  .class-card {
    min-height: 117px;
    border-radius: 10px;
    padding: 10px 4px;
  }
  .class-icon {
    font-size: 27px;
    height: 34px;
  }
  .class-card strong {
    font-size: 13px;
  }
  .class-summary {
    font-size: 9px;
  }
  .class-arrow {
    width: 24px;
    height: 24px;
    font-size: 21px;
    margin-top: 3px;
  }
  .feature-grid {
    column-gap: 7px;
    row-gap: 15px;
  }
  .feature-card {
    gap: 7px;
    padding-right: 3px;
  }
  .feature-icon {
    flex-basis: 42px;
    height: 42px;
    font-size: 18px;
  }
  .feature-card h3 {
    font-size: 11px;
  }
  .feature-card p {
    font-size: 9px;
  }
  .material-grid,
  .news-grid,
  .it-news-grid {
    grid-template-columns: 1fr;
  }
  .material-card {
    padding: 13px;
  }
  .news-card {
    padding: 15px;
  }
  .it-news-feed-row,
  .it-news-add-feed {
    grid-template-columns: 1fr;
  }
  .it-news-feed-list,
  .it-news-add-feed {
    grid-column: 1;
  }
  .inspiration-band {
    grid-template-columns: 25% 1fr;
    min-height: 236px;
    padding: 17px 11px;
  }
  .mountain-art {
    width: 35%;
  }
  .promise-cards {
    gap: 4px;
  }
  .promise-cards article {
    min-height: 100px;
    padding: 8px 6px;
    gap: 5px;
  }
  .promise-cards h3 {
    font-size: 9px;
  }
  .promise-cards p {
    font-size: 7px;
  }
  .promise-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 17px;
  }
  .footer {
    gap: 8px;
  }
  .footer-links {
    gap: 9px;
  }
  .footer-links a {
    max-width: 94px;
  }
  .admin-dialog {
    padding: 25px 16px;
  }
  .admin-tabs {
    gap: 2px;
  }
  .admin-tabs button {
    padding: 8px 7px;
    font-size: 10px;
  }
  .admin-form {
    grid-template-columns: 1fr;
  }
  .admin-form > label,
  .admin-form > h4,
  .admin-form > fieldset,
  .admin-form > .rich-editor,
  .admin-form > .editor-toolbar {
    grid-column: 1;
  }
  .feature-editor {
    grid-template-columns: 1fr;
  }
  .admin-list > article {
    align-items: flex-start;
    flex-direction: column;
  }
  .menu-item-row,
  .menu-item-add {
    grid-template-columns: 1fr;
  }
  .class-task-list {
    margin-left: 0;
  }
  .class-task-list > div {
    width: 100%;
    flex-wrap: wrap;
  }
  .list-actions {
    justify-content: start;
  }
}
@media (max-width: 350px) {
  .topbar {
    padding: 0 12px;
    gap: 8px;
  }
  .brand small {
    display: none;
  }
  .topbar-actions {
    gap: 5px;
  }
  .icon-button {
    display: none;
  }
}
.hero-art {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  max-height: none;
  min-height: 0;
}
.hero-art img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 14%);
  mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 14%);
}
.mountain-art {
  background: none;
}
.mountain-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 78%;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      #000 78%,
      transparent);
  mask-image:
    linear-gradient(
      90deg,
      #000 78%,
      transparent);
}
@media (max-width: 760px) {
  .hero {
    padding-bottom: 0;
    min-height: 0;
    align-content: start;
  }
  .hero-art,
  .hero-art:is(*) {
    position: relative;
    width: calc(100% + 48px);
    height: auto;
    margin: 18px -24px 0;
    opacity: 1;
    transform: none;
  }
  .hero-art img {
    -webkit-mask-image:
      linear-gradient(
        90deg,
        transparent,
        #000 9%);
    mask-image:
      linear-gradient(
        90deg,
        transparent,
        #000 9%);
  }
}
.class-view {
  min-height: 60vh;
  background: var(--surface-soft);
  padding-bottom: 60px;
}
.class-hero {
  --class-color: var(--accent);
  padding: 26px clamp(20px, 5vw, 72px) 34px;
  background:
    linear-gradient(
      120deg,
      var(--class-color),
      color-mix(in srgb, var(--class-color) 60%, #0b1b3a));
  color: #fff;
}
.class-hero-plain {
  background: var(--navy);
}
.back-link {
  display: inline-block;
  color: #fff;
  opacity: .9;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 16%);
  transition: background .2s, transform .2s;
}
.back-link:hover {
  background: rgb(255 255 255 / 28%);
  transform: translateX(-3px);
}
.class-hero-main {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.class-hero-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: rgb(255 255 255 / 20%);
  font-size: 38px;
}
.class-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}
.class-hero p {
  margin: 0 0 12px;
  opacity: .92;
  max-width: 60ch;
}
.class-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.class-stats span {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgb(0 0 0 / 22%);
  font-size: 13px;
  font-weight: 700;
}
.class-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 28px auto 0;
  padding: 0 clamp(16px, 4vw, 32px);
  align-items: start;
}
.class-layout > .class-content:only-child {
  grid-column: 1 / -1;
}
.class-toc {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.class-toc strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
  padding: 0 8px 6px;
}
.class-toc button {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: 600 14px inherit;
  cursor: pointer;
  transition: background .15s;
}
.class-toc button:hover,
.class-toc button:focus-visible {
  background: var(--surface-soft);
}
.class-toc b {
  color: var(--accent);
}
.class-content {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.class-block {
  scroll-margin-top: 90px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px clamp(14px, 3vw, 26px);
  box-shadow: var(--shadow);
  animation: classRise .4s ease both;
}
.class-block h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 21px;
}
.class-block h2 small {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.class-block h2 > span {
  color: var(--accent);
}
.resource-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.resource-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  transition: transform .2s, border-color .2s;
}
.resource-row:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.resource-type {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.resource-copy {
  flex: 1;
  min-width: 0;
}
.resource-copy strong {
  display: block;
  overflow-wrap: anywhere;
}
.resource-copy p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.resource-copy small {
  color: var(--muted);
  font-size: 12px;
}
.resource-download {
  flex: none;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 700 14px inherit;
  cursor: pointer;
  transition: transform .2s, filter .2s;
}
.resource-download:hover {
  filter: brightness(1.1);
  transform: scale(1.04);
}
.resource-downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.task-cards {
  display: grid;
  gap: 14px;
}
.task-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.task-card h3 {
  margin: 0 0 6px;
}
.task-card .resource-download {
  margin-top: 10px;
}
@keyframes classRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .class-block {
    animation: none;
  }
}
@media (max-width: 860px) {
  .class-layout {
    grid-template-columns: 1fr;
  }
  .class-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .class-toc strong {
    width: 100%;
  }
  .class-toc button {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
  }
}
@media (max-width: 560px) {
  .class-hero-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
    border-radius: 16px;
  }
  .resource-row {
    flex-wrap: wrap;
  }
  .resource-download {
    width: 100%;
  }
}
.section-admin {
  margin: 18px 0;
  display: grid;
  gap: 10px;
}
.section-admin h4 {
  margin: 0;
}
.section-admin-class {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.section-admin-class header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.section-admin-class ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.section-admin-class li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.list-actions select {
  max-width: 170px;
}
.it-news-feed-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}
.it-news-feed-row {
  display: grid;
  grid-template-columns: minmax(140px, .7fr) minmax(220px, 1.5fr) auto auto;
  align-items: end;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}
.it-news-feed-row label,
.it-news-add-feed label {
  display: grid;
  gap: 6px;
  color: #33435d;
  font-size: 11px;
  font-weight: 700;
}
.it-news-feed-enabled {
  display: flex !important;
  min-height: 40px;
  align-items: center;
  gap: 7px !important;
  white-space: nowrap;
}
.it-news-feed-enabled input {
  width: auto;
  min-height: auto;
}
.it-news-feed-row .danger-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 10px;
  background: var(--surface);
  color: #d63254;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}
.it-news-add-feed {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(140px, .7fr) minmax(220px, 1.5fr) auto;
  align-items: end;
  gap: 10px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 10px;
}
.material-form {
  grid-template-columns: 1fr;
  max-width: 760px;
}
.material-form > * {
  grid-column: 1 / -1 !important;
}
.material-rich {
  min-height: 180px;
  resize: vertical;
}
.editor-toolbar {
  flex-wrap: wrap;
  margin-top: -6px;
}
.editor-toolbar button {
  min-width: 32px;
  transition: background .15s, border-color .15s;
}
.editor-toolbar button:hover {
  border-color: var(--accent);
  background: var(--surface-soft);
}
.rich-editor h2,
.rich-content h2 {
  font-size: 1.25em;
  margin: 14px 0 6px;
}
.rich-editor h3,
.rich-content h3 {
  font-size: 1.08em;
  margin: 12px 0 6px;
}
.rich-editor blockquote {
  border-left: 3px solid #2f6fe4;
  margin: 8px 0;
  padding-left: 10px;
  color: #566782;
}
.rich-editor ul,
.rich-editor ol {
  padding-left: 22px;
}
.resource-row.has-body {
  padding: 0;
  align-items: stretch;
}
.resource-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 8px 12px 14px;
  color: inherit;
  text-decoration: none;
}
.resource-row.has-body > .resource-downloads {
  align-self: center;
  margin: 10px 14px 10px 0;
}
.resource-row.has-body .resource-copy > strong {
  font-size: 17px;
}
.resource-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.resource-more {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}
.resource-link:hover .resource-more,
.resource-link:focus-visible .resource-more {
  text-decoration: underline;
}
.resource-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: 14px;
}
.task-page {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}
.task-page-body {
  font-size: 17px;
  line-height: 1.75;
}
.task-page-download {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.task-page-download small {
  display: block;
  color: var(--muted);
}
@media (max-width: 560px) {
  .resource-row.has-body {
    flex-wrap: wrap;
  }
  .resource-row.has-body > .resource-downloads {
    margin: 0 14px 14px;
    width: calc(100% - 28px);
  }
  .resource-downloads .resource-download {
    width: 100%;
  }
}
#app {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
#app > main {
  flex: 0 0 auto;
}
#app > .footer {
  margin-top: auto;
}
.material-group {
  margin-top: 18px;
}
.material-group h4 {
  margin: 0 0 2px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--surface);
  color: #172641;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.material-group h4 small {
  font-weight: 600;
  color: #6b7a90;
}
.material-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}
a.material-link:hover .material-copy h3 {
  color: var(--accent);
}
@media (max-width: 760px) {
  .material-link {
    gap: 9px;
  }
}
@media (max-width: 560px) {
  .material-downloads {
    flex-direction: column;
  }
}
a.news-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.news-card:hover,
a.news-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
a.news-card:hover .resource-more {
  text-decoration: underline;
}
.news-hero {
  --class-color: #368dee;
}
@media (min-width: 761px) {
  .inspiration-band {
    min-height: 290px;
  }
  .mountain-art {
    width: 40%;
  }
  .mountain-art img {
    object-position: 40% 55%;
  }
}
@media (min-width: 761px) {
  .hero-art img {
    max-height: none;
    object-fit: contain;
    object-position: center;
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 22px;
  }
}
