/* КУБИНАВТ: вид для телефона (04.10.2026). Включается на узком экране (до 768 px) и на телефоне «на боку» (низкий экран с пальцем).
   На широком экране этот файл ничего не делает: десктоп 13" (1280x720) остаётся как был. Данные и логика те же.
   Единые правила: кнопки и поля не ниже 44 px, шрифт не мельче 14 px (поля 16 px, чтобы iOS не увеличивал страницу),
   таблицы — карточками, вкладки липнут к верху, окна не вылезают за экран, учтены вырезы и «жёлоб» (safe-area).
   Селекторы с «html body» нужны, чтобы перебить стили, которые подгружаются позже (Ждун, Монарх, Пульт). */
@media (max-width: 768px), (pointer: coarse) and (max-height: 500px) {

/* ---------- основа ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 64px; scroll-padding-bottom: 120px; }
html body {
  font-size: 16px; -webkit-tap-highlight-color: transparent; overflow-x: clip;
  padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
  padding-bottom: calc(var(--kb, 0px) + env(safe-area-inset-bottom));
}
html body .wrap { padding-left: 12px; padding-right: 12px; padding-bottom: 56px; }
html body button, html body .btn, html body a, html body summary, html body select, html body label, html body [onclick] { touch-action: manipulation; }
html body img, html body video, html body canvas { max-width: 100%; height: auto; }
html body pre, html body code { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- верхняя полоса: в одну-две строки, не съедает экран ---------- */
html body .topbar { margin: -10px -12px 10px; padding: 8px 12px; gap: 6px 8px; }
html body .topbar .brand { font-size: 17px; }
html body .topbar .who { font-size: 20px; line-height: 1.1; }
html body .topbar .spacer { flex: 1 1 8px; }
html body .topbar .btn, html body .s2-wrap .topbar .btn { min-height: 44px; padding: 6px 12px; font-size: 15px; }
html body h1 { font-size: 24px; line-height: 1.15; margin: 8px 0; }
html body h2 { font-size: 20px; line-height: 1.2; }
html body .hint, html body .tiny, html body p.hint, html body .wrap > .tiny { font-size: 14px; line-height: 1.4; }

/* ---------- кнопки, поля, переключатели ---------- */
html body .btn, html body .btn-mini, html body .btn-kapets, html body .seg button, html body .stat button,
html body .bn, html body .mn-chip, html body .eng-sec, html body .eng-steps button, html body .pb-mini, html body .fold-nav button,
html body .s2-seg button, html body .s2-tabs button, html body .s2-bell, html body .fr-tab, html body .sur-btn,
html body .seg > button, html body button.btn, html body button.btn-ghost {
  min-height: 44px !important; min-width: 44px; font-size: max(15px, 1em);
}
html body .btn-mini, html body .pb-mini { padding: 6px 12px; min-width: 44px; }
html body .btn { padding: 10px 14px; }
html body input:not([type=checkbox]):not([type=radio]), html body select, html body textarea, html body .cell-inp, html body .cmt-inp, html body .lg-sel, html body .lg-pin {
  font-size: 16px !important; min-height: 46px; max-width: 100%;
}
html body textarea { min-height: 88px; }
html body input[type=checkbox], html body input[type=radio] { width: 24px; height: 24px; }
html body summary { min-height: 44px; padding-top: 10px; padding-bottom: 10px; cursor: pointer; }
/* маленькие ссылки («на сайте →», «ещё»): видимый размер прежний, зона нажатия 44 px */
html body a.goods-link, html body .goods-link { position: relative; font-size: 14px; display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; }
html body a.goods-link::after, html body .linkish::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 48px; transform: translateY(-50%); }
html body .linkish { position: relative; }
/* рядами кнопок: переносим, а не выдавливаем за экран */
html body .seg, html body .stat, html body .fold-nav, html body .eng-steps, html body .s2-tabs, html body .s2-seg, html body .bn-row { flex-wrap: wrap; }
html body .seg button { min-height: 52px; }

/* ---------- мелкий шрифт: не меньше 14 px ---------- */
html body small, html body .tiny, html body em.road-cap, html body .eng-pill, html body span.eng-pill, html body .pill-await, html body .pill-late,
html body .s2-l, html body .s2-l.hot, html body .s2-l.xl, html body .s2-l.sh, html body .s2-l.dup, html body .s2-l.chg, html body .admit, html body .mn-lab,
html body .mn-ev small, html body .mn-ev .d, html body .mn-ev .t, html body .mn-ev .q, html body .mn-chip, html body .bn-tag,
html body .mark-kapets, html body .an-badge, html body .wh-warn-chip, html body .zo-was, html body .node span, html body .ps-card em,
html body .s2-ev .t, html body .s2-fl, html body .sc-mid span, html body .pb .tiny, html body .data-table th, html body .data-table td,
html body .lg-tbl td, html body .lg-tbl th, html body .lg-sid { font-size: 14px; }
html body span.t, html body span.d, html body span.q { font-size: 14px; }
html body .mn-ev span.t { white-space: normal; overflow: visible; text-overflow: clip; }
html body .s2-gl .goods-link { font-size: 14px; }
html body .mon-meta span, html body .mon-shelf em { font-size: 14px; }
/* то, что в проверке оказалось мельче 14 px (там заданы свои, более «тяжёлые» правила) */
html body :is(.eng-name small, .eng-sec span, .eng-sec small, .mon-day span, .mon-day em, .mon-sig span, .admit span, .ps-card span, .mon-cell span, .mon-shelf span, .mon-shelf em,
  .mn-it b, .mn-it em, .mn-it .r span, .r span, .mn-tile small, .mn-tile u, .mn-list h3, .mn-foot, .mn-secs b, .mn-cons, .seg-cap, .seg > button, .t small, .road-cap, .lg-day td,
  .stat span, .sum-chip span, .chip span, .pill span, .road span, .stage-pill, .rd) { font-size: 14px !important; }
html body .m-f14 { font-size: 14px !important; }

/* ---------- таблицы -> карточки (mobile.js ставит класс mcards и подписи data-l) ---------- */
html body .mc-wrap, html body .table-wrap.mc-wrap { overflow: visible !important; max-height: none !important; border: 0; background: transparent; border-radius: 0; box-shadow: none; }
html body .swipe-hint { display: none !important; }
html body table.mcards { display: block; width: 100% !important; min-width: 0 !important; max-width: 100%; table-layout: auto !important; background: transparent !important; border: 0; box-shadow: none; }
html body table.mcards colgroup, html body table.mcards thead { display: none !important; }
html body table.mcards tbody { display: block; }
html body table.mcards tr {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px 12px; align-items: start;
  margin: 0 0 10px; padding: 12px; background: #fff; color: #1c1914; border: 2px solid var(--line, #d3c7b0); border-radius: 14px; width: auto !important;
}
html body table.mcards tr.mc-span { display: block; padding: 10px 12px; background: transparent; border: 0; margin: 0 0 6px; }
html body table.mcards tr.mc-span > td { display: block; width: auto !important; position: static !important; padding: 8px 4px !important; border: 0 !important; background: transparent; box-shadow: none; }
html body table.mcards td, html body table.mcards th {
  display: block; position: static !important; width: auto !important; min-width: 0 !important; max-width: none !important; padding: 0 !important; border: 0 !important;
  background: transparent; box-shadow: none !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important;
  overflow-wrap: anywhere; text-align: left !important; font-size: 15px; line-height: 1.35; min-height: 0;
}
html body table.mcards td:empty { display: none; }
html body table.mcards td :is(span, b, em, a, i, .mark-kapets, .pill-late, .pill-await, .stage-pill) { white-space: normal !important; max-width: 100%; overflow-wrap: anywhere; }
html body table.mcards td[data-l]::before {
  content: attr(data-l); display: block; margin-bottom: 1px; font-size: 14px; font-weight: 700; color: #6b6558; letter-spacing: 0; text-transform: none;
}
html body table.mcards td.mc-first, html body table.mcards td.mc-title { grid-column: 1 / -1; }
html body table.mcards td.mc-first { font-weight: 900; font-size: 17px; }
html body table.mcards td.mc-title { font-size: 16px; font-weight: 800; }
html body table.mcards td.mc-first[data-l]::before, html body table.mcards td.mc-title[data-l]::before { display: none; }
html body table.mcards td.mc-first.mc-title { font-size: 17px; }
html body table.mcards td.num { text-align: left !important; }
html body table.mcards tr:hover > td { background: transparent !important; }
html body table.mcards tr.sel-on, html body table.mcards tr.zo-on { background: #fde68a; border-color: #d97706; }
html body table.mcards tr[onclick] { cursor: pointer; }
/* тёмный Пульт */
html body.mon table.mcards tr { background: #0b1620; color: #d5e4ee; border-color: #1e3a4c; }
html body.mon table.mcards td[data-l]::before { color: #8ba3b5; }
html body.mon table.mcards tr.bad { background: #2a0f14; border-color: #7f1d1d; }
html body.mon table.mcards tr.lg-day { background: #0f2433; border-color: #1e3a4c; }
html body.mon table.mcards tr.lg-day td { color: #fbbf24; font-weight: 800; }
html body.mon .lg-wrap { border: 0; }

/* раскрытые панели под строкой (полное имя, приходы Монарха) */
html body table.mcards tr.nomen-full, html body table.mcards tr.mc-span.nomen-full { display: block; margin: -6px 0 10px; padding: 0; border: 0; background: transparent; }
html body .arr-list .arr-tbl { display: block; overflow-x: auto; }

/* ---------- Ждун: список заявок карточками ---------- */
html body .s2-wrap { height: auto; overflow: visible; display: block; padding-bottom: 56px; }
html body .s2-list { overflow: visible; border: 0; background: transparent; border-radius: 0; max-height: none; }
html body .s2-t { width: 100%; }
html body .s2-t tbody.s2-fold { display: block; margin-bottom: 8px; }
html body .s2-t tr.s2-fh { display: block; margin: 0 0 8px; padding: 0; border: 0; background: transparent; }
html body .s2-t tr.s2-fh td { display: block; padding: 12px 14px !important; background: #efe7d4; border: 2px solid var(--line, #d3c7b0) !important; border-radius: 12px; font-size: 16px; min-height: 44px; }
html body .s2-t tr.s2-more { display: block; margin: 0 0 8px; padding: 0; border: 0; background: transparent; }
html body .s2-t tr.s2-more td { display: block; padding: 12px !important; min-height: 44px; font-size: 16px; text-align: center !important; }
html body .s2-t tr.s2-row {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; padding: 12px 12px 12px 16px; margin: 0 0 10px; overflow: hidden;
}
html body .s2-t tr.s2-row > td.s2-nm { grid-column: 1 / -1; padding-right: 44px !important; }
html body .s2-t td.s2-nm::before { display: none; }
html body .s2-t tr.s2-row > td.s2-c { position: absolute !important; top: 4px; right: 4px; width: 44px !important; height: 44px; display: flex; align-items: center; justify-content: center; z-index: 2; }
html body .s2-t tr.s2-row > td.s2-c input { width: 26px; height: 26px; }
html body .s2-t tr.s2-row > td.s2-ac { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
html body .s2-t td.s2-ac .btn-mini { margin: 0; min-height: 44px; }
html body .s2-t .s2-n1 { font-size: 17px; line-height: 1.3; }
html body .s2-t .s2-lb { gap: 6px; margin-top: 6px; }
html body .s2-t .s2-l { padding: 3px 9px; }
/* окрашенные карточки (Пиздец / просрочено): фон на всей карточке, а не на клетках */
html body .s2-t tr.s2-row.pz-kap { background: #fecaca; }
html body .s2-t tr.s2-row.pz-late { background: #fde047; }
html body .s2-t tr.s2-row.pz-both { background-image: repeating-linear-gradient(-45deg, #fde047 0 12px, #fca5a5 12px 24px); }
html body .s2-t tr.s2-row.pk { background: #dbeafe; background-image: none; }
html body .s2-t tr.s2-row.pz-kap > td, html body .s2-t tr.s2-row.pz-late > td, html body .s2-t tr.s2-row.pz-both > td, html body .s2-t tr.s2-row.pk > td { background: transparent !important; background-image: none !important; }
html body .s2-t tr.s2-row.on { outline: 3px solid #2563eb; outline-offset: -3px; }
/* верх Ждуна: плотнее; вкладки липнут к верху */
html body .s2-wrap h1 { display: none; }
html body .s2-leg { font-size: 14px; line-height: 1.7; margin: 0 0 6px; }
html body .s2-sw { margin: 0 0 8px; }
html body .s2-red, html body .s2-gray, html body .s2-sum { font-size: 15px; max-height: 30vh; padding: 8px 12px; }
html body .s2-tabs { position: sticky; top: 0; z-index: 30; gap: 6px; margin: 0 -12px 8px; padding: 8px 12px; background: var(--paper, #f6efe0); border-bottom: 2px solid var(--line, #d3c7b0); }
html body .s2-tabs button { padding: 8px 14px; font-size: 16px; }
html body .s2-tabs .s2-tab-arr { margin-left: 0; font-size: 15px; padding: 8px 14px; }
html body .s2-bell { padding: 6px 12px; }
html body .s2-bell b { font-size: 14px; }
html body .s2-tools { gap: 8px; }
html body .s2-q { flex: 1 1 100%; min-width: 0; }
html body .s2-bar { margin: 8px 0; font-size: 15px; }
html body .s2-bar.on { position: sticky; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 25; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
/* карточка заявки и колокольчик: во весь экран поверх списка, «закрыть» всегда под пальцем */
html body .s2-card, html body .s2-panel {
  position: fixed; inset: 0; z-index: 70; width: auto !important; flex: none; border-radius: 0; border-width: 0; padding: 0 14px calc(24px + var(--kb, 0px) + env(safe-area-inset-bottom)); overflow-y: auto; font-size: 16px;
  padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right));
}
html body .s2-card .s2-ph, html body .s2-panel .s2-ph { position: sticky; top: 0; z-index: 3; margin: 0 -14px 10px; padding: 10px 14px; background: inherit; border-bottom: 2px solid var(--line, #d3c7b0); font-size: 20px; }
html body .s2-ph .btn-mini { min-height: 44px; }
html body .s2-cf { grid-template-columns: 1fr; }
html body .s2-fl { font-size: 15px; }
html body .s2-fl input, html body .s2-fl textarea { font-size: 16px !important; }
html body .s2-fl textarea.s2-note { min-height: 9em; max-height: 50vh; font-size: 16px !important; }
html body .s2-ev { grid-template-columns: 1fr; }
html body .s2-ev .a { grid-column: 1; }

/* ---------- Холодильник ---------- */
html body .fr-tabs { position: sticky; top: 0; z-index: 30; margin: 0 -12px 12px; padding: 8px 12px; background: var(--paper, #f6efe0); }
html body .fr-tab { font-size: 19px; min-height: 60px; }
html body .fr-tab small { font-size: 14px; }
html body .fr-bell { min-height: 48px; min-width: 48px; }

/* ---------- Инженер, Монарх, Пульт ---------- */
html body .eng-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html body .eng-steps button { text-align: left; }
html body .eng-tabs { display: grid; grid-template-columns: 1fr; gap: 8px; }
html body .eng-tabs button { text-align: left; }
html body .eng-who { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
html body .eng-sec { min-width: 0; }
html body .bn { flex: 1 1 calc(50% - 8px); }
html body .bn-tag { flex: 1 1 100%; }
html body .mn-chip { padding: 6px 12px; }
html body .mn-ev { min-height: 44px; }
html body .mon-top { flex-wrap: wrap; }
html body .nodes { grid-template-columns: 1fr 1fr; }
html body .pb { padding: 12px; }
html body .pb-list { grid-template-columns: 1fr; }
html body .lg-f { gap: 8px; }
html body .lg-f .lg-sel { flex: 1 1 calc(50% - 8px); }
html body .lg-tabs .pb-mini { flex: 1 1 100%; text-align: left; }
html body .lg-wrap { max-height: none; overflow: visible; border: 0; }
html body .lg-pin { width: 100%; }
html body .lg-code { font-size: 16px; }


/* ---------- Монарх: «Найти» и «Что происходит» (раньше была только десктопная раскладка) ---------- */
html body .mn-wrap { height: auto; overflow: visible; display: block; padding-bottom: 56px; }
html body .boss-bar .btn.bn, html body .boss-bar .btn { font-size: 15px; padding: 8px 12px; }
html body .bn-tag { font-size: 14px; padding: 4px 12px; text-align: center; }
html body .mn-bar { flex-wrap: wrap; gap: 8px; margin: 0 0 12px; align-items: stretch; }
html body .mn-search { flex: 1 1 100%; height: 50px; padding: 0 12px; box-sizing: border-box; min-width: 0; }
html body .mn-search input { font-size: 16px !important; min-height: 0; }
html body .mn-x { min-width: 44px; min-height: 44px; font-size: 20px; }
html body .mn-sel { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; white-space: normal; font-size: 15px; min-width: 0; }
html body .mn-sel select { flex: 1 1 140px; max-width: none; min-width: 0; height: 46px; font-size: 16px; }
html body .mn-lab { flex: 1 1 100%; font-size: 14px; margin: 4px 0 0; color: #fff; }
html body .mn-bar .mn-sel { color: #fff; font-weight: 700; }
html body .mn-bar .seg { display: flex; flex-wrap: wrap; width: 100%; gap: 6px; border: 0; background: transparent; overflow: visible; }
html body .mn-bar .seg button { flex: 1 1 auto; height: auto; min-height: 44px; padding: 6px 12px; font-size: 15px; background: #fff; border: 1.5px solid var(--line) !important; border-radius: 10px; }
html body .mn-bar .seg button.on { background: var(--boss); color: #fff; border-color: var(--boss) !important; }
html body .mn-bodybox, html body .mn-body { display: block; min-height: 0; }
html body .mn-body.find { display: flex; flex-direction: column; gap: 12px; }
html body .mn-list { overflow-y: auto; max-height: 44vh; padding: 8px; -webkit-overflow-scrolling: touch; }
html body .mn-list h3 { font-size: 15px; margin: 2px 4px 8px; }
html body .mn-it { padding: 10px 12px; margin-bottom: 8px; min-height: 44px; }
html body .mn-it b { font-size: 16px; line-height: 1.25; }
html body .mn-it .r { font-size: 14px; margin-top: 4px; flex-wrap: wrap; }
html body .mn-main { overflow: visible; display: block; padding: 12px; min-width: 0; }
html body .mn-main h2 { font-size: 20px; line-height: 1.2; }
html body .mn-verdict { font-size: 16px; padding: 10px 12px; }
html body .mn-tiles.t4, html body .mn-tiles.t5, html body .mn-tiles.t6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
html body .mn-tile { padding: 8px 10px; }
html body .mn-tile small { font-size: 14px; min-height: 0; margin-bottom: 4px; }
html body .mn-tile b { font-size: 26px; }
html body .mn-two { display: block; overflow: visible; margin-top: 12px; }
html body .mn-tb { margin-bottom: 14px; }
html body .mn-two h3, html body .mn-lent h3 { font-size: 17px; margin: 0 0 8px; }
html body .mn-more { min-height: 44px; font-size: 15px; padding: 8px 14px; }
html body .mn-foot { font-size: 14px; line-height: 1.45; }
html body .mn-empty { padding: 14px; font-size: 15px; text-align: left; }
html body .mn-lents { display: block; }
html body .mn-lent { padding: 10px 12px; margin-bottom: 12px; overflow: visible; }
html body .mn-ev { align-items: flex-start; padding: 10px 0; font-size: 15px; line-height: 1.3; min-height: 44px; }
html body .mn-ev .d { width: 44px; }
html body .mn-ev .t { overflow: visible; }
html body .mn-ev .t small { white-space: normal; overflow: visible; text-overflow: clip; }
html body .mn-secs { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; margin-top: 12px; font-size: 15px; }
html body .mn-secs > b { flex: 1 1 100%; }
html body .mn-cons { margin-left: 0; flex: 1 1 100%; font-size: 14px; }
html body .mn-chip { padding: 8px 12px; font-size: 15px; min-height: 44px; }
html body .mn-main table:not(.mcards) { table-layout: auto; }

/* ---------- окна ---------- */
html body .edit-mask { padding: 8px; align-items: flex-start; overscroll-behavior: contain; }
html body .edit-box { width: 100%; max-height: none; padding: 14px 14px 10px; border-radius: 16px; }
html body .edit-box h2 { font-size: 22px; }
html body #rbm, html body #maint-modal { align-items: flex-start; overflow-y: auto; padding: max(12px, env(safe-area-inset-top)) 12px calc(12px + var(--kb, 0px)); }
html body #rbm .box, html body #maint-modal .box { margin: auto; max-height: none; }
html body #rbm input, html body #maint-modal input { font-size: 24px !important; }
html body .more-pop-fixed { max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); overflow-y: auto; }
html body #kubUndoToast { left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: calc(10px + env(safe-area-inset-bottom)); font-size: 15px; }
html body #kubUndoToast button { min-height: 44px; }
html body #kubLiveChip { bottom: calc(10px + env(safe-area-inset-bottom)); font-size: 14px; }
html body #maint-pill { bottom: calc(10px + env(safe-area-inset-bottom)); }

}

/* ---------- телефон «на боку»: высоты мало, всё плотнее, список в две колонки ---------- */
@media (pointer: coarse) and (max-height: 500px) {
  html body .topbar .who { font-size: 18px; }
  html body .topbar { padding-top: 4px; padding-bottom: 4px; }
  html body .wrap { padding-bottom: 24px; }
  html body table.mcards tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
  html body table.mcards tbody > tr { margin: 0; }
  html body table.mcards tr.mc-span { grid-column: 1 / -1; }
  html body .s2-t tbody.s2-fold { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
  html body .s2-t tr.s2-fh, html body .s2-t tr.s2-more { grid-column: 1 / -1; }
  html body .s2-t tr.s2-row { margin: 0; }
  html body .s2-tabs, html body .fr-tabs { padding-top: 4px; padding-bottom: 4px; }
}

/* ---------- плоские кнопки (04.10, mobile_sections): ниже по виду, но палец попадает как в 44 px ----------
   Видимая высота 36–40 px, нажимаемая зона 44 px: её даёт невидимая рамка ::after, зазор между рядами 8 px. */
@media (max-width: 768px), (pointer: coarse) and (max-height: 500px) {
  html body .mn-secs { gap: 8px; padding: 10px 12px; }
  html body .mn-chip, html body .eng-sec {
    position: relative; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
    min-height: 36px !important; height: auto; padding: 4px 12px; line-height: 1.2; border-radius: 8px; font-size: 15px; min-width: 0;
  }
  html body .mn-chip i, html body .eng-sec span { margin-left: 2px; font-size: 15px; font-weight: 800; }
  html body .mn-chip::after, html body .eng-sec::before { content: ""; position: absolute; inset: -4px -2px; }
  html body .mn-chip.g[onclick*="secAll"] { flex: 1 1 100%; justify-content: center; white-space: normal; text-align: center; }
  html body .eng-list { gap: 8px; }
  /* Холодильник: вкладки «Приход / Списание» и колокольчик ниже, подпись в той же строке */
  html body .fr-tab { min-height: 52px !important; padding: 6px 10px; font-size: 19px; border-width: 2px; border-radius: 12px; }
  html body .fr-tab small { display: inline; font-size: 14px; margin-left: 6px; }
  html body .fr-bell { min-height: 52px !important; }
  html body .fr-go { min-height: 52px; font-size: 20px; border-radius: 12px; box-shadow: 0 3px 0 rgba(0,0,0,.18); }
  html body .pb-btn { min-height: 44px; padding: 0 14px; font-size: 16px; border-radius: 10px; }
}

/* секретный жест (К К К Т Т Т по буквам логотипа): на телефоне буквы крупнее для пальца, ряд остаётся в той же высоте */
@media (max-width: 768px), (pointer: coarse) and (max-height: 500px) {
  html body .logo-tap span { padding: 12px 4px; margin: -12px -1px; position: relative; }
}
/* 05.10.2026 (fl1) Холодильник: «на сайте →» плоская (видимая 30 px), палец попадает как в 48 px — через ::after (правило выше). Только телефон (html.is-m). */
html.is-m body .goods-link.fr-gl { min-height: 30px; padding: 0 12px; font-size: 14px; line-height: 1.2; }
html.is-m body a.goods-link.fr-gl::after { height: 44px; }
html.is-m body .fr-rowl { padding: 7px 14px 10px; }
html.is-m body .fr-rowx > .fr-row { padding-bottom: 2px; }
html.is-m body .fr-jrow .fr-jact { margin-top: 10px; }
html.is-m body .fr-meta { line-height: 1.9; }
html.is-m body .fr-sigrow { flex-direction: row; align-items: flex-start; }
html.is-m body .fr-sigrow input { margin-top: 2px; }
/* Ждун на телефоне: галочка справа вверху карточки (раньше её прибивал left:0 от закрепления столбца и она закрывала начало названия) */
html.is-m body .s2-t tr.s2-row > td.s2-c { left: auto !important; }

/* 05.10.2026 (раздел B): узкий телефон — подпись вкладок «машина приехала / выдали на объект» второй строкой, чтобы не обрезалась */
@media (max-width: 430px) {
  html body .fr-tab { padding: 6px 6px; line-height: 1.1; }
  html body .fr-tab small { display: block; margin-left: 0; font-size: 13px; }
  html body .ev-panel { top: 60px; right: 8px; width: calc(100vw - 16px); }
}
