:root {
  --navy: #0a2540;
  --navy-2: #133560;
  --navy-3: #1c4a80;
  --gold: #d4a537;
  --gold-2: #b8892b;
  --gold-soft: #f0e0b8;
  --ink: #1a1a1a;
  --ink-2: #333;
  --muted: #5c6773;
  --muted-2: #8a94a0;
  --bg: #f7f5ee;
  --card: #ffffff;
  --line: #e6e2d6;
  --line-2: #efece2;
  --success: #2f855a;
  --danger: #b3261e;
  --focus: #4a90e2;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 8px 24px -8px rgba(10, 37, 64, 0.18),
    0 2px 6px -2px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 20px 60px -20px rgba(10, 37, 64, 0.35),
    0 4px 12px -4px rgba(10, 37, 64, 0.12);
  --sidebar-w: 264px;
  --banner-h: 34px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}
a { color: var(--navy-3); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }

/* --- Top banner --- */
.top-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  padding: 8px 20px;
  text-align: center;
  border-bottom: 2px solid var(--gold);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.top-banner strong { color: var(--gold); font-weight: 700; }

/* --- Skip link --- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 0 0 6px 0; text-decoration: none; z-index: 100; }
.skip-link:focus { left: 0; }

/* --- Layout --- */
.layout { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: calc(100vh - var(--banner-h)); }

/* --- Sidebar --- */
.sidebar {
  background: var(--navy);
  color: #fff;
  padding: 24px 0 16px;
  position: sticky;
  top: var(--banner-h);
  align-self: stretch;
  max-height: calc(100vh - var(--banner-h));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.brand { display: flex; align-items: center; gap: 12px; padding: 0 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.brand-mark { width: 40px; height: 40px; flex: none; background: #fff; border-radius: 8px; padding: 2px; }
.brand-title { font-family: "Merriweather", Georgia, serif; font-weight: 900; color: #fff; font-size: 18px; line-height: 1.1; }
.brand-sub { font-size: 11px; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3px; }

.teacher-box { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.teacher-label { display: block; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 5px; font-weight: 600; }
.teacher-input { width: 100%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: #fff; padding: 7px 10px; border-radius: 6px; font: inherit; font-size: 13px; }
.teacher-input::placeholder { color: rgba(255,255,255,0.45); }
.teacher-input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.14); }

.nav { padding: 16px 0; flex: 1; }
.nav-group { margin-bottom: 20px; }
.nav-group-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); padding: 0 20px 6px; font-weight: 600; }
.nav-link { display: flex; align-items: center; gap: 10px; padding: 8px 20px; color: rgba(255,255,255,0.82); text-decoration: none; font-size: 14px; font-weight: 500; border-left: 3px solid transparent; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.nav-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-link.active { background: rgba(212, 165, 55, 0.12); color: #fff; border-left-color: var(--gold); }
.nav-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.5; flex: none; }
.nav-link.active .nav-dot { background: var(--gold); opacity: 1; }

.side-foot { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); font-size: 12px; }
.side-foot-sub { color: rgba(255,255,255,0.35); margin-top: 2px; }

.sidebar-toggle {
  display: none;
  position: fixed;
  top: calc(var(--banner-h) + 8px);
  left: 12px;
  z-index: 50;
  /* Slightly translucent + backdrop blur so scrolled content stays visible behind the fixed button */
  background: rgba(10, 37, 64, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  color: #fff;
  border: none;
  padding: 9px 14px 9px 12px;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
/* When the drawer is open, retract the toggle so it doesn't clip the drawer's
   "Turner Toolkit" wordmark. The scrim (or tapping a nav link) closes the drawer. */
.sidebar.open ~ .sidebar-toggle,
body.sidebar-open .sidebar-toggle { opacity: 0; pointer-events: none; transform: translateX(-4px); }
.sidebar-scrim { display: none; position: fixed; inset: 0; background: rgba(10,37,64,0.4); z-index: 40; }

/* --- Content --- */
.content { padding: 40px 48px 80px; max-width: 1080px; outline: none; }

/* --- Headings --- */
h1, h2, h3 { font-family: "Merriweather", Georgia, serif; color: var(--navy); line-height: 1.25; margin: 0; }
.page-title { font-size: 32px; font-weight: 900; margin-bottom: 8px; }
.page-lede { font-size: 16px; color: var(--muted); margin: 0 0 32px; line-height: 1.6; max-width: 720px; }
.section-title { font-size: 22px; font-weight: 700; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); display: inline-block; }
.subsection-title { font-size: 17px; font-weight: 700; color: var(--navy); margin: 20px 0 8px; font-family: "Inter", sans-serif; }
p { margin: 0 0 12px; color: var(--ink-2); overflow-wrap: anywhere; }

/* --- Cards --- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 16px 0; box-shadow: var(--shadow-sm); overflow-wrap: anywhere; }
.card-title { font-family: "Merriweather", Georgia, serif; font-size: 19px; font-weight: 700; color: var(--navy); margin: 0 0 6px; line-height: 1.3; }
.card-meta { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.card-desc { color: var(--ink-2); margin: 8px 0 14px; }
.card-format { display: inline-block; background: var(--gold-soft); color: var(--navy); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { display: inline-block; background: #f2eddb; color: var(--navy); padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tag.subject { background: #e6e9f2; }
.tag.grade { background: #efe6f2; }
.tag.need { background: var(--gold-soft); }

/* Card grid for library */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card-grid .card { margin: 0; cursor: pointer; transition: transform 0.1s, box-shadow 0.15s; }
.card-grid .card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.strategy-mini-title { font-family: "Merriweather", Georgia, serif; font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 4px; line-height: 1.3; }
.strategy-mini-desc { font-size: 13px; color: var(--muted); margin: 6px 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.fav-btn { background: transparent; border: none; padding: 0; margin-left: 8px; cursor: pointer; font-size: 18px; line-height: 1; color: var(--muted-2); }
.fav-btn.on { color: var(--gold); }
.fav-btn:focus { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }

/* --- Video block --- */
.video-block { background: #f9f6ec; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 14px 16px; margin: 12px 0; display: flex; gap: 12px; align-items: flex-start; }
.video-icon { flex: none; width: 32px; height: 32px; background: var(--navy); color: var(--gold); border-radius: 50%; display: grid; place-items: center; margin-top: 2px; }
.video-meta { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; text-transform: uppercase; font-weight: 600; }
.video-title-link { display: block; font-weight: 600; color: var(--navy); margin: 2px 0; text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.video-title-link:hover { text-decoration: underline; }
.video-channel { font-size: 13px; color: var(--muted); }

/* --- Source link (under strategy content, per user rule) --- */
.source-block { background: #eef1f6; border: 1px solid var(--line); border-left: 4px solid var(--navy-3); border-radius: var(--radius-sm); padding: 12px 16px; margin: 16px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.source-block .source-label { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; }

/* --- Resource list --- */
.resource-list { list-style: none; padding: 0; margin: 8px 0 0; }
.resource-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; overflow-wrap: anywhere; }
.resource-list li:last-child { border-bottom: none; }
.resource-list a { font-weight: 500; }

.related-list { list-style: none; padding: 0; margin: 8px 0 0; }
.related-list li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.related-list li:last-child { border-bottom: none; }
.related-list a { font-weight: 500; color: var(--primary); text-decoration: none; }
.related-list a:hover { text-decoration: underline; }
.resource-heading { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 14px 0 4px; }

/* --- Look-fors list --- */
.check-list { list-style: none; padding: 0; margin: 8px 0; }
.check-list li { padding: 8px 0 8px 28px; position: relative; color: var(--ink-2); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--gold-2); font-weight: 700; }

/* --- Compare table --- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.compare-cell { background: #f9f6ec; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.compare-cell strong { display: block; color: var(--navy); font-family: "Merriweather", serif; margin-bottom: 4px; font-size: 15px; }

/* --- Filter/search bar --- */
.filter-bar { display: grid; gap: 12px; margin: 20px 0 24px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-row label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-right: 6px; }
.filter-btn { border: 1px solid var(--line); background: #fff; padding: 7px 12px; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; color: var(--ink-2); transition: background 0.15s, border-color 0.15s, color 0.15s; }
.filter-btn:hover { background: #f5f2ea; }
.filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.search-input { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 13px; min-width: 220px; background: #fff; color: var(--ink); }
.search-input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2); }

.select { padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 13px; background: #fff; color: var(--ink); }

/* --- Actions row --- */
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; text-decoration: none; }
.btn:hover { background: #f5f2ea; }
.btn.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.primary:hover { background: var(--navy-2); color: #fff; }
.btn.gold { background: var(--gold); color: var(--navy); border-color: var(--gold-2); }
.btn.gold:hover { background: var(--gold-2); color: var(--navy); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.small { padding: 5px 10px; font-size: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* --- Tabs --- */
.tabs { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 2px solid var(--line); margin: 16px 0 24px; }
.tab { border: none; background: transparent; padding: 12px 18px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab:hover { color: var(--navy); }
.tab.active { color: var(--navy); border-bottom-color: var(--gold); }

/* --- Forms --- */
.form-grid { display: grid; gap: 14px; margin: 16px 0; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.input, .textarea {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; background: #fff; color: var(--ink); width: 100%;
}
.textarea { min-height: 90px; resize: vertical; font-family: inherit; }
.input:focus, .textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15); }

/* --- Toast --- */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 8px; box-shadow: var(--shadow-lg); z-index: 200; font-size: 14px; opacity: 0; transform: translateY(10px); transition: opacity 0.2s, transform 0.2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateY(0); }

/* --- Detail view --- */
.detail-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; text-decoration: none; margin-bottom: 12px; }
.detail-back:hover { color: var(--navy); }

.section { margin: 24px 0; }

/* --- Weekly plan grid --- */
.week-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.day-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.day-card h3 { font-size: 14px; font-family: "Inter", sans-serif; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.04em; }
.day-card textarea { min-height: 70px; font-size: 13px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; resize: vertical; width: 100%; font-family: inherit; }
.day-card .day-field-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; margin: 4px 0 2px; }

/* --- Saved item pill --- */
.saved-pill { display: inline-block; background: var(--gold-soft); color: var(--navy); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; margin: 4px 4px 0 0; text-decoration: none; }
.saved-pill:hover { background: var(--gold); color: var(--navy); }

/* --- Citation --- */
.citation { font-size: 12px; color: var(--muted); font-style: italic; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }

/* --- Empty result --- */
.empty { text-align: center; padding: 40px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

.tag-pill { display: inline-block; background: var(--gold-soft); color: var(--navy); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-left: 8px; vertical-align: middle; }
.tag-pill-elem { background: #EEF2FF; color: #1D4ED8; text-transform: none; letter-spacing: 0; font-weight: 600; }

/* --- Callout --- */
.callout { background: #fff; border-left: 4px solid var(--gold); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 16px 20px; margin: 16px 0; }
.callout h3 { font-family: "Merriweather", serif; font-size: 16px; margin-bottom: 6px; }

/* --- Responsive --- */
@media (max-width: 1000px) {
  .week-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  /* Grid tracks default to min-content, so any wide child (like a table with
     min-width) can blow the track past the viewport. min-width:0 on both the
     grid item AND its child #view forces the track to honor the viewport and
     lets #view's overflow-x:hidden actually clip. */
  .layout > .content { min-width: 0; }
  #main.content > #view { min-width: 0; overflow-x: hidden; }
  .sidebar {
    position: fixed; top: var(--banner-h); left: 0; width: 280px; height: calc(100vh - var(--banner-h));
    transform: translateX(-100%); transition: transform 0.25s ease; z-index: 45; box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-toggle { display: inline-flex; }
  .sidebar-scrim { display: none; }
  .sidebar.open ~ .sidebar-scrim,
  .sidebar-scrim.open { display: block; }
  .content { padding: 72px 20px 60px; }
  .page-title { font-size: 26px; }
  .compare { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .content { padding: 68px 16px 48px; }
  .card { padding: 18px; }
  .search-input { min-width: 100%; }
  .week-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   EDITORIAL REBUILD — extends base styles above (do not rewrite)
   Navy + gold refined. Fraunces serif for display. Print-ready.
   ============================================================ */

:root {
  --font-serif: "Fraunces", "Merriweather", Georgia, serif;
  --text-hero: clamp(40px, 6vw, 72px);
  --text-display: clamp(28px, 3.5vw, 44px);
  --text-eyebrow: 11px;
  --gold-line: 2px;
}

/* Use Fraunces for large display headings */
.hero-title,
.editorial-h1,
.page-title,
.card-title,
h1, h2 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
}

/* Softer body letter tracking on serif headings */
.hero-title, .editorial-h1 { letter-spacing: -0.015em; }

/* --- Small-caps eyebrow --- */
.eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--gold); }
.eyebrow.on-light { color: var(--gold-2); }

/* --- Gold accent line under section titles (base already has one) --- */
.section-title {
  border-bottom-width: var(--gold-line);
}

/* --- Editorial hero (navy background variant) --- */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  margin: -8px 0 32px;
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 37, 64, 0.94) 0%,
    rgba(10, 37, 64, 0.78) 45%,
    rgba(10, 37, 64, 0.55) 100%
  );
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 56px 48px 60px;
  max-width: 780px;
}
.hero-title {
  font-size: var(--text-hero);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.hero-title em { font-style: italic; color: var(--gold); font-weight: 600; }
.hero-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 0 24px;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.15s, transform 0.1s;
}
.hero-cta:hover { background: #e6b93f; color: var(--navy); transform: translateY(-1px); }
.hero-cta.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.hero-cta.secondary:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.hero-gold-line {
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 22px;
  border-radius: 2px;
}

/* Compact hero (interior pages) */
.hero.hero-compact .hero-inner { padding: 40px 40px 44px; }
.hero.hero-compact .hero-title { font-size: var(--text-display); margin-bottom: 10px; }
.hero.hero-compact .hero-lede { font-size: 15px; margin-bottom: 0; }

@media (max-width: 700px) {
  .hero-inner { padding: 36px 24px 40px; }
  .hero.hero-compact .hero-inner { padding: 28px 22px 32px; }
}

/* --- Card variants --- */
.card-cover {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-cover-img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
}
.card-cover-body { padding: 20px 22px 22px; }

.card-quote {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  border-left: 3px solid var(--gold);
  padding: 26px 28px;
}
.card-quote .card-title { color: #fff; font-family: var(--font-serif); font-style: italic; }
.card-quote p { color: rgba(255, 255, 255, 0.88); font-size: 17px; line-height: 1.6; }
.card-quote .card-meta { color: var(--gold); }

.card-stat {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 118px;
  justify-content: center;
}
.card-stat .stat-number {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.card-stat .stat-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}
.card-stat .stat-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.card-stat.accent { background: linear-gradient(140deg, #fdf7e6 0%, #fff 65%); border-color: #e8d69a; }
.card-stat.accent .stat-number { color: var(--gold-2); }

/* Dashboard grids */
.dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 8px 0 28px;
}

.dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0 0 20px;
}
@media (max-width: 800px) {
  .dash-row { grid-template-columns: 1fr; }
}

.dash-jump-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 8px 0 20px;
}
.dash-jump-card {
  display: block;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  transition: border-color 0.15s, transform 0.1s;
}
.dash-jump-card:hover { border-color: var(--gold); transform: translateY(-1px); color: var(--navy); }
.dash-jump-card .jump-meta {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

/* Tried log entries */
.tried-list { list-style: none; padding: 0; margin: 6px 0 0; }
.tried-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
}
.tried-list li:last-child { border-bottom: none; }
.tried-list .tried-when {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  min-width: 84px;
  flex-shrink: 0;
}
.tried-list .tried-ok { color: var(--success); font-weight: 700; margin-right: 4px; }
.tried-list .tried-no { color: var(--danger); font-weight: 700; margin-right: 4px; }
.tried-list .tried-notes { color: var(--muted); font-style: italic; }

.tried-badge {
  display: inline-block;
  background: var(--success);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  margin-left: 6px;
}

/* Announcement / new callout */
.announce-callout {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 18px 22px;
  border: none;
  border-left: 4px solid var(--gold);
  margin: 0 0 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.announce-callout .announce-eyebrow {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 800;
  flex-shrink: 0;
}
.announce-callout .announce-text { color: #fff; margin: 0; flex: 1; min-width: 220px; font-size: 15px; }
.announce-callout .announce-text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.announce-callout .announce-text a:hover { color: #f0d67a; }

/* Who this is for card */
.audience-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 22px 24px;
  margin: 0 0 24px;
}
.audience-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 8px;
}
.audience-card p { font-size: 15px; color: var(--ink-2); margin: 0; line-height: 1.65; }

/* Reflection card (Fri/Sat/Sun) */
.reflection-card {
  background: #fff8e6;
  border: 1px solid #e8d69a;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 0 0 22px;
}
.reflection-card h3 { font-family: var(--font-serif); color: var(--navy); font-size: 18px; margin: 0 0 6px; }
.reflection-card p { font-size: 14px; color: var(--ink-2); margin: 0 0 12px; }
.reflection-card textarea {
  width: 100%;
  min-height: 60px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  resize: vertical;
  margin-bottom: 8px;
  background: #fff;
}
.reflection-card .rc-row { margin-bottom: 10px; }
.reflection-card label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

/* Search dropdown */
.search-box { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); position: relative; }
.search-wrap { position: relative; }
.global-search-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
}
.global-search-input::placeholder { color: rgba(255,255,255,0.5); }
.global-search-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.14);
}
.global-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  max-height: 460px;
  overflow-y: auto;
  z-index: 200;
  padding: 6px 0;
}
.global-search-results .gsr-group-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding: 10px 14px 4px;
}
.global-search-results .gsr-item {
  display: block;
  padding: 8px 14px;
  cursor: pointer;
  border-left: 3px solid transparent;
  text-decoration: none;
  color: var(--ink);
}
.global-search-results .gsr-item:hover,
.global-search-results .gsr-item.active {
  background: #f4f1e6;
  border-left-color: var(--gold);
}
.global-search-results .gsr-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.global-search-results .gsr-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
.global-search-results .gsr-empty {
  padding: 20px 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* Side-foot link */
.side-foot-link {
  display: inline-block;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.3);
  padding-bottom: 2px;
  font-weight: 500;
}
.side-foot-link:hover { color: var(--gold); border-color: var(--gold); }

/* First 30 Days */
.thirty-week {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 24px;
  margin: 0 0 18px;
  position: relative;
}
.thirty-week .week-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
}
.thirty-week h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 22px;
  margin: 4px 0 8px;
}
.thirty-week .week-intro { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.thirty-week ul { list-style: none; padding: 0; margin: 0; }
.thirty-week li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line-2);
}
.thirty-week li:first-child { border-top: 1px dashed var(--gold); }
.thirty-week li input[type=checkbox] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}
.thirty-week li a {
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}
.thirty-week li a:hover { color: var(--gold-2); text-decoration: underline; }
.thirty-week li.done a { color: var(--muted); text-decoration: line-through; }

.thirty-progress {
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin: 10px 0 20px;
}
.thirty-progress-bar { height: 100%; background: var(--gold); transition: width 0.3s; }

/* About page */
.about-block { max-width: 720px; }
.about-block h2 { font-family: var(--font-serif); font-size: 24px; color: var(--navy); margin: 24px 0 8px; }
.about-block p { color: var(--ink-2); font-size: 15px; line-height: 1.7; }

/* "I tried this" modal + button on strategy detail */
.tried-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.55);
  z-index: 90;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.tried-modal.show { display: flex; }
.tried-modal-inner {
  background: #fff;
  max-width: 480px;
  width: 100%;
  padding: 28px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.tried-modal-inner h3 { font-family: var(--font-serif); color: var(--navy); font-size: 22px; margin: 0 0 12px; }
.tried-modal-inner .worked-toggle {
  display: flex;
  gap: 10px;
  margin: 10px 0 14px;
}
.tried-modal-inner .worked-toggle button {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font: inherit;
  color: var(--ink-2);
}
.tried-modal-inner .worked-toggle button.selected {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.tried-modal-inner .worked-toggle button.selected.no {
  background: #b3261e;
  border-color: #b3261e;
}
.tried-modal-inner textarea { width: 100%; min-height: 80px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 14px; }
.tried-modal-inner .modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }

/* Print styles for lesson plan templates */
@media print {
  .top-banner, .sidebar, .sidebar-toggle, .sidebar-scrim, .side-foot,
  .search-box, .teacher-box, .brand, .nav, .actions-row, .hero,
  #global-search-results, .toast { display: none !important; }
  body { background: #fff; color: #000; }
  .layout { display: block; }
  .content { padding: 24px !important; max-width: none; }
  .card { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; margin: 12px 0; page-break-inside: avoid; }
  .page-title { font-size: 22px !important; margin-bottom: 6px; }
  .page-lede { font-size: 12px; margin-bottom: 16px; }
  h1, h2, h3 { color: #000; }
  a { color: #000; text-decoration: none; }
  .card-title { color: #000; }
  .btn, .print-btn { display: none !important; }
  .print-only { display: block !important; }
  .lesson-template-card { break-inside: avoid; }
}

/* Only show the target card when printing a specific template */
.printing-single .card.lesson-template-card:not(.print-target) { display: none !important; }
.printing-single .page-title,
.printing-single .page-lede,
.printing-single .callout,
.printing-single .hero { display: none !important; }

/* Print button on template cards */
.print-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--gold-2);
  color: var(--gold-2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}
.print-btn:hover { background: var(--gold-soft); }

/* Highlight in search results */
mark {
  background: var(--gold-soft);
  color: var(--navy);
  padding: 0 2px;
  border-radius: 2px;
}


/* ===== Planners (weekly/unit/daily with .docx export) — merged from Quick PD planner module ===== */
/* ================================================================
   PLANNERS — Standards picker, forms, walk-through, download
   ================================================================ */

/* Sub-navigation (indented sidebar links for planner pages) */
.nav-link-sub {
  padding-left: 30px !important;
  font-size: 13.5px;
  opacity: 0.88;
}
.nav-link-sub .nav-dot {
  width: 4px;
  height: 4px;
}

/* Featured card (announcement style) */
.card-featured {
  border-left: 4px solid #D4A537;
  background: linear-gradient(180deg, #FEFCF6 0%, #FFF 60%);
}
.card-featured .card-title {
  color: #0A2540;
}
.card-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #B98A16;
  background: #FDF5E1;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* --- Standards picker widget --- */
.std-picker {
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 16px;
  margin: 12px 0 6px;
  background: #FAFAFA;
}
.std-picker-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 12px;
  margin-bottom: 14px;
}
@media (max-width: 720px) {
  .std-picker-controls { grid-template-columns: 1fr; }
}
.std-picker-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #4B5563;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.std-picker-select, .std-picker-search {
  padding: 9px 11px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: #FFF;
  color: #1F2937;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.std-picker-select:focus, .std-picker-search:focus {
  border-color: #0A2540;
  outline: 2px solid rgba(10, 37, 64, 0.15);
}
.std-picker-meta {
  font-size: 12.5px;
  color: #6B7280;
  margin-bottom: 8px;
}
.std-picker-list {
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #FFF;
}
.std-picker-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #F3F4F6;
  align-items: start;
}
.std-picker-row:last-child { border-bottom: none; }
.std-picker-row:hover { background: #FAFAFA; }
.std-picker-row-code {
  font-family: 'Menlo', ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #B98A16;
  padding-top: 3px;
}
.std-picker-row-text {
  font-size: 13.5px;
  color: #1F2937;
  line-height: 1.45;
}
.std-picker-empty {
  padding: 20px;
  text-align: center;
  color: #6B7280;
  font-size: 13.5px;
}

/* --- Standards list widget (chips in a form) --- */
.std-list-wrap {
  min-height: 40px;
}
.std-list-empty {
  padding: 12px;
  color: #6B7280;
  font-size: 13.5px;
  background: #F9FAFB;
  border: 1px dashed #D1D5DB;
  border-radius: 8px;
  text-align: center;
}
.std-list-chip {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 10px;
  padding: 10px 12px;
  background: #FAF7EF;
  border: 1px solid #E9DFC4;
  border-left: 4px solid #D4A537;
  border-radius: 6px;
  margin-bottom: 6px;
  align-items: center;
}
.std-list-chip-code {
  font-family: 'Menlo', ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #B98A16;
}
.std-list-chip-text {
  font-size: 13px;
  color: #1F2937;
  line-height: 1.4;
}
.std-list-chip-meta {
  font-size: 11.5px;
  color: #6B7280;
  font-style: italic;
}
.std-list-chip-x {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: #E5E7EB;
  color: #4B5563;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.std-list-chip-x:hover { background: #D1D5DB; color: #111827; }

/* --- Planner form layout --- */
.planner-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
}
.form-section {
  background: #FFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 22px 24px;
  scroll-margin-top: 20px;
}
.form-section .section-title {
  margin: 0 0 6px 0;
  color: #0A2540;
  font-family: 'Merriweather', serif;
  font-size: 19px;
  font-weight: 700;
}
.form-section .section-lede {
  margin: 0 0 16px 0;
  color: #4B5563;
  font-size: 14px;
  line-height: 1.5;
}
.form-subsection {
  padding: 12px 0;
  border-top: 1px dashed #E5E7EB;
  margin-top: 12px;
}
.form-subsection:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.form-subhead {
  margin: 0 0 12px 0;
  font-size: 15px;
  font-weight: 700;
  color: #0A2540;
}
.form-field {
  margin-bottom: 14px;
}
.form-label {
  display: block;
  margin-bottom: 6px;
}
.form-label-text {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0A2540;
  margin-bottom: 2px;
}
.form-label-helper {
  display: block;
  font-size: 12.5px;
  color: #6B7280;
  font-style: italic;
  margin-bottom: 4px;
}
.form-input, .form-textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #1F2937;
  background: #FFF;
  box-sizing: border-box;
}
.form-textarea {
  resize: vertical;
  min-height: 60px;
  line-height: 1.5;
}
.form-input:focus, .form-textarea:focus {
  border-color: #0A2540;
  outline: 2px solid rgba(10, 37, 64, 0.15);
}
.form-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
.form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
}

/* --- Buttons (extensions to the existing .btn) --- */
.btn-primary {
  background: #0A2540;
  color: #FFF;
  border-color: #0A2540;
}
.btn-primary:hover {
  background: #123258;
  border-color: #123258;
  color: #FFF;
}
.btn-sm {
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 6px;
}
.btn-ghost {
  background: transparent;
  border: 1px dashed #D1D5DB;
  color: #4B5563;
}
.btn-ghost:hover {
  border-color: #B98A16;
  color: #B98A16;
  background: #FEFCF6;
}
.btn-walk {
  background: #D4A537;
  color: #0A2540;
  border-color: #D4A537;
  font-weight: 700;
}
.btn-walk:hover {
  background: #E8B84A;
  border-color: #E8B84A;
  color: #0A2540;
}

/* --- Action bar (bottom of planner) --- */
.planner-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  margin-top: 20px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid #E5E7EB;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.05);
  align-items: center;
}
.planner-actions-note {
  flex: 1 1 100%;
  font-size: 12.5px;
  color: #6B7280;
  font-style: italic;
  order: 99;
  padding-top: 4px;
}
.walk-launcher {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

/* --- Walk-through pill (floating) --- */
.walk-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: min(340px, calc(100vw - 32px));
  background: #0A2540;
  color: #FFF;
  border-radius: 14px;
  padding: 16px 40px 16px 18px;
  box-shadow: 0 10px 40px rgba(10,37,64,0.35);
  font-size: 14px;
  line-height: 1.45;
}
.walk-pill-count {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #D4A537;
  margin-bottom: 4px;
}
.walk-pill-title {
  font-family: 'Merriweather', serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.walk-pill-body {
  color: rgba(255,255,255,0.88);
  margin-bottom: 12px;
}
.walk-pill-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.walk-pill-actions .btn {
  background: #FFF;
  color: #0A2540;
  border-color: #FFF;
}
.walk-pill-actions .btn:hover {
  background: #F3F4F6;
  border-color: #F3F4F6;
}
.walk-pill-actions .btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #FFF;
}
.walk-pill-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #FFF;
  color: #FFF;
}
.walk-pill-actions .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.walk-pill-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #FFF;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.walk-pill-close:hover { background: rgba(255,255,255,0.2); }

.walk-highlight {
  outline: 3px solid #D4A537 !important;
  outline-offset: 6px;
  border-radius: 14px;
  transition: outline 0.2s;
}

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 200;
  background: #0A2540;
  color: #FFF;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- Sources list --- */
.sources-list {
  padding-left: 20px;
  margin: 10px 0 0 0;
}
.sources-list li {
  margin-bottom: 6px;
  font-size: 14px;
  color: #4B5563;
}
.sources-list a {
  color: #0A2540;
  text-decoration: underline;
}
.sources-list a:hover {
  color: #B98A16;
}

/* --- Print (planners) --- */
@media print {
  .walk-pill, .planner-actions, .walk-launcher, .sidebar, .sidebar-toggle,
  .hub-banner, .std-picker-controls, .std-picker-meta,
  .std-picker-list button, .btn { display: none !important; }
  .layout { display: block; }
  .content { padding: 0; }
  .form-section {
    border: 1px solid #D1D5DB;
    page-break-inside: avoid;
    margin-bottom: 12px;
    padding: 14px 16px;
  }
  .form-textarea, .form-input {
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: none;
  }
  .std-picker { display: none; }
  .std-list-chip { border: 1px solid #E9DFC4; background: #FAF7EF; }
}

/* ============================================================
   Unit-plan stage sections + strategy picker
   ============================================================ */

.form-section-stage {
  border-left: 4px solid #BC9124;
  padding-left: 1.25rem;
  background: linear-gradient(90deg, rgba(188,145,36,0.05), rgba(188,145,36,0) 40%);
  border-radius: 0 8px 8px 0;
}
.stage-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #BC9124;
  background: #FAF7EF;
  border: 1px solid #E9DFC4;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

/* Strategy picker — reuses .std-picker skeleton, differentiates with a gold tint */
.strat-picker {
  border-color: #E9DFC4;
  background: #FDFBF5;
}
.strat-picker .std-picker-controls .std-picker-select,
.strat-picker .std-picker-search {
  background: #fff;
}
.strat-picker-row {
  align-items: flex-start;
}
.strat-picker-row-title {
  font-weight: 600;
  color: #0A2540;
}
.strat-picker-row-group {
  font-size: 0.78rem;
  color: #BC9124;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.strat-picker-row-desc {
  font-size: 0.9rem;
  color: #4B5563;
}

/* Strategy chip list (chosen strategies) */
.strat-list-wrap .std-list-chip {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title  x"
    "desc   x"
    "meta   x"
    "link   x";
  gap: 0.35rem 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #E9DFC4;
  background: #FDFBF5;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.strat-list-chip-title { grid-area: title; font-weight: 700; color: #0A2540; font-size: 1rem; }
.strat-list-chip-desc  { grid-area: desc;  font-size: 0.92rem; color: #374151; line-height: 1.45; }
.strat-list-chip .std-list-chip-meta {
  grid-area: meta;
  font-size: 0.78rem;
  color: #BC9124;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.strat-list-chip-link {
  grid-area: link;
  font-size: 0.85rem;
  color: #1D4ED8;
  text-decoration: none;
  border-bottom: 1px dotted #1D4ED8;
  justify-self: start;
}
.strat-list-chip-link:hover { color: #0A2540; border-bottom-style: solid; }
.strat-list-chip .std-list-chip-x { grid-area: x; align-self: start; }



/* ===== Elementary Foundations (Early Reading / Math / Writing) — merged module ===== */
/* ------------------------------------------------------------------ */
/*  Elementary Foundations                                            */
/* ------------------------------------------------------------------ */

/* Hub landing grid */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0 32px;
}
.hub-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 22px 18px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-left: 4px solid #C7A44A;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.hub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
  border-left-color: #0A2540;
}
.hub-card-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  color: #0A2540;
  margin-bottom: 6px;
}
.hub-card-desc {
  color: #4B5563;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1 1 auto;
}
.hub-card-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C7A44A;
}

/* Evidence-base guide row */
.guide-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 12px 0 28px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 18px 14px;
  background: #FFFDF7;
  border: 1px solid #E9DDB9;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.guide-card:hover {
  border-color: #C7A44A;
  transform: translateY(-1px);
}
.guide-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C7A44A;
  margin-bottom: 4px;
}
.guide-title {
  color: #0A2540;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
  flex: 1 1 auto;
}
.guide-cta {
  font-size: 12px;
  color: #1D4ED8;
  border-bottom: 1px dotted #1D4ED8;
  display: inline-block;
}

/* Strategy cards on Elementary domain pages */
.strategy-card { margin-bottom: 20px; }
.strategy-band {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #FFF6DF;
  color: #7A5A00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.evidence-block {
  margin: 14px 0 14px;
  padding: 12px 14px;
  background: #F5F7FB;
  border-left: 3px solid #1D4ED8;
  border-radius: 6px;
}
.evidence-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1D4ED8;
  margin-bottom: 4px;
}
.evidence-body {
  color: #1F2937;
  font-size: 14px;
  line-height: 1.55;
}
.more-video-list { margin-top: 12px; }
.more-video-list .res-meta { color: #6B7280; font-size: 13px; }

/* Elementary Foundations → deep link into Strategy Library */
.strategy-open-link {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 14px;
  background: #EEF2FF;
  color: #1D4ED8;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #DDE3F5;
  transition: background 0.15s ease, transform 0.05s ease;
}
.strategy-open-link:hover { background: #E0E7FF; }
.strategy-open-link:active { transform: translateY(1px); }

/* Highlight pulse when a strategy card is deep-linked */
@keyframes stratHighlightPulse {
  0%   { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.55); background: #F5F8FF; }
  100% { box-shadow: 0 0 0 12px rgba(29, 78, 216, 0);  background: transparent; }
}
.strat-card-highlight {
  animation: stratHighlightPulse 2.1s ease-out both;
  border-radius: 12px;
}


/* ===== Sign-in box (name only) ===== */
.teacher-row { display: flex; gap: 6px; }
.teacher-row .teacher-input { flex: 1; min-width: 0; }
.teacher-btn { flex: none; background: var(--gold); color: #1a1a1a; border: 0; border-radius: 6px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.teacher-btn:hover { filter: brightness(1.08); }
.teacher-hint { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 6px; line-height: 1.35; }
.teacher-box.is-empty .teacher-input { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(212,165,55,0.25); animation: teacher-pulse 1.6s ease-in-out 3; }
.teacher-box.is-signed .teacher-btn { background: rgba(255,255,255,0.12); color: #fff; font-weight: 600; }
.teacher-box.is-signed .teacher-hint { color: var(--gold); }
@keyframes teacher-pulse { 0%,100% { box-shadow: 0 0 0 2px rgba(212,165,55,0.25);} 50% { box-shadow: 0 0 0 5px rgba(212,165,55,0.45);} }

.page-kicker { display:inline-block; font-size:11px; letter-spacing:.1em; text-transform:uppercase; font-weight:700; color:var(--gold); background:rgba(212,165,55,.14); padding:3px 8px; border-radius:4px; margin-bottom:6px; }

/* ==========================================================
   Toolkit v2 additions — tried-modal upgrade, growth dashboard,
   connective actions, coaching, next-action toast.
   ========================================================== */

/* ----- Tried modal (4-way + evidence) ----- */
.tried-modal-inner { max-width: 560px; }
.tried-modal-inner h3 { margin: 0 0 12px; font-size: 20px; }
.tm-label { display:block; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); margin: 14px 0 8px; }
.tm-optional { font-weight:400; text-transform:none; letter-spacing:0; color: var(--muted); font-size: 11px; }

.outcome-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.outcome-btn { text-align:left; padding:10px 12px; border-radius:8px; border:1.5px solid var(--border); background:#fff; cursor:pointer; transition: all .15s ease; }
.outcome-btn:hover { border-color: var(--navy); }
.outcome-btn.selected { border-color: var(--navy); background: #f0f6ff; box-shadow: 0 0 0 2px rgba(10,37,64,0.08); }
.outcome-title { font-weight:700; color: var(--ink); font-size:14px; }
.outcome-hint { font-size:12px; color: var(--muted); margin-top:2px; line-height:1.35; }

.evidence-chips { display:flex; flex-wrap:wrap; gap:6px; }
.evidence-chips .chip { padding:5px 10px; border-radius:999px; border:1px solid var(--border); background:#fff; font-size:12px; cursor:pointer; color:var(--ink); transition: all .12s ease; }
.evidence-chips .chip:hover { border-color: var(--navy); }
.evidence-chips .chip.on { background: var(--navy); color:#fff; border-color: var(--navy); }

#evidence-notes, #tried-notes { width:100%; min-height:56px; border:1.5px solid var(--border); border-radius:8px; padding:8px 10px; font: inherit; font-size:14px; resize: vertical; }

/* ----- Connective-tissue row on strategy detail ----- */
.connect-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px 12px; padding:12px 14px; margin:12px 0 20px; border-radius:10px; background:linear-gradient(180deg,#f7faff 0%,#f0f4fb 100%); border:1px solid var(--border); }
.connect-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }
.connect-actions { display:flex; flex-wrap:wrap; gap:6px; }
.connect-actions .btn { font-size:13px; padding:6px 12px; }
.btn.ghost { background:#fff; border:1px solid var(--border); color: var(--ink); }
.btn.ghost:hover { border-color: var(--navy); color: var(--navy); }

/* ----- Next-action toast after logging a try ----- */
.next-action-toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 9500; max-width: 96vw; background:#fff; border:1.5px solid var(--navy); border-radius: 12px; box-shadow: 0 12px 32px rgba(10,37,64,.22); padding: 12px 14px; animation: nat-in .28s ease-out; }
@keyframes nat-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.nat-title { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:8px; }
.nat-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.nat-actions .btn.ghost { padding:5px 8px; font-size:13px; }

/* ----- Growth Dashboard ----- */
.growth-loop { background:linear-gradient(180deg,#0A2540 0%,#0e2f56 100%); color:#fff; border-radius:14px; padding:20px 20px 22px; margin-bottom:20px; }
.gl-title { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color: var(--gold); margin-bottom:14px; }
.gl-steps { display:grid; grid-template-columns: repeat(6, 1fr); gap:10px; }
@media (max-width: 900px) { .gl-steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .gl-steps { grid-template-columns: repeat(2, 1fr); } }
.gl-step { display:block; text-decoration:none; color: inherit; background: rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.10); border-radius: 10px; padding:12px 12px 14px; transition: all .18s ease; }
.gl-step:hover { background: rgba(255,255,255,0.12); border-color: rgba(212,165,55,0.55); }
.gl-step.zero { background: rgba(255,255,255,0.03); }
.gl-n { font-size: 30px; font-weight: 800; color:#fff; line-height:1; }
.gl-step.zero .gl-n { color: rgba(255,255,255,0.4); }
.gl-label { margin-top:6px; font-weight:700; font-size:14px; color:#fff; }
.gl-unit { font-size:11px; color: rgba(255,255,255,0.65); margin-top:1px; }
.gl-hint { margin-top:8px; font-size:11px; color: var(--gold); line-height:1.35; }

.growth-grid { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
@media (max-width: 820px) { .growth-grid { grid-template-columns: 1fr; } }
.growth-card { padding:16px 18px; }
.growth-h { font-size:14px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color: var(--muted); margin:0 0 12px; }
.growth-goal { grid-column: 1 / -1; }

/* Outcome bars */
.outcome-bars { display:flex; flex-direction:column; gap:8px; }
.outcome-row { display:grid; grid-template-columns: 130px 1fr 72px; align-items:center; gap:10px; font-size:13px; }
.outcome-lab { color: var(--ink); }
.outcome-track { height:10px; background:#f0f2f6; border-radius:6px; overflow:hidden; }
.outcome-fill { height:100%; border-radius:6px; transition: width .5s ease; }
.outcome-fill.good  { background:#2b7a3d; }
.outcome-fill.warn  { background:#c98a10; }
.outcome-fill.soft  { background:#9aa4b2; }
.outcome-fill.info  { background:#1d4ed8; }
.outcome-num { text-align:right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight:600; }
.outcome-num .pct { color: var(--muted); font-weight:400; font-size:12px; }

/* Sparkline bars */
.spark-legend { font-size:11px; color: var(--muted); margin-bottom: 8px; display:flex; align-items:center; }
.sw { display:inline-block; width:10px; height:10px; border-radius:2px; margin: 0 4px 0 8px; vertical-align: middle; }
.sw-tried { background: #1d4ed8; }
.sw-reflect { background: var(--gold); }
.sparkbars { display:flex; align-items:flex-end; gap:6px; height: 96px; }
.sparkcol { flex:1; display:flex; flex-direction:column; align-items:center; justify-content: flex-end; gap:4px; min-width: 0; }
.sparkstack { display:flex; align-items:flex-end; gap:2px; height: 74px; width: 100%; }
.sparkbar { flex:1; min-height: 2px; border-radius: 2px 2px 0 0; }
.sb-tried   { background: #1d4ed8; }
.sb-reflect { background: var(--gold); }
.sparklab { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Lists */
.evidence-list, .most-tried, .coach-list { list-style: none; padding: 0; margin: 0; }
.evidence-list li, .most-tried li { display:flex; justify-content:space-between; align-items:center; padding:7px 0; border-bottom:1px dashed #eef0f4; font-size:14px; }
.evidence-list li:last-child, .most-tried li:last-child { border-bottom: none; }
.ev-name { color: var(--ink); }
.ev-count { color: var(--muted); font-variant-numeric: tabular-nums; font-weight:600; }
.most-tried a { color: var(--navy); text-decoration: none; font-weight:600; }
.most-tried a:hover { text-decoration: underline; }

/* Goal progress */
.goal-progress { padding: 10px 0; border-bottom: 1px dashed #eef0f4; }
.goal-progress:last-child { border-bottom: none; }
.gp-title { font-weight:700; color: var(--ink); margin-bottom:4px; }
.gp-metrics { display:flex; gap:16px; font-size:13px; color: var(--muted); }
.gp-metrics strong { color: var(--navy); }

/* Coaching list */
.coach-list li { padding: 10px 0; border-bottom: 1px dashed #eef0f4; }
.coach-list li:last-child { border-bottom: none; }
.coach-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.coach-note { font-size:13px; color: var(--muted); margin: 4px 0 6px; }
.coach-actions { display:flex; gap:6px; }
.btn.small { font-size:12px; padding: 3px 8px; }

.small-note { font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 8px; }

/* ---------------- MTSS/PLC page ---------------- */
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
@media (max-width: 900px) { .grid-2col { grid-template-columns: 1fr; } }

.callout-navy {
  background: linear-gradient(135deg, #0b2545 0%, #13315c 100%);
  color: #f8fafc;
  border: none;
  padding: 24px;
  border-radius: 14px;
  margin: 20px 0;
}
.callout-navy h3 { color: #ffffff; margin: 0 0 8px 0; }
.callout-navy p { color: #e2e8f0; margin: 0; }
.callout-navy p + p { margin-top: 10px; }
.callout-navy strong { color: #ffffff; font-weight: 700; }
.callout-navy a { color: #ffe6a8; text-decoration: underline; }
.callout-navy a:hover { color: #fff2cc; }

/* Maroon variant of the navy callout — used for the intertwined-domains panel.
   All text sits at #ffffff / #f8e8ee for AA contrast on the maroon gradient. */
.callout-maroon {
  background: linear-gradient(135deg, #6b1f3a 0%, #8b2a4a 100%);
  color: #ffffff;
  border: none;
  padding: 24px;
  border-radius: 14px;
  margin: 20px 0;
}
.callout-maroon h3 {
  color: #ffffff;
  margin: 0 0 10px 0;
  font-family: "Merriweather", serif;
  font-size: 20px;
  line-height: 1.35;
}
.callout-maroon p { color: #fbeef2; margin: 0; line-height: 1.55; }
.callout-maroon p + p { margin-top: 12px; }
.callout-maroon strong { color: #ffffff; font-weight: 700; }
.callout-maroon a { color: #ffe6a8; text-decoration: underline; }
.callout-maroon a:hover { color: #fff2cc; }
.callout-maroon em { color: #fbeef2; }
.callout-maroon .check-list { list-style: none; padding: 0; margin: 12px 0 4px 0; }
.callout-maroon .check-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: #fbeef2;
  line-height: 1.55;
}
/* iOS Safari occasionally fails to inherit color across inline boundaries
   (text after <strong>, wrapped inline text). Set every inline descendant
   explicitly so nothing renders as the default dark gray. Strong stays white,
   links stay gold. */
.callout-maroon .check-list li,
.callout-maroon .check-list li span,
.callout-maroon .check-list li em,
.callout-maroon .check-list li i,
.callout-maroon .check-list li cite,
.callout-maroon .check-list li small { color: #fbeef2 !important; }
.callout-maroon .check-list li strong { color: #ffffff !important; }
.callout-maroon .check-list li a,
.callout-maroon .check-list li a em,
.callout-maroon .check-list li a i,
.callout-maroon .check-list li a cite,
.callout-maroon .check-list li a span { color: #ffe6a8 !important; }
.callout-maroon .check-list li + li { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 2px; }
.callout-maroon .check-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 8px;
  color: #ffe6a8;
  font-weight: 700;
  font-size: 16px;
}

/* Warning / legal-safeguard callout. Amber-on-cream with a strong left border so
   it reads as a heads-up, not a decorative block. */
.callout-warn {
  background: #fff8e6;
  border: 1px solid #f0d488;
  border-left: 6px solid #b8892b;
  color: #2a1a05;
  padding: 20px 22px;
  border-radius: 10px;
  margin: 20px 0;
}
.callout-warn .warn-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a5a00;
  background: #ffe6a8;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.callout-warn h3 {
  color: #4a2c00;
  font-family: "Merriweather", serif;
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 10px 0;
}
.callout-warn p { color: #2a1a05; line-height: 1.55; margin: 0; }
.callout-warn p + p { margin-top: 10px; }
.callout-warn strong { color: #4a2c00; font-weight: 700; }
.callout-warn a { color: #8a5a00; text-decoration: underline; font-weight: 600; }
.callout-warn a:hover { color: #6b4600; }

.mtss-loop {
  display: flex; flex-direction: column; gap: 14px; margin: 20px 0;
  counter-reset: loop;
}
.loop-step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card-bg, #fff);
  border: 1px solid var(--card-border, #e5e7eb);
  border-radius: 12px;
  padding: 16px 18px;
  border-left: 4px solid #0b2545;
}
.loop-num {
  flex: 0 0 44px; height: 44px; border-radius: 50%;
  background: #0b2545; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.loop-body { flex: 1; }
.loop-h { font-weight: 700; margin-bottom: 4px; font-size: 15px; color: var(--text, #111); }
.loop-body p { margin: 4px 0 0 0; color: var(--text-secondary, #444); line-height: 1.5; }

/* Tables live inside a horizontal-scroll wrapper so narrow phones can pan
   sideways instead of collapsing the first column to one letter per line.
   The wrapper itself is width:100% and clips overflow so the page never
   grows past the viewport. */
.clean-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--card-border, #e5e7eb);
  border-radius: 8px;
  background: #fff;
  margin: 12px 0;
}
.clean-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: auto;
}
.clean-table th, .clean-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--card-border, #e5e7eb);
  vertical-align: top;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
}
.clean-table th:first-child, .clean-table td:first-child {
  min-width: 120px;
}
.clean-table thead th {
  background: #f8fafc;
  font-weight: 700;
  color: #0b2545;
  border-bottom: 2px solid #0b2545;
  white-space: nowrap;
}
.clean-table tbody tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .clean-table { font-size: 13px; min-width: 520px; }
  .clean-table th, .clean-table td { padding: 8px 10px; }
  .clean-table th:first-child, .clean-table td:first-child { min-width: 110px; }
}

.check-list { margin: 8px 0 0 20px; padding: 0; }
.check-list li { margin-bottom: 6px; line-height: 1.5; }
.check-list.numbered { list-style: decimal; }

.related-list { margin: 0; padding-left: 20px; }
.related-list li { margin-bottom: 8px; line-height: 1.5; }
.related-list a { color: #0b2545; text-decoration: underline; }

/* --- Embedded video block (elementary K-5 pages) --- */
.video-block-embed {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 18px;
  align-items: start;
  padding: 16px 18px;
}
@media (max-width: 700px) {
  .video-block-embed { grid-template-columns: 1fr; }
}
.video-block-embed .video-text {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.video-block-embed .video-title {
  font-weight: 700; color: var(--navy);
  font-size: 15px; line-height: 1.35;
  overflow-wrap: anywhere;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #0b2545;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.15);
}
.video-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0; margin: 0;
  border: none; background: transparent;
  cursor: pointer;
  display: block;
  overflow: hidden;
}
.video-poster {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.video-thumb:hover .video-poster {
  transform: scale(1.03);
  filter: brightness(1.08);
}
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(11, 37, 69, 0.85);
  color: #ffd166;
  display: grid; place-items: center;
  pointer-events: none;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.video-play svg { margin-left: 3px; } /* optical alignment for play triangle */
.video-thumb:hover .video-play {
  background: #0b2545;
  transform: translate(-50%, -50%) scale(1.08);
}
.video-thumb:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
}
.video-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
  display: block;
}
.video-links {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.video-links .btn-small {
  font-size: 13px;
  padding: 6px 12px;
}

/* ==========================================================
   Curriculum hubs v2 — evidence, provenance, standards,
   share controls, learner supports (PR #1)
   ========================================================== */
/* Evidence, provenance, standards, and share controls */
.strategy-card-actions { display:flex; align-items:center; gap:4px; flex:none; }
.copy-link-btn {
  width:32px; height:32px; border:1px solid var(--line); border-radius:999px;
  background:#fff; color:var(--navy); cursor:pointer; font-size:14px;
}
.copy-link-btn:hover { background:#f4f7fb; border-color:#b9c5d3; }
.metadata-row { display:flex; flex-wrap:wrap; gap:6px; margin:11px 0; }
.meta-badge {
  display:inline-flex; align-items:center; padding:4px 8px; border-radius:999px;
  font-size:10px; line-height:1.2; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
}
.meta-badge.provenance { background:#fff3cf; color:#745400; }
.meta-badge.stage { background:#e8f2ff; color:#174c7e; }
.meta-badge.oktle { background:#edf7ee; color:#24612e; }
.example-preview {
  margin:10px 0; padding:10px 12px; border-left:3px solid var(--gold);
  border-radius:4px; background:#fffaf0; color:#384554; font-size:13px; line-height:1.5;
}
.evidence-line { margin:10px 0; color:#46566a; font-size:12px; line-height:1.45; }
.evidence-source-block { align-items:baseline; flex-wrap:wrap; }
.example-in-action { padding:16px; background:#fffaf0; border-radius:8px; border:1px solid #f1dfad; }
.example-heading { display:flex; gap:10px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.example-heading .subsection-title { margin:0; }
.methodology-note {
  margin:-2px 0 18px; padding:11px 14px; border:1px solid var(--line); border-radius:8px; background:#f8fafc;
}
.methodology-note summary { cursor:pointer; color:var(--navy); font-size:13px; font-weight:750; }
.methodology-note p { margin:10px 0 2px; color:#46566a; font-size:13px; line-height:1.55; }

/* New content hubs and onboarding pathways */
.support-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:20px; }
.support-card { margin:0; }
.voice-questions, .lesson-arc { padding-left:22px; }
.voice-questions li, .lesson-arc li { margin:7px 0; line-height:1.45; }
.exemplar-intro { margin-top:-8px; }
.exemplar-grid { align-items:start; }
.exemplar-card .video-block { margin:14px 0; }

@media (max-width: 760px) {
  .support-grid { grid-template-columns:1fr; }
}

@media print {
  .sidebar, .topbar, .actions-row, .side-foot { display:none !important; }
  .content { margin:0 !important; padding:0 !important; }
}
