/* Календарь созвонов (Этап-3 §2.2–2.4, Дизайн-спека §4.13). Только токены: цвета литералами здесь нельзя.
   Анимируются transform и opacity. Сетка: 48 px на 30 минут, созвон 90 минут = 144 px. Телефон: день + полоса дней; компьютер: неделя. */

/* Раздел с фиксированной высотой: страница не прыгает, сетка прокручивается внутри */
.main--fixed {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.main--fixed .page {
  flex: 1;
  min-height: 0;
  width: 100%;
  padding-bottom: var(--s-3);
}
@media (min-width: 1024px) {
  .main--fixed .page {
    padding-top: var(--s-6);
    padding-bottom: var(--s-5);
  }
}

.cal {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.cal > * {
  flex: none;
}
.cal > .cal__gridwrap,
.cal > .cal__list,
.cal > .cal__skel {
  flex: 1;
  min-height: 0;
}

/* ---------- Шапка ---------- */
.cal__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "nav views"
    "title tools";
  align-items: center;
  gap: var(--s-2) var(--s-3);
}
.cal__nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.cal__nav[hidden] {
  display: none;
}
.cal__today {
  min-height: 44px;
  padding: 0 var(--s-4);
}
.cal__views {
  grid-area: views;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-2);
  border-radius: var(--r-m);
}
.cal__views .chip-tab,
.cal__views .chip-tab[aria-selected="true"] {
  justify-content: center;
  min-height: 44px;
  height: 44px;
  padding: 0 var(--s-3);
  border-radius: var(--r-s);
  box-shadow: none;
  background: transparent;
  color: var(--mute);
}
.cal__views .chip-tab[aria-selected="true"] {
  background: var(--raised);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.cal__title {
  grid-area: title;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
}
.cal__h {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: var(--s-3);
  font-size: 1rem;
}
.cal__h-main {
  font: 800 2rem / 1 var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-variant-numeric: tabular-nums;
}
.cal__h-sub {
  color: var(--mute);
  font-size: var(--t-small);
  font-weight: 500;
}
.cal__tz {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--text-2);
  font: 600 0.8125rem / 1 var(--f-text);
  white-space: nowrap;
}
.cal__tools {
  grid-area: tools;
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.cal__new {
  display: none;
}
@media (max-width: 1023px) {
  .cal:not(.is-list) .cal__h-sub {
    display: none; /* на телефоне день недели виден в полосе дней */
  }
  .cal__h-main {
    font-size: 1.75rem;
  }
  .cal__tz {
    padding: 0 8px;
    font-size: 0.75rem;
  }
}
.cal.is-list .cal__views {
  grid-area: nav;
  justify-self: start;
}
@media (min-width: 1024px) {
  .cal__head {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "nav title views tools";
    gap: var(--s-5);
  }
  .cal__title {
    gap: var(--s-4);
  }
  .cal__h-main {
    font-size: 2.5rem;
  }
  .cal__new {
    display: inline-flex;
  }
}

/* ---------- Полоса дней (телефон) ---------- */
.cal__strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.cal-day {
  min-height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: var(--r-s);
  background: var(--surface);
  color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.cal-day:active {
  transform: scale(0.97);
}
.cal-day__wd {
  font: 600 var(--t-label) / 1 var(--f-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mute);
}
.cal-day__n {
  font: 800 1.5rem / 1 var(--f-display);
  font-variant-numeric: tabular-nums;
}
.cal-day__c {
  min-width: 18px;
  height: 14px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--text-2);
  font: 700 0.6875rem / 14px var(--f-text);
  text-align: center;
}
.cal-day__c.is-zero {
  background: transparent;
}
.cal-day.is-today .cal-day__n {
  color: var(--accent-text);
}
.cal-day.is-on {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
  color: var(--text);
}
.cal-day.is-on .cal-day__wd {
  color: var(--accent-text);
}
.cal-day.is-on .cal-day__c:not(.is-zero) {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------- Чипы действий и людей ---------- */
.cal__chips.chips {
  align-items: center;
}
.cal__chips .chip-tab {
  min-height: 44px;
}
.cal-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 var(--s-4);
  border-radius: var(--r-pill);
  font: 700 0.8125rem / 1 var(--f-text);
  white-space: nowrap;
  transition: transform var(--dur-press) var(--ease-out);
}
.cal-chip:active {
  transform: scale(0.97);
}
.cal-chip--warn {
  background: var(--accent-soft);
  color: var(--accent-text);
}
.cal-chip--stop {
  background: var(--warn-soft);
  color: var(--warn);
}

/* ---------- Пояснения над сеткой ---------- */
.cal__notes:empty {
  display: none;
}
.cal__note {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  padding: var(--s-2) var(--s-4);
  min-height: 40px;
  border-radius: var(--r-s);
  background: var(--surface);
  color: var(--mute);
  font-size: var(--t-small);
  line-height: 1.43;
}
.cal__note--warn {
  background: var(--warn-soft);
  color: var(--warn);
}
.cal__note .btn {
  margin-left: auto;
  min-height: 44px;
}
.cal__note span {
  flex: 1 1 200px;
}
.cal__banner .btn {
  min-height: 44px;
}
.cal__hint {
  padding: 0 var(--s-1);
}

/* ---------- Сетка ---------- */
.cal__gridwrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--bg);
  overflow: hidden;
}
.cal__scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
.cal__colhead {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 56px repeat(var(--cols, 1), minmax(0, 1fr));
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
}
.cal__colhead-tz {
  display: grid;
  place-items: center;
  font: 700 var(--t-label) / 1 var(--f-text);
  letter-spacing: 0.06em;
  color: var(--mute);
}
.cal__colhead-c {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: var(--s-2) var(--s-1);
  border-left: 1px solid var(--line);
  min-width: 0;
}
.cal__colhead-c.is-click {
  cursor: pointer;
}
.cal__colhead-wd {
  font: 600 var(--t-small) / 1 var(--f-text);
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal__colhead-n {
  font: 800 1.5rem / 1 var(--f-display);
  font-variant-numeric: tabular-nums;
}
.cal__colhead-c.is-today .cal__colhead-n {
  color: var(--accent-text);
}
.cal__colhead-c.is-today {
  box-shadow: inset 0 -2px 0 var(--accent);
}
.cal__inner {
  position: relative;
  display: grid;
  grid-template-columns: 56px repeat(var(--cols, 1), minmax(0, 1fr));
  height: var(--grid-h);
}
.cal__axis {
  position: relative;
}
.cal__axis-t {
  position: absolute;
  left: 0;
  right: 8px;
  top: calc(var(--y) + 2px);
  text-align: right;
  font: 500 var(--t-label) / 1 var(--f-text);
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.cal__axis-t.is-hour {
  color: var(--text-2);
  font-weight: 600;
}
.cal__now-t {
  position: absolute;
  right: 4px;
  top: calc(var(--y) - 9px);
  z-index: 3;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 800 0.6875rem / 1 var(--f-text);
  font-variant-numeric: tabular-nums;
}
.cal-col {
  position: relative;
  min-width: 0;
  border-left: 1px solid var(--line);
  background-image: linear-gradient(to bottom, var(--line-2) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 100% 96px, 100% 48px;
  background-position: 0 var(--hour-off, 0px), 0 0;
  cursor: default;
}
.cal-col.is-today {
  background-color: var(--surface);
}
.cal-off {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--y);
  height: var(--h);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 9px);
  opacity: 0.9;
}
.cal__now {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--y) - 1px);
  height: 2px;
  background: var(--accent);
  z-index: 3;
  pointer-events: none;
}
.cal__now::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Карточка созвона в сетке ---------- */
.cal-card {
  position: absolute;
  top: var(--y);
  height: var(--h);
  left: calc(4px + (100% - 8px) * var(--lane, 0) / var(--lanes, 1));
  width: calc((100% - 8px) / var(--lanes, 1) - 2px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 10px;
  overflow: hidden;
  text-align: left;
  border-radius: var(--r-s);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transform: translate(var(--dx, 0px), var(--dy, 0px));
  transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
  cursor: pointer;
}
.cal-card:active:not(.is-drag) {
  transform: scale(0.98);
}
@media (hover: hover) and (pointer: fine) {
  .cal-card:hover:not(.is-drag) {
    box-shadow: inset 0 0 0 1px var(--text-2);
  }
  .cal-card.is-draggable {
    cursor: grab;
  }
}
.cal-card.is-drag {
  z-index: 8;
  cursor: grabbing;
  transition: none;
  background: var(--raised);
  box-shadow: var(--shadow-raised), inset 0 0 0 1px var(--accent-line);
}
.cal-card.is-back {
  transition: transform 200ms var(--ease-out);
}
body.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.cal-card__time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-1);
  width: 100%;
  white-space: nowrap;
  font: 700 var(--t-small) / 1.2 var(--f-text);
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
}
.cal-card__ic {
  flex: none;
}
.cal-card__name {
  width: 100%;
  font: 600 0.9375rem / 1.2 var(--f-text);
  color: var(--text);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cal-card__state {
  font: 600 0.8125rem / 1.3 var(--f-text);
  color: var(--mute);
}
.cal-card__who {
  font: 500 0.8125rem / 1.3 var(--f-text);
  color: var(--mute);
}
.cal-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 600 0.75rem / 1.3 var(--f-text);
  color: var(--warn);
}
.cal-card__next {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  column-gap: 6px;
  font: 700 0.75rem / 1.25 var(--f-text);
  color: var(--accent-text);
}
.cal-card__next span {
  white-space: nowrap;
}
.cal-card.is-next {
  box-shadow: inset 0 0 0 1px var(--accent-line);
  background: var(--surface-2);
}
.cal-card--ok .cal-card__ic,
.cal-card--ok .cal-card__state {
  color: var(--ok);
}
.cal-card--wait {
  background: linear-gradient(var(--warn-soft), var(--warn-soft)), var(--surface-2);
}
.cal-card--wait .cal-card__state,
.cal-card--wait .cal-card__ic {
  color: var(--warn);
}
.cal-card--over {
  background: linear-gradient(var(--warn-soft), var(--warn-soft)), var(--surface-2);
  box-shadow: inset 0 0 0 2px var(--warn);
}
.cal-card--over .cal-card__state,
.cal-card--over .cal-card__ic {
  color: var(--warn);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
}
.cal-card--now {
  background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--surface-2);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.cal-card--now .cal-card__state {
  color: var(--accent-text);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.cal-card__go {
  margin-top: auto;
  min-height: 44px;
  align-self: stretch;
}
.cal-card--past {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.cal-card--past .cal-card__name,
.cal-card--past .cal-card__time {
  color: var(--mute);
}
.cal-card--fm {
  background: linear-gradient(var(--stop-soft), var(--stop-soft)), var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--stop-line);
}
.cal-card--fm .cal-card__state,
.cal-card--fm .cal-card__ic {
  color: var(--stop-text);
}
.cal-card[data-lanes="2"],
.cal-card[data-lanes="3"] {
  padding: 6px 6px;
}
.cal-card[data-lanes="2"] .cal-card__name,
.cal-card[data-lanes="3"] .cal-card__name {
  font-size: 0.8125rem; /* было 12 px: в узкой дорожке имя читалось мелко и обрезалось на третьей строке (замечание оценки скринов 11.11, обе темы) */
  -webkit-line-clamp: 5; /* карточка 142 px: время, до пяти строк имени и отступы помещаются */
  overflow-wrap: break-word;
  hyphens: auto; /* узкая дорожка: перенос по слогам, а не посреди слова */
}
.cal-card[data-lanes="3"] .cal-card__name {
  font-size: 0.75rem; /* три созвона встык в одной колонке: дорожка около 46 px, 13 px не помещаются, полное имя в подсказке и в карточке по нажатию */
  -webkit-line-clamp: 6;
}
.cal-card[data-lanes="2"] .cal-card__go.btn,
.cal-card[data-lanes="3"] .cal-card__go.btn {
  padding: 0 4px; /* «К созвону» в узкой дорожке помещается целиком */
  font-size: 0.6875rem;
}
.cal-card[data-lanes="2"] .cal-card__next span:first-child,
.cal-card[data-lanes="3"] .cal-card__next span:first-child {
  display: none;
}
.cal-card[data-lanes="2"] .cal-card__end,
.cal-card[data-lanes="3"] .cal-card__end {
  display: none;
}
.cal-card[data-lanes="3"] .cal-card__state,
.cal-card[data-lanes="3"] .cal-card__who,
.cal-card[data-lanes="3"] .cal-card__tag {
  display: none;
}
.cal-card[data-lanes="2"] .cal-card__tag {
  display: none;
}

.cal-more {
  position: absolute;
  top: var(--y);
  right: 4px;
  z-index: 3;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font: 800 var(--t-small) / 1 var(--f-text);
}

/* Тонкие строки «перенесён» и «отменён»: 24 px, время не занимают; область нажатия 44 px за счёт невидимого поля */
.cal-strip {
  position: absolute;
  left: 4px;
  right: 4px;
  top: var(--y);
  min-height: 24px;
  max-height: 40px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 8px;
  border: 1px dashed var(--line-strong);
  background: var(--strip-bg);
  color: var(--mute);
  font: 500 0.8125rem / 1.15 var(--f-text);
  text-align: left;
}
.cal-strip::before {
  content: "";
  position: absolute;
  inset: -10px 0;
}
.cal-strip__t {
  min-width: 0;
  /* имя и статус в одной строке, а в узкой колонке статус целиком уходит на вторую: «Тестовый Остан…» обрезалось (замечание оценки скринов 11.11, обе темы) */
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  overflow: hidden;
}
.cal-strip__n {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis; /* многоточие только у очень длинного имени, полное имя в подсказке */
}
.cal-strip__s {
  white-space: nowrap;
  font-weight: 700;
}
.cal-strip .icon {
  flex: none;
}

/* Подсказка под курсором на свободном месте (только мышь) */
.cal-ghost {
  position: absolute;
  left: 4px;
  right: 4px;
  top: var(--y);
  height: 142px;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  border-radius: var(--r-s);
  border: 1px dashed var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-text);
  pointer-events: none;
}
.cal-ghost::after {
  content: attr(data-t);
  font: 600 var(--t-small) / 1 var(--f-text);
  font-variant-numeric: tabular-nums;
}

/* Перенос перетаскиванием */
.cal-target {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: 144px;
  z-index: 6;
  pointer-events: none;
  border-radius: var(--r-s);
  border: 2px dashed var(--line-strong);
  background: var(--surface-2);
}
.cal-target.is-ok {
  border: 2px solid var(--ok);
  background: var(--ok-soft);
}
.cal-target.is-bad {
  border: 2px solid var(--stop);
  background: var(--stop-soft);
}
.cal-tip {
  position: fixed;
  left: var(--tx);
  top: var(--ty);
  z-index: var(--z-toast);
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--raised);
  box-shadow: var(--shadow-raised), inset 0 0 0 1px var(--line-2);
  font: 600 var(--t-small) / 1.2 var(--f-text);
  pointer-events: none;
}

/* ---------- Скелет ---------- */
.cal__skel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: var(--s-3);
  overflow: hidden;
}
.cal__skel-col {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.skel--card {
  display: block;
  height: 144px;
  border-radius: var(--r-s);
}
.skel--chip {
  display: block;
  height: 44px;
  border-radius: var(--r-pill);
}

/* ---------- Список ---------- */
.cal__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding-bottom: var(--s-9);
}
.cal__list-day {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
}
.cal__list-h {
  padding: 0 var(--s-1);
}
.cal-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: var(--s-3);
  min-height: 72px;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-m);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
  transition: transform var(--dur-press) var(--ease-out);
}
.cal-row:active {
  transform: scale(0.98);
}
.cal-row__time {
  display: flex;
  flex-direction: column;
  font-variant-numeric: tabular-nums;
}
.cal-row__time b {
  font: 800 1.375rem / 1 var(--f-display);
}
.cal-row__time span {
  font-size: var(--t-label);
  color: var(--mute);
}
.cal-row__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.cal-row__name {
  font-weight: 600;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cal-row__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.cal-row__sub {
  font-size: var(--t-small);
  color: var(--mute);
}
.cal-row--over {
  box-shadow: inset 0 0 0 2px var(--warn);
  background: linear-gradient(var(--warn-soft), var(--warn-soft)), var(--surface);
}
.cal-row--now {
  box-shadow: inset 0 0 0 2px var(--accent);
  background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--surface);
}

/* Листание дней свайпом: короткий сдвиг на 24 px (только телефон) */
@keyframes cal-slide-l {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes cal-slide-r {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cal.slide-l .cal__gridwrap,
.cal.slide-l .cal__list {
  animation: cal-slide-l 200ms var(--ease-out) both;
}
.cal.slide-r .cal__gridwrap,
.cal.slide-r .cal__list {
  animation: cal-slide-r 200ms var(--ease-out) both;
}

/* ---------- Листы календаря ---------- */
.sheet-back {
  align-self: flex-start;
  min-height: 44px;
  padding-left: var(--s-2);
}
.seg--wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.callsheet {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-height: 62dvh; /* все виды листа одной высоты: ничего не прыгает при переключении */
}
@media (min-width: 1024px) {
  .callsheet {
    min-height: 0;
  }
  .callsheet__actions {
    margin-top: var(--s-3);
  }
}
.callsheet__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.callsheet__time {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.callsheet__when {
  font: 800 1.75rem / 1.1 var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-variant-numeric: tabular-nums;
}
.callsheet__meta {
  color: var(--text-2);
  font-size: var(--t-small);
  line-height: 1.43;
  overflow-wrap: anywhere;
}
.callsheet__quiet {
  display: flex;
  justify-content: space-between;
  gap: var(--s-2);
}
.callsheet__quiet .btn {
  min-height: 44px;
  padding: 0 var(--s-3);
}
.callsheet__note,
.callsheet__lead-notes {
  font-size: var(--t-small);
  line-height: 1.43;
}
.callsheet__lead-notes {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--text-2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.callsheet__fm,
.callsheet__over {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-s);
  font-size: var(--t-small);
  line-height: 1.43;
}
.callsheet__fm {
  background: var(--stop-soft);
  color: var(--stop-text);
}
.callsheet__over {
  background: var(--warn-soft);
  color: var(--warn);
}
.callsheet__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.callsheet__sec {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.callsheet__opts {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-top: auto; /* причины внизу, под большим пальцем */
}
.callsheet__pair {
  display: flex;
  gap: var(--s-2);
}
.hourssheet__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
}
/* поля дат (отпуск): на телефоне «11/13/2026» не должно обрезаться значком календаря */
.hourssheet__pair input[type="date"] {
  padding-inline: 10px;
  font-size: 0.9375rem;
  min-width: 0;
}
.callsheet__pair .btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 var(--s-2);
}
.callsheet__why {
  padding: 0 var(--s-1);
}
.callsheet__prim {
  position: sticky;
  bottom: 0;
  padding-top: var(--s-2);
  background: var(--raised);
}
.callsheet__prim:empty {
  display: none;
}
.callsheet__sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.callsheet__sub b {
  font: 700 var(--t-body) / 1.3 var(--f-text);
}
.callsheet__foot {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.callsheet__person {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-3);
}
.callsheet .switch {
  min-height: 52px;
}

/* Выбор времени */
.slots {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.slots__tz {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-small);
  color: var(--mute);
}
.slots__was {
  font-weight: 600;
  color: var(--text-2);
}
.slots__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.slots__block {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.slots__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.slot-chip {
  position: relative;
  min-width: 76px;
  min-height: 48px;
  padding: 0 var(--s-4);
  border-radius: var(--r-pill);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text);
  font: 700 var(--t-body) / 1 var(--f-text);
  font-variant-numeric: tabular-nums;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.slot-chip:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .slot-chip:hover {
    box-shadow: inset 0 0 0 1px var(--accent-line);
  }
}
.slot-chip--near {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
  color: var(--accent-text);
}
.slot-chip--sugg {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
  color: var(--accent-text);
}
.slot-chip--more {
  color: var(--accent-text);
  background: transparent;
}
.slot-chip.is-busy {
  opacity: 0.6;
}
.slots.is-busy .slot-chip {
  pointer-events: none;
}
.slots__hint {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: var(--t-small);
  line-height: 1.43;
  color: var(--mute);
}
.slots__hint .icon {
  margin-top: 2px;
}
.slots__msg {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-s);
  background: var(--warn-soft);
  color: var(--warn);
  font-size: var(--t-small);
  line-height: 1.43;
}
.slots__msg[hidden] {
  display: none;
}
.slots__msg-text {
  display: flex;
  gap: var(--s-2);
  align-items: flex-start;
}
.slots__msg-text .icon {
  margin-top: 1px;
}
.slots__sugg {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.slots__err {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  color: var(--stop-text);
}
.slots__none {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-2);
}
.slots__toggle {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  min-height: 52px;
  padding: 0 var(--s-4);
  border-radius: var(--r-m);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-weight: 600;
  text-align: left;
}
.slots__toggle span {
  flex: 1;
}
.slots__panel {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding-top: var(--s-3);
}
.slots__ribbon {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.slots__ribbon::-webkit-scrollbar {
  display: none;
}
.slots__day-chip {
  flex: none;
  width: 52px;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: var(--r-s);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-2);
}
.slots__day-chip span {
  font: 600 var(--t-label) / 1 var(--f-text);
  text-transform: uppercase;
  color: var(--mute);
}
.slots__day-chip b {
  font: 800 1.375rem / 1 var(--f-display);
}
.slots__day-chip.is-today b {
  color: var(--accent-text);
}
.slots__day-chip.is-on {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
  color: var(--text);
}
.slots__day {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.slots__own {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.slots__own-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-2);
}
.slots__time {
  font-variant-numeric: tabular-nums;
}
.slots__own-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2);
  min-height: 20px;
  font-size: var(--t-small);
  color: var(--mute);
}
.slots__own-status.is-ok {
  color: var(--ok);
}
.slots__own-status.is-warn {
  color: var(--warn);
}

/* Новый созвон */
.newcall {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.newcall__when {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  min-height: 60px;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-m);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  text-align: left;
  transition: transform var(--dur-press) var(--ease-out);
}
.newcall__when:active {
  transform: scale(0.98);
}
.newcall__when-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.newcall__when-text b {
  font-variant-numeric: tabular-nums;
}
.newcall__change {
  color: var(--accent-text);
  font-weight: 700;
  font-size: var(--t-small);
}
.newcall__time {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.newcall__who {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.newcall__who:empty {
  display: none;
}
.newcall__lead {
  min-height: 64px;
}
.newcall__lead .icon {
  flex: none;
  color: var(--mute);
}
.newcall__lead.is-booked,
.newcall__lead.is-blocked {
  opacity: 0.6;
}
.newcall__lead.is-busy {
  opacity: 0.5;
  pointer-events: none;
}
.needmark {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-2);
  border-radius: var(--r-m);
  background: var(--warn-soft);
}
.needmark__acts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  grid-auto-flow: column;
  gap: var(--s-2);
}
.needmark__info {
  background: transparent;
  text-align: left;
}

/* Рабочие часы в листе */
.hourssheet {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.hourssheet__block {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--r-m);
  background: var(--surface-2);
}
.hourssheet__ok {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--ok);
  font-size: var(--t-small);
}
.set-card--bare {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

/* ---------- Плашка напоминания ---------- */
.notice-dock {
  position: absolute;
  left: var(--s-3);
  right: var(--s-3);
  bottom: var(--s-3);
  z-index: var(--z-dock);
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.notice-dock[hidden] {
  display: none;
}
.main-col:has(.fab:not([hidden])) .notice-dock {
  bottom: calc(56px + var(--s-4) + var(--s-3));
}
.notice {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-l);
  background: var(--raised);
  box-shadow: var(--shadow-raised), inset 0 0 0 1px var(--accent-line);
  pointer-events: auto;
  animation: fade-in var(--dur-base) var(--ease-out) both;
}
.notice--stop {
  box-shadow: var(--shadow-raised), inset 0 0 0 1px var(--stop-line);
}
.notice__head {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}
.notice__head .icon {
  margin-top: 2px;
  color: var(--accent-text);
  flex: none;
}
.notice--stop .notice__head .icon {
  color: var(--stop-text);
}
.notice__head b {
  font: 700 var(--t-body) / 1.3 var(--f-text);
}
.notice__meta {
  font-size: var(--t-small);
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.notice__acts {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--s-2);
}
.notice__acts .btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 0 var(--s-2);
  font-size: 0.875rem;
}
.notice__no-nick {
  font-size: var(--t-small);
  color: var(--mute);
}
@media (min-width: 1024px) {
  .notice-dock {
    left: auto;
    right: var(--s-6);
    bottom: var(--s-6);
    width: 360px;
  }
  .main-col:has(.fab:not([hidden])) .notice-dock {
    bottom: var(--s-6);
  }
}

/* ---------- Блок «Созвоны» в карточке лида ---------- */
.lead-calls.card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--pad);
}
.lead-calls__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.lead-calls__head .btn {
  min-height: 44px;
}
.lead-calls__head .btn--quiet {
  padding-left: 0; /* ссылка стоит под левым краем кнопок выше, а не сдвинута на отступ кнопки */
}
.lead-calls__wait {
  display: flex;
}
.lead-call {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  width: 100%;
  text-align: left;
}
.lead-call--active {
  padding: var(--s-3);
  border-radius: var(--r-m);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}
.lead-call__main {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  text-align: left;
  min-height: 44px;
}
.lead-call__when {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.lead-call--active .chip {
  background: var(--raised);
}
.lead-call--active .chip--now {
  background: var(--accent-soft);
}
.lead-call--active .chip--ok {
  background: var(--ok-soft);
}
.lead-call--active .chip--warn {
  background: var(--warn-soft);
}
.lead-call__sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.lead-call__acts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
}
.lead-call--past {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 var(--s-1);
  border-top: 1px solid var(--line);
  color: var(--text-2);
}
.lead-calls__list {
  display: flex;
  flex-direction: column;
}

/* ---------- Тост с двумя кнопками ---------- */
.toast__text {
  flex: 1;
  min-width: 0;
}
.toast--rows {
  flex-wrap: wrap;
  row-gap: var(--s-1);
}
.toast--rows .toast__text {
  flex: 1 1 calc(100% - 48px);
}
.toast__actions {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  margin-left: -8px;
}

/* =====================================================================================================================
   Правки после проверок (10.11.2026, часть 1б): шапка ниже, плашка не перекрывает созвоны, быстрые действия на карточке,
   отступ под «+», фиксированный переключатель видов, подпись штриховки
   ===================================================================================================================== */

/* Метка МСК в одной строке с датой на телефоне, короткий текст; полный на компьютере */
.cal__tz-short {
  display: none;
}
@media (max-width: 1023px) {
  .cal__tz-long {
    display: none;
  }
  .cal__tz-short {
    display: inline;
  }
  .cal__tz .icon {
    display: none;
  }
  .cal__title {
    flex-wrap: wrap;
    gap: 2px var(--s-2);
  }
  .cal__h {
    flex: none;
  }
  /* подпись «Время созвона показано по твоему времени» длинная: на телефоне простой строкой под датой, не плашкой рядом (иначе наезжала на кнопку часов) */
  .cal__tz {
    flex: 1 1 100%;
    min-width: 0;
    height: auto;
    padding: 0;
    background: none;
    color: var(--mute);
    font-weight: 500;
    white-space: normal;
  }
  .cal {
    gap: var(--s-2);
  }
  .cal__head {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "nav views views"
      "title title tools";
    gap: var(--s-1) var(--s-3);
  }
  .cal__views {
    justify-self: end;
  }
  .cal.is-list .cal__title {
    flex-wrap: wrap;
  }
}
/* Переключатель видов стоит на одном месте в «Дне» и в «Списке» (в списке стрелки скрыты, места они не занимают) */
.cal.is-list .cal__views {
  grid-area: views;
  justify-self: end;
}

/* Плашка напоминания не перекрывает созвоны: странице оставлено место по высоте плашки */
.main-col.has-notice .page {
  padding-bottom: calc(var(--notice-reserve, 0px) + var(--s-2));
}
.notice__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
}
.notice__later.btn {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  margin: -8px -8px -8px 0;
  padding: 0 var(--s-3);
}

/* «+» никогда не лежит на карточках и их кнопках: на телефоне под сеткой и списком оставлена полоса по высоте кнопки, «+» стоит в ней.
   Когда показана плашка напоминания, место под неё и под «+» уже оставляет страница (--notice-reserve), вторую полосу не добавляем */
@media (max-width: 1023px) {
  .main-col:not(.has-notice) .cal {
    padding-bottom: 68px;
  }
}

/* Подпись на штриховке «не рабочее время» */
.cal-off {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
}
.cal-off__t {
  margin: 6px 8px 0 0;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg);
  color: var(--mute);
  font: 600 0.6875rem / 1.2 var(--f-text);
  white-space: nowrap;
}

/* Ближайший созвон главный на экране: время крупно и ярко, рядом кнопка «Начать» */
.cal-card.is-next .cal-card__time {
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 800;
}
.cal-card__acts {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.cal-card__acts .cal-card__next {
  margin-top: 0;
  flex: 1 1 0;
  min-width: 0;
}
.cal-card__act.btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 0 var(--s-2);
  font-size: 0.875rem;
}
.cal-card__acts .cal-card__next + .cal-card__act.btn {
  flex: 0 0 auto;
  min-width: 88px;
}
.cal-card:has(.cal-card__acts) .cal-card__name {
  -webkit-line-clamp: 2;
}
/* Узкая дорожка (два созвона рядом): только время и имя, состояние видно по цвету и иконке */
.cal-card[data-lanes="2"] .cal-card__state,
.cal-card[data-lanes="2"] .cal-card__who,
.cal-card[data-lanes="2"] .cal-card__next {
  display: none;
}

/* Отмена созвона выглядит как опасное действие, а не как ссылка; зона 44 px, кнопки разведены по краям */
.callsheet__quiet .js-cancel.btn {
  color: var(--stop-text);
  min-height: 44px;
}
.callsheet__quiet .js-lead.btn {
  margin-left: auto;
}

/* Неделя и «По людям»: колонки узкие, на карточке одна кнопка во всю ширину; «Перенести» там не нужно (есть перетаскивание) */
.cal__inner.is-multi .cal-card__acts {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}
.cal__inner.is-multi .cal-card__acts .cal-card__next span:first-child {
  display: none;
}
.cal__inner.is-multi .cal-card__acts .cal-card__next {
  flex: none;
}
.cal__inner.is-multi .cal-card__act.btn,
.cal__inner.is-multi .cal-card__acts .cal-card__next + .cal-card__act.btn {
  flex: none;
  min-width: 0;
  width: 100%;
}
.cal__inner.is-multi .cal-card--over .js-card-start,
.cal__inner.is-multi .js-card-move {
  display: none;
}
/* неделя и «По людям»: у просроченного две кнопки одна под другой, пониже (36 px, как разрешает Дизайн-спека §5.5 для мыши) */
.cal__inner.is-multi .cal-card--over .cal-card__act.btn {
  min-height: 34px;
}
.cal__inner.is-multi .cal-card--over .cal-card__acts {
  gap: 4px;
}
.cal__inner.is-multi .cal-card:has(.cal-card__acts) .cal-card__name {
  -webkit-line-clamp: 1;
}

/* Карточка не сжимает строки: при нехватке места лишнее скрывается, а не имя лида */
.cal-card > * {
  flex-shrink: 0;
}
.cal-card > .cal-card__acts {
  flex-shrink: 1;
}
.cal__inner.is-multi .cal-card:has(.cal-card__acts):not(.cal-card--over) .cal-card__state,
.cal__inner.is-multi .cal-card--over:has(.cal-card__acts) .cal-card__tag {
  display: none;
}
.cal__inner.is-multi .cal-card--over .cal-card__state {
  font-size: 0.6875rem;
  letter-spacing: 0;
  white-space: nowrap;
}

/* ---------- Правки второго круга ---------- */
/* Переключатель видов: подпись «По людям» не переносится, шапка не растёт */
.cal__views .chip-tab {
  white-space: nowrap;
}
/* «Нет связи»: одна плашка. Если календарь показал свою (с «Повторить»), общую полосу оболочки прячем, верх страницы не съезжает */
.main-col:has(.js-stale) > .net-banner {
  display: none;
}
/* «Перенести» на карточке дня: узкая кнопка в углу, в строке времени */
.cal-card__act--corner.btn {
  position: absolute;
  top: 2px;
  right: 2px;
  flex: none;
  width: auto;
  min-width: 0;
  padding: 0 var(--s-3);
  z-index: 1;
}
.cal-card:has(.cal-card__act--corner) .cal-card__name {
  padding-right: 104px;
}
/* «Ждём, когда лид напишет время»: контурная кнопка, видно, что нажимается */
.callsheet .js-wait.btn {
  background: transparent;
  color: var(--accent-text);
  box-shadow: inset 0 0 0 1px var(--accent-line);
  min-height: 48px;
}

@media (min-width: 1024px) {
  /* Шапка одной высоты в любом виде: дата с днём недели сверху, плашка МСК под ними, не рядом (рядом она то влезала, то переносилась) */
  .cal__title {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: var(--s-2);
  }
  .cal__h {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    row-gap: 2px;
  }
}

/* «Нужно перенести»: созвоны на выходном или вне рабочих часов (главный экран, лист «Рабочие часы»); заметный красный край, не мелкая строка */
.tomove {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-4);
  border: 1px solid var(--stop-line);
  background: var(--stop-soft);
}
.tomove__h {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--stop-text);
  font-size: 1.0625rem;
}
.tomove__sub {
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.tomove__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px var(--s-3);
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: var(--s-3);
  border-radius: var(--r-m);
  background: var(--surface-2);
  color: inherit;
  text-align: left;
}
.tomove__row--handed {
  box-shadow: inset 0 0 0 2px var(--stop-line);
}
.tomove__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tomove__who span,
.tomove__why {
  color: var(--text-2);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.tomove__why {
  grid-column: 1;
  color: var(--stop-text);
}
.tomove__go {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.875rem;
}
.hm-tomove {
  margin-bottom: var(--s-4);
}
/* на компьютере строки идут по две в ряд: кнопка «Перенести» рядом с именем, а не на другом краю экрана (проверка прохода по мелочам) */
@media (min-width: 1024px) {
  .hm-tomove {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  .hm-tomove > .tomove__h,
  .hm-tomove > .tomove__sub,
  .hm-tomove > .btn {
    grid-column: 1 / -1;
  }
}
.tomove--hours {
  margin-bottom: var(--s-3);
}
