/* Diário de Treinos — estilos. Modo claro/escuro acompanha o sistema. */
:root {
  color-scheme: light dark;
  --bg: #F2F2F7; --card: #FFFFFF; --sheet: #F2F2F7; --bar: rgba(249,249,251,.92);
  --text: #111114; --text2: #62626A; --text3: #76767E;
  --sep: #D8D8DD; --sep2: #C2C2C8; --field: #F2F2F7; --chip: #F0F0F4; --seg: #E4E4EA; --seg-on: #FFFFFF;
  --accent: #4F46E5; --accent-text: #4F46E5; --accent-tint: rgba(79,70,229,.10); --on-accent: #FFFFFF;
  --done: #1E9150; --done-row: #EFF8F2; --danger: #D92D20; --warn-bg: #FFF6E5; --warn-text: #7A4B00;
  --grid: #ECECF0; --area: rgba(79,70,229,.08);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 1px 1px rgba(0,0,0,.02);
  --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-h: calc(56px + var(--safe-bottom));
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --card: #1C1C1E; --sheet: #1C1C1E; --bar: rgba(18,18,20,.92);
    --text: #F5F5F7; --text2: #A1A1A8; --text3: #8E8E95;
    --sep: #38383A; --sep2: #48484A; --field: #2C2C2E; --chip: #2C2C2E; --seg: #1C1C1E; --seg-on: #3A3A3C;
    --accent-text: #9994F0; --accent-tint: rgba(123,116,234,.20);
    --done: #30B565; --done-row: rgba(48,181,101,.12); --danger: #FF6961; --warn-bg: rgba(255,186,0,.14); --warn-text: #FFD27A;
    --grid: #2C2C2E; --area: rgba(153,148,240,.14); --shadow: none;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; overscroll-behavior-y: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; padding: 0; touch-action: manipulation; }
button:disabled { opacity: .45; cursor: default; }
input, textarea { -webkit-user-select: text; user-select: text; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.ic { display: block; flex-shrink: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text2); }
.num { font-variant-numeric: tabular-nums; }

/* ── Estrutura ─────────────────────────────── */
.page { padding: calc(var(--safe-top) + 20px) 16px calc(var(--tabbar-h) + 28px); max-width: 640px; margin: 0 auto; }
.page.sub { padding-top: calc(var(--safe-top) + 64px); padding-bottom: calc(var(--safe-bottom) + 40px); }
.page.session { padding: calc(var(--safe-top) + 60px) 12px calc(var(--safe-bottom) + 40px); }
.lg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 4px 18px; }
.lg-head p { margin: 0 0 2px; font-size: 15px; font-weight: 500; color: var(--text2); }
.lg-head h1 { margin: 0; font-size: 34px; line-height: 40px; font-weight: 700; letter-spacing: -.02em; }
.round-btn { width: 44px; height: 44px; border-radius: 22px; background: var(--card); color: var(--text); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.sec-title { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px 10px; }
.sec-title h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.caps { margin: 22px 4px 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text2); }
.caps:first-child { margin-top: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.card { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); }
.list { background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.row { width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 52px; }
.list > .row + .row, .list > * + .row { border-top: .5px solid var(--sep); }
.row .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row .t { font-size: 16px; font-weight: 600; color: var(--text); }
.row .s { font-size: 13px; color: var(--text2); }
.row .chev { color: var(--text3); }
.row.danger .t { color: var(--danger); }
.row.accent .t { color: var(--accent-text); }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--chip); color: var(--text2); white-space: nowrap; }
.tag.accent { background: var(--accent-tint); color: var(--accent-text); }
.empty { text-align: center; padding: 36px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty .bubble { width: 56px; height: 56px; border-radius: 28px; background: var(--accent-tint); color: var(--accent-text); display: flex; align-items: center; justify-content: center; }
.empty h2 { margin: 0; font-size: 17px; font-weight: 600; }
.empty p { margin: 0; font-size: 15px; line-height: 21px; color: var(--text2); }

/* ── Botões ─────────────────────────────── */
.btn { height: 50px; border-radius: 14px; padding: 0 18px; font-size: 17px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.soft { background: var(--accent-tint); color: var(--accent-text); }
.btn.plain { background: var(--card); color: var(--accent-text); box-shadow: var(--shadow); }
.btn.danger-soft { background: var(--card); color: var(--danger); box-shadow: var(--shadow); }
.btn.block { width: 100%; }
.btn.dashed { background: transparent; border: 1.5px dashed var(--sep2); color: var(--accent-text); height: 56px; border-radius: 18px; }
.pill { height: 34px; padding: 0 14px; border-radius: 17px; background: var(--accent); color: var(--on-accent); font-size: 15px; font-weight: 600; }
.chip-btn { height: 40px; border-radius: 10px; background: var(--chip); color: var(--accent-text); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; }
.chip-btn.muted { color: var(--text2); }
.chip-btn.on { background: var(--accent-tint); color: var(--accent-text); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--accent-text); border-radius: 12px; }
.icon-btn.danger { color: var(--danger); }

/* ── Barras ─────────────────────────────── */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; padding: calc(var(--safe-top) + 6px) 8px 4px; background: var(--bar); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: .5px solid var(--sep); }
.topbar .in { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 44px; }
.topbar .back { justify-self: start; color: var(--accent-text); font-size: 17px; display: flex; align-items: center; gap: 2px; height: 44px; padding-right: 8px; }
.topbar .ttl { text-align: center; display: flex; flex-direction: column; align-items: center; line-height: 1.15; min-width: 0; }
.topbar .ttl b { font-size: 16px; font-weight: 600; max-width: 52vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .ttl small { font-size: 12px; font-weight: 500; color: var(--text2); }
.topbar .end { justify-self: end; display: flex; align-items: center; gap: 2px; }
.topbar .progress { position: absolute; left: 0; bottom: -.5px; height: 3px; background: var(--done); transition: width .25s ease; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: var(--tabbar-h); padding: 7px 0 var(--safe-bottom); background: var(--bar); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: .5px solid var(--sep); display: grid; grid-template-columns: repeat(3, 1fr); }
.tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--text3); font-size: 11px; font-weight: 500; }
.tabbar button[aria-current="page"] { color: var(--accent-text); font-weight: 600; }
body.kb .tabbar { display: none; }

/* ── Segmentado ─────────────────────────────── */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; border-radius: 11px; background: var(--seg); }
.seg button { height: 34px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--text2); }
.seg button[aria-pressed="true"] { background: var(--seg-on); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* ── Treinar ─────────────────────────────── */
.resume { width: 100%; text-align: left; border-radius: 20px; padding: 18px; margin-bottom: 28px; background: var(--accent); color: #fff; display: flex; flex-direction: column; gap: 14px; }
.resume .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.resume .k { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.resume .n { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.resume .d { font-size: 15px; opacity: .92; }
.resume .go { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 20px; background: #fff; color: #4F46E5; font-size: 15px; font-weight: 600; flex-shrink: 0; }
.resume .bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; }
.resume .bar span { display: block; height: 100%; background: #fff; border-radius: 3px; }
.ficha { width: 100%; text-align: left; border-radius: 18px; padding: 16px; background: var(--card); display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); }
.ficha .badge { width: 52px; height: 52px; flex-shrink: 0; border-radius: 15px; background: var(--accent-tint); color: var(--accent-text); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.ficha .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ficha .n { font-size: 17px; font-weight: 600; }
.ficha .p { font-size: 14px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ficha .l { font-size: 13px; color: var(--text2); display: flex; align-items: center; gap: 5px; }
.ficha .chev { color: var(--text3); }

/* ── Sessão ─────────────────────────────── */
.ex { border-radius: 20px; background: var(--card); padding: 14px 12px 10px; box-shadow: var(--shadow); }
.ex-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 0 2px 10px; }
.ex-head h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; line-height: 22px; }
.ex-head .meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text2); }
.ex-head .cnt { font-size: 13px; font-weight: 600; color: var(--text2); white-space: nowrap; padding-top: 2px; }
.ex-head .cnt.all { color: var(--done); }
.sets-h, .set { display: grid; gap: 8px; align-items: center; }
.ex[data-load="1"] .sets-h, .ex[data-load="1"] .set { grid-template-columns: 40px minmax(0,1fr) minmax(0,1fr) 44px; }
.ex[data-load="0"] .sets-h, .ex[data-load="0"] .set { grid-template-columns: 40px minmax(0,1fr) 44px; }
.sets-h { padding: 0 6px 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--text2); text-align: center; }
.sets { display: flex; flex-direction: column; gap: 2px; }
.set { padding: 2px 6px; border-radius: 11px; transition: background .18s ease; }
.set.done { background: var(--done-row); }
.set .no { display: flex; justify-content: center; }
.set .no span { width: 28px; height: 28px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; background: var(--chip); color: var(--text2); }
.set .del { width: 40px; height: 44px; display: none; align-items: center; justify-content: center; color: var(--danger); }
.ex.editing .set .del { display: flex; }
.ex.editing .set .no span { display: none; }
.fld { width: 100%; height: 40px; border: none; border-radius: 9px; background: var(--field); text-align: center; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); padding: 0 4px; outline: none; }
.fld:focus { box-shadow: 0 0 0 2px var(--accent-text) inset; background: var(--card); }
.set.done .fld { background: transparent; }
.set.done .fld:focus { background: var(--card); }
.fld.bad { box-shadow: 0 0 0 2px var(--danger) inset; }
.fld::placeholder { color: var(--text3); font-weight: 500; }
.chk { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.chk span { width: 32px; height: 32px; border-radius: 9px; border: 2px solid var(--sep2); background: var(--card); color: transparent; display: flex; align-items: center; justify-content: center; transition: background .18s ease, border-color .18s ease, transform .12s ease; }
.chk:active span { transform: scale(.92); }
.set.done .chk span { background: var(--done); border-color: var(--done); color: #fff; }
.ex-foot { display: flex; gap: 8px; padding: 10px 2px 2px; }
.ex-foot .grow { flex: 1; }
.note { display: block; margin: 10px 2px 0; }
.note span { display: block; font-size: 12px; font-weight: 600; color: var(--text2); margin-bottom: 6px; letter-spacing: .03em; }
.note textarea, .textarea { width: 100%; border: none; border-radius: 10px; padding: 10px 12px; background: var(--field); font-size: 16px; resize: none; min-height: 64px; outline: none; color: var(--text); }
.note textarea:focus, .textarea:focus { box-shadow: 0 0 0 2px var(--accent-text) inset; }
.finish-hint { text-align: center; font-size: 13px; color: var(--text2); margin: 2px 0 0; }
@keyframes shake { 0%,100% { transform: translateX(0) } 25% { transform: translateX(-4px) } 75% { transform: translateX(4px) } }
.shake { animation: shake .25s ease 2; }

/* ── Formulários ─────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--text2); padding: 0 4px; letter-spacing: .03em; }
.input { width: 100%; height: 48px; border: none; border-radius: 12px; padding: 0 14px; background: var(--card); font-size: 17px; outline: none; color: var(--text); box-shadow: var(--shadow); }
.sheet .input, .input.flat { background: var(--card); box-shadow: none; }
.input:focus { box-shadow: 0 0 0 2px var(--accent-text) inset; }
.search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--seg); color: var(--text2); }
.sheet .search { background: var(--card); }
.search input { flex: 1; min-width: 0; border: none; background: transparent; font-size: 17px; color: var(--text); outline: none; height: 100%; }
.hint { font-size: 13px; line-height: 18px; color: var(--text2); padding: 0 4px; margin: 0; }
.err { font-size: 14px; color: var(--danger); padding: 0 4px; margin: 0; }
.warn { border-radius: 14px; background: var(--warn-bg); color: var(--warn-text); padding: 12px 14px; font-size: 14px; line-height: 20px; display: flex; gap: 10px; }

/* ── Histórico ─────────────────────────────── */
.wrow .date { width: 46px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.wrow .date small { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--accent-text); }
.wrow .date b { font-size: 24px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.best { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.best b { font-size: 16px; font-variant-numeric: tabular-nums; }
.best small { font-size: 11px; color: var(--text2); }
.detail-title { padding: 6px 6px 16px; }
.detail-title h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.detail-title p { margin: 4px 0 0; font-size: 15px; color: var(--text2); }
.hex { padding: 14px 16px; }
.hex .hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.hex .hd h3 { margin: 0; font-size: 16px; font-weight: 600; }
.hset { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 34px; }
.hset + .hset { border-top: .5px solid var(--sep); }
.hset .i { font-size: 14px; font-weight: 600; color: var(--text2); }
.hset .v { font-size: 16px; font-variant-numeric: tabular-nums; }
.hset .x { font-size: 13px; color: var(--text2); }
.hnote { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--accent-tint); font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.hnote .ic { color: var(--accent-text); margin-top: 1px; }
.hmetric { margin-top: 8px; padding-top: 8px; border-top: .5px solid var(--sep); font-size: 13px; color: var(--text2); }
.eset { display: grid; grid-template-columns: 40px minmax(0,1fr) minmax(0,1fr); gap: 8px; align-items: center; padding: 2px 0; }
.eset.noload { grid-template-columns: 40px minmax(0,1fr); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 15px; font-weight: 600; padding: 6px 10px; border-radius: 9px; background: var(--field); font-variant-numeric: tabular-nums; }

/* ── Evolução ─────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.tile { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.tile .l { font-size: 13px; color: var(--text2); }
.tile .v { font-size: 24px; line-height: 28px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tile .v small { font-size: 14px; font-weight: 600; color: var(--text2); margin-left: 3px; }
.tile .s { font-size: 12px; color: var(--text2); }
.chart-card { padding: 14px 16px 12px; margin-bottom: 14px; }
.metric-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.metric-chips button { height: 32px; padding: 0 12px; border-radius: 16px; font-size: 14px; font-weight: 600; background: var(--chip); color: var(--text2); }
.metric-chips button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.chart-card h2 { margin: 0; font-size: 15px; font-weight: 600; }
.chart-card .desc { margin: 2px 0 10px; font-size: 13px; color: var(--text2); }
.chart { width: 100%; height: auto; display: block; touch-action: pan-y; }
.chart text { font-size: 11px; fill: var(--text2); font-family: var(--font); font-variant-numeric: tabular-nums; }
.picker-btn { width: 100%; text-align: left; border-radius: 16px; padding: 12px 14px; margin-bottom: 12px; background: var(--card); display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.picker-btn .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-text); display: flex; align-items: center; justify-content: center; }
.rec { padding: 11px 14px; display: flex; flex-direction: column; gap: 6px; }
.rec + .rec { border-top: .5px solid var(--sep); }
.rec .a { display: flex; justify-content: space-between; font-size: 14px; }

/* ── Folhas e diálogos ─────────────────────────────── */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.38); opacity: 0; transition: opacity .2s ease; }
.overlay.in { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-height: calc(100% - var(--safe-top) - 24px); border-radius: 22px 22px 0 0; background: var(--sheet); padding: 8px 16px calc(var(--safe-bottom) + 18px); display: flex; flex-direction: column; gap: 14px; transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); max-width: 640px; margin: 0 auto; }
.sheet.in { transform: translateY(0); }
.sheet .grab { align-self: center; width: 38px; height: 5px; border-radius: 3px; background: var(--sep2); flex-shrink: 0; }
.sheet .sh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sheet .sh h2 { margin: 0; font-size: 20px; font-weight: 700; }
.sheet .x { width: 36px; height: 36px; border-radius: 18px; background: var(--chip); color: var(--text2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sheet .body { overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.sheet .list { box-shadow: none; flex-shrink: 0; }
.dialog-wrap { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.42); padding: 24px; opacity: 0; transition: opacity .16s ease; }
.dialog-wrap.in { opacity: 1; }
.dialog { width: 290px; max-width: 100%; border-radius: 18px; background: var(--sheet); overflow: hidden; text-align: center; transform: scale(1.05); transition: transform .16s ease; }
.dialog-wrap.in .dialog { transform: scale(1); }
.dialog .tx { padding: 20px 18px 16px; }
.dialog h2 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.dialog p { margin: 0; font-size: 14px; line-height: 19px; color: var(--text2); white-space: pre-line; }
.dialog button { width: 100%; min-height: 48px; border-top: .5px solid var(--sep); color: var(--accent-text); font-size: 17px; padding: 8px 12px; }
.dialog button.strong { font-weight: 600; }
.dialog button.danger { color: var(--danger); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px); z-index: 70; transform: translate(-50%, 20px); opacity: 0; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 14px; font-size: 15px; font-weight: 600; transition: all .22s ease; max-width: calc(100% - 32px); text-align: center; pointer-events: none; }
.toast.in { transform: translate(-50%, 0); opacity: 1; }

/* ── Configurações ─────────────────────────────── */
.set-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--accent); flex-shrink: 0; }
.set-icon.gray { background: #8E8E93; }
.set-icon.green { background: #1E9150; }
.tpl-ex { padding: 12px 12px 10px; }
.tpl-ex .hd { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.tpl-ex .hd .grow { flex: 1; min-width: 0; padding-left: 2px; }
.tpl-ex .hd .grow b { display: block; font-size: 16px; font-weight: 600; }
.tpl-ex .hd .icon-btn { width: 38px; height: 38px; color: var(--text2); }
.tpl-ex .hd .icon-btn.danger { color: var(--danger); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
