/* Debrief worksheets: shared styles (2026-11-20). Site theme on screen,
   tokens from common.css; a plain light worksheet in print. Each tool adds
   its own <name>.css for what is only on that page. */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif; line-height: 1.65; color: var(--text); background: var(--bg); }
a { color: var(--highlight); text-underline-offset: 0.15em; }
a:hover { color: var(--text); }
.container { max-width: 720px; margin: 0 auto; padding: 2.5rem 1.25rem 5rem; }
header { text-align: center; margin-bottom: 1.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); }
h1 { font-size: 2rem; font-weight: 300; line-height: 1.2; margin-bottom: 0.4rem; }
h2 { font-size: 1.2rem; font-weight: 600; color: var(--highlight); margin: 2rem 0 0.9rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--border); }
h3, h4 { color: var(--text); }
.subtitle { color: var(--text-dim); font-size: 1rem; }
.intro { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--highlight); border-radius: 0 8px 8px 0; padding: 1rem 1.15rem; margin-bottom: 1.8rem; }
.intro p { color: var(--text-dim); font-size: 0.97rem; margin-bottom: 0.6rem; }
.intro p:last-child { margin-bottom: 0; }
.intro strong { color: var(--text); }
.lead { color: var(--text-dim); margin-bottom: 1rem; }
footer { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-dim); }
.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); z-index: 5; }
.print-btn:hover { filter: brightness(1.1); }
.fill-box-tall { border: 1px dashed var(--accent-dim); border-radius: 6px; min-height: 100px; margin-top: 5px; }

/* Shared by two or more worksheets */
.checkbox { width: 20px; height: 20px; border: 2px solid var(--accent-dim); flex-shrink: 0; margin-top: 2px; }
.checklist-item { display: flex; gap: 12px; margin-bottom: 15px; page-break-inside: avoid; }
.item-text { flex: 1; }
.item-text strong { display: block; margin-bottom: 3px; }
.item-text span { font-size: 0.9rem; color: var(--text-dim); }

@media (max-width: 560px) {
    .container { padding: 2rem 1rem 5rem; }
    h1 { font-size: 1.7rem; }
}

/* Print: a plain light worksheet to fill in by hand */
@media print {
    *, *::before, *::after { background: transparent !important; color: #000 !important; box-shadow: none !important; }
    body { font-size: 11pt; }
    .container { max-width: none; padding: 0; }
    .subtitle, footer, .intro p { color: #333 !important; }
    [class], h2, header, footer { border-color: #999 !important; }
    .print-btn { display: none !important; }
    h2 { break-after: avoid; }
}

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