/* ───────────────────────── общий каркас ───────────────────────── */

.app { min-height: 100%; }

.view {
  width: 100%;               /* без этого auto-margin в гриде сжимает по содержимому */
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px calc(var(--tabbar-h) + var(--safe-b) + 28px);
  outline: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: var(--safe-t);
  background: var(--blur-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--fast) var(--ease);
}
.topbar.is-scrolled { border-bottom-color: var(--hair); }
.topbar__inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar__title {
  font-size: 30px;
  letter-spacing: -0.03em;
  transition: font-size var(--fast) var(--ease);
}
.topbar.is-scrolled .topbar__title { font-size: 20px; }
.topbar__actions { display: flex; gap: 8px; align-items: center; }

/* ───────────────────────── таб-бар ───────────────────────── */

.tabbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  display: flex;
  padding-bottom: var(--safe-b);
  background: var(--blur-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--hair);
}
.tab {
  flex: 1;
  height: var(--tabbar-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color var(--fast) var(--ease), transform var(--fast) var(--spring);
}
.tab svg { width: 24px; height: 24px; fill: currentColor; }
.tab:active { transform: scale(0.9); }
.tab.is-active { color: var(--road); }
.tab.is-active svg { animation: pop var(--mid) var(--spring); }

@keyframes pop {
  0% { transform: scale(0.82); }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ───────────────────────── карточки и списки ───────────────────────── */

.card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: var(--gap);
}
.card--flush { padding: 0; overflow: hidden; }
.card__title { font-size: 16px; margin-bottom: 8px; letter-spacing: -0.015em; }
.card__note { color: var(--ink-3); font-size: 14px; margin-bottom: 14px; line-height: 1.4; }

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 26px 4px 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.list { list-style: none; margin: 0; padding: 0; }
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hair);
  transition: background var(--fast) var(--ease);
}
.row:last-child { border-bottom: 0; }
.row--flush { padding-left: 0; padding-right: 0; }
button.row:active, .row--tap:active { background: var(--fill); }
.row__icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  background: var(--fill);
}
.row__main { flex: 1; min-width: 0; }
.row__title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.row__sub { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__value { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row__chev { color: var(--ink-3); font-size: 20px; }

.empty {
  padding: 34px 20px;
  text-align: center;
  color: var(--ink-3);
}
.empty__title { font-size: 17px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }

/* ───────────────────────── кнопки ───────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform var(--fast) var(--spring), opacity var(--fast) var(--ease),
              background var(--fast) var(--ease);
}
.btn:active { transform: scale(0.96); }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.btn--primary { background: var(--road); color: var(--road-ink); }
.btn--tinted { background: var(--fill); color: var(--ink); }
.btn--plain { padding: 8px 4px; color: var(--ink-2); font-weight: 500; }
.btn--accent { color: var(--road); font-weight: 700; }
.btn--danger { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.btn--block { width: 100%; }
.btn--sm { padding: 7px 14px; font-size: 14px; }
.btn--icon { width: 34px; height: 34px; padding: 0; border-radius: 50%; background: var(--fill); }

.fab {
  position: fixed;
  right: 16px;
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px);
  z-index: 35;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--road);
  color: var(--road-ink);
  font-size: 28px;
  font-weight: 400;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--road) 45%, transparent);
  animation: fab-in var(--slow) var(--spring) both;
}
@keyframes fab-in {
  from { transform: scale(0.4) translateY(16px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* ───────────────────────── поля и формы ───────────────────────── */

.form { display: grid; gap: 14px; margin-top: 18px; }
.field {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;   /* иначе поле без подсказки растягивается под соседнее */
  gap: 6px;
  min-width: 0;
}
.field__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  min-height: 18px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.field__wrap { position: relative; display: block; }
.field__input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--hair);
  background: var(--card-2);
  font-size: 16px;
  transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.field__input:focus {
  outline: none;
  border-color: var(--road);
  background: var(--card);
}
.field__input::placeholder { color: var(--ink-3); }
.field__eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  color: var(--road);
  padding: 6px;
}
.field__hint { font-size: 12px; line-height: 1.35; color: var(--ink-3); }

/* в двух- и трёхколоночных рядах подписи держим в одну строку,
   иначе перенос сдвигает поле вниз относительно соседнего */
.grid-2 > .field > .field__label,
.grid-3 > .field > .field__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
textarea.field__input { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; }
select.field__input { padding-right: 34px; }
.field--row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 10px; }

.form__error {
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 14px;
  animation: shake 400ms var(--ease);
}
.form__hint { font-size: 12px; color: var(--ink-3); text-align: center; }

@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}

.strength { display: grid; gap: 5px; }
.strength__bar { height: 4px; border-radius: 4px; background: var(--fill); overflow: hidden; }
.strength__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--danger);
  border-radius: 4px;
  transition: width var(--mid) var(--spring), background var(--mid) var(--ease);
}
.strength__text { font-size: 12px; color: var(--ink-3); }

/* сегменты */
.segmented {
  position: relative;
  display: flex;
  padding: 3px;
  background: var(--fill);
  border-radius: 11px;
  isolation: isolate;
}
.segmented__item {
  flex: 1;
  min-width: 0;
  padding: 7px 8px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color var(--fast) var(--ease);
  z-index: 1;
}
.segmented__item.is-active { color: var(--ink); }
.segmented__thumb {
  position: absolute;
  z-index: 0;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  background: var(--bg-elev);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
  transition: transform var(--mid) var(--spring), width var(--mid) var(--spring);
}

/* переключатель */
.switch { width: 51px; height: 31px; border-radius: 999px; background: var(--fill); position: relative; flex: none; transition: background var(--mid) var(--ease); }
.switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 27px; height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform var(--mid) var(--spring);
}
.switch.is-on { background: var(--own); }
.switch.is-on::after { transform: translateX(20px); }

/* выбор из списка: лента на телефоне, выпадающий список на ПК */
.picker__select { display: none; }
@media (min-width: 900px) {
  .picker__chips { display: none; }
  .picker__select { display: block; }
}

/* чипы фильтров */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--fill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--spring);
}
.chip:active { transform: scale(0.94); }
.chip.is-active { background: var(--road); color: var(--road-ink); }
.chip--add {
  background: transparent;
  border: 1px dashed var(--hair);
  color: var(--ink-2);
}

/* ───────────────────── подпись проекта: одометр ───────────────────── */

.odometer {
  background: var(--panel);
  border-radius: var(--r-xl);
  padding: 20px;
  margin-bottom: var(--gap);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.odometer__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.odometer__value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}
.odometer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.odometer__grid .gauge + .gauge {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.odo-digits {
  display: inline-flex;
  font-family: var(--mono);
  font-size: clamp(26px, 8.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--panel-ink);
  text-shadow: 0 0 18px color-mix(in srgb, var(--road) 40%, transparent);
}
.odo-digit { display: inline-block; height: 1.1em; overflow: hidden; }
.odo-digit i {
  display: block;
  font-style: normal;
  transition: transform 620ms var(--spring);
}
.odo-digit i span { display: block; height: 1.1em; }
.odo-digits--share { color: var(--share); text-shadow: none; }
.odometer__unit { font-size: 13px; color: rgba(255, 255, 255, 0.5); font-weight: 600; }
.odometer__clean {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.35;
}
.odometer__foot {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}
.odometer__stat { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.odometer__stat b { display: block; font-size: 17px; color: #fff; font-variant-numeric: tabular-nums; }

/* сравнение своя/каршеринг */
.versus { display: grid; gap: 10px; }
.versus__row { display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.versus__track { height: 10px; border-radius: 6px; background: var(--fill); overflow: hidden; }
.versus__fill {
  height: 100%;
  width: 0;
  border-radius: 6px;
  transition: width 700ms var(--spring);
}
.versus__fill--own { background: var(--own); }
.versus__fill--share { background: var(--share); }
.versus__num { font-weight: 700; font-variant-numeric: tabular-nums; }
.verdict {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--card-2);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}
.verdict b { color: var(--ink); }

/* плитки показателей */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: var(--gap); }
.tile {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow);
  animation: rise var(--slow) var(--spring) both;
}
.tile__label { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.tile__value { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.tile__sub { font-size: 12px; color: var(--ink-3); }
.tile--own .tile__value { color: var(--own); }
.tile--share .tile__value { color: var(--share); }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ───────────────────────── графики ───────────────────────── */

.chart {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;          /* уже своей карточки — стоит по центру */
  overflow: visible;
}
.chart text { font-size: 10px; fill: var(--ink-3); font-family: var(--font); }
.chart .grid-line { stroke: var(--hair); stroke-width: 1; }
.chart .bar { transition: y 600ms var(--spring), height 600ms var(--spring); }
.chart .line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  animation: draw 900ms var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart .dot { transition: opacity var(--fast) var(--ease); }
.chart .arc { transition: stroke-dashoffset 800ms var(--spring); }

.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.legend__item { display: flex; align-items: center; gap: 6px; }
.legend__dot { width: 10px; height: 10px; border-radius: 3px; }

.donut-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.donut-center { font-size: 13px; color: var(--ink-3); }
.donut-center b { display: block; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* раскладка раздела «Графики»: одна колонка на телефоне, две на ПК */
.chart-grid { display: grid; gap: var(--gap); }
.chart-grid > .card { margin-bottom: 0; }

@media (min-width: 900px) {
  .chart-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .chart-grid > .card--wide { grid-column: 1 / -1; }
  .chart-grid .donut-wrap { flex-wrap: wrap; }
}

/* ───────────────────────── шторка ───────────────────────── */

.sheet-root { position: fixed; inset: 0; z-index: 60; }
.sheet__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity var(--mid) var(--ease);
}
.sheet-root.is-open .sheet__scrim { opacity: 1; }
.sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  transform: translateY(100%);
  transition: transform var(--slow) var(--spring);
  padding-bottom: var(--safe-b);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
}
.sheet-root.is-open .sheet { transform: none; }
.sheet__grip { padding: 8px 0 2px; display: grid; place-items: center; cursor: grab; touch-action: none; }
.sheet__grip span { width: 38px; height: 5px; border-radius: 3px; background: var(--fill); }
.sheet__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 4px 12px 10px;
  border-bottom: 1px solid var(--hair);
}
.sheet__head .btn--plain:first-child { justify-self: start; }
.sheet__head .btn--plain:last-child { justify-self: end; }
.sheet__title { font-size: 17px; }
.sheet__body { padding: 16px 16px 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
/* одинаковый отступ между полями: раньше он зависел от того,
   есть ли у поля подсказка, и форма выглядела рваной */
.sheet__body > .field,
.sheet__body > .grid-2,
.sheet__body > .grid-3,
.sheet__body > .chips,
.sheet__body > .segmented { margin-bottom: 16px; }
.sheet__body > .field__hint { margin: -10px 0 16px; }
.sheet__body > .grid-2 + .field__hint,
.sheet__body > .grid-3 + .field__hint { margin-top: -10px; }
.sheet__body > *:last-child { margin-bottom: 0; }

/* уведомления */
.toasts {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 18px);
  transform: translateX(-50%);
  z-index: 80;
  display: grid;
  gap: 8px;
  width: min(92vw, 420px);
}
.toast {
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--panel);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow);
  animation: toast-in var(--mid) var(--spring);
}
.toast--error { background: var(--danger); }
.toast--ok { background: var(--own); color: #06231e; }
.toast.is-out { animation: toast-out var(--fast) var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* ───────────────────────── экран входа ───────────────────────── */

.auth {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  max-width: 420px;
  margin: 0 auto;
  padding: calc(var(--safe-t) + 40px) 20px 40px;
}
.auth__brand { text-align: center; animation: rise var(--slow) var(--spring) both; }
.auth__title { font-size: 34px; letter-spacing: -0.04em; margin-top: 14px; }
.auth__tagline { color: var(--ink-3); font-size: 15px; margin-top: 6px; }
.auth__card { padding: 20px; animation: rise var(--slow) var(--spring) 80ms both; }

.mark {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 18px;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: var(--shadow);
}
.mark__dot { width: 9px; height: 22px; border-radius: 3px; background: var(--road); animation: mark-pulse 1.6s var(--ease) infinite; }
.mark__dot:nth-child(2) { animation-delay: 160ms; opacity: 0.75; }
.mark__dot:nth-child(3) { animation-delay: 320ms; opacity: 0.5; }
@keyframes mark-pulse { 0%, 100% { transform: scaleY(0.6); } 50% { transform: scaleY(1); } }

/* заставка */
.splash {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity var(--mid) var(--ease), visibility var(--mid);
}
.splash.is-hidden { opacity: 0; visibility: hidden; }
.splash__mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--road);
  animation: mark-spin 1s var(--spring) infinite alternate;
}
@keyframes mark-spin { from { transform: rotate(0) scale(0.86); border-radius: 14px; } to { transform: rotate(90deg) scale(1); border-radius: 22px; } }

/* переход между разделами */
.view-enter { animation: view-in var(--mid) var(--spring); }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.stagger > * { animation: rise var(--slow) var(--spring) both; }
.stagger > *:nth-child(1) { animation-delay: 20ms; }
.stagger > *:nth-child(2) { animation-delay: 60ms; }
.stagger > *:nth-child(3) { animation-delay: 100ms; }
.stagger > *:nth-child(4) { animation-delay: 140ms; }
.stagger > *:nth-child(5) { animation-delay: 180ms; }
.stagger > *:nth-child(n+6) { animation-delay: 220ms; }

/* ───────────────────────── планшет и десктоп ───────────────────────── */

@media (min-width: 900px) {
  .app {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    grid-template-rows: auto 1fr;   /* шапка по содержимому, остальное — контенту */
    align-content: start;
    min-height: 100vh;
  }
  .topbar { grid-column: 2; }
  .view {
    grid-column: 2;
    max-width: 860px;
    padding-bottom: 60px;
  }
  .topbar__inner { width: 100%; max-width: 860px; }
  .tabbar {
    position: sticky;
    grid-row: 1 / 3;
    grid-column: 1;
    top: 0;
    height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    padding: 24px 12px;
    border-top: 0;
    border-right: 1px solid var(--hair);
  }
  .tab {
    flex: none;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 15px;
  }
  .tab.is-active { background: var(--fill); }
  .fab { bottom: 28px; right: 28px; }
  .toasts { bottom: 28px; left: auto; right: 28px; transform: none; }
  .sheet {
    left: 50%;
    bottom: auto;
    top: 50%;
    width: min(560px, 92vw);
    max-height: 84vh;
    border-radius: var(--r-xl);
    transform: translate(-50%, -46%) scale(0.96);
    opacity: 0;
    transition: transform var(--mid) var(--spring), opacity var(--mid) var(--ease);
  }
  .sheet-root.is-open .sheet { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .sheet__grip { display: none; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .odo-digits { font-size: 40px; }
  .odometer { padding: 24px 26px; }
  .sheet__body { padding: 20px 22px 26px; }
  .card { padding: 20px; }
  .donut-wrap { gap: 26px; flex-wrap: nowrap; }
}

@media (max-width: 400px) {
  .segmented__item { font-size: 13px; padding: 7px 6px; letter-spacing: -0.02em; }
  .grid-3 { gap: 8px; }
}

@media (min-width: 620px) and (max-width: 899px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
}
