:root { --bg: #faf8f4; --panel: #fff; --ink: #1d1d1f; --muted: #6b6b70; --accent: #2d5d7b; --accent-soft: #e6eef3; --line: #e5e0d6; --warn: #b94a3b; } * { box-sizing: border-box; } html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Georgia, serif; line-height: 1.5; } header { border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; z-index: 10; } header .wrap { max-width: 860px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } header h1 { font-size: 17px; margin: 0; flex: 1; font-weight: 600; } main { max-width: 860px; margin: 0 auto; padding: 24px 20px 80px; } h2 { font-size: 24px; margin: 32px 0 8px; } h3 { font-size: 17px; margin: 22px 0 6px; color: var(--accent); } .intro, .closing { color: var(--muted); font-size: 15px; } .closing { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); } .subject-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } select, button, input[type=text] { font: inherit; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); } button { cursor: pointer; } button:hover { background: var(--accent-soft); } button.primary { background: var(--accent); color: white; border-color: var(--accent); } button.primary:hover { filter: brightness(1.1); } button.danger { color: var(--warn); } .item { display: flex; gap: 10px; padding: 6px 8px; border-radius: 6px; cursor: pointer; align-items: flex-start; } .item:hover { background: var(--accent-soft); } .item input { margin-top: 5px; flex-shrink: 0; } .item label { cursor: pointer; flex: 1; } .exercise { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 24px 28px; margin-bottom: 20px; } .group { margin-top: 20px; padding-top: 14px; border-top: 1px dashed var(--line); } .group:first-of-type { border-top: none; padding-top: 0; } .group > h3 { font-size: 19px; color: var(--ink); } .badges { display: inline-flex; gap: 4px; margin-left: 8px; flex-wrap: wrap; } .cat-badge { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; } .self-banner { font-size: 13px; color: var(--muted); font-style: italic; margin: -4px 0 12px; } .results { background: var(--accent-soft); border-radius: 8px; padding: 16px 20px; margin-top: 20px; } .results .verdict { font-size: 18px; font-weight: 600; color: var(--accent); } .score-row { display: flex; justify-content: space-between; padding: 4px 0; } .toc { display: flex; flex-direction: column; gap: 6px; margin: 20px 0; } .toc a { color: var(--accent); text-decoration: none; padding: 6px 0; } .toc a:hover { text-decoration: underline; } .footer { color: var(--muted); font-size: 12px; margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--line); } .pill { background: var(--accent); color: white; border-radius: 999px; padding: 1px 9px; font-size: 13px; } details summary { cursor: pointer; color: var(--muted); margin: 8px 0; } .print-header { display: none; } @media print { @page { margin: 0.6in; } html, body { background: white; } header, .subject-bar, button, .toc, nav { display: none !important; } main { padding: 0; max-width: none; } .print-header { display: block; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid #000; } .print-header h1 { font-size: 18px; margin: 0 0 4px; } .print-header .who { font-size: 14px; color: #444; } .exercise { break-inside: avoid; border: none; padding: 0; margin-bottom: 24px; background: transparent; } .results { background: #f3f3f3 !important; border: 1px solid #999; page-break-inside: avoid; } .item input { display: none; } .item { padding: 2px 0; } /* Show only checked items on the printout */ .item:not(.checked) { display: none; } .item.checked label::before { content: "✓ "; color: #000; font-weight: bold; } h2 { page-break-after: avoid; } h3 { page-break-after: avoid; } }