:root {
  --bg: #F5F4EC;
  --ink: #17201A;
  --muted: #4A5249;
  --muted-2: #5B6359;
  --card: #FFFFFF;
  --line: #D6D4C7;
  --accent: #1F6F43;
  --accent-dark: #15502F;
  --accent-soft: #E3EBDD;
  --danger: #A8361F;
  --rec: #C2462B;
  --done: #6B7369;
  --display: "Bricolage Grotesque", "Manrope", sans-serif;
  --body: "Figtree", "Manrope", system-ui, sans-serif;
  --food-size: 96px;
}
@media (prefers-color-scheme: dark) { :root { color-scheme: light; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.4;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.page { max-width: 920px; margin: 0 auto; padding: 0 20px; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding-top: max(20px, env(safe-area-inset-top)); }
.brand { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
.brand .avo { width: .74em; height: .86em; margin: 0 -.06em .17em .01em; align-self: flex-end; overflow: visible; flex: none; }
.top-actions { display: flex; gap: 8px; align-items: center; }

.lang { position: relative; }
.lang summary {
  list-style: none; display: flex; align-items: center; gap: 6px; height: 44px; min-width: 44px; padding: 0 12px;
  border-radius: 22px; background: var(--card); justify-content: center; cursor: pointer; font-weight: 600; font-size: 14px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang ul {
  position: absolute; right: 0; top: 50px; z-index: 20; margin: 0; padding: 6px; list-style: none; min-width: 160px;
  background: var(--card); border-radius: 16px; box-shadow: 0 10px 30px rgba(23, 32, 26, .18);
}
.lang li a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.lang li a:hover, .lang li a[aria-current] { background: var(--accent-soft); }

.btn-dark, .btn-accent, .btn-white, .round {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; font-weight: 600;
}
.btn-dark { height: 44px; padding: 0 18px; border-radius: 22px; background: var(--ink); color: #fff; font-size: 15px; }
.btn-accent { height: 44px; padding: 0 16px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 15px; }
.btn-accent.big { width: 100%; height: 56px; border-radius: 28px; font-size: 17px; }
.btn-white { width: 100%; height: 52px; border-radius: 26px; background: var(--card); color: var(--ink); font-size: 16px; }
.round { width: 44px; height: 44px; flex: none; border-radius: 22px; background: var(--card); color: var(--ink); padding: 0; }
.link-btn { border: 0; background: transparent; color: var(--accent); font-weight: 600; font-size: 14px; height: 44px; padding: 0 4px; }

/* empty view */
.hero { margin: 52px 0 0; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1.02; letter-spacing: -1.5px; }
.lead { margin: 14px 0 0; font-size: 17px; line-height: 1.45; color: var(--muted); max-width: 520px; }
.typed { margin-top: 36px; max-width: 520px; }
.typed label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.typed .row { display: flex; gap: 8px; }
.typed input {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); font-size: 16px;
}
.go { width: 52px; height: 52px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.mic-hint { margin: 40px 0 0; text-align: center; font-size: 15px; color: var(--muted); max-width: 520px; }
.mic-hint strong { color: var(--ink); font-weight: 600; }

/* list view */
.list-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -1px; }
.counts { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.counts strong { color: var(--ink); font-weight: 600; }
.groups { margin-top: 18px; display: grid; gap: 18px 20px; grid-template-columns: 1fr; align-items: start; }
.group { display: flex; flex-direction: column; gap: 6px; }
.group h2, .done-head button { margin: 0 0 2px; font-size: 13px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--muted-2); }

.item {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 14px 0 16px;
  border: 0; border-radius: 14px; background: var(--card); text-align: left;
}
.item .name { font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.item .qty { margin-left: auto; font-size: 14px; color: var(--muted-2); white-space: nowrap; }
.item .box {
  flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid #A8A698; background: var(--card);
  display: flex; align-items: center; justify-content: center;
}
.item .box svg { display: none; }
.item[aria-checked="true"] { background: transparent; min-height: 48px; }
.item[aria-checked="true"] .name { font-size: 16px; color: var(--done); text-decoration: line-through; }
.item[aria-checked="true"] .qty { color: var(--done); }
.item[aria-checked="true"] .box { background: var(--accent); border-color: var(--accent); }
.item[aria-checked="true"] .box svg { display: block; }
.item:not([aria-checked="true"]):hover { box-shadow: 0 0 0 2px var(--accent-soft); }

.add-form.inline {
  display: flex; align-items: center; gap: 10px; margin-top: 18px; min-height: 52px; padding: 0 16px;
  border-radius: 14px; border: 1.5px dashed #C9C7B9; color: var(--muted-2);
}
.add-form.inline input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font-size: 17px; outline: none; color: var(--ink); }
.add-form.inline:focus-within { border-color: var(--accent); }

.done { margin-top: 18px; padding-top: 12px; border-top: 1px solid #DEDCCF; }
.done-head { display: flex; align-items: center; justify-content: space-between; }
.done-head button:first-child { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0; border: 0; background: transparent; margin: 0; }
.done-head button[aria-expanded="false"] svg { transform: rotate(-90deg); }
.done-items { display: grid; gap: 4px 20px; grid-template-columns: 1fr; }
.done-items[hidden] { display: none; }

/* mic button (food) */
.mic { border: 0; padding: 0; background: transparent; width: var(--food-size); height: var(--food-size); flex: none; position: relative; }
.food { position: absolute; inset: 0; display: block; }
.food > svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 10px rgba(23, 32, 26, .28)); transition: transform .15s; }
.mic:hover .food > svg { transform: scale(1.05) rotate(-3deg); }
.mic:active .food > svg { transform: scale(.96); }
.food-glyph { position: absolute; width: 27%; height: 27%; pointer-events: none; }
.food-glyph svg { display: block; width: 100%; height: 100%; }

.fab { position: fixed; z-index: 10; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); }
body.fade::after {
  content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 168px; z-index: 9; pointer-events: none;
  background: linear-gradient(rgba(245, 244, 236, 0), var(--bg) 45%);
}

/* desktop add bar */
.bar { display: none; }
@media (min-width: 900px) {
  .top { padding-top: 24px; }
  .brand { font-size: 28px; }
  .hero { font-size: 56px; margin-top: 80px; }
  .list-title { font-size: 44px; letter-spacing: -1.5px; }
  .groups { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px 20px; margin-top: 28px; }
  .done-items { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .item { min-height: 48px; border-radius: 12px; }
  .add-form.inline { display: none; }
  body.has-list .fab { display: none; }
  body.fade.has-list::after { display: none; }
  body.has-list .bar {
    display: flex; position: fixed; z-index: 10; bottom: 20px; left: 50%; transform: translateX(-50%); width: min(880px, calc(100% - 40px));
    align-items: center; gap: 10px; padding: 8px 8px 8px 22px; border-radius: 40px; background: var(--card);
    border: 1.5px solid var(--line); box-shadow: 0 8px 28px rgba(23, 32, 26, .08);
  }
  .bar input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; font-size: 17px; outline: none; }
  .enter-hint { font-size: 13px; color: var(--muted-2); white-space: nowrap; }
  .bar .mic { --food-size: 60px; margin: 2px; }
}

/* listening overlay */
.listen { position: fixed; inset: 0; z-index: 50; background: var(--bg); padding: max(20px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.listen > * { width: 100%; max-width: 640px; margin-left: auto; margin-right: auto; }
.listen-top { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.listen-top .spacer { width: 44px; }
.rec { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rec); animation: pulse 1.2s infinite; }
.listen-to { margin: 36px auto 0; font-size: 14px; color: var(--muted-2); }
.transcript { margin: 12px auto 0; font-family: var(--display); font-weight: 500; font-size: 28px; line-height: 1.25; letter-spacing: -.4px; overflow-y: auto; flex: 1; }
.transcript .interim { color: #8A9187; }
.transcript:empty::before { content: attr(data-placeholder); color: #8A9187; }
.listen-bottom { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 12px; }
.listen-bottom p { margin: 0; font-size: 15px; color: var(--muted); }
.wave { display: flex; align-items: center; gap: 4px; height: 44px; }
.wave span { transition: height .09s linear; width: 4px; border-radius: 2px; background: var(--accent); height: 8px; animation: wave 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -70ms); }
.mic.stop { --food-size: 96px; margin-top: 4px; }
.mic.stop::before { content: ""; position: absolute; inset: -20px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 0 12px #EEF2E8; z-index: -1; }
.wave.live span { animation: none; }
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 40px; } }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .wave span { animation: none; height: 20px; } .dot { animation: none; } .food > svg { transition: none; } }

/* sheets */
.sheet {
  border: 0; padding: 12px 20px 32px; width: 100%; max-width: 480px; background: var(--bg); color: var(--ink);
  border-radius: 28px 28px 0 0; margin: auto auto 0; display: none; flex-direction: column; gap: 16px;
}
.sheet[open] { display: flex; }
.sheet::backdrop { background: rgba(23, 32, 26, .55); }
@media (min-width: 600px) { .sheet { border-radius: 28px; margin: auto; } }
.grabber { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: #CFCDBF; }
.sheet h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.5px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-desc { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); }
.link-row { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 6px 0 16px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); color: var(--accent); }
.link-row input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: ui-monospace, Menlo, monospace; font-size: 14px; color: var(--ink); text-overflow: ellipsis; outline: none; }
.preview { background: var(--card); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.preview > div:first-child { font-size: 14px; color: var(--muted-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 6px 12px; border-radius: 16px; background: #EEEDE4; font-size: 14px; font-weight: 500; }

/* toast */
.toast {
  position: fixed; z-index: 100; left: 50%; bottom: 200px; transform: translateX(-50%); max-width: calc(100% - 40px);
  padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; text-align: center;
  box-shadow: 0 8px 24px rgba(23, 32, 26, .3);
}

/* 404 */
.notfound { display: grid; place-items: center; text-align: center; padding: 0 16px; }
.notfound h1 { font-family: var(--display); font-size: 2rem; margin: 0 0 .5rem; }

/* shown when the browser has no speech recognition */
.no-voice { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; max-width: 520px; padding: 12px 14px; border-radius: 14px; background: #EEEDE4; color: var(--muted); font-size: 14px; line-height: 1.4; }
.no-voice svg { flex: none; margin-top: 1px; }

/* footer + legal pages */
.foot { display: flex; gap: 20px; flex-wrap: wrap; padding: 36px 0 200px; font-size: 14px; }
.foot a { color: var(--muted-2); }
.foot a:hover { color: var(--ink); }
.legal { max-width: 720px; padding-bottom: 40px; }
.legal h1 { margin: 32px 0 4px; font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: -1px; line-height: 1.1; }
.legal .updated { margin: 0 0 24px; color: var(--muted-2); font-size: 14px; }
.legal h2 { margin: 28px 0 8px; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.3px; }
.legal p, .legal li { line-height: 1.6; color: #2A332C; }
.legal ul { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal .note { padding: 12px 14px; border-radius: 12px; background: #EEEDE4; color: var(--muted); font-size: 14px; }
.legal address { font-style: normal; line-height: 1.6; }
.legal-foot { padding-bottom: 40px; }
.legal h3 { margin: 18px 0 4px; font-size: 16px; font-weight: 600; }

/* delete button on done items */
.done-row { display: flex; align-items: center; gap: 2px; }
.done-row .item { flex: 1; min-width: 0; }
.del { flex: none; width: 44px; height: 44px; border: 0; border-radius: 22px; background: transparent; color: var(--done); display: flex; align-items: center; justify-content: center; }
.del:hover { background: #E6E4D8; color: var(--danger); }

/* undo pill above the mic */
.undo {
  position: fixed; z-index: 12; left: 50%; bottom: 138px; transform: translateX(-50%); max-width: calc(100% - 40px);
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 22px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 8px 24px rgba(23, 32, 26, .3);
}
.undo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 900px) { .undo { bottom: 104px; } }

.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

/* queued adds and sync state */
.pending { display: flex; flex-direction: column; gap: 8px; }
.pending-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--card); }
.pending-row .spinner { width: 22px; height: 22px; border-width: 3px; }
.pending-row strong { display: block; font-size: 15px; font-weight: 600; }
.pending-row q { quotes: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.pending-row.waiting .spinner { border-top-color: var(--accent-soft); animation: none; opacity: .6; }
.sync-note { margin: 8px 0 0; font-size: 14px; color: var(--danger); font-weight: 500; }

/* articles and the "add this list" widget */
.article h1 { margin-top: 8px; }
.article .updated { margin: 0 0 20px; }
.article em { font-style: normal; color: var(--muted-2); }
.guides { list-style: none; padding: 0; }
.guides li { padding: 14px 0; border-bottom: 1px solid #DEDCCF; }
.guides a { color: var(--ink); }
.widget { margin: 16px 0 24px; padding: 18px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); }
.widget .btn-accent.big { width: 100%; }
.widget .btn-accent[disabled] { opacity: .6; cursor: wait; }
.widget-status { margin: 12px 0 0; font-weight: 600; }
.widget-status a { color: var(--accent); }
.widget-choose { margin-top: 14px; }
.widget-choose summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.widget-tools { display: flex; gap: 16px; }
.widget fieldset { border: 0; padding: 0; margin: 12px 0 0; }
.widget legend { padding: 0; font-size: 13px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--muted-2); }
.widget label { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.widget label input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.widget label .qty { margin-left: auto; color: var(--muted-2); font-size: 14px; white-space: nowrap; }
.widget-note { margin: 12px 0 0; font-size: 14px; color: var(--muted-2); }

/* people stepper */
.servings { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 16px 0; padding: 8px 14px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); font-weight: 600; width: fit-content; max-width: 100%; }
.servings .step { width: 44px; height: 44px; border: 0; border-radius: 22px; background: var(--ink); color: #fff; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0; }
.servings .step:disabled { opacity: .35; cursor: default; }
.servings-count { min-width: 2ch; text-align: center; font-family: var(--display); font-weight: 800; font-size: 24px; }
.servings-reset { margin-left: 4px; }
.items .item-qty { font-variant-numeric: tabular-nums; }

/* feature tiles on the first-visit page */
.features { margin-top: 56px; }
.features h2 { margin: 0 0 16px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.5px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.tile { padding: 18px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); }
.tile-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.tile h3 { margin: 14px 0 6px; font-size: 17px; font-weight: 600; }
.tile p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; } .features { margin-top: 72px; } }

/* screenshots in articles */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0 28px; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid #DEDCCF; background: var(--card); }
.shots figcaption { margin-top: 8px; font-size: 14px; color: var(--muted-2); text-align: center; }
.shots.one { grid-template-columns: minmax(0, 280px); justify-content: center; }
.shots.one.wide { grid-template-columns: minmax(0, 1fr); }
.shots.one.wide img { border-radius: 14px; }

.features .more { margin: 18px 0 0; font-weight: 600; }

/* language links on translated pages */
.langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 22px; font-size: 14px; }
.langs a { color: var(--muted-2); }
.langs [aria-current] { font-weight: 600; color: var(--ink); }

/* title row + install pill */
.title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 20px; }
@media (min-width: 900px) { .title-row { margin-top: 28px; } }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 20px; background: var(--card); color: var(--ink); font-weight: 600; font-size: 14px; }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; align-items: center; gap: 14px; font-size: 16px; line-height: 1.35; }
.step-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.have-link { margin-top: 22px; max-width: 520px; font-size: 14px; color: var(--muted); }
.have-link summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.have-link form { display: flex; gap: 8px; }
.have-link input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); font-size: 16px; }
.link-error { margin: 8px 0 0; color: var(--danger); }

.print-btn { margin-top: 12px; }

/* print: a clean checklist with empty boxes */
.print-sheet { display: none; }
@media print {
  @page { margin: 14mm; }
  html, body { background: #fff !important; color: #000; min-height: 0 !important; height: auto !important; }
  body > :not(.page) { display: none !important; }
  body.fade::after { display: none !important; }
  .top, footer, .add-form, .done, .counts, .no-voice, .sync-note, .pending, .pill, .btn-dark, .btn-accent, .widget, .servings, .shots, .langs, .fab, .bar, .link-btn { display: none !important; }
  .page { max-width: none; padding: 0; min-height: 0; display: block; }
  .list-title { font-size: 26px; letter-spacing: 0; }
  .groups { display: none !important; }
  .print-sheet { display: block; column-count: 3; column-gap: 20px; margin-top: 10px; }
  .print-sheet section { margin-bottom: 10px; }
  .print-sheet h2 { margin: 0 0 3px; padding-bottom: 3px; font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; border-bottom: 1.5px solid #000; break-after: avoid; }
  .print-sheet ul { list-style: none; margin: 0; padding: 0; }
  .print-sheet li { display: flex; align-items: center; gap: 8px; padding: 2px 0; border-bottom: 1px dotted #888; font-size: 12px; break-inside: avoid; }
  .print-sheet li::after { content: ""; order: 3; flex: none; width: 11px; height: 11px; border: 1.5px solid #000; border-radius: 3px; }
  .print-sheet li > span:first-child { flex: 1; min-width: 0; }
  .print-sheet .q { order: 2; font-size: 11px; }
  .print-sheet::after { content: "talklist.app"; display: block; column-span: all; margin-top: 10px; font-size: 11px; color: #666; }
  .article .items { list-style: none; padding: 0; }
  .article .items li { padding: 3px 0 3px 22px; position: relative; border-bottom: 1px dotted #888; break-inside: avoid; }
  .article .items li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border: 1.5px solid #000; border-radius: 3px; }
  .article a { color: #000; text-decoration: none; }
}

.template { margin: 24px 0; }
.tpl-sec { margin-bottom: 18px; }
.tpl-sec h3 { margin: 0 0 6px; }
.article .items li.blank { min-height: 1.8em; }
@media print {
  .no-print, .article > h2, .article > p { display: none !important; }
  .article h1 + .updated, .article .updated { display: none !important; }
  .article h1 { font-size: 22px; letter-spacing: 0; margin: 0 0 4px; }
  .template { column-count: 3; column-gap: 20px; margin: 6px 0; }
  .tpl-sec { margin-bottom: 8px; }
  .tpl-sec h3 { break-after: avoid; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; border-bottom: 1.5px solid #000; padding-bottom: 3px; margin: 0 0 3px; }
  .article .items li { font-size: 11.5px; line-height: 1.2; padding: 0 0 0 19px; }
  .article .items li::before { top: 2px; width: 10px; height: 10px; }
  .article .items li.blank { min-height: 17px; }
}
