:root {
  --ink: #2c3042;
  --muted: #777b8f;
  --line: #eee8ec;
  --paper: #ffffff;
  --canvas: #fcfaf8;
  --pink: #ee8ab5;
  --purple: #b6a7de;
  --blue: #86aee2;
  --sky: #93d2dc;
  --yellow: #efd98d;
  --green: #9bd2b3;
  --shadow: 0 10px 26px rgba(88, 78, 103, 0.07);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  background: #fcfaf8;
  color: var(--ink);
  font-family: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}

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

.app-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid rgba(64, 55, 40, 0.12);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 18px;
  color: #7e3d62;
  font-weight: 700;
  background: #ffe4ee;
  box-shadow: inset 0 -3px 0 rgba(238, 138, 181, 0.18);
}

.brand strong, .brand span { display: block; }
.brand span { color: var(--muted); font-size: 12px; margin-top: 3px; }

.role-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  gap: 4px;
  background: #f4eef4;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.role-pill {
  border: 0;
  border-radius: 6px;
  padding: 9px 7px;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}

.role-pill.active { color: var(--ink); background: var(--paper); box-shadow: 0 5px 14px rgba(78, 69, 130, 0.09); }

.nav-list { display: grid; gap: 5px; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  padding: 11px 12px;
  background: transparent;
  color: #4b5852;
  text-align: left;
  font-weight: 500;
}

.nav-item.active, .nav-item:hover { background: #fff; color: var(--ink); box-shadow: 0 7px 18px rgba(78, 69, 130, 0.08); }
.nav-icon { width: 25px; text-align: center; }

.foundation-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.foundation-card span { display: block; color: var(--pink); font-weight: 700; font-size: 11px; text-transform: uppercase; margin-bottom: 6px; }
.foundation-card strong { display: block; font-size: 12px; line-height: 1.45; }

.main { min-width: 0; max-width: 100%; padding: 26px clamp(18px, 3vw, 42px) 46px; }

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

h1 { margin: 0; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.1; font-weight: 600; letter-spacing: 0; }
h2 { margin: 0; font-size: 21px; line-height: 1.18; font-weight: 600; letter-spacing: 0; }
h3 { margin: 0; font-size: 16px; line-height: 1.25; font-weight: 600; letter-spacing: 0; }
p { line-height: 1.5; }

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.year-select, .chip, .action-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-weight: 500;
}

.child-selector { display: flex; gap: 6px; padding: 4px; border-radius: var(--radius); background: #f4eef4; }
.chip { border: 0; background: transparent; color: var(--muted); }
.chip.active { background: var(--paper); color: var(--ink); box-shadow: 0 5px 14px rgba(52, 43, 30, 0.08); }

.view { display: grid; gap: 18px; min-width: 0; }

.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid.auto { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card, .panel {
  min-width: 0;
  border: 1px solid rgba(87, 75, 55, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.card { padding: 18px; }
.panel { padding: 20px; }

.child-card {
  display: grid;
  gap: 16px;
  min-height: 282px;
  overflow: hidden;
  position: relative;
}

.child-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent);
}

.child-header, .split-row, .section-title, .metric-row, .timeline-item, .teacher-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 600;
  background: color-mix(in srgb, var(--accent) 70%, #fff);
  overflow: hidden;
  flex: 0 0 auto;
  line-height: 1;
  text-align: center;
  position: relative;
}

.avatar.large {
  width: 68px;
  height: 68px;
  font-size: 22px;
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.avatar:has(img) .avatar-initial {
  opacity: 0;
}

.avatar-initial {
  position: relative;
  z-index: 0;
}

.avatar-picker {
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--line);
  position: relative;
}

.avatar-picker:hover {
  box-shadow: 0 0 0 2px var(--accent), 0 8px 18px rgba(31, 38, 68, 0.14);
}

.avatar-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.people-list { display: grid; gap: 6px; }

.profile-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.photo-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.photo-button input { display: none; }

.photo-button span, .ghost-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
}

.photo-button span {
  background: var(--ink);
  color: #fff;
}

.ghost-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.ghost-button.compact {
  min-height: 30px;
  padding: 6px 9px;
}

.muted { color: var(--muted); }
.small { font-size: 12px; }
.strong { font-weight: 600; }

.doodle-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.95), transparent 30%),
    color-mix(in srgb, var(--accent, var(--pink)) 18%, #fff);
  color: color-mix(in srgb, var(--accent, var(--pink)) 74%, #55465b);
  box-shadow: inset 0 -3px 0 rgba(92, 72, 105, 0.06), 0 7px 16px rgba(88, 78, 103, 0.08);
}

.doodle-icon svg {
  width: 29px;
  height: 29px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.doodle-icon.tiny {
  width: 28px;
  height: 28px;
  border-radius: 12px;
  margin-right: 7px;
  vertical-align: middle;
}

.doodle-icon.tiny svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.8;
}

.doodle-icon.on-color {
  width: 46px;
  height: 46px;
  margin-right: 10px;
  background: rgba(255,255,255,0.9);
  color: var(--accent);
}

.mini-class-icon {
  display: inline-flex;
  align-items: center;
}

.metric {
  min-height: 92px;
  padding: 15px;
  border-radius: var(--radius);
  background: #fbfaff;
  border: 1px solid rgba(116, 93, 215, 0.1);
}

.metric strong { display: block; font-size: 24px; line-height: 1; margin-bottom: 8px; font-weight: 600; }
.metric span { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; }

.progress {
  width: 100%;
  height: 10px;
  border-radius: 99px;
  background: #ebe7fb;
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  width: var(--value);
  background: var(--accent, var(--sage));
  border-radius: inherit;
}

.timeline {
  display: grid;
  gap: 10px;
  position: relative;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 12px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 4px;
}

.day-column {
  min-width: 190px;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.day-column h3 {
  text-align: center;
  color: #2a3150;
  font-size: 15px;
  text-transform: none;
  font-weight: 600;
}

.timeline-item {
  align-items: stretch;
  padding: 13px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.time { min-width: 90px; color: var(--muted); font-weight: 600; font-size: 13px; }
.timeline-main { flex: 1; }
.timeline-main h3 {
  display: flex;
  align-items: center;
  gap: 0;
}
.timeline-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }

.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 600;
}

.icon-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(58, 45, 27, 0.12); }

.attention-list, .insight-list, .foundation-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.attention-list li, .insight-list li, .foundation-list li {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  background: #fbf5ff;
  color: #35413b;
  font-weight: 600;
}

.subject-card {
  display: grid;
  gap: 13px;
  min-height: 266px;
}

.subject-top { display: flex; align-items: center; gap: 11px; }
.subject-top strong, .subject-top span { display: block; }
.subject-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: var(--accent); color: #fff; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 7px 10px;
  background: #f2eeff;
  color: #4d5b54;
  font-size: 12px;
  font-weight: 600;
  white-space: normal;
}

.unit-list { display: grid; gap: 9px; }
.unit-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 92px 88px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.7);
}

.mastery-list { display: grid; gap: 9px; }
.mastery-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mastery-row:last-child { border-bottom: 0; }
.mastery-state { font-weight: 700; color: var(--accent); }

.quick-form {
  display: grid;
  grid-template-columns: 1fr 88px 88px auto;
  gap: 9px;
  align-items: end;
}

.grade-form {
  grid-template-columns: repeat(2, minmax(120px, 160px)) minmax(170px, 1fr) 86px 86px minmax(160px, 1fr) auto;
  align-items: center;
  margin: 14px 0 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.grade-form input,
.grade-form select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 10px;
  background: #fff;
}

.field { display: grid; gap: 6px; }
.field span { font-size: 11px; color: var(--muted); text-transform: uppercase; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #fff;
}

.action-button {
  border-color: transparent;
  background: var(--ink);
  color: white;
}

.library-section {
  display: grid;
  gap: 15px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.library-section.panel {
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(87, 75, 55, 0.12);
}

.library-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.library-head p {
  margin: 4px 0 0;
}

.add-material-button {
  min-width: 142px;
  background: linear-gradient(135deg, var(--ink), color-mix(in srgb, var(--accent) 54%, var(--ink)));
  box-shadow: 0 10px 22px rgba(41, 45, 63, 0.13);
}

.material-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) minmax(180px, 1fr) minmax(160px, .8fr) minmax(170px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.86)),
    color-mix(in srgb, var(--accent) 8%, #fff);
}

.material-form[hidden] {
  display: none;
}

.library-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  gap: 12px;
  align-items: end;
}

.library-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.library-tab {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.82);
  color: #444b5e;
  font-size: 13px;
  font-weight: 600;
}

.library-tab.active {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(78, 69, 130, 0.08);
}

.library-tab span {
  min-width: 22px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
}

.library-search {
  display: grid;
  gap: 6px;
}

.library-search span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.library-search input,
.material-actions select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 10px;
  background: #fff;
  color: var(--ink);
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.material-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82)),
    color-mix(in srgb, var(--accent) 7%, #fff);
  box-shadow: 0 8px 18px rgba(78, 69, 130, 0.06);
}

.image-material-card {
  padding: 10px;
}

.material-open {
  min-width: 0;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.image-preview-button {
  cursor: pointer;
}

.material-preview {
  position: relative;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 12%, white);
}

.material-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-material-card .material-open {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.image-material-card .material-preview {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  background: #fbfaf7;
}

.image-material-card .material-preview img {
  object-fit: contain;
  background: #fbfaf7;
}

.image-material-card .material-title-sticker {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  padding: 6px 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(41, 45, 63, 0.14);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.missing-image-preview {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #687085;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28)),
    color-mix(in srgb, var(--accent) 18%, #f7f3fb);
}

.missing-image-card .material-open {
  cursor: default;
}

.image-material-card .material-copy strong {
  display: none;
}

.material-preview strong {
  margin-top: -2px;
  color: #4b5262;
  font-size: 11px;
  font-weight: 700;
}

.material-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.material-copy strong {
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.22;
  font-weight: 600;
}

.material-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.material-actions {
  display: grid;
  grid-template-columns: auto minmax(94px, 1fr) auto;
  gap: 7px;
  align-items: center;
}

.material-actions select {
  min-height: 30px;
  padding: 5px 8px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.library-empty {
  grid-column: 1 / -1;
}

.bookshelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
}

.book {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(160deg, var(--accent), #3d4cff);
  box-shadow: 0 16px 32px rgba(75, 75, 150, 0.18);
}

.book strong { font-size: 14px; line-height: 1.25; }
.reward-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
}

.milestone {
  display: grid;
  place-items: center;
  min-height: 210px;
  color: #75415b;
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.78), transparent 26%),
    linear-gradient(135deg, #ffe2ee, #fff4c8 52%, #e9f8fb);
}

.milestone strong { font-size: 34px; font-weight: 600; }

.report {
  background: #fff;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.report-table { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.report-row { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 0; border-bottom: 1px solid var(--line); }
.report-row:last-child { border-bottom: 0; }
.report-row > div { padding: 11px; border-right: 1px solid var(--line); }
.report-row > div:last-child { border-right: 0; }
.report-row.header { background: #f7f2f6; font-weight: 700; }

.student-hero {
  display: grid;
  grid-template-columns: 1fr minmax(230px, 340px);
  gap: 18px;
  align-items: stretch;
}

.student-banner {
  min-height: 260px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 33, 29, .18), rgba(23, 33, 29, .42)),
    linear-gradient(135deg, var(--accent), #d29b66 52%, #607d94);
}

.student-banner h2 { font-size: clamp(32px, 5vw, 58px); }
.student-banner p { max-width: 620px; margin: 0; font-size: 17px; }

.my-day {
  display: grid;
  gap: 14px;
}

.my-day-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(239, 232, 236, 0.96);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.86)),
    linear-gradient(135deg, #ffe9f2, #fff8e4 58%, #eef9fb);
  box-shadow: var(--shadow);
}

.student-greeting {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.student-greeting h2 {
  font-family: "Patrick Hand", "Quicksand", system-ui, sans-serif;
  font-size: clamp(34px, 4.8vw, 50px);
  line-height: 1.05;
  font-weight: 400;
  color: #5a4255;
}

.student-greeting p:last-child {
  margin: 8px 0 0;
  color: #555a6d;
  font-size: 16px;
  font-weight: 400;
}

.student-day-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(112px, 1fr));
  gap: 12px;
  align-items: stretch;
  width: 100%;
  margin-top: 18px;
}

.student-day-tile {
  min-height: 152px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(247, 193, 205, 0.72);
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.74)),
    color-mix(in srgb, var(--tile) 38%, #ffe0e6);
  color: #272536;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(142, 86, 107, 0.11);
  position: relative;
  overflow: hidden;
}

.student-day-tile.lesson {
  min-height: 140px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.student-day-tile::after {
  content: "";
  position: absolute;
  inset: auto -18px -26px auto;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.student-day-art {
  align-self: center;
  display: grid;
  place-items: center;
  width: 76px;
  height: 70px;
  position: relative;
  z-index: 1;
}

.student-day-icon {
  width: 66px;
  height: 66px;
  border-color: rgba(53, 49, 66, 0.14);
  background: rgba(255,255,255,0.68);
  color: color-mix(in srgb, var(--tile) 58%, #4d3b55);
  box-shadow: inset 0 -4px 0 rgba(46, 43, 57, 0.05), 0 8px 18px rgba(75, 63, 92, 0.08);
}

.student-day-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.student-day-copy small {
  color: rgba(54, 49, 65, 0.66);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.student-day-copy strong {
  color: #231f2b;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.student-day-tile.lesson .student-day-copy strong {
  font-size: 22px;
}

.student-day-tile.curriculum .student-day-copy strong,
.student-day-tile.hearts .student-day-copy strong {
  font-size: 25px;
}

.student-day-copy em {
  color: rgba(49, 44, 59, 0.72);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.student-day-progress {
  display: block;
  height: 8px;
  width: 100%;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.student-day-progress span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: color-mix(in srgb, var(--tile) 78%, #fff);
}

.day-mood {
  align-self: flex-start;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 18px;
  background: #fff2c8;
  font-size: 23px;
  box-shadow: inset 0 -3px 0 rgba(224, 174, 91, 0.14), 0 8px 18px rgba(78, 69, 130, 0.08);
}

.student-hearts-link {
  min-width: 116px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(78, 69, 130, 0.12);
}

.student-hearts-link strong {
  font-size: 26px;
  line-height: 1;
  font-weight: 650;
}

.student-hearts-link span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.my-day-card,
.student-schedule-card,
.student-work-panel {
  padding: 18px;
  border: 1px solid rgba(239, 232, 236, 0.96);
  border-radius: 22px;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
}

.my-day-card.all-done {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,250,222,0.9)),
    linear-gradient(135deg, #fff, color-mix(in srgb, var(--accent) 16%, white));
}

.routine-shell {
  display: grid;
  gap: 22px;
}

.routine-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.routine-tab {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #606477;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.routine-tab-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(76, 73, 87, 0.14);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.62)),
    var(--routine);
  box-shadow: 0 9px 20px rgba(75, 63, 92, 0.11);
  font-size: 29px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.routine-tab strong {
  max-width: 100%;
  color: #76798a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.routine-tab small {
  min-height: 18px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f3eff5;
  color: #7b8090;
  font-size: 11px;
  font-weight: 800;
}

.routine-tab.active .routine-tab-icon {
  border-color: rgba(64, 62, 77, 0.5);
  box-shadow: 0 12px 25px rgba(75, 63, 92, 0.18), inset 0 -4px 0 rgba(46, 43, 57, 0.08);
  transform: translateY(-2px);
}

.routine-tab.active strong {
  color: #292b36;
}

.routine-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.routine-title-row h2 {
  font-family: "Patrick Hand", "Quicksand", system-ui, sans-serif;
  color: #292b36;
  font-size: clamp(34px, 6vw, 46px);
  font-weight: 400;
  line-height: 1;
}

.daily-progress {
  height: 10px;
  margin: 16px 0 18px;
  border-radius: 999px;
  background: #f1edf4;
  overflow: hidden;
}

.daily-progress span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f394bd, #f1d67b);
  transition: width 240ms ease;
}

.habit-list {
  display: grid;
  gap: 14px;
}

.skylight-habit-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.habit-card {
  width: 100%;
  min-height: 176px;
  display: grid;
  grid-template-rows: minmax(76px, 1fr) auto;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: end;
  gap: 10px 12px;
  padding: 20px;
  border: 1px solid rgba(247, 193, 205, 0.7);
  border-radius: 30px;
  background: linear-gradient(160deg, #ffd4d9 0%, #ffd9de 48%, #fff0f2 100%);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 22px rgba(142, 86, 107, 0.12);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  cursor: pointer;
}

.habit-card:not(.complete):hover {
  transform: translateY(-2px);
  border-color: rgba(239, 152, 169, 0.86);
}

.habit-card.complete {
  background: linear-gradient(160deg, #ffc3cf 0%, #ffd2d8 48%, #fff0f3 100%);
  border-color: rgba(236, 139, 159, 0.74);
  animation: habit-pop 260ms ease;
}

.habit-card-art {
  grid-column: 1 / -1;
  align-self: start;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 88px;
  height: 74px;
}

.habit-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.habit-copy strong {
  color: #231f2b;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.08;
}

.habit-copy small {
  color: rgba(49, 44, 59, 0.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.habit-check {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  justify-self: end;
  align-self: end;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.72);
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(46, 43, 57, 0.06);
  font-size: 20px;
  font-weight: 900;
}

.habit-card.complete .habit-check {
  border-color: rgba(255,255,255,0.62);
  background: #ff9bad;
  color: #fff;
}

.routine-empty {
  border-radius: 24px;
}

.all-done-message {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 16px;
  border-radius: 20px;
  background: #fff9df;
  color: #303644;
  animation: habit-pop 320ms ease;
}

.all-done-message strong {
  font-size: 19px;
  font-weight: 600;
}

.now-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 32, 51, 0.1), rgba(24, 32, 51, 0.26)),
    linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 58%, #182033));
  box-shadow: var(--shadow);
}

.now-card .eyebrow {
  color: rgba(255,255,255,0.78);
}

.now-card h2 {
  display: flex;
  align-items: center;
  font-size: clamp(24px, 4vw, 34px);
}

.now-card strong,
.now-card span {
  font-size: 16px;
}

.student-schedule-list,
.daily-summary-list,
.heart-journal,
.student-grade-list {
  display: grid;
  gap: 10px;
}

.student-schedule-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: 18px;
  background: #fff;
}

.student-schedule-item.current,
.student-schedule-item.next {
  background: color-mix(in srgb, var(--accent) 10%, white);
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
}

.student-schedule-item strong,
.student-schedule-item span {
  display: block;
}

.student-schedule-item strong {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}

.student-schedule-item span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
}

.schedule-time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.student-grade-card {
  background: rgba(255, 255, 255, 0.82);
}

.student-grade-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: 18px;
  background: #fff;
}

.grade-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 14%, white);
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
}

.student-grade-item strong,
.student-grade-item span,
.student-grade-item small {
  display: block;
}

.student-grade-item strong {
  font-size: 16px;
  font-weight: 600;
}

.student-grade-item span {
  margin-top: 3px;
  color: #4d5364;
  font-size: 13px;
  font-weight: 500;
}

.student-grade-item small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.daily-summary {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 14px;
  background: #fff;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #42485c;
  font-weight: 600;
}

.summary-row span:last-child {
  color: var(--muted);
  font-size: 13px;
}

.heart-history-item {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.heart-history-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.feedback-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 50;
  width: min(360px, calc(100vw - 28px));
  display: grid;
  gap: 4px;
  padding: 15px 17px;
  border-radius: 18px;
  background: #182033;
  color: #fff;
  box-shadow: 0 18px 42px rgba(24, 32, 51, 0.24);
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.feedback-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.feedback-toast span {
  color: rgba(255,255,255,0.78);
}

.role-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(24, 32, 51, 0.34);
  opacity: 0;
  transition: opacity 180ms ease;
}

.role-modal.show {
  opacity: 1;
}

.role-modal[hidden] {
  display: none;
}

.role-modal-card {
  width: min(460px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.97), rgba(255,250,253,0.94)),
    linear-gradient(135deg, #fde9f2, #fff9ea 58%, #f3fafb);
  box-shadow: 0 24px 70px rgba(24, 32, 51, 0.22);
  transform: translateY(12px) scale(0.98);
  transition: transform 180ms ease;
}

.role-modal.show .role-modal-card {
  transform: translateY(0) scale(1);
}

.role-modal-card h2 {
  font-size: 28px;
}

.role-modal-card p {
  margin: 0;
}

.material-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18, 24, 38, 0.72);
  opacity: 0;
  transition: opacity 180ms ease;
}

.material-preview-modal.show {
  opacity: 1;
}

.material-preview-modal[hidden] {
  display: none;
}

.material-preview-card {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 820px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(10, 16, 30, 0.34);
  transform: translateY(10px) scale(0.98);
  transition: transform 180ms ease;
}

.material-preview-modal.show .material-preview-card {
  transform: translateY(0) scale(1);
}

.material-preview-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(24, 32, 51, 0.18);
  cursor: pointer;
}

.material-preview-stage {
  min-height: 260px;
  display: grid;
  place-items: center;
  background: #111827;
}

.material-preview-stage img {
  width: 100%;
  height: 100%;
  max-height: calc(88vh - 86px);
  object-fit: contain;
}

.material-preview-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.material-preview-footer div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.material-preview-footer strong,
.material-preview-footer span {
  overflow-wrap: anywhere;
}

.material-preview-footer span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.role-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.role-choice-grid button {
  min-height: 100px;
  display: grid;
  place-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(78, 69, 130, 0.08);
}

.role-choice-grid button span {
  font-size: 30px;
}

@keyframes habit-pop {
  0% { transform: scale(0.98); }
  70% { transform: scale(1.012); }
  100% { transform: scale(1); }
}

.empty-note { padding: 24px; color: var(--muted); text-align: center; }

body[data-role="student"] .foundation-card {
  display: none;
}

body[data-role="student"] .year-select {
  display: none;
}

body[data-role="student"] .main {
  padding-bottom: 32px;
}

body[data-role="student"] .section-title h2,
body[data-role="student"] .status-pill,
body[data-role="student"] .eyebrow {
  font-weight: 500;
}

body[data-role="student"] .my-day-card,
body[data-role="student"] .student-schedule-card,
body[data-role="student"] .student-work-panel {
  color: #283044;
}

body[data-role="student"] h1 {
  font-weight: 600;
}

body[data-role="student"] h2,
body[data-role="student"] h3 {
  font-weight: 600;
}

body[data-role="student"] .student-greeting h2 {
  font-weight: 400;
}

body[data-role="student"] .strong {
  font-weight: 500;
}

body[data-role="student"] .habit-copy strong,
body[data-role="student"] .student-schedule-item strong,
body[data-role="student"] .student-grade-item strong {
  font-weight: 500;
}

body[data-role="student"] .timeline-main h3,
body[data-role="student"] .time,
body[data-role="student"] .day-column h3 {
  font-weight: 600;
}

body[data-role="student"] .timeline-main p strong {
  font-weight: 600;
}

@media (max-width: 980px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(64, 55, 40, 0.12);
  }
  .foundation-card { position: static; margin-top: 16px; }
  .nav-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav-item { justify-content: center; }
  .nav-item span:last-child { display: none; }
  .grid.two, .grid.three, .grid.four, .grid.five, .reward-strip, .student-hero { grid-template-columns: 1fr; }
  .topbar { flex-direction: column; }
}

@media (max-width: 620px) {
  .main { padding: 18px 12px 32px; }
  .sidebar { padding: 14px; }
  .nav-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav-item {
    min-height: 58px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px 4px;
    font-size: 11px;
    text-align: center;
  }
  .nav-item span:last-child { display: inline; }
  .nav-icon { width: auto; }
  .topbar-actions { justify-content: stretch; width: 100%; }
  .year-select { width: 100%; }
  .child-selector { width: 100%; overflow: auto; }
  .chip { white-space: nowrap; }
  .role-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .child-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .timeline-item, .teacher-item, .split-row, .section-title { align-items: flex-start; flex-direction: column; }
  .teacher-item .subject-top { width: 100%; }
  .profile-actions, .photo-controls { width: 100%; justify-content: flex-start; }
  .photo-button, .photo-button span, .ghost-button:not(.compact) { width: 100%; }
  .week-grid {
    grid-template-columns: none;
    grid-auto-columns: 100%;
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .day-column {
    min-width: 0;
    padding: 10px;
    scroll-snap-align: start;
  }
  .day-column h3 { text-align: left; }
  .timeline-item {
    display: grid;
    gap: 8px;
    padding: 11px;
  }
  .timeline-main { min-width: 0; }
  .timeline-main h3,
  .timeline-main p,
  .time {
    overflow-wrap: anywhere;
  }
  .time { min-width: 0; }
  .timeline-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }
  .timeline-actions .icon-btn {
    width: 100%;
    height: 34px;
  }
  .my-day-hero,
  .student-greeting,
  .summary-row {
    align-items: stretch;
    flex-direction: column;
  }
  .my-day-hero {
    padding: 16px;
  }
  .student-greeting {
    align-items: flex-start;
  }
  .day-mood {
    position: absolute;
    top: 0;
    right: 0;
  }
  .student-greeting h2 {
    padding-right: 48px;
  }
  .student-day-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
  }
  .student-day-tile {
    min-height: 146px;
    padding: 13px;
    border-radius: 26px;
  }
  .student-day-tile.lesson {
    grid-column: 1 / -1;
    min-height: 122px;
    gap: 16px;
  }
  .student-day-art {
    width: 66px;
    height: 60px;
  }
  .student-day-icon {
    width: 58px;
    height: 58px;
  }
  .student-day-copy strong {
    font-size: 16px;
  }
  .student-day-tile.lesson .student-day-copy strong {
    font-size: 21px;
  }
  .student-day-tile.curriculum .student-day-copy strong,
  .student-day-tile.hearts .student-day-copy strong {
    font-size: 24px;
  }
  .student-day-copy em {
    font-size: 11px;
  }
  .student-hearts-link {
    width: 100%;
  }
  .my-day-card,
  .student-schedule-card,
  .student-work-panel {
    padding: 15px;
    border-radius: 16px;
  }
  .routine-tabs {
    gap: 8px;
  }
  .routine-tab-icon {
    width: 58px;
    height: 58px;
    font-size: 26px;
  }
  .routine-tab strong {
    font-size: 12px;
  }
  .routine-title-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .routine-title-row .status-pill {
    align-self: flex-start;
  }
  .skylight-habit-list {
    grid-template-columns: 1fr;
  }
  .habit-card {
    grid-template-rows: minmax(72px, 1fr) auto;
    grid-template-columns: minmax(0, 1fr) 42px;
    min-height: 170px;
    gap: 10px;
    padding: 18px 19px;
    border-radius: 28px;
  }
  .habit-card-art {
    width: 82px;
    height: 70px;
  }
  .habit-icon {
    width: 62px;
    height: 62px;
    font-size: 28px;
  }
  .habit-check {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .student-schedule-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .library-head,
  .library-tools {
    grid-template-columns: 1fr;
  }
  .library-head {
    align-items: stretch;
    flex-direction: column;
  }
  .add-material-button {
    width: 100%;
  }
  .material-form {
    grid-template-columns: 1fr;
  }
  .material-grid {
    grid-template-columns: 1fr;
  }
  .material-open {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .material-preview {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }
  .image-material-card .material-preview {
    width: 100%;
    height: auto;
  }
  .material-actions {
    grid-template-columns: 1fr;
  }
  .material-preview-modal {
    padding: 10px;
  }
  .material-preview-card {
    max-height: 86vh;
  }
  .material-preview-stage {
    min-height: 220px;
  }
  .material-preview-stage img {
    max-height: calc(86vh - 102px);
  }
  .material-preview-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .material-preview-footer .ghost-button {
    justify-content: center;
    width: 100%;
  }
  .unit-row, .quick-form, .grade-form, .report-row { grid-template-columns: 1fr; }
  .report-row > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .report-row > div:last-child { border-bottom: 0; }
  h1 { font-size: 32px; }
}
