/* Stiller Routine V2 prototype — design tokens from docs/STILLER_ROUTINE_V2_MASTER_PRODUCT_SPEC.md §6 */

:root {
  --bg: #F6F3EE; --surface: #FFFFFF; --surface-muted: #EFEBE4; --border: #E4DED5;
  --text: #1A1714; --text2: #6E675F; --text3: #746E67;
  --accent: #C8643B; --accent-text: #9E4F2F; --accent-soft: #F3E1D6; --on-accent: #FFFFFF;
  --success: #4F7A5A; --danger: #B4483C; --warning: #A8742A; --info: #4F6C8E;
  --protected: #E9E4DC; --sleep: #E3E5EE;
  --c-body: #5E8B6E; --c-mind: #6B6FB5; --c-nourish: #C98A3B; --c-grow: #3F8A8C; --c-rest: #8C7AA8;
  --shadow: 0 1px 3px rgba(0,0,0,.06); --shadow2: 0 4px 16px rgba(0,0,0,.10);
  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Noto Sans Hebrew", "Arial Hebrew", sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(.2,0,0,1);
  color-scheme: light;
}
:root.dark {
  --bg: #0F0E0D; --surface: #1A1816; --surface-muted: #24211E; --border: #2E2A26;
  --text: #F4EFE8; --text2: #A8A097; --text3: #898075;
  --accent: #E58A5C; --accent-text: #E58A5C; --accent-soft: #3A2519; --on-accent: #1A0F09;
  --success: #7FB08A; --danger: #E07A6E; --warning: #E2B266; --info: #8FA9C8;
  --protected: #23201D; --sleep: #1B1E2A;
  --c-body: #86B596; --c-mind: #9EA2E0; --c-nourish: #E0AE6C; --c-grow: #73BFC1; --c-rest: #B6A6D1;
  --shadow: none; --shadow2: 0 4px 16px rgba(0,0,0,.4);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--sans); background: #D9D3CA; color: var(--text); -webkit-font-smoothing: antialiased; }
:root.dark body { background: #050505; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
bdi.t { unicode-bidi: isolate; direction: ltr; font-variant-numeric: tabular-nums; }

/* ---------- Stage: phone frame on desktop, full screen on a phone ---------- */
.stage { min-height: 100%; display: flex; align-items: flex-start; justify-content: center; gap: 28px; padding: 24px; }
.phone { position: relative; width: 390px; height: 844px; border-radius: 48px; overflow: hidden; background: var(--bg);
  box-shadow: 0 0 0 10px #1c1a18, 0 30px 80px rgba(0,0,0,.35); flex: none; }
@media (max-width: 760px) {
  .stage { padding: 0; display: block; }
  .phone { width: 100%; height: 100dvh; border-radius: 0; box-shadow: none; }
  .review-panel.desk { display: none; }
}
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); color: var(--text); }
.statusbar { height: 47px; flex: none; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 30px 6px; font: 600 15px/1 var(--sans); }
.statusbar .dots { display: flex; gap: 5px; align-items: center; }
.statusbar svg { width: 17px; height: 12px; }
@media (max-width: 760px) { .statusbar { height: max(env(safe-area-inset-top), 12px); padding: 0; } .statusbar > * { display: none; } }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.pad { padding: 8px 20px 120px; }

/* Night theme: onboarding */
.night { --bg: #0B0A0F; --surface: rgba(255,255,255,.06); --surface-muted: rgba(255,255,255,.10); --border: rgba(255,255,255,.12);
  --text: #F4EFE8; --text2: rgba(244,239,232,.68); --text3: rgba(244,239,232,.55); --accent: #E58A5C; --accent-text: #E58A5C;
  --accent-soft: rgba(229,138,92,.18); --on-accent: #1A0F09; color-scheme: dark;
  --protected: rgba(255,255,255,.07); --sleep: rgba(143,169,200,.16); --surface-raised: #1d1b1f; }
.night .glow { position: absolute; inset: -20% -30% auto; height: 70%; background: radial-gradient(closest-side, rgba(229,138,92,.28), transparent 70%); pointer-events: none; }

/* ---------- Type ---------- */
.display { font: 500 34px/40px var(--serif); letter-spacing: -.2px; margin: 0; }
.title1 { font: 500 28px/34px var(--serif); margin: 0; }
.title2 { font: 600 22px/28px var(--sans); margin: 0; }
.headline { font: 600 17px/22px var(--sans); margin: 0; }
.body { font: 400 16px/24px var(--sans); margin: 0; }
.callout { font: 400 15px/20px var(--sans); margin: 0; }
.subhead { font: 500 14px/20px var(--sans); margin: 0; }
.footnote { font: 400 13px/18px var(--sans); margin: 0; }
.caption { font: 500 12px/16px var(--sans); margin: 0; }
.overline { font: 700 11px/14px var(--sans); letter-spacing: .8px; text-transform: uppercase; margin: 0; }
.time { font: 600 15px/20px var(--rounded); font-variant-numeric: tabular-nums; }
.sec { color: var(--text2); } .ter { color: var(--text3); } .acc { color: var(--accent-text); }
[lang="he"] .display, [lang="he"] .title1 { font-family: var(--sans); font-weight: 600; }
[lang="he"] .overline { text-transform: none; letter-spacing: 0; }
.phone.big-text .pad, .phone.big-text .sh-body { zoom: var(--zoom); }

/* ---------- Components ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; font: 600 17px/22px var(--sans); transition: transform .12s var(--ease), opacity .2s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.secondary { background: var(--surface-muted); color: var(--text); }
.btn.tertiary { color: var(--accent-text); min-height: 44px; padding: 0 12px; }
.btn.small { min-height: 40px; font-size: 15px; padding: 0 16px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .4; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font: 500 14px/20px var(--sans); margin: 4px 0; }
.chip.on { background: var(--accent-soft); border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.stack > * + * { margin-top: 12px; }
.stack-lg > * + * { margin-top: 24px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 999px; font: 500 12px/16px var(--sans); background: var(--surface-muted); color: var(--text2); white-space: nowrap; }
.pill.approved { background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--success); }
.pill.suggested { border: 1px dashed var(--text3); background: transparent; }
.pill.review { background: color-mix(in srgb, var(--warning) 18%, transparent); color: var(--warning); }
.pill.tentative { background: color-mix(in srgb, var(--info) 16%, transparent); color: var(--info); border: 1px dashed var(--info); }
.pill.paused { background: var(--surface-muted); }
.pill.sim { background: color-mix(in srgb, var(--info) 14%, transparent); color: var(--info); }
.ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.sm { width: 16px; height: 16px; } .ico.lg { width: 28px; height: 28px; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.option { display: flex; align-items: center; gap: 12px; min-height: 56px; width: 100%; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); text-align: start; }
.option.on { border-color: var(--accent); background: var(--accent-soft); }
.option .mark { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--text3); flex: none; display: grid; place-items: center; }
.option.multi .mark { border-radius: 6px; }
.option.on .mark { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.seg { display: flex; background: var(--surface-muted); border-radius: 12px; padding: 3px; gap: 2px; }
.seg button { flex: 1; min-height: 36px; border-radius: 9px; font: 500 14px/18px var(--sans); color: var(--text2); }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); font-weight: 600; }
:root.dark .seg button.on, .night .seg button.on { background: #3a3632; }
.switch { width: 51px; height: 31px; border-radius: 99px; background: var(--surface-muted); border: 1px solid var(--border); position: relative; flex: none; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 25px; height: 25px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: inset-inline-start .2s var(--ease); }
.switch.on { background: var(--success); }
.switch.on::after { inset-inline-start: 22px; }
.list { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.list > .li { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; width: 100%; text-align: start; }
.list > .li + .li { border-top: 1px solid var(--border); }
.list .li .chev { color: var(--text3); }
.sectitle { margin: 24px 4px 8px; }
.divider { height: 1px; background: var(--border); margin: 12px 0; }
.header { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px; min-height: 52px; }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 22px; }
.iconbtn:active { background: var(--surface-muted); }
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface-muted); }
.banner.warn { background: color-mix(in srgb, var(--warning) 14%, transparent); }
.banner.info { background: color-mix(in srgb, var(--info) 12%, transparent); }
.banner.err { background: color-mix(in srgb, var(--danger) 12%, transparent); }
.skel { background: linear-gradient(90deg, var(--surface-muted), var(--border), var(--surface-muted)); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: 12px; }
@keyframes sh { to { background-position: -200% 0; } }

/* ---------- Tab bar + FAB ---------- */
.tabbar { flex: none; display: flex; justify-content: space-around; padding: 6px 8px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); }
.tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; min-height: 44px; color: var(--text3); font: 500 10px/12px var(--sans); }
.tabbar button.on { color: var(--accent); }
.tabbar .ico { width: 26px; height: 26px; }
.fab { position: absolute; inset-inline-end: 20px; bottom: 100px; width: 56px; height: 56px; border-radius: 28px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: var(--shadow2); z-index: 5; }
.fab .ico { width: 26px; height: 26px; stroke-width: 2.2; }

/* ---------- Now / Next ---------- */
.now { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow2); }
.ring { position: relative; width: 48px; height: 48px; flex: none; }
.ring svg { width: 48px; height: 48px; transform: rotate(-90deg); }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font: 600 12px/1 var(--rounded); }
[dir="rtl"] .ring svg { transform: rotate(-90deg) scaleY(-1); }
.qa { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.qa .btn { min-height: 40px; font-size: 15px; padding: 0 14px; }

/* ---------- Coach card ---------- */
.coach { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; border-inline-start: 3px solid var(--accent); }

/* ---------- Timeline (§6.6) ---------- */
.tl { position: relative; margin-top: 8px; }
.tl .hour { position: absolute; inset-inline-start: 0; width: 44px; font: 600 12px/14px var(--rounded); color: var(--text3); font-variant-numeric: tabular-nums; transform: translateY(-7px); }
.tl .hline { position: absolute; inset-inline-start: 48px; inset-inline-end: 0; height: 1px; background: var(--border); opacity: .55; }
.tl .blk { position: absolute; inset-inline-start: 52px; inset-inline-end: 0; border-radius: 12px; padding: 8px 12px; overflow: hidden; text-align: start; display: block; width: auto; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: background .2s, opacity .2s; }
.tl .blk::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--cat, transparent); }
.tl .blk.compact { padding-block: 4px; display: flex; align-items: center; gap: 8px; }
.tl .blk .bt { font: 600 15px/20px var(--sans); display: flex; gap: 6px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl .blk .bm { font: 400 13px/18px var(--sans); color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl .blk.protected { background: var(--protected); box-shadow: none; border-color: transparent; }
.tl .blk.protected .bt { font-weight: 500; color: var(--text2); }
.tl .blk.inset { inset-inline-start: 76px; inset-inline-end: 12px; z-index: 2; }
.tl .blk.sleep { background: var(--sleep); border-color: transparent; box-shadow: none; }
.tl .blk.free { background: transparent; border: 1.5px dashed var(--border); box-shadow: none; display: flex; align-items: center; color: var(--text3); }
.tl .blk.now { background: var(--accent-soft); border: 1.5px solid var(--accent); box-shadow: var(--shadow2); }
.tl .blk.done .bt { color: var(--text2); }
.tl .blk.skipped, .tl .blk.notrec { opacity: .6; }
.tl .blk.tentative { border: 1.5px dashed var(--info); background: color-mix(in srgb, var(--info) 6%, var(--surface)); }
.tl .blk.suggested-new { border: 1.5px dashed var(--accent); }
.tl .blk .check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--text3); flex: none; display: grid; place-items: center; }
.tl .blk.done .check { background: var(--success); border-color: var(--success); color: #fff; }
.tl .blk .steps { margin-top: 6px; font: 400 13px/19px var(--sans); color: var(--text2); }
.tl .nowline { position: absolute; inset-inline-start: 44px; inset-inline-end: 0; height: 2px; background: var(--accent); z-index: 4; pointer-events: none; }
.tl .nowline::before { content: ""; position: absolute; inset-inline-start: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.tl.list .blk { position: relative; inset: auto; margin: 0 0 8px; }
.window-band { position: absolute; inset-inline-start: 52px; inset-inline-end: 0; border-radius: 12px; background: color-mix(in srgb, var(--accent) 7%, transparent); border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent); }

/* ---------- Mini strip (First Week day cards) ---------- */
.strip { position: relative; height: 14px; border-radius: 7px; background: var(--surface-muted); overflow: hidden; margin-top: 10px; }
.strip i { position: absolute; top: 0; bottom: 0; }

/* ---------- Week strip ---------- */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.week button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; border-radius: 14px; min-height: 64px; }
.week button.sel { background: var(--surface); box-shadow: var(--shadow2); }
.week .dn { font: 500 11px/14px var(--sans); color: var(--text3); }
.week .dd { font: 600 17px/22px var(--rounded); }
.week .today .dd { color: var(--accent); }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot.approved { background: var(--success); }
.dot.suggested { border: 1.5px solid var(--text3); }
.dot.review { background: var(--warning); }
.dot.tentative { border: 1.5px dashed var(--info); }
.dot.paused { background: var(--text3); border-radius: 2px; width: 7px; height: 7px; }

/* ---------- Sheets ---------- */
.scrim { position: absolute; inset: 0; background: rgba(0,0,0,.32); z-index: 20; }
.scrim.anim { animation: fade .2s var(--ease); }
.sheet { position: absolute; inset-inline: 0; bottom: 0; z-index: 21; background: var(--bg); color: var(--text); border-radius: 28px 28px 0 0; max-height: 92%; display: flex; flex-direction: column; box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
.sheet.anim { animation: up .3s var(--ease); }
.sheet.full { top: 47px; max-height: none; }
.sheet .grab { width: 36px; height: 5px; border-radius: 3px; background: var(--border); margin: 8px auto 0; flex: none; }
.sheet .sh-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px 4px 20px; }
[dir="rtl"] .sheet .sh-head { padding: 8px 20px 4px 12px; }
.sheet .sh-body { overflow-y: auto; padding: 4px 20px 16px; flex: 1; }
.sh-foot { padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sheet, .scrim, .toast { animation: none !important; } * { transition: none !important; } }

/* Change rows (Proposal) */
.chg { display: flex; gap: 12px; padding: 12px 0; align-items: flex-start; }
.chg + .chg { border-top: 1px solid var(--border); }
.chg .op { width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; flex: none; font: 700 15px/1 var(--sans); }
.op.add { background: color-mix(in srgb, var(--success) 18%, transparent); color: var(--success); }
.op.move, .op.resize { background: color-mix(in srgb, var(--info) 16%, transparent); color: var(--info); }
.op.remove { background: var(--surface-muted); color: var(--text2); }
.op.replace { background: color-mix(in srgb, var(--warning) 18%, transparent); color: var(--warning); }
.cb { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--text3); display: grid; place-items: center; flex: none; margin-top: 2px; }
.cb.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Toast / snackbar */
.toast { position: absolute; inset-inline: 16px; bottom: 104px; z-index: 30; background: #24211E; color: #F4EFE8; border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow2); }
.toast.anim { animation: up .25s var(--ease); }
.toast .btn.tertiary { color: #E58A5C; min-height: 36px; }

/* Onboarding */
.ob-progress { display: flex; gap: 6px; padding: 4px 20px 0; }
.ob-progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--border); }
.ob-progress i.on { background: var(--accent); }
.ob-foot { padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; gap: 8px; align-items: center; }
.order-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.daycell { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font: 500 12px/14px var(--sans); }
.daycell.unknown { border-style: dashed; }
.daycell b { font: 600 15px/18px var(--rounded); }

/* Building */
.build-line { opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); display: flex; gap: 10px; align-items: center; }
.build-line.on { opacity: 1; transform: none; }

/* Charts */
.bar { height: 8px; border-radius: 4px; background: var(--surface-muted); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
[dir="rtl"] .bar i { margin-inline-start: 0; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal span { font: 500 12px/28px var(--rounded); border-radius: 8px; }
.cal .lv1 { background: color-mix(in srgb, var(--success) 14%, transparent); }
.cal .lv2 { background: color-mix(in srgb, var(--success) 30%, transparent); }
.cal .lv3 { background: color-mix(in srgb, var(--success) 50%, transparent); color: #fff; }
.cal .rest { background: var(--surface-muted); }

/* Review panel */
.review-panel { width: 300px; flex: none; max-height: calc(100vh - 48px); overflow-y: auto; background: #FBFAF7; color: #1A1714; border-radius: 18px; padding: 16px; font: 400 13px/18px var(--sans); box-shadow: 0 10px 40px rgba(0,0,0,.15); position: sticky; top: 24px; direction: ltr; }
.review-panel h3 { font: 700 11px/14px var(--sans); letter-spacing: .8px; text-transform: uppercase; color: #746E67; margin: 16px 0 6px; }
.review-panel h2 { font: 600 17px/22px var(--sans); margin: 0 0 4px; }
.review-panel .rp-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.review-panel .rp-btns button { padding: 6px 10px; border-radius: 8px; background: #EFEBE4; font-size: 12px; }
.review-panel .rp-btns button.on { background: #C8643B; color: #fff; }
.review-panel .note { color: #6E675F; font-size: 12px; }
.mobile-review { position: absolute; top: 52px; inset-inline-end: 10px; z-index: 40; height: 28px; padding: 0 10px; border-radius: 14px; background: rgba(79,108,142,.9); color: #fff; font: 600 11px/28px var(--sans); display: none; }
@media (max-width: 760px) { .mobile-review { display: block; } }
.review-panel.mob { position: absolute; inset: 0; z-index: 50; width: auto; max-height: none; border-radius: 0; top: 0; }

/* Usability-test additions: prototype bar with Restart demo, onboarding time fields */
[hidden] { display: none !important; }
.protobar { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 2px 16px; font: 500 12px/16px var(--sans); color: var(--text2); flex: none; }
.protobar b { font-weight: 600; color: var(--info); }
.protobar button { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 600 12px/1 var(--sans); }
.protobar .pb-review { background: rgba(79,108,142,.9); border-color: transparent; color: #fff; }
.protobar .ico.sm { width: 14px; height: 14px; }
.timefield { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.timein { width: 100%; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font: 600 17px/1 var(--rounded); font-variant-numeric: tabular-nums; direction: ltr; text-align: center; color: var(--text); }
.timein:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
