:root {
  --ink: #17202a;
  --muted: #59636e;
  --line: #cbd1cf;
  --paper: #fffef9;
  --soft: #edf1ed;
  --purple: #2456a6;
  --purple-dark: #183f7c;
  --purple-soft: #e6edf8;
  --pink: #ea6a3b;
  --orange: #ea6a3b;
  --yellow: #f0c94f;
  --teal: #47705f;
  --blue: #2456a6;
  --navy: #17202a;
  --shadow: 0 22px 55px rgba(23, 32, 42, .12);
  --shadow-soft: 0 10px 28px rgba(23, 32, 42, .07);
  --radius-lg: 4px;
  --radius: 3px;
  color-scheme: light;
  font-family: "Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif;
}

* { scrollbar-color: #9ca7a2 #edf1ed; }
html { scroll-padding-top: 102px; }
body {
  color: var(--ink);
  background: #f7f8f4;
  font-family: "Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif;
}
::selection { color: #fffef9; background: #2456a6; }
:focus-visible { outline: 3px solid #ea6a3b !important; outline-offset: 3px; }
button, input, select, textarea { caret-color: #2456a6; }

.site-header {
  min-height: 72px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 46px);
  padding: 10px clamp(18px, 4vw, 64px);
  border-bottom: 2px solid #17202a;
  background: rgba(247, 248, 244, .97);
  backdrop-filter: none;
}
.site-brand { gap: 10px; }
.brand-icon {
  width: 43px;
  height: 43px;
  border-radius: 0;
  color: #fffef9;
  background: #2456a6;
  box-shadow: none;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .06em;
}
.site-brand strong,
.site-brand small { line-height: 1; }
.site-brand strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.site-brand small { margin-top: 5px; color: #59636e; font-size: .74rem; }
.site-nav { gap: 0; }
.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  color: #4b5560;
  font-weight: 700;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.site-nav a:hover,
.site-nav a.active {
  color: #17202a;
  border-color: #ea6a3b;
  background: #edf1ed;
}
.account-pill {
  padding: 5px 10px 5px 5px;
  border-color: #aeb7b3;
  border-radius: 2px;
  background: #fffef9;
}
.account-pill > span { border-radius: 0; color: #fffef9; background: #2456a6; }

.btn {
  min-height: 44px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover:not(:disabled) { transform: none; }
.btn.primary {
  color: #fffef9;
  border-color: #183f7c;
  background: #2456a6;
  box-shadow: none;
}
.btn.primary:hover { color: #fff; background: #183f7c; box-shadow: none; }
.btn.light,
.btn.white { color: #17202a; border: 1px solid #17202a; background: #fffef9; box-shadow: none; }
.btn.light:hover,
.btn.white:hover { color: #fffef9; background: #17202a; }
.btn.ghost { color: #17202a; background: transparent; }
.btn.ghost:hover { background: #e4e9e5; }
.btn.large { min-height: 50px; padding-inline: 21px; border-radius: 2px; }

.home-page { overflow: clip; }
.home-hero {
  min-height: 650px;
  grid-template-columns: minmax(340px, .82fr) minmax(540px, 1.18fr);
  gap: clamp(36px, 5vw, 78px);
  padding: clamp(54px, 7vw, 98px) clamp(20px, 6vw, 88px);
  background: #f7f8f4;
}
.home-hero::before {
  content: "TERM / CLASSROOM / RUN OF SHOW";
  position: absolute;
  left: clamp(20px, 6vw, 88px);
  top: 18px;
  color: #6c756f;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.home-hero::after { display: none; }
.hero-copy { max-width: 670px; }
.run-sheet-label,
.section-index {
  display: inline-block;
  margin-bottom: 18px;
  color: #2456a6;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-copy h1 {
  max-width: 660px;
  color: #17202a;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 700;
  line-height: .86;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-transform: uppercase;
}
.hero-copy > p { max-width: 620px; margin-top: 24px; color: #4e5963; font-size: 1.08rem; line-height: 1.62; }
.hero-actions { margin-top: 27px; }
.hero-points { gap: 8px 20px; margin-top: 23px; color: #39434b; font-size: .87rem; }
.hero-points span { gap: 7px; }
.hero-points svg { color: #47705f; }

.hero-run-sheet {
  position: relative;
  z-index: 2;
  min-width: 0;
  border: 2px solid #17202a;
  background: #fffef9;
  box-shadow: 12px 12px 0 #d7e3cf;
}
.hero-run-sheet::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 14%;
  width: 72px;
  height: 16px;
  border-inline: 1px solid rgba(23, 32, 42, .16);
  background: rgba(240, 201, 79, .76);
}
.run-sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 25px 19px;
  border-bottom: 2px solid #17202a;
}
.run-sheet-head span,
.run-sheet-head strong { display: block; }
.run-sheet-head span,
.run-sheet-head > b,
.run-sheet-meta,
.run-sheet-sequence time,
.run-sheet-sequence div > span,
.run-sheet-sequence li > b,
.run-sheet-foot {
  font-family: "Barlow Condensed", sans-serif;
  font-variant-numeric: tabular-nums;
}
.run-sheet-head span { margin-bottom: 6px; color: #2456a6; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.run-sheet-head strong { max-width: 390px; font-size: clamp(1.4rem, 2.5vw, 2.15rem); line-height: 1; text-transform: uppercase; }
.run-sheet-head > b { color: #2456a6; font-size: clamp(2rem, 4vw, 3.35rem); line-height: .82; }
.run-sheet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid #9fa8a4;
  color: #4e5963;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.run-sheet-meta span { padding: 9px 14px; border-right: 1px solid #9fa8a4; }
.run-sheet-sequence { margin: 0; padding: 0; list-style: none; }
.run-sheet-sequence li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 52px;
  align-items: stretch;
  min-height: 88px;
  border-bottom: 1px solid #cbd1cf;
}
.run-sheet-sequence time {
  display: grid;
  place-items: center;
  border-right: 1px solid #cbd1cf;
  color: #4e5963;
  font-size: .83rem;
  font-weight: 700;
}
.run-sheet-sequence div { padding: 15px 17px; }
.run-sheet-sequence div > span { color: #2456a6; font-size: .75rem; font-weight: 800; letter-spacing: .09em; }
.run-sheet-sequence p { margin: 6px 0 0; color: #3c464e; font-size: .91rem; line-height: 1.35; }
.run-sheet-sequence li > b {
  display: grid;
  place-items: center;
  border-left: 1px solid #cbd1cf;
  color: #69736d;
  font-size: .64rem;
  letter-spacing: .08em;
  writing-mode: vertical-rl;
}
.run-sheet-sequence .is-ready { background: #edf3e9; }
.run-sheet-sequence .is-ready > b { color: #2f5b48; }
.run-sheet-sequence .is-current { box-shadow: inset 5px 0 0 #ea6a3b; background: #fff8ef; }
.run-sheet-sequence .is-current > b { color: #b13b18; }
.run-sheet-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; color: #505a55; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.component-showcase { padding: 86px clamp(20px, 6vw, 88px); border-top: 1px solid #cbd1cf; background: #fffef9; }
.section-heading { max-width: 1060px; margin: 0 auto 38px; text-align: left; }
.section-heading h2,
.live-product-head h2,
.home-cta h2,
.page-heading h1,
.protected-page h1 {
  color: #17202a;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.section-heading h2 { max-width: 820px; font-size: clamp(2.8rem, 5.2vw, 5.2rem); }
.section-heading p { max-width: 700px; margin-left: 0; color: #59636e; }
.product-component-grid { grid-template-columns: 1fr; gap: 0; max-width: 1060px; border-top: 2px solid #17202a; }
.component-card {
  min-height: 0;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 22px 10px;
  border: 0;
  border-bottom: 1px solid #aeb7b3;
  border-radius: 0;
  overflow: visible;
  background: transparent !important;
  box-shadow: none;
}
.component-card::after { display: none; }
.component-card > div { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(260px, 1.35fr) auto; align-items: center; gap: 24px; }
.component-icon { width: 46px; height: 46px; border-radius: 0; color: #fffef9; background: #2456a6 !important; font-size: 1.1rem; }
.component-card small { margin: 0 0 4px; color: #2456a6 !important; font-family: "Barlow Condensed", sans-serif; font-size: .7rem; letter-spacing: .1em; }
.component-card h3 { margin: 0; color: #17202a; font-family: "Barlow Condensed", sans-serif; font-size: 1.55rem; text-transform: uppercase; }
.component-card p { margin: 0; color: #59636e; font-size: .95rem; line-height: 1.5; }
.component-card a { justify-self: end; color: #17202a !important; border-bottom: 2px solid #ea6a3b; }

.live-product-section { gap: 0; padding: 0; border-top: 2px solid #17202a; border-bottom: 2px solid #17202a; background: #17202a; }
.product-photo { position: relative; min-height: 590px; }
.product-photo::after { content: "CLASSROOM REFERENCE / OBSERVE → ADAPT → TEACH"; position: absolute; left: 18px; bottom: 18px; padding: 8px 10px; color: #17202a; background: #f0c94f; font-family: "Barlow Condensed", sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.product-photo img { min-height: 590px; border-radius: 0; box-shadow: none; filter: saturate(.65) contrast(1.08); }
.live-product-card { padding: clamp(30px, 5vw, 62px); border-radius: 0; background: #f7f8f4; box-shadow: none; }
.live-product-head h2 { max-width: 670px; font-size: clamp(2.5rem, 4.2vw, 4.8rem); }
.subject-chip,
.lesson-meta span,
.tag-list span { border: 1px solid #9fa8a4; border-radius: 2px; color: #183f7c; background: transparent; }
.demo-tabs { gap: 0; margin: 28px 0 22px; padding: 0; border-bottom: 1px solid #9fa8a4; border-radius: 0; background: transparent; }
.demo-tabs button { flex: 0 1 auto; min-height: 44px; padding: 0 18px; border-radius: 0; border-bottom: 0; color: #59636e; }
.demo-tabs button.active { color: #17202a; background: transparent; box-shadow: inset 0 -3px #ea6a3b; }
.demo-plan-list { gap: 0; border-top: 1px solid #cbd1cf; }
.demo-plan-list article { grid-template-columns: 72px 1fr; gap: 16px; padding: 14px 0; border: 0; border-bottom: 1px solid #cbd1cf; border-radius: 0; background: transparent; }
.demo-plan-list article > span { color: #2456a6; font-family: "Barlow Condensed", sans-serif; font-variant-numeric: tabular-nums; }
.demo-objectives article,
.demo-support article { border-color: #cbd1cf; border-radius: 2px; background: #fffef9; }
.demo-footer { border-color: #9fa8a4; }

.home-cta { padding: 68px clamp(20px, 7vw, 110px); color: #fffef9; border-bottom: 0; background: #2456a6; }
.home-cta .section-index { color: #d7e3cf; }
.home-cta h2 { max-width: 820px; color: #fffef9; font-size: clamp(2.7rem, 4.6vw, 5.2rem); }
.home-cta p { color: rgba(255, 254, 249, .82); }

.guest-banner { border-color: #b6c5d7; border-radius: 2px; background: #edf3f9; }
.guest-banner b,
.guest-banner a { color: #183f7c; }
.planner-page { background: #edf1ed; }
.planner-layout { grid-template-columns: 330px minmax(0, 1fr) 260px; gap: 14px; padding-top: 14px; }
.planner-form-panel,
.lesson-document-shell,
.planner-insights { border-color: #9fa8a4; border-radius: 2px; background: #fffef9; box-shadow: none; }
.planner-form-panel { top: 92px; padding: 22px; }
.planner-form-panel h1,
.planner-insights h2,
.lesson-document-header h1,
.lesson-section h3,
.saved-grid h3,
.resource-grid h3,
.community-feed h3 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}
.panel-label { color: #2456a6; font-family: "Barlow Condensed", sans-serif; letter-spacing: .11em; }
.planner-form input,
.planner-form select,
.planner-form textarea,
.community-form input,
.community-form select,
.community-form textarea {
  border-color: #aeb7b3;
  border-radius: 1px;
  color: #17202a;
  background: #f7f8f4;
}
.planner-form input:focus,
.planner-form select:focus,
.planner-form textarea:focus,
.community-form input:focus,
.community-form select:focus,
.community-form textarea:focus { border-color: #2456a6; box-shadow: 0 0 0 3px rgba(36, 86, 166, .13); background: #fffef9; }
.lesson-document-shell { padding: 24px; }
.planner-insights { top: 92px; color: #fffef9; border: 0; background: #17202a; }
.insight-tip { border-radius: 2px; background: #263641; }
.lesson-document-header { border-color: #9fa8a4; }
.lesson-section { border-color: #b9c0bd; border-radius: 2px; background: #fffef9; }
.aim-section { border-left: 0; background: #edf3f9; box-shadow: inset 4px 0 #2456a6; }
.objective-grid article { border-radius: 1px; background: #edf1ed; }
.objective-grid span { color: #2456a6; font-family: "Barlow Condensed", sans-serif; }
.lesson-flow-table th,
.lesson-flow-table td { border-color: #aeb7b3; }
.lesson-flow-table th { color: #17202a; background: #dce4df; font-family: "Barlow Condensed", sans-serif; letter-spacing: .04em; }
.lesson-flow-table td:first-child span { color: #2456a6; }
.regular-support { border-left: 0; background: #edf3e9; box-shadow: inset 4px 0 #47705f; }
.iip-support { border-left: 0; background: #fff8ef; box-shadow: inset 4px 0 #ea6a3b; }
.assessment-section { border-left: 0; background: #edf3f9; box-shadow: inset 4px 0 #2456a6; }
.evaluation-section { border-left: 0; background: #f3eee9; box-shadow: inset 4px 0 #7d5f4e; }
.time-validation { border-radius: 2px; background: #47705f; }

.standard-page { padding-top: 58px; background: #f7f8f4; }
.page-heading { max-width: 1200px; border-bottom: 2px solid #17202a; padding-bottom: 24px; }
.page-heading h1 { font-size: clamp(3.2rem, 6.5vw, 6.6rem); }
.saved-grid,
.resource-grid { max-width: 1200px; gap: 12px; }
.saved-grid > article,
.resource-grid > article,
.community-form,
.community-feed > article,
.empty-state { padding: 22px; border-color: #aeb7b3; border-radius: 2px; background: #fffef9; box-shadow: none; }
.saved-grid > article > span,
.resource-grid > article > span,
.community-feed > article > span { color: #2456a6; font-family: "Barlow Condensed", sans-serif; }
.resource-grid a { color: #183f7c; }
.protected-page { background: #edf1ed; }
.protected-page > div { border-color: #9fa8a4; border-radius: 2px; background: #fffef9; box-shadow: none; }
.loader { border-color: #cbd1cf; border-top-color: #2456a6; }
.site-footer { color: #aeb8bc; border-top: 1px solid #34464f; background: #17202a; }
.toast { border-radius: 2px; background: #17202a; box-shadow: 0 12px 32px rgba(23, 32, 42, .18); }

@media (max-width: 1120px) {
  .home-hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-run-sheet { width: min(100%, 780px); justify-self: center; }
  .planner-layout { grid-template-columns: 310px minmax(0, 1fr); }
  .component-card > div { grid-template-columns: minmax(180px, .7fr) minmax(260px, 1.3fr); }
  .component-card a { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 820px) {
  .site-header { border-bottom-width: 1px; }
  .site-nav { border-top: 1px solid #cbd1cf; padding-top: 5px; }
  .home-hero { padding-top: 70px; }
  .hero-copy h1 { font-size: clamp(3.7rem, 15vw, 6rem); }
  .component-card > div { grid-template-columns: 1fr; gap: 9px; }
  .component-card a { grid-column: auto; }
  .live-product-section { grid-template-columns: 1fr; }
  .product-photo { min-height: 360px; }
  .product-photo img { min-height: 360px; max-height: 430px; }
  .planner-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand-icon { border-radius: 0; }
  .home-hero { padding-inline: 15px; background-size: 24px 24px; }
  .home-hero::before { left: 15px; }
  .hero-copy h1 { font-size: clamp(3.4rem, 18vw, 5rem); }
  .hero-run-sheet { box-shadow: 7px 7px 0 #d7e3cf; }
  .run-sheet-head { padding: 19px 16px 15px; }
  .run-sheet-head > b { font-size: 2.1rem; }
  .run-sheet-meta span { padding: 8px 9px; }
  .run-sheet-sequence li { grid-template-columns: 57px minmax(0, 1fr) 38px; min-height: 96px; }
  .run-sheet-sequence div { padding: 13px 12px; }
  .run-sheet-sequence p { font-size: .84rem; }
  .run-sheet-foot { flex-direction: column; }
  .component-showcase,
  .live-product-section,
  .standard-page { padding-left: 15px; padding-right: 15px; }
  .live-product-section { padding: 0; }
  .component-card { grid-template-columns: 46px minmax(0, 1fr); gap: 13px; padding: 18px 0; }
  .component-icon { width: 40px; height: 40px; }
  .live-product-card { padding: 28px 18px; }
  .demo-tabs button { min-width: 0; padding: 0 10px; }
  .home-cta { padding: 50px 18px; }
  .planner-layout { padding: 10px; }
  .lesson-document-shell,
  .planner-form-panel,
  .planner-insights { border-radius: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Softer editorial refinement: keep the teacher run-sheet model without a drafting-board feel. */
.site-header {
  border-bottom: 1px solid rgba(23, 32, 42, .09);
  background: rgba(255, 254, 249, .95);
  box-shadow: 0 8px 28px rgba(23, 32, 42, .045);
}
.brand-icon { border-radius: 11px; box-shadow: 0 8px 18px rgba(36, 86, 166, .18); }
.site-nav a { border-radius: 8px; border-bottom: 0; }
.site-nav a:hover,
.site-nav a.active { color: #183f7c; background: #e9eef0; }
.account-pill { border-color: rgba(23, 32, 42, .12); border-radius: 10px; }
.account-pill > span { border-radius: 7px; }
.btn { border-radius: 9px; }
.btn.large { border-radius: 11px; }
.btn.primary { border-color: #2456a6; box-shadow: 0 10px 24px rgba(36, 86, 166, .18); }
.btn.primary:hover { box-shadow: 0 12px 28px rgba(24, 63, 124, .22); }
.btn.light,
.btn.white { border-color: rgba(23, 32, 42, .16); box-shadow: 0 8px 20px rgba(23, 32, 42, .06); }

.home-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(134, 187, 182, .24), transparent 31rem),
    radial-gradient(circle at 8% 82%, rgba(234, 178, 111, .16), transparent 28rem),
    #f4f6f2;
}
.home-hero::before { color: #77817b; }
.hero-copy h1 {
  max-width: 690px;
  font-size: clamp(4rem, 6.6vw, 6rem);
  line-height: .9;
  letter-spacing: -.038em;
  text-transform: none;
}
.hero-run-sheet {
  overflow: hidden;
  border: 1px solid rgba(23, 32, 42, .1);
  border-radius: 20px;
  background: rgba(255, 254, 249, .96);
  box-shadow: 0 32px 80px rgba(33, 55, 61, .14);
}
.hero-run-sheet::before { border: 0; border-radius: 2px; }
.run-sheet-head { padding: 25px 27px 21px; border-bottom: 0; background: rgba(255, 255, 255, .58); }
.run-sheet-head strong { color: #22313b; }
.run-sheet-head > b { color: #2f625e; }
.run-sheet-meta { gap: 6px; padding: 0 26px 14px; border-bottom: 1px solid rgba(23, 32, 42, .08); }
.run-sheet-meta span { padding: 7px 10px; border: 0; border-radius: 7px; background: #edf2ef; }
.run-sheet-sequence { padding: 6px 14px 4px; }
.run-sheet-sequence li { grid-template-columns: 68px minmax(0, 1fr) 56px; min-height: 86px; border-bottom-color: rgba(23, 32, 42, .075); }
.run-sheet-sequence li:last-child { border-bottom: 0; }
.run-sheet-sequence time { border-right: 0; color: #66716b; }
.run-sheet-sequence li > b { align-self: center; justify-self: center; min-width: 42px; height: 28px; border: 0; border-radius: 7px; background: #edf1ed; writing-mode: horizontal-tb; }
.run-sheet-sequence .is-ready { border-radius: 11px; background: #eef4eb; }
.run-sheet-sequence .is-current { border-radius: 11px; box-shadow: inset 4px 0 0 #ea6a3b; background: #fff5ea; }
.run-sheet-sequence .is-ready > b { background: #dce9d7; }
.run-sheet-sequence .is-current > b { background: #f9ded2; }
.run-sheet-foot { padding: 12px 26px 18px; color: #6a746e; }

.component-showcase { border-top: 0; background: #fffef9; }
.product-component-grid {
  overflow: hidden;
  border: 1px solid rgba(23, 32, 42, .08);
  border-radius: 18px;
  background: #f8faf7;
  box-shadow: 0 18px 46px rgba(23, 32, 42, .07);
}
.component-card { padding: 24px 26px; border-bottom-color: rgba(23, 32, 42, .075); }
.component-card:last-child { border-bottom: 0; }
.component-icon { border-radius: 12px; }
.component-card a { border-bottom-color: rgba(234, 106, 59, .55); }

.live-product-section { border-block: 0; background: #17202a; }
.product-photo::after { border-radius: 6px; }
.live-product-card { margin: 24px 24px 24px 0; border-radius: 18px; }
.subject-chip,
.lesson-meta span,
.tag-list span { border-color: rgba(36, 86, 166, .14); border-radius: 8px; background: #e9eff8; }
.demo-tabs { border-bottom-color: rgba(23, 32, 42, .1); }
.demo-tabs button { border-radius: 8px 8px 0 0; }
.demo-plan-list { border-top-color: rgba(23, 32, 42, .08); }
.demo-plan-list article { border-bottom-color: rgba(23, 32, 42, .08); }
.demo-objectives article,
.demo-support article { border-color: rgba(23, 32, 42, .09); border-radius: 12px; }
.home-cta { border-bottom: 0; }

.planner-form-panel,
.lesson-document-shell,
.planner-insights { border-color: rgba(23, 32, 42, .1); border-radius: 16px; box-shadow: 0 12px 34px rgba(23, 32, 42, .06); }
.planner-form input,
.planner-form select,
.planner-form textarea,
.community-form input,
.community-form select,
.community-form textarea { border-color: rgba(23, 32, 42, .15); border-radius: 9px; background: #f8faf7; }
.planner-insights { border-top: 0; background: #21323b; }
.insight-tip { border-radius: 10px; }
.lesson-section { border-color: rgba(23, 32, 42, .09); border-radius: 12px; }
.objective-grid article { border-radius: 9px; }
.regular-support,
.iip-support,
.assessment-section,
.evaluation-section { border-left-width: 0; }
.time-validation { border-radius: 10px; }
.saved-grid > article,
.resource-grid > article,
.community-form,
.community-feed > article,
.empty-state { border-color: rgba(23, 32, 42, .09); border-radius: 14px; box-shadow: 0 10px 28px rgba(23, 32, 42, .055); }
.protected-page > div { border-color: rgba(23, 32, 42, .1); border-radius: 18px; box-shadow: 0 18px 46px rgba(23, 32, 42, .08); }
.toast { border-radius: 10px; }

@media (max-width: 820px) {
  .site-nav { border-top-color: rgba(23, 32, 42, .08); }
  .live-product-card { margin: 0; border-radius: 0; }
}

@media (max-width: 560px) {
  .hero-run-sheet { border-radius: 16px; box-shadow: 0 22px 50px rgba(33, 55, 61, .13); }
  .run-sheet-head { padding-inline: 17px; }
  .run-sheet-meta { padding-inline: 16px; }
  .run-sheet-sequence { padding-inline: 8px; }
  .run-sheet-sequence li { grid-template-columns: 54px minmax(0, 1fr) 42px; }
  .run-sheet-sequence li > b { min-width: 34px; font-size: .58rem; }
  .run-sheet-foot { padding-inline: 17px; }
  .product-component-grid { border-radius: 14px; }
  .component-card { padding-inline: 18px; }
  .lesson-document-shell,
  .planner-form-panel,
  .planner-insights { border-radius: 14px; }
}

/* Resolve legacy depth-theme overrides so the working planner matches the softer system. */
body.depth-design .brand-icon,
body.depth-design .btn.primary,
body.depth-design .fish-starter-btn {
  background: #2456a6 !important;
  box-shadow: 0 10px 24px rgba(36, 86, 166, .18) !important;
}
body.depth-design .home-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(134, 187, 182, .24), transparent 31rem),
    radial-gradient(circle at 8% 82%, rgba(234, 178, 111, .16), transparent 28rem),
    #f4f6f2 !important;
}
body.depth-design .hero-run-sheet { background: rgba(255, 254, 249, .97) !important; }
body.depth-design .component-card { background: transparent !important; }
body.depth-design .live-product-card { background: #f7f8f4 !important; }
body.depth-design .home-cta { background: #2456a6 !important; }

body.depth-design .planner-page { background: #edf2ef !important; }
body.depth-design .guest-banner {
  border-color: rgba(23, 32, 42, .09) !important;
  border-radius: 12px !important;
  background: #faf7ef !important;
  box-shadow: 0 8px 22px rgba(23, 32, 42, .045) !important;
}
body.depth-design .planner-layout { gap: 18px; padding-top: 24px; }
body.depth-design .planner-form-panel,
body.depth-design .planner-insights {
  border-color: rgba(23, 32, 42, .09) !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 42px rgba(23, 32, 42, .075) !important;
}
body.depth-design .planner-form-panel { padding: 27px 24px 30px; background: #fffef9 !important; }
body.depth-design .planner-form-panel::before,
body.depth-design .planner-insights::before {
  width: 46px;
  height: 4px;
  border-radius: 4px;
  background: #ea6a3b !important;
  box-shadow: none !important;
}
body.depth-design .planner-form { gap: 15px; }
body.depth-design .planner-form input,
body.depth-design .planner-form select,
body.depth-design .planner-form textarea {
  min-height: 48px;
  border-color: rgba(23, 32, 42, .14) !important;
  border-radius: 10px;
  background: #f7f9f6 !important;
  box-shadow: none !important;
}
body.depth-design .planner-form input:focus,
body.depth-design .planner-form select:focus,
body.depth-design .planner-form textarea:focus {
  border-color: #2456a6 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(36, 86, 166, .12) !important;
}
body.depth-design .planner-form .btn.primary.full { border-radius: 10px; }
body.depth-design .fish-tutorial-starter {
  border-color: rgba(47, 112, 95, .16) !important;
  border-radius: 13px !important;
  background: #edf6f3 !important;
  box-shadow: none !important;
}
body.depth-design .generator-empty-state {
  min-height: 590px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.depth-design .generator-start-card {
  padding: 54px clamp(25px, 5vw, 60px);
  border: 1px solid rgba(23, 32, 42, .075) !important;
  border-radius: 20px;
  background: rgba(255, 254, 249, .94) !important;
  box-shadow: 0 24px 64px rgba(23, 32, 42, .085) !important;
}
body.depth-design .generator-start-card::before { display: none !important; }
body.depth-design .generator-start-icon {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  background: #2f625e !important;
  box-shadow: 0 12px 26px rgba(47, 98, 94, .17) !important;
}
body.depth-design .generator-start-steps { gap: 11px; }
body.depth-design .generator-start-steps span {
  min-height: 66px;
  border: 0 !important;
  border-radius: 12px;
  background: #edf1ed !important;
  box-shadow: none !important;
}
body.depth-design .planner-insights { background: #21323b !important; }
body.depth-design .planner-insights .panel-label { border: 0 !important; background: transparent !important; }
body.depth-design .insight-tip { border-color: rgba(255,255,255,.08) !important; background: rgba(255,255,255,.06) !important; }

body.depth-design .lesson-document {
  border-color: rgba(23, 32, 42, .09) !important;
  border-radius: 20px;
  background: #fffef9 !important;
  box-shadow: 0 22px 58px rgba(23, 32, 42, .085) !important;
}
body.depth-design .lesson-document-header { background: #edf3ef !important; }
body.depth-design .lesson-section { border-color: rgba(23, 32, 42, .08) !important; background: #fff !important; }
body.depth-design .objective-grid article:nth-child(1) { background: #eef3f5 !important; }
body.depth-design .objective-grid article:nth-child(2) { background: #edf4ef !important; }
body.depth-design .objective-grid article:nth-child(3) { background: #faf3e8 !important; }
body.depth-design .lesson-flow-table th { color: #fff !important; background: #2456a6 !important; }
body.depth-design .lesson-flow-table { min-width: 780px; }
body.depth-design .lesson-flow-table th,
body.depth-design .lesson-flow-table td {
  border-inline: 0 !important;
  border-color: rgba(23, 32, 42, .1) !important;
}
body.depth-design .lesson-flow-table th { background: #2f625e !important; }
body.depth-design .lesson-flow-table th:first-child { border-radius: 10px 0 0 0; }
body.depth-design .lesson-flow-table th:last-child { border-radius: 0 10px 0 0; }
body.depth-design .lesson-flow-table tbody tr:nth-child(even) td { background: #f7f9f6 !important; }
body.depth-design .time-validation { background: #2f625e !important; }

body.depth-design .resource-grid {
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 42, .08);
  border-radius: 16px;
  background: #fffef9;
  box-shadow: 0 16px 38px rgba(23, 32, 42, .055);
}
body.depth-design .resource-grid > article {
  display: grid;
  grid-template-columns: 48px minmax(210px, .6fr) minmax(280px, 1.4fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 102px;
  padding: 19px 24px;
  border: 0 !important;
  border-bottom: 1px solid rgba(23, 32, 42, .08) !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}
body.depth-design .resource-grid > article:last-child { border-bottom: 0 !important; }
body.depth-design .resource-grid > article > span { font-variant-numeric: tabular-nums; }
body.depth-design .resource-grid h3,
body.depth-design .resource-grid p,
body.depth-design .resource-grid a { margin: 0; }
body.depth-design .resource-grid a { white-space: nowrap; }

body.depth-design .fish-tutorial-starter {
  margin-inline: -4px;
  padding-inline: 4px !important;
  border: 0 !important;
  border-block: 1px solid rgba(23, 32, 42, .09) !important;
  border-radius: 0 !important;
  background: transparent !important;
}
body.depth-design .aim-section,
body.depth-design .regular-support,
body.depth-design .iip-support,
body.depth-design .assessment-section,
body.depth-design .evaluation-section { box-shadow: inset 2px 0 currentColor !important; }

@media (max-width: 1300px) {
  .site-header { gap: 14px; padding-inline: 22px; }
  .site-brand { min-width: 205px; }
  .site-brand small { display: none; }
  .site-nav { gap: 2px; }
  .site-nav a { flex: 0 0 auto; padding-inline: 9px; font-size: .82rem; }
  .header-actions { gap: 5px; }
  .header-actions .btn { padding-inline: 13px; }
}

@media (max-width: 820px) {
  .site-header::after {
    content: "More →";
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 5px 7px;
    border-radius: 6px;
    color: #183f7c;
    background: rgba(255, 254, 249, .96);
    box-shadow: -10px 0 15px #fffef9;
    font-size: .68rem;
    font-weight: 700;
    pointer-events: none;
  }
  .site-nav { padding-right: 66px; scrollbar-width: thin; }
  body.depth-design .resource-grid > article { grid-template-columns: 42px 1fr; gap: 10px 15px; }
  body.depth-design .resource-grid p,
  body.depth-design .resource-grid a { grid-column: 2; }
  body.depth-design .resource-grid a { justify-self: start; }
}
