/* Prompts to Playbook — site styles.
   Every token, size and shape comes from the Pastors Guide to AI brand guide
   (01 Context/Brand/brand-guide.md, Nov 2026). Mobile first. */

:root {
  --navy: #0B1F45;
  --navy-soft: #132B5C;
  --gold: #E0A526;
  --gold-hover: #C99220;
  --gold-pale: #F6E3A8;
  --gold-deep: #8A6100;
  --steel: #4A6FA5;
  --paper: #FBFAF6;
  --white: #FFFFFF;
  --gray: #6B7280;
  --gray-on-navy: #A9B4C8;
  --link-on-navy: #8FB0DE;
  --line: #E4E1D8;
  --line-on-navy: #2A4170;
  --success: #1E7A4F;
  --warning: #9A5B00;
  --error: #B4231A;

  --font-head: "Outfit", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --gutter: 24px;
  --content: 1120px;
  --text: 680px;
  --shadow-frame: 0 1px 2px rgba(11, 31, 69, .06), 0 8px 24px rgba(11, 31, 69, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font: 400 16px/26px var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--steel); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }
button { font: inherit; }

.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.text-col { max-width: var(--text); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--navy); color: var(--white); padding: 8px 16px; border-radius: var(--r-pill); }
.skip-link:focus { top: 16px; color: var(--white); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: var(--navy); }
.display { font-weight: 700; font-size: 40px; line-height: 44px; letter-spacing: -0.01em; }
h1, .h1 { font-weight: 700; font-size: 34px; line-height: 40px; letter-spacing: -0.005em; }
h2, .h2 { font-weight: 700; font-size: 28px; line-height: 34px; }
h3, .h3 { font-weight: 600; font-size: 22px; line-height: 28px; }
h4, .h4 { font-weight: 600; font-size: 18px; line-height: 24px; }
.lead { font-size: 18px; line-height: 28px; }
.small { font-size: 14px; line-height: 22px; }
.caption { font: 500 12px/16px var(--font-body); }
.muted { color: var(--gray); }
strong, b { font-weight: 600; }
.eyebrow { font: 600 13px/16px var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); margin: 0 0 16px; }
.hl { background: linear-gradient(transparent 12%, var(--gold-pale) 12%, var(--gold-pale) 92%, transparent 92%); padding: 0 .06em; margin: 0 -.02em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
li { margin-bottom: 8px; }
li:last-child { margin-bottom: 0; }
code, kbd { font-family: var(--font-body); font-weight: 600; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .92em; white-space: nowrap; }
.path { font-weight: 600; white-space: normal; }

@media (min-width: 900px) {
  .display { font-size: 64px; line-height: 68px; }
  h1, .h1 { font-size: 48px; line-height: 52px; }
  h2, .h2 { font-size: 36px; line-height: 42px; }
  h3, .h3 { font-size: 24px; line-height: 30px; }
  h4, .h4 { font-size: 20px; line-height: 26px; }
  .lead { font-size: 20px; line-height: 30px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 28px; border: 0; border-radius: var(--r-pill); font: 500 16px/20px var(--font-head); text-decoration: none; cursor: pointer; background: var(--navy); color: var(--white); -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.btn:hover { background: var(--navy-soft); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-hover); color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--on-navy { background: var(--white); color: var(--navy); }
.btn--on-navy:hover { background: var(--gold-pale); color: var(--navy); }
.btn--outline-on-navy { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--white); }
.btn--outline-on-navy:hover { background: var(--navy-soft); color: var(--white); }
.btn--small { min-height: 40px; padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- Icons (Lucide-style, 2px stroke) ---------- */
.i { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--sm { width: 18px; height: 18px; }

/* ---------- Cards and panels ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.card--lg { padding: 32px; }
.card h3 + p, .card h4 + p { margin-top: 8px; }
.card .eyebrow { margin-bottom: 8px; }
.panel-navy { background: var(--navy); color: var(--white); border-radius: var(--r-lg); padding: 32px 24px; }
.panel-navy h2, .panel-navy h3, .panel-navy h4 { color: var(--white); }
.panel-navy .eyebrow { color: var(--gray-on-navy); }
.panel-navy .muted { color: var(--gray-on-navy); }
.panel-navy a:not(.btn) { color: var(--link-on-navy); }
@media (min-width: 900px) { .panel-navy { padding: 64px; } }
.grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid { gap: 32px; } }

/* ---------- Callout (pale gold, navy star) ---------- */
.callout { position: relative; background: var(--gold-pale); color: var(--navy); border-radius: var(--r-md); padding: 20px 24px 20px 62px; margin: 24px 0; }
.callout::before { content: ""; position: absolute; left: 24px; top: 22px; width: 22px; height: 22px; background: var(--navy); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.callout h4 { font-size: 18px; line-height: 24px; margin-bottom: 4px; }
.callout p { margin: 0; }
:root { --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.2 5.8 11.4 12 12-6.2.6-11.4 5.8-12 12-.6-6.2-5.8-11.4-12-12C6.2 11.4 11.4 6.2 12 0z'/%3E%3C/svg%3E"); }

/* Quiet note boxes (not gold): tip / heads-up / self-paced swap */
.note { border: 1px solid var(--line); border-left: 4px solid var(--steel); background: var(--white); border-radius: var(--r-md); padding: 16px 20px; margin: 24px 0; }
.note--warn { border-left-color: var(--warning); }
.note--ok { border-left-color: var(--success); }
.note-title { display: flex; align-items: center; gap: 8px; font: 600 15px/22px var(--font-head); margin: 0 0 4px; }
.note--warn .note-title { color: var(--warning); }
.note--ok .note-title { color: var(--success); }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }

/* ---------- Star list ---------- */
.star-list { list-style: none; padding: 0; margin: 0 0 16px; }
.star-list li { position: relative; padding-left: 28px; }
.star-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; background: var(--gold); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.panel-navy .star-list li::before { background: var(--gold); }

/* ---------- Public header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 246, .94); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--navy); }
.brand img { width: 180px; }
.brand-course { display: none; font: 600 15px/20px var(--font-head); color: var(--navy); padding-left: 16px; border-left: 1px solid var(--line); white-space: nowrap; }
@media (min-width: 560px) { .brand-course { display: block; } }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-links { display: none; gap: 24px; margin-right: 16px; }
.nav-links a { font: 500 15px/20px var(--font-head); color: var(--navy); text-decoration: none; }
.nav-links a:hover { color: var(--steel); }
@media (min-width: 960px) { .nav-links { display: flex; } }
@media (max-width: 559px) { .brand img { width: 150px; } .nav .btn--outline { display: none; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; color: var(--gray); font-size: 14px; line-height: 22px; margin-top: 96px; }
.site-footer a { color: var(--gray); }
.site-footer .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer img { width: 140px; margin-bottom: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Marketing sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-head { max-width: var(--text); margin-bottom: 48px; }
.section-head h2 + p { margin-top: 16px; }
.hero { padding: 48px 0 64px; }
@media (min-width: 900px) { .hero { padding: 96px 0; } }
.hero .lead { max-width: 640px; margin-top: 24px; color: var(--navy); }
.hero .btn-row { margin-top: 32px; }
.hero-sub { margin-top: 16px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 64px; } }

/* Prompt vs playbook visual */
.versus { display: grid; gap: 16px; }
.versus .card { position: relative; }
.versus .tag { display: inline-block; font: 600 12px/16px var(--font-head); letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); color: var(--gray); margin-bottom: 12px; }
.versus .card--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.versus .card--navy .tag { background: var(--navy-soft); border-color: var(--line-on-navy); color: var(--gray-on-navy); }
.versus .card--navy h3 { color: var(--white); }
.chat-bubble { background: var(--paper); border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; padding: 12px 16px; font-size: 15px; line-height: 22px; color: var(--navy); }
.chat-bubble + .chat-bubble { margin-top: 8px; }
.chat-bubble.muted-bubble { color: var(--gray); }
.tree { font: 400 15px/24px var(--font-body); margin: 0; padding: 0; list-style: none; }
.tree li { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line-on-navy); margin: 0; }
.tree li:last-child { border-bottom: 0; }
.tree .num { font: 600 15px/24px var(--font-head); color: var(--gold); min-width: 24px; }
.tree .what { color: var(--gray-on-navy); }

/* Ladder */
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .ladder { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1080px) { .ladder { grid-template-columns: repeat(4, 1fr); } }
.ladder li { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.ladder .rung { font: 700 40px/40px var(--font-head); color: var(--steel); }
.ladder .kw { align-self: flex-start; font: 600 12px/16px var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: var(--steel); border-radius: var(--r-pill); padding: 4px 10px; }
.ladder h3 { font-size: 20px; line-height: 26px; }
.ladder p { font-size: 15px; line-height: 24px; color: var(--gray); margin: 0; }
.ladder .leave { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 22px; color: var(--navy); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat .n { font: 700 48px/52px var(--font-head); color: var(--navy); }
.stat .l { color: var(--gray); font-size: 15px; line-height: 22px; }

.rules .card h3 { display: flex; align-items: center; gap: 12px; }
.rules .card .i { color: var(--steel); }

.who .card h3 { margin-bottom: 8px; }

.faq-list { max-width: 820px; }
details.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; }
details.faq > summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 24px; position: relative; font: 600 17px/24px var(--font-head); }
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details.faq[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
details.faq > .faq-body { padding: 0 24px 20px; }
details.faq > .faq-body > :first-child { margin-top: 0; }

.cta-final { text-align: left; }
.cta-final .btn-row { margin-top: 32px; }

/* ---------- Login ---------- */
.login-page { min-height: 100vh; display: flex; flex-direction: column; }
.login-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px 96px; }
.login-box { width: 100%; max-width: 440px; }
.login-box .brand-center { display: flex; justify-content: center; margin-bottom: 32px; }
.login-box .brand-center img { width: 240px; }
.login-box h1 { font-size: 28px; line-height: 34px; text-align: center; }
.login-box .sub { text-align: center; color: var(--gray); margin: 8px 0 32px; }
.login-box .card { padding: 32px; }
.login-help { text-align: center; margin-top: 24px; color: var(--gray); font-size: 14px; line-height: 22px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font: 500 14px/20px var(--font-body); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #CFCAB9; border-radius: var(--r-sm); background: var(--white); color: var(--navy); font: 400 16px/24px var(--font-body); -webkit-appearance: none; appearance: none; }
.form-field textarea { min-height: 96px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 3px solid var(--steel); outline-offset: 1px; border-color: var(--steel); }
.form-field .hint { font-size: 14px; line-height: 20px; color: var(--gray); margin: 0 0 8px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 72px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--steel); font: 600 14px/20px var(--font-body); padding: 8px; cursor: pointer; }
.form-error { display: none; background: #FBEAE8; color: var(--error); border-radius: var(--r-sm); padding: 12px 16px; font-weight: 600; font-size: 15px; line-height: 22px; margin-bottom: 20px; }
.form-error.show { display: block; }
.form-ok { color: var(--success); font-weight: 600; }

/* =========================================================
   COURSE
   ========================================================= */
.course-top { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 1px solid var(--line); }
.course-top .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; max-width: none; }
.course-top .brand img { width: 150px; }
.course-top .nav a.toplink { font: 500 15px/20px var(--font-head); color: var(--navy); text-decoration: none; padding: 8px 12px; border-radius: var(--r-pill); display: none; }
.course-top .nav a.toplink:hover, .course-top .nav a.toplink[aria-current="page"] { background: var(--paper); }
@media (min-width: 820px) { .course-top .nav a.toplink { display: inline-flex; } }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--white); color: var(--navy); border-radius: var(--r-pill); padding: 8px 14px; font: 500 14px/20px var(--font-head); cursor: pointer; }
@media (min-width: 1100px) { .menu-btn { display: none; } }

.course-shell { display: grid; grid-template-columns: 1fr; max-width: 1360px; margin: 0 auto; }
@media (min-width: 1100px) { .course-shell { grid-template-columns: 300px 1fr; } }

.sidebar { display: none; background: var(--paper); border-right: 1px solid var(--line); }
.sidebar.open { display: block; position: fixed; inset: 64px 0 0 0; z-index: 55; overflow-y: auto; background: var(--paper); }
@media (min-width: 1100px) { .sidebar, .sidebar.open { display: block; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; inset: auto; } }
.sidebar-inner { padding: 24px 16px 48px; }
.progress-mini { padding: 0 8px 20px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.progress-mini .label { display: flex; justify-content: space-between; font: 600 13px/16px var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.bar-track { height: 8px; background: var(--line); border-radius: var(--r-pill); overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: var(--steel); border-radius: var(--r-pill); transition: width .4s; }
.side-group { font: 600 12px/16px var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--gray); padding: 16px 8px 8px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { margin: 0; }
.side-list a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 8px; border-radius: var(--r-sm); text-decoration: none; color: var(--navy); }
.side-list a:hover { background: var(--white); }
.side-list a[aria-current="page"] { background: var(--white); box-shadow: inset 3px 0 0 var(--navy); }
.side-num { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font: 600 13px/1 var(--font-head); color: var(--steel); background: var(--white); }
.side-list a.done .side-num { background: var(--success); border-color: var(--success); color: var(--white); }
.side-list a.done .side-num span { display: none; }
.side-list a.done .side-num::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.side-text { display: flex; flex-direction: column; }
.side-title { font: 500 15px/20px var(--font-head); }
.side-kw { font-size: 12px; line-height: 16px; color: var(--gray); }

.course-main { min-width: 0; padding: 32px var(--gutter) 96px; }
@media (min-width: 900px) { .course-main { padding: 48px 64px 96px; } }
.course-article { max-width: 760px; }
.course-article > section, .course-article > .block { margin-top: 64px; }
.course-article h2 { margin-bottom: 16px; scroll-margin-top: 88px; }
.course-article .grid { margin: 24px 0; }
.course-article h3 { margin: 32px 0 12px; }
.course-article h4 { margin: 24px 0 8px; }
.course-article p, .course-article li { max-width: var(--text); }

.crumbs { font-size: 14px; line-height: 20px; color: var(--gray); margin-bottom: 24px; }
.crumbs a { color: var(--gray); }

.session-hero .eyebrow { margin-bottom: 12px; }
.session-hero h1 { margin-bottom: 16px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.meta-row li { margin: 0; display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 14px; font: 500 14px/20px var(--font-body); }
.meta-row .i { width: 16px; height: 16px; color: var(--steel); }

.leave-with { margin-top: 32px; }
.leave-with h2 { font-size: 20px; line-height: 26px; margin-bottom: 12px; }

.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; margin-top: 32px; }
.toc h2 { font: 600 13px/16px var(--font-head) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); margin: 0 0 12px !important; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--navy); text-decoration: none; }
.toc a:hover { color: var(--steel); text-decoration: underline; }

/* Steps */
.step { position: relative; padding-left: 0; }
.step-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.step-num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font: 700 18px/1 var(--font-head); margin-top: -2px; }
.step-head h2 { margin: 0 !important; font-size: 26px; line-height: 32px; }
.step-head .step-time { display: block; font: 500 13px/18px var(--font-body); color: var(--gray); margin-top: 4px; }
@media (min-width: 900px) { .step-head h2 { font-size: 30px; line-height: 36px; } }
.substeps { counter-reset: sub; list-style: none; padding: 0; margin: 16px 0; }
.substeps > li { counter-increment: sub; position: relative; padding-left: 40px; margin-bottom: 16px; }
.substeps > li::before { content: counter(sub); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--steel); color: var(--steel); font: 600 13px/23px var(--font-head); text-align: center; }

/* Prompt block with copy */
.prompt { position: relative; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--r-md); padding: 16px 112px 16px 20px; margin: 16px 0; font: 500 16px/26px var(--font-body); color: var(--navy); white-space: pre-wrap; }
.prompt .say { display: block; font: 600 11px/14px var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; white-space: normal; }
.copy-btn { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); border-radius: var(--r-pill); padding: 6px 12px; font: 500 13px/18px var(--font-head); cursor: pointer; }
.copy-btn:hover { background: var(--white); border-color: var(--steel); }
.copy-btn.copied { background: var(--success); border-color: var(--success); color: var(--white); }
.copy-btn svg { width: 14px; height: 14px; }
@media (max-width: 520px) { .prompt { padding: 16px 20px 56px; } .copy-btn { top: auto; bottom: 12px; right: 12px; } }

/* Tool tabs */
.tool-tabs { margin: 24px 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); overflow: hidden; }
.tool-tabs .tablist { display: flex; border-bottom: 1px solid var(--line); background: var(--paper); }
.tool-tabs .tab { flex: 1; border: 0; background: transparent; padding: 12px 16px; font: 600 15px/20px var(--font-head); color: var(--gray); cursor: pointer; border-bottom: 3px solid transparent; }
.tool-tabs .tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); background: var(--white); }
.tool-tabs .panel { padding: 20px 24px; }
.tool-tabs .panel[hidden] { display: none; }
.tool-tabs .panel > :last-child { margin-bottom: 0; }

/* Downloads */
.files { display: grid; gap: 12px; margin: 16px 0; }
@media (min-width: 700px) { .files { grid-template-columns: repeat(2, 1fr); } }
.file { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; text-decoration: none; color: var(--navy); transition: border-color .15s, box-shadow .15s; }
.file:hover { border-color: var(--steel); box-shadow: var(--shadow-frame); color: var(--navy); }
.file-ico { flex: none; width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--paper); border: 1px solid var(--line); color: var(--steel); }
.file--skill .file-ico { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.file-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.file-title { font: 600 16px/22px var(--font-head); }
.file-desc { font-size: 14px; line-height: 20px; color: var(--gray); }
.file-meta { font: 500 12px/16px var(--font-body); color: var(--steel); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }
.file-meta .phrase { text-transform: none; letter-spacing: 0; color: var(--navy); font-weight: 600; }

/* Checklists (saved in the browser) */
.checklist { list-style: none; padding: 0; margin: 16px 0; }
.checklist li { margin: 0 0 8px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; cursor: pointer; }
.checklist label:hover { border-color: var(--steel); }
.checklist input { flex: none; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 2px 0 0; border: 2px solid var(--steel); border-radius: 6px; background: var(--white); cursor: pointer; display: grid; place-content: center; }
.checklist input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.checklist input:checked { background: var(--success); border-color: var(--success); }
.checklist input:checked::after { opacity: 1; }
.checklist input:checked + span { color: var(--gray); }
.checklist .sub { display: block; font-size: 14px; line-height: 20px; color: var(--gray); margin-top: 2px; }
.check-count { font: 500 14px/20px var(--font-body); color: var(--gray); }

/* My plan */
.myplan { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; margin: 24px 0; }
.myplan h3 { margin: 0 0 4px !important; font-size: 20px; line-height: 26px; }
.myplan .row { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 700px) { .myplan .row { grid-template-columns: auto 1fr auto 1fr; align-items: center; } }
.myplan .w { font: 600 16px/20px var(--font-head); }
.myplan input { min-height: 48px; border: 1px solid #CFCAB9; border-radius: var(--r-sm); padding: 10px 14px; font: 400 16px/24px var(--font-body); color: var(--navy); width: 100%; }
.saved-note { font-size: 13px; line-height: 18px; color: var(--success); min-height: 18px; margin-top: 8px; }

/* Troubleshooting */
.trouble details.faq > summary { font-size: 16px; }

/* Complete + pager */
.complete-box { margin-top: 64px; background: var(--navy); color: var(--white); border-radius: var(--r-lg); padding: 32px; }
.complete-box h2 { color: var(--white); font-size: 26px; line-height: 32px; margin-bottom: 8px !important; }
.complete-box p { color: var(--gray-on-navy); }
.complete-box .btn-row { margin-top: 24px; }
.complete-box .closeout { list-style: none; padding: 0; margin: 16px 0 0; }
.complete-box .closeout li { color: var(--white); padding-left: 28px; position: relative; }
.complete-box .closeout li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; background: var(--gold); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.btn-complete.is-done { background: var(--success); color: var(--white); }
.pager { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 700px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; text-decoration: none; color: var(--navy); }
.pager a:hover { border-color: var(--steel); }
.pager .dir { display: block; font-size: 13px; line-height: 18px; color: var(--gray); }
.pager .t { font: 600 17px/24px var(--font-head); }
.pager .next { text-align: right; }
@media (min-width: 700px) { .pager .next:only-child { grid-column: 2; } }

/* Course map cards */
.map-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.map-list li { margin: 0; }
.map-card { display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; text-decoration: none; color: var(--navy); }
.map-card:hover { border-color: var(--steel); box-shadow: var(--shadow-frame); color: var(--navy); }
.map-card .side-num { width: 44px; height: 44px; font-size: 18px; }
.map-card.done .side-num { background: var(--success); border-color: var(--success); color: #fff; }
.map-card h3 { margin: 0 !important; font-size: 20px; line-height: 26px; }
.map-card p { margin: 4px 0 0; color: var(--gray); font-size: 15px; line-height: 22px; }
.map-card .status { font: 600 12px/16px var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-top: 8px; display: block; }
.map-card.done .status { color: var(--success); }

.big-progress { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; margin-top: 32px; }
.big-progress .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 16px; flex-wrap: wrap; }
.big-progress .pct { font: 700 32px/36px var(--font-head); }
.big-progress .bar-track { height: 12px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 22px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 14px/20px var(--font-head); background: var(--paper); }
tr:last-child td { border-bottom: 0; }

/* Folder tree (course) */
.folder-tree { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; margin: 16px 0; font-size: 15px; line-height: 24px; }
.folder-tree ul { list-style: none; margin: 0; padding-left: 22px; }
.folder-tree > ul { padding-left: 0; }
.folder-tree li { margin: 4px 0; }
.folder-tree .f { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.folder-tree .f .i { width: 18px; height: 18px; color: var(--steel); }
.folder-tree .d { display: inline-flex; align-items: center; gap: 8px; }
.folder-tree .d .i { width: 18px; height: 18px; color: var(--gray); }
.folder-tree .new { font: 600 11px/14px var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--gold-pale); border-radius: var(--r-pill); padding: 2px 8px; margin-left: 6px; }
.folder-tree .c { color: var(--gray); font-size: 14px; margin-left: 6px; }

/* Worksheet */
.worksheet fieldset { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); padding: 20px 24px 4px; margin: 0 0 24px; min-width: 0; }
.worksheet legend { font: 600 18px/24px var(--font-head); padding: 0 8px; margin-left: -8px; }
.worksheet .two { display: grid; gap: 0 16px; }
@media (min-width: 700px) { .worksheet .two { grid-template-columns: 1fr 1fr; } }
.ws-actions { position: sticky; bottom: 16px; z-index: 5; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--navy); color: var(--white); border-radius: var(--r-pill); padding: 8px 8px 8px 24px; box-shadow: var(--shadow-frame); }
.ws-actions .msg { flex: 1; min-width: 160px; font-size: 14px; line-height: 20px; color: var(--gray-on-navy); }
.ws-output { white-space: pre-wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; font-size: 14px; line-height: 22px; max-height: 360px; overflow: auto; margin-top: 16px; }

/* Glossary */
.gloss { display: grid; gap: 12px; margin: 16px 0; }
.gloss div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; }
.gloss dt { font: 600 17px/24px var(--font-head); }
.gloss dd { margin: 4px 0 0; color: var(--navy); }
.gloss .where { display: block; font-size: 13px; line-height: 18px; color: var(--gray); margin-top: 4px; }

/* Welcome banner on Session 0 */
.welcome { background: var(--navy); color: var(--white); border-radius: var(--r-lg); padding: 32px; margin-bottom: 48px; }
.welcome h2 { color: var(--white); margin-bottom: 8px !important; font-size: 26px; line-height: 32px; }
.welcome p { color: var(--gray-on-navy); }
.welcome .name { color: var(--gold); }
.welcome .eyebrow { color: var(--gray-on-navy); }

.print-only { display: none; }
@media print {
  .course-top, .sidebar, .menu-btn, .copy-btn, .pager, .complete-box .btn-row, .ws-actions { display: none !important; }
  .course-shell { display: block; }
  body { background: #fff; }
}
