:root {
  --primary: #5B4CF0;
  --primary-600: #4A3BD9;
  --primary-50: #EEECFE;
  --primary-100: #DEDAFD;
  --accent: #14B8A6;
  --bg: #F4F5FB;
  --surface: #FFFFFF;
  --surface-2: #F8F8FC;
  --border: #E6E7F0;
  --text: #1B1C2E;
  --text-2: #5B5E78;
  --muted: #9093AB;
  --good: #12A150;
  --good-bg: #E6F6EC;
  --warn: #C27803;
  --warn-bg: #FEF3DC;
  --bad: #D93A3A;
  --bad-bg: #FDE8E8;
  --t-anterior: #2F80ED;
  --t-posterior: #EA6A1F;
  --t-fullbody: #12A150;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(27, 28, 46, .04), 0 4px 16px rgba(27, 28, 46, .06);
  --shadow-lg: 0 10px 40px rgba(27, 28, 46, .18);
  --tab-h: 64px;
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }

/* ---------- layout */
.shell { display: flex; min-height: 100vh; }
.sidebar { display: none; }
.main { flex: 1; min-width: 0; padding-bottom: calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); }
.page { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.topbar {
  position: sticky; top: 0; z-index: 20; background: rgba(244, 245, 251, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
}
.topbar-in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 12px; min-height: 40px; }
.topbar h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .sub { color: var(--text-2); font-size: 13px; font-weight: 500; }
.back { width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; flex: none; }
.brand-mini { display: flex; align-items: center; gap: 8px; }
.brand-mini img { width: 32px; height: 32px; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface);
  border-top: 1px solid var(--border); display: flex; height: calc(var(--tab-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); font-size: 11px; font-weight: 600;
}
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a.on { color: var(--primary); }

@media (min-width: 900px) {
  .sidebar {
    display: flex; flex-direction: column; width: 248px; flex: none; background: var(--surface);
    border-right: 1px solid var(--border); padding: 20px 14px; position: sticky; top: 0; height: 100vh;
  }
  .sidebar .brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 24px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
  .sidebar .brand img { width: 36px; height: 36px; }
  .sidebar nav a {
    display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--text-2);
    font-weight: 600; margin-bottom: 2px;
  }
  .sidebar nav a svg { width: 22px; height: 22px; }
  .sidebar nav a:hover { background: var(--surface-2); }
  .sidebar nav a.on { background: var(--primary-50); color: var(--primary); }
  .sidebar .me { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; cursor: pointer; }
  .sidebar .me:hover { background: var(--surface-2); }
  .tabbar { display: none; }
  .main { padding-bottom: 40px; }
  .topbar { padding-top: 20px; }
  .hide-desk { display: none !important; }
}

/* ---------- components */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.card + .card, .stack > * + * { margin-top: 12px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 24px 0 10px; gap: 8px; }
.section-title h2 { font-size: 17px; font-weight: 700; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.bold { font-weight: 700; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: 12px; border: 0; background: var(--primary); color: #fff; font-weight: 700; cursor: pointer;
  white-space: nowrap; transition: background .15s, transform .05s;
}
.btn:hover { background: var(--primary-600); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: default; }
.btn svg { width: 18px; height: 18px; }
.btn.block { width: 100%; }
.btn.lg { height: 52px; font-size: 16px; border-radius: 14px; }
.btn.ghost { background: var(--primary-50); color: var(--primary); }
.btn.ghost:hover { background: var(--primary-100); }
.btn.light { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.btn.light:hover { background: var(--surface-2); }
.btn.danger { background: var(--bad-bg); color: var(--bad); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; color: var(--text-2); flex: none; }
.icon-btn.flat { box-shadow: none; background: transparent; width: 34px; height: 34px; }
.icon-btn.flat:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }

.fab {
  position: fixed; right: 16px; bottom: calc(var(--tab-h) + 16px + env(safe-area-inset-bottom)); z-index: 25;
  width: 56px; height: 56px; border-radius: 18px; border: 0; background: var(--primary); color: #fff;
  box-shadow: 0 8px 24px rgba(91, 76, 240, .4); display: grid; place-items: center; cursor: pointer;
}
.fab svg { width: 26px; height: 26px; }
@media (min-width: 900px) { .fab { bottom: 28px; right: 28px; } }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px;
  background: var(--surface-2); color: var(--text-2); font-size: 12px; font-weight: 600; white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--border);
}
.chip.primary { background: var(--primary-50); color: var(--primary); box-shadow: none; }
.chip.good { background: var(--good-bg); color: var(--good); box-shadow: none; }
.chip.warn { background: var(--warn-bg); color: var(--warn); box-shadow: none; }
.chip.bad { background: var(--bad-bg); color: var(--bad); box-shadow: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }
.type-anterior { --tc: var(--t-anterior); }
.type-posterior { --tc: var(--t-posterior); }
.type-fullbody { --tc: var(--t-fullbody); }
.chip.type { background: color-mix(in srgb, var(--tc) 12%, white); color: var(--tc); box-shadow: none; }
.dot.type { background: var(--tc); }

.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  height: 34px; padding: 0 14px; border-radius: 99px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border);
  font-weight: 600; font-size: 13px; color: var(--text-2); cursor: pointer; white-space: nowrap; flex: none;
}
.filter.on { background: var(--text); color: #fff; box-shadow: none; }

.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input { padding-left: 42px; }

.avatar {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; color: #fff; flex: none;
  background: linear-gradient(135deg, #6C5CF6, #2F80ED); font-size: 15px;
}
.avatar.lg { width: 64px; height: 64px; border-radius: 20px; font-size: 22px; }
.avatar.sm { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }

.list-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; }
.list-item + .list-item { border-top: 1px solid var(--border); }
.list-item:hover { background: var(--surface-2); }
.list { padding: 0; overflow: hidden; }
.chev { color: var(--muted); width: 18px; height: 18px; flex: none; }

/* KPI */
.kpi { padding: 14px 16px; }
.kpi .label { color: var(--text-2); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.kpi .value { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .delta { font-size: 12px; font-weight: 600; margin-top: 2px; }
.kpi .delta.up { color: var(--good); }
.kpi .delta.down { color: var(--bad); }
.kpi.hero { background: linear-gradient(135deg, #5B4CF0 0%, #2F80ED 100%); color: #fff; }
.kpi.hero .label, .kpi.hero .delta { color: rgba(255, 255, 255, .85); }

/* sesiones */
.session-card { display: flex; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; position: relative; }
.session-card::before { content: ""; width: 4px; align-self: stretch; border-radius: 4px; background: var(--tc); flex: none; }
.session-card .title { font-weight: 700; }
.status { font-size: 12px; font-weight: 700; }

.hero-card {
  background: linear-gradient(135deg, #5B4CF0 0%, #2F80ED 100%); color: #fff; border-radius: 20px; padding: 20px;
  box-shadow: 0 10px 30px rgba(91, 76, 240, .28);
}
.hero-card .muted, .hero-card .text-2 { color: rgba(255, 255, 255, .8); }
.hero-card .btn { background: #fff; color: var(--primary); }
.hero-card .chip { background: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; }

/* calendario */
.cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.cal-head h2 { flex: 1; font-size: 18px; font-weight: 800; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-day {
  aspect-ratio: 1 / 1.05; border-radius: 12px; border: 0; background: transparent; cursor: pointer; padding: 6px 2px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; color: var(--text);
}
.cal-day.out { color: var(--muted); opacity: .5; }
.cal-day:hover { background: var(--surface-2); }
.cal-day.today .n { background: var(--primary-50); color: var(--primary); }
.cal-day.sel .n { background: var(--primary); color: #fff; }
.cal-day .n { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; }
.cal-day .dots { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; max-width: 34px; }
.cal-day .dots .dot { width: 6px; height: 6px; }
.cal-day .dots .dot.done { opacity: .35; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-2); font-weight: 600; margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 900px) {
  .cal-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .cal-day { aspect-ratio: 1 / .85; }
}

.week-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.week-strip .d { text-align: center; padding: 8px 0; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); font-size: 12px; color: var(--text-2); font-weight: 600; cursor: pointer; }
.week-strip .d b { display: block; font-size: 16px; color: var(--text); margin: 2px 0 4px; }
.week-strip .d .dot { margin: 0 auto; }
.week-strip .d.today { box-shadow: inset 0 0 0 2px var(--primary); }

/* formularios */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--text-2); }
.input, select.input, textarea.input {
  width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
  padding: 0 14px; outline: none; transition: border .15s, box-shadow .15s; font-size: 16px;
}
textarea.input { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.form-section { margin-top: 16px; }
.form-section h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.form-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 420px) { .form-grid { grid-template-columns: 1fr; } .form-grid .half-sm { grid-column: auto; } }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button {
  min-width: 42px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  font-weight: 600; cursor: pointer; color: var(--text-2);
}
.seg button.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* sesión / registro */
.ex-card { padding: 14px 16px; }
.ex-head { display: flex; gap: 12px; align-items: flex-start; }
.ex-num { width: 30px; height: 30px; border-radius: 10px; background: var(--primary-50); color: var(--primary); font-weight: 800; display: grid; place-items: center; flex: none; font-size: 14px; }
.ex-name { font-weight: 700; font-size: 16px; }
.presc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.presc .chip { height: 28px; font-size: 13px; }
.note { font-size: 12px; color: var(--text-2); margin-top: 8px; background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.note.up { background: var(--good-bg); color: var(--good); }
.note.down { background: var(--bad-bg); color: var(--bad); }
.note.keep { background: var(--warn-bg); color: var(--warn); }

.sets { width: 100%; border-collapse: separate; border-spacing: 0 6px; margin-top: 10px; }
.sets th { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; text-align: left; padding: 0 4px; }
.sets td { padding: 0 4px; }
.sets td:first-child { width: 48px; font-weight: 700; color: var(--text-2); }
.sets .input { height: 44px; text-align: center; padding: 0 6px; font-weight: 700; font-variant-numeric: tabular-nums; }

.rpe { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-top: 8px; }
.rpe button {
  height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-weight: 800; cursor: pointer;
  color: var(--text-2); padding: 0; font-variant-numeric: tabular-nums;
}
.rpe button.z-easy.on { background: var(--good); border-color: var(--good); color: #fff; }
.rpe button.z-ok.on { background: var(--warn); border-color: var(--warn); color: #fff; }
.rpe button.z-hard.on { background: var(--bad); border-color: var(--bad); color: #fff; }
.rpe-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; font-weight: 600; gap: 6px; }
.rpe-badge { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 6px; border-radius: 8px; font-size: 12px; font-weight: 800; color: #fff; }
.rpe-badge.z-easy { background: var(--good); }
.rpe-badge.z-ok { background: var(--warn); }
.rpe-badge.z-hard { background: var(--bad); }

.result-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.result-table th { text-align: left; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 6px 4px; border-bottom: 1px solid var(--border); }
.result-table td { padding: 8px 4px; border-bottom: 1px solid var(--border); }
.result-table tr:last-child td { border-bottom: 0; }

.sticky-bottom {
  position: sticky; bottom: calc(var(--tab-h) + 8px + env(safe-area-inset-bottom)); z-index: 10; margin-top: 16px;
  padding: 10px; background: rgba(244, 245, 251, .9); backdrop-filter: blur(8px); border-radius: 18px;
}
@media (min-width: 900px) { .sticky-bottom { bottom: 12px; } }

/* tabs */
.tabs { display: flex; gap: 4px; background: #E9EAF3; border-radius: 12px; padding: 4px; margin: 16px 0 12px; overflow-x: auto; }
.tabs button { flex: 1; height: 36px; border: 0; border-radius: 9px; background: transparent; font-weight: 700; font-size: 13px; color: var(--text-2); cursor: pointer; white-space: nowrap; padding: 0 10px; }
.tabs button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* detalle de cliente */
.profile-head { display: flex; gap: 14px; align-items: center; }
.contact { display: flex; gap: 8px; margin-top: 14px; }
.contact a { flex: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.stats div { background: var(--surface-2); border-radius: 12px; padding: 10px 6px; text-align: center; }
.stats b { display: block; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stats span { font-size: 11px; color: var(--text-2); font-weight: 600; }
.dl { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 10px 12px; font-size: 14px; }
.dl dt { color: var(--text-2); }
.dl dd { margin: 0; font-weight: 600; word-break: break-word; }

/* gráficos */
.chart { position: relative; width: 100%; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .bar { fill: var(--primary); transition: opacity .15s; }
.chart .bar.dim { opacity: .45; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .grid-line { stroke: var(--border); stroke-width: 1; }
.chart .axis-label { fill: var(--muted); font-size: 11px; font-weight: 500; }
.chart .val-label { fill: var(--text); font-size: 11px; font-weight: 700; }
.tooltip {
  position: fixed; z-index: 80; pointer-events: none; background: var(--text); color: #fff; padding: 8px 10px; border-radius: 10px;
  font-size: 12px; font-weight: 600; box-shadow: var(--shadow-lg); white-space: nowrap; transform: translate(-50%, calc(-100% - 10px));
}
.spark { stroke: var(--primary); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spark-dot { fill: var(--primary); stroke: var(--surface); stroke-width: 2; }
details.table-view summary { cursor: pointer; font-size: 13px; color: var(--text-2); font-weight: 600; margin-top: 8px; }

/* hoja inferior */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(20, 20, 40, .45); z-index: 60; animation: fade .2s; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; background: var(--surface); border-radius: 22px 22px 0 0;
  max-height: 92vh; display: flex; flex-direction: column; animation: up .25s cubic-bezier(.2, .9, .3, 1);
  padding-bottom: env(safe-area-inset-bottom);
}
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 8px; }
.sheet-head h3 { flex: 1; font-size: 18px; font-weight: 800; }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--border); margin: 8px auto 0; }
.sheet-body { padding: 8px 16px 20px; overflow-y: auto; }
@media (min-width: 700px) {
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: 560px; border-radius: 22px; animation: fade .2s; }
  .sheet-grip { display: none; }
}
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }

#toast {
  position: fixed; left: 50%; bottom: calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px);
  background: var(--text); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; z-index: 90;
  opacity: 0; transition: all .25s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.err { background: var(--bad); }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(1200px 600px at 10% -10%, #DCD7FF 0%, transparent 60%), radial-gradient(900px 500px at 110% 110%, #CFE3FF 0%, transparent 60%), var(--bg); }
.login-box { width: 100%; max-width: 400px; }
.login-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 28px; text-align: center; }
.login-logo img { width: 76px; height: 76px; filter: drop-shadow(0 10px 24px rgba(91, 76, 240, .35)); }
.login-logo h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.demo-box { margin-top: 16px; font-size: 13px; color: var(--text-2); }
.demo-box button { all: unset; cursor: pointer; color: var(--primary); font-weight: 600; }

.empty { text-align: center; padding: 32px 16px; color: var(--text-2); }
.empty svg { width: 44px; height: 44px; margin: 0 auto 10px; color: var(--muted); }
.skeleton { height: 80px; border-radius: var(--radius); background: linear-gradient(90deg, #ECEDF5 0%, #F6F6FB 50%, #ECEDF5 100%); background-size: 200% 100%; animation: sk 1.2s infinite; }
.skeleton + .skeleton { margin-top: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.mt { margin-top: 16px; }
.mt-s { margin-top: 8px; }
.mb { margin-bottom: 16px; }
.center { text-align: center; }
.right { text-align: right; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.pay-toggle { border: 0; cursor: pointer; }

[hidden] { display: none !important; }
