/* TheLearnDen guides + printables. Generated by scripts/build-guide-pages.mjs /
   scripts/build-checklist-pages.mjs — do not edit by hand. */
.guide-page { max-width: 780px; margin: 0 auto; padding: 0 0 3rem; }
.guide-page h1 { max-width: 22ch; }
.guide-page section { margin-top: 2rem; }
.guide-page h2 { margin-top: 2rem; font-size: 1.5rem; }
.guide-page h3 { margin-top: 1.4rem; color: var(--accent-text); font-size: 1.18rem; font-weight: 700; }
.guide-page .guide-action-box { padding: 1.15rem 1.25rem; border: 1px solid color-mix(in srgb, var(--accent, #3fd0bf) 54%, var(--line, #354156));
  border-left: .32rem solid var(--accent, #3fd0bf); border-radius: 1rem; background: color-mix(in srgb, var(--card, #212936) 92%, var(--accent, #3fd0bf) 8%); }
.guide-page .guide-action-box h2 { margin-top: 0; }
.guide-page .guide-action-box ol { margin-bottom: 0; }
.guide-meta { color: var(--ink-soft, #a5aec0); font-size: .95rem; margin-top: .4rem; }
.guide-page ul, .guide-page ol { padding-left: 1.35rem; }
.guide-page li { margin: .3rem 0; }
.guide-actions { display: flex; flex-wrap: wrap; gap: .7rem 1rem; align-items: center; margin: 1.2rem 0; }
.guide-print { padding: .55rem 1.1rem; border: 1px solid var(--line, #354156); border-radius: 999px;
  background: var(--card, #212936); color: var(--ink, #edeef2); font: inherit; cursor: pointer; }
.guide-print:hover { border-color: var(--accent, #3fd0bf); }
.guide-pilot { margin: 1.35rem 0 2rem; padding: 1.1rem 1.2rem; border: 1px solid color-mix(in srgb, var(--accent, #3fd0bf) 46%, var(--line, #354156)); border-radius: 1rem; background: linear-gradient(145deg, color-mix(in srgb, var(--accent, #3fd0bf) 8%, var(--card, #212936)), var(--card, #212936)); }
.guide-pilot h2 { margin-top: 0; }
.guide-decision-path ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: 0; list-style: none; }
.guide-decision-path li { margin: 0; }
.guide-decision-path button { width: 100%; height: 100%; padding: .9rem; border: 1px solid var(--line, #354156); border-radius: .8rem; background: var(--card, #212936); color: var(--ink, #edeef2); font: inherit; text-align: left; cursor: pointer; }
.guide-decision-path button strong, .guide-decision-path button span { display: block; }
.guide-decision-path button span { margin-top: .3rem; color: var(--ink-soft, #a5aec0); }
.guide-decision-path button:hover, .guide-decision-path button:focus-visible { border-color: var(--accent, #3fd0bf); }
.guide-pilot-status { min-height: 1.4rem; margin-bottom: 0; font-weight: 700; }
@media (max-width: 620px) { .guide-decision-path ul { grid-template-columns: 1fr; } }
.guide-share { margin: 2rem 0 1rem; padding: 1rem 1.15rem; border: 1px solid color-mix(in srgb, var(--accent, #3fd0bf) 32%, var(--line, #354156));
  border-radius: 14px; background: color-mix(in srgb, var(--card, #212936) 86%, transparent); }
.guide-share h2 { margin: 0 0 .35rem; font-size: 1.12rem; }
.guide-share p { margin: .35rem 0; color: var(--ink-soft, #a5aec0); }
.guide-share-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }
.guide-share-actions a, .guide-share-actions button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line, #354156); border-radius: 999px; background: var(--card, #212936); color: var(--ink, #edeef2);
  font: inherit; font-weight: 800; padding: .55rem .9rem; text-decoration: none; cursor: pointer; }
.guide-share-actions a { color: var(--accent-text, #3fd0bf); }
.guide-share-actions a:hover, .guide-share-actions button:hover { border-color: var(--accent, #3fd0bf); }
.guide-share-actions a:focus-visible, .guide-share-actions button:focus-visible { outline: 3px solid var(--accent, #3fd0bf); outline-offset: 3px; }
.guide-share-status { min-height: 1.4em; font-size: .84rem; }
.guide-research-callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.5rem;
  align-items: center; margin: 1.6rem 0 0; padding: 1rem 1.15rem; border: 1px solid color-mix(in srgb,
  var(--accent, #3fd0bf) 42%, var(--line, #354156)); border-radius: var(--radius, 18px);
  background: color-mix(in srgb, var(--accent, #3fd0bf) 8%, var(--card, #212936)); }
.guide-research-callout h2 { margin: .12rem 0 .3rem; font-size: 1.25rem; }
.guide-research-callout p { margin: 0; color: var(--ink-soft, #a5aec0); }
.guide-research-callout .eyebrow { color: var(--accent-text, #3fd0bf); font-weight: 800; }
.guide-research-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.guide-research-actions a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line, #354156); border-radius: 999px; background: var(--card2, #293347);
  color: var(--accent-text, #3fd0bf); font-weight: 800; padding: .55rem .85rem; text-decoration: none; }
.guide-research-actions a:first-child { background: var(--accent, #3fd0bf); color: #10151b; }
.guide-research-actions a:hover { border-color: var(--accent, #3fd0bf); text-decoration: underline; }
.guide-research-actions a:focus-visible { outline: 3px solid var(--accent, #3fd0bf); outline-offset: 3px; }
.guide-card-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem; padding: 0; list-style: none; }
.guide-card-list li { margin: 0; padding: 1rem 1.2rem; border: 1px solid var(--line, #354156);
  border-radius: var(--radius, 18px); background: var(--card, #212936);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.guide-card-list li:hover, .guide-card-list li:focus-within { border-color: var(--accent, #3fd0bf);
  transform: translateY(-2px); box-shadow: 0 .65rem 1.4rem rgba(0, 0, 0, .14); }
.guide-card-list h3 { margin-top: 0; }
.guide-card-list p { margin: .4rem 0 0; color: var(--ink-soft, #a5aec0); }
.guide-card-meta { display: flex; flex-wrap: wrap; gap: .25rem .65rem; margin-top: .7rem !important;
  font-size: .84rem; font-weight: 700; }
.guide-card-meta span + span::before { content: "·"; margin-right: .65rem; }
.guide-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1rem; }
.guide-section-heading h2 { margin-bottom: 0; }
.guide-section-heading span { color: var(--ink-soft, #a5aec0); font-size: .84rem; font-weight: 800; }
.guide-library { margin: 2rem 0 2.5rem; padding: clamp(1rem, 3vw, 1.4rem); border: 1px solid var(--line, #354156);
  border-radius: var(--radius, 18px); background: linear-gradient(145deg,
    color-mix(in srgb, var(--accent, #3fd0bf) 10%, var(--card, #212936)), var(--card, #212936) 45%); }
:root[data-theme="light"] .guide-library { background: var(--card, #fff); }
.guide-library .guide-library-intro h2 { margin: .15rem 0 .35rem; }
.guide-library .guide-library-intro p:last-child { margin-bottom: 0; color: var(--ink-soft, #a5aec0); }
.guide-library-controls { display: grid; grid-template-columns: minmax(0, 2fr) minmax(12rem, 1fr) auto;
  gap: .75rem; align-items: end; margin-top: 1.15rem; }
.guide-library-field { display: grid; gap: .38rem; font-weight: 800; }
.guide-library-field span { font-size: .9rem; }
.guide-library-field input, .guide-library-field select { width: 100%; min-height: 48px; padding: .68rem .8rem;
  border: 1px solid var(--line, #354156); border-radius: .75rem; background: var(--bg, #10141d);
  color: var(--ink, #edeef2); font: inherit; }
.guide-library-field input::placeholder { color: var(--ink-soft, #a5aec0); opacity: .9; }
.guide-library-field input:focus-visible, .guide-library-field select:focus-visible, .guide-library-clear:focus-visible,
.guide-library-browse a:focus-visible { outline: 3px solid var(--accent, #41d9c5); outline-offset: 3px; }
.guide-library-clear { min-height: 48px; padding: .65rem 1rem; border: 1px solid var(--line, #354156);
  border-radius: .75rem; background: var(--card, #212936); color: var(--ink, #edeef2); font: inherit;
  font-weight: 800; cursor: pointer; }
.guide-library-clear:hover { border-color: var(--accent, #3fd0bf); }
.guide-library-status { margin: .9rem 0 0; color: var(--ink-soft, #a5aec0); font-size: .9rem; font-weight: 700; }
.guide-library-browse { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-top: .85rem; }
.guide-library-browse span { color: var(--ink-soft, #a5aec0); font-size: .86rem; font-weight: 800; }
.guide-library-browse a { padding: .34rem .62rem; border: 1px solid var(--line, #354156); border-radius: 999px;
  background: var(--card2, #293347); font-size: .84rem; font-weight: 800; text-decoration: none; }
.guide-library-browse a:hover { border-color: var(--accent, #3fd0bf); text-decoration: underline; }
.guide-library-browse[hidden] { display: none; }
.guide-library-empty { margin-top: 1rem; padding: 1rem; border: 1px dashed var(--line, #354156); border-radius: .85rem; }
.guide-library-empty h3 { margin: 0; }
.guide-library-empty p { margin: .35rem 0 0; color: var(--ink-soft, #a5aec0); }
@media (max-width: 700px) {
  .guide-research-callout { grid-template-columns: 1fr; }
  .guide-research-actions { justify-content: flex-start; }
  .guide-library-controls { grid-template-columns: 1fr; }
  .guide-library-clear { width: 100%; }
}
.affiliate-disclosure { margin: 1rem 0 1.5rem; padding: 1rem 1.15rem; border: 1px solid var(--line, #354156);
  border-radius: var(--radius, 18px); background: var(--card, #212936); }
.affiliate-disclosure p { margin: .35rem 0 0; color: var(--ink-soft, #a5aec0); }
.affiliate-label { white-space: nowrap; font-weight: 700; }
.guide-how-to { padding: 1rem 1.2rem 1.1rem; border: 1px solid var(--line, #354156);
  border-radius: var(--radius, 18px); background: var(--card, #212936); }
.guide-how-to h2 { margin-top: 0; }
.guide-how-to ol { margin-bottom: 0; }
.guide-how-to li { padding-left: .25rem; }
.guide-how-to li::marker { color: var(--accent, #3fd0bf); font-weight: 800; }
.guide-how-to p { margin: .25rem 0 .8rem; color: var(--ink-soft, #a5aec0); }
.guide-how-to li:last-child p { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0; }
.checklist li { display: flex; align-items: center; gap: .75rem; margin: 0; padding: .5rem .2rem;
  border-bottom: 1px solid var(--line, #354156); }
.cl-box { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; border: 2px solid var(--ink-soft, #a5aec0);
  border-radius: .28rem; }
.checklist .cl-unlinked { color: var(--ink, #edeef2); }
.guide-faq h3 { margin-top: 1.5rem; }
.guide-figure { margin: 1.4rem 0; }
.guide-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius, 18px);
  border: 1px solid var(--line, #354156); background: #fff; }
.guide-figure figcaption { margin-top: .5rem; color: var(--ink-soft, #a5aec0); font-size: .9rem; }
.guide-table-wrap { overflow-x: auto; margin: 1rem 0; }
.guide-table-wrap:focus-visible { outline: 3px solid var(--accent, #41d9c5); outline-offset: 3px; }
.guide-table { border-collapse: collapse; width: 100%; min-width: 38rem; }
.guide-table caption { caption-side: top; text-align: left; color: var(--ink-soft, #a5aec0); padding-bottom: .4rem; }
.guide-table th, .guide-table td { border: 1px solid var(--line, #354156); padding: .5rem .7rem; text-align: left; vertical-align: top; }
.guide-table thead th { background: var(--card, #212936); }
.guide-data-tools { display: grid; gap: .4rem; margin: 1rem 0 .75rem; }
.guide-data-tools label { font-weight: 800; }
.guide-data-tools input { width: min(100%, 32rem); min-height: 46px; padding: .65rem .8rem;
  border: 1px solid var(--line, #354156); border-radius: .7rem; background: var(--card, #212936);
  color: var(--ink, #edeef2); font: inherit; }
.guide-data-tools input:focus-visible { outline: 3px solid var(--accent, #3fd0bf); outline-offset: 3px; }
.guide-data-status { margin: 0; color: var(--ink-soft, #a5aec0); font-size: .9rem; }
.guide-data-table tbody th { font-weight: 700; }
.guide-data-table [hidden] { display: none; }
.planner-table tbody td { height: 3.4rem; }
.planner-table tbody th { white-space: nowrap; font-weight: 600; }
.letter { margin: 1.2rem 0; padding: clamp(1.1rem, 3vw, 1.8rem); border: 1px solid var(--line, #354156);
  border-radius: var(--radius, 18px); background: var(--card, #212936); }
.letter p { margin: .75rem 0; }
.fill-blank { display: inline-block; min-width: 9ch; padding: 0 .35rem; border-bottom: 1px dashed var(--ink-soft, #a5aec0);
  font-style: italic; color: var(--ink-soft, #a5aec0); }
.guide-related { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line, #354156); }
.guide-related ul { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; padding-left: 1.15rem; }
.guide-origin { display: none; margin: 0 0 1.5rem; padding: 1rem 1.15rem;
  border: 1px solid var(--line, #354156);
  border-radius: var(--radius, 18px); background: var(--card, #212936); }
#from-ks2phonics:target .guide-origin { display: block; }
#from-ks2phonics:target { scroll-margin-top: 100vh; }
.guide-origin p { margin: 0; color: var(--ink-soft, #a5aec0); }
.den-roundtable { --rt-1:.25rem; --rt-2:.5rem; --rt-3:.75rem; --rt-4:1rem; --rt-5:1.5rem; --rt-6:2rem; --rt-7:2.5rem;
  margin: 2.4rem 0; padding: var(--rt-4); border: 1px solid color-mix(in srgb, var(--accent, #3fd0bf) 55%, var(--line, #354156));
  border-radius: var(--radius, 18px); background: linear-gradient(150deg, color-mix(in srgb, var(--accent, #3fd0bf) 10%, var(--card, #212936)), var(--card, #212936) 52%); }
.den-roundtable h2 { margin: var(--rt-1) 0 var(--rt-3); }
.den-roundtable h3 { margin: 0; font-size: clamp(1.12rem, 4vw, 1.35rem); }
.den-roundtable-question { max-width: 46ch; margin: 0; color: var(--ink, #edeef2); font-size: clamp(1.08rem, 4.5vw, 1.35rem); font-weight: 800; }
.den-roundtable-purpose { max-width: 54ch; margin: var(--rt-2) 0 0; color: var(--ink-soft, #a5aec0); }
.den-roundtable-preview { display: inline-flex; margin: var(--rt-3) 0 0; padding: .3rem .6rem; border: 1px solid var(--line, #354156); border-radius: 999px; color: var(--ink-soft, #a5aec0); font-size: .78rem; font-weight: 800; }
.den-roundtable-state { min-height: 1.5rem; margin: var(--rt-3) 0 0; color: var(--ink-soft, #a5aec0); font-weight: 700; }
.den-roundtable[hidden], .den-roundtable [hidden] { display: none !important; }
.den-roundtable-section { margin-top: var(--rt-6); }
.den-roundtable-section > h3 { margin-bottom: var(--rt-3); }
.den-roundtable-form { display: grid; gap: var(--rt-3); margin-top: var(--rt-6); padding: var(--rt-4); border: 1px solid var(--line, #354156); border-radius: .95rem; background: color-mix(in srgb, var(--card2, #293347) 76%, transparent); scroll-margin-bottom: 8rem; }
.den-roundtable-form h3 { margin: 0; }
.den-roundtable-form label { font-weight: 800; }
.den-roundtable-form textarea { width: 100%; min-height: 9rem; resize: vertical; padding: .8rem; border: 1px solid var(--line, #354156); border-radius: .8rem;
  background: var(--card, #212936); color: var(--ink, #edeef2); font: inherit; line-height: 1.5; scroll-margin-bottom: 9rem; }
.den-roundtable-form textarea:focus-visible, .den-roundtable button:focus-visible, .den-roundtable summary:focus-visible { outline: 3px solid var(--accent, #3fd0bf); outline-offset: 3px; }
.den-roundtable-form-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; color: var(--ink-soft, #a5aec0); font-size: .88rem; }
.den-roundtable-form-meta p { margin: 0; }
.den-roundtable-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .65rem; }
.den-roundtable button, .den-roundtable summary { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: .55rem .85rem;
  border: 1px solid var(--line, #354156); border-radius: 999px; background: var(--card2, #293347); color: var(--ink, #edeef2); font: inherit; font-weight: 800; cursor: pointer; }
.den-roundtable button:hover, .den-roundtable summary:hover { border-color: var(--accent, #3fd0bf); }
.den-roundtable button:disabled { cursor: not-allowed; opacity: .58; }
.den-roundtable-list { display: grid; gap: var(--rt-3); }
.den-roundtable-contribution { padding: var(--rt-4); border: 1px solid var(--line, #354156); border-radius: .9rem; background: color-mix(in srgb, var(--card2, #293347) 82%, transparent); }
.den-roundtable-contribution > p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.den-roundtable-update-list { display: grid; gap: var(--rt-3); }
.den-roundtable-update { padding: var(--rt-4); border-left: .3rem solid var(--accent, #3fd0bf); border-radius: 0 .8rem .8rem 0; background: color-mix(in srgb, var(--card2, #293347) 82%, transparent); }
.den-roundtable-update h4, .den-roundtable-update p { margin: 0 0 .45rem; }
.den-roundtable-update p:last-child { margin-bottom: 0; }
.den-roundtable-response-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; margin-top: var(--rt-4); align-items: stretch; }
.den-roundtable-reaction { min-width: 0; min-height: 82px !important; display: grid !important; grid-template-rows: 40px auto; gap: .2rem; padding: .45rem .25rem !important; border-radius: .75rem !important; font-size: .76rem !important; line-height: 1.12; }
.den-roundtable-reaction img { width: 40px; height: 40px; margin: 0 auto; object-fit: contain; }
.den-roundtable-reaction-text { min-width: 0; overflow-wrap: normal; word-break: normal; }
.den-roundtable-reaction-count { display: block; color: var(--ink-soft, #a5aec0); font-size: .72rem; font-variant-numeric: tabular-nums; }
.den-roundtable-reaction[aria-pressed="true"] { border-color: var(--accent, #3fd0bf); background: color-mix(in srgb, var(--accent, #3fd0bf) 18%, var(--card2, #293347)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #3fd0bf) 42%, transparent); }
.den-roundtable-reaction.is-just-selected img { animation: den-roundtable-select 160ms ease-out; }
@keyframes den-roundtable-select { 50% { transform: translateY(-2px) scale(1.06); opacity: .82; } }
.den-roundtable-report { position: relative; }
.den-roundtable-report { grid-column: 1 / -1; justify-self: end; }
.den-roundtable-report summary { min-height: 44px; padding: .4rem .7rem; font-size: .82rem; }
.den-roundtable-report-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin-top: .5rem; }
.den-roundtable-poll-options { display: grid; gap: var(--rt-2); padding: var(--rt-3); border: 1px solid var(--line, #354156); border-radius: .9rem; background: color-mix(in srgb, var(--card2, #293347) 70%, transparent); }
.den-roundtable-poll-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: center; text-align: left; }
.den-roundtable-method { margin-top: var(--rt-6); }
.den-roundtable-method summary { justify-content: flex-start; width: auto; }
.den-roundtable-method p { margin-bottom: 0; color: var(--ink-soft, #a5aec0); font-size: .86rem; }
.den-roundtable-moderation { margin: 0; color: var(--ink-soft, #a5aec0); font-size: .9rem; }
.den-roundtable-removal { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line, #354156); }
@media (min-width: 390px) { .den-roundtable { padding: 1.25rem; } .den-roundtable-response-actions { gap: .5rem; } }
@media (min-width: 520px) { .den-roundtable-reaction { min-height: 64px !important; grid-template-columns: 34px minmax(0,1fr); grid-template-rows: auto; text-align: left; } .den-roundtable-reaction img { width: 34px; height: 34px; } }
@media (min-width: 768px) { .den-roundtable { padding: 1.5rem; } .den-roundtable-section, .den-roundtable-form { margin-top: var(--rt-7); } .den-roundtable-section > h3 { margin-bottom: var(--rt-4); } .den-roundtable-list { gap: var(--rt-4); } .den-roundtable-response-actions { grid-template-columns: repeat(3, minmax(7.5rem, 1fr)); } .den-roundtable-report { grid-column: 1 / -1; justify-self: start; align-self: center; } }
@media (max-width: 520px) { .den-roundtable { padding-bottom: calc(var(--rt-6) + env(safe-area-inset-bottom)); } .den-roundtable-form-meta { display: grid; } .den-roundtable-actions > button, .den-roundtable-removal .den-roundtable-actions > button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .den-roundtable-reaction.is-just-selected img { animation: none; } }
@media print {
  .topbar, footer, #bottomnav, #bg-canvas, .sheet, .overlay, .skip-link, .no-print,
  .guide-actions, .guide-related, .guide-library { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 12pt; }
  #app { max-width: none; padding: 0; }
  main { padding: 0; }
  .guide-page, .guide-page h1, .guide-page h2, .guide-page p, .guide-page a,
  .guide-how-to li, .checklist li, .checklist .cl-unlinked { color: #000 !important; }
  .guide-page a { text-decoration: none; }
  .checklist li { border-bottom: 1px solid #bbb; break-inside: avoid; }
  .cl-box { border-color: #000; }
  .guide-table th, .guide-table td { border-color: #000; color: #000; }
  .guide-table thead th { background: #fff; }
  .letter { border: 1px solid #000; background: #fff; break-inside: avoid; }
  .guide-how-to { border-color: #000; background: #fff; }
  .guide-how-to p, .letter p, .guide-table caption { color: #000; }
  .fill-blank { border-bottom: 1px solid #000; color: #555; }
  .planner-table tr { break-inside: avoid; }
  @page { margin: 1.6cm; }
}
