/* Zouk Dojo — calm, phone-first, one column. Belt colour only on the bars and footer. */
:root {
  --bg: #FAFAF7; --surface: #FFFFFF; --surface-2: #F1F1EC; --text: #1A1A1A; --muted: #55574F; --line: #D9D9D2;
  --accent: #1D4ED8; --accent-text: #FFFFFF; --accent-soft: #E6ECFB; --ok: #1F7A4D; --warn: #8A4B00; --danger: #B91C1C;
  --focus: #1D4ED8; --stripe: #DC2626; --on-ok: #FFFFFF;
  --belt: #F4F4F0; --belt-text: #1A1A1A;
  --tabbar-h: 64px; --radius: 14px; --gap: 16px;
  font-size: 100%;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121311; --surface: #1C1D1A; --surface-2: #262723; --text: #F1F1EC; --muted: #B9BAB2; --line: #3A3B36;
    --accent: #8FB0FF; --accent-text: #0B1530; --accent-soft: #1F2A44; --ok: #6FD3A0; --warn: #F0B35A; --danger: #FF8A8A; --focus: #8FB0FF; --on-ok: #0B2A1A; }
}
body[data-belt="white"] { --belt: #F4F4F0; --belt-text: #1A1A1A; }
body[data-belt="yellow"] { --belt: #F2C230; --belt-text: #1A1A1A; }
body[data-belt="green"] { --belt: #1F7A4D; --belt-text: #FFFFFF; }
body[data-belt="blue"] { --belt: #1D4ED8; --belt-text: #FFFFFF; }
body[data-belt="purple"] { --belt: #6D28D9; --belt-text: #FFFFFF; }
body[data-belt="red"] { --belt: #B91C1C; --belt-text: #FFFFFF; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 1.0625rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-bottom: calc(var(--tabbar-h) + var(--dock-h, 60px) + env(safe-area-inset-bottom));
  min-height: 100vh;
}
a { color: var(--accent); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.loading, .noscript { padding: 24px; text-align: center; color: var(--muted); }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 8px 0 12px; }
h2 { font-size: 1.2rem; margin: 24px 0 8px; }
h3 { font-size: 1.05rem; margin: 16px 0 6px; }
p { margin: 8px 0; }

/* bars wear the belt */
.belt-bar { background: var(--belt); color: var(--belt-text); }
.belt-bar a { color: var(--belt-text); }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  padding-top: calc(10px + env(safe-area-inset-top)); border-bottom: 1px solid rgba(0,0,0,.12); }
.brand { font-weight: 700; letter-spacing: .01em; }
.bar-stripes { margin-left: auto; display: flex; gap: 4px; }
.stripe { display: inline-block; width: 6px; height: 18px; background: var(--stripe); box-shadow: 0 0 0 1.5px #FFFFFF; border-radius: 1px; }
.about-link { flex: none; width: 44px; height: 44px; margin: -8px -10px -8px 0; display: grid; place-items: center; text-decoration: none; }
.about-link span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-weight: 700; font-size: .95rem; line-height: 1; }
.sync-mark { font-size: .85rem; padding: 2px 8px; border-radius: 99px; background: rgba(0,0,0,.08); }
.footer { padding: 14px 16px 18px; text-align: center; font-size: .9rem; margin-top: 32px; }

main { display: block; max-width: 480px; margin: 0 auto; padding: 12px 16px 24px; outline: none; }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center;
  padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgba(0,0,0,.12); }
.tabbar a { flex: 1; max-width: 96px; min-height: var(--tabbar-h); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2px; text-decoration: none; font-size: .78rem; font-weight: 500; }
.tabbar a[aria-current="page"] { font-weight: 800; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 3px; }
.icon { width: 22px; height: 22px; flex: none; }

/* dock: things that float above the tab bar */
.dock { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 15;
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 12px 8px; pointer-events: none; }
.dock > * { pointer-events: auto; width: 100%; max-width: 456px; }
/* The dock has its own ground: the page fades out under it instead of showing through between the floating pieces. */
.dock::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: auto;
  background: linear-gradient(to bottom, transparent, var(--bg) 16px); }
.quiet { margin: 0; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.toast { display: flex; align-items: center; gap: 8px; background: var(--text); color: var(--bg); border-radius: 12px; padding: 6px 6px 6px 14px; }
.toast[hidden], .quiet[hidden] { display: none; }
.toast-text { flex: 1; }
.toast-action { background: transparent; color: inherit; border: 2px solid currentColor; border-radius: 10px; min-height: 44px; padding: 0 14px; font-weight: 700; cursor: pointer; }
.toast-close { background: transparent; color: inherit; border: 0; min-width: 44px; min-height: 44px; cursor: pointer; display: grid; place-items: center; }
.dock-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; min-height: 56px; }
.dock-row .toast { flex: 1 1 100%; min-width: 0; min-height: 56px; }
.feedback-wrap { display: flex; justify-content: flex-end; margin-left: auto; }
.feedback-wrap:has(.feedback-box) { flex: 1 1 100%; }
/* A toast takes the whole row; the Feedback button steps aside until it is gone. */
.dock-row:has(> .toast:not([hidden])) > .feedback-wrap:not(:has(.feedback-box)) { display: none; }
.feedback-btn { background: var(--surface); color: var(--muted); border: 1px solid var(--line); border-radius: 99px; min-height: 44px;
  padding: 0 14px; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.feedback-box { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: 0 4px 18px rgba(0,0,0,.12); }
.feedback-box textarea { width: 100%; min-height: 96px; }

/* cards, buttons */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 12px 0; }
.card h2, .card h3 { margin-top: 0; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.spread { justify-content: space-between; }
.stack > * + * { margin-top: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 12px;
  border: 2px solid var(--accent); background: var(--surface); color: var(--accent); font-weight: 650; cursor: pointer; text-decoration: none; text-align: center; }
.btn.primary { background: var(--accent); color: var(--accent-text); }
.btn.big { min-height: 56px; font-size: 1.1rem; width: 100%; }
.btn.block { width: 100%; }
.btn.quiet-btn { border-color: var(--line); color: var(--text); }
.btn.danger { border-color: var(--danger); color: var(--danger); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.linkish { background: none; border: 0; color: var(--accent); text-decoration: underline; padding: 10px 6px; min-height: 44px; min-width: 44px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 14px; border-radius: 99px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600; }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.chip[aria-pressed="true"]::before { content: "✓ "; }
input[type="text"], input[type="email"], input[type="url"], input[type="number"], input:not([type]), textarea, select {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; background: var(--surface); }
textarea { resize: vertical; }
label { display: block; font-weight: 600; margin: 10px 0 4px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; margin: 6px 0; }
.check input { width: 24px; height: 24px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.switch button[role="switch"] { min-width: 64px; min-height: 44px; border-radius: 99px; border: 2px solid var(--line); background: var(--surface-2); font-weight: 700; cursor: pointer; }
.switch button[role="switch"][aria-checked="true"] { background: var(--ok); color: var(--on-ok); border-color: var(--ok); }
.error { color: var(--danger); font-weight: 600; }
.hint { color: var(--muted); font-size: .92rem; }

/* home */
.stats { display: flex; gap: 10px; }
.stat { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.stat-n { font-size: 1.6rem; font-weight: 750; line-height: 1.1; display: flex; align-items: center; gap: 6px; }
.stat-l { color: var(--muted); font-size: .9rem; }
.progress { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.log-actions { position: sticky; bottom: calc(var(--tabbar-h) + var(--dock-h, 60px) + env(safe-area-inset-bottom)); display: grid; gap: 8px; margin-top: 16px;
  background: linear-gradient(to bottom, transparent, var(--bg) 18px); padding: 18px 16px 0; margin-inline: -16px; z-index: 5; }
.acts { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.act { flex-direction: column; align-items: stretch; gap: 0; min-height: 84px; padding: 8px 12px; text-align: left; min-width: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.act-tag { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.act-title { font-size: 1.25rem; font-weight: 750; line-height: 1.2; }
.act-sub { font-size: .88rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-other { min-height: 52px; width: 100%; background: var(--surface); }
.belt-row { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 10px 0 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); text-decoration: none; color: inherit; }
.belt-todo { flex: 1; min-width: 0; font-size: .9rem; color: var(--muted); text-align: right; }
.chev { font-size: 1.4rem; line-height: 1; color: var(--muted); }
.steps { padding-left: 1.3em; margin: 8px 0; }
.steps li { margin: 6px 0; }
.belt-drill { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--line); min-height: 56px; }
.belt-drill a { flex: 1; display: flex; gap: 10px; align-items: center; min-height: 44px; text-decoration: none; color: inherit; }
.belt-drill .num { min-width: 2.2em; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--muted); }
.small-btn { min-height: 44px; padding: 0 12px; font-size: .9rem; white-space: nowrap; }

/* logbook */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 8px; text-align: center; }
.tile-n { font-size: 1.7rem; font-weight: 750; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile-l { color: var(--muted); font-size: .8rem; line-height: 1.25; margin-top: 2px; }
.heat rect.h0 { fill: var(--surface-2); } .heat rect.h1 { fill: var(--accent); fill-opacity: .35; }
.heat rect.h2 { fill: var(--accent); fill-opacity: .65; } .heat rect.h3 { fill: var(--accent); }
.heat.key { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; }
.chart .hit { fill: transparent; } .chart .val { fill: var(--text); font-size: 11px; font-weight: 700; }
.spread { list-style: none; margin: 8px 0 0; padding: 0; }
.spread li a, .feel-row { display: grid; grid-template-columns: 1fr 3.2em; gap: 2px 8px; align-items: center; padding: 6px 0; min-height: 44px; text-decoration: none; color: inherit; }
.spread-name { grid-column: 1 / -1; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spread-name .num { font-weight: 700; color: var(--muted); }
.feel-row { grid-template-columns: 5em 1fr 3.2em; min-height: 32px; }
.spread-track { height: 10px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.spread-bar { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.spread-n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; font-size: .9rem; }
.facts { padding-left: 1.2em; margin: 8px 0; } .facts li { margin: 6px 0; }
.log-day { margin: 20px 0 4px; color: var(--muted); font-size: .9rem; font-weight: 650; }
.loglist { list-style: none; margin: 0; padding: 0; }
.logitem { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 6px 0; }
.logitem > summary { display: flex; gap: 12px; align-items: center; min-height: 56px; padding: 8px 12px; cursor: pointer; list-style: none; }
.logitem > summary::-webkit-details-marker { display: none; }
.log-time { flex: none; width: 4.6em; color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.log-what { min-width: 0; display: flex; flex-direction: column; }
.log-names { font-weight: 600; }
.log-tags { color: var(--muted); font-size: .85rem; }
.log-body { padding: 0 12px 12px; border-top: 1px solid var(--line); }
.log-facts { margin: 10px 0; }
.log-facts > div { display: flex; gap: 10px; padding: 3px 0; }
.log-facts dt { flex: none; width: 8.5em; color: var(--muted); font-size: .9rem; }
.log-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.block { display: block; }
.log-edit { border-top: 1px solid var(--line); padding-top: 8px; }
.log-edit .btn.danger { margin-top: 10px; }

/* about */
.lead { font-size: 1.15rem; }
.about-sec > summary h2 { margin: 0; font-size: 1.08rem; }
.about-body { padding: 0 4px 12px; }
.about-body ul { padding-left: 1.2em; margin: 8px 0; }
.about-body li { margin: 6px 0; }
.about-belts { list-style: none; padding-left: 0 !important; }

/* intro */
.intro-card { min-height: min(23rem, calc(100vh - 290px)); padding: 6px 18px 14px; margin: 0; }
.intro-card h1 { font-size: 1.45rem; margin: 0 0 8px; }
.intro-card p, .intro-list { font-size: 1rem; line-height: 1.45; }
.intro-card p { margin: 6px 0; }
.intro-top { min-height: 44px; }
.intro-top p { margin: 0; font-size: .9rem; }
.intro-top .linkish { padding-right: 0; }
.intro-card h1 { outline: none; }
.intro-list { list-style: none; margin: 8px 0 0; padding: 0; }
.intro-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.intro-list li:last-child { border-bottom: 0; }
.intro-dots { display: flex; justify-content: center; gap: 8px; margin: 12px 0; }
.intro-dots span { width: 8px; height: 8px; border-radius: 99px; background: var(--line); }
.intro-dots span.on { background: var(--accent); width: 22px; }
.intro-foot { position: sticky; bottom: calc(var(--tabbar-h) + var(--dock-h, 60px) + env(safe-area-inset-bottom)); z-index: 5;
  margin-inline: -16px; padding: 0 16px; background: linear-gradient(to bottom, transparent, var(--bg) 12px); }
.intro-nav { display: flex; gap: 8px; }
.intro-nav .btn { flex: 1; min-height: 56px; }

/* drill list */
.drills { list-style: none; margin: 0; padding: 0; }
.drill-row { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--line); min-height: 56px; text-decoration: none; color: inherit; }
.drill-row .num { min-width: 2.2em; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--muted); }
.drill-row .name { flex: 1; }
.drill-row .meta { display: block; font-size: .88rem; color: var(--muted); }
.state { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.state .icon { width: 18px; height: 18px; }
.state-practised { color: var(--ok); }
.state-unlocked { color: var(--accent); }
.state-next { color: var(--warn); }
.state-locked { color: var(--muted); }
details.group { border-bottom: 1px solid var(--line); }
details.group > summary { min-height: 52px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 650; list-style: none; padding: 8px 4px; }
details.group > summary::-webkit-details-marker { display: none; }
details.group > summary::before { content: "▸"; width: 1em; }
details.group[open] > summary::before { content: "▾"; }
.belt-head { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.belt-swatch { display: inline-flex; gap: 3px; align-items: center; justify-content: flex-end; width: 44px; height: 18px; border-radius: 4px; border: 1px solid rgba(0,0,0,.35); padding: 0 4px; }
.belt-swatch .stripe { width: 4px; height: 14px; }
.belt-white { background: #F4F4F0; } .belt-yellow { background: #F2C230; } .belt-green { background: #1F7A4D; }
.belt-blue { background: #1D4ED8; } .belt-purple { background: #6D28D9; } .belt-red { background: #B91C1C; }
.belt-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
a.belt-chip, button.belt-chip { min-height: 44px; text-decoration: none; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* sheet */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 40; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 88vh; display: flex; flex-direction: column;
  background: var(--bg); border-radius: 18px 18px 0 0; box-shadow: 0 -6px 30px rgba(0,0,0,.25); max-width: 520px; margin: 0 auto;
  padding-bottom: env(safe-area-inset-bottom); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 4px; }
.sheet-head h2 { margin: 0; }
.sheet-body { overflow-y: auto; padding: 0 16px 8px; -webkit-overflow-scrolling: touch; }
.sheet-foot { padding: 10px 16px 14px; border-top: 1px solid var(--line); background: var(--bg); }
.pick { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 10px; border: 2px solid transparent; border-radius: 12px;
  background: var(--surface); margin: 6px 0; text-align: left; cursor: pointer; }
.pick[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.pick .box { width: 24px; height: 24px; border: 2px solid var(--muted); border-radius: 6px; flex: none; display: grid; place-items: center; }
.pick[aria-pressed="true"] .box { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.pick .num { font-weight: 700; color: var(--muted); min-width: 2em; }
.pick .share { margin-left: auto; font-weight: 700; }
.icon-btn { background: none; border: 0; min-width: 44px; min-height: 44px; display: grid; place-items: center; cursor: pointer; color: inherit; border-radius: 10px; }

/* "Drill logged" */
.logged { position: fixed; inset: 0; z-index: 41; background: var(--bg); display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
.logged-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 28px 20px 12px; width: 100%; max-width: 480px; margin: 0 auto; text-align: center; }
.logged-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: var(--on-ok); display: grid; place-items: center; margin: 0 auto 12px; }
.logged-mark .icon { width: 40px; height: 40px; stroke-width: 3; }
.logged h2 { font-size: 1.6rem; margin: 0 0 6px; outline: none; }
.logged-drill { margin: 2px 0; font-weight: 600; }
.logged-lines { list-style: none; margin: 16px 0 0; padding: 0; text-align: left; }
.logged-lines li { display: flex; gap: 10px; align-items: flex-start; background: var(--accent-soft); border-radius: 12px; padding: 10px 12px; margin: 8px 0; font-weight: 600; }
.logged-lines .icon { margin-top: 2px; }
.logged-next { text-align: left; margin-top: 16px; }
.logged-optional { text-align: left; margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.logged-optional > p { margin: 0; }
.logged-foot { width: 100%; max-width: 480px; margin: 0 auto; padding: 10px 20px 12px; border-top: 1px solid var(--line); background: var(--bg); text-align: center; }
.reflect .q { margin: 10px 0 4px; font-weight: 600; font-size: .95rem; }
.reflect .chip { padding: 0 12px; }
.reflect .linkish { text-align: left; padding-left: 0; }
body.logged-open { overflow: hidden; }

/* history */
.history { list-style: none; margin: 0; padding: 0; }
.history li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.tl { display: flex; gap: 3px; align-items: flex-end; height: 40px; margin: 8px 0; }
.tl span { flex: 1; max-width: 14px; border-radius: 3px 3px 0 0; background: var(--surface-2); }
.tl .easy { height: 33%; background: var(--ok); } .tl .medium { height: 66%; background: var(--warn); } .tl .hard { height: 100%; background: var(--danger); }
.tl .none { height: 10%; }
.tl .yes { outline: 2px solid var(--accent); outline-offset: 1px; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: var(--muted); }

/* owner */
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
.chart { width: 100%; height: auto; display: block; }
.chart .bar { fill: var(--accent); }
.chart .axis { stroke: var(--line); }
.chart text { fill: var(--muted); font-size: 10px; }

@media (prefers-reduced-motion: no-preference) {
  .logged { animation: fade-in .2s ease-out; }
  .logged-mark { animation: pop .45s cubic-bezier(.2, 1.4, .4, 1) .05s both; }
  .logged-mark .icon path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .3s ease-out .3s forwards; }
  .logged-lines li { animation: fade-in .3s ease-out both; }
  .logged-lines li:nth-child(1) { animation-delay: .35s; } .logged-lines li:nth-child(2) { animation-delay: .5s; }
  .logged-lines li:nth-child(n+3) { animation-delay: .65s; }
  .quiet:not([hidden]) { animation: fade-in .25s ease-out; }
  .sheet { animation: slide-up .2s ease-out; }
}
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes slide-up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
figure { margin: 8px 0 16px; }
