

*{box-sizing:border-box}
body{margin:0;background:var(--background);color:var(--foreground);font-family:Satoshi,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--accent-text);text-underline-offset:3px}
a:hover{color:var(--accent-bright)}
input,select,textarea,button{font:inherit;color:inherit}
button:disabled{opacity:.5;cursor:not-allowed}
:focus-visible{outline:2px solid var(--accent-bright);outline-offset:2px}
@keyframes qrin{from{opacity:.35;filter:blur(2px);transform:scale(.985)}to{opacity:1;filter:none;transform:none}}
@keyframes tick{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.12)}100%{transform:scale(1);opacity:1}}
@keyframes rise{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes up{from{transform:translateY(100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
/* Phone previews: the page inside never scrolls sideways. A row a little wider than the phone (a long name, am/pm
   hours) made it scrollable, and a sideways swipe or a focus then shifted the whole page left, cutting off its left
   side. Centred rows that are too wide start at the left edge instead of spilling over both sides. */
[data-scroll=phone]{overflow-x:hidden!important;overscroll-behavior-x:none}
[data-scroll=phone] [style*="justify-content:center"]{justify-content:safe center!important}
[data-scroll=phone] [style*="place-items:center"]{justify-items:safe center!important}

input[type=range][data-slim]{-webkit-appearance:none;appearance:none;height:20px;background:transparent;cursor:pointer;accent-color:var(--foreground)}
input[type=range][data-slim]::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:var(--border-strong)}
input[type=range][data-slim]::-moz-range-track{height:4px;border-radius:999px;background:var(--border-strong)}
input[type=range][data-slim]::-moz-range-progress{height:4px;border-radius:999px;background:var(--foreground)}
input[type=range][data-slim]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;margin-top:-6px;border-radius:50%;background:var(--background);border:2px solid var(--foreground);box-shadow:0 1px 2px rgba(15,23,42,.2)}
input[type=range][data-slim]::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:var(--background);border:2px solid var(--foreground)}
input[type=range][data-slim]:focus-visible{outline:none}
input[type=range][data-slim]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--accent-soft)}
