/* day: стили части «день» второго захода (18.10.2026).
 *
 * Свои классы с префиксом d (dribbon, dhero, dmsr, dfood, dplate, dmic):
 * старые классы дня в styles.css (.weekbar, .hero2, .dmeal...) остаются
 * для истории и листов, здесь они не используются и не переопределяются.
 *
 * Бюджет первого экрана 375 × 812: шапка 65, меню 66, остаётся 681 px.
 * Лента дней 60 + главный блок около 260 + замеры 56 + заголовок еды
 * + три приёма по 64: ужин и замеры видны вечером без прокрутки.
 * Красного нет: перебор и «выше предела» песочным (--sand, --sand-deep).
 */

/* ---------- лента дней (1.28.0): общая для «дня» и «здоровья» ---------- */

/* Семь дней на ширину ленты, прокрутка вбок без полосы прокрутки; дни
   встают ровно по правому краю, где сегодня. */
.ribbon { display: flex; align-items: stretch; min-width: 0; }
.ribbon__track {
  position: relative; flex: 1 1 auto; min-width: 0; display: flex;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-behavior: auto;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  /* прошлое встаёт левее, и прокрутку сдвигает сама лента: у браузеров
     своя подстройка не везде, вместе они сдвигали дважды */
  overflow-anchor: none;
}
.ribbon__track::-webkit-scrollbar { display: none; }
.ribbon__day {
  flex: 0 0 calc(100% / 7); scroll-snap-align: end;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-width: 0; min-height: 56px; padding: 2px 0; border: 0; border-radius: 14px;
  background: none; color: var(--muted); font: inherit; cursor: pointer;
}
.ribbon__wd { font-size: 12px; line-height: 14px; }
.ribbon__wd.is-month { color: var(--accent-dark); font-weight: 600; }
.ribbon__num { font-family: var(--serif); font-size: 16px; line-height: 20px; color: var(--text); font-variant-numeric: tabular-nums; }
.ribbon__ring { display: block; width: 16px; height: 16px; }
.ribbon__ring .ring { width: 100%; height: 100%; }
.ribbon__day.is-open { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--accent); }
.ribbon__day.is-today .ribbon__wd, .ribbon__day.is-today .ribbon__num { color: var(--accent-dark); font-weight: 700; }
.ribbon__day.is-future .ribbon__wd, .ribbon__day.is-future .ribbon__num { opacity: .5; }
.ribbon__day:disabled { cursor: default; }
.ribbon__day:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* «день»: лента во всю ширину и значок календаря справа */
.dribbon { margin: 0 -10px; min-height: 56px; }
.dribbon__cal {
  flex: none; display: grid; place-items: center; width: 44px; min-height: 56px;
  padding: 0; border: 0; border-radius: 12px; background: none; color: var(--text);
}
.dribbon__cal svg { width: 22px; height: 22px; }
.dribbon__cal:active { background: var(--card-2); }
.dribbon__cal:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* ---------- плашка «не сегодня» ---------- */

.dplaque {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 44px; padding: 2px 2px 2px 14px; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid #cfe2cf; font-size: 13px; line-height: 1.3;
}
.dplaque--future { background: var(--card-2); border-color: var(--line); }
.dplaque__text { min-width: 0; }
.dplaque__text b { font-weight: 600; }
.dplaque__today {
  flex: none; min-height: 44px; padding: 0 12px; border: 0; background: none;
  color: var(--accent-dark); font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap;
}

.dfuture { padding: 14px 16px; }
.dfuture__text { margin: 0; font-size: 15px; color: var(--muted); }
.dempty { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 16px; }
.dempty__text { font-size: 15px; color: var(--muted); }
.dempty__add {
  flex: none; min-height: 44px; padding: 0 16px; border: 1.5px dashed var(--accent); border-radius: 999px;
  background: none; color: var(--accent-dark); font: inherit; font-size: 15px; font-weight: 600;
}

/* ---------- главный блок ---------- */

.dhero { padding: 10px 16px 6px; }
.dhero__top { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; }
.dhero__ring { width: 104px; height: 104px; }
.dhero__ring .ring { display: block; width: 100%; height: 100%; }
.dhero__side { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.dhero__label { font-size: 13px; line-height: 16px; color: var(--muted); }
/* Число и «ккал» в одну строку, при нехватке места «ккал» уходит вниз,
   а не наезжает: «12 345» на 360 px остаётся целым. */
.dhero__numrow { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 6px; min-width: 0; }
.dhero__num {
  font-family: var(--serif); font-size: 34px; line-height: 38px; letter-spacing: -.5px;
  color: var(--accent-dark); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.dhero__num.is-over { color: var(--sand-deep); }
.dhero__unit { font-size: 13px; color: var(--muted); }
.dhero__line { font-size: 13px; line-height: 17px; color: var(--text); }
.dhero__balance { font-size: 12px; line-height: 16px; color: var(--muted); }
.dhero__balance b { font-weight: 600; color: var(--text); }
.dhero__balance b.is-minus { color: var(--accent-dark); }
.dhero__balance b.is-plus { color: var(--sand-deep); }
.dhero__floor { font-size: 12px; line-height: 15px; color: var(--muted); }
.dhero__word { font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--accent-dark); }
.dhero__word.is-over { color: var(--sand-deep); }

/* белок и клетчатка: заметные полосы */
.dbars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.dbar {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; min-width: 0;
  padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left;
}
/* зона касания 44 px поверх отступов, вид не меняется. Вверх растяжка
   заходит на низ кольца и подписи (там нечего нажимать), снизу кончается
   там, где начинается строка «не хватает» (06 №1). Верх 31: вся цепочка
   белок › «не хватает» › натрий › «что съесть» сдвинута вверх, чтобы
   у каждой зоны было 44 до следующей карточки (остаток №1). */
.dbar--tap::after { content: ''; position: absolute; inset: -31px -6px -7px; }
.dbars:has(+ .dshort) .dbar--tap::after { bottom: 21px; }
.dbar__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: 4px; line-height: 20px; }
.dbar__label { font-size: 14px; font-weight: 600; }
.dbar__val { font-size: 12px; color: var(--muted); white-space: nowrap; }
.dbar__val b { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--text); }
.dbar__track { display: block; height: 8px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.dbar__fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); transition: width .25s ease; }
.dbar:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

.dshort {
  /* зона нажатия 44: строка 18 px плюс 19 сверху и 7 снизу, отрицательные
     поля держат вид прежним (overflow: hidden обрезал бы растяжку ::after).
     Низ зоны кончается до натрия, верх заходит на полосу белка (06 №1). */
  position: relative; display: block; width: 100%; margin: -21px 0 -7px; padding: 27px 0 7px; border: 0; background: none;
  font: inherit; font-size: 13px; line-height: 18px; font-weight: 500; text-align: left; color: var(--accent-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dshort:active { text-decoration: underline; }

/* жиры, углеводы, натрий: тонкие полосы */
.dthins { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; margin-top: 6px; }
.dthin__wrap { min-width: 0; display: flex; }
.dthin {
  position: relative; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0;
  padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left;
}
.dthin__label { font-size: 12px; line-height: 15px; color: var(--muted); }
.dthin__track { display: block; height: 5px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.dthin__fill { display: block; height: 100%; border-radius: 999px; background: var(--sand); opacity: .55; }
.dthin--carbs .dthin__fill { opacity: .85; }
.dthin--sodium .dthin__fill { background: var(--muted); opacity: .55; }
.dthin__wrap.is-over .dthin__fill { background: var(--sand); opacity: 1; }
.dthin__val { font-size: 12px; line-height: 15px; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dthin__wrap.is-over .dthin__val { color: var(--sand-deep); }
.dthin__over { font-size: 12px; line-height: 15px; font-weight: 600; color: var(--sand-deep); }
.dthin:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

/* Промежуток 8, а не 12: на 360 пометка и «что съесть на остаток» встают
   в одну строку (не хватало 2 px), герой ниже на 22 px, и ужин вечером
   стоит над меню с запасом (06 №17). */
.dhero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; margin-top: 10px; min-height: 18px; }
.dhero__note { font-size: 12px; line-height: 16px; color: var(--muted); }
.dhero__ask {
  position: relative; margin-left: auto; padding: 0; border: 0; background: none;
  font: inherit; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--accent-dark); white-space: nowrap;
}
/* зона 44: сверху до натрия, снизу до следующей карточки (остаток №1) */
.dhero__ask::after { content: ''; position: absolute; left: -8px; right: -8px; top: -12px; bottom: -14.5px; }

/* один раз: шаги и сон переехали */
.dmoved {
  display: flex; align-items: center; gap: 2px; min-height: 44px; padding-left: 14px;
  border-radius: 14px; border: 1px dashed var(--line); background: var(--bg-soft);
}
.dmoved__go {
  flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0; border: 0; background: none;
  font: inherit; font-size: 13px; line-height: 1.3; text-align: left; color: var(--accent-dark);
}
.dmoved__x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--muted); }
.dmoved__x svg { width: 18px; height: 18px; }

/* ---------- замеры дня одной строкой ---------- */

.dmsr { padding: 5px 2px 5px 14px; }
.dmsr__row { display: flex; align-items: center; gap: 2px; min-height: 44px; }
.dmsr__items { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; }
/* пара «утро · вечер» не разрывается при переносе */
.dmsr__group { display: flex; align-items: center; column-gap: 16px; }
.dmsr__item {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0;
  border: 0; background: none; color: inherit; font: inherit; white-space: nowrap;
}
.dmsr__label { font-size: 13px; color: var(--muted); }
.dmsr__val { font-family: var(--serif); font-size: 18px; color: var(--text); font-variant-numeric: tabular-nums; }
.dmsr__plus {
  display: inline-grid; place-items: center; width: 40px; height: 28px; border-radius: 999px;
  border: 1.5px dashed var(--accent); color: var(--accent-dark); font-size: 18px; line-height: 1;
}
.dmsr__item:active .dmsr__val, .dmsr__item:active .dmsr__plus { background: var(--accent-soft); border-radius: 8px; }
/* замеры давления из двух: ●○ ждёт второй, ●● сессия полная (1.29.3).
   Под числом и вне потока: ширина и высота строки те же, что без точек. */
.dmsr__val { position: relative; }
.dmsr__dots { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); display: flex; gap: 3px; margin-top: 1px; pointer-events: none; }
.dmsr__dot { width: 6px; height: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--accent); }
.dmsr__dot.is-on { background: var(--accent); }
.dmsr__go { flex: none; display: grid; place-items: center; width: 40px; height: 44px; padding: 0; border: 0; background: none; color: var(--muted); border-radius: 10px; }
.dmsr__go svg { width: 20px; height: 20px; }
.dmsr__urgent { margin: 2px 12px 8px 0; }

/* ---------- еда за день ---------- */

.dfood { padding: 8px 6px 2px 16px; }
.dfood__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-height: 26px; padding-right: 10px; }
.dfood__head .card__title { margin: 0; }
.dfood__total { font-family: var(--serif); font-size: 15px; color: var(--muted); white-space: nowrap; }
.dfood__list { list-style: none; margin: 0; padding: 0; }
.dmeal { border-top: 1px solid var(--line); }
.dmeal:first-child { border-top: 0; }
.dmeal__line { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; }
.dmeal__main {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  min-height: 64px; min-width: 0; padding: 8px 0; border: 0; background: none;
  color: inherit; font: inherit; text-align: left;
}
.dmeal__main:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 10px; }

/* фото стопкой: первое сверху, до трёх, дальше «+N» */
.dmeal__pics { position: relative; display: block; width: 58px; height: 44px; }
.dmeal__pic {
  position: absolute; top: 2px; width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  background: var(--card-2); box-shadow: 0 0 0 2px var(--card);
}
.dmeal__pic .mealrow__thumb { display: block; width: 100%; height: 100%; border-radius: 0; }
.dmeal__pic .mealrow__thumb--none { background: radial-gradient(circle at 50% 50%, var(--card) 0 36%, var(--line) 38% 42%, var(--card-2) 44%); }
.dmeal__pic--0 { left: 0; z-index: 3; }
.dmeal__pic--1 { left: 9px; z-index: 2; }
.dmeal__pic--2 { left: 18px; z-index: 1; }
.dmeal__pics--1 .dmeal__pic--0 { top: 0; left: 4px; width: 44px; height: 44px; }
.dmeal__pics--2 .dmeal__pic--1 { left: 16px; }
.dmeal__more {
  position: absolute; right: -2px; bottom: -3px; z-index: 4; min-width: 22px; padding: 1px 5px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-size: 11px; line-height: 1.3; text-align: center; color: var(--muted);
}
.dmeal__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dmeal__title { font-size: 15px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dmeal__title b { font-weight: 600; }
.dmeal__time { font-size: 13px; color: var(--muted); }
.dmeal__names { font-size: 13px; line-height: 17px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dmeal__kcal { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; white-space: nowrap; }
.dmeal__kcal b { font-family: var(--serif); font-size: 17px; font-weight: 400; }
.dmeal__kcal small { font-size: 12px; color: var(--muted); }
.dmeal__add { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.dmeal__addring {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent-dark); background: var(--card);
}
.dmeal__addring svg { width: 18px; height: 18px; }
.dmeal__add:active .dmeal__addring { background: var(--accent-soft); }

/* пустой приём: пунктирная строка и чип «обычно» под ней */
.dmeal--empty { padding: 8px 10px 8px 0; }
.dmeal__dash {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px;
  border: 1.5px dashed #b9d6bd; border-radius: 14px; background: none;
  color: var(--accent-dark); font: inherit; font-size: 15px; text-align: left;
}
.dmeal__dashplus { display: grid; place-items: center; width: 20px; height: 20px; }
.dmeal__dashplus svg { width: 18px; height: 18px; }
.dmeal__dash:active { background: var(--accent-soft); }

/* раскрытый приём */
.dmeal__open { padding: 0 10px 4px 20px; }
.dmeal__dishes { list-style: none; margin: 0; padding: 0; }
.ddish { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; border-top: 1px solid var(--card-2); }
.ddish__main {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  min-height: 52px; min-width: 0; padding: 6px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left;
}
.ddish__pic { display: block; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--card-2); }
.ddish__pic .mealrow__thumb { display: block; width: 100%; height: 100%; border-radius: 0; }
.ddish__body { display: flex; flex-direction: column; min-width: 0; }
.ddish__name { font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ddish__meta { font-size: 12px; line-height: 1.3; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ddish__kcal { font-family: var(--serif); font-size: 14px; white-space: nowrap; }
.ddish__del {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px;
  background: none; color: var(--muted);
}
.ddish__del svg { width: 18px; height: 18px; }
.ddish__del:active { background: var(--card-2); }
.dmeal__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; min-height: 44px; border-top: 1px solid var(--card-2); color: var(--muted); }
.dmeal__dots { display: grid; place-items: center; }
.dmeal__dots svg { width: 18px; height: 18px; }
.dmeal__act {
  min-height: 44px; padding: 0 2px; border: 0; background: none;
  font: inherit; font-size: 13px; font-weight: 500; color: var(--accent-dark);
}
.dmeal__sep { color: var(--muted); }

/* запись в работе: шаги словами и полоса хода */
.dpend { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 48px; padding: 0 10px 8px 20px; }
.dpend__pic { display: block; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--card-2); }
.dpend__pic .mealrow__thumb { display: block; width: 100%; height: 100%; border-radius: 0; }
.dpend__body { display: flex; flex-direction: column; min-width: 0; }
.dpend__text { font-size: 13px; line-height: 1.3; color: var(--text); }
.dpend.is-wait .dpend__text { color: var(--sand-deep); }
.dpend__track { display: block; height: 4px; margin-top: 5px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.dpend__track i { display: block; width: 40%; height: 100%; border-radius: 999px; background: var(--accent); animation: dpend-run 1.4s ease-in-out infinite; }
@keyframes dpend-run { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.dpend__acts { display: flex; align-items: center; gap: 2px; }
.dpend__retry { min-height: 44px; padding: 0 8px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--accent-dark); }
@media (prefers-reduced-motion: reduce) { .dpend__track i { animation: none; width: 60%; } }

/* один раз: «сохранить как набор?» */
.doffer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; margin: 0 10px 10px 0;
  padding: 0 4px 0 12px; border-radius: 12px; background: var(--accent-soft); font-size: 14px;
}
.doffer__text { flex: 1 1 auto; }
.doffer__btn { min-height: 44px; min-width: 44px; padding: 0 10px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--accent-dark); }
.doffer__btn--no { font-weight: 400; color: var(--muted); }

/* ---------- тарелка дня одной строкой ---------- */

button.dplate {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 12px; align-items: center;
  width: 100%; min-height: 64px; padding: 10px 10px 10px 14px; font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.dplate__pie { display: block; width: 44px; height: 44px; }
.dplate__svg { display: block; width: 100%; height: 100%; }
.dplate__pie--empty { border-radius: 50%; border: 1.5px dashed var(--line); background: var(--bg-soft); }
.dplate__body { display: flex; flex-direction: column; min-width: 0; }
.dplate__label { font-size: 12px; line-height: 15px; color: var(--muted); }
.dplate__hint { font-size: 14px; line-height: 19px; color: var(--text); }
.dplate__hint.is-muted { color: var(--muted); }
.dplate__chev { display: grid; place-items: center; color: var(--muted); }
.dplate__chev svg { width: 18px; height: 18px; }

/* окно тарелки */
.dplatewin { display: flex; align-items: center; gap: 16px; margin: 4px 0 8px; }
.dplatewin__svg { flex: none; width: 128px; height: 128px; }
.dplatewin__legend { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.dplatewin__row { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.dplatewin__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.dplatewin__name { flex: 1 1 auto; }
.dplatewin__pct { font-size: 13px; color: var(--muted); text-align: right; }
.dplatewin__ask { margin-top: 12px; }
.dplatewin__ferm { margin-top: 14px; }
.dsheet__h { margin: 14px 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* окно натрия */
.dsalt { list-style: none; margin: 0; padding: 0; }
.dsalt__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--card-2); font-size: 15px; }
.dsalt__name { min-width: 0; }
.dsalt__val { font-family: var(--serif); white-space: nowrap; }

/* ---------- подробнее о дне ---------- */

.dmic { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.dmic__col { display: flex; flex-direction: column; min-width: 0; }
.dmic__head { margin: 0 0 2px; font-size: 12px; font-weight: 600; color: var(--muted); }
.dmic__col--low .dmic__head { color: var(--sand-deep); }
.dmic__item {
  min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--card-2); background: none;
  font: inherit; font-size: 14px; text-align: left; color: var(--text);
}
.dmic__item.is-over { color: var(--sand-deep); }
.dmic__none { padding: 12px 0; font-size: 13px; color: var(--muted); }
.dmic__more {
  display: inline-block; min-height: 44px; margin-top: 2px; padding: 0; border: 0; background: none;
  font: inherit; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px;
}
.dback { margin-top: 8px; }
.dmore .rings__label { font-size: 13px; }

/* зона нажатия 44 у натрия без роста высоты: прозрачная растяжка поверх
   соседних отступов, от низа строки «не хватает» до «что съесть». Низ
   привязан к низу полосы: при «выше предела» зона растёт вместе с ней.
   Полосы подняты на 3 px (отступ сверху 6, под ними 10), поэтому зоны
   натрия и «что съесть» по 44 и почти не заходят на чужой текст. */
.dthin--tap::after { content: ''; position: absolute; left: -6px; right: -6px; bottom: 2px; height: max(44px, calc(100% + 5px)); }

/* 360 × 780 вечером: ужин и вечернее давление на первом экране (Кирилл 18.10:
   «давай ужмём»). Промежутки между карточками дня чуть меньше. */
body[data-tab="home"] .screen { gap: 8px; }

