/* Workout App — Cloudflare frontend. Mobile-first, no build step. */

:root {
  color-scheme: light dark;
  --bg: #0c100e;
  --surface: #141915;
  --surface-2: #1e2621;
  --text: #f2f5f2;
  --dim: #9aa69f;
  --border: #2c352f;
  --accent: #c8f25b;
  --accent-ink: #10150a;
  --amber: #f2ae49;
  --danger: #e0644a;
  --radius: 12px;
  --shadow: 0 14px 38px rgba(0, 0, 0, .35);
  --tabbar-h: 66px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #eef2ee;
    --surface: #fbfcfa;
    --surface-2: #e3e9e4;
    --text: #111513;
    --dim: #59635e;
    --border: #cbd3cd;
    --accent: #a9d92f;
    --accent-ink: #11150d;
    --amber: #d68927;
    --shadow: 0 14px 38px rgba(17, 21, 19, .14);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
img { max-width: 100%; }

#app { min-height: 100dvh; display: flex; flex-direction: column; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand strong { font-size: 16px; letter-spacing: -.01em; }
.brand small { display: block; color: var(--dim); font-size: 11px; font-weight: 600; }
.logout-btn {
  border: 1px solid var(--border); background: var(--surface); color: var(--dim);
  border-radius: 8px; padding: 8px 12px; font-size: 12px; font-weight: 700;
}

/* ---------- layout ---------- */
.page { flex: 1; width: min(860px, 100%); margin: 0 auto; padding: 16px 14px calc(var(--tabbar-h) + 28px); }
section.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; margin-bottom: 14px;
}
.eyebrow {
  display: block; font-size: 10px; letter-spacing: .16em; font-weight: 800;
  color: var(--accent); margin-bottom: 6px;
}
h1.hero { font-size: clamp(30px, 8vw, 46px); line-height: 1; margin: 0 0 8px; letter-spacing: -.02em; }
h2.sec { font-size: 18px; margin: 0 0 10px; }
p.lede { color: var(--dim); font-size: 14px; line-height: 1.55; margin: 0 0 12px; }
p.fine { color: var(--dim); font-size: 12px; line-height: 1.5; }

/* ---------- tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.tabbar button {
  border: 0; background: transparent; color: var(--dim);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 700; padding: 6px 2px; border-radius: 8px;
}
.tabbar button.active { color: var(--accent); }
.tabbar svg { width: 22px; height: 22px; }

/* ---------- buttons / fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 10px;
  border: 0; font-weight: 800; font-size: 15px; text-decoration: none;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn.block { width: 100%; }
.btn.sm { min-height: 38px; font-size: 13px; padding: 0 12px; border-radius: 8px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field > span { font-size: 12px; font-weight: 800; color: var(--dim); }
.field em { font-style: normal; font-weight: 500; opacity: .75; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg); padding: 0 12px; font-weight: 600;
}
.field textarea { min-height: 90px; padding: 10px 12px; resize: vertical; font-weight: 500; }
.form-error {
  margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 13px; font-weight: 700;
  color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent);
}
.form-ok {
  margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 13px; font-weight: 700;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* ---------- login ---------- */
.login-wrap {
  min-height: 100dvh; display: grid; place-content: center; padding: 24px;
  background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}
.login-card { width: min(400px, 100%); text-align: center; }
.login-card img.logo { width: 76px; height: 76px; border-radius: 20px; margin-bottom: 14px; }
.login-card h1 { font-size: 34px; margin: 0 0 6px; letter-spacing: -.02em; }
.login-card p { color: var(--dim); font-size: 14px; margin: 0 0 20px; }
.login-card .field { text-align: left; }
.login-card input { text-align: center; font-size: 20px; letter-spacing: .2em; font-weight: 800; }

/* ---------- program ---------- */
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.target-chip {
  flex: none; text-align: right; background: var(--text); color: var(--bg);
  border-radius: 8px; padding: 8px 10px; font-size: 10px; font-weight: 800; line-height: 1.3;
}
.target-chip b { display: block; font-size: 18px; }
.goal-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.goal-list li {
  display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start;
  border: 1px solid var(--border); border-radius: 10px; padding: 12px;
}
.goal-num {
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px;
  background: var(--surface-2); font-size: 12px; font-weight: 900; color: var(--accent);
}
.goal-list strong { display: block; font-size: 14px; margin-bottom: 2px; }
.goal-list p { margin: 0; color: var(--dim); font-size: 12px; line-height: 1.45; }
.week-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.week-grid button {
  min-height: 40px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg); font-weight: 800; font-size: 13px; position: relative;
}
.week-grid button.deload::after {
  content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--amber);
}
.week-grid button.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.week-banner {
  display: flex; align-items: center; gap: 10px; margin-top: 12px;
  border-radius: 10px; padding: 10px 12px; font-size: 13px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.week-banner .tag {
  flex: none; font-size: 10px; font-weight: 900; letter-spacing: .1em;
  background: var(--accent); color: var(--accent-ink); border-radius: 6px; padding: 4px 8px;
}
.week-banner.deload .tag { background: var(--amber); color: #201503; }
.day { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; background: var(--surface); }
.day > button.head {
  width: 100%; display: grid; grid-template-columns: 40px 1fr 24px; gap: 10px; align-items: center;
  padding: 14px; border: 0; background: transparent; text-align: left;
}
.day-num { font-size: 24px; font-weight: 900; color: var(--accent); }
.day-head-copy strong { display: block; font-size: 15px; }
.day-head-copy small { color: var(--dim); font-size: 12px; }
.day-toggle { font-size: 22px; color: var(--dim); font-weight: 300; }
.day-body { border-top: 1px solid var(--border); padding: 12px 14px 14px; }
.warmup {
  background: color-mix(in srgb, var(--amber) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--amber) 35%, var(--border));
  border-radius: 10px; padding: 12px; margin-bottom: 10px;
}
.warmup > strong { font-size: 13px; color: var(--amber); display: block; margin-bottom: 8px; }
.warmup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.warmup button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: transparent; border: 0; padding: 6px 0; font-size: 13px; font-weight: 700; text-align: left;
}
.warmup button b { color: var(--dim); font-size: 12px; }
.plan-ex { display: grid; gap: 2px; }
.plan-ex-row {
  display: grid; grid-template-columns: 1fr auto 34px; gap: 8px; align-items: center;
  padding: 10px 0; border-top: 1px solid var(--border); width: 100%;
  background: transparent; border-left: 0; border-right: 0; border-bottom: 0; text-align: left;
}
.plan-ex-row:first-child { border-top: 0; }
.plan-ex-row .nm { font-size: 14px; font-weight: 700; }
.plan-ex-row .nm small { display: block; color: var(--dim); font-size: 11px; font-weight: 600; }
.plan-ex-row .rx { font-size: 13px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.plan-ex-row .go { color: var(--dim); display: grid; place-items: center; }
.start-day { margin-top: 12px; }
.guide-3col { display: grid; gap: 10px; }
.guide-3col article { border-top: 1px solid var(--border); padding-top: 10px; }
.guide-3col article:first-child { border-top: 0; padding-top: 0; }
.guide-3col h3 { margin: 0 0 4px; font-size: 15px; }
.guide-3col p { margin: 0; color: var(--dim); font-size: 13px; line-height: 1.55; }
.guide-3col p strong { color: var(--text); }

/* ---------- workout ---------- */
.live-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.live-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 900;
  letter-spacing: .14em; color: var(--accent); margin-bottom: 6px;
}
.live-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.live-head h2 { margin: 0 0 4px; font-size: 24px; letter-spacing: -.01em; }
.live-head p { margin: 0; color: var(--dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.shoulder-note {
  border-left: 4px solid var(--amber); border-radius: 0 10px 10px 0;
  background: color-mix(in srgb, var(--amber) 10%, var(--surface));
  padding: 10px 12px; margin-bottom: 12px; font-size: 12px; color: var(--dim); line-height: 1.5;
}
.shoulder-note strong { color: var(--text); display: block; margin-bottom: 2px; font-size: 13px; }
.shoulder-note .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.shoulder-note .links button {
  border: 1px solid var(--border); background: var(--surface); border-radius: 20px;
  padding: 6px 10px; font-size: 11px; font-weight: 700;
}
.queue { display: grid; gap: 6px; margin-bottom: 4px; }
.queue-row {
  display: grid; grid-template-columns: 1fr auto; border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; background: var(--bg);
}
.queue-row.active { border-color: var(--accent); }
.queue-row button.info { border: 0; background: transparent; text-align: left; padding: 10px 12px; min-width: 0; }
.queue-row .qn { display: block; font-size: 13px; font-weight: 700; }
.queue-row .qs { display: block; font-size: 11px; color: var(--dim); margin-top: 2px; }
.queue-row button.use {
  border: 0; border-left: 1px solid var(--border); background: var(--surface-2);
  color: var(--accent); font-weight: 800; font-size: 12px; padding: 0 14px;
}
.set-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.set-form .field.wide { grid-column: 1 / -1; }
.guide-link-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent;
  color: var(--accent); font-size: 12px; font-weight: 800; padding: 2px 0 8px;
}
.rest-card { text-align: center; padding: 18px 12px; }
.rest-card .lbl { font-size: 10px; letter-spacing: .18em; font-weight: 900; color: var(--dim); }
.rest-card .time {
  font-size: 52px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1;
  letter-spacing: -.02em;
}
.rest-card .time.done { color: var(--amber); }
.rest-btns { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.rest-btns button {
  border: 1px solid var(--border); background: var(--bg); border-radius: 8px;
  min-height: 40px; padding: 0 14px; font-size: 13px; font-weight: 700;
}
.sets-head { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 6px; }
.sets-head h3 { margin: 0; font-size: 16px; }
.sets-head .count {
  background: var(--surface-2); border-radius: 20px; font-size: 12px; font-weight: 800;
  padding: 3px 10px; color: var(--dim);
}
ul.sets { list-style: none; margin: 0; padding: 0; }
ul.sets li {
  display: grid; grid-template-columns: 30px 1fr auto 36px; gap: 8px; align-items: center;
  padding: 10px 0; border-top: 1px solid var(--border);
}
.set-pos { color: var(--dim); font-weight: 800; font-size: 13px; }
.set-main button.nm { border: 0; background: transparent; padding: 0; font-weight: 700; font-size: 14px; text-align: left; }
.set-main small { display: block; color: var(--dim); font-size: 11px; margin-top: 2px; }
.set-val { font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 800; }
.set-val b { font-size: 18px; }
.del-set {
  border: 0; background: transparent; color: var(--dim); width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 8px;
}
.empty-note { color: var(--dim); font-size: 14px; margin: 8px 0; }

/* history */
.hist-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  border: 0; background: transparent; padding: 14px 2px; font-size: 15px; font-weight: 800;
}
.hist-toggle .n {
  background: var(--surface-2); border-radius: 20px; font-size: 12px; padding: 3px 10px; color: var(--dim);
}
.hist-item { border-top: 1px solid var(--border); }
.hist-item > button {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
  border: 0; background: transparent; text-align: left; padding: 12px 2px;
}
.hist-item .hd strong { display: block; font-size: 14px; }
.hist-item .hd small { color: var(--dim); font-size: 12px; }
.hist-item .hm { text-align: right; font-size: 12px; color: var(--dim); }
.hist-item .hm b { display: block; color: var(--text); font-size: 14px; }
.hist-sets { list-style: none; margin: 0 0 12px; padding: 0 0 0 4px; font-size: 13px; color: var(--dim); }
.hist-sets li { padding: 5px 0; border-top: 1px dashed var(--border); display: flex; justify-content: space-between; gap: 8px; }
.hist-sets li span:last-child { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 700; }

/* ---------- library ---------- */
.lib-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lib-grid button {
  border: 1px solid var(--border); background: var(--surface); border-radius: 10px;
  padding: 12px 10px; text-align: left; font-size: 13px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 56px;
}
.lib-grid button svg { flex: none; color: var(--accent); }
.lib-grid button.custom { border-style: dashed; color: var(--dim); }

/* ---------- cameras ---------- */
.cam-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--surface-2); border-radius: 10px; padding: 4px; margin-bottom: 12px; }
.cam-switch button { border: 0; background: transparent; border-radius: 7px; min-height: 40px; font-weight: 800; font-size: 13px; color: var(--dim); }
.cam-switch button.active { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.cam-frames { display: grid; gap: 10px; }
.cam-frames.split { grid-template-columns: 1fr 1fr; }
.cam-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #050706; border: 1px solid var(--border); aspect-ratio: 16/10; min-height: 150px; }
.cam-frame iframe { width: 100%; height: 100%; border: 0; display: block; background: #050706; }
.cam-empty { display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; color: #cfd6d1; padding: 20px; }
.cam-empty .mark { width: 52px; height: 52px; border: 1px solid #46504b; border-radius: 50%; display: grid; place-items: center; color: var(--accent); }
.cam-empty strong { font-size: 16px; }
.cam-empty span { font-size: 12px; color: #98a39d; }
.cam-bar {
  position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 8px;
  background: rgba(8, 12, 10, .85); border-radius: 8px; padding: 6px 6px 6px 10px;
  font-size: 12px; font-weight: 700; color: #f2f5f2;
}
.cam-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.cam-bar .dot.on { background: var(--accent); }
.cam-bar button { margin-left: auto; border: 1px solid #3a443f; background: transparent; color: #dfe5e0; border-radius: 6px; min-height: 32px; padding: 0 10px; font-size: 12px; font-weight: 700; }
.cam-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #9aa69f; font-size: 13px; background: #070a08; }

/* ---------- progress ---------- */
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chart { display: flex; align-items: flex-end; gap: 4px; height: 110px; padding: 8px 2px 0; }
.chart .bar { flex: 1; min-width: 0; background: var(--accent); border-radius: 3px 3px 0 0; opacity: .85; }
.chart-wrap small { color: var(--dim); font-size: 11px; }
.metric-list { list-style: none; margin: 12px 0 0; padding: 0; }
.metric-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 10px 0; border-top: 1px solid var(--border); font-size: 14px;
}
.metric-list .d { color: var(--dim); font-size: 12px; }
.metric-list .v { font-variant-numeric: tabular-nums; font-weight: 800; }
.metric-list .v small { color: var(--dim); font-weight: 600; }

/* ---------- modals ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(3, 6, 4, .66);
  display: flex; align-items: flex-end; justify-content: center;
}
.modal {
  width: min(620px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto;
  background: var(--surface); border-radius: 18px 18px 0 0;
  padding: 18px 18px calc(20px + env(safe-area-inset-bottom));
}
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.modal-head h2 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.x-btn { border: 0; background: var(--surface-2); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--dim); flex: none; }
.demo { margin: 10px 0 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
.demo img { width: 100%; max-height: 340px; object-fit: contain; display: block; }
.demo figcaption {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: var(--surface-2); padding: 8px 10px; font-size: 10px; font-weight: 800;
  letter-spacing: .1em; color: var(--dim);
}
.cues { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.cues li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--dim); }
.cues li b {
  width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px;
  background: var(--text); color: var(--bg); font-size: 11px;
}
.safety {
  margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 12px; line-height: 1.5;
  color: var(--dim); border: 1px solid color-mix(in srgb, var(--amber) 40%, var(--border));
  background: color-mix(in srgb, var(--amber) 8%, transparent);
}
.setup-box { background: var(--surface-2); border-radius: 10px; padding: 12px; margin: 12px 0; }
.setup-box strong { color: var(--accent); display: block; margin-bottom: 4px; font-size: 14px; }
.setup-box p { margin: 0; font-size: 13px; color: var(--dim); line-height: 1.5; }
ol.steps { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 10px; }
ol.steps li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; font-size: 13px; color: var(--dim); line-height: 1.5; }
ol.steps li > b {
  width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2);
  display: grid; place-items: center; font-size: 11px; color: var(--text);
}
ol.steps code { font-family: ui-monospace, monospace; font-size: 11px; color: var(--text); word-break: break-all; }
pre.code {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px; font-size: 11px; overflow-x: auto; margin: 8px 0 0; line-height: 1.5;
}
.modal-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 14px; }

/* ---------- misc ---------- */
.loading { min-height: 60dvh; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--dim); }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--surface-2); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.hint { font-size: 12px; color: var(--dim); }

@media (min-width: 700px) {
  .page { padding: 22px 20px calc(var(--tabbar-h) + 36px); }
  .week-grid { grid-template-columns: repeat(16, 1fr); }
  .lib-grid { grid-template-columns: repeat(3, 1fr); }
  .guide-3col { grid-template-columns: repeat(3, 1fr); }
  .guide-3col article { border-top: 0; border-left: 1px solid var(--border); padding: 0 0 0 16px; }
  .guide-3col article:first-child { border-left: 0; padding-left: 0; }
  .modal-backdrop { align-items: center; padding: 24px; }
  .modal { border-radius: 16px; }
  .cam-frames.split { grid-template-columns: 1fr 1fr; }
  .set-form { grid-template-columns: 1.4fr .8fr .8fr .8fr; align-items: end; }
  .set-form .field.wide { grid-column: auto; }
  .set-form .field { margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .live-chip i { animation: none; }
  .spinner { animation-duration: 2s; }
}
