/* v3-cards.css — разделы вне макетов в языке дизайна 2.0 (static/js/v3-cards.js):
   полные карточки объекта и клиента (как Objects.dc.html / Clients.dc.html,
   телефон — MobObject / MobClient), панель уведомлений, «Что нового» и окно
   поиска на компьютере (как ModalEdit / ModalConfirm). Цвета — токены кита. */

/* ══ Полные карточки: общее ══════════════════════════════════════════════ */
.v3cd { color: var(--t-ink); font-size: 14px; line-height: normal; }
.v3cd button { font-family: inherit; cursor: pointer; }
.v3cd a { color: var(--t-blue); text-decoration: none; font-weight: 600; }
.v3cd a:hover { color: var(--t-blue-ink); }
.v3cd a.dd-opt { color: var(--t-ink); font-weight: inherit; }
.v3cd .grow, .v3cd-grow { flex-grow: 1; min-width: 0; }
.v3cd-grow { display: block; line-height: 1.35; }
.v3cd-grow > b { font-weight: 700; }
.v3cd-mut { color: var(--t-ink-3); font-weight: 500; }
.v3cd-sub { display: block; font-size: 12.5px; color: var(--t-ink-3); overflow-wrap: anywhere; margin-top: 1px; }
.v3cd-sub b { color: var(--t-ink-2); }

.v3cd-num { font-size: 13px; font-weight: 750; padding: 3px 10px; border-radius: 10px; background: #1c1c1e; color: #fff;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.v3cd-num.sm { font-size: 12px; padding: 2px 8px; border-radius: 8px; justify-self: start; }
.v3cd-org { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 10px; background: var(--t-nested); color: var(--t-ink-2); white-space: nowrap; }
.v3cd-mgr { font-size: 13px; color: var(--t-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.v3-pill.warn { background: var(--t-warn-soft); color: var(--t-warn-ink); }
.v3-pill.new, .v3-pill.plan { background: rgba(10,95,208,.1); color: var(--t-blue-ink); }
.v3cd-st.paid::before, .v3cd-st.warn::before, .v3cd-st.new::before, .v3cd-st.plan::before { content: ''; display: inline-block; width: 6px; height: 6px;
  border-radius: 3px; background: currentColor; margin: 0 5px 1px 0; vertical-align: middle; }

/* шапка — как у карточки Objects.dc.html */
.v3cd-top { display: flex; align-items: flex-start; gap: 12px; }
.v3cd-top > .v3-btn-round { margin-top: 2px; }
.v3cd-logo { flex-shrink: 0; display: flex; }
.v3cd-logo .ent-ico { border-radius: 16px; overflow: hidden; }
.v3cd-title { display: flex; flex-direction: column; gap: 5px; flex-grow: 1; min-width: 0; }
.v3cd-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.v3cd-title h2 { margin: 2px 0 0; font-size: 30px; font-weight: 750; letter-spacing: -.03em; line-height: 1.12; overflow-wrap: anywhere; }
.v3cd-addr { font-size: 14px; color: var(--t-ink-2); }
.v3cd-addr a { white-space: nowrap; }
.v3cd-more, .v3cd-pmore { position: relative; flex-shrink: 0; }
.v3cd-more .dd-menu, .v3cd-pmore .dd-menu { left: auto !important; right: 0 !important; min-width: 260px !important; }
.v3cd-sec { display: flex; align-items: center; gap: 7px; white-space: nowrap; height: 40px; padding: 0 18px 0 14px; border-radius: 20px;
  border: 1px solid var(--t-line); background: var(--t-surface); color: var(--t-ink); font-size: 14px; font-weight: 600;
  box-shadow: 0 1px 2px rgba(22,26,36,.06); flex-shrink: 0; }
.v3cd-sec:hover { background: var(--t-row); }
.v3cd-sec svg { color: var(--t-blue); }
.v3cd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v3cd-chips:empty { display: none; }
.v3cd-chip { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 17px; border: 0;
  background: var(--t-nested); color: var(--t-ink); white-space: nowrap; font-size: 14px; max-width: 100%; box-sizing: border-box; }
.v3cd .v3cd-chip { color: var(--t-ink); font-weight: 400; }
.v3cd-chip svg { color: var(--t-blue); flex-shrink: 0; width: 15px; height: 15px; }
.v3cd-chip .n { font-size: 13px; color: var(--t-ink-3); }
.v3cd-chip .p { font-weight: 700; color: var(--t-blue); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
button.v3cd-chip:hover, a.v3cd-chip:hover { background: var(--t-hover); }

/* плитки */
.v3cd-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.v3cd-tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v3cd-tile { padding: 14px 16px; border-radius: 22px; border: 1px solid var(--t-line); display: flex; flex-direction: column; gap: 4px; min-width: 0; background: var(--t-surface); }
.v3cd-tile.acc { background: var(--t-blue-tint); border: 1.5px solid rgba(10,95,208,.35); }
.v3cd-tile.bad { background: rgba(224,49,63,.07); border: 1.5px solid rgba(224,49,63,.3); }
.v3cd-tk { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--t-ink-3); }
.v3cd-tk i { width: 8px; height: 8px; border-radius: 4px; background: var(--t-blue); }
.v3cd-tk.our { color: var(--t-blue-ink); }
.v3cd-tk.cli { color: var(--t-warn-ink); }
.v3cd-tk.cli i { background: var(--t-warn); }
.v3cd-tile.acc .v3cd-tk { color: var(--t-blue-ink); }
.v3cd-tile.bad .v3cd-tk { color: var(--t-bad-ink); }
.v3cd-tv { font-size: 28px; font-weight: 760; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.v3cd-tn { font-size: 13px; color: var(--t-ink-3); overflow-wrap: anywhere; }
.v3cd-tn.bad { color: var(--t-bad-ink); font-weight: 600; }
.v3cd-tile.acc .v3cd-tn { color: var(--t-ink-2); }

/* плашки */
.v3cd-alert { font-weight: 600; }
.v3cd-alert svg { flex-shrink: 0; }
.v3cd-alert .v3cd-sub { display: block; font-weight: 500; }
.v3cd-alert.info { background: rgba(10,95,208,.07); border: 1px solid rgba(10,95,208,.22); color: var(--t-blue-ink); }
.v3cd-alert.ok { background: rgba(20,150,79,.08); border: 1px solid rgba(20,150,79,.25); color: var(--t-ok-ink); }
.v3cd-alert a { color: inherit; text-decoration: underline; }
.v3cd .nd-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* разделы: заголовок 18/750, справа — ссылка-действие */
.v3cd-sect { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.v3cd-sh { display: flex; align-items: center; gap: 10px; min-height: 26px; }
.v3cd-sh h3 { margin: 0; font-size: 18px; font-weight: 750; letter-spacing: -.015em; white-space: nowrap; }
.v3cd-sh a { font-size: 13.5px; font-weight: 650; white-space: nowrap; }
.v3cd-cnt { min-width: 22px; height: 22px; padding: 0 7px; box-sizing: border-box; border-radius: 11px; background: var(--t-nested);
  color: var(--t-ink-2); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.v3cd-shn { font-size: 13px; color: var(--t-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.v3cd-cap { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--t-ink-3); padding: 4px 2px 0; }
.v3cd-arrows { display: flex; gap: 4px; flex-shrink: 0; }
.v3cd-arr { width: 32px; height: 32px; border-radius: 16px; border: 1px solid var(--t-line); background: var(--t-surface); color: var(--t-ink-2);
  display: flex; align-items: center; justify-content: center; padding: 0; }
.v3cd-arr:hover { background: var(--t-row); }

/* таблица в рамке, строки через тонкую линию */
.v3cd-tbl { display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--t-line); overflow: hidden; background: var(--t-surface); }
.v3cd-tbl > *, .v3cd-rest > * { border-bottom: 1px solid rgba(60,66,78,.08); }
.v3cd-tbl > :last-child, .v3cd-rest > :last-child { border-bottom: 0; }
.v3cd-rest[hidden] { display: none; }
.v3cd-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; min-width: 0; }
.v3cd-row.click { cursor: pointer; }
.v3cd-row.click:hover { background: var(--t-row); }
.v3cd-d { width: 64px; flex-shrink: 0; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v3cd-pl { font-size: 13.5px; }
/* несколько выездов в один день — через точку, а не впритык («машина 627Замена») */
.v3cd-pl + .v3cd-pl::before { content: ' · '; color: var(--t-ink-4); }
.v3cd-pl b { font-weight: 700; }
.v3cd-acts { display: flex; gap: 6px; flex-shrink: 0; }
.v3cd-go { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 650; color: var(--t-blue); white-space: nowrap; }
.v3cd-morebtn { align-self: stretch; height: 38px; border: 0; border-top: 1px solid rgba(60,66,78,.08); background: var(--t-row);
  color: var(--t-blue); font-size: 13.5px; font-weight: 650; }
.v3cd-morebtn:hover { background: var(--t-nested); }
.v3cd-hist > .v3cd-morebtn { border: 1px dashed var(--t-line-2); border-radius: 19px; background: transparent; margin-top: 4px; }

/* кнопки в строках: 32, как малые в макетах; «плохая» — розовая заливка, как «Отменить» */
.v3cd-bt { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 16px; white-space: nowrap;
  border: 1px solid var(--t-line); background: var(--t-surface); color: var(--t-ink); font-size: 13px; font-weight: 650; flex-shrink: 0; }
.v3cd-bt:hover { background: var(--t-row); }
.v3cd-bt svg { width: 14px; height: 14px; color: var(--t-ink-3); }
.v3cd-bt.bad { border: 0; background: rgba(198,42,56,.09); color: var(--t-bad-ink); }
.v3cd-bt.bad:hover { background: rgba(198,42,56,.15); }
.v3cd-bt.pri { border: 0; background: var(--t-blue-grad); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 14px -8px rgba(10,95,208,.85); }
.v3cd-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* виды заявок — цвета из ModalEdit.dc.html */
.v3cd-kind { flex-shrink: 0; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 9px; white-space: nowrap;
  background: rgba(91,109,134,.14); color: #3e4d63; min-width: 64px; text-align: center; }
.v3cd-kind.ust { background: rgba(20,150,79,.12); color: #16733e; }
.v3cd-kind.snyat { background: rgba(210,43,57,.1); color: #b3202e; }
.v3cd-kind.zam { background: rgba(201,117,15,.14); color: #8a4b00; }
.v3cd-kind.prod { background: rgba(168,120,240,.16); color: #5e2fa8; }
.v3cd-kind.krust { background: rgba(10,95,208,.1); color: #0a4fa8; }

/* история заявок: раскрытие */
.v3cd-det > summary { list-style: none; cursor: pointer; }
.v3cd-det > summary::-webkit-details-marker { display: none; }
.v3cd-det > summary:hover { background: var(--t-row); }
.v3cd-hn { display: flex; align-items: center; gap: 4px; font-size: 12.5px; white-space: nowrap; }
.v3cd-det[open] .v3cd-hn svg { transform: rotate(180deg); }
.v3cd-tls { padding: 2px 16px 12px 28px; display: flex; flex-direction: column; gap: 6px; }
.v3cd-tl { display: flex; align-items: baseline; gap: 10px; font-size: 13px; }
.v3cd-tl i { width: 7px; height: 7px; border-radius: 4px; background: var(--t-line-2); flex-shrink: 0; transform: translateY(-1px); }
.v3cd-tl .v3cd-mut { width: 82px; flex-shrink: 0; font-variant-numeric: tabular-nums; }

/* обслуживание по неделе — строки как в Objects.dc.html */
.v3cd-wdays, .v3cd-wrow { display: flex; align-items: center; gap: 12px; }
.v3cd-wdays { padding: 0 12px 0 14px; font-size: 11.5px; font-weight: 700; color: var(--t-ink-3); }
.v3cd-wdays > span:first-child { flex-grow: 1; }
.v3cd-days { display: grid; grid-template-columns: repeat(7, 38px); gap: 5px; flex-shrink: 0; }
.v3cd-wdays .v3cd-days span { text-align: center; }
.v3cd-wrow { padding: 10px 12px 10px 14px; border-radius: 20px; background: var(--t-row); border: 1px solid rgba(60,66,78,.1); }
.v3cd-wl { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex-grow: 1; }
.v3cd-wt { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.v3cd-wt b { font-weight: 700; }
.v3cd-who { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 9px; white-space: nowrap; }
.v3cd-who.our { background: rgba(10,95,208,.1); color: var(--t-blue-ink); }
.v3cd-who.cli { background: rgba(240,160,75,.2); color: var(--t-warn-ink); }
.v3cd-who.cub { background: rgba(123,45,139,.1); color: var(--t-comp-ink); }
.v3cd-bill { font-size: 12.5px; color: var(--t-ink-3); }
.v3cd-bill.paid { color: var(--t-ok-ink); font-weight: 650; }
.v3cd-bill.none { color: var(--t-bad-ink); font-weight: 650; }
.v3cd-day { width: 38px; height: 38px; font-size: 11.5px; }
.v3cd-day em { font-style: normal; color: var(--t-ink-4); font-weight: 700; opacity: 0; }
.v3cd-day.once { border-style: dashed; }

/* выезды за месяц — таблица и итог, как в Objects.dc.html */
.v3cd-vrow { display: grid; grid-template-columns: 64px 62px minmax(0, 1fr) auto 84px; gap: 12px; align-items: center;
  padding: 10px 16px; white-space: nowrap; }
.v3cd-vm { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; }
.v3cd-vm i { width: 8px; height: 8px; border-radius: 3px; flex-shrink: 0; }
.v3cd-vw { font-size: 13.5px; color: var(--t-ink-2); overflow: hidden; text-overflow: ellipsis; }
.v3cd-sum { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.v3cd-tot { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px; background: var(--t-nested); }
.v3cd-trow { display: flex; gap: 16px; font-size: 13.5px; }
.v3cd-trow span { color: var(--t-ink-2); flex-grow: 1; min-width: 0; }
.v3cd-trow b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v3cd-tfin { display: flex; gap: 10px; align-items: baseline; padding-top: 9px; margin-top: 2px; border-top: 1px solid var(--t-line); }
.v3cd-tfin span { flex-grow: 1; font-weight: 700; }
.v3cd-tfin b { font-size: 22px; font-weight: 760; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v3cd-tot .v3cd-mut { font-size: 12px; }

/* журнал — лента с точками, как «История» в Objects.dc.html */
.v3cd-hist { display: flex; flex-direction: column; padding: 4px 4px 0; }
.v3cd-hist .v3cd-rest { display: flex; flex-direction: column; }
.v3cd-hist .v3cd-rest[hidden] { display: none; }
.v3cd-hist .v3cd-rest > * { border: 0; }
.v3cd-ev { display: flex; gap: 12px; }
.v3cd-evl { display: flex; flex-direction: column; align-items: center; width: 12px; flex-shrink: 0; }
.v3cd-evd { width: 12px; height: 12px; box-sizing: border-box; border-radius: 6px; margin-top: 3px; background: var(--t-surface); border: 3px solid #8a8f98; }
.v3cd-evline { width: 2px; flex-grow: 1; background: rgba(60,66,78,.12); margin: 3px 0; }
.v3cd-evb { display: flex; gap: 14px; padding-bottom: 14px; align-items: baseline; min-width: 0; }
.v3cd-evt { width: 185px; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; font-weight: 650; color: var(--t-ink-3); font-variant-numeric: tabular-nums; }
.v3cd-evx { font-size: 13.5px; font-weight: 500; overflow-wrap: anywhere; }
.v3cd-evx b { font-weight: 700; }

/* фото */
.v3cd-phgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.v3cd-ph { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--t-nested); }
.v3cd-ph img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.v3cd-phs { position: absolute; left: 6px; bottom: 6px; max-width: calc(100% - 12px); font-size: 11px; font-weight: 700; padding: 2px 7px;
  border-radius: 8px; background: rgba(0,0,0,.55); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3cd-phx { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 13px; border: 0; padding: 0;
  background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; }
.v3cd-phempty { display: flex; align-items: center; gap: 12px; }
.v3cd-phempty svg { flex-shrink: 0; opacity: .6; }

/* услуги */
.v3cd-svc { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px 12px 16px; }
.v3cd-svc.off { background: var(--t-row); }
.v3cd-svc.off .v3cd-grow > b { color: var(--t-ink-3); }
.v3cd-svc .v3cd-grow > b { font-size: 14.5px; }
.v3cd-svc .v3cd-acts { flex-direction: column; align-items: stretch; }
.v3cd-dot { width: 8px; height: 8px; border-radius: 4px; background: #8a8f98; flex-shrink: 0; margin-top: 6px; }
.v3cd-dot.on { background: var(--t-ok); box-shadow: 0 0 0 3px rgba(20,150,79,.15); }
.v3cd-ct { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; margin-top: 3px; }
.v3cd-ct svg { width: 14px; height: 14px; flex-shrink: 0; }
.v3cd-ct.ok { color: var(--t-ok-ink); }
.v3cd-ct.no { color: var(--t-warn-ink); }
.v3cd-ct a { font-size: 12.5px; }
.v3cd-lock { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--t-ink-3); max-width: 150px; line-height: 1.3; }
.v3cd-lock svg { flex-shrink: 0; }
.v3cd-note2 { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 20px; background: var(--t-row);
  border: 1px solid rgba(60,66,78,.1); color: var(--t-ink-2); }

/* контакты и реквизиты: подпись слева столбцом */
.v3cd-kvs { display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--t-line); overflow: hidden; }
.v3cd-kv { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 11px 16px; border-bottom: 1px solid rgba(60,66,78,.08); align-items: baseline; }
.v3cd-kv:last-child { border-bottom: 0; }
.v3cd-kv .k { font-size: 13px; font-weight: 600; color: var(--t-ink-3); }
.v3cd-kv .k .v3cd-mut { font-size: 11.5px; display: block; font-weight: 500; }
.v3cd-kv .v { font-size: 14px; overflow-wrap: anywhere; }
.v3cd-kv .v a { font-variant-numeric: tabular-nums; white-space: nowrap; }
.v3cd-pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* примечание — поле как в ModalEdit.dc.html */
.v3cd-ta { width: 100%; box-sizing: border-box; min-height: 96px; resize: vertical; padding: 12px 15px; border-radius: 15px;
  border: 1.5px solid rgba(60,66,78,.24); background: var(--t-surface); color: var(--t-ink); font: 500 14.5px/1.45 var(--t-font); outline: none; }
.v3cd-ta:focus { border-color: var(--t-blue); box-shadow: var(--focus, 0 0 0 3px rgba(10,95,208,.18)); }
.v3cd-ta::placeholder { color: var(--t-ink-4); }
.v3cd-nfoot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 0; }
.v3cd-nfoot:has(#ob-note-save[style*="none"]):has(.v3cd-ok:empty), .v3cd-nfoot:has(#cl-note-save[style*="none"]):has(.v3cd-ok:empty) { display: none; }
.v3cd-ok { font-size: 13px; font-weight: 650; color: var(--t-ok-ink); }

/* клиент: объекты, договоры, логотип */
.v3cd-orow { width: 100%; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 64px 16px; gap: 12px; align-items: center;
  padding: 12px 16px; border: 0; background: transparent; color: var(--t-ink); text-align: left; box-sizing: border-box; font-size: 14px; }
.v3cd-orow:hover { background: var(--t-row); }
.v3cd-orow.debt { background: rgba(224,49,63,.05); }
.v3cd-orow > svg { color: var(--t-ink-4); }
.v3cd-ot { display: flex; flex-direction: column; min-width: 0; }
.v3cd-ot b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3cd-ot span { font-size: 12.5px; color: var(--t-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3cd-ob { display: flex; gap: 6px; justify-content: flex-end; }
.v3cd-ocab { font-size: 13.5px; font-weight: 650; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.v3cd-doc { display: flex; align-items: center; gap: 12px; padding: 11px 14px; }
.v3cd-dico { width: 34px; height: 40px; border-radius: 8px; background: #d22b39; color: #fff; font-size: 10px; font-weight: 800;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px; box-sizing: border-box; flex-shrink: 0; }
.v3cd-dico.draft { background: #8a8f98; }
.v3cd-dn { cursor: pointer; }
.v3cd-dn:hover { color: var(--t-blue); }
.v3cd-ktag { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 7px; background: var(--t-nested); color: var(--t-ink-2); margin-right: 6px; cursor: help; white-space: nowrap; display: inline-block; }
.v3cd-logorow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: var(--t-nested); }
.v3cd-logorow .ent-ico { border-radius: 16px; overflow: hidden; }
.v3cd-logorow .v3cd-btns { margin-top: 6px; }

[data-theme="dark"] .v3cd-num { background: #3a3d45; }
[data-theme="dark"] .v3cd-kind { filter: brightness(1.5); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .v3cd-num { background: #3a3d45; }
  :root:not([data-theme]) .v3cd-kind { filter: brightness(1.5); }
}

/* ── Компьютер: одна широкая панель, тело в две колонки ── */
@media (min-width: 861px) {
  .v3cd { display: flex; height: 100%; min-height: 0; }
  .v3cd-panel { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
  .v3cd-head { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 18px 22px; border-bottom: 1px solid rgba(60,66,78,.1); flex-shrink: 0; }
  .v3cd-chips { padding-left: 52px; }
  .v3cd-body { flex-grow: 1; min-height: 0; overflow: auto; padding: 20px 28px 28px; display: flex; flex-direction: column; gap: 16px; }
  .v3cd-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 8px; }
  .v3cd-col { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
  .v3fc .v3cd-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
/* Ширину решает сама панель (контейнер v3cd), а не окно: колонки друг под
   другом, когда панели не хватает на две; шапка — кнопки уходят строкой ниже,
   заголовок не сжимается в столбик. */
@media (min-width: 861px) {
  .v3cd-panel { container: v3cd / inline-size; }
  .v3cd-top { flex-wrap: wrap; row-gap: 10px; }
  .v3cd-title { flex: 1 1 260px; }
  .v3cd-title h2 { overflow-wrap: break-word; }
  /* договор: название не уже 160 px — отметка и кнопки при нехватке места уходят второй строкой */
  .v3cd-doc { flex-wrap: wrap; row-gap: 8px; }
  .v3cd-doc > .v3cd-grow { flex: 1 1 160px; }
  .v3cd-doc > .v3cd-acts { margin-left: auto; }
  @container v3cd (max-width: 1040px) {
    .v3cd-grid, .v3fc .v3cd-grid { grid-template-columns: minmax(0, 1fr); }
  }
  @container v3cd (max-width: 640px) {
    .v3cd-chips { padding-left: 0; }
    .v3cd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v3cd-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  }
}

/* ══ Телефон: MobObject.dc.html / MobClient.dc.html ══ */
@media (max-width: 860px) {
  .v3cd.ph { display: flex; flex-direction: column; font-size: 15px; }
  .v3cd-ptop { padding: 16px 16px 10px; display: flex; flex-direction: column; gap: 8px; }
  .v3cd-pbar { display: flex; align-items: center; gap: 10px; min-height: 40px; }
  .v3cd-ic { position: relative; flex-shrink: 0; width: 40px; height: 40px; border-radius: 20px; border: 0; padding: 0;
    background: var(--t-surface); color: var(--t-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(22,26,36,.08); }
  .v3cd-ic::after { content: ''; position: absolute; inset: -2px; }
  .v3cd-ic.flat { box-shadow: none; }
  .v3cd-pmore .dd-menu { max-width: calc(100vw - 32px); }
  .v3cd-pmore .dd-opt { min-height: 44px; box-sizing: border-box; display: flex; align-items: center; color: var(--t-ink); text-decoration: none; font-weight: 500; }
  .v3cd-h1 { margin: 0; font-size: 30px; font-weight: 760; letter-spacing: -.03em; line-height: 1.1; overflow-wrap: anywhere; }
  .v3cd-pbody { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; }
  .v3cd-pmeta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 0 4px; font-size: 13.5px; }
  .v3cd-pmeta .v3cd-num { font-size: 11.5px; padding: 3px 9px; border-radius: 9px; }
  .v3cd-pmeta .v3cd-org { font-size: 11.5px; padding: 3px 9px; border-radius: 9px; }
  .v3cd-pacts { display: flex; gap: 8px; }
  .v3cd-pact { flex: 1; min-width: 0; height: 46px; border-radius: 16px; border: 0; font-weight: 700; font-size: 15px; display: flex; align-items: center;
    justify-content: center; gap: 7px; padding: 0 12px; box-sizing: border-box; }
  .v3cd .v3cd-pact.tel { background: var(--t-surface); color: var(--t-blue); font-weight: 700; }
  .v3cd-pact span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .v3cd-pact svg { flex-shrink: 0; width: 17px; height: 17px; }
  .v3cd-pact.pri { background: var(--t-blue-grad); color: #fff; }
  .v3cd-alert { padding: 10px 10px 10px 14px; gap: 10px; font-size: 14px; flex-wrap: wrap; }
  .v3cd-alert .v3-alert-btn { height: 36px; }

  .v3cd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .v3cd-tile { padding: 13px 14px; border-radius: 20px; gap: 2px; }
  /* как в MobObject: «Наши · аренда» и «К оплате»; кабины клиента — только если есть */
  .v3fo .v3cd-tile.none { display: none; }
  .v3fo .v3cd-tiles:not(:has(.none)) .v3cd-tile.acc, .v3fc .v3cd-tile:nth-child(3) { grid-column: 1 / -1; }
  .v3cd-tk { font-size: 13px; }
  .v3cd-tv { font-size: 24px; }
  .v3cd-tn { font-size: 12.5px; }

  /* раздел — белая карточка; таблицы внутри без рамки */
  .v3cd-sect { gap: 8px; padding: 14px; border-radius: 22px; background: var(--t-surface); }
  .v3cd-sh h3 { font-size: 16px; }
  .v3cd-sh { flex-wrap: wrap; row-gap: 4px; }
  .v3cd-sh a { position: relative; font-size: 14px; }
  .v3cd-sh a::after { content: ''; position: absolute; inset: -12px -8px; }
  .v3cd-shn { font-size: 12.5px; white-space: normal; order: 5; flex-basis: 100%; }
  .v3cd-sh h3 { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .v3cd-go { font-size: 0; }
  .v3cd-tbl, .v3cd-kvs { border: 0; border-radius: 0; margin: 0 -2px; }
  .v3cd-row, .v3cd-svc, .v3cd-doc, .v3cd-kv, .v3cd-vrow, .v3cd-orow { padding-left: 2px; padding-right: 2px; }
  .v3cd-row { flex-wrap: wrap; row-gap: 6px; }
  .v3cd-row > .v3cd-grow { flex-basis: 150px; }
  .v3cd-acts { flex-wrap: wrap; }
  .v3cd-bt { height: 36px; padding: 0 14px; font-size: 13.5px; }
  .v3cd-arr { width: 36px; height: 36px; border-radius: 18px; }
  .v3cd-morebtn { height: 44px; border-radius: 14px; margin-top: 6px; border: 0; }
  .v3cd-svc { flex-wrap: wrap; padding-left: 2px; }
  .v3cd-svc .v3cd-acts { flex-direction: row; flex-basis: 100%; padding-left: 20px; }
  .v3cd-lock { max-width: none; }

  .v3cd-wdays { display: none; }
  .v3cd-wrow { flex-direction: column; align-items: stretch; gap: 8px; padding: 0; background: none; border: 0; }
  .v3cd-days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .v3cd-day { width: auto; height: 38px; border-radius: 12px; }
  .v3cd-day em { opacity: 1; font-size: 12px; }
  .v3cd-vrow { grid-template-columns: 62px minmax(0, 1fr) auto; grid-template-areas: "d w s" "d p s"; row-gap: 3px; white-space: normal; }
  .v3cd-vrow > .v3cd-d { grid-area: d; }
  .v3cd-vrow > .v3cd-vm { display: none; }
  .v3cd-vrow > .v3cd-vw { grid-area: w; white-space: normal; color: var(--t-ink); font-size: 14px; }
  .v3cd-vrow > :nth-child(4) { grid-area: p; }
  .v3cd-vrow > .v3cd-sum { grid-area: s; }
  .v3cd-tot { margin: 6px 0 0; border-radius: 16px; }
  .v3cd-evt { width: auto; }
  .v3cd-evb { flex-direction: column; gap: 1px; padding-bottom: 12px; }
  .v3cd-kv { grid-template-columns: 1fr; gap: 2px; }
  .v3cd-orow { grid-template-columns: minmax(0, 1fr) auto 16px; grid-template-areas: "t c a" "b b b"; row-gap: 4px; }
  .v3cd-orow > .v3cd-num { display: none; }
  .v3cd-orow > .v3cd-ot { grid-area: t; }
  .v3cd-orow > .v3cd-ob { grid-area: b; justify-content: flex-start; }
  .v3cd-orow > .v3cd-ob:empty { display: none; }
  .v3cd-orow > .v3cd-ocab { grid-area: c; }
  .v3cd-doc { flex-wrap: wrap; }
  .v3cd-doc .v3cd-acts { flex-basis: 100%; flex-wrap: wrap; }
  .v3cd-doc .v3cd-acts .v3cd-bt { flex: 1 1 auto; justify-content: center; }
  .v3cd-phgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .v3cd-note2 { flex-direction: column; align-items: stretch; }
  .v3cd-ta { font-size: 16px; }
}

/* ══ Панель уведомлений ═════════════════════════════════════════════════ */
html .notif-backdrop { background: var(--t-scrim, rgba(20,22,28,.38)); -webkit-backdrop-filter: none; backdrop-filter: none; }
html .notif-drawer { font-family: var(--t-font); color: var(--t-ink); background: var(--t-surface); border: 1px solid var(--t-line);
  -webkit-backdrop-filter: none; backdrop-filter: none; }
html .notif-head { gap: 12px; padding: 22px 22px 16px 24px; border-bottom: 1px solid rgba(60,66,78,.1); }
html .notif-head-top b { font-size: 22px; font-weight: 750; letter-spacing: -.01em; }
html .notif-x { width: 36px; height: 36px; border-radius: 18px; background: var(--t-nested); color: var(--t-ink-2); font-size: 0; }
html .notif-x:hover { background: var(--t-hover); color: var(--t-ink); }
html .notif-god { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 9px; background: var(--t-warn-soft); color: var(--t-warn-ink); }
html .notif-acts { gap: 8px; }
.notif-act { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px;
  border-radius: 18px; border: 1px solid var(--t-line); background: var(--t-surface); color: var(--t-ink); font: 600 13.5px var(--t-font);
  cursor: pointer; box-shadow: 0 1px 2px rgba(22,26,36,.06); white-space: nowrap; }
.notif-act:hover { background: var(--t-row); }
.notif-act svg { color: var(--t-blue); }
html .notif-list { padding: 6px 12px 16px; display: flex; flex-direction: column; gap: 6px; }
html .notif-group-head { padding: 14px 8px 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--t-ink-3); background: none; opacity: 1; }
html .notif-group-head.act { color: var(--t-bad-ink); background: none; text-transform: none; letter-spacing: -.01em; font-size: 17px;
  font-weight: 750; padding-top: 10px; }
html .notif-group-head.sub { font-weight: 800; opacity: 1; }
html .notif-item { position: relative; display: flex; gap: 12px; padding: 12px 14px; border-radius: 20px; border: 1px solid var(--t-line);
  border-left: 1px solid var(--t-line); background: var(--t-surface); cursor: pointer; transition: background .12s; }
html .notif-item:hover { background: var(--t-row); filter: none; }
html .notif-item.unread { background: var(--t-surface); border-color: var(--t-line); }
html .notif-item.act.unread { background: rgba(255,178,60,.12); border-color: rgba(200,130,40,.3); }
html .notif-item:not(.unread) { background: transparent; border-color: transparent; }
html .notif-item:not(.unread):hover { background: var(--t-row); }
html .notif-ic { width: 36px; height: 36px; border-radius: 12px; background: rgba(10,95,208,.1); color: var(--t-blue); font-size: 0; flex: none; }
html .notif-ic svg { width: 18px; height: 18px; }
html .notif-ic.act { background: var(--t-warn-soft); color: var(--t-warn-ink); }
html .notif-ic.bad { background: var(--t-bad-soft); color: var(--t-bad-ink); }
html .notif-ic.ok { background: var(--t-ok-soft); color: var(--t-ok-ink); }
html .notif-ic.grey { background: var(--t-nested); color: var(--t-ink-3); }
html .notif-item:not(.unread) .notif-ic { filter: saturate(.4); opacity: .8; }
.notif-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
html .notif-kind { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--t-ink-3); margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
html .notif-time { font-size: 12px; color: var(--t-ink-3); margin: 0 0 0 auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
html .notif-title { font-size: 14.5px; font-weight: 700; color: var(--t-ink); line-height: 1.3; }
html .notif-item:not(.unread) .notif-title { font-weight: 600; color: var(--t-ink-2); }
html .notif-text { font-size: 13.5px; color: var(--t-ink-2); margin-top: 2px; line-height: 1.4; }
html .notif-todo { margin-top: 6px; }
.notif-dot { position: absolute; top: 14px; right: 12px; width: 8px; height: 8px; border-radius: 4px; background: var(--t-blue); }
html .notif-item.unread .notif-time { margin-right: 14px; }
html .notif-empty { padding: 56px 24px; color: var(--t-ink-2); font-weight: 600; }
html .notif-empty .ic { color: var(--t-ink-4); opacity: 1; }
html .notif-empty-sub { color: var(--t-ink-3); font-weight: 500; }
/* колокольчик в шапке прежних экранов — круглая кнопка 40, как в макетах */
html .topbar .notif-bell { width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--t-line); background: var(--t-surface);
  box-shadow: none; }
html .topbar .notif-bell:hover { background: var(--t-row); }
html .notif-badge { min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: #e0313f;
  font-size: 11px; font-weight: 750; border: 2px solid var(--t-surface); top: -4px; right: -4px; }
@media (min-width: 861px) {
  html .notif-drawer { top: 14px; right: 14px; bottom: 14px; height: auto; width: 420px; max-width: calc(100vw - 28px);
    border-radius: 30px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); transform: translateX(calc(100% + 28px)); overflow: hidden; }
  html .notif-drawer.open { transform: translateX(0); }
}
@media (max-width: 860px) {
  html .notif-drawer { background: var(--t-nested); border: 0; border-radius: 0; box-shadow: none; }
  html .notif-head { padding: calc(16px + env(safe-area-inset-top, 0px)) 16px 10px; border: 0; gap: 10px; }
  html .notif-head-top b { font-size: 30px; font-weight: 760; letter-spacing: -.03em; }
  html .notif-x { width: 40px; height: 40px; border-radius: 20px; background: var(--t-surface); box-shadow: 0 1px 2px rgba(22,26,36,.08); }
  .notif-act { height: 40px; border-radius: 20px; border: 0; font-size: 14px; }
  html .notif-list { padding: 0 14px calc(20px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  html .notif-item, html .notif-item.unread { border: 0; background: var(--t-surface); padding: 13px 14px; }
  html .notif-item:not(.unread) { background: var(--t-surface); opacity: .85; }
  html .notif-title { font-size: 15.5px; }
  html .notif-text { font-size: 14px; }
}

/* ══ «Что нового» (openChangelog, окно m-generic) ═════════════════════════ */
html #m-generic-inner.v3cl-modal { max-width: 600px !important; width: 600px; }
.v3cl { display: flex; flex-direction: column; gap: 14px; max-height: min(62vh, 620px); overflow: auto; margin: 0 -26px; padding: 0 26px 2px; }
.v3cl-ver { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; border-radius: 22px; border: 1px solid var(--t-line); }
.v3cl-ver.now { background: var(--t-blue-tint); border: 1.5px solid rgba(10,95,208,.3); }
.v3cl-vh { display: flex; align-items: center; gap: 8px; }
.v3cl-num { font-size: 13px; font-weight: 750; padding: 3px 10px; border-radius: 10px; background: #1c1c1e; color: #fff; font-variant-numeric: tabular-nums; }
.v3cl-cur { background: rgba(10,95,208,.12); color: var(--t-blue-ink); }
.v3cl-date { font-size: 13px; color: var(--t-ink-3); white-space: nowrap; }
.v3cl-items { display: flex; flex-direction: column; gap: 8px; }
.v3cl-li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--t-ink); }
.v3cl-li i { width: 6px; height: 6px; border-radius: 3px; background: var(--t-blue); flex-shrink: 0; margin-top: 8px; }
.v3cl-li b { font-weight: 700; }
.v3cl-sub { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--t-ink-3); padding-top: 4px; }
[data-theme="dark"] .v3cl-num { background: #3a3d45; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .v3cl-num { background: #3a3d45; } }
@media (max-width: 860px) {
  html #m-generic-inner.v3cl-modal { width: auto; }
  .v3cl { max-height: none; margin: 8px 0 0; padding: 0; }
  .v3cl-ver { padding: 13px 14px 14px; border-radius: 20px; }
  .v3cl-li { font-size: 15px; }
  #m-generic-inner.v3cl-modal .modal-foot { margin-top: 14px; }
  #m-generic-inner.v3cl-modal .modal-foot .btn { width: 100%; }
}

/* ══ Поиск на компьютере (#spotlight) — окно как ModalEdit.dc.html ════════ */
.spot-cap, .spot-foot, .spot-x { display: none; }
@media (min-width: 861px) {
  html .spot-ovl { background: var(--t-scrim, rgba(20,22,28,.38)); -webkit-backdrop-filter: none; backdrop-filter: none;
    align-items: flex-start; justify-content: center; padding: 12vh 20px 20px; box-sizing: border-box; }
  html .spot-box { width: 640px; max-width: 100%; max-height: 76vh; display: flex; flex-direction: column; overflow: hidden;
    border: 0; border-radius: 30px; background: var(--t-surface); color: var(--t-ink); font-family: var(--t-font);
    box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .spot-cap { display: flex; align-items: baseline; gap: 10px; padding: 22px 70px 0 26px; }
  .spot-t { font-size: 22px; font-weight: 750; letter-spacing: -.01em; }
  .spot-s { font-size: 13px; color: var(--t-ink-3); }
  html .spot-inp-wrap { position: static; display: flex; align-items: center; gap: 10px; margin: 14px 22px 0 26px; padding: 0 15px; height: 48px;
    border-radius: 15px; border: 1.5px solid var(--t-blue); box-shadow: 0 0 0 3px rgba(10,95,208,.14); background: var(--t-surface); }
  html .spot-ic { display: flex; color: var(--t-blue); font-size: 0; }
  html .spot-input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; box-shadow: none; border-radius: 0;
    padding: 0; font: 550 16px var(--t-font); color: var(--t-ink); }
  html .spot-input::placeholder { color: var(--t-ink-4); font-weight: 500; }
  .spot-x { display: flex; position: absolute; top: 20px; right: 22px; width: 36px; height: 36px; border-radius: 18px; border: 0; padding: 0;
    background: var(--t-nested); color: var(--t-ink-2); align-items: center; justify-content: center; cursor: pointer; }
  .spot-x:hover { background: var(--t-hover); color: var(--t-ink); }
  html .spot-box { position: relative; }
  html .spot-results { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px 14px 12px; margin-top: 14px;
    border-top: 1px solid rgba(60,66,78,.1); display: flex; flex-direction: column; gap: 2px; }
  html .spot-group { padding: 12px 12px 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--t-ink-3); margin: 0; }
  html .spot-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; cursor: pointer; border: 1px solid transparent; }
  html .spot-row.sel { background: var(--t-blue-soft); border-color: rgba(10,95,208,.28); }
  html .spot-row-ic { width: 36px; height: 36px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center;
    background: var(--t-nested); color: var(--t-ink-3); font-size: 0; }
  html .spot-row-ic.obj { background: rgba(10,95,208,.1); color: var(--t-blue); }
  html .spot-row-main { flex: 1; min-width: 0; }
  html .spot-row-t { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .spot-num { font-size: 11.5px; font-weight: 750; padding: 2px 7px; border-radius: 8px; background: #1c1c1e; color: #fff; flex-shrink: 0; font-variant-numeric: tabular-nums; }
  html .spot-row-s { font-size: 13px; color: var(--t-ink-3); margin-top: 1px; }
  html .spot-row-tag { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 9px; background: var(--t-nested); color: var(--t-ink-2); flex: none; }
  html .spot-row > svg { color: var(--t-ink-4); flex-shrink: 0; }
  html .spot-row.sel > svg { color: var(--t-blue); }
  html .spot-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 20px; color: var(--t-ink-3); font-size: 14.5px; }
  html .spot-empty svg { width: 26px; height: 26px; color: var(--t-ink-4); }
  .spot-foot { display: flex; align-items: center; gap: 16px; padding: 12px 22px 16px 26px; border-top: 1px solid rgba(60,66,78,.1);
    font-size: 12.5px; color: var(--t-ink-3); flex-shrink: 0; }
  .spot-foot > span { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
  .spot-foot .grow { flex-grow: 1; }
  .spot-foot kbd { display: inline-block; font: 600 11px var(--t-font); background: var(--t-nested); border: 0; box-shadow: none; border-radius: 7px;
    padding: 2px 6px; color: var(--t-ink-2); margin: 0 3px 0 0; min-width: 0; height: auto; line-height: 1.4; }
  .spot-hk { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .spot-cap, html .spot-inp-wrap { flex-shrink: 0; }
  [data-theme="dark"] .spot-num { background: #3a3d45; }
}
@media (min-width: 861px) and (prefers-color-scheme: dark) { :root:not([data-theme]) .spot-num { background: #3a3d45; } }

/* Телефон: шторка уведомлений и окно «Что нового» закрывают экран целиком —
   нижние вкладки под ними всё равно не видны и не нажимаются; прячем их, чтобы
   до них не доходили ни касание сквозь щель, ни фокус с клавиатуры/читалки. */
@media (max-width: 860px) {
  body:has(.notif-drawer.open) .mtabbar, body:has(#m-generic.on .v3cl) .mtabbar { visibility: hidden; }
}
