/* Mi Ritmo Digital en Familia — MRD look (Nunito 800 headings, DM Sans body).
   Blue #2563EB = sleep, amber #F59E0B = screen, coral #EF4444 = content, slate #1E293B = text.
   Mobile first: 360–430 px. Light theme only. */

/* Self-hosted fonts (assets/fonts, SIL OFL 1.1). Nothing loads from Google. */
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url('assets/fonts/nunito-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url('assets/fonts/dmsans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: italic; font-weight: 100 1000; font-display: swap;
  src: url('assets/fonts/dmsans-italic-latin.woff2') format('woff2');
}

:root {
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --line: #E2E8F0;
  --line-2: #CBD5E1;
  --text: #1E293B;
  --text-2: #334155;
  --muted: #64748B;
  --blue: #2563EB;
  --blue-d: #1D4ED8;
  --blue-dd: #3B5C9E;
  --blue-bg: #EFF6FF;
  --blue-bd: #BFDBFE;
  --amber: #F59E0B;
  --amber-d: #B45309;
  --amber-dd: #78520F;
  --amber-bg: #FFFBEB;
  --amber-bd: #FDE68A;
  --coral: #EF4444;
  --coral-d: #B91C1C;
  --coral-bg: #FEF2F2;
  --coral-bd: #FECACA;
  --green: #15803D;
  --green-bg: #F0FDF4;
  --green-bd: #BBF7D0;
  --head: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tabs-h: 72px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #EEF2F6;
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}
#shell {
  max-width: 430px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
}
body.has-tabs #app { padding-bottom: calc(var(--tabs-h) + 16px + env(safe-area-inset-bottom)); }

p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 800; }
h1 { font-size: 27px; line-height: 1.2; }
a { color: var(--blue-d); }
a:hover { color: #1E3A8A; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- layout */
.page { display: flex; flex-direction: column; gap: 16px; padding: 18px 20px 24px; }
.center-page { min-height: 80vh; align-items: center; justify-content: center; text-align: center; padding: 32px 28px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.stack-xs { display: flex; flex-direction: column; gap: 8px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.min0 { min-width: 0; }
.block { display: block; }
.center { text-align: center; }
.spacer { flex: 1; }

/* ---------- type */
.title { display: flex; flex-direction: column; gap: 4px; }
.sub { font-size: 16px; color: var(--muted); line-height: 1.45; }
.h2 { font-family: var(--head); font-size: 19px; font-weight: 800; margin: 4px 0 0; }
.h3 { font-family: var(--head); font-size: 16px; font-weight: 800; }
.h4 { font-family: var(--head); font-size: 14px; font-weight: 800; }
.label { font-family: var(--head); font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.label-s { font-family: var(--head); font-size: 14px; font-weight: 800; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.4; }
.body2 { font-size: 15px; color: var(--text-2); line-height: 1.45; }
.lead { font-size: 17px; color: var(--text-2); line-height: 1.45; }
.num-xl { font-family: var(--head); font-size: 34px; font-weight: 800; line-height: 1.1; }
.num-l { font-family: var(--head); font-size: 26px; font-weight: 800; line-height: 1.1; }
.blue { color: var(--blue-d); }
.blue-dark { color: var(--blue-dd); font-size: 14px; line-height: 1.4; }
.amber { color: var(--amber-d); }
.amber-dark { color: var(--amber-dd); }
.hint { font-size: 14px; color: var(--muted); line-height: 1.45; }
.privacy { padding: 0 4px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.link { font-size: 14px; font-weight: 700; }

/* ---------- brand + nav */
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand-name { font-family: var(--head); font-size: 15px; font-weight: 800; line-height: 1.2; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; color: var(--muted); background: transparent;
}
.icon-btn:hover { background: var(--blue-bg); color: var(--blue-d); }
.dot { position: absolute; top: 9px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); border: 2px solid var(--bg); }
.badge {
  flex: none; padding: 4px 12px; border-radius: 20px; background: var(--blue-bg); border: 1px solid var(--blue-bd);
  color: var(--blue-d); font-family: var(--head); font-size: 13px; font-weight: 800; white-space: nowrap;
}
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.back {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 4px;
  font-family: var(--head); font-size: 16px; font-weight: 800; color: var(--blue-d); text-decoration: none; margin: -6px 0 -4px;
}
#tabs {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px;
  height: calc(var(--tabs-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  display: flex; background: #FFFFFF; border-top: 1px solid var(--line); z-index: 10;
}
#tabs[hidden] { display: none; }
#tabs a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-decoration: none; color: var(--muted); font-family: var(--head); font-size: 13px; font-weight: 700;
}
#tabs a[aria-current="page"] { color: var(--blue-d); font-weight: 800; }

#toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabs-h) + 20px + env(safe-area-inset-bottom));
  width: calc(100% - 40px); max-width: 390px; padding: 14px 16px; border-radius: 14px; background: var(--text); color: #FFFFFF;
  font-family: var(--head); font-size: 15px; font-weight: 800; text-align: center; z-index: 20; box-shadow: 0 8px 24px rgba(15, 23, 42, .2);
}
#toast[hidden] { display: none; }

/* ---------- cards */
.card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.card.tight { padding: 14px; gap: 8px; }
.card-amber { background: var(--amber-bg); border-color: var(--amber-bd); gap: 4px; }
.card-blue { background: var(--blue-bg); border-color: var(--blue-bd); gap: 6px; }
.card-top-amber { border-color: var(--amber-bd); border-top: 4px solid var(--amber); gap: 12px; }
.card-top-blue { border-top: 4px solid var(--blue); }
.card-top-slate { border-top: 4px solid var(--text); }
.card.prompt { gap: 8px; }
.card.prompt .btn { margin-top: 4px; }
.total { gap: 2px; }
.total .muted { font-size: 15px; }
.trend-line { margin-top: 6px; font-size: 14px; font-weight: 700; }
.trend-down { color: var(--green); }
.trend-up { color: var(--amber-d); }
.trend-same { color: var(--muted); }
.app-mini { display: flex; flex-direction: column; gap: 1px; }
.app-name { font-size: 14px; font-weight: 700; }
.app-time { font-size: 13px; color: var(--amber-dd); }
.healthy { padding: 12px 14px; border-radius: 14px; background: var(--blue-bg); border: 1px solid var(--blue-bd); font-size: 14px; color: var(--blue-dd); line-height: 1.45; }
.banner {
  display: block; padding: 12px 14px; border-radius: 14px; background: var(--amber-bg); border: 1px solid var(--amber-bd);
  color: var(--amber-dd); font-weight: 700; font-size: 14px; text-decoration: none; line-height: 1.4;
}
.note { padding: 10px 12px; border-radius: 12px; background: #F1F5F9; font-size: 15px; }
.note-ok { background: var(--green-bg); border: 1px solid var(--green-bd); color: var(--green); font-weight: 700; }

/* ---------- members */
.avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-bg); color: var(--blue-d);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 18px; font-weight: 800;
}
.avatar-lg { width: 56px; height: 56px; font-size: 24px; }
.avatar-sm { width: 32px; height: 32px; font-size: 15px; }
.member {
  display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--card);
  border: 1px solid var(--line); text-decoration: none; color: var(--text);
}
a.member:hover { border-color: var(--blue-bd); color: var(--text); }
a.member:active { background: #F8FAFC; }
.member-off { background: #F8FAFC; }
.member-off .avatar { background: #F1F5F9; color: var(--muted); }
.member-top { display: flex; align-items: center; gap: 12px; }
.who { flex: 1; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.who .name { font-family: var(--head); font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.rel { width: 100%; font-size: 13px; color: var(--muted); }
.num-col { flex: none; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.num-col .num-l { font-size: 28px; line-height: 1.05; white-space: nowrap; }
.trend { font-size: 13px; font-weight: 700; }
.member-foot { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid #F1F5F9; font-size: 14px; }
.goal-line { flex: 1; min-width: 0; color: var(--muted); }
.pill {
  flex: none; display: inline-block; font-family: var(--head); font-size: 12px; font-weight: 800; border-radius: 999px;
  padding: 2px 10px; border: 1px solid transparent; white-space: nowrap; vertical-align: middle;
}
.pill-me { color: var(--blue-d); background: var(--blue-bg); padding: 2px 8px; }
.pill-ok { color: var(--green); background: var(--green-bg); border-color: var(--green-bd); }
.pill-way { color: var(--amber-d); background: var(--amber-bg); border-color: var(--amber-bd); }
.pill-new { color: var(--blue-d); background: var(--blue-bg); border-color: var(--blue-bd); }

.locked { gap: 8px; }
.who-list { list-style: none; margin: 0; padding: 8px 16px; gap: 0; }
.who-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F1F5F9; }
.who-list li:last-child { border-bottom: none; }
.who-list .name { flex: 1; font-weight: 700; }
.share-state { font-size: 13px; font-weight: 700; color: var(--muted); }
.share-state.on { color: var(--green); }

/* ---------- person */
.person-head { flex-direction: row; align-items: center; gap: 16px; }
.goal-big { font-family: var(--head); font-size: 20px; font-weight: 800; line-height: 1.25; }
.bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar > div { height: 100%; border-radius: 999px; background: var(--blue); }
.bar-amber { height: 8px; background: var(--amber-bg); }
.bar-amber > div { background: var(--amber); }
.app-row { display: flex; flex-direction: column; gap: 6px; }
.app-row-top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.app-row .app-name { font-size: 15px; }
.help { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.help p:last-child { font-size: 14px; color: var(--text-2); line-height: 1.45; }

.composer { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.composer > .h3 { font-size: 17px; }
.pick {
  min-height: 52px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line-2); background: #FFFFFF;
  font-size: 15px; cursor: pointer; line-height: 1.3;
}
.pick-cheer { font-family: var(--head); font-weight: 700; }
.pick-reminder { min-height: 48px; padding: 10px 14px; text-align: left; font-weight: 500; }
.pick[aria-pressed="true"] { border: 2px solid var(--blue); background: var(--blue-bg); color: var(--blue-d); font-weight: 800; }
.pick-reminder[aria-pressed="true"] { font-weight: 700; }
.counter { margin-top: -6px; font-size: 12px; color: var(--muted); text-align: right; }

/* ---------- forms + buttons */
.btn {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 18px; border-radius: 14px;
  font-family: var(--head); font-size: 17px; font-weight: 800; text-decoration: none; cursor: pointer; text-align: center; border: none;
}
.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { background: var(--blue-d); color: #FFFFFF; }
.btn-primary:disabled { background: #93B4F5; cursor: not-allowed; }
.btn-secondary { min-height: 48px; background: #FFFFFF; border: 1px solid var(--blue-bd); color: var(--blue-d); font-size: 16px; }
.btn-secondary:hover { background: var(--blue-bg); }
.btn-link { min-height: 44px; background: none; color: var(--blue-d); font-size: 16px; }
.btn-danger { background: var(--coral-d); color: #FFFFFF; font-size: 16px; }
.btn-danger-outline { min-height: 48px; background: #FFFFFF; border: 1px solid var(--coral-bd); color: var(--coral-d); font-size: 16px; }
.btn-text { align-self: flex-start; min-height: 44px; padding: 0 4px; border: none; background: none; color: var(--blue-d); font-family: var(--head); font-size: 14px; font-weight: 800; cursor: pointer; }
.btn[aria-busy="true"] { opacity: .75; }

.form { gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; border: none; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-family: var(--head); font-size: 16px; font-weight: 800; padding: 0; margin-bottom: 6px; }
.field legend + .seg { margin-top: 0; }
.field .hint { margin-top: -4px; }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: #FFFFFF;
  font-size: 16px; color: var(--text);
}
textarea.input { resize: none; min-height: 0; font-size: 15px; }
.input:focus { border-color: var(--blue); outline: 2px solid var(--blue-bd); outline-offset: 0; }
.input-code { font-family: var(--head); font-size: 26px; font-weight: 800; letter-spacing: 0.3em; text-align: center; }
select.input { appearance: auto; }
.form-error { padding: 10px 12px; border-radius: 12px; background: var(--coral-bg); border: 1px solid var(--coral-bd); color: var(--coral-d); font-size: 15px; font-weight: 700; }
.form-error[hidden] { display: none; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg button {
  min-height: 50px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line-2); background: #FFFFFF;
  font-family: var(--head); font-size: 16px; font-weight: 700; cursor: pointer;
}
.seg button[aria-pressed="true"] { border: 2px solid var(--blue); background: var(--blue-bg); color: var(--blue-d); font-weight: 800; }
/* Familia tab: "Semana pasada" | "Esta semana" (Wednesday 20:00 to Sunday 20:00 only). */
.week-switch a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 56px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line-2); background: #FFFFFF;
  font-family: var(--head); font-size: 16px; font-weight: 700; color: inherit; text-decoration: none; text-align: center;
}
.week-switch a .small { font-family: var(--body, inherit); font-weight: 600; }
.week-switch a[aria-current="page"] { border: 2px solid var(--blue); background: var(--blue-bg); color: var(--blue-d); font-weight: 800; }

.option {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 14px;
  border: 1px solid var(--line-2); background: #FFFFFF; font-size: 16px; font-weight: 500; text-align: left; cursor: pointer;
}
.option .radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: flex; align-items: center; justify-content: center; }
.option .radio svg { display: none; }
.option[aria-checked="true"] { border: 2px solid var(--blue); background: var(--blue-bg); font-weight: 700; }
.option[aria-checked="true"] .radio { background: var(--blue); border-color: var(--blue); }
.option[aria-checked="true"] .radio svg { display: block; }
.selfcheck { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }

/* ---------- consent */
.rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rules li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); }
.rule-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-bg); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.rules p { font-size: 15px; line-height: 1.45; color: var(--text-2); }
.rules strong { font-family: var(--head); font-weight: 800; color: var(--text); }
.checklist { list-style: none; margin: 0; gap: 8px; }
.checklist li::before { content: '✓ '; color: var(--green); font-weight: 800; }
.steps { margin: 0; padding: 16px 16px 16px 36px; gap: 6px; }
.steps li { font-size: 15px; }

/* ---------- inbox */
.msg { flex-direction: row; gap: 12px; }
.msg-new { border-color: var(--blue-bd); box-shadow: inset 4px 0 0 var(--blue); }
.msg-from { font-size: 14px; font-weight: 700; color: var(--muted); }
.msg-text { font-family: var(--head); font-size: 17px; font-weight: 800; }
.msg .min0 { display: flex; flex-direction: column; gap: 4px; }

/* ---------- anotar */
.stepper-card { padding: 18px 16px; gap: 14px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper-label { font-family: var(--head); font-size: 17px; font-weight: 800; }
.stepper-ctrl { display: flex; align-items: center; gap: 14px; }
.stepper-val { min-width: 40px; text-align: center; font-family: var(--head); font-size: 30px; font-weight: 800; }
.round {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--blue-bd); background: var(--blue-bg); color: var(--blue-d);
  font-size: 24px; font-weight: 700; cursor: pointer; line-height: 1;
}
.divider { height: 1px; background: var(--line); }
.done-mark { width: 80px; height: 80px; border-radius: 50%; background: var(--blue-bg); border: 1px solid var(--blue-bd); display: flex; align-items: center; justify-content: center; }
.center-page .btn { align-self: stretch; }

/* ---------- conversar */
.tag { align-self: flex-start; padding: 3px 10px; border-radius: 20px; font-family: var(--head); font-size: 12px; font-weight: 800; border: 1px solid; }
.conv-title { font-family: var(--head); font-size: 18px; font-weight: 800; line-height: 1.3; }
.calm { font-size: 14px; font-style: italic; color: var(--muted); line-height: 1.45; }
.expander {
  display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--blue-bd); background: var(--blue-bg); color: var(--blue-d); font-family: var(--head); font-size: 15px; font-weight: 800; cursor: pointer;
}
.conv-body { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.conv-step { display: flex; gap: 12px; }
.conv-step > div { display: flex; flex-direction: column; gap: 4px; }
.step-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 14px; font-weight: 800; }
.resist { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--amber-bg); border: 1px solid var(--amber-bd); color: var(--amber-dd); }
.resist p:last-child { font-size: 15px; line-height: 1.45; }
.avoid { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; background: #F1F5F9; }
.avoid p:not(.label) { font-size: 14px; color: var(--text-2); line-height: 1.45; }
.anchor { font-family: var(--head); font-size: 18px; font-weight: 800; line-height: 1.35; color: var(--blue-d); }

/* ---------- hábitos */
.feat { padding: 18px 16px; border-radius: 18px; border-top-width: 4px; }
.feat-text { font-family: var(--head); font-size: 21px; font-weight: 800; line-height: 1.3; }
.habit-group { padding: 14px; gap: 8px; }
.habit {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: #FFFFFF; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; line-height: 1.35;
}
.habit-dot { flex: none; width: 8px; height: 8px; margin: 0 4px; border-radius: 50%; background: var(--accent); }
.habit[aria-pressed="true"] { border: 2px solid var(--accent); background: var(--bg); font-weight: 700; }
.habit[aria-pressed="true"] { background: var(--bg); }
.switch-row { flex-direction: row; align-items: center; gap: 12px; }
.switch-row .min0 { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.switch {
  flex: none; width: 52px; height: 32px; padding: 3px; border: none; border-radius: 999px; background: var(--line-2);
  display: flex; justify-content: flex-start; cursor: pointer;
}
.switch span { width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; }
.switch[aria-checked="true"] { background: var(--blue); justify-content: flex-end; }

/* ---------- ajustes */
.danger-box { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; background: var(--coral-bg); border: 1px solid var(--coral-bd); color: var(--coral-d); }
.danger-box p:not(.h4) { font-size: 15px; color: var(--text-2); }

/* ---------- states */
.center-msg { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px 28px; text-align: center; color: var(--muted); }
.center-msg .h2 { color: var(--text); }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 4px solid var(--blue-bg); border-top-color: var(--blue); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

@media (max-width: 370px) {
  .page { padding-left: 16px; padding-right: 16px; }
  .num-col .num-l { font-size: 25px; }
  .num-xl { font-size: 30px; }
}
