/* MyTurn Home — tema Grafito */
:root{
  --surface:#111214;--raised:#1A1C1F;--sunken:#0B0C0D;--line:#2A2D31;--line-strong:#666B73;
  --ink:#EEEDEA;--muted:#9A9EA5;
  --amber:#E8AE45;--amber-soft:#2B2214;--on-amber:#16120A;
  --ice:#6CCFE8;--ice-soft:#10272E;
  --saving:#3DD598;--saving-soft:#0E2A1F;
  --danger:#F07A6E;--danger-soft:#33150F;
  --display:"Sora","Avenir Next","Segoe UI",system-ui,sans-serif;
  --sans:"IBM Plex Sans","Helvetica Neue",Arial,system-ui,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,"SF Mono",Menlo,monospace;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--surface);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:22px}
h1,h2,h3{font-family:var(--display);font-weight:600;margin:0}
h1{font-size:32px;line-height:36px;letter-spacing:-.015em}
h2{font-size:20px;line-height:26px}
h3{font-size:16px;line-height:22px}
a{color:var(--amber)}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--amber);outline-offset:2px}
.logo{font-family:var(--display);font-weight:600}
.logo b{color:var(--amber);font-weight:600}
.card{background:var(--raised);border-radius:6px;padding:16px;display:flex;flex-direction:column;gap:12px}
.label{font-weight:600;font-size:11px;line-height:16px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.muted{color:var(--muted)}
.mono{font-family:var(--mono);font-weight:500}
.small{font-size:13px;line-height:18px}
.row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.sep{height:1px;background:var(--line)}
.chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:2px;font-weight:600;font-size:13px}
.chip.ok{background:var(--saving-soft);color:var(--saving)}
.chip.warn{background:var(--amber-soft);color:var(--amber)}
.chip.off{background:var(--sunken);color:var(--muted)}
.chip.cold{background:var(--ice-soft);color:var(--ice)}
.chip.bad{background:var(--danger-soft);color:var(--danger)}
.btn{height:44px;padding:0 16px;border-radius:6px;border:1.5px solid var(--line-strong);background:var(--surface);font-weight:600}
.btn.primary{background:var(--amber);color:var(--on-amber);border:0}
.btn.small{height:36px;padding:0 12px;font-size:13px}
.btn:disabled{opacity:.5;cursor:default}
input[type=text],input[type=number],input[type=time],input[type=date],input[type=url],input[type=password],select{
  height:44px;padding:0 12px;background:var(--surface);border:1.5px solid var(--line-strong);border-radius:6px;min-width:0}
.field{display:flex;flex-direction:column;gap:4px}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--amber-soft);color:var(--amber);padding:12px 16px;border-radius:6px;font-weight:600;max-width:90vw;z-index:10}
.hidden{display:none!important}
.track{position:relative;height:28px}
.track .bg{position:absolute;left:0;right:0;top:8px;height:12px;border-radius:2px;background:repeating-linear-gradient(135deg,var(--line-strong) 0 2px,var(--sunken) 2px 8px)}
.track .zone{position:absolute;top:8px;height:12px;border-radius:2px;background:linear-gradient(90deg,var(--ice),var(--amber))}
.track .thumb{position:absolute;top:0;width:8px;height:28px;margin-left:-4px;background:var(--ink);border-radius:2px;transition:left 180ms ease-out}
@media (prefers-reduced-motion:reduce){.track .thumb{transition:none}}
