: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; background: var(--navy); 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); }
.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; }

/* --- 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; }
  .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;
}
