/* Shared by the four small pages that /tab-fan/ shows as cards. Each page also works when opened on its own. */
:root { --accent: #d2491f; color-scheme: light; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; display: flex; flex-direction: column; font: 16px/1.4 system-ui, sans-serif; background: #fbfaf7; color: #1d1c1a; }
header { padding: 14px 16px; background: var(--accent); color: #fff; font-weight: 700; font-size: 18px; }
main { flex: 1; padding: 14px 16px; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
footer { padding: 8px 16px; border-top: 1px solid #ddd8cf; font: 13px ui-monospace, Menlo, monospace; color: #6b6760; }
button, input, textarea { font: inherit; }
button { min-height: 42px; padding: 6px 14px; border-radius: 8px; border: 1px solid #c9c3b8; background: #fff; color: inherit; }
button.primary { background: var(--accent); border-color: transparent; color: #fff; font-weight: 600; }
label.item { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid #ddd8cf; border-radius: 8px; background: #fff; }
label.item input { width: 22px; height: 22px; accent-color: var(--accent); }
label.item:has(:checked) span { text-decoration: line-through; color: #8a857c; }
textarea { flex: 1; min-height: 120px; padding: 10px; border: 1px solid #c9c3b8; border-radius: 8px; resize: none; }
.big { font: 700 54px/1 ui-monospace, Menlo, monospace; text-align: center; padding: 18px 0; color: var(--accent); }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; outline: 1px solid #c9c3b8; padding: 0; }
