/* Rest timer: a ring that empties round a clock (scripts/lib/vk/rest.mjs, rest.js). */
.vk-rest{text-align:left;padding:24px;max-width:380px;margin:0 auto;display:grid;gap:20px;justify-items:center;font-variant-numeric:tabular-nums}
.vk-rest-dial{position:relative;width:min(232px,100%);aspect-ratio:1}
.vk-rest-dial svg{width:100%;height:100%;overflow:visible}
.vk-rest .trk{fill:none;stroke:var(--vk-muted);stroke-width:12}
.vk-rest .arc{fill:none;stroke-width:12;stroke-linecap:round;stroke-dasharray:1000;stroke-dashoffset:0}
.vk-rest .bead{fill:#fff;opacity:.92}
.vk-rest-mid{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:4px;text-align:center;padding-bottom:12px}
.vk-rest-k{font:500 13px/18px Inter,sans-serif;color:var(--vk-ink3)}
.vk-rest-time{font:500 64px/64px Geist,Inter,sans-serif;letter-spacing:-.04em;min-width:3.2ch;transition:color .2s}
.vk-rest-next{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;align-items:baseline;padding:12px 16px;border-radius:18px;background:var(--vk-muted)}
.vk-rest-next .k{grid-column:1/-1;font:400 12px/16px Inter,sans-serif;color:var(--vk-ink2)}
.vk-rest-next .n{font:500 15px/20px Inter,sans-serif}
.vk-rest-next .d{font:400 13px/20px Inter,sans-serif;color:var(--vk-ink2);white-space:nowrap}
.vk-rest-btns{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:8px;width:100%}
.vk-rest-btns button{min-height:48px;padding:0 8px;border-radius:999px;border:0;background:var(--vk-muted);font:500 15px/20px Inter,sans-serif;font-variant-numeric:tabular-nums;-webkit-tap-highlight-color:transparent;transition:transform .2s var(--vk-ease)}
.vk-rest-btns button:active{transform:scale(.96)}
.vk-rest-btns button:focus-visible{outline:2px solid var(--vk-acc);outline-offset:2px}
.vk-rest-btns .on{background:var(--vk-ink);color:var(--vk-card)}
/* Zero: one soft pulse of the dial, and the clock takes the accent until it refills. */
.vk-rest.done .vk-rest-dial{animation:vk-rest-done .42s var(--vk-ease) 1}
.vk-rest.done .vk-rest-time{color:var(--vk-acc)}
@keyframes vk-rest-done{50%{transform:scale(1.03)}}
@media (max-width:520px){.vk-rest{padding:20px}}
.vpic-home>*,.vpic-kit>*{width:100%;max-width:520px}
.vpic-home h3{letter-spacing:-.02em}
/* Dark page: the Appearance picture's own controls sit on the page, not on its light panel, and the
   import picture's foot pill is glass; both read the page's ink there. */
:root[data-theme="dark"] .vpic-themes .th{color:var(--ink)}
:root[data-theme="dark"] .vpic-themes .th-sw{box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
:root[data-theme="dark"] .vpic-themes .th-tone[aria-pressed="true"] .th-sw{box-shadow:inset 0 0 0 1px rgba(255,255,255,.24),0 0 0 2px #16151C,0 0 0 4px currentColor}
:root[data-theme="dark"] .vpic-import .ic-foot{background:rgba(255,255,255,.1);color:var(--ink-2)}
.vwide .vpic>*{max-width:none}