/* The Other Side of the Table (loved-ones guide). Site chrome on screen,
   tokens from common.css (2026-11-17); prints as a light handout, with the
   "Write down your version" boxes left blank to fill in by hand. */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --rose: #d98aa5;
}

body { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif; line-height: 1.7; color: var(--text); background: var(--bg); }
a { color: var(--highlight); }
.container { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.25rem 5rem; }

header { text-align: center; margin-bottom: 1.6rem; }
h1 { font-size: 2.1rem; font-weight: 300; line-height: 1.2; }
.subtitle { color: var(--text-dim); margin-top: 0.5rem; font-size: 1rem; }

.bluf { background: var(--surface); border: 1px solid var(--highlight); border-radius: 10px; padding: 1.1rem 1.25rem; margin-bottom: 1.8rem; }
.bluf h2 { margin: 0 0 0.6rem; font-size: 1.15rem; }
.bluf ol { padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; }
.bluf li::marker { color: var(--highlight); font-weight: 700; }
.bluf strong { color: var(--text); }
.bluf li { color: var(--text-dim); }
.bluf .bluf-crisis { margin-top: 0.8rem; font-size: 0.88rem; color: var(--text-dim); }

.intro { border-left: 3px solid var(--accent-dim); padding-left: 1.1rem; margin-bottom: 2rem; }
.intro p { margin-bottom: 0.9rem; }
.intro p:last-child { margin-bottom: 0; }
.intro strong { color: var(--highlight); }
.intro .pron { font-size: 0.85rem; color: var(--text-dim); }

h2 { font-size: 1.4rem; color: var(--highlight); margin: 2.4rem 0 0.8rem; line-height: 1.3; }
h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
h4 { font-size: 1rem; margin-bottom: 0.35rem; }
p { margin-bottom: 1rem; }
em { color: var(--text); }
strong { color: var(--text); }

.script-box { background: var(--surface); border-left: 3px solid var(--highlight); border-radius: 0 8px 8px 0; padding: 0.9rem 1.1rem; margin: 1.2rem 0; font-style: italic; color: var(--text-dim); }
.script-box p { margin-bottom: 0.5rem; }
.script-box p:last-child { margin-bottom: 0; color: var(--text); }

.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 1.2rem 0; }
.do-box, .dont-box { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.1rem; }
.do-box { border-top: 3px solid var(--accent); }
.dont-box { border-top: 3px solid var(--red); }
.do-box h4 { color: var(--accent); }
.dont-box h4 { color: var(--red); }
.do-box ul, .dont-box ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.95rem; color: var(--text-dim); }
.do-box li, .dont-box li { padding-left: 1.3rem; position: relative; }
.do-box li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent); }
.dont-box li::before { content: '\2717'; position: absolute; left: 0; color: var(--red); }

.topic-block { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 0.9rem 1.1rem; margin-bottom: 0.7rem; }
.topic-block h4 { color: var(--text); }
.topic-block p { color: var(--text-dim); margin-bottom: 0.5rem; }
.topic-block p:last-child { margin-bottom: 0; }

.safety { background: var(--tint-red); border: 1px solid var(--red); border-radius: 8px; padding: 1rem 1.15rem; margin: 1.3rem 0; }
.safety h3 { color: var(--red); }
.safety p { margin-bottom: 0; }

.call-us { background: var(--surface-2); border: 1px solid var(--border); border-left: 4px solid var(--highlight); border-radius: 8px; padding: 1.1rem 1.2rem; margin: 1.4rem 0; }
.call-us h3 { color: var(--highlight); }
.call-us p { margin-bottom: 0.6rem; }
.call-us p:last-child { margin-bottom: 0; }
.call-us .call-line { margin-top: 0.75rem; }
.call-us a { color: var(--highlight); font-weight: 700; }

.fill-section { display: flex; flex-direction: column; gap: 1.1rem; }
.fill-item label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.fill-box { height: 90px; border: 1px dashed var(--accent-dim); border-radius: 6px; }
.fill-note { font-size: 0.88rem; color: var(--text-dim); }

footer { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--border); text-align: center; color: var(--text-dim); font-size: 0.9rem; }
footer p { margin-bottom: 0.3rem; }

.print-btn { position: fixed; right: 1rem; bottom: 1rem; font: inherit; font-weight: 600; font-size: 0.9rem; padding: 0.6rem 1.1rem; border-radius: 999px; border: 1px solid var(--highlight); background: var(--highlight); color: var(--on-highlight); cursor: pointer; box-shadow: 0 4px 14px var(--shadow); }
.print-btn:hover { filter: brightness(1.1); }

@media (max-width: 600px) {
    .container { padding: 2rem 1rem 5rem; }
    h1 { font-size: 1.75rem; }
    .do-dont { grid-template-columns: 1fr; }
}

@media print {
    body { background: #fff; color: #000; font-size: 11pt; }
    .container { padding: 0; max-width: none; }
    a, h1, h2, h3, h4, strong, em, .topic-block h4, .bluf h2, .intro strong, .call-us h3, .call-us a, .do-box h4, .dont-box h4, .safety h3 { color: #000; }
    .subtitle, .topic-block p, .do-box ul, .dont-box ul, .script-box, .bluf li, .bluf .bluf-crisis, footer, .intro .pron, .fill-note { color: #333; }
    .bluf, .topic-block, .do-box, .dont-box, .call-us, .script-box, .safety { background: #fff !important; border-color: #999; }
    .script-box p:last-child { color: #000; }
    .fill-box { border-color: #999; height: 110px; }
    h2, .topic-block, .do-box, .dont-box, .call-us, .safety, .fill-item { break-inside: avoid; }
    h2 { break-after: avoid; }
    .print-btn { display: none; }
}

/* Clear the fixed menu button on phones (2026-11-20) */
@media (max-width: 700px) { body.has-snav header { padding-top: 2.4rem; } }
