/* The Alignment Plan: shared stylesheet for tool and guide pages.
   Same tokens as the product page. Light design only. */
:root {
  --paper: #ffffff; --paper-2: #f6f6f2; --ink: #15151b; --ink-2: #5f5f6a; --line: #e4e4df;
  --s1: #3457d5; --s1-tint: #e8edff; --s1-ink: #1d3aa6;
  --s2: #f08a1d; --s2-tint: #fff0dc; --s2-ink: #9a5203;
  --s3: #2a9d4f; --s3-tint: #e1f6e8; --s3-ink: #1a6b35;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(21,21,27,0.12), 0 2px 6px rgba(21,21,27,0.06);
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; line-height: 1.08; letter-spacing: -0.025em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--s2); outline-offset: 3px; }
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1120px; margin-inline: auto; }
.wrap > * { min-width: 0; }
.muted { color: var(--ink-2); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; font-size: 15px; border: 2px solid transparent; cursor: pointer; background: none; color: var(--ink); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: var(--line); background: var(--card); }
.btn-green { background: var(--s3); color: #fff; }
.btn:hover { filter: brightness(0.96); }

/* Nav */
.nav { padding-block: 16px; border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a[aria-current="page"], .nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: var(--paper); padding: 10px 16px; }

/* Page head */
.crumbs { font-size: 13px; color: var(--ink-2); padding-top: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head { padding-block: 18px 28px; }
.page-head .wrap { display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; max-width: 20ch; }
.page-head .lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; max-width: 60ch; color: var(--ink-2); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts span { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }

/* Tool shell */
.tool { padding-block: 8px 56px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 24px; }
.lbl { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.note { font-size: 14px; color: var(--ink-2); }

/* Wheel tool */
.wheel-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px; align-items: start; }
.wheel-side { display: grid; gap: 18px; }
.wheel-view { position: sticky; top: 16px; display: grid; gap: 10px; }
#wheel { width: 100%; max-width: 520px; height: auto; display: block; margin-inline: auto; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); justify-content: center; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend .then::before { background: var(--s1); } .legend .now::before { background: var(--s3); }
.sliders { display: grid; gap: 12px; }
.slider { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; }
.slider label { font-weight: 600; font-size: 15px; }
.slider output { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 2ch; text-align: right; font-size: 15px; }
.slider input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--s3); margin: 0; height: 28px; }
.result { background: var(--s3-tint); border-radius: 14px; padding: 16px; display: grid; gap: 6px; }
.result b { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.saved { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.saved-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.saved select { font: inherit; font-size: 15px; padding: 9px 12px; border-radius: 10px; border: 2px solid var(--line); background: var(--card); color: var(--ink); max-width: 100%; }
.linkish { justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
details.edit { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
details.edit summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.edit-grid input { font: inherit; font-size: 15px; padding: 9px 10px; border-radius: 8px; border: 1px solid var(--line); width: 100%; min-width: 0; }
.toast { font-size: 14px; font-weight: 600; color: var(--s3-ink); min-height: 1.4em; }

/* Reflection tool */
.reflect-bar { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 10px; }
.reflect-bar .wrap { display: flex; gap: 14px; align-items: center; justify-content: space-between; max-width: 760px; }
.reflect-bar .btn { padding: 8px 14px; font-size: 14px; white-space: nowrap; }
.reflect-bar .short { display: none; }
.progress span:first-child { white-space: nowrap; }
.note .linkish { margin-left: 4px; }
.progress { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; flex: 1 1 240px; min-width: 0; }
.progress .track { flex: 1; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; min-width: 60px; }
.progress .track i { display: block; height: 100%; width: 0; background: var(--s3); border-radius: 4px; transition: width 0.2s; }
.part { padding-block: 40px 8px; }
.part .wrap { display: grid; gap: 20px; max-width: 760px; }
.part h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.part .intro { color: var(--ink-2); }
.part .kicker.k1 { color: var(--s1-ink); } .part .kicker.k2 { color: var(--s2-ink); } .part .kicker.k3 { color: var(--s3-ink); }
ol.qs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: q var(--start, 0); }
ol.qs li { counter-increment: q; background: var(--paper-2); border-radius: 14px; padding: 16px; display: grid; gap: 8px; }
ol.qs h3 { font-family: var(--body); font-size: 17px; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
ol.qs h3::before { content: counter(q) ". "; color: var(--ink-2); font-weight: 600; }
ol.qs .why { font-size: 14px; color: var(--ink-2); }
ol.qs textarea { font: inherit; font-size: 16px; line-height: 1.5; width: 100%; min-height: 76px; resize: vertical; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
ol.qs textarea:focus { outline: 3px solid var(--s1-tint); border-color: var(--s1); }

/* Long-form */
.prose { padding-block: 48px; border-top: 1px solid var(--line); }
.prose .wrap { max-width: 760px; display: grid; gap: 18px; }
.prose h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin-top: 18px; }
.prose h3 { font-size: 20px; font-weight: 700; margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--s1-ink); }
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.area { background: var(--paper-2); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; }
.area b { font-weight: 600; }
.area span { font-size: 15px; color: var(--ink-2); }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin-top: 8px; color: var(--ink-2); }
.credit { font-size: 14px; color: var(--ink-2); }

/* Offer + footer */
.offer { padding-block: 56px; background: var(--paper-2); border-top: 1px solid var(--line); }
.offer .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.offer h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.offer .copy { display: grid; gap: 14px; }
.offer p { color: var(--ink-2); }
.next { display: grid; gap: 10px; }
.next a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; }
.next a b { display: block; font-weight: 600; }
.next a span { font-size: 14px; color: var(--ink-2); }
footer { padding-block: 24px 40px; font-size: 13px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

.print-only { display: none; }

@media (max-width: 900px) {
  .wheel-grid, .offer .wrap { grid-template-columns: 1fr; }
  .wheel-view { position: static; }
  .panel { padding: 18px; }
  .areas { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .edit-grid { grid-template-columns: 1fr; }
  .panel { padding: 14px; border-radius: 16px; }
}

@media (max-width: 480px) {
  .nav-links .btn { display: none; }
  .reflect-bar .long { display: none; }
  .reflect-bar .short { display: inline; }
}

@media print {
  .nav, .crumbs, .actions, .saved, details.edit, .prose, .offer, footer, .reflect-bar, .facts, .toast, .no-print { display: none !important; }
  body { font-size: 12pt; }
  .panel { box-shadow: none; border: 0; padding: 0; }
  .wheel-grid { grid-template-columns: 1fr; gap: 12pt; }
  .wheel-view { position: static; }
  #wheel { max-width: 150mm; margin-inline: auto; }
  .print-only { display: block; }
  body.print-blank .sliders, body.print-blank .result, body.print-blank .legend { display: none !important; }
  body.print-blank .blank-lines { display: grid !important; }
  ol.qs li { break-inside: avoid; background: none; border: 1px solid #ccc; }
  ol.qs textarea { border: 0; padding: 0; min-height: 0; }
  .part { padding-block: 12pt 0; }
}
.blank-lines { display: none; gap: 10pt; grid-template-columns: 1fr 1fr; font-size: 11pt; }
.blank-lines span { border-bottom: 1px solid #999; padding-bottom: 14pt; }

/* Home hub */
.hub { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hub a { display: grid; gap: 8px; align-content: start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-decoration: none; box-shadow: 0 4px 14px rgba(21,21,27,0.06); }
.hub a:hover { border-color: var(--ink); }
.hub .tag { justify-self: start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.hub a:nth-child(4n+1) .tag { background: var(--s1-tint); color: var(--s1-ink); }
.hub a:nth-child(4n+2) .tag { background: var(--s2-tint); color: var(--s2-ink); }
.hub a:nth-child(4n+3) .tag { background: var(--s3-tint); color: var(--s3-ink); }
.hub a:nth-child(4n) .tag { background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line); }
.hub b { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.hub span.sub { color: var(--ink-2); font-size: 15px; }
.hub .go { font-weight: 600; font-size: 15px; margin-top: 4px; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table.cmp { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
table.cmp th, table.cmp td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: var(--paper-2); font-weight: 600; }
table.cmp tbody th { font-weight: 600; width: 26%; }
table.cmp tr:last-child th, table.cmp tr:last-child td { border-bottom: 0; }
.callout { background: var(--paper-2); border-radius: 14px; padding: 16px 18px; display: grid; gap: 6px; }
.callout b { font-weight: 600; }

/* Goals template tool */
.goal-focus input, .goal-card input[type="text"] { font: inherit; font-size: 16px; width: 100%; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.goal-focus { display: grid; gap: 8px; }
.goal-focus input { font-family: var(--display); font-weight: 700; font-size: 20px; }
.goals-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.goal-card { background: var(--paper-2); border-radius: 16px; padding: 16px; display: grid; gap: 10px; align-content: start; }
.goal-card .row { display: grid; gap: 8px; }
.goal-card select { justify-self: start; }
.goal-card select { font: inherit; font-size: 15px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.steps-list { display: grid; gap: 6px; }
.steps-list label { display: grid; grid-template-columns: 42px 1fr; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.steps-list input[type="text"] { font-size: 15px; padding: 8px 10px; }
.tool-foot { display: grid; gap: 10px; margin-top: 20px; }

@media (max-width: 1099px) {
  .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .goals-grid { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-links .btn { white-space: nowrap; }
}
@media (max-width: 560px) {
  .hub { grid-template-columns: 1fr; }
}
@media print {
  .goals-grid { grid-template-columns: 1fr; }
  .goal-card { break-inside: avoid; background: none; border: 1px solid #ccc; }
  .goal-focus input, .goal-card input[type="text"], .goal-card select { border: 0; border-bottom: 1px solid #999; border-radius: 0; padding: 2px 0; }
  .tool-foot { display: none !important; }
}

/* Two-column tools: a picture on the left that follows what you type on the right */
.duo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px; align-items: start; }
.duo-view { position: sticky; top: 16px; display: grid; gap: 10px; }
.duo-side { display: grid; gap: 18px; }
.center { text-align: center; }
.field { display: grid; gap: 6px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input[type="text"], .field input[type="date"], .field select, .field textarea {
  font: inherit; font-size: 16px; width: 100%; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.btn-small { padding: 8px 12px; font-size: 14px; }
.seg { display: inline-flex; justify-self: start; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { font: inherit; font-size: 15px; font-weight: 600; padding: 8px 14px; background: var(--card); border: 0; cursor: pointer; color: var(--ink-2); }
.seg button + button { border-left: 2px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.prose sup { font-size: 12px; line-height: 0; }
.prose sup a { text-decoration: none; font-weight: 600; padding: 0 2px; }
ol.sources { font-size: 15px; color: var(--ink-2); }
ol.sources a { overflow-wrap: anywhere; }

/* Vision board */
#board { width: 100%; height: auto; display: block; max-width: 500px; margin-inline: auto; border-radius: 16px; border: 1px solid var(--line); }
#board.phone { max-width: 320px; }
.tile-list { display: grid; gap: 10px; }
.tile-ed { background: var(--paper-2); border-radius: 14px; padding: 10px 12px 12px; display: grid; gap: 8px; }
.tile-ed .top { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: space-between; }
.tile-ed .acts { display: inline-flex; gap: 12px; align-items: center; margin-left: auto; }
.tile-ed input[type="text"] { font: inherit; font-size: 16px; width: 100%; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.tile-ed input.name { flex: 1 1 150px; width: auto; font-weight: 600; border-color: transparent; background: none; padding: 6px 4px; }
.tile-ed input.name:hover, .tile-ed input.name:focus { border-color: var(--line); background: var(--card); }

@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; }
  .duo-view { position: static; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}
@media print {
  .duo { grid-template-columns: 1fr; }
  .duo-view { position: static; }
  .duo-side { display: none !important; }
  #board, #board.phone { max-width: 165mm; border: 0; border-radius: 0; }
  #board.phone { max-width: 105mm; }
}

/* Year planner */
.planner-opts { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr) auto minmax(0, 1.4fr); gap: 14px; align-items: end; }
.planner-add { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 16px; }
.chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips:empty, .key:empty { display: none; }
.chips li { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; background: var(--s3-tint); color: var(--s3-ink); border-radius: 999px; padding: 4px 4px 4px 12px; }
.chips button { font: inherit; font-size: 18px; line-height: 1; width: 28px; height: 28px; border-radius: 50%; border: 0; background: none; color: inherit; cursor: pointer; }
.chips button:hover { background: rgba(26, 107, 53, 0.14); }
.planner-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
table.wall { border-collapse: collapse; width: 100%; min-width: 1040px; table-layout: fixed; font-size: 12px; }
table.wall th { background: var(--ink); color: #fff; font-weight: 600; font-size: 13px; padding: 7px 4px; text-align: left; }
table.wall td { border: 1px solid var(--line); height: 27px; padding: 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
table.wall .d { display: inline-block; min-width: 31px; margin-right: 4px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
table.wall .t { font-weight: 600; }
table.wall td.we { background: var(--paper-2); }
table.wall td.bh { background: var(--s2-tint); } table.wall td.bh .t { color: var(--s2-ink); }
table.wall td.mine { background: var(--s3-tint); } table.wall td.mine .t { color: var(--s3-ink); }
table.wall td.none { background: #ececea; border-color: #ececea; }
.months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 26px; padding: 18px; }
.month h3 { font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
table.mini { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
table.mini th { font-size: 11px; font-weight: 600; color: var(--ink-2); padding: 2px 0; }
table.mini td { padding: 3px 0; border-radius: 6px; }
table.mini td.we { color: var(--ink-2); background: var(--paper-2); }
table.mini td.bh { background: var(--s2-tint); color: var(--s2-ink); font-weight: 700; }
table.mini td.mine { background: var(--s3); color: #fff; font-weight: 700; }
.key { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; font-size: 14px; color: var(--ink-2); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.key li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; background: var(--s2); }
.key li.mine::before { background: var(--s3); }
.key b { color: var(--ink); font-weight: 600; }

@media (max-width: 1000px) {
  .planner-opts { grid-template-columns: 1fr 1fr; }
  .months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .planner-add { grid-template-columns: 1fr; }
  .planner-add .btn { justify-self: start; }
  .months { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; padding: 12px; }
  .key { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .planner-opts { grid-template-columns: 1fr; }
}
@media print {
  .planner-opts, .planner-add, .chips { display: none !important; }
  .tool { padding: 0; }
  .planner-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10mm; font-size: 10pt; margin-bottom: 2mm; }
  .planner-head b { font-family: var(--display); font-size: 15pt; font-weight: 800; }
  .planner-credit { font-size: 7pt; color: #555; margin-top: 1.5mm; }
  .planner-wrap { overflow: visible; border: 0; border-radius: 0; margin-top: 0; }
  table.wall { min-width: 0; font-size: 6.5pt; }
  table.wall th { font-size: 7.5pt; padding: 1mm 1.2mm; }
  table.wall td { height: 5.2mm; padding: 0 1mm; border-color: #bbb; }
  table.wall .d { min-width: 6mm; margin-right: 0.8mm; }
  .months { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3mm 8mm; padding: 0; }
  .month { break-inside: avoid; }
  .month h3 { margin-bottom: 1mm; font-size: 10.5pt; }
  table.mini { font-size: 8.5pt; border-spacing: 1px; }
  table.mini td { padding: 1.5px 0; }
  table.mini th { padding: 0; font-size: 7.5pt; }
  .key { font-size: 8pt; margin-top: 3mm; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.wall-print .key { display: none; }
}

/* Goals bingo card */
.bingo-title { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; line-height: 1.1; text-align: center; overflow-wrap: anywhere; }
.bingo-card { container-type: inline-size; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 520px; margin-inline: auto; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.bingo-card button { aspect-ratio: 1; min-width: 0; display: grid; place-items: center; padding: 3px; border: 2px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; font-weight: 600; font-size: clamp(11px, 3cqw, 15px); line-height: 1.18; text-align: center; cursor: pointer; overflow: hidden; }
.bingo-card button span { display: block; overflow-wrap: anywhere; }
.bingo-card[data-n="4"] button { font-size: clamp(12px, 3.7cqw, 17px); padding: 5px; }
.bingo-card[data-n="3"] button { font-size: clamp(14px, 4.6cqw, 20px); padding: 8px; }
.bingo-card button.empty { border-style: dashed; }
.bingo-card button:hover { border-color: var(--ink-2); }
.bingo-card button[aria-pressed="true"] { background: var(--s3); border-color: var(--s3); color: #fff; }
.bingo-card button.line { box-shadow: 0 0 0 2px var(--ink); }
.sq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.sq-list label { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sq-list input { font: inherit; font-size: 16px; width: 100%; min-width: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.ideas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ideas > div { background: var(--paper-2); border-radius: 14px; padding: 14px 16px; }
.ideas h3 { font-family: var(--body); font-size: 16px; font-weight: 600; letter-spacing: 0; margin: 0 0 6px; }
.ideas ul { gap: 2px; font-size: 15px; color: var(--ink-2); padding-left: 18px; }

@media (max-width: 640px) {
  .sq-list, .ideas { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .bingo-card { gap: 4px; width: calc(100% + 12px); max-width: none; margin-inline: -6px; }
  .bingo-card button { padding: 2px; border-radius: 8px; line-height: 1.14; }
}
@media print {
  .bingo-card { max-width: 170mm; gap: 0; }
  .bingo-card button { border: 1px solid #555; border-radius: 0; font-size: 11pt; box-shadow: none !important; }
  .bingo-card[data-n="5"] button { font-size: 9.5pt; }
  .bingo-title { font-size: 22pt; margin-bottom: 4mm; }
  .duo-view .result { display: none; }
  body.print-blank .bingo-card button { background: #fff !important; border-style: solid; }
  body.print-blank .bingo-card button span { visibility: hidden; }
}

/* Journal prompts */
.prompt-panel { display: grid; gap: 16px; max-width: 760px; margin-inline: auto; }
.prompt-now { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.prompt-panel textarea { line-height: 1.5; resize: vertical; min-height: 130px; }
.prompt-controls { display: grid; gap: 14px; }
.prompt-controls .field select { width: auto; justify-self: start; max-width: 100%; }
ol.prompts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: p var(--start, 0); }
ol.prompts li { counter-increment: p; position: relative; background: var(--paper-2); border-radius: 12px; padding: 12px 14px 12px 50px; font-weight: 500; }
ol.prompts li::before { content: counter(p); position: absolute; left: 14px; top: 12px; width: 26px; color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
ol.prompts li.answered { background: var(--s3-tint); }
ol.prompts li.answered::before { color: var(--s3-ink); }
@media print {
  ol.prompts { gap: 3pt; }
  ol.prompts li { background: none !important; padding: 2pt 0 2pt 26pt; break-inside: avoid; font-weight: 400; }
  ol.prompts li::before { left: 0; top: 2pt; color: #555; }
  .part h2 { font-size: 15pt; }
  .part .intro { display: none; }
}

/* Life audit */
.audit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.audit-card { background: var(--paper-2); border-radius: 16px; padding: 16px; display: grid; gap: 8px; align-content: start; }
.audit-card h3 { font-size: 22px; font-weight: 800; }
.audit-card .slider { margin-block: 4px; }
.audit-card .lbl { margin-top: 4px; }
.audit-card textarea, .audit-card input[type="text"] { font: inherit; font-size: 16px; line-height: 1.45; width: 100%; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.audit-card textarea { resize: vertical; min-height: 64px; }
.audit-result { display: grid; gap: 16px; margin-top: 20px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr) 2ch; gap: 12px; align-items: center; font-size: 15px; }
.bar-row .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row .track { height: 12px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar-row .track i { display: block; height: 100%; border-radius: 6px; background: var(--s1); }
.bar-row .track i.low { background: var(--s2); }
.bar-row .track i.high { background: var(--s3); }
.bar-row .num { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.next-steps { display: grid; gap: 8px; }
.next-steps ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }

@media (max-width: 760px) {
  .audit-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: minmax(0, 134px) minmax(0, 1fr) 2ch; gap: 8px; font-size: 14px; }
}
@media print {
  .audit-grid { grid-template-columns: 1fr 1fr; gap: 4mm; }
  .audit-card { background: none; border: 1px solid #bbb; border-radius: 3mm; padding: 3mm; break-inside: avoid; gap: 1.5mm; }
  .audit-card h3 { font-size: 13pt; }
  .audit-card .note { font-size: 8pt; }
  .audit-card input[type="range"] { display: none; }
  .audit-card .slider { grid-template-columns: auto 1fr; justify-items: start; font-size: 10pt; }
  .audit-card textarea, .audit-card input[type="text"] { border: 0; border-bottom: 1px solid #999; border-radius: 0; padding: 1mm 0; font-size: 10pt; min-height: 0; }
  .audit-card textarea { min-height: 12mm; resize: none; }
  .audit-card ::placeholder { color: transparent; }
  .audit-result { break-inside: avoid; margin-top: 5mm; }
  .tool-foot { display: none !important; }
  body.print-blank .audit-card textarea, body.print-blank .audit-card input[type="text"] { color: transparent; }
  body.print-blank .audit-card textarea { min-height: 16mm; height: 16mm !important; }
  body.print-blank .audit-card output { color: transparent; border-bottom: 1px solid #999; min-width: 12mm; }
  body.print-blank .audit-result { display: none; }
}

/* Home hub with more than four tools */
.hub { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hub a:nth-child(4n+1) .tag, .hub a:nth-child(4n+2) .tag, .hub a:nth-child(4n+3) .tag, .hub a:nth-child(4n) .tag { background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line); }
.hub a:nth-child(3n+1) .tag { background: var(--s1-tint); color: var(--s1-ink); border-color: transparent; }
.hub a:nth-child(3n+2) .tag { background: var(--s2-tint); color: var(--s2-ink); border-color: transparent; }
.hub a:nth-child(3n) .tag { background: var(--s3-tint); color: var(--s3-ink); border-color: transparent; }
@media (max-width: 1099px) { .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hub a:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 560px) { .hub { grid-template-columns: 1fr; } }
