/* Button Mushroom Farming Booklet - shared chapter styles.
   Loaded after ../style.css, so the site palette (--green-* teals, --earth-* roses)
   and fonts (Playfair Display headings, Inter body) carry straight through.
   Pages are built by tools/build-booklet.js; edit content between the
   BOOKLET:CONTENT markers in each page, and styles here. */

.bk { padding-top: 78px; background: var(--bg-meadow); min-height: 100vh; }

/* ---------- Chapter header band ---------- */
.bk-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(81,226,245,.22), transparent 42%),
    radial-gradient(circle at 6% 100%, rgba(255,168,182,.16), transparent 40%),
    linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 55%, var(--green-primary) 100%);
  color: #EDF7F6;
  padding: 44px 24px 52px;
}
.bk-hero-inner { max-width: 1160px; margin: 0 auto; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.bk-hero.has-art .bk-hero-inner { grid-template-columns: minmax(0, 1fr) 260px; }
.bk-crumbs { font-size: .85rem; color: rgba(237,247,246,.72); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bk-crumbs a { color: var(--green-mist); text-decoration: none; }
.bk-crumbs a:hover { text-decoration: underline; }
.bk-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-mist); margin: 0 0 12px; }
.bk-kicker .bk-num { font-family: 'Playfair Display', Georgia, serif; font-size: 1.05rem; letter-spacing: 0; text-transform: none; background: rgba(237,247,246,.12); border: 1px solid rgba(157,249,239,.35); border-radius: 999px; padding: 2px 12px; white-space: nowrap; }
.bk-hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.15; color: #fff; margin: 0 0 16px; max-width: 22ch; }
.bk-dek { font-size: 1.12rem; line-height: 1.7; color: rgba(237,247,246,.88); max-width: 62ch; margin: 0 0 22px; }
.bk-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: rgba(237,247,246,.78); }
.bk-meta span { display: inline-flex; align-items: center; gap: 7px; }
.bk-meta i { color: var(--green-pale); }
.bk-hero-art { justify-self: end; width: 260px; }
.bk-hero-art img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.35); transform: rotate(2deg); border: 4px solid rgba(237,247,246,.9); }

/* ---------- Chapter progress strip ---------- */
.bk-progress { background: #fff; border-bottom: 1px solid var(--border-light); }
.bk-progress ol { list-style: none; margin: 0 auto; padding: 0 24px; max-width: 1160px; display: flex; gap: 4px; }
.bk-progress li { flex: 1; }
.bk-progress a { display: block; height: 6px; border-radius: 3px; background: var(--border-light); margin: 12px 0; }
.bk-progress li.done a { background: var(--green-light); }
.bk-progress li.current a { background: var(--accent-bloom); }

/* ---------- Two-column reading layout ---------- */
.bk-layout { max-width: 1160px; margin: 0 auto; padding: 40px 24px 24px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.bk-side { position: sticky; top: 98px; max-height: calc(100vh - 116px); overflow-y: auto; padding-right: 6px; font-size: .92rem; }
.bk-side h2 { font-family: 'Inter', sans-serif; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-light); margin: 0 0 10px; }
.bk-side ol { list-style: none; margin: 0 0 28px; padding: 0; }
.bk-side li { margin: 0; }
.bk-side a { display: flex; gap: 10px; align-items: baseline; padding: 7px 10px; border-radius: 8px; color: var(--text-medium); text-decoration: none; line-height: 1.35; }
.bk-side a:hover { background: var(--bg-forest); color: var(--green-dark); }
.bk-side .n { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--green-medium); min-width: 1.4em; }
.bk-side li.current > a { background: var(--green-primary); color: #EDF7F6; font-weight: 600; }
.bk-side li.current > a .n { color: var(--green-mist); }
.bk-side .bk-onpage a { padding: 5px 10px; font-size: .86rem; color: var(--text-light); border-left: 2px solid var(--border-light); border-radius: 0; }
.bk-side .bk-onpage a:hover { border-left-color: var(--green-primary); background: none; }
.bk-mobile-nav { display: none; }

/* ---------- Article typography ---------- */
.bk-article { max-width: 740px; min-width: 0; }
.bk-article > p:first-of-type { font-size: 1.16rem; color: var(--text-dark); }
.bk-article p { font-size: 1.065rem; line-height: 1.85; color: var(--text-medium); margin: 0 0 18px; }
.bk-article h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); color: var(--green-dark); margin: 52px 0 16px; line-height: 1.25; }
.bk-article h2 .sec { display: block; font-family: 'Inter', sans-serif; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bloom); margin-bottom: 6px; }
.bk-article h3 { font-family: 'Inter', sans-serif; font-size: 1.16rem; font-weight: 700; color: var(--text-dark); margin: 32px 0 10px; }
.bk-article ul, .bk-article ol { margin: 8px 0 22px 22px; padding: 0; color: var(--text-medium); line-height: 1.8; font-size: 1.04rem; }
/* style.css strips list markers site-wide; plain lists in the booklet keep them.
   Classed lists (.bk-check, .bk-steps, .bk-flow) draw their own. */
.bk-article :where(ul:not([class])) { list-style: disc; }
.bk-article :where(ol:not([class])) { list-style: decimal; }
.bk-article li { margin-bottom: 8px; padding-left: 4px; }
/* Playfair Display defaults to old-style figures; numbers in tiles and counters read better lining. */
.bk-glance .v, .bk-num, .bk-side .n, .bk-mobile-nav .n, .bk-steps > li::before, .bk-flow li::before, .bk-card .n, .bk-pager strong, .bk-article h2, .bk-hero h1, .bk-quote { font-variant-numeric: lining-nums; }
.bk-article li::marker { color: var(--green-medium); }
.bk-article strong { color: var(--text-dark); }
.bk-article a { color: var(--green-primary); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(1,98,112,.3); text-underline-offset: 3px; }
.bk-article a:hover { text-decoration-color: var(--green-primary); }
.bk-article hr { border: 0; height: 1px; background: var(--border-light); margin: 44px 0; }

/* ---------- At-a-glance stat tiles ---------- */
.bk-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 26px 0 32px; }
.bk-glance > div { background: #fff; border: 1px solid var(--border-light); border-radius: 14px; padding: 16px 16px 14px; box-shadow: var(--shadow-sm); }
.bk-glance .k { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 6px; }
.bk-glance .v { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; font-weight: 700; color: var(--green-dark); line-height: 1.2; }
.bk-glance .s { display: block; font-size: .84rem; color: var(--text-light); margin-top: 4px; line-height: 1.4; }

/* ---------- Callouts ---------- */
.bk-note { position: relative; border-radius: 14px; padding: 18px 20px 18px 58px; margin: 26px 0; background: #fff; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.bk-note::before { position: absolute; left: 18px; top: 17px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .85rem; }
.bk-note .t { display: block; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; font-size: .98rem; }
.bk-note p { margin: 0 0 8px; font-size: 1rem; line-height: 1.75; }
.bk-note p:last-child, .bk-note ul:last-child { margin-bottom: 0; }
.bk-note ul { margin: 6px 0 0 18px; font-size: .98rem; }
.bk-note.tip { border-left: 4px solid var(--green-primary); }
.bk-note.tip::before { content: '\f0eb'; background: var(--green-whisper); color: var(--green-primary); }
.bk-note.warn { border-left: 4px solid var(--accent-bloom); background: #FFF8F9; }
.bk-note.warn::before { content: '\f071'; background: var(--accent-sun); color: var(--accent-berry); }
.bk-note.info { border-left: 4px solid var(--green-light); }
.bk-note.info::before { content: '\f05a'; background: var(--green-whisper); color: var(--green-medium); }
.bk-note.safety { border-left: 4px solid #B8860B; background: #FFFBF0; }
.bk-note.safety::before { content: '\f3ed'; background: #FBEFC8; color: #8A6400; }

/* ---------- Numbered steps ---------- */
.bk-steps { list-style: none; counter-reset: step; margin: 22px 0 30px !important; padding: 0 !important; }
.bk-steps > li { counter-increment: step; position: relative; padding: 0 0 22px 58px !important; margin: 0 !important; }
.bk-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--green-primary); color: #EDF7F6; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.05rem; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--bg-meadow); z-index: 1; }
.bk-steps > li::after { content: ''; position: absolute; left: 18px; top: 38px; bottom: 0; width: 2px; background: var(--border-light); }
.bk-steps > li:last-child::after { display: none; }
.bk-steps > li > strong:first-child { display: block; font-size: 1.07rem; margin-bottom: 4px; padding-top: 6px; }
.bk-steps p { margin-bottom: 8px; }

/* ---------- Checklist ---------- */
.bk-check { list-style: none; margin: 14px 0 24px !important; padding: 0 !important; }
.bk-check li { position: relative; padding-left: 34px !important; margin-bottom: 10px; }
.bk-check li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-whisper); color: var(--green-primary); font-size: .7rem; display: grid; place-items: center; }
.bk-check.cross li::before { content: '\f00d'; background: var(--accent-sun); color: var(--accent-berry); }

/* ---------- Figures ---------- */
.bk-figure { margin: 30px 0 34px; }
.bk-figure img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-md); background: var(--bg-forest); }
.bk-figure.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.bk-figure figcaption { font-size: .9rem; line-height: 1.6; color: var(--text-light); margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--earth-amber); }
.bk-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 34px; }
.bk-pair .bk-figure { margin: 0; }
.bk-pair img { aspect-ratio: 3 / 4; object-fit: cover; }
.bk-pair.wide img { aspect-ratio: 4 / 3; }

/* ---------- Swipe hints for content wider than the screen ---------- */
.bk-table-wrap.is-scrollable::before, .bk-plan.is-scrollable::before { content: 'Swipe sideways to see the whole table \2192'; display: block; position: sticky; left: 0; padding: 8px 12px 0; font-size: .76rem; font-weight: 600; color: var(--green-medium); }
.bk-plan.is-scrollable::before { content: 'Swipe sideways to see the whole plan \2192'; padding: 0 0 6px; }
.bk-table-cap { font-weight: 700; color: var(--text-dark); font-size: .95rem !important; line-height: 1.45 !important; margin: 22px 0 -10px !important; }
.bk-vh { position: absolute !important; width: 1px; height: 1px; padding: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Floor plan ---------- */
.bk-plan { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
.bk-plan svg { display: block; width: 100%; height: auto; }

/* ---------- Tables ---------- */
.bk-table-wrap { margin: 20px 0 30px; border-radius: 14px; border: 1px solid var(--border-light); overflow-x: auto; background: #fff; box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.bk-table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 460px; }
.bk-table caption { caption-side: top; text-align: left; font-weight: 700; color: var(--text-dark); padding: 14px 16px 4px; font-size: .95rem; }
.bk-table th, .bk-table td { padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-light); line-height: 1.55; }
.bk-table thead th { background: var(--green-primary); color: #EDF7F6; font-weight: 600; font-size: .86rem; letter-spacing: .02em; }
.bk-table tbody tr:nth-child(even) { background: #F6FBFA; }
.bk-table tbody tr:last-child td { border-bottom: 0; }
.bk-table tr.total td { background: var(--green-whisper); font-weight: 700; color: var(--green-deep); }
.bk-table td small { color: var(--text-light); font-size: .82rem; white-space: nowrap; }
.bk-table td.num, .bk-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Climate-by-stage cards ---------- */
.bk-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 24px 0 32px; }
.bk-stage { background: #fff; border-radius: 14px; border: 1px solid var(--border-light); overflow: hidden; box-shadow: var(--shadow-sm); }
.bk-stage h4, .bk-stage h3 { margin: 0; padding: 12px 16px; font-family: 'Inter', sans-serif; font-size: .95rem; color: #EDF7F6; background: var(--green-medium); }
.bk-stage.cool h4, .bk-stage.cool h3 { background: #2F6E9A; }
.bk-stage.warm h4, .bk-stage.warm h3 { background: var(--earth-soil); }
.bk-stage dl { margin: 0; padding: 12px 16px 14px; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .92rem; }
.bk-stage dt { color: var(--text-light); }
.bk-stage dd { margin: 0; font-weight: 600; color: var(--text-dark); text-align: right; }

/* ---------- Process flow (contents page) ---------- */
.bk-flow { list-style: none; margin: 24px 0 32px !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; counter-reset: flow; }
.bk-flow li { counter-increment: flow; margin: 0 !important; padding: 12px 14px 12px 52px !important; position: relative; background: #fff; border: 1px solid var(--border-light); border-radius: 12px; font-size: .95rem; line-height: 1.45; }
.bk-flow li::before { content: counter(flow, decimal-leading-zero); position: absolute; left: 14px; top: 12px; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--accent-bloom); }
.bk-flow li small { display: block; color: var(--text-light); font-size: .82rem; margin-top: 2px; }
.bk-flow li.ph-compost { border-left: 4px solid var(--earth-soil); }
.bk-flow li.ph-grow { border-left: 4px solid var(--green-light); }
.bk-flow li.ph-crop { border-left: 4px solid var(--green-primary); }
.bk-flow li.ph-sell { border-left: 4px solid var(--earth-amber); }
.bk-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; color: var(--text-light); margin: -14px 0 28px; }
.bk-legend span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.bk-legend .l1::before { background: var(--earth-soil); }
.bk-legend .l2::before { background: var(--green-light); }
.bk-legend .l3::before { background: var(--green-primary); }
.bk-legend .l4::before { background: var(--earth-amber); }

/* ---------- Crop timeline bars ---------- */
.bk-timeline { --lbl: 150px; --gap: 12px; --wk: calc(100% / 93 * 7); margin: 24px 0 14px; background: #fff; border: 1px solid var(--border-light); border-radius: 14px; padding: 16px 18px 14px; box-shadow: var(--shadow-sm); }
.bk-tl-title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .82rem; color: var(--text-light); margin-bottom: 6px; }
.bk-tl-title strong { color: var(--text-dark); font-size: .92rem; }
.bk-tl-body { position: relative; padding-top: 70px; }
.bk-tl-row { display: grid; grid-template-columns: var(--lbl) minmax(0, 1fr); gap: var(--gap); align-items: center; margin-bottom: 10px; font-size: .9rem; }
.bk-tl-row .lbl { color: var(--text-dark); font-weight: 600; line-height: 1.3; }
.bk-tl-row .lbl small { display: block; font-weight: 400; color: var(--text-light); font-size: .78rem; }
/* Weekly gridlines: one faint line every 7 of the 93 days. */
.bk-tl-track { position: relative; height: 24px; border-radius: 6px; background-color: var(--bg-meadow); background-image: repeating-linear-gradient(to right, transparent 0 calc(var(--wk) - 1px), rgba(1,98,112,.13) calc(var(--wk) - 1px) var(--wk)); }
.bk-tl-bar { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: var(--green-primary); z-index: 3; }
.bk-tl-bar > span { position: absolute; top: 50%; left: calc(100% + 6px); transform: translateY(-50%); white-space: nowrap; font-size: .74rem; font-weight: 700; color: var(--text-medium); background: #fff; padding: 0 4px; border-radius: 4px; }
.bk-tl-bar.lbl-left > span { left: auto; right: calc(100% + 6px); }
.bk-tl-bar.c1 { background: var(--earth-soil); }
.bk-tl-bar.c5 { background: var(--earth-bark); }
.bk-tl-bar.c2 { background: var(--green-light); }
.bk-tl-bar.c3 { background: var(--green-primary); }
.bk-tl-bar.c4 { background: var(--earth-amber); }
/* Milestones: a dashed line through every row at the given day (--at = day / 93). */
.bk-tl-mark { position: absolute; top: 0; bottom: 0; left: calc(var(--lbl) + var(--gap) + (100% - var(--lbl) - var(--gap)) * var(--at)); border-left: 2px dashed var(--accent-bloom); z-index: 2; pointer-events: none; }
.bk-tl-mark span { position: absolute; top: 0; left: 0; transform: translateX(-50%); white-space: nowrap; font-size: .72rem; font-weight: 700; color: var(--accent-bloom); background: #fff; padding: 1px 5px; border: 1px solid var(--accent-sun); border-radius: 999px; line-height: 1.4; }
.bk-tl-mark.lo span { top: 23px; }
.bk-tl-mark.lo2 span { top: 46px; }
.bk-tl-axis { display: grid; grid-template-columns: var(--lbl) minmax(0, 1fr); gap: var(--gap); font-size: .76rem; color: var(--text-light); margin-top: 2px; }
.bk-tl-axis .ticks { position: relative; height: 16px; }
.bk-tl-axis .ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.bk-tl-axis .ticks span:first-child { transform: none; }
.bk-tl-axis .ticks span:last-child { transform: translateX(-100%); }
.bk-tl-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .78rem; color: var(--text-light); margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border-light); }
.bk-tl-legend span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; }
.bk-tl-legend .y::before { background: var(--earth-soil); }
.bk-tl-legend .t::before { background: var(--earth-bark); }
.bk-tl-legend .w::before { background: var(--green-light); }
.bk-tl-legend .c::before { background: var(--green-primary); }
.bk-tl-legend .e::before { background: var(--earth-amber); }
.bk-tl-legend .m::before { width: 0; height: 12px; border-left: 2px dashed var(--accent-bloom); border-radius: 0; }

/* ---------- Chapter cards (contents page) ---------- */
.bk-chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 24px 0 36px; }
.bk-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--border-light); border-radius: 16px; padding: 18px 18px 16px; text-decoration: none !important; color: inherit !important; font-weight: 400 !important; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.bk-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-light); }
.bk-card .n { font-family: 'Playfair Display', Georgia, serif; font-size: 1.9rem; font-weight: 700; color: var(--accent-bloom); line-height: 1; }
.bk-card strong { font-size: 1.04rem; color: var(--green-dark); line-height: 1.35; }
.bk-card span { font-size: .9rem; line-height: 1.55; color: var(--text-light); }

/* ---------- Two-up comparison ---------- */
.bk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 30px; }
.bk-two > div { background: #fff; border: 1px solid var(--border-light); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.bk-two h4, .bk-two h3 { margin: 0 0 8px; font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--green-dark); }
.bk-two p, .bk-two ul { font-size: .97rem !important; margin-bottom: 0 !important; }
.bk-two .good h4::before, .bk-two .good h3::before { content: '\f00c  '; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--green-primary); }
.bk-two .bad h4::before, .bk-two .bad h3::before { content: '\f00d  '; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent-berry); }

/* ---------- Disease / pest cards ---------- */
.bk-problem { background: #fff; border: 1px solid var(--border-light); border-radius: 16px; padding: 20px 22px 18px; margin: 18px 0; box-shadow: var(--shadow-sm); }
.bk-problem h3 { margin: 0 0 2px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.bk-problem .tag { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.bk-problem .tag.disease { background: var(--accent-sun); color: var(--accent-berry); }
.bk-problem .tag.pest { background: var(--green-whisper); color: var(--green-dark); }
.bk-problem .latin { font-style: italic; color: var(--text-light); font-size: .93rem; margin: 0 0 14px !important; }
.bk-problem dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px 16px; margin: 0; font-size: 1rem; line-height: 1.7; color: var(--text-medium); }
.bk-problem dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-medium); padding-top: 4px; }
.bk-problem dd { margin: 0; }

/* ---------- Pull quote ---------- */
.bk-quote { margin: 34px 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--earth-amber); font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 1.32rem; line-height: 1.55; color: var(--green-dark); }
.bk-quote cite { display: block; font-family: 'Inter', sans-serif; font-style: normal; font-size: .88rem; color: var(--text-light); margin-top: 8px; }

/* ---------- FAQ ---------- */
.bk-faq { margin: 52px 0 20px; }
.bk-faq details { background: #fff; border: 1px solid var(--border-light); border-radius: 12px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.bk-faq summary { cursor: pointer; list-style: none; padding: 15px 48px 15px 18px; font-weight: 600; color: var(--text-dark); position: relative; line-height: 1.45; }
.bk-faq summary::-webkit-details-marker { display: none; }
.bk-faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--green-primary); font-weight: 400; }
.bk-faq details[open] summary::after { content: '\2212'; }
.bk-faq details > div { padding: 0 18px 6px; }
.bk-faq details p { font-size: 1rem; }

/* ---------- "Continue reading in depth" (leads to the complete booklet) ---------- */
.bk-depth { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; margin: 46px 0 8px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, #FFF4F6 0%, #FFFFFF 70%); border: 1px solid var(--earth-sand); box-shadow: var(--shadow-sm); }
.bk-depth-cover { width: 96px; height: auto; border-radius: 6px; box-shadow: 0 8px 22px rgba(43,26,31,.22); transform: rotate(-3deg); }
.bk-depth .eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bloom); }
.bk-depth h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; color: var(--green-dark); margin: 4px 0 6px; }
.bk-depth p { font-size: 1rem !important; line-height: 1.65 !important; margin: 0 0 14px !important; }
.bk-article .bk-depth-btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border-radius: 999px; background: var(--accent-bloom); color: #fff; font-weight: 700; font-size: .98rem; text-decoration: none; box-shadow: 0 6px 16px rgba(179,62,86,.28); transition: transform .2s ease, background .2s ease; }
.bk-article .bk-depth-btn:hover { background: var(--accent-berry); transform: translateY(-1px); }

.bk-side-depth { display: flex !important; gap: 10px; align-items: center; margin: -14px 0 26px; padding: 10px 12px !important; border-radius: 10px !important; background: #FFF4F6; border: 1px solid var(--earth-sand); }
.bk-side-depth i { color: var(--accent-bloom); }
.bk-side-depth strong { display: block; color: var(--green-dark); font-size: .9rem; }
.bk-side-depth small { display: block; color: var(--accent-bloom); font-size: .76rem; font-weight: 600; }
.bk-depth-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.bk-article .bk-depth-more { font-weight: 600; color: var(--green-primary); text-decoration: underline; text-underline-offset: 3px; }
.bk-article .bk-depth-more:hover { color: var(--green-dark); }

/* ---------- Complete booklet: the book page (complete-booklet.html) ---------- */
.bk-book { max-width: 980px; margin: 0 auto; padding: 44px 24px 72px; }
.bk-book h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); color: var(--green-dark); margin: 0 0 10px; }
.bk-book > p { font-size: 1.06rem; line-height: 1.8; color: var(--text-medium); max-width: 68ch; margin: 0 0 22px; }
.bk-book h2:not(:first-child) { margin-top: 52px; }
.bk-train { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bk-train-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-light); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.bk-train-top { padding: 22px 24px 18px; color: #EDF7F6; background: linear-gradient(135deg, var(--green-dark), var(--green-primary)); }
.bk-train-card.offline .bk-train-top { background: linear-gradient(135deg, var(--earth-bark), var(--earth-soil)); }
.bk-train-top .eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-mist); }
.bk-train-card.offline .bk-train-top .eyebrow { color: var(--earth-amber); }
.bk-train-top h3 { color: #fff; font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; margin: 6px 0 8px; }
.bk-train-top .price { font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; font-weight: 700; font-variant-numeric: lining-nums; }
.bk-train-card .bk-check { padding: 18px 24px 4px !important; margin: 0 !important; flex: 1; font-size: .98rem; line-height: 1.6; color: var(--text-medium); }
.bk-train-card .bk-check li { margin-bottom: 10px; }
.bk-train-btn { margin: 8px 24px 24px; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; background: var(--green-primary); color: #fff; font-weight: 700; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.bk-train-btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.bk-train-card.offline .bk-train-btn { background: var(--earth-soil); }
.bk-train-card.offline .bk-train-btn:hover { background: var(--earth-bark); }
.bk-chapters-compact .bk-card { flex-direction: row; align-items: baseline; gap: 12px; padding: 14px 16px; }
.bk-chapters-compact .bk-card .n { font-size: 1.2rem; min-width: 1.4em; }
.bk-chapters-compact .bk-card strong { font-size: .97rem; }
.bk-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.bk-buy { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 999px; background: #fff; color: var(--green-dark); font-weight: 700; font-size: 1.02rem; text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.22); transition: transform .2s ease, background .2s ease; }
.bk-buy:hover { background: var(--green-whisper); transform: translateY(-1px); }
.bk-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(237,247,246,.55); color: #EDF7F6; font-weight: 600; text-decoration: none; transition: background .2s ease; }
.bk-ghost:hover { background: rgba(237,247,246,.12); }
.bk-book .bk-faq { margin-top: 52px; }
.bk-book > p.bk-book-end { margin: 30px 0 0; }
.bk-book-end .bk-buy { background: var(--accent-bloom); color: #fff; box-shadow: 0 6px 16px rgba(179,62,86,.28); }
.bk-book-end .bk-buy:hover { background: var(--accent-berry); }

/* ---------- Training CTA ---------- */
.bk-cta { margin: 48px 0 8px; border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 210px; background: linear-gradient(135deg, var(--green-dark), var(--green-primary)); color: #EDF7F6; box-shadow: var(--shadow-md); }
.bk-cta-body { padding: 28px 30px; }
.bk-cta .eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-mist); }
.bk-cta h3 { font-family: 'Playfair Display', Georgia, serif; color: #fff; font-size: 1.45rem; margin: 6px 0 10px; }
.bk-cta p { color: rgba(237,247,246,.88) !important; font-size: 1rem !important; margin-bottom: 16px !important; }
.bk-cta strong { color: #fff; }
.bk-cta .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-cta .btns a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none !important; }
.bk-cta .btns a.primary { background: #EDF7F6; color: var(--green-dark) !important; }
.bk-cta .btns a.ghost { border: 1.5px solid rgba(237,247,246,.6); color: #EDF7F6 !important; }
.bk-cta-img { background-size: cover; background-position: center; min-height: 100%; }

/* ---------- Author ---------- */
.bk-author { display: flex; gap: 18px; align-items: center; margin: 34px 0 0; padding: 20px; background: #fff; border: 1px solid var(--border-light); border-radius: 16px; }
.bk-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--green-light); flex-shrink: 0; }
.bk-author h4 { margin: 0 0 4px; font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--text-dark); }
.bk-author p { margin: 0 !important; font-size: .92rem !important; line-height: 1.6 !important; color: var(--text-light) !important; }

/* ---------- Prev / next ---------- */
.bk-pager { max-width: 1160px; margin: 0 auto; padding: 8px 24px 64px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; }
.bk-pager-inner { max-width: 740px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-pager a { display: block; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--border-light); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .2s ease, transform .2s ease; }
.bk-pager a:hover { border-color: var(--green-light); transform: translateY(-2px); }
.bk-pager small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 6px; }
.bk-pager strong { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem; color: var(--green-dark); line-height: 1.35; }
.bk-pager .next { text-align: right; grid-column: 2; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bk-layout, .bk-pager { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bk-pager > span { display: none; }
  .bk-side { display: none; }
  .bk-mobile-nav { display: block; margin: 0 0 28px; background: #fff; border: 1px solid var(--border-light); border-radius: 14px; box-shadow: var(--shadow-sm); }
  .bk-mobile-nav summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--green-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .bk-mobile-nav summary::-webkit-details-marker { display: none; }
  .bk-mobile-nav summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .8rem; color: var(--green-primary); }
  .bk-mobile-nav[open] summary::after { content: '\f077'; }
  .bk-mobile-nav ol { list-style: none; margin: 0; padding: 0 10px 12px; }
  .bk-mobile-nav li { margin: 0; padding: 0; }
  .bk-mobile-nav a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--text-medium); text-decoration: none; font-size: .95rem; }
  .bk-mobile-nav .n { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--green-medium); min-width: 1.4em; }
  .bk-mobile-nav li.current a { background: var(--green-primary); color: #EDF7F6; }
  .bk-mobile-nav li.current .n { color: var(--green-mist); }
  .bk-article { max-width: none; }
  .bk-pager-inner { max-width: none; }
}
@media (max-width: 768px) {
  .bk { padding-top: 74px; }
  .bk-hero { padding: 30px 16px 36px; }
  .bk-hero.has-art .bk-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .bk-hero-art { display: none; }
  .bk-dek { font-size: 1.02rem; }
  .bk-progress ol { padding: 0 16px; }
  .bk-layout { padding: 26px 16px 16px; }
  .bk-pager { padding: 8px 16px 48px; }
  .bk-article p { font-size: 1.02rem; line-height: 1.8; }
  .bk-article > p:first-of-type { font-size: 1.08rem; }
  .bk-article h2 { margin-top: 42px; }
  .bk-note { padding: 16px 16px 16px 50px; }
  .bk-note::before { left: 14px; top: 15px; width: 26px; height: 26px; }
  .bk-pair, .bk-two { grid-template-columns: minmax(0, 1fr); }
  .bk-pair img, .bk-pair.wide img { aspect-ratio: auto; }
  .bk-meta { gap: 6px 16px; font-size: .86rem; }
  /* Tables: narrow ones fit the screen; wide ones scroll, and say so. */
  .bk-table { min-width: 0; font-size: .9rem; }
  .bk-table th, .bk-table td { padding: 9px 9px; }
  .bk-table th.num { white-space: normal; }
  .bk-table caption { padding: 12px 12px 4px; }
  .bk-tl-legend .m { display: none; }
  .bk-plan svg { min-width: 560px; }
  /* The site menu drops over the booklet header; keep it opaque so the hero text does not show through. */
  .navbar .nav-links { background: #EDF7F6; }
  /* Phone timeline: each stage's name sits above a full-width bar, and the key
     days become tags above the chart instead of lines that would cross the labels. */
  .bk-timeline { padding: 14px 12px 12px; }
  .bk-tl-body { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
  .bk-tl-mark { position: static; border: 0; }
  .bk-tl-mark span, .bk-tl-mark.lo span, .bk-tl-mark.lo2 span { position: static; transform: none; display: inline-block; font-size: .7rem; }
  .bk-tl-row { flex: 0 0 100%; grid-template-columns: minmax(0, 1fr); gap: 4px; margin: 4px 0 2px; font-size: .86rem; }
  .bk-tl-row .lbl small { display: inline; margin-left: 6px; font-size: .74rem; }
  .bk-tl-track { height: 20px; }
  .bk-tl-bar > span { font-size: .7rem; }
  .bk-tl-axis { grid-template-columns: minmax(0, 1fr); margin-top: 6px; }
  .bk-tl-axis > span:first-child { display: none; }
  .bk-cta { grid-template-columns: minmax(0, 1fr); }
  .bk-cta-img { min-height: 160px; order: -1; }
  .bk-cta-body { padding: 22px 20px; }
  .bk-pager-inner { grid-template-columns: minmax(0, 1fr); }
  .bk-pager .next { grid-column: 1; }
  .bk-author { flex-direction: column; text-align: center; }
  .bk-quote { font-size: 1.15rem; padding-left: 18px; }
  .bk-steps > li { padding-left: 50px !important; }
  .bk-problem { padding: 18px 16px 16px; }
  .bk-depth { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 18px 16px; align-items: start; }
  .bk-depth-cover { width: 64px; }
  .bk-depth h3 { font-size: 1.2rem; }
  .bk-article .bk-depth-btn { padding: 10px 18px; font-size: .94rem; }
  .bk-book { padding: 30px 16px 56px; }
  .bk-hero.book .bk-hero-art { display: block; width: 130px; justify-self: start; margin-top: 4px; }
  .bk-hero.book .bk-hero-art img { transform: rotate(-2deg); }
  .bk-train { grid-template-columns: minmax(0, 1fr); }
  .bk-hero-cta .bk-buy, .bk-hero-cta .bk-ghost { flex: 1 1 100%; justify-content: center; }
  .bk-problem dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .bk-problem dd { margin-bottom: 10px; }
}
@media print {
  .navbar, .bk-side, .bk-mobile-nav, .bk-progress, .bk-pager, .bk-cta, footer { display: none !important; }
  .bk { padding-top: 0; background: #fff; }
  .bk-hero { background: none; color: #000; padding: 0 0 12px; }
  .bk-hero h1, .bk-dek, .bk-meta, .bk-kicker, .bk-crumbs { color: #000 !important; }
  .bk-layout { display: block; padding: 0; }
}
