/* Оформление: графитово-фиолетовая шапка, красный акцент, Manrope; кнопки и переключатели — скруглённые «таблетки». */
:root {
  --bg: #F3F3F7;
  --panel: #FFFFFF;
  --panel-2: #F4F3F7;
  --text: #171520;
  --muted: #6B6975;
  --line: #E5E1F0;
  --line-2: #C4C5CE;
  --head: #1E1A30;
  --hero: #2A253E;
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, 0.75);
  --red: #E63542;        /* крупная кнопка поиска (текст ≥19px, жирный) */
  --red-text: #CA0F3E;   /* ссылки, вкладки, обычные кнопки */
  --orange: #EB5E10;     /* «Купить» */
  --blue: #0A64DD;
  --blue-soft: #E7F1FF;
  --chip: #E3E6EB;
  --chip-text: #0C131D;
  --good: #15803D;
  --good-soft: #E3F6E8;
  --warn-soft: #FFF4DB;
  --bad: #B42318;
  --shadow: 0 1px 4px rgba(12, 19, 29, 0.08);
  --shadow-on: 0 1px 4px rgba(12, 19, 29, 0.18);
  --r-card: 16px;
  --r-btn: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12111A;
    --panel: #1D1B28;
    --panel-2: #24212F;
    --text: #ECEAF2;
    --muted: #A7A4B3;
    --line: #2E2B3B;
    --line-2: #3B3849;
    --head: #0F0D18;
    --hero: #1A1726;
    --red-text: #FF6B7A;
    --blue: #7FB0FF;
    --blue-soft: #1D2A44;
    --chip: #2A2737;
    --chip-text: #ECEAF2;
    --good: #4ADE80;
    --good-soft: #163322;
    --warn-soft: #3A3014;
    --bad: #F87171;
    --shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    --shadow-on: 0 1px 4px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--red-text); }
h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
h3 { margin: 4px 0 12px; font-size: 18px; font-weight: 800; }
h4 { margin: 22px 0 10px; font-size: 18px; font-weight: 800; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
input, select, button { font: inherit; color: inherit; }

/* ---------- шапка ---------- */
.top { background: var(--head); color: var(--on-dark); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--on-dark); text-decoration: none; }
.mark { width: 32px; height: 32px; border-radius: 9px; background: var(--red-text); display: grid; place-items: center; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.brand-sub { font-size: 14px; color: var(--on-dark-muted); }
.snapshot { font-size: 14px; color: rgba(255, 255, 255, 0.85); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.snapshot b { color: #fff; }
.snapshot .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; display: inline-block; }
.snapshot.old .dot { background: #F87171; }
.snapshot.old { color: #FFC9CE; }
.snapshot .demo { background: #FFD666; color: #171520; padding: 1px 8px; border-radius: 6px; font-weight: 700; }

/* ---------- герой с формой ---------- */
.hero { background: var(--hero); color: var(--on-dark); padding: 28px 0 32px; }
.hero h1 { margin: 0 0 6px; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.hero .lead { margin: 0 0 20px; color: var(--on-dark-muted); font-size: 16px; }
.trip-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 2px; background: #fff; padding: 4px; border-radius: 16px; color: #171520; }
.trip-form label { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; font-size: 12px; font-weight: 700; color: #6B6975; text-transform: uppercase; letter-spacing: 0.04em; min-width: 0; }
.trip-form label + label { border-left: 1px solid #E5E1F0; }
.trip-form input { border: 0; padding: 0; background: transparent; font: 600 17px Manrope, system-ui, sans-serif; color: #171520; text-transform: none; letter-spacing: 0; outline: none; min-width: 0; color-scheme: light; }
.trip-form input:focus-visible { box-shadow: 0 2px 0 var(--red-text); }
#f-nights { text-transform: none; letter-spacing: 0; font-weight: 600; }
#f-nights:not(:empty)::before { content: "· "; }
.cta { min-height: 60px; padding: 0 28px; border: 0; border-radius: 14px; background: var(--red); color: #fff; font: 700 19px Manrope, system-ui, sans-serif; cursor: pointer; }
.cta:hover { background: #D42A37; }

/* ---------- вкладки ---------- */
.tabs { background: var(--panel); border-bottom: 1px solid var(--line-2); }
.tabs-row { display: flex; gap: 4px; overflow-x: auto; }
.tabs a { padding: 16px 18px 13px; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tabs a:hover { color: var(--text); }
.tabs a.active { color: var(--text); font-weight: 700; border-bottom-color: var(--red-text); }
main { padding-top: 28px; padding-bottom: 48px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-btn); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn.primary { background: var(--red-text); color: #fff; font-size: 16px; padding: 0 22px; border-radius: 12px; }
.btn.primary:hover { background: #A30C32; }
.btn.buy { background: var(--orange); color: #fff; font-size: 19px; min-height: 52px; padding: 0 24px; border-radius: 12px; }
.btn.buy:hover { background: #D45209; }
.btn.buy.sm { background: #C2410C; font-size: 14px; min-height: 40px; padding: 0 14px; border-radius: 10px; }
.btn.buy.sm:hover { background: #A3360A; }
.links .btn.buy { background: #C2410C; color: #fff; font-size: 16px; font-weight: 800; }
.links .btn.buy:hover { background: #A3360A; filter: none; }
.btn.tint { background: var(--blue-soft); color: var(--blue); }
.btn.tint.on { background: var(--blue); color: #fff; }
.btn.gray { background: var(--chip); color: var(--chip-text); }
.btn.gray:hover, .btn.tint:hover { filter: brightness(0.96); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* переключатели-«таблетки» */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--chip); }
.seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-btn); background: transparent; color: var(--chip-text); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.seg button.on { background: var(--panel); box-shadow: var(--shadow-on); }
.seg-fill { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.seg-fill button { padding: 0 4px; }

/* поля */
.search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 28px; background: var(--panel); color: var(--muted); flex: 0 1 300px; }
.search input { border: 0; outline: none; width: 100%; background: transparent; font-weight: 500; color: var(--text); }
select, input[type=number] { min-height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-btn); padding: 0 10px; background: var(--panel); font-weight: 600; min-width: 0; }
input[type=range] { accent-color: var(--red-text); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--red-text); }

/* ---------- общее ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: 14px; }
.toolbar .grow { flex: 1 1 240px; }
.chk, .radio { display: flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 500; }
.muted { color: var(--muted); font-size: 14px; }
.note { color: var(--muted); font-size: 13px; margin: 12px 0; max-width: 900px; }
.note.warn { background: var(--warn-soft); color: var(--text); padding: 12px 16px; border-radius: 12px; max-width: none; }
.err { color: var(--bad); font-weight: 600; }
.sub { color: var(--muted); font-size: 12px; font-weight: 600; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat { background: var(--panel); padding: 18px 20px; border-radius: var(--r-card); box-shadow: var(--shadow); }
.stat-t { font-size: 13px; font-weight: 600; color: var(--muted); }
.stat-n { font-size: 30px; font-weight: 800; margin-top: 4px; }

/* таблицы */
.table-scroll { overflow-x: auto; background: var(--panel); border-radius: var(--r-card); box-shadow: var(--shadow); }
table.grid { border-collapse: collapse; width: 100%; font-size: 15px; }
.grid th, .grid td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.grid th { position: sticky; top: 0; background: var(--panel-2); font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; user-select: none; border-bottom-color: var(--line-2); }
.grid th.sorted::after { content: " ▾"; }
.grid th.sorted.asc::after { content: " ▴"; }
.grid .num { text-align: right; font-variant-numeric: tabular-nums; }
#c-table td:nth-child(3), #c-table td:nth-child(7) { font-weight: 700; }
#c-table tbody tr { cursor: pointer; }
.grid tbody tr:hover { background: var(--panel-2); }
.grid tbody tr:last-child td { border-bottom: 0; }

/* ---------- авиа ---------- */
.flex { display: grid; gap: 14px; margin-bottom: 24px; }
.hint { background: var(--panel); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 18px 22px; font-size: 17px; line-height: 1.6; }
.hint::before { content: "Гибкие даты"; display: block; font-size: 12px; font-weight: 700; color: var(--red-text); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.hint b { font-weight: 800; }
.strip { display: grid; grid-template-columns: 90px repeat(7, minmax(0, 1fr)); gap: 6px; align-items: stretch; }
.strip .lab { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; align-self: center; }
.cell { background: var(--panel); border: 2px solid transparent; border-radius: 12px; box-shadow: var(--shadow); padding: 8px 4px; text-align: center; cursor: pointer; }
.cell .d { font-size: 12px; font-weight: 600; color: var(--muted); }
.cell .p { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cell:hover { border-color: var(--line-2); }
.cell.cur { border-color: var(--blue); }
.cell.best { background: var(--good-soft); border-color: var(--good); }
.cell.none { cursor: default; opacity: .5; box-shadow: none; }
details summary { cursor: pointer; font-weight: 600; }
.matrix-wrap { overflow-x: auto; margin-top: 8px; }
table.matrix { border-collapse: separate; border-spacing: 4px; font-size: 13px; }
.matrix th { font-weight: 600; color: var(--muted); padding: 2px 6px; white-space: nowrap; }
.matrix td { min-width: 64px; text-align: center; padding: 6px 4px; border-radius: 8px; cursor: pointer; font-variant-numeric: tabular-nums; font-weight: 600; }
.matrix td.none { cursor: default; color: var(--muted); }
.matrix td.cur { outline: 2px solid var(--blue); }
.matrix td.best { font-weight: 800; outline: 2px solid var(--good); }
.offers { display: grid; gap: 10px; }
.offer { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px 20px; align-items: center; background: var(--panel); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 16px 20px; border: 2px solid transparent; }
.offer img { width: 40px; height: 40px; border-radius: 10px; background: #fff; }
.offer .legs { font-size: 14px; color: var(--muted); }
.offer .right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.offer .price { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.offer .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.offer.picked { border-color: var(--blue); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--chip); color: var(--chip-text); margin-left: 4px; }
.tag.good { background: var(--good-soft); color: var(--good); }

/* ---------- поезда ---------- */
.links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 16px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-btn); background: var(--chip); color: var(--chip-text); font-weight: 700; font-size: 14px; text-decoration: none; }
.links a:hover { filter: brightness(0.96); }
.train-cls { display: flex; gap: 6px; flex-wrap: wrap; }
.train-cls button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--chip); color: var(--chip-text); font-size: 13px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.train-cls button.on { background: var(--blue); color: #fff; }

/* ---------- отели ---------- */
.hotels-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.filters { flex: 1 1 260px; max-width: 300px; background: var(--panel); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.fbody { display: flex; flex-direction: column; gap: 16px; }
.ftoggle { all: unset; font-size: 18px; font-weight: 800; color: var(--text); }
.fbody > label, .fbody .flabel { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.fbody > label output { text-transform: none; letter-spacing: 0; color: var(--text); }
.filters .chk { color: var(--text); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; flex-direction: row; }
.filters .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters .pair label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.filters details summary { font-size: 14px; }
#h-kinds { display: grid; gap: 6px; margin-top: 8px; }
.stats { font-size: 14px; border-top: 1px solid var(--line); padding-top: 14px; line-height: 1.7; }
.map-col { flex: 999 1 560px; min-width: 0; }
.map { height: 460px; border-radius: var(--r-card); box-shadow: var(--shadow); z-index: 0; }
.hotel-list { display: grid; gap: 8px; margin-top: 12px; }
.hotel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; background: var(--panel); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 18px; border: 2px solid transparent; }
.hotel > div:first-child { flex: 1 1 300px; min-width: 0; }
.hotel b { font-weight: 800; }
.hotel .meta { color: var(--muted); font-size: 13px; font-weight: 500; }
.hotel .price { font-size: 20px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.hotel .acts { margin-top: 6px; }
.hotel.picked { border-color: var(--blue); }
.hotel.hl { background: var(--blue-soft); }
.leaflet-container { font-family: Manrope, system-ui, sans-serif; }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { font-size: 13px; }

/* ---------- итог ---------- */
.total-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--panel); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 18px 20px; }
.card > label:not(.radio) { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 12px; }
.card .radio { margin-top: 10px; flex-wrap: wrap; }
.card .radio input[type=number] { width: 130px; }
.pick { font-size: 13px; color: var(--muted); margin: 2px 0 4px 26px; }
.card.total { margin-top: 16px; background: var(--hero); color: var(--on-dark); border-radius: 20px; padding: 26px 28px; }
.card.total h3 { font-size: 13px; font-weight: 700; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.total table { border-collapse: collapse; width: 100%; max-width: 680px; }
.total td { padding: 10px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.total td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.total tr.sum td { font-weight: 800; font-size: 30px; border-bottom: 0; padding-top: 16px; }
.total tr.sum td:first-child { font-size: 16px; color: var(--on-dark-muted); }
.total .note { color: var(--on-dark-muted); }

/* ---------- подвал ---------- */
.foot-wrap { background: var(--head); }
.foot { color: var(--on-dark-muted); font-size: 13px; padding-top: 24px; padding-bottom: 28px; }
.foot a { color: #fff; }

@media (max-width: 900px) {
  .trip-form { grid-template-columns: 1fr 1fr; }
  .trip-form label + label { border-left: 0; }
  .trip-form label:nth-child(even) { border-left: 1px solid #E5E1F0; }
  .trip-form label:nth-child(n+3) { border-top: 1px solid #E5E1F0; }
  .cta { grid-column: 1 / -1; }
  .brand-sub { display: none; }
  .total-grid { grid-template-columns: 1fr; }
  .filters { max-width: none; }
  .map { height: 360px; }
  .strip { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .strip .lab { grid-column: 1 / -1; }
  .cell .p { font-size: 13px; }
}

/* ---------- телефон ---------- */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  /* шапка и форма компактнее */
  .top-row { min-height: 52px; flex-wrap: nowrap; }
  .brand-name { font-size: 16px; white-space: nowrap; }
  .brand { flex: none; gap: 8px; }
  .mark { width: 28px; height: 28px; }
  .snapshot { font-size: 12px; gap: 4px 6px; justify-content: flex-end; text-align: right; flex-wrap: wrap; }
  .hero { padding: 16px 0 18px; }
  .hero h1 { font-size: 22px; margin-bottom: 12px; }
  .hero .lead { display: none; }
  .trip-form label { padding: 8px 12px; }
  .trip-form input { font-size: 16px; }
  .cta { min-height: 52px; font-size: 18px; }
  /* вкладки приклеены к верху и делят ширину поровну */
  .tabs { position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 6px rgba(12, 19, 29, 0.08); }
  .tabs-row { padding: 0; gap: 0; }
  .tabs a { flex: 1 1 0; text-align: center; padding: 13px 2px 10px; font-size: 14px; }
  main { padding-top: 18px; }
  h2 { font-size: 20px; }
  h4 { font-size: 16px; }
  /* поля: 16px, чтобы iOS не увеличивал страницу при фокусе */
  input, select, .search input { font-size: 16px; }
  .toolbar { gap: 10px; }
  .toolbar .grow { flex-basis: 100%; }
  .search { flex: 1 1 100%; }
  .toolbar > .btn.primary { flex: 1 1 100%; }
  .seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
  .seg button { padding: 0 6px; font-size: 13px; white-space: normal; line-height: 1.2; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
  .stat { padding: 12px 14px; }
  .stat-t { font-size: 12px; }
  .stat-n { font-size: 22px; margin-top: 0; }

  /* таблицы городов и поездов — карточками */
  .table-scroll:has(table.cards) { background: transparent; box-shadow: none; overflow: visible; }
  table.cards, table.cards tbody { display: block; }
  table.cards thead { display: none; }
  table.cards tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; background: var(--panel); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; margin-bottom: 8px; }
  table.cards td { display: block; padding: 0; border: 0; white-space: normal; text-align: left; }
  table.cards td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
  table.cards td.num { text-align: left; }
  #c-table .c-city { grid-column: 1 / -1; font-size: 16px; }
  #c-table .c-country { grid-column: 1 / -1; margin-top: -6px; }
  #c-table .c-n, #c-table td:nth-child(8) { display: none; }
  #c-table td:nth-child(3), #c-table td:nth-child(7) { font-weight: 800; }
  table.cards td:first-child { grid-column: 1 / -1; }
  table.cards .t-cls, table.cards .t-buy { grid-column: 1 / -1; }
  table.cards .t-buy .btn { width: 100%; }
  #r-results table.cards tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  table.cards tr:hover { background: var(--panel); }

  /* авиа */
  .strip { gap: 4px; }
  .cell { padding: 6px 1px; border-radius: 10px; }
  .cell .d { font-size: 10px; }
  .cell .p { font-size: 12px; }
  .hint { font-size: 15px; padding: 14px 16px; }
  .offer { grid-template-columns: 32px minmax(0, 1fr); gap: 10px 12px; padding: 14px; }
  .offer img { width: 32px; height: 32px; border-radius: 8px; }
  .offer .legs { font-size: 13px; }
  .offer .right { grid-column: 1 / -1; justify-content: space-between; flex-wrap: nowrap; gap: 10px; }
  .offer .price { font-size: 20px; }
  .btn.buy { min-height: 44px; padding: 0 18px; }

  /* отели: фильтры сворачиваются */
  .filters { padding: 14px 16px; gap: 10px; }
  .ftoggle { display: flex; align-items: center; justify-content: space-between; min-height: 32px; cursor: pointer; font-size: 17px; }
  .ftoggle::after { content: "▾"; font-size: 14px; color: var(--muted); transition: transform .15s; }
  .filters.open .ftoggle::after { transform: rotate(180deg); }
  .filters:not(.open) .fbody { display: none; }
  .filters .stats { border-top: 0; padding-top: 0; font-size: 13px; line-height: 1.6; }
  .map { height: 300px; }
  .hotel { padding: 12px 14px; gap: 8px 12px; }
  .hotel > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
  .hotel .price { font-size: 18px; text-align: left; }
  .hotel .acts { margin-top: 0; }
  .links a { flex: 1 1 auto; justify-content: center; }

  /* итог */
  .card { padding: 14px 16px; }
  .card.total { padding: 20px; border-radius: 16px; }
  .total tr.sum td { font-size: 24px; }
  .foot { padding-top: 18px; }
}
