/* Jessica Harley Coaching career tools: shared styles.
   Used by Deal Makers and Breakers and Plan a useful career conversation, and matching the Untangling Map.
   Colours are set once in :root. If you change one, change it in assets/js/0-shared.js too (the PDF uses that file). */
:root {
  --bg: #FBFCFB; --surface: #FFFFFF; --ink: #333333; --muted: #555B58; --line: #D4E0D3; --soft: #EEF4ED;
  --deep: #5F8576; --deep-text: #4E6E61; --pale: #B0CCAF; --coral: #E98173; --coral-soft: #FDF0EE; --coral-text: #8A3B31;
  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Mulish", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 740px; margin: 0 auto; padding-block: 28px 40px; display: flex; flex-direction: column; gap: 28px; }
[hidden] { display: none !important; }
.noscript { max-width: 740px; margin: 24px auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Shared header (same on the Untangling Map) ===== */
.site-connection { display: flex; align-items: center; justify-content: flex-start; gap: 30px; }
.site-connection .home-link { display: block; flex: 0 0 auto; max-width: 100%; border-radius: 4px; transition: transform 180ms ease; transform-origin: left center; }
.site-connection .home-link:focus-visible { outline: 3px solid var(--deep); outline-offset: 7px; }
.logo-frame { position: relative; display: block; width: 260px; max-width: 100%; aspect-ratio: 592 / 186; overflow: hidden; }
.logo-frame img { position: absolute; display: block; width: 135.135135%; max-width: none; height: auto; left: -18.074324%; top: -113.978495%; }
.tagline { margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.tagline span { color: var(--deep); }
@media (hover: hover) and (pointer: fine) { .site-connection .home-link:hover { transform: scale(1.035); } }
@media (max-width: 600px) { .site-connection { flex-direction: column; align-items: flex-start; gap: 10px; } .logo-frame { width: 230px; } .tagline { font-size: 20px; } }

.test-banner { background: #FFF7E6; border: 2px solid #E0B25C; border-radius: 10px; padding: 10px 14px; font-size: 15px; color: var(--ink); }

/* ===== Type ===== */
.brand { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; color: var(--ink); }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 7.5vw, 52px); line-height: 1.07; letter-spacing: -0.02em; margin: 6px 0 14px; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--deep); }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 5vw, 30px); line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 8px; text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.3; margin: 0; }
p { margin: 0; max-width: 64ch; }
.hook { font-family: var(--display); font-weight: 500; font-size: clamp(19px, 3.6vw, 23px); line-height: 1.4; max-width: 34em; margin-bottom: 16px; padding-left: 16px; border-left: 4px solid var(--coral); text-wrap: balance; }
.lede { font-size: 18px; color: var(--muted); }
.lede strong, .lede b { color: var(--ink); font-weight: 700; }
.lede + .lede { margin-top: 12px; }
.note { font-size: 15px; color: var(--muted); }
.helper { font-size: 16px; color: var(--ink); background: var(--soft); border-radius: 10px; padding: 12px 14px; max-width: none; }
a { color: var(--ink); text-underline-offset: 3px; }
.sub-head { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .02em; margin: 10px 0 0; }

/* ===== Buttons and links ===== */
.btn { font: 700 16px var(--body); padding: 12px 22px; border-radius: 999px; border: 2px solid var(--deep); background: var(--pale); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-block; text-align: center; min-height: 48px; }
.btn:hover { background: #A2C2A1; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: var(--surface); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.small { font-size: 15px; padding: 8px 16px; min-height: 40px; }
.btn.danger { background: var(--coral-soft); border-color: var(--coral); }
.btn.danger:hover { background: #FAE0DB; }
.link { font: inherit; background: none; border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.side-door { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.nav-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }

/* The "Clear my answers" control, and references to it in text, look the same */
.clear-btn, .control-ref { display: inline-flex; align-items: center; gap: 6px; font: 700 14px var(--body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--muted); border-radius: 999px; padding: 4px 12px 4px 10px; line-height: 1.4; white-space: nowrap; vertical-align: baseline; }
.clear-btn { cursor: pointer; min-height: 36px; }
.clear-btn:hover { border-color: var(--coral); background: var(--coral-soft); }
.clear-btn svg, .control-ref svg { width: 14px; height: 14px; flex: none; }
.control-ref { font-size: .9em; padding: 1px 9px 1px 7px; }

/* ===== Progress ===== */
.compact { display: flex; flex-direction: column; gap: 8px; }
.step-label { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; }
.step-label b { font-weight: 500; color: var(--deep-text); }
.steps { display: flex; gap: 6px; }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.steps span.on { background: var(--deep); }

/* ===== Panels and fields ===== */
.panel { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.35; }
.field.small label, .field.small .label { font-family: var(--body); font-weight: 700; font-size: 16px; }
.field .hint { font-size: 15px; color: var(--muted); margin-top: -4px; }
textarea, input[type="text"] { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid #A9B8A8; border-radius: 10px; padding: 12px 14px; width: 100%; min-width: 0; }
textarea { min-height: 92px; resize: vertical; }
textarea.short { min-height: 68px; }
::placeholder { color: #6C736F; opacity: 1; }
.resume { background: var(--surface); border: 2px solid var(--deep); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.save-note { font-size: 15px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.storage-warning { font-size: 15px; background: var(--coral-soft); border: 1.5px solid var(--coral); border-radius: 10px; padding: 10px 14px; max-width: none; }
.notes-box { background: var(--surface); border: 1px dashed var(--deep); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.notes-box p { font-size: 15px; overflow-wrap: anywhere; }
.notes-box b { font-weight: 700; }

/* ===== Prompt cards (Step 2) ===== */
.group-title { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .02em; margin: 22px 0 10px; }
.groups > .group-title:first-child { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.card { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; text-align: left; font: inherit; color: inherit; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; min-width: 0; }
.card:hover { border-color: var(--muted); }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--deep); margin-top: 4px; display: grid; place-items: center; flex: none; }
.card[aria-pressed="true"] { border: 2px solid var(--deep); background: #F7FAF7; }
.card[aria-pressed="true"] .swatch, .swatch.on { background: var(--deep); }
.card[aria-pressed="true"] .swatch::after, .swatch.on::after { content: ""; width: 5px; height: 8px; border: solid var(--surface); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.card b { display: block; font-weight: 700; }
.card i { display: block; font-style: normal; color: var(--muted); font-size: 15px; }

/* ===== Your words: chosen cards developing (Step 2) and red lines (Step 3) ===== */
.words { display: flex; flex-direction: column; gap: 10px; }
.word-card { display: grid; grid-template-columns: 16px 1fr auto; gap: 8px 12px; align-items: start; background: #F7FAF7; border: 2px solid var(--deep); border-radius: 10px; padding: 14px 16px; min-width: 0; }
.word-card .from { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--deep-text); line-height: 1.4; }
.word-card .body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.word-card label { font-weight: 700; font-size: 15px; }
.word-card input[type="text"], .word-card textarea { background: var(--surface); font-weight: 600; }
.word-card textarea { min-height: 52px; resize: none; overflow: hidden; }
.word-card .line { font-size: 14px; color: var(--muted); }
.remove { font: 600 14px var(--body); background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 2px; min-height: 32px; }
.remove:hover { color: var(--ink); }
.word-card.breaker { background: #FFFBFA; border-color: var(--coral); }
.word-card.breaker .swatch { border-color: var(--coral); border-radius: 4px; background: var(--coral-soft); }
.word-card.breaker .swatch::after { content: ""; width: 8px; height: 2px; background: var(--coral-text); border: 0; transform: none; }
.word-card.breaker .from { color: var(--coral-text); }
.add-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.add-btn { display: inline-flex; align-items: center; gap: 8px; font: 700 15px var(--body); color: var(--ink); background: var(--surface); border: 1.5px dashed var(--deep); border-radius: 10px; padding: 10px 16px; cursor: pointer; min-height: 46px; }
.add-btn:hover { background: var(--soft); }
.add-btn.coral { border-color: var(--coral); }
.add-btn.coral:hover { background: var(--coral-soft); }
.add-btn span[aria-hidden] { font-size: 20px; line-height: 1; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 14px var(--body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; min-height: 36px; }
.chip:hover { border-color: var(--coral); background: var(--coral-soft); }
.chip.green:hover { border-color: var(--deep); background: var(--soft); }
.chip[disabled] { opacity: .45; cursor: default; }
.empty { font-size: 15px; color: var(--muted); font-style: italic; }

/* ===== Choices on a criterion (Steps 4 and 6) ===== */
.sort-list { display: flex; flex-direction: column; gap: 10px; }
.sort-item { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; margin: 0; min-width: 0; }
.sort-item.breaker { border-left: 4px solid var(--coral); }
.sort-item.maker { border-left: 4px solid var(--deep); }
.sort-item.nice { border-left: 4px solid var(--pale); }
.sort-item legend { padding: 0; font-weight: 700; font-size: 17px; float: left; width: 100%; overflow-wrap: anywhere; }
.sort-item legend i { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-style: normal; font-weight: 400; color: var(--muted); font-size: 15px; margin-top: 2px; }
.sort-item legend + * { clear: both; }
.opts { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 6px; }
.opt { position: relative; min-width: 0; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; height: 100%; font: 600 14px var(--body); line-height: 1.25; background: var(--bg); border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 6px; cursor: pointer; }
.opt span:hover { border-color: var(--muted); }
.opt input:checked + span { border: 2px solid var(--deep); background: var(--soft); font-weight: 700; }
.opt input:checked + span::before { content: "\2713\00a0"; }
.opt.coral input:checked + span { border-color: var(--coral); background: var(--coral-soft); }
.opt.quiet input:checked + span { border-color: var(--muted); background: var(--surface); }
.opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (max-width: 520px) { .opts.four { grid-template-columns: repeat(2, 1fr); } .opt span { font-size: 13px; padding: 6px 4px; } }

.status { font-size: 16px; color: var(--ink); background: var(--soft); border: 2px solid var(--deep); border-left-width: 6px; border-radius: 10px; padding: 12px 14px; max-width: none; }
.status.coral { background: var(--coral-soft); border-color: var(--coral); }
.status:empty { display: none; }

/* ===== Three-part summary ===== */
.summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sum-col { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sum-col.maker { border-top: 5px solid var(--deep); }
.sum-col.breaker { border-top: 5px solid var(--coral); }
.sum-col.nice { border-top: 5px solid var(--pale); }
.sum-col h3 { font-size: 17px; }
.sum-col .def { font-size: 14px; color: var(--muted); }
.sum-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sum-col li { font-size: 15px; font-weight: 600; line-height: 1.4; padding-left: 14px; position: relative; overflow-wrap: anywhere; }
.sum-col li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--deep); }
.sum-col.breaker li::before { background: var(--coral); border-radius: 1px; }
.sum-col.nice li::before { background: var(--pale); }
.sum-col .edit { font-size: 14px; margin-top: auto; padding-top: 4px; align-self: flex-start; }
@media (max-width: 720px) { .summary { grid-template-columns: 1fr; } }

/* ===== Step 5 ===== */
.spec { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--deep); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.spec.breaker { border-left-color: var(--coral); }
.spec.nice { border-left-color: var(--pale); }
.spec .eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--deep-text); }
.spec.breaker .eyebrow { color: var(--coral-text); }
.spec h3 { overflow-wrap: anywhere; }
.spec h3 i { display: block; font-family: var(--body); font-style: normal; font-weight: 400; font-size: 15px; color: var(--muted); margin-top: 2px; }
.clues { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-size: 16px; }
.clues summary { cursor: pointer; font-weight: 700; }
.clues ul { margin: 10px 0 2px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* ===== Step 6 ===== */
.choice-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; flex-direction: column; gap: 4px; height: 100%; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.choice b { font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.3; }
.choice i { font-style: normal; font-size: 14px; color: var(--muted); }
.choice span:hover { border-color: var(--muted); }
.choice input:checked + span { border: 2px solid var(--deep); background: #F7FAF7; }
.choice input:checked + span b::before { content: "\2713\00a0"; color: var(--deep); }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (max-width: 640px) { .choice-cards { grid-template-columns: 1fr; } }
.tally { display: flex; flex-wrap: wrap; gap: 8px; }
.tally span { font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.tally b { font-weight: 700; }
.bridge { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.next-box { background: #F7FAF7; border: 2px solid var(--deep); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }

/* ===== The finished sheet (checklist or plan) ===== */
.example-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; background: var(--soft); border: 2px dashed var(--deep); border-radius: 12px; padding: 14px 16px; }
.example-title { font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
@media (max-width: 520px) { .sheet { padding: 20px 16px; } }
.sheet-head { display: flex; flex-direction: column; gap: 4px; }
.sheet-head h1 { margin-bottom: 6px; }
.block { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.block-head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.block-head h2 { font-size: 21px; margin: 0; display: flex; align-items: center; gap: 10px; }
.block-head h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--deep); flex: none; }
.block.breaker .block-head h2::before { background: var(--coral); border-radius: 2px; }
.block.nice .block-head h2::before { background: var(--pale); border: 1.5px solid var(--deep); }
.block-head p { font-size: 15px; color: var(--muted); }
.block-title { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.item { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.item .tick { width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 5px; margin-top: 3px; background: var(--surface); }
.item.breaker .tick { border-color: var(--coral); background: var(--coral-soft); position: relative; }
.item.breaker .tick::after { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; height: 2px; background: var(--coral-text); }
.item.nice .tick { border-color: var(--deep); border-radius: 50%; }
.item .name { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.item .desc { grid-column: 2 / 4; overflow-wrap: anywhere; white-space: pre-line; }
.item .protect { grid-column: 2 / 4; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; white-space: pre-line; }
.badge { font: 700 13px var(--body); padding: 3px 10px; border-radius: 999px; border: 1.5px solid var(--ink); white-space: nowrap; align-self: start; background: var(--surface); }
.badge.met { background: var(--deep); border-color: var(--deep); color: #FFFFFF; }
.badge.partly { background: var(--soft); border-color: var(--deep); color: var(--deep-text); }
.badge.not { background: var(--surface); border-color: var(--muted); color: var(--muted); }
.badge.present { background: var(--coral-soft); border-color: #C25F52; color: var(--coral-text); }
.badge.sometimes { background: var(--coral-soft); border-color: var(--coral); color: var(--coral-text); }
.badge.absent { background: var(--surface); border-color: var(--line); color: var(--muted); }
.badge.unsure { background: var(--surface); border-color: var(--line); color: var(--muted); font-weight: 600; }
.compare-note { font-size: 15px; color: var(--muted); }
.prose-block p { overflow-wrap: anywhere; white-space: pre-line; }
.prose-block .q { font-weight: 700; display: block; }
.prose-block .pair { display: flex; flex-direction: column; gap: 2px; }
.next-step { background: #F7FAF7; border: 2px solid var(--deep); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.next-step .label { font-family: var(--mono); font-size: 13px; color: var(--deep-text); }
.next-step p { font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-line; }
.tips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tips li { padding-left: 18px; position: relative; }
.tips li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--pale); border: 1.5px solid var(--ink); }
details.reflections summary { cursor: pointer; font-family: var(--mono); font-size: 13px; letter-spacing: .02em; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
details.reflections[open] summary { margin-bottom: 10px; }
.keep-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.privacy { font-size: 14px; color: var(--muted); }
.next { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.next h2 { margin: 0; }
.print-only { display: none; }

/* Conversation tool */
.prompt-card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--deep); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.prompt-card .num { font-family: var(--mono); font-size: 13px; color: var(--deep-text); }
.message { background: #F7FAF7; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.message blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: 17px; line-height: 1.5; padding-left: 14px; border-left: 4px solid var(--pale); }
.two-col { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 600px) { .two-col { grid-template-columns: 1fr; } }
.follow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.follow li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.follow li::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 4px; margin-top: 4px; }

/* ===== Footer ===== */
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.foot .copyright { display: block; font-size: 13px; margin-top: 2px; }
.cookie-revisit { text-align: center; padding: 24px; font-size: 14px; }
.cookie-revisit button { font: inherit; color: inherit; border: 0; background: none; text-decoration: underline; cursor: pointer; }
.cookie-revisit a { color: inherit; }

/* ===== In-page confirmation ===== */
.confirm-backdrop { position: fixed; inset: 0; background: rgba(51, 51, 51, .45); display: grid; place-items: center; padding: 16px; z-index: 1000; }
.confirm-box { background: var(--surface); border-radius: 16px; padding: 22px 20px; max-width: 440px; width: 100%; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.confirm-box h2 { font-size: 22px; margin: 0; }
.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 18px; font-size: 15px; z-index: 1001; max-width: calc(100% - 32px); text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .panel.step { animation: rise .3s ease both; }
  @keyframes rise { from { transform: translateY(6px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .site-connection .home-link { transition: none; } .site-connection .home-link:hover { transform: none; } }

/* ===== Printing: only the finished sheet ===== */
@media print {
  body { padding: 0; background: #fff; font-size: 11.5pt; }
  .wrap { padding: 0; gap: 12px; max-width: none; }
  .no-print, .site-connection, .test-banner, #intro, #progress, .panel.step:not(.finish), .nav, .keep-row, .privacy, .next, .foot, .example-banner, .cookie-revisit, #cookie-law-info-bar, #cookie-law-info-again, .cli-modal, .confirm-backdrop, .toast { display: none !important; }
  .panel { animation: none !important; }
  .sheet { border: 0; padding: 0; }
  .item, .next-step, .prose-block .pair { break-inside: avoid; }
  details.reflections > *:not(summary) { display: block; }
  .print-only { display: block; border-top: 1px solid var(--ink); padding-top: 10px; font-size: 10pt; }
}

/* Consultation button on the finished page (outside the personal checklist or plan) */
.consult { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; background: var(--soft); border-radius: 14px; padding: 18px 20px; }
.consult p { flex: 1 1 280px; }

/* Conversation planner: subtitle, people and their notes */
.subtitle { font-family: var(--display); font-weight: 500; font-size: clamp(18px, 3.4vw, 21px); line-height: 1.4; color: var(--deep-text); margin: -6px 0 18px; max-width: 34em; }
.prompt-q { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.35; margin-bottom: 6px; }
.prompt-card .hint { font-size: 15px; color: var(--muted); }
.people { display: flex; flex-direction: column; gap: 12px; }
.person { background: #F7FAF7; border: 2px solid var(--deep); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.person-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.person .num, .plan-person .num { font-family: var(--mono); font-size: 13px; color: var(--deep-text); }
.person input[type="text"], .person textarea { background: var(--surface); }
.short-field { max-width: 260px; }
details.more { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
details.more summary { cursor: pointer; font-weight: 700; font-size: 15px; min-height: 28px; display: list-item; }
details.more.notes { border-color: var(--pale); }
.more-body { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.plan-person { background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--deep); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.plan-person h3 { overflow-wrap: anywhere; }
.plan-person .pair, .plan-notes .pair { display: flex; flex-direction: column; gap: 2px; }
.plan-person .q { font-weight: 700; font-size: 15px; }
.plan-person p { overflow-wrap: anywhere; white-space: pre-line; }
.plan-notes { border-top: 1px dashed var(--pale); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.plan-notes .label { font-family: var(--mono); font-size: 13px; color: var(--deep-text); }
.pdf-help p { max-width: none; font-size: 15px; }
@media print { .plan-person { break-inside: avoid; } .pdf-help { display: none !important; } }

/* How to come back to your plan */
.come-back { background: var(--surface); border: 2px solid var(--deep); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.come-back h3 { font-size: 18px; }
.come-back .tips li { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
@media print { .come-back { display: none !important; } }
