/* Дизайн рисовался под 390×844; здесь — настоящий экран телефона и аккуратная колонка на компьютере. */
html, body { margin: 0; background: var(--bg, #000); }
body { -webkit-text-size-adjust: 100%; }
.app { width: 100%; max-width: 560px; height: 100dvh; margin: 0 auto; }
.scroll { padding-top: calc(12px + env(safe-area-inset-top)); }
.tabbar { padding-bottom: calc(8px + env(safe-area-inset-bottom)); height: auto; min-height: 60px; }
.scroll:has(+ .tabbar) { padding-bottom: 104px; }
.foot { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.sheet { padding-bottom: calc(18px + env(safe-area-inset-bottom)); max-height: 92dvh; overflow-y: auto; }
.hint { font-size: 13px; line-height: 18px; color: var(--muted); padding: 0 4px; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.app-in { display: contents; }
.setb { width: auto; min-width: 44px; padding: 0 12px; border-radius: 22px; }
.input { min-width: 0; } .input input, .row input, .stack input { min-width: 0; width: 100%; box-sizing: border-box; }
input[type="time"], input[type="date"]:not(.stack input) { background: var(--card2); color: var(--ink); border: 0; border-radius: 10px; min-height: 40px; padding: 6px 10px; font: inherit; font-variant-numeric: tabular-nums; }
