/* «Обзор» — утренний экран (deploy105, 10.10.2026). Те же токены, что у «Опционов» и «Арбитража». */
.ov-page { flex: 1; min-height: 0; overflow-y: auto; background: var(--bg); }
.ov-wrap { width: 100%; padding: 12px 14px 40px; display: grid; gap: 10px; }
.ov-head { display: grid; gap: 4px; }
.ov-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ov-title { font-size: 20px; font-weight: 700; margin: 0 6px 0 0; }
.ov-day { color: var(--text-muted); font-size: 13px; }
.ov-sp { flex: 1; }
.ov-sub { color: var(--text-muted); font-size: 12px; overflow-wrap: anywhere; }
.ov-sub b { color: var(--text); font-weight: 600; }
.ov-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md, 10px); padding: 10px 12px; display: grid; gap: 6px; min-width: 0; }
.ov-h { font-size: 14px; font-weight: 700; margin: 0; }
.ov-muted { color: var(--text-muted); font-size: 12px; }
.ov-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.ov-list li { overflow-wrap: anywhere; }
.ov-d { color: var(--text-muted); font-variant-numeric: tabular-nums; margin-right: 4px; }
.ov-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ov-asset { font-size: 13px; align-content: start; }
.ov-a-h { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.ov-a-h b { font-size: 15px; }
.ov-a-h .ov-muted { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-px { font-weight: 700; font-variant-numeric: tabular-nums; }
.ov-at { color: var(--accent, #2962ff); font-weight: 600; }
.ov-lv { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.ov-lv > span:first-child { color: var(--text-muted); min-width: 104px; }
.ov-lv b { font-variant-numeric: tabular-nums; }
.ov-sig { overflow-wrap: anywhere; }
.ov-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.ov-btn { border: 1px solid var(--border); background: transparent; color: var(--accent, #2962ff); border-radius: 8px;
    padding: 4px 10px; font: inherit; font-size: 12px; cursor: pointer; min-height: 30px; }
.ov-btn:hover { background: var(--surface-2); }
.ov-btn-main { background: var(--accent, #2962ff); color: #fff; border-color: transparent; }
.ov-btn-main:hover { background: var(--accent, #2962ff); filter: brightness(1.08); }
.ov-btn-s { min-height: 24px; padding: 1px 8px; font-size: 11px; margin-left: 4px; }
.ov-link { border: 0; background: none; padding: 0; color: var(--accent, #2962ff); font: inherit; cursor: pointer; text-align: left; }
.ov-more { display: grid; gap: 10px; }
.ov-more > summary { cursor: pointer; color: var(--text-muted); font-size: 13px; padding: 4px 0; }
.ov-more[open] > summary { margin-bottom: 10px; }
.ov-more > section + section { margin-top: 10px; }
.ov-scroll { overflow-x: auto; }
.ov-table { border-collapse: collapse; width: 100%; font-size: 12px; font-variant-numeric: tabular-nums; }
.ov-table th, .ov-table td { padding: 4px 8px; border-bottom: 1px solid var(--border); text-align: right; white-space: nowrap; }
.ov-table th:first-child, .ov-table td:first-child { text-align: left; }
.ov-table th { color: var(--text-muted); font-weight: 500; }
.ov-cls { display: inline-block; min-width: 18px; text-align: center; border-radius: 4px; font-size: 11px; font-weight: 700; padding: 0 4px; }
.ov-cls-A { background: rgba(16, 185, 129, .18); color: var(--text); }
.ov-cls-B { background: rgba(59, 130, 246, .18); color: var(--text); }
.ov-set { font-size: 13px; }
.ov-set-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ov-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ov-chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--border); border-radius: 999px; padding: 2px 4px 2px 10px; font-size: 12px; }
.ov-chip button { border: 0; background: none; color: var(--text-muted); cursor: pointer; font-size: 12px; padding: 2px 6px; }
.ov-in { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); border-radius: 6px; padding: 5px 8px; font: inherit; font-size: 13px; min-width: 0; }
.ov-time { width: 72px; text-align: center; font-variant-numeric: tabular-nums; }
.ov-radio { display: block; color: var(--text); line-height: 2; }
.ov-radio > input[type=radio], .ov-radio > input[type=checkbox] { margin: 0 6px 0 0; vertical-align: middle; }
.ov-disc { border-top: 1px dashed var(--border); padding-top: 6px; }
@media (max-width: 860px) {
    .ov-wrap { padding: 10px 10px 90px; }
    .ov-grid { grid-template-columns: minmax(0, 1fr); }
    /* Кнопки шапки — отдельной строкой под заголовком, а не по одной */
    .ov-sp { flex-basis: 100%; height: 0; }
    .ov-btn { min-height: 40px; }
    .ov-btn-s { min-height: 32px; }
    .ov-lv > span:first-child { min-width: 96px; }
}

/* deploy105b: изменение цены за день */
.ov-chg { font-size: 12px; font-variant-numeric: tabular-nums; margin: 2px 0 4px; }
.ov-chg .ov-up { color: #26a69a; font-weight: 600; }
.ov-chg .ov-dn { color: #ef5350; font-weight: 600; }
.ov-chg { display: flex; flex-wrap: wrap; column-gap: 10px; }
.ov-chg-p { white-space: nowrap; }

/* deploy107d-1 (11.10.2026): вкладки «Найденные · Мой список» и карточки ситуаций */
.ov-tabs { display: flex; gap: 4px; margin: 6px 0 2px; border-bottom: 1px solid var(--border, #2a2f3a); }
.ov-tab { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--text-muted); padding: 6px 10px; font: inherit; cursor: pointer; }
.ov-tab.is-on { color: var(--text); border-bottom-color: var(--accent, #3b82f6); font-weight: 600; }
.ov-sit-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.ov-chipbtn { border: 1px solid var(--border, #2a2f3a); background: none; color: var(--text); border-radius: 999px; padding: 3px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.ov-chipbtn.is-on { background: var(--accent, #3b82f6); border-color: var(--accent, #3b82f6); color: #fff; }
.ov-sit-meta { margin-bottom: 8px; font-size: 12px; }
.ov-sit { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.ov-sit-h { display: flex; gap: 8px; align-items: baseline; }
.ov-sit-st { font-size: 11px; padding: 1px 6px; border-radius: 4px; background: var(--surface-2, rgba(127,127,127,.15)); }
.ov-st-in_zone, .ov-st-near { background: rgba(59,130,246,.18); }
.ov-st-bounce, .ov-st-break { background: rgba(234,179,8,.2); }
.ov-sit-plan { font-size: 12px; }
.ov-sit-q { font-size: 12px; color: var(--warn, #d97706); }
.ov-sit-hist { margin: 4px 0 0 18px; padding: 0; font-size: 12px; display: flex; flex-direction: column; gap: 2px; }
.ov-sit-sel { display: inline-flex; align-items: center; gap: 6px; }
.ov-sit-sel select { width: auto; min-width: 0; height: auto; padding: 3px 6px; font-size: 12px; }
/* deploy107d-2 (11.10.2026): оценка контекста, разбор, фильтры */
.ov-sit-sels { margin-top: 0; }
.ov-sit-score { font-size: 13px; }
.ov-sit-sc.is-part { color: var(--text-muted); }
.ov-sit-ag { font-size: 12px; color: var(--text-muted); }
.ov-sit-why { border-top: 1px solid var(--border, #2a2f3a); padding-top: 6px; font-size: 12px; display: flex; flex-direction: column; gap: 4px; }
.ov-sit-why-h { font-weight: 600; }
.ov-sit-tb { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ov-sit-tb b { font-variant-numeric: tabular-nums; }
.ov-sit-sels select { min-width: 72px; }
@media (max-width: 600px) {
  .ov-sit-sels { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
  .ov-sit-sels .ov-sit-sel { flex-direction: column; align-items: stretch; gap: 2px; }
  .ov-sit-sels select { width: 100%; min-height: 36px; height: 36px; padding: 4px 6px; font-size: 13px; }
  .ov-sit-sels .ov-sit-sel:has(input) { grid-column: 1 / -1; flex-direction: row; align-items: center; }
}
/* deploy107e (11.10.2026): страница ситуации */
/* Страница ситуации. 11.10.2026: класс «ov-sp» совпал с распоркой шапки, у которой на телефоне
   height: 0, — страница схлопывалась по высоте; сбрасываем это явно */
.ov-sp.ov-spage { display: flex; flex-direction: column; gap: 10px; flex: none; height: auto; flex-basis: auto; }
.ov-sp-top { display: flex; gap: 8px; }
.ov-sp-tk { font-size: 18px; }
.ov-sp-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 10px; align-items: start; }
.ov-sp-chartc { grid-row: span 2; }
.ov-sp-svg { width: 100%; height: auto; display: block; }
.ov-sp-zone { fill: rgba(33, 150, 243, .16); stroke: rgba(33, 150, 243, .5); stroke-width: 1; }
.ov-sp-w { stroke: var(--text-muted, #8a93a6); stroke-width: 1; }
.ov-sp-up { fill: #26a69a; }
.ov-sp-dn { fill: #ef5350; }
.ov-sp-l { stroke-width: 1.2; stroke-dasharray: 5 4; }
.ov-sp-l.ov-sp-tg { stroke: #26a69a; }
.ov-sp-l.ov-sp-st { stroke: #ef5350; }
.ov-sp-l.ov-sp-gx { stroke: #ab47bc; stroke-dasharray: 2 3; }
.ov-sp-t { font-size: 10px; fill: var(--text-muted, #8a93a6); }
.ov-sp-t.ov-sp-tg { fill: #26a69a; }
.ov-sp-t.ov-sp-st { fill: #ef5350; }
.ov-sp-t.ov-sp-gx { fill: #ab47bc; }
.ov-sp-t.ov-sp-px { fill: currentColor; font-weight: 600; }
.ov-sp-ev { fill: #ffb300; stroke: #fff; stroke-width: 1; }
.ov-sp-leg { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 12px; }
.ov-sp-k { display: inline-block; width: 14px; height: 8px; margin-right: 3px; vertical-align: middle; }
.ov-sp-kz { background: rgba(33, 150, 243, .3); }
.ov-sp-ktg { border-top: 2px dashed #26a69a; height: 0; }
.ov-sp-kst { border-top: 2px dashed #ef5350; height: 0; }
.ov-sp-kgx { border-top: 2px dotted #ab47bc; height: 0; }
.ov-sp-kev { background: #ffb300; border-radius: 50%; width: 8px; }
.ov-sp-tf .ov-up { color: #26a69a; font-weight: 600; }
.ov-sp-tf .ov-dn { color: #ef5350; font-weight: 600; }
@media (max-width: 900px) { .ov-sp-grid { grid-template-columns: 1fr; } .ov-sp-chartc { grid-row: auto; } }
.ov-sp-t.ov-sp-zn { fill: #2196f3; }
.ov-sp-t.ov-sp-old { fill: #ef5350; font-weight: 600; }

/* 107f (11.10.2026): «Следить» — кнопка и панель выбора событий */
.ov-btn-w{border-color:var(--color-primary,#01696f);color:var(--color-primary,#01696f)}
.ov-w{margin-top:8px;padding:10px;border:1px solid var(--color-border,#d4d1ca);border-radius:8px;background:var(--color-surface-2,rgba(0,0,0,.02))}
.ov-w-t{font-weight:600;margin-bottom:6px}
.ov-w-evs{display:flex;flex-wrap:wrap;gap:6px 14px;margin-bottom:6px}
.ov-w-ev{display:inline-flex;align-items:center;gap:6px;min-height:32px;cursor:pointer}
/* 122 (17.10.2026): порог Net Edge в окне «Следить» */
.ov-w-thr{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:2px 0 8px}
.ov-w-thr[hidden]{display:none}
.ov-w-thr input{width:90px}
.ov-w-thr small{flex-basis:100%;font-size:12px}
/* 123: пояснение к опционным событиям в окне «Следить» */
.ov-w-opt{display:block;font-size:12px;margin:0 0 8px}
.ov-w-opt[hidden]{display:none}
.ov-w-n{font-size:12px;margin:4px 0}
.ov-w-msg{font-size:13px;margin-top:6px;color:var(--color-primary,#01696f)}
.ov-w-was{font-size:12px;align-self:center}
@media (max-width:600px){.ov-w-evs{flex-direction:column;gap:2px}}
/* 107f: метка «Ситуации» в ленте центра оповещений (overview.css подключён на всех страницах) */
.cz-tag-sit { background: rgba(1, 105, 111, .1); color: #01696f; }
/* 107f: текст события ситуации — несколько строк (что случилось, зона, план) */
.cz-ev-t { white-space: pre-line; }

/* ===== 109 (11.10.2026): оформление по макетам — карточки, плитки, график =====
   Почему: карточка «Найденных» была сплошным текстом; плашки и мини-график
   показывают, где цена относительно зоны, без чтения. Цвета — через переменные
   темы, работают в светлой и тёмной. */
.ov-s2 { --s2-up: #26a69a; --s2-dn: #ef5350; --s2-sup: 38, 166, 154; --s2-res: 239, 83, 80; gap: 8px; }
.ov-s2-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ov-s2-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ov-s2-tk { font-size: 16px; letter-spacing: .01em; }
.ov-s2-no { margin-left: auto; font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.ov-s2 .ov-sit-st { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.ov-s2-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
.ov-st-wait { color: var(--text-muted); }
.ov-st-near { color: #3b82f6; }
.ov-st-in_zone { color: #f59e0b; background: rgba(245, 158, 11, .14); }
.ov-st-bounce, .ov-st-break { color: #d97706; }
.ov-st-target { color: var(--s2-up, #26a69a); }
.ov-st-stop { color: var(--s2-dn, #ef5350); }
.ov-s2-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.ov-s2-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 5px 8px; display: flex; flex-direction: column; min-width: 0; }
.ov-s2-box b { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-s2-sup { border-left: 3px solid rgb(var(--s2-sup)); }
.ov-s2-res { border-left: 3px solid rgb(var(--s2-res)); }
.ov-s2-lbl { font-size: 11px; color: var(--text-muted); text-transform: none; }
.ov-s2-m { font-size: 11px; color: var(--text-muted); }
.ov-s2-chg { font-size: 11px; font-weight: 600; min-height: 14px; }
.ov-s2 .ov-up, .ov-sp-tip .ov-up { color: var(--s2-up, #26a69a); }
.ov-s2 .ov-dn, .ov-sp-tip .ov-dn { color: var(--s2-dn, #ef5350); }
.ov-s2-spark { height: 46px; border-radius: 6px; overflow: hidden; background: linear-gradient(180deg, transparent, var(--surface-2)); }
.ov-s2-svg { width: 100%; height: 46px; display: block; }
.ov-s2-svg.is-up { color: var(--s2-up); }
.ov-s2-svg.is-dn { color: var(--s2-dn); }
.ov-s2-zb-sup { fill: rgba(var(--s2-sup), .16); }
.ov-s2-zb-res { fill: rgba(var(--s2-res), .16); }
.ov-s2-nospark { font-size: 11px; color: var(--text-muted); padding: 14px 8px; }
.ov-s2-tf { display: flex; flex-wrap: wrap; gap: 4px; }
.ov-s2-tfc { font-size: 11px; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--border); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ov-s2-tfc i { font-style: normal; font-weight: 700; }
.ov-s2-tfc.is-z { border-color: var(--accent, #3b82f6); color: var(--text); background: rgba(59, 130, 246, .1); }
.ov-s2-tfc.ov-up i { color: var(--s2-up); }
.ov-s2-tfc.ov-dn i { color: var(--s2-dn); }
.ov-s2-meta { font-size: 11px; color: var(--text-muted); }
.ov-s2-sc { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--border); padding-top: 8px; }
.ov-s2-rings { display: flex; gap: 8px; flex: none; }
.ov-s2-ring { position: relative; width: 44px; height: 54px; display: flex; flex-direction: column; align-items: center; }
.ov-s2-ring svg { width: 40px; height: 40px; }
.ov-s2-ring b { position: absolute; top: 0; left: 0; right: 0; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.ov-s2-ring span { font-size: 10px; color: var(--text-muted); line-height: 14px; }
.ov-s2-rt { fill: none; stroke: var(--surface-2); stroke-width: 4; }
.ov-s2-rv { fill: none; stroke-width: 4; stroke-linecap: round; stroke: var(--text-muted); }
.ov-s2-ring.is-md .ov-s2-rv { stroke: #3b82f6; }
.ov-s2-ring.is-hi .ov-s2-rv { stroke: #14b8a6; }
.ov-s2-ring.is-na b { color: var(--text-muted); }
.ov-s2-sct { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; }
.ov-s2-sct .ov-sit-ag { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ov-s2-acts { align-items: center; margin-top: auto; }
.ov-s2-links { display: inline-flex; gap: 10px; margin-left: auto; font-size: 12px; }
.ov-s2-links .ov-link { font-size: 12px; }
.ov-s2.ov-sit { display: flex; }

/* Плитки-счётчики (они же фильтры) */
.ov-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 8px 0 6px; }
.ov-kpi { display: flex; flex-direction: column; align-items: flex-start; gap: 0; text-align: left; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 10px; padding: 6px 10px; cursor: pointer; font: inherit; border-left: 3px solid var(--border); min-width: 0; }
.ov-kpi:hover { background: var(--surface-2); }
.ov-kpi-l { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ov-kpi-n { font-size: 20px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ov-kpi.is-on { border-color: var(--accent, #3b82f6); box-shadow: inset 0 0 0 1px var(--accent, #3b82f6); }
.ov-kpi-open { border-left-color: #8b5cf6; }
.ov-kpi-near { border-left-color: #3b82f6; }
.ov-kpi-in_zone { border-left-color: #f59e0b; }
.ov-kpi-confirmed { border-left-color: #14b8a6; }
.ov-kpi-closed { border-left-color: var(--text-muted); }
.ov-kpi-watch { border-left-color: #ec4899; }
.ov-sit-flt { display: none; }

/* Страница ситуации: шапка и график */
.ov-sp-hrow { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ov-sp-hrow .ov-s2-kv { flex: 1 1 420px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ov-sp-hrow .ov-s2-sc { border-top: 0; padding-top: 0; flex: 0 1 320px; }
.ov-sp-head .ov-px { font-size: 18px; }
.ov-sp-cw { position: relative; }
.ov-sp-gr { stroke: var(--border); stroke-width: .6; opacity: .8; }
.ov-sp-hfoot { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; }
.ov-sp-hfoot .ov-sp-q { font-size: 12px; }
.ov-sp-hfoot .ov-acts { margin: 0 0 0 auto; }
.ov-sp-gv { stroke-dasharray: 2 3; }
.ov-sp-gl { font-size: 9px; fill: var(--text-muted); opacity: .85; }
.ov-sp-zone-sup { fill: rgba(38, 166, 154, .14); stroke: rgba(38, 166, 154, .55); }
.ov-sp-zone-res { fill: rgba(239, 83, 80, .13); stroke: rgba(239, 83, 80, .55); }
.ov-sp-zl { font-size: 10px; font-weight: 600; }
.ov-sp-zl-sup { fill: #26a69a; }
.ov-sp-zl-res { fill: #ef5350; }
.ov-sp-w.is-up { stroke: #26a69a; }
.ov-sp-w.is-dn { stroke: #ef5350; }
.ov-sp-pl { stroke: var(--text); stroke-width: .8; stroke-dasharray: 1 3; opacity: .7; }
.ov-sp-tag { fill: var(--surface-2); stroke: var(--border); stroke-width: .6; }
.ov-sp-tag-tg { fill: rgba(38, 166, 154, .14); stroke: rgba(38, 166, 154, .6); }
.ov-sp-tag-st { fill: rgba(239, 83, 80, .12); stroke: rgba(239, 83, 80, .6); }
.ov-sp-tag-gx { fill: rgba(171, 71, 188, .12); stroke: rgba(171, 71, 188, .55); }
.ov-sp-tag-px { fill: var(--accent, #3b82f6); stroke: none; }
.ov-sp-t.ov-sp-px { fill: #fff; font-weight: 700; }
.ov-sp-t.ov-sp-zn { fill: var(--text); }
.ov-sp-cx { stroke: var(--text-muted); stroke-width: .8; stroke-dasharray: 3 3; }
.ov-sp-tip { position: absolute; left: 8px; top: 6px; font-size: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; pointer-events: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); font-variant-numeric: tabular-nums; max-width: calc(100% - 16px); }
.ov-sp-kz-sup { background: rgba(38, 166, 154, .35); }
.ov-sp-kz-res { background: rgba(239, 83, 80, .35); }
.ov-sp-kgx { border-top: 2px dotted #ab47bc; height: 0; }
.ov-sp-kev { width: 8px; height: 8px; border-radius: 50%; background: #ffb300; }
.ov-sp-last { margin-left: auto; }
.ov-sp-old { color: var(--warn, #d97706); }
.ov-sp-ev.ov-st-bounce, .ov-sp-ev.ov-st-break { fill: #14b8a6; }
.ov-sp-ev.ov-st-stop { fill: #ef5350; }
.ov-sp-ev { stroke: var(--surface); stroke-width: 1.5; }

@media (max-width: 1100px) { .ov-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .ov-kpis { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 6px -2px; padding: 0 2px 2px; scroll-snap-type: x proximity; }
  .ov-kpis::-webkit-scrollbar { display: none; }
  .ov-kpi { flex: 0 0 auto; min-width: 92px; padding: 5px 9px; scroll-snap-align: start; min-height: 44px; }
  .ov-kpi-n { font-size: 17px; }
  .ov-sit-flt { display: inline-flex; align-items: center; width: max-content; max-width: 100%; justify-self: start; align-self: flex-start; margin: 2px 0 4px; min-height: 36px; }
  .ov-sit-sels:not(.is-open) { display: none; }
  .ov-s2-grid { grid-template-columns: minmax(0, 1fr); }
  .ov-s2-links { margin-left: 0; width: 100%; justify-content: flex-start; gap: 16px; }
  .ov-s2-links .ov-link { min-height: 32px; }
  .ov-sp-hrow .ov-s2-kv { grid-template-columns: 1fr 1fr; flex-basis: 100%; }
  .ov-sp-hrow .ov-s2-kv .ov-s2-box:nth-child(3) { grid-column: 1 / -1; }
  .ov-sp-tip { font-size: 11px; }
  .ov-sp-last { margin-left: 0; width: 100%; }
}

/* 109: «коридор» в «Моём списке» — цена между поддержкой и сопротивлением */
.ov-cor { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; margin: 2px 0; }
.ov-cor-l { color: #26a69a; }
.ov-cor-r { color: #ef5350; }
.ov-cor-t { position: relative; height: 6px; border-radius: 999px; background: linear-gradient(90deg, rgba(38, 166, 154, .35), rgba(127, 127, 127, .18) 50%, rgba(239, 83, 80, .35)); }
.ov-cor-f { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: transparent; }
.ov-cor-p { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent, #3b82f6); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--accent, #3b82f6); }
.ov-asset.ov-s2 { display: flex; flex-direction: column; gap: 6px; }
.ov-asset .ov-a-h { display: flex; align-items: baseline; gap: 8px; }
.ov-asset .ov-px { margin-left: auto; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ov-asset .ov-at { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: rgba(59, 130, 246, .1); color: var(--accent, #3b82f6); align-self: flex-start; }
.ov-asset .ov-lv { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.ov-asset .ov-lv > span:first-child { color: var(--text-muted); }
.ov-asset .ov-sig { font-size: 12px; border-top: 1px solid var(--border); padding-top: 6px; }
.ov-grid[data-testid=ov-assets] { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

/* 112g (12.10.2026): страница ситуации — рабочий столбец и боковая панель.
   Раньше общая сетка рядами: высокая «Оценка контекста» справа оставляла
   пустоту под графиком, нижние блоки шли невпопад. Теперь два независимых
   столбца: слева график, сценарии, свой план, история; справа — оценка,
   итог, контекст, ТФ; боковая панель держится на экране при прокрутке.
   На узком экране — один столбец в порядке ov-o1…ov-o8. */
.ov-sp-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 30vw, 460px); gap: 12px; align-items: start; }
.ov-sp-main, .ov-sp-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ov-sp-side { position: sticky; top: 8px; max-height: calc(100vh - 24px); overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.ov-sp-chartc { grid-row: auto; }
.ov-sp-chh { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ov-sp-chh .ov-h { margin: 0; }
.ov-lw-wrap { position: relative; height: clamp(360px, 58vh, 640px); border-radius: var(--u8-r-s, 8px); overflow: hidden; border: 1px solid var(--border); }
.ov-lw { position: absolute; inset: 0; }
.ov-lw-zone { position: absolute; left: 0; pointer-events: none; z-index: 2; border-top: 1px solid; border-bottom: 1px solid; }
.ov-lw-zone-sup { background: rgba(38, 166, 154, .13); border-color: rgba(38, 166, 154, .45); }
.ov-lw-zone-res { background: rgba(239, 83, 80, .12); border-color: rgba(239, 83, 80, .45); }
.ov-lw-ohlc { position: absolute; top: 6px; left: 8px; z-index: 3; pointer-events: none; font-size: 11.5px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: baseline; padding: 2px 6px; border-radius: 6px; background: color-mix(in srgb, var(--surface, #0d1117) 78%, transparent); max-width: calc(100% - 90px); }
.ov-lw-ohlc b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.ov-sp-chartc .ov-sp-leg { margin-top: 8px; }
.ov-sp-last { margin-left: auto; }
@media (min-width: 1600px) { .ov-lw-wrap { height: clamp(420px, 60vh, 700px); } }
@media (max-width: 1100px) { .ov-sp-grid { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 900px) {
  .ov-sp-grid { grid-template-columns: minmax(0, 1fr); }
  .ov-sp-main, .ov-sp-side { display: contents; }
  .ov-sp-side { position: static; max-height: none; overflow: visible; }
  .ov-o1 { order: 1; } .ov-o2 { order: 2; } .ov-o3 { order: 3; } .ov-o4 { order: 4; }
  .ov-o5 { order: 5; } .ov-o6 { order: 6; } .ov-o7 { order: 7; } .ov-o8 { order: 8; }
  .ov-lw-wrap { height: clamp(280px, 46vh, 400px); }
  .ov-lw-ohlc { font-size: 10.5px; max-width: calc(100% - 70px); }
  .ov-sp-last { margin-left: 0; flex-basis: 100%; }
}
.ov-lw-far { position: absolute; top: 34px; left: 8px; z-index: 3; pointer-events: none; font-size: 11px; font-weight: 600; color: #10b981; padding: 2px 7px; border-radius: 6px; border: 1px solid color-mix(in srgb, #10b981 40%, transparent); background: color-mix(in srgb, var(--surface, #0d1117) 82%, transparent); max-width: calc(100% - 90px); }

/* 113c (12.10.2026): плашка «Показаны 3 из N» и ссылка «Подробнее» */
.ov-limited { font-size: 13px; line-height: 1.5; border-style: dashed; }
/* 115h (14.10.2026): только ссылка. Раньше правило било и по блоку
   <details class="ov-more"> «Ещё: радар, пары…» — весь блок был бирюзовым,
   жирным и без переноса строк (контраст 2,5 на белом). */
a.ov-more { color: var(--u8-ink-up, #177a6e); font-weight: 600; white-space: nowrap; }

/* 114b (13.10.2026): подписи оценок, статус разницы и факторы «+ / −» */
.ov-ctx-ns { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12px; }
.ov-ctx-n b { font-variant-numeric: tabular-nums; }
.ov-edge { font-size: 12.5px; font-weight: 600; margin-top: 2px; }
.ov-edge.is-none, .ov-edge.is-na { color: var(--text-muted); font-weight: 500; }
.ov-fct-w { display: flex; flex-direction: column; gap: 2px; }
.ov-fct { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.ov-fct li { display: flex; gap: 6px; align-items: baseline; line-height: 1.35; }
.ov-fct li i { font-style: normal; font-weight: 700; width: 10px; flex: none; text-align: center; }
.ov-fct li.is-p i { color: #14b8a6; }
.ov-fct li.is-m i { color: #ef4444; }
.ov-fct-no { font-size: 12px; }
.ov-fct-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 16px; margin: 8px 0; }
.ov-fct-col { display: flex; flex-direction: column; gap: 4px; }
.ov-fct-note { font-size: 11.5px; margin-bottom: 6px; }

/* 114c (13.10.2026): плитка «Главное» — первой, семь плиток в ряд; подписи причин отбора */
.ov-kpis { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ov-kpi-main { border-left-color: #0ea5a4; }
.ov-why-tags { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; margin: 2px 0 4px; }
.ov-why-tag { font-size: 11px; line-height: 1.5; padding: 0 7px; border-radius: 999px; background: color-mix(in srgb, #0ea5a4 14%, transparent); color: var(--text); border: 1px solid color-mix(in srgb, #0ea5a4 35%, transparent); white-space: nowrap; }
.ov-why-note { font-size: 11px; color: var(--text-muted); }
.ov-main-foot { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin: 10px 0 4px; }
.ov-main-foot .ov-muted { flex: 1 1 320px; font-size: 12px; }
@media (max-width: 1100px) { .ov-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 114d (13.10.2026): сводка ситуации — заголовок, пять плашек, ряд «Контекст», условия, связанные записи */
.ov-sp-title { font-size: 18px; font-weight: 600; margin: 0; line-height: 1.3; }
.ov-sp-title .ov-sp-tk { font-size: inherit; }
/* 133 (18.10.2026): части оценки без данных и блок «Порядок показа (внимание)» */
.ov-sit-nd { opacity: .62; }
.ov-att { margin-top: 10px; font-size: 13px; }
.ov-att > summary { cursor: pointer; color: var(--text-muted); }
.ov-att > summary b { color: var(--text); font-variant-numeric: tabular-nums; }
.ov-att .ov-sit-tb { margin-top: 6px; }
/* 132 (18.10.2026): «Почему сейчас» и изменившиеся факторы в истории переходов */
.ov-why-txt { margin: 0 0 6px; font-size: 13px; line-height: 1.45; }
.ov-why-chg { margin: 2px 0 6px; padding-left: 18px; display: grid; gap: 2px; font-size: 12px; font-variant-numeric: tabular-nums; }
.ov-why-code { font-size: 11px; letter-spacing: .02em; overflow-wrap: anywhere; }
.ov-sit-chg { font-size: 11px; color: var(--text-muted); margin: 1px 0 0; overflow-wrap: anywhere; }
/* 131 (18.10.2026): постоянный номер ситуации и версии — под заголовком, номер выделяется целиком для копирования */
.ov-sp-uid { flex-basis: 100%; font-size: 12px; color: var(--text-muted); overflow-wrap: anywhere; }
.ov-sp-uid b { font-weight: 600; color: var(--text); user-select: all; font-variant-numeric: tabular-nums; }
.ov-sp-hrow .ov-s2-kv.ov-sp-sum { flex: 1 1 560px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ov-sp-sum .ov-sit-st { font-size: 12px; }
.ov-sp-ctx .ov-h { margin-bottom: 6px; }
.ov-ctx-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.ov-ctx-tile { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; background: var(--surface-2, transparent); min-width: 0; }
.ov-ctx-tile.is-na .ov-ctx-fact { color: var(--text-muted); }
.ov-ctx-fact { font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.ov-terms { margin: 0 0 6px; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; line-height: 1.45; }
.ov-links { margin: 0; padding-left: 18px; display: grid; gap: 3px; font-size: 13px; }
@media (max-width: 1100px) { .ov-sp-hrow .ov-s2-kv.ov-sp-sum { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .ov-sp-hrow .ov-s2-kv.ov-sp-sum { grid-template-columns: 1fr 1fr; }
  .ov-ctx-row { grid-template-columns: 1fr; }
  .ov-sp-title { font-size: 16px; }
}
/* 134 (18.10.2026): этап 9 — секции обзора, карточка по документу, меню «⋯», диагностика */
.ov-mode { display: inline-flex; gap: 4px; margin: 0 0 10px; flex-wrap: wrap; }
/* активный режим — тем же стилем, что главная кнопка (.ov-btn-main): иначе ui8.css перекрашивает текст */
.ov-sec { margin: 14px 0 6px; }
.ov-sec-h { font-size: 15px; font-weight: 600; margin: 0 0 8px; display: flex; gap: 8px; align-items: baseline; }
.ov-sec-n { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.ov-s2[data-id] { cursor: pointer; }
.ov-s2.is-hidden { opacity: .7; }
.ov-s2-nm { font-size: 12px; color: var(--text-muted); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-s2-hid { font-size: 11px; padding: 1px 6px; border-radius: 8px; border: 1px solid var(--border, #8884); color: var(--text-muted); }
.ov-s2-now { font-size: 12.5px; line-height: 1.35; margin: 4px 0; }
.ov-s2-upd { font-size: 11.5px; margin-top: 6px; }
.ov-s2-more { margin-left: auto; min-width: 40px; font-weight: 700; letter-spacing: 1px; }
.ov-s2-menu { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; padding: 6px; border: 1px solid var(--border, #8884); border-radius: 8px; background: var(--surface-2, transparent); cursor: default; }
.ov-s2-mi { text-align: left; background: none; border: 0; padding: 7px 8px; border-radius: 6px; font: inherit; font-size: 13px; color: inherit; cursor: pointer; min-height: 32px; }
.ov-s2-mi:hover, .ov-s2-mi:focus-visible { background: var(--hover, #8882); }
.ov-diag-kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 16px; margin: 8px 0 12px; font-size: 13px; }
.ov-diag-kv > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ov-diag-kv b { font-weight: 500; overflow-wrap: anywhere; }
.ov-diag-f { display: inline-flex; gap: 6px; align-items: center; margin: 4px 0; }
.ov-diag-f input { padding: 4px 8px; min-width: 160px; }
.ov-diag-wrap { overflow-x: auto; margin-top: 6px; }
.ov-diag-t { border-collapse: collapse; width: 100%; font-size: 12px; font-variant-numeric: tabular-nums; }
.ov-diag-t th, .ov-diag-t td { padding: 5px 6px; border-bottom: 1px solid var(--border, #8883); text-align: left; vertical-align: top; }
.ov-diag-t th { position: sticky; top: 0; background: var(--surface, #fff0); font-weight: 600; white-space: nowrap; }
.ov-diag-t tbody tr { cursor: pointer; }
.ov-diag-t tbody tr:hover { background: var(--hover, #8881); }
.ov-diag-p { min-width: 220px; font-size: 11px; }
.ov-diag-ex { color: var(--text-muted); }
/* 135 (18.10.2026): этап 10 — страница ситуации в порядке блоков документа (ov-b1…ov-b11,
   вспомогательные — ov-b12). На узком экране один столбец: блоки 2–11, затем итог и контекст. */
@media (max-width: 900px) {
  .ov-b2 { order: 2; } .ov-b3 { order: 3; } .ov-b4 { order: 4; } .ov-b5 { order: 5; } .ov-b6 { order: 6; }
  .ov-b7 { order: 7; } .ov-b8 { order: 8; } .ov-b9 { order: 9; } .ov-b10 { order: 10; } .ov-b11 { order: 11; }
  .ov-b12 { order: 12; }
  /* 181g (01.11.2026): условия (подтверждение, отмена, цель) — сразу после «Почему сейчас» */
  .ov-sp-terms { order: 3; }
}
.ov-h3 { font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
.ov-sum-t td, .ov-sum-t th { white-space: nowrap; }
.ov-sum-t td:first-child { white-space: normal; min-width: 120px; }
.ov-sum-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 16px; font-size: 13px; margin-bottom: 6px; }
.ov-sum-cols > div { display: flex; flex-direction: column; gap: 4px; }
.ov-sum-l { margin: 0; padding-left: 18px; }
.ov-sum-l li { margin: 2px 0; }
.ov-sp-follow .ov-acts { margin-top: 6px; }

/* 141 (18.10.2026): «Как посчитаны вход, стоп и цель» на странице ситуации */
.ov-howcalc { margin-top: 8px; font-size: 0.84rem; }
.ov-howcalc summary { cursor: pointer; color: var(--accent, #3b82f6); }
.ov-howcalc ul { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }

/* 148 (20.10.2026): «Способы действия» на странице ситуации — та же матрица, что на главной.
   Компьютер: таблица с закреплённым столбцом названий строк; телефон (до 720px): карточки
   способов с четырьмя главными строками и «Ещё показатели». */
.ov-ways { margin-top: 12px; }
.ov-ways-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ov-ways-h .ov-h { margin: 0; }
.ov-ways-h .ov-btn { margin-left: auto; }
.ov-ways-sc { display: flex; flex-wrap: wrap; gap: 6px; }
.ov-ways-plan { margin: 0; }
/* R020 (07.11.2026): переключатель точки оценки и выделенная строка результата в точке */
.ov-ways-pt { display: grid; gap: 4px; margin: 6px 0 4px; }
.ov-ways-ptl { margin: 0; }
.ov-ways-t .ov-w-pt th, .ov-ways-t .ov-w-pt td { background: color-mix(in srgb, var(--primary, #4f8cff) 7%, var(--surface)); font-weight: 600; }
.ov-w-ptv { font-weight: 600; }
.ov-ways-tw { overflow-x: auto; }
.ov-ways-t { width: 100%; min-width: 960px; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.ov-ways-t th, .ov-ways-t td { text-align: left; vertical-align: top; padding: 7px 8px; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; white-space: normal; }
.ov-ways-t thead th { font-weight: 600; color: var(--text); }
.ov-ways-t tbody th { width: 150px; color: var(--text-muted); font-weight: 500; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.ov-ways-t thead th:first-child { width: 150px; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.ov-ways-t .is-off { color: var(--text-muted); }
.ov-ways-t .ov-w-acts td { border-bottom: 0; }
.ov-ways-t .ov-w-acts td .ov-btn { display: block; width: 100%; margin-bottom: 4px; white-space: normal; }
.ov-w-tip { display: block; color: var(--text-muted); font-size: 11px; margin-top: 2px; }
.ov-w-na { color: var(--text-muted); cursor: help; }
.ov-w-why { color: var(--text-muted); font-style: normal; }
.ov-w-marks { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.ov-w-mark { font-size: 10.5px; font-weight: 500; padding: 1px 6px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); }
/* 07.11.2026 (волна D, R022): статус способа. «Нельзя оценить» — серый, а не зелёный:
   недостаток данных не должен выглядеть как «всё хорошо» */
.ov-w-st { font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 999px; border: 1px solid currentColor; }
.ov-w-st-ok { color: #5cc98a; }
.ov-w-st-warn { color: #e3ad45; }
.ov-w-st-bad { color: #f07a70; }
[data-theme="light"] .ov-w-st-ok { color: #2f7d4f; }
[data-theme="light"] .ov-w-st-warn { color: #8a5d00; }
[data-theme="light"] .ov-w-st-bad { color: #b3403a; }
.ov-w-st-na { color: var(--text-muted); border-style: dashed; }
.ov-w-stw { flex-basis: 100%; font-size: 10.5px; font-weight: 400; color: var(--text-muted); line-height: 1.3; }
.ov-ways-cards { display: none; }
.ov-w-card { border: 1px solid var(--border); border-radius: 10px; padding: 10px; display: grid; gap: 6px; min-width: 0; }
.ov-w-card.is-off { opacity: .85; }
.ov-w-card .ov-h3 { margin: 0; }
.ov-w-head { margin: 0; font-size: 12.5px; overflow-wrap: anywhere; }
.ov-w-dl { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); gap: 4px 8px; margin: 0; font-size: 12.5px; }
.ov-w-dl dt { color: var(--text-muted); }
.ov-w-dl dd { margin: 0; overflow-wrap: anywhere; }
.ov-w-more summary { cursor: pointer; color: var(--accent, #2962ff); font-size: 12.5px; }
.ov-w-more .ov-w-dl { margin-top: 6px; }
.ov-w-card .ov-acts { display: flex; flex-wrap: wrap; gap: 6px; }
/* волна E (07.11.2026): сравнение двух способов и быстрые действия карточки (телефон) */
.ov-w-ch { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ov-w-cmpb.is-on, .ov-w-card.is-cmp { border-color: var(--accent, #2962ff); }
.ov-w-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.ov-w-expl summary { cursor: pointer; color: var(--accent, #2962ff); font-size: 12.5px; }
.ov-w-exl { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; display: grid; gap: 3px; overflow-wrap: anywhere; }
.ov-w-cmp, .ov-w-cmpn { display: none; }
.ov-w-cmp { border: 1px solid var(--accent, #2962ff); border-radius: 10px; padding: 8px; margin-bottom: 8px; }
.ov-w-cmph { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 13px; }
.ov-w-cmpt { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.ov-w-cmpt th, .ov-w-cmpt td { padding: 4px; border-top: 1px solid var(--border); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.ov-w-cmpt thead th { border-top: 0; }
.ov-w-cmpt tbody th { width: 30%; color: var(--text-muted); font-weight: 400; }
.ov-w-cmpt .ov-w-tip { display: block; font-size: 10.5px; color: var(--text-muted); }
[data-theme="light"] .ov-w-expl summary { color: #1d4ed8; }
[data-theme="light"] .ov-w-cmp, [data-theme="light"] .ov-w-cmpb.is-on, [data-theme="light"] .ov-w-card.is-cmp { border-color: #1d4ed8; }
.ov-ways-skel { display: grid; gap: 6px; }
.ov-ways-skel i { display: block; height: 14px; border-radius: 6px; background: var(--surface-2); }
.ov-ways-skel i:nth-child(2) { width: 85%; } .ov-ways-skel i:nth-child(3) { width: 70%; } .ov-ways-skel i:nth-child(4) { width: 55%; }
@media (max-width: 720px) {
  .ov-ways-tw { display: none; }
  .ov-ways-cards { display: grid; gap: 8px; }
  .ov-w-cmp, .ov-w-cmpn { display: block; }
  .ov-ways-h .ov-btn { margin-left: 0; }
}

/* 150 (20.10.2026, документ — раздел 15): светлая тема — контраст текста не ниже WCAG AA.
   Рост и падение остаются подписаны знаком и словами, цвет — только дополнение */
[data-theme="light"] .ov-s2 { --s2-up: #00796b; --s2-dn: #c62828; }
[data-theme="light"] .ov-st-target, [data-theme="light"] .ov-sp-tip .ov-up { color: #00796b; }
[data-theme="light"] .ov-st-stop, [data-theme="light"] .ov-sp-tip .ov-dn { color: #c62828; }
[data-theme="light"] .ov-howcalc summary { color: #1d4ed8; }
[data-theme="light"] .ov-lw-far { color: #047857; }
/* касание пальцем: кнопки и раскрывашки страницы «Обзора» не меньше 44×44 */
@media (pointer: coarse), (max-width: 760px) {
  #ov-page .ov-btn, #ov-page summary, #ov-page .ov-tab, #ov-page [role="tab"] { min-height: 44px; }
  #ov-page summary { display: flex; align-items: center; }
  #ov-page .ov-link { min-height: 44px; display: inline-flex; align-items: center; }
  #ov-page .ov-btn { display: inline-flex; align-items: center; justify-content: center; }
}
/* на компьютере с мышью — не меньше 24 × 24 (WCAG 2.2 AA): раскрывашки, «Подробнее» и коды пар */
@media (pointer: fine) and (min-width: 761px) {
  #ov-page .ov-howcalc summary { min-height: 24px; display: flex; align-items: center; }
  #ov-page .ov-sp-class-more { min-height: 24px; }
  #ov-page button.ov-link { min-height: 24px; display: inline-flex; align-items: center; }
}
@media (pointer: coarse), (max-width: 760px) {
  #ov-page .ov-sp-class-more, #ov-page button.ov-link { min-height: 44px; display: inline-flex; align-items: center; }
}
/* «Ещё показатели» в карточке способа: синий темы бледный на тёмном фоне */
[data-theme="dark"] .ov-w-more summary { color: #8ab4ff; }
[data-theme="light"] .ov-w-more summary { color: #1d4ed8; }
/* знаки «+» и «−» в списке «за и против»: светлая тема — контраст не ниже 4,5;
   раскрывашки карточки «Внимание» мышью — не меньше 24 */
[data-theme="light"] .ov-fct li.is-p i { color: #00796b; }
[data-theme="light"] .ov-fct li.is-m i { color: #c62828; }
@media (pointer: fine) and (min-width: 761px) {
  #ov-page summary { min-height: 24px; display: flex; align-items: center; }
}

/* 173a (30.10.2026): поиск бумаги на вкладках «Внутри дня» и «Тренд» */
.ovp { margin: 6px 0 4px; }
.ovp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ovp-lbl { font-size: 12px; color: var(--text-muted); }
.ovp-box { position: relative; flex: 1 1 260px; max-width: 460px; min-width: 0; }
.ovp-in { width: 100%; box-sizing: border-box; padding: 7px 10px; font: inherit; font-size: 14px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.ovp-in:focus { outline: 2px solid var(--accent, #2962ff); outline-offset: -1px; }
.ovp-list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); max-height: 360px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); padding: 4px 0; }
.ovp-h { padding: 6px 10px 2px; font-size: 11px; color: var(--text-muted); text-transform: none; }
.ovp-opt { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "t n m" "c c c"; gap: 0 8px; width: 100%;
  text-align: left; background: none; border: 0; padding: 6px 10px; font: inherit; color: var(--text); cursor: pointer; }
.ovp-opt:hover, .ovp-opt.is-cur { background: var(--surface-2); }
.ovp-t { grid-area: t; font-weight: 600; white-space: nowrap; }
.ovp-n { grid-area: n; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.ovp-k { font-style: normal; color: var(--text-muted); font-size: 12px; }
.ovp-my, .ovp-off { grid-area: m; font-style: normal; font-size: 11px; white-space: nowrap; align-self: center; }
.ovp-my { color: var(--accent, #2962ff); }
.ovp-off { color: var(--text-muted); }
.ovp-c { grid-area: c; font-size: 12px; color: var(--text-muted); }
.ovp-c.has { color: var(--text); }
.ovp-all { display: block; color: var(--accent, #2962ff); border-top: 1px solid var(--border); margin-top: 4px; }
.ovp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; max-width: 100%; }
.ovp-chip .ovp-off { font-size: 11px; }
.ovp-x { border: 0; background: none; color: var(--text-muted); font-size: 18px; line-height: 1; padding: 0 6px; cursor: pointer; }
.ovp-x:hover { color: var(--text); }
.ovp-empty .ov-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.tr-top .ovp { margin-top: 2px; }
@media (max-width: 640px) {
  .ovp-box { flex-basis: 100%; max-width: none; }
  .ovp-in { font-size: 16px; } /* иначе телефон увеличивает страницу при фокусе */
  .ovp-list { max-height: 55vh; }
  .ovp-lbl { display: none; }
}

/* F3/F13 (11.11.2026): страница ситуации по подписке — размытый макет и замок */
.ov-pw { display: grid; margin-top: 12px; }
.ov-pw > .ov-pw-blur, .ov-pw > .ov-pw-box { grid-area: 1 / 1; }
.ov-pw-blur { filter: blur(4px); opacity: .55; pointer-events: none; user-select: none; display: grid; gap: 10px; }
.ov-pw-fake .ov-pw-line { height: 10px; margin: 8px 0; border-radius: 5px; background: var(--surface-2, rgba(127,127,127,.25)); }
.ov-pw-fake .ov-pw-s { width: 60%; }
.ov-pw-box { position: relative; z-index: 1; align-self: start; justify-self: center; margin-top: 24px; width: min(440px, calc(100% - 24px)); box-sizing: border-box; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--border, rgba(127,127,127,.35)); background: var(--surface, #0d1117); box-shadow: 0 8px 28px rgba(0,0,0,.25); text-align: center; line-height: 1.5; }
.ov-pw-box p { margin: 6px 0; }
.ov-pw-box .ov-acts { justify-content: center; }
.ov-pw-lock { font-size: 22px; }
.ov-pw-box a.ov-btn { text-decoration: none; display: inline-flex; align-items: center; }
/* B6 (11.11.2026): пометка «бумаги нет в наборе» в блоке способов */
.ov-ways-ns { margin: 6px 0 10px; padding: 8px 10px; border-radius: 8px; background: var(--surface-2, rgba(127,127,127,.08)); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
/* F4 (11.11.2026): событие слежения не по подписке */
.ov-w-ev.is-locked{cursor:not-allowed;opacity:.65}
.ov-w-ev.is-locked small{margin-left:4px}

/* ===== U1 (11.11.2026): «Внутри дня» — список А, доска Б, страница ситуации В =====
   Плотный список: строка 30 px, при 1280 px на экране от 20 строк; панель
   предпросмотра справа (330 px); на странице — полоса решения прилипает к верху.
   Цвета — через переменные темы, светлая — ниже через [data-theme="light"]. */
.u1, .u1-sp, .u1-wrap { --s2-up: #26a69a; --s2-dn: #ef5350; --s2-sup: 38, 166, 154; --s2-res: 239, 83, 80; }
.u1 .ov-up, .u1-sp .ov-up { color: var(--s2-up); }
.u1 .ov-dn, .u1-sp .ov-dn { color: var(--s2-dn); }
.u1-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 6px; }
.u1-stages { display: flex; gap: 6px; flex-wrap: wrap; flex: 1 1 auto; }
.u1-chip { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; white-space: nowrap; line-height: 16px; }
.u1-chip b { font-weight: 600; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.u1-chip.is-on { border-color: var(--accent, #3b82f6); background: rgba(59, 130, 246, .14); }
.u1-chip.is-on b { color: var(--text); }
.u1-chip:focus-visible, .u1-opt:focus-visible, .u1-sort:focus-visible, tr.u1-r:focus-visible { outline: 2px solid var(--accent, #3b82f6); outline-offset: -2px; }
.u1-view { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: 13px; }
.u1-opts { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.u1-opt { font: inherit; font-size: 12px; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.u1-opt.is-on { border-color: var(--accent, #3b82f6); background: rgba(59, 130, 246, .16); font-weight: 600; }
.u1-bar2 { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 6px; font-size: 13px; }
.u1-bar2 .ovp-in { padding: 4px 10px; font-size: 13px; }
.u1-wrap { gap: 6px; padding-top: 8px; grid-template-columns: minmax(0, 1fr); }   /* U1 11.11.2026: широкая таблица не раздвигает колонку на телефоне */
.u1-wrap > * { min-width: 0; }
.u1-bar2 .ovp { margin: 0; flex: 0 1 260px; min-width: 180px; }
.u1-bar2 .ovp-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.u1-bar2 .ovp-row { margin: 0; }
.u1-flt, .u1-sets { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.u1-chip.is-f { padding-right: 4px; background: var(--surface-2); }
.u1-chip.is-set { padding: 0; overflow: hidden; }
.u1-chip.is-set .u1-cb { font: inherit; background: none; border: 0; color: inherit; padding: 4px 10px; cursor: pointer; }
.u1-cx { font: inherit; border: 0; background: none; color: var(--text-muted); cursor: pointer; padding: 0 6px; font-size: 15px; line-height: 1; }
.u1-cx:hover { color: var(--text); }
.u1-add { border-style: dashed; color: var(--text-muted); }
.u1-dd { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); cursor: pointer; }
.u1-pop { border: 1px solid var(--border); background: var(--surface); border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; display: grid; gap: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.u1-pop-r { display: grid; grid-template-columns: 110px 1fr; gap: 8px; align-items: center; font-size: 13px; }
.u1-pop-r > span { color: var(--text-muted); }
.u1-pop-f { display: flex; justify-content: space-between; align-items: center; }
.u1-in { font: inherit; font-size: 13px; padding: 3px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2); color: var(--text); min-width: 180px; }
/* список */
.u1-list { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 12px; align-items: start; }
.u1-tw { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.u1-t { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.u1-t thead th { position: sticky; top: 0; z-index: 1; background: var(--surface); text-align: left; font-weight: 500; font-size: 12px; color: var(--text-muted); padding: 0 6px; height: 24px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.u1-sort { font: inherit; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.u1-sort.is-on { color: var(--text); font-weight: 600; }
.u1-t td { padding: 0 6px; height: 25px; border-bottom: 1px solid var(--border); white-space: nowrap; vertical-align: middle; }
tr.u1-r[data-ov-row] { cursor: pointer; }
tr.u1-r[data-ov-row]:hover td { background: var(--hover, rgba(127, 127, 127, .07)); }
tr.u1-r.is-sel td { background: rgba(59, 130, 246, .12); }
tr.u1-r.is-sel td:first-child { box-shadow: inset 3px 0 0 var(--accent, #3b82f6); }
.u1-tk b { font-weight: 700; }
.u1-nm { color: var(--text-muted); margin-left: 6px; font-size: 12px; display: inline-block; max-width: 140px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.u1-dup { margin-left: 6px; font-size: 11px; padding: 0 5px; border-radius: 4px; background: var(--surface-2); color: var(--text-muted); }
.u1-st { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); }
.u1-st.is-dev { color: var(--s2-up); background: rgba(38, 166, 154, .14); }
.u1-zs { font-size: 11px; padding: 0 5px; border-radius: 4px; }
.u1-zs.is-sup { background: rgba(var(--s2-sup), .16); color: rgb(var(--s2-sup)); }
.u1-zs.is-res { background: rgba(var(--s2-res), .16); color: rgb(var(--s2-res)); }
.u1-n { text-align: right; }
.u1-t thead th:nth-child(4), .u1-t thead th:nth-child(5), .u1-t thead th:nth-child(7), .u1-t thead th:nth-child(9), .u1-t thead th:nth-child(10) { text-align: right; }
.u1-chg { font-size: 11px; font-weight: 600; min-width: 42px; display: inline-block; }
.u1-sc { display: flex; align-items: center; gap: 5px; height: 25px; }
.u1-scn { min-width: 20px; text-align: right; }
.u1-scn.is-hi { color: var(--s2-up); } .u1-scn.is-md { color: #d4a017; } .u1-scn.is-lo { color: var(--text-muted); }
.u1-sb { width: 40px; height: 5px; border-radius: 3px; background: var(--surface-2); overflow: hidden; display: inline-block; margin: 0; flex: none; }
.u1-sb > i { display: block; height: 100%; background: currentColor; }
.u1-sb.is-hi { color: var(--s2-up); } .u1-sb.is-md { color: #d4a017; } .u1-sb.is-lo { color: #8b93a1; }
.u1-alt { font-size: 11px; color: var(--text-muted); }
.u1-tf .ov-s2-tfc { padding: 0 1px; margin-right: 2px; font-size: 11px; border: 0; background: none; color: var(--text-muted); }
.u1-tf .ov-s2-tfc.is-z { color: var(--text); }
.u1-age { color: var(--text-muted); }
@media (max-width: 1360px) {
  .u1-t th, .u1-t td { padding-left: 4px; padding-right: 4px; }
  .u1-age { font-size: 12px; }
}
.u1-c { width: 28px; text-align: center; }
.u1-star { font: inherit; font-size: 15px; border: 0; background: none; color: var(--text-muted); cursor: pointer; padding: 0 4px; }
.u1-star.is-on { color: #f5b301; }
.u1-star:disabled { opacity: .35; cursor: default; }
.u1-gh th { text-align: left; background: var(--surface-2); padding: 0 8px; height: 20px; font-size: 12px; border-bottom: 1px solid var(--border); }
.u1-gh th, .u1-gh th * { line-height: 20px; }
.u1-gh .ov-btn, .u1-gh button { padding-top: 0; padding-bottom: 0; }
/* U1 11.11.2026: цель нажатия остаётся 24 px (WCAG 2.5.8), но строку группы не раздувает */
#ov-page .u1-gh button.ov-link { margin: -2px 0 -2px 10px; vertical-align: middle; }
.u1-ghb { font: inherit; font-weight: 600; background: none; border: 0; color: var(--text); cursor: pointer; padding: 0; }
.u1-gall { margin-left: 10px; font-size: 12px; font-weight: 400; }
tr.u1-r.is-lock td { color: var(--text-muted); cursor: not-allowed; font-size: 12px; }
tr.u1-fake td { filter: blur(2px); }
.u1-blur { display: inline-block; height: 9px; border-radius: 4px; background: var(--surface-2); }
.u1-keys, .u1-foot { font-size: 11px; margin-top: 6px; }
/* панель предпросмотра */
.u1-pvw { position: sticky; top: 8px; }
.u1-pv { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); padding: 12px; display: grid; gap: 10px; font-size: 13px; }
.u1-pv-h { display: flex; justify-content: space-between; gap: 8px; }
.u1-pv-h .ov-muted { font-size: 12px; margin-top: 2px; }
.u1-pv-t { font-size: 17px; }
.u1-pv-st { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; }
.u1-pv-sc { display: flex; gap: 10px; align-items: flex-start; border-top: 1px solid var(--border); padding-top: 8px; }
.u1-pv-sc .ov-fct { margin: 4px 0 0; }
.u1-kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.u1-pv .u1-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.u1-kv > div { background: var(--surface-2); border-radius: 8px; padding: 5px 7px; display: flex; flex-direction: column; min-width: 0; }
.u1-kv span { font-size: 11px; color: var(--text-muted); }
.u1-kv b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u1-pv-ch { height: 96px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.u1-spk { width: 100%; height: 96px; display: block; }
.u1-pl { fill: none; stroke: var(--text); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.u1-l-stop, .u1-l-entry, .u1-l-target { stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 4 3; }
.u1-l-stop { stroke: var(--s2-dn); } .u1-l-target { stroke: var(--s2-up); } .u1-l-entry { stroke: #8b93a1; }
.u1-spk text { font-size: 9px; } .u1-lt-stop { fill: var(--s2-dn); } .u1-lt-target { fill: var(--s2-up); } .u1-lt-entry { fill: #8b93a1; }
.u1-pv-why p { margin: 2px 0 0; line-height: 1.4; }
.u1-pv-cls { font-size: 12px; }
.u1-pv-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.u1-pv-acts .ov-btn { padding: 5px 9px; font-size: 12.5px; }
.u1-pv.is-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 100vw); z-index: 60; overflow-y: auto; border-radius: 0; box-shadow: -10px 0 30px rgba(0, 0, 0, .35); align-content: start; }
.u1-drawer-bg { position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, .3); }
.u1-x { font: inherit; font-size: 22px; line-height: 1; border: 0; background: none; color: var(--text-muted); cursor: pointer; align-self: flex-start; }
/* доска */
.u1-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: start; }
.u1-col { background: var(--surface-2); border-radius: 10px; padding: 8px; display: grid; gap: 8px; min-width: 0; }
.u1-col-h { margin: 2px 2px 0; font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; }
.u1-col-h span { color: var(--text-muted); font-weight: 500; }
.u1-bc { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; display: grid; gap: 6px; cursor: pointer; font-size: 12px; min-height: 120px; }
.u1-bc:hover, .u1-bc.is-sel { border-color: var(--accent, #3b82f6); }
.u1-bc-h { display: flex; justify-content: space-between; gap: 6px; }
.u1-bc-h b { font-size: 14px; }
.u1-bc-h .ov-s2-ring { width: 40px; height: 40px; flex: none; }
.u1-bc-h .ov-s2-ring span { display: none; }
.u1-bc-px { margin-top: 2px; }
.u1-bc-m { color: var(--text-muted); }
.u1-prog { height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; }
.u1-prog i { display: block; height: 100%; }
.u1-prog.is-up i { background: var(--s2-up); } .u1-prog.is-dn i { background: var(--s2-dn); } .u1-prog.is-md i { background: #d4a017; }
.u1-bc-f { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u1-bc-f.is-p { color: var(--s2-up); } .u1-bc-f.is-m { color: var(--s2-dn); }
.u1-bc-a { display: flex; justify-content: space-between; }
.u1-bc .u1-dup { position: absolute; top: 6px; right: 52px; }
.u1-more { justify-self: center; }
/* страница ситуации */
.u1-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 4px 0 6px; }
.u1-nav { margin-left: auto; display: flex; gap: 4px; }
.u1-sp-h { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.u1-sp-h .ov-sp-title { font-size: 20px; margin: 0; font-weight: 500; }
.u1-sp-h .ov-muted { font-size: 12px; }
.u1-i { cursor: help; color: var(--text-muted); }
.u1-strip { position: sticky; top: var(--u1-top, 0px); z-index: 20; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.u1-strip-r { display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap; }
.u1-d { display: flex; flex-direction: column; min-width: 0; }
.u1-d > span { font-size: 11px; color: var(--text-muted); }
.u1-d > b { font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.u1-d-st { gap: 2px; }
.u1-d-ring .ov-s2-ring { width: 40px; height: 40px; }
.u1-d-ring .ov-s2-ring span { display: none; }
.u1-d-acts { flex-direction: row; gap: 6px; margin-left: auto; align-items: center; }
.u1-more-w { position: relative; }
.u1-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 4px; display: grid; min-width: 210px; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.u1-menu button { font: inherit; font-size: 13px; text-align: left; border: 0; background: none; color: var(--text); padding: 6px 10px; border-radius: 6px; cursor: pointer; }
.u1-menu button:hover { background: var(--surface-2); }
.u1-follow { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; max-height: 50vh; overflow-y: auto; }
.u1-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 10px; overflow-x: auto; scrollbar-width: thin; }
.u1-tab { font: inherit; font-size: 13px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--text-muted); padding: 8px 12px; cursor: pointer; white-space: nowrap; }
.u1-tab.is-on { color: var(--text); border-bottom-color: var(--accent, #3b82f6); font-weight: 600; }
/* U1 11.11.2026: .ov-sp на телефоне — распорка шапки (height: 0); у страницы U1 высота своя, иначе липкая полоса уезжает */
.ov-sp.u1-sp { height: auto; flex: none; flex-basis: auto; }
.u1-sp-g { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; align-items: start; }
.u1-sp-main { display: grid; gap: 10px; min-width: 0; }
.u1-sp-main > .ov-card { margin: 0; }
.u1-side { display: grid; gap: 10px; position: sticky; top: calc(var(--u1-top, 0px) + 110px); }
.u1-side-c { margin: 0; display: grid; gap: 6px; }
.u1-side-c .ov-h3 { margin: 0; font-size: 14px; }
.u1-cbar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--surface-2); }
.u1-cbar i { display: block; height: 100%; background: #8b93a1; } .u1-cbar i.is-up { background: var(--s2-up); } .u1-cbar i.is-dn { background: var(--s2-dn); }
.u1-small { font-size: 11px; }
.u1-ml { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; font-size: 13px; }
.u1-chf { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; font-size: 12px; }
.u1-next-r { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.u1-nx { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: var(--surface-2); }
.u1-nx p { margin: 3px 0 0; font-size: 12px; color: var(--text-muted); line-height: 1.35; }
.u1-nx.is-up { border-left: 3px solid var(--s2-up); } .u1-nx.is-dn { border-left: 3px solid var(--s2-dn); }
details.ov-sp-terms > summary { cursor: pointer; font-size: 15px; }
/* способы — карточки */
.u1-wcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 8px 0; }
.u1-wc { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: var(--surface-2); display: grid; gap: 6px; align-content: start; }
.u1-wc.is-loss { border-color: rgba(239, 83, 80, .55); }
.u1-wc-h { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.u1-wc-h .ov-h3 { margin: 0; font-size: 14px; }
.u1-wc-d { margin: 0; font-size: 12px; color: var(--text-muted); line-height: 1.35; }
.u1-wc-dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 0; font-size: 12px; }
.u1-wc-dl dt { color: var(--text-muted); }
.u1-wc-dl dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.u1-wc-dl .ov-w-tip { display: none; }
.u1-wc-hint { margin: 0; font-size: 12px; color: #d4a017; }
.u1-badge { font-size: 11px; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.u1-badge.is-dn { background: rgba(239, 83, 80, .16); color: var(--s2-dn); }
.u1-wt > summary { cursor: pointer; font-size: 13px; color: var(--accent, #3b82f6); margin: 6px 0; }
/* U1: шапка «Обзора» в одну строку — название, вкладки, кнопки (место под строки списка) */
.u1-wrap .ov-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.u1-wrap .ov-title-row { display: contents; }
.u1-wrap .ov-title { order: 0; }
.u1-wrap .ov-day { order: 1; }
.u1-wrap .ov-tabs { order: 2; margin: 0; border-bottom: 0; }
.u1-wrap .ov-sp { order: 3; flex: 1 1 0; }
.u1-wrap .ov-title-row > .ov-btn { order: 4; }
.u1-wrap .ov-sub { order: 5; flex-basis: 100%; }
@media (max-width: 1599px) {   /* U1 11.11.2026: до 1600 px таблица без Q и с короткой зоной, иначе «Возраст» уезжает */
  .u1-nm { max-width: 90px; }
  .u1-list { grid-template-columns: minmax(0, 1fr) 300px; }
  .u1-t th:nth-child(10), .u1-t td:nth-child(10) { display: none; }
  .u1-zt { display: none; }
  .u1-zs { display: inline-block; width: 4px; height: 13px; padding: 0; vertical-align: -2px; border-radius: 2px; }
  .u1-zs.is-sup { background: rgb(var(--s2-sup)); } .u1-zs.is-res { background: rgb(var(--s2-res)); }
}
@media (max-width: 1360px) {
  .u1-t .u1-nm { display: none; }
  .u1-t .u1-chg { min-width: 0; }
  .u1-st { font-size: 11px; padding: 1px 6px; }
}
/* светлая тема */
[data-theme="light"] .u1, [data-theme="light"] .u1-sp, [data-theme="light"] .u1-wrap { --s2-up: #1a8a6e; --s2-dn: #d32f2f; }
[data-theme="light"] .u1-chip.is-on, [data-theme="light"] .u1-opt.is-on { background: rgba(29, 78, 216, .1); border-color: #1d4ed8; }
[data-theme="light"] tr.u1-r.is-sel td { background: rgba(29, 78, 216, .08); }
[data-theme="light"] .u1-scn.is-md, [data-theme="light"] .u1-sb.is-md, [data-theme="light"] .u1-wc-hint { color: #8a5d00; }
[data-theme="light"] .u1-prog.is-md i { background: #b7791f; }
[data-theme="light"] .u1-pop, [data-theme="light"] .u1-menu, [data-theme="light"] .u1-strip { box-shadow: 0 6px 16px rgba(15, 23, 42, .12); }
[data-theme="light"] .u1-pv.is-drawer { box-shadow: -10px 0 30px rgba(15, 23, 42, .18); }
/* узкие экраны: без панели предпросмотра, клик открывает страницу */
@media (max-width: 1099px) {
  .u1-list { grid-template-columns: minmax(0, 1fr); }
  .u1-pvw { display: none; }
  .u1-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u1-sp-g { grid-template-columns: minmax(0, 1fr); }
  .u1-side { position: static; }
}
@media (max-width: 720px) {
  .u1-view { margin-left: 0; }
  .u1-keys { display: none; }
  .u1-t th:nth-child(3), .u1-t td:nth-child(3), .u1-t th:nth-child(8), .u1-t td:nth-child(8), .u1-t th:nth-child(9), .u1-t td:nth-child(9), .u1-t th:nth-child(10), .u1-t td:nth-child(10) { display: none; }
  .u1-nm { display: none; }
  .u1-board { grid-template-columns: minmax(0, 1fr); }
  .u1-next-r { grid-template-columns: minmax(0, 1fr); }
  .u1-strip-r { gap: 4px 12px; }
  .u1-d > b { font-size: 13px; }
  .u1-d-acts { margin-left: 0; width: 100%; }
  .u1-pop-r { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .u1-sp-h .ov-sp-title { font-size: 17px; }
  /* U1 11.11.2026: на телефоне в строке — бумага, состояние, цена, оценка; остальное в превью/на странице */
  .u1-t th:nth-child(5), .u1-t td:nth-child(5), .u1-t th:nth-child(7), .u1-t td:nth-child(7) { display: none; }
  .u1-wrap .ov-head { flex-wrap: wrap; }
  .u1-stages, .u1-sets { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .u1-stages > *, .u1-sets > * { flex: none; }
  .u1-t .u1-sb, .u1-t .u1-chg, .u1-t .ov-s2-chg, .u1-t .u1-alt { display: none; }
  .u1-t th:nth-child(11), .u1-t td:nth-child(11) { display: none; }   /* «Следить» — в превью и на странице */
  .u1-t td.u1-sc { display: table-cell; }
}

/* ---------- A10 (17.11.2026): плашка-пояснение над «Внутри дня» и «Тренд» ---------- */
.ov-note { position: relative; display: flex; align-items: flex-start; gap: 4px 10px; flex-wrap: wrap; margin: 0 0 8px; padding: 8px 36px 8px 12px; border: 1px solid var(--border); border-left: 3px solid var(--accent, #2962ff); border-radius: 8px; background: var(--surface); font-size: 13px; line-height: 1.45; color: var(--text); }
.ov-note-t { margin: 0; flex: 1 1 0; min-width: 0; }
.ov-note-t b { font-weight: 600; }
.ov-note-more { flex: none; font-size: 13px; }
.ov-note-x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; border-radius: 6px; background: none; color: var(--text-muted); font-size: 18px; line-height: 1; cursor: pointer; }
.ov-note-x:hover { background: var(--surface-2); color: var(--text); }
.ov-note-x:focus-visible, .ov-note-more:focus-visible { outline: 2px solid var(--accent, #2962ff); outline-offset: 1px; }
/* телефон и Telegram: одна строка с «Подробнее» */
.ov-note.is-fold { flex-wrap: nowrap; align-items: center; padding-top: 4px; padding-bottom: 4px; }
.ov-note.is-fold .ov-note-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u1-wrap .ov-note { margin-bottom: 2px; }
[data-theme="light"] .ov-note { background: #f5f8ff; }
/* цель нажатия «Подробнее» на телефоне остаётся 44 px, а строку не раздувает */
.ov-note.is-fold .ov-note-more { margin-top: -12px; margin-bottom: -12px; }
.ov-note.is-fold .ov-note-x { top: 50%; transform: translateY(-50%); }

/* ---------- D1 (18.11.2026): фильтр «по тренду старшего ТФ» — «Внутри дня» и «Тренд» ---------- */
.ov-htf { display: flex; flex-direction: column; gap: 4px; margin: 6px 0 4px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-size: 12px; line-height: 1.4; color: var(--text); }
.ov-htf-c { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
.ov-htf-l { font-weight: 600; font-size: 13px; cursor: help; }
.ov-htf-g { display: inline-flex; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.ov-htf-b { font: inherit; font-size: 12px; min-height: 30px; padding: 4px 10px; border: 0; border-left: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; white-space: nowrap; }
.ov-htf-b:first-child { border-left: 0; }
.ov-htf-b.is-on { background: rgba(59, 130, 246, .18); color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent, #3b82f6); }
.ov-htf-b:focus-visible { outline: 2px solid var(--accent, #3b82f6); outline-offset: -2px; }
.ov-htf-st { display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: baseline; color: var(--text-muted); }
.ov-htf-h { font-weight: 600; color: var(--text); }
.ov-htf-s b { font-weight: 600; color: var(--text); }
.ov-htf-s.is-w b { color: var(--green, #26a69a); }
.ov-htf-s.is-a b { color: var(--text-muted); }
.ov-htf-dot { color: var(--text-muted); }
.ov-htf-n { font-size: 11px; margin: 0 0 6px; }
/* метка у тикера: «D1↑» — зелёная по тренду, серая против */
.ov-htf-m { display: inline-block; margin-left: 5px; padding: 0 4px; border-radius: 4px; font-size: 10px; font-weight: 600; line-height: 16px; vertical-align: 1px; border: 1px solid var(--border); color: var(--text-muted); white-space: nowrap; }
.ov-htf-m.is-w { border-color: rgba(22, 163, 74, .5); color: var(--green, #26a69a); background: rgba(22, 163, 74, .1); }
.ov-htf-m.is-a { border-style: dashed; }
/* «против тренда — серым» */
tr.u1-r.is-htf-a > td, .u1-bc.is-htf-a, .tr-card.is-htf-a { opacity: .45; }
tr.u1-r.is-htf-a:hover > td, tr.u1-r.is-htf-a.is-sel > td, .u1-bc.is-htf-a:hover, .tr-card.is-htf-a:hover, .tr-card.is-htf-a:focus-within { opacity: .8; }
[data-theme="light"] .ov-htf { background: #f8faff; }
[data-theme="light"] .ov-htf-b.is-on { background: rgba(29, 78, 216, .1); box-shadow: inset 0 -2px 0 #1d4ed8; }
[data-theme="light"] .ov-htf-s.is-w b, [data-theme="light"] .ov-htf-m.is-w { color: #15803d; }
/* телефон и Telegram: переключатель на всю ширину, цель нажатия 40 px */
@media (max-width: 720px) {
    .ov-htf-g { display: flex; width: 100%; }
    .ov-htf-b { flex: 1 1 0; min-height: 40px; padding: 4px 6px; }
    .ov-htf-st { font-size: 11.5px; }
}
body.tg-app .ov-htf-g { display: flex; width: 100%; }
body.tg-app .ov-htf-b { flex: 1 1 0; min-height: 40px; }
/* D1: во «Внутри дня» — переключатель и статистика одной строкой, без рамки (ряд не сдвигает список) */
.ov-htf.is-row { margin: 2px 0; padding: 2px 0; border: 0; background: none; }
.ov-htf.is-row .ov-htf-c { gap: 4px 12px; }
.ov-htf.is-row .ov-htf-b { min-height: 26px; padding: 2px 9px; }
.ov-htf.is-row .ov-htf-st { flex-wrap: nowrap; white-space: nowrap; }
.ov-htf.is-row .ov-htf-s[title] { cursor: help; }
[data-theme="light"] .ov-htf.is-row { background: none; }
@media (max-width: 720px) {
    .ov-htf.is-row .ov-htf-b { min-height: 40px; }
    .ov-htf.is-row .ov-htf-st { flex-wrap: wrap; white-space: normal; }
}
body.tg-app .ov-htf.is-row .ov-htf-b { min-height: 40px; }
