/* Forex Analytics - стиль «торговий термінал» */
:root {
  color-scheme: dark;
  --bg: #0B0B0A;
  --bar: #0F0F0E;
  --panel: #111110;
  --panel-2: #161614;
  --panel-3: #1F1F1C;
  --inset: #0D0D0C;
  --line: #2C2B27;
  --line-2: #22211E;
  --line-3: #3A3934;
  --text: #EDEBE4;
  --text-2: #B3B0A5;
  --muted: #8C897E;
  --accent: #E9A23B;
  --accent-soft: rgba(233, 162, 59, .14);
  --steel: #8DB3E2;
  --pos: #7DD196;
  --neg: #F0806F;
  --pos-soft: rgba(125, 209, 150, .13);
  --neg-soft: rgba(240, 128, 111, .13);
  --warn: #E9A23B;
  --radius: 10px;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.45 var(--sans); }
body { min-height: 100vh; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--text); }
.num, td.num, .kpi .v, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.pos { color: var(--pos); }
.neg { color: var(--neg); }
.muted { color: var(--muted); }
.sec { color: var(--text-2); }
.lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- верхня панель ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px;
  padding: 12px 32px; background: #0F0F0E; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.brand i { width: 10px; height: 10px; background: var(--accent); display: inline-block; }
.tabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); }
.tabs button { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px; border: 0; border-radius: 6px; background: none; color: var(--text-2); }
.tabs button span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.tabs button:hover { color: var(--text); background: var(--panel-2); }
.tabs button.on { color: var(--text); background: var(--panel-3); box-shadow: inset 0 0 0 1px var(--line-3); font-weight: 500; }
.tabs button.on span { color: var(--accent); }
.top-right { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sync { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; background: none; border: 1px solid var(--line);
  border-radius: 999px; color: var(--text-2); font-family: var(--mono); font-size: 12px; }
.sync:hover { border-color: var(--line-3); color: var(--text); }
.sync b { color: var(--text); font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--muted); flex: none; }
.dot.ok { background: var(--pos); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--neg); } .dot.cot { background: var(--steel); }

/* ---------- кнопки, поля ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line);
  background: none; color: var(--text); border-radius: 8px; font-weight: 500; white-space: nowrap; }
.btn:hover { border-color: var(--line-3); background: var(--panel-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #0B0B0A; font-weight: 600; }
.btn.primary:hover { filter: brightness(1.08); background: var(--accent); }
.btn.light { background: var(--text); border-color: var(--text); color: #0B0B0A; font-weight: 600; }
.btn.light:hover { background: #fff; }
.btn.blue { background: var(--text); border-color: var(--text); color: #0B0B0A; font-weight: 600; }
.btn.ghost { border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { color: var(--text); background: var(--panel-2); }
.btn.danger { color: var(--neg); border-color: transparent; }
.btn.danger:hover { background: var(--neg-soft); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: default; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg);
  font-family: var(--mono); font-size: 12px; letter-spacing: .05em; }
.seg button { height: 34px; padding: 0 12px; border: 0; border-radius: 6px; background: none; color: var(--text-2); text-transform: uppercase; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--panel-3); box-shadow: inset 0 0 0 1px var(--line-3); color: var(--text); font-weight: 600; }
.sel { appearance: none; height: 42px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238C897E' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--line); border-radius: 9px; padding: 0 32px 0 12px; min-width: 120px; color: var(--text); }
.sel:hover { border-color: var(--line-3); }
.inp { height: 42px; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; color: var(--text); }
textarea.inp { height: auto; padding: 10px 12px; }
.inp:focus, .sel:focus, textarea:focus, .btn:focus-visible, .seg button:focus-visible, .tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.iconbtn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; background: none; color: var(--text-2); }
.iconbtn:hover { color: var(--text); border-color: var(--line-3); }
.grow { flex: 1; }

/* ---------- сторінка ---------- */
main { max-width: 1400px; margin: 0 auto; padding: 28px 32px 64px; }
.phead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.phead .t { display: flex; flex-direction: column; gap: 4px; }
.phead h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -.015em; }
.phead .sub { color: var(--text-2); }
.pctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pnav { display: inline-flex; align-items: center; gap: 6px; }
.pnav .lbl2 { min-width: 150px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.sect-title { display: flex; flex-direction: column; gap: 4px; margin: 18px 0 2px; max-width: 760px; }
.sect-title h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.sect-title .sub { color: var(--text-2); text-wrap: pretty; }

/* ---------- панелі ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.card.hl { border-color: var(--line-3); }
.card-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 22px; border-bottom: 1px solid var(--line-2); }
.card-h h3, .card-h h2 { margin: 0; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.card-h .hint { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.card-h .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.card-b { padding: 18px 22px; }
.card-f { padding: 12px 22px 16px; border-top: 1px solid var(--line-2); color: var(--text-2); font-size: 13px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; }
.grid-h { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr)); gap: 18px; }
@media (max-width: 1100px) { .grid2 { grid-template-columns: minmax(0, 1fr); } .kstrip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* показники: смуга з тонкими роздільниками */
.kstrip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kstrip .kpi, .kpis .kpi { background: var(--panel); padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.kpi .l { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.kpi .v { font-size: 21px; font-weight: 500; white-space: nowrap; }
.kpi .v.sm { font-size: 16px; }
.kpi .s { color: var(--text-2); font-size: 12px; }
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; align-items: center; }
.hero .big { font-family: var(--mono); font-size: 54px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.hero .meta b { color: var(--text); font-weight: 500; }

/* ---------- таблиці ---------- */
.tbl-wrap { overflow: auto; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.toolbar h2 { margin: 0; font-size: 15px; font-weight: 600; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; font-family: var(--mono); font-weight: 500; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 12px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; user-select: none; position: sticky; top: 0; background: var(--panel); }
table.t th.sortable { cursor: pointer; }
table.t th.sortable:hover { color: var(--text-2); }
table.t th .ar { opacity: .7; margin-left: 4px; }
table.t td { padding: 12px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr.row { cursor: pointer; }
table.t tr.row:hover td { background: var(--panel-2); }
table.t tr.row.sel td { background: var(--panel-3); }
table.t td.num, table.t th.num { text-align: right; }
.side { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--panel-3); color: var(--text-2); font-family: var(--mono); font-size: 12px; }
.tag { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); font-size: 12px; margin-right: 4px; }
.tag.neg { border-color: rgba(240,128,111,.4); color: #F4A497; }
.tag.pos { border-color: rgba(125,209,150,.4); color: #9EDDB2; }
.rtag { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--text); }
.rdot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.rdot.loss { border: 1.5px solid var(--neg); }
.rdot.win { background: var(--pos); }
.src { font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
.empty { padding: 56px 20px; text-align: center; color: var(--text-2); }
.empty h3 { color: var(--text); font-size: 18px; margin: 0 0 6px; }
.empty .acts { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.colmenu { position: absolute; right: 16px; top: 58px; z-index: 30; background: var(--panel-2); border: 1px solid var(--line-3);
  border-radius: 10px; padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; width: 340px; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.colmenu label { display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.colmenu label:hover { background: var(--panel-3); }

/* ---------- графіки ---------- */
.chart { position: relative; }
.chart svg { display: block; width: 100%; }
.chart .axis text { fill: var(--muted); font-size: 11px; font-family: var(--mono); }
.chart .grid line { stroke: var(--line-2); }
.chart .zero { stroke: var(--line-3); }
.chart .xh { stroke: var(--text-2); stroke-dasharray: 3 3; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* ---------- інсайти, розбивки ---------- */
.ins-list { list-style: none; margin: 0; padding: 0; }
.ins-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.ins-list li:last-child { border-bottom: 0; }
.ins-list .ic { font-family: var(--mono); font-weight: 600; }
.ins-list .d { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.bd { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.bd th { text-align: left; font-family: var(--mono); color: var(--muted); font-weight: 500; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.bd td { padding: 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.bd td:first-child { overflow: hidden; text-overflow: ellipsis; padding-left: 0; }
.bd th:first-child { padding-left: 0; }
.bd td.num, .bd th.num { text-align: right; font-family: var(--mono); }
.bd tr:last-child td { border-bottom: 0; }
.bd tr:hover td { background: var(--panel-2); }
.bd td:last-child { padding-left: 12px; }
.sr-t col.c1 { width: 110px; } .sr-t col.c2 { width: 52px; } .sr-t col.c3 { width: 58px; }
.bd .rtag { height: auto; min-height: 26px; padding: 3px 10px; white-space: normal; line-height: 1.25; }
.dbar { position: relative; width: 64px; height: 8px; }
.dbar .mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--line-3); }
.dbar .b { position: absolute; top: 0; height: 8px; }
.dbar .b.p { left: calc(50% + 1px); background: var(--pos); border-radius: 0 3px 3px 0; }
.dbar .b.n { right: calc(50% + 1px); background: var(--neg); border-radius: 3px 0 0 3px; }

/* ---------- правила пропу ---------- */
.prop { display: flex; flex-direction: column; }
.meter { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.meter:last-child { border-bottom: 0; }
.meter .row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.meter .row .num b { font-weight: 500; }
.meter .track { height: 6px; background: var(--panel-3); border-radius: 3px; overflow: hidden; }
.meter .fill { height: 100%; background: var(--accent); }
.meter .fill.good { background: var(--pos); }
.meter .fill.warn { background: var(--warn); }
.meter .fill.bad { background: var(--neg); }
.meter .note { color: var(--muted); font-size: 12px; margin-top: 6px; }

/* ---------- календар ---------- */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal .wd { font-family: var(--mono); color: var(--muted); font-size: 11px; letter-spacing: .1em; text-align: center; padding-bottom: 4px; }
.cal .c { min-height: 70px; border-radius: 7px; padding: 7px 9px; background: var(--inset); border: 1px solid var(--line-2); font-size: 12px; }
.cal .c.out { opacity: .25; }
.cal .c .dn { font-family: var(--mono); color: var(--muted); }
.cal .c .pl { font-family: var(--mono); font-weight: 500; font-size: 14px; margin-top: 6px; }
.cal .c .n { color: var(--text-2); font-size: 11.5px; }

/* ---------- діагностика ---------- */
.rlist { padding: 4px 22px; }
.rrow { display: grid; grid-template-columns: 26px minmax(0, 1fr) 118px; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.rrow:last-child { border-bottom: 0; }
.rrow .rk { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.rrow .tt { font-weight: 600; }
.rrow .ds { font-size: 13px; color: var(--text-2); text-wrap: pretty; margin-top: 3px; }
.rrow .sh { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-family: var(--mono); }
.rrow .sh b { font-size: 15px; font-weight: 500; }
.rrow .sh i { width: 100%; height: 4px; border-radius: 2px; background: var(--panel-3); display: block; overflow: hidden; }
.rrow .sh i span { display: block; height: 4px; }
.rrow .sh small { font-size: 11px; color: var(--muted); white-space: nowrap; }
.concl { color: var(--text-2); font-size: 13px; text-wrap: pretty; }
.concl b { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--accent); font-weight: 500; margin-right: 6px; }
.dayline { position: relative; height: 156px; border: 1px solid var(--line-2); border-radius: 7px; overflow: hidden; background: var(--inset); }
.dayline .ses { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--line-2); }
.dayline .ses span { position: absolute; top: 8px; left: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--text-2); }
.dayline .mid { position: absolute; left: 0; right: 0; top: 96px; height: 1px; background: var(--line-3); }
.dayline .mk { position: absolute; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; cursor: pointer; }
.dayline .mk.w { background: var(--pos); }
.dayline .mk.l { border: 1.5px solid var(--neg); background: var(--inset); }
.hours { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 8px; }
.heat { display: grid; gap: 3px; font-family: var(--mono); font-size: 13px; }
.heat .h { padding: 6px 10px; font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.heat .r { padding: 6px 0; font-size: 12px; color: var(--text-2); display: flex; align-items: center; }
.heat .c { padding: 13px 10px; border-radius: 5px; }
.dnote { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }

/* ---------- картка угоди (панель справа) ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.62); display: flex; justify-content: flex-end; }
.modal { width: min(760px, 100vw); height: 100vh; overflow: auto; background: var(--panel); border-left: 1px solid var(--line-3); display: flex; flex-direction: column; box-shadow: -30px 0 60px rgba(0,0,0,.45); }
.modal-h { padding: 20px 26px 16px; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; }
.modal-h .top1 { display: flex; align-items: flex-start; gap: 12px; }
.modal-h h2 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.modal-h .when { font-family: var(--mono); font-size: 12px; color: var(--text-2); margin-top: 4px; }
.modal-h .res { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; font-family: var(--mono); }
.modal-h .res .rr { font-size: 34px; font-weight: 500; letter-spacing: -.02em; }
.modal-b { padding: 6px 26px 8px; display: flex; flex-direction: column; gap: 16px; }
.modal-f { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 14px 26px; border-top: 1px solid var(--line-2); background: var(--panel); margin-top: auto; }
.box { border: 1px solid var(--line-2); border-radius: 9px; }
.box-h { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.box-h h4 { margin: 0; font-size: 14px; font-weight: 600; }
.box-h .hint { margin-left: auto; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.box-b { padding: 14px 16px; }
.box.first { margin-top: 14px; }
.tchart { background: var(--inset); border-radius: 0 0 9px 9px; }
.tchart svg { display: block; width: 100%; height: auto; font-family: var(--mono); }
.dg-main { font-size: 16px; font-weight: 600; }
.dg-item { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.dg-item:last-child { border-bottom: 0; }
.dg-item .rdot { margin-top: 6px; }
.dg-item .d { color: var(--text-2); font-size: 13px; margin-top: 2px; text-wrap: pretty; }
.dg-item .man { font-family: var(--mono); font-size: 10.5px; color: var(--accent); margin-left: 6px; letter-spacing: .06em; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 10px 24px; }
.fld { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 42px; }
.fld > label, .fld > .fl { color: var(--text-2); font-size: 13px; }
.fld .inp, .fld .sel { width: 100%; min-width: 0; }
.fld .ro { font-family: var(--mono); font-size: 13px; }
.fld.full { grid-column: 1 / -1; }
textarea.inp { width: 100%; min-height: 84px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 32px; border: 1px solid var(--line); background: none; color: var(--text-2); border-radius: 6px; padding: 0 10px; font-size: 13px; }
.chip:hover { color: var(--text); border-color: var(--line-3); }
.chip.on { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.chip.on.neg { border-color: var(--neg); background: var(--neg-soft); }
.chip.on.pos { border-color: var(--pos); background: var(--pos-soft); }
.result { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.result .kpi { padding: 10px 14px; background: var(--panel); }
.result .kpi .v { font-size: 17px; }
.shots { display: flex; flex-wrap: wrap; gap: 10px; }
.shot { position: relative; width: 150px; height: 96px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.shot img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.shot .x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 6px; border: 0; background: rgba(0,0,0,.75); color: #fff; }
.drop { display: grid; place-items: center; width: 150px; height: 96px; border: 1px dashed var(--line-3); border-radius: 8px; color: var(--muted); font-size: 12.5px; text-align: center; cursor: pointer; padding: 6px; }
.drop:hover { border-color: var(--accent); color: var(--text-2); }
.mt5box { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; font-size: 13px; }
.mt5box > div { background: var(--panel); padding: 10px 14px; }
.mt5box .l { font-family: var(--mono); color: var(--muted); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.msec h4 { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.9); display: grid; place-items: center; cursor: zoom-out; }
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 8px; }

/* ---------- налаштування ---------- */
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr)); gap: 18px; }
.set-grid .fld { grid-template-columns: 200px minmax(0, 1fr); }
.set-grid .card-b { display: grid; gap: 10px; align-content: start; }
.set-grid textarea.inp { min-height: 120px; }
.kv { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 12px; font-size: 13px; }
.kv .k { color: var(--muted); }
code.path { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); word-break: break-all; }
.phone-grid { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 20px; align-items: center; }
.phone-grid .qr { background: #fff; border-radius: 10px; padding: 8px; width: 196px; }
.phone-grid .qr svg { display: block; width: 100%; height: auto; }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text-2); }
.steps li::marker { font-family: var(--mono); color: var(--muted); }
.seg.addr { font-family: var(--sans); letter-spacing: 0; }
.seg.addr button { height: auto; padding: 7px 12px; text-transform: none; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; font-size: 13px; }
.seg.addr button span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); font-weight: 400; }
.linkrow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--inset); }
.linkrow code { flex: 1; min-width: 0; }
.warn-line { border: 1px solid rgba(233,162,59,.4); background: var(--accent-soft); border-radius: 9px; padding: 10px 12px; color: var(--text); font-size: 13px; }
.note { color: var(--muted); font-size: 12.5px; }

/* ---------- підказка, тост ---------- */
.tip { position: fixed; z-index: 120; pointer-events: none; background: rgba(24, 24, 22, .97); border: 1px solid var(--line-3);
  border-radius: 10px; padding: 10px 12px; font-size: 12.5px; box-shadow: 0 14px 34px rgba(0,0,0,.55); max-width: 320px; min-width: 190px;
  animation: tipIn .1s ease-out; }
@keyframes tipIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.tip b { font-weight: 600; }
.tip .tt-h { font-family: var(--mono); font-size: 11.5px; color: var(--text); padding-bottom: 7px; margin-bottom: 6px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tip .tt-r { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 2.5px 0; }
.tip .tt-r i { width: 8px; height: 8px; border-radius: 50%; }
.tip .tt-r i.no { background: none; }
.tip .tt-r span { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tip .tt-r b { font-family: var(--mono); font-weight: 500; text-align: right; white-space: nowrap; }
.tip .tt-f { margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--line-2); font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tip .tt-f.sig { color: #9085e9; }
.tip .tt-f.acc { color: var(--accent); }
.tip.touch { font-size: 13px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 90; background: var(--text); color: #0B0B0A;
  padding: 11px 16px; border-radius: 9px; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,.5); }

/* ---------- COT ---------- */
.cot-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin-bottom: 4px; }
.cot-head h2 { margin: 4px 0 4px; font-size: 28px; font-weight: 600; letter-spacing: -.015em; }
.cot-head h2::before { content: "04 — РИНОК · COT"; display: block; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.cot-st { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.cot-t td { padding-top: 10px; padding-bottom: 10px; }
.mname { font-weight: 600; }
.mtags { display: flex; gap: 4px; margin-top: 4px; }
.mt { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; }
.star { background: none; border: 0; font-size: 16px; color: #5A5850; width: 32px; height: 40px; line-height: 1; }
.star.on, .star:hover { color: var(--accent); }
.pbar { display: flex; align-items: center; gap: 10px; }
.pbar .tr { position: relative; width: 120px; height: 4px; border-radius: 2px; background: var(--panel-3); }
.pbar .fl { position: absolute; top: -3px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; box-shadow: 0 0 0 2px var(--panel); }
.pbar .num { min-width: 22px; text-align: right; font-weight: 500; }
.chipx { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid; white-space: nowrap; background: none; }
.chipx.violet { color: #C7B8F2; border-color: rgba(199,184,242,.45); }
.chipx.red { color: #F4A497; border-color: rgba(240,128,111,.5); }
.chipx.orange { color: #EDB565; border-color: rgba(233,162,59,.5); }
.chipx.yellow { color: #E9C46A; border-color: rgba(233,196,106,.45); }
.chipx.blue { color: #A8C6EC; border-color: rgba(141,179,226,.45); }
.chipx.teal { color: #8FD9B5; border-color: rgba(125,209,150,.45); }
.mk-head { margin-bottom: 16px; }
.mk-title { display: flex; align-items: center; gap: 10px; margin: 10px 0 6px; }
.mk-title h2 { margin: 0; font-size: 26px; letter-spacing: -.01em; }
.mk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--text-2); font-family: var(--mono); font-size: 12px; letter-spacing: .03em; }
.cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .cgrid { grid-template-columns: minmax(0, 1fr); } }
.dotc { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
ul.sum { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: s; }
ul.sum li { color: var(--text-2); display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px; counter-increment: s; }
ul.sum li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 2px; }
ul.sum b { color: var(--text); font-weight: 600; }
table.heat { font-size: 12.5px; }
table.heat th, table.heat td { padding: 6px 9px; }
table.heat th.gh { text-align: center; color: var(--text-2); border-left: 1px solid var(--line); }
table.heat th.sub { font-size: 10px; white-space: normal; min-width: 70px; line-height: 1.25; top: 33px; }
table.heat .stick { position: sticky; left: 0; background: var(--panel); z-index: 2; white-space: nowrap; font-family: var(--mono); }
table.heat thead .stick { z-index: 3; }
table.heat tr.stat td { color: var(--text-2); background: var(--panel-2); font-weight: 500; }
table.heat tr.stat .stick { background: var(--panel-2); }
table.heat .tri { font-size: 8px; margin-left: 3px; opacity: .7; }

.tabs b { font-weight: inherit; }
.tabs .ls { display: none; }
.mlist { display: none; }
.mrow { display: grid; gap: 4px; width: 100%; text-align: left; padding: 12px 16px; background: none; border: 0; border-bottom: 1px solid var(--line-2); color: var(--text); }
.mrow:last-child { border-bottom: 0; }
.mrow:active { background: var(--panel-2); }
.mrow .l1 { display: flex; align-items: center; gap: 10px; }
.mrow .l1 b { font-weight: 600; }
.mrow .l1 .r { margin-left: auto; font-size: 16px; font-weight: 500; }
.mrow .l2 { display: flex; justify-content: space-between; gap: 10px; color: var(--text-2); font-size: 12.5px; }
.mrow .l2 .mono { font-size: 12.5px; }
.mrow .l3 { margin-top: 4px; }

/* ---------- телефон ---------- */
@media (max-width: 700px) {
  .kstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top { padding: 10px 14px; flex-wrap: nowrap; gap: 10px; background: var(--bar); backdrop-filter: none; -webkit-backdrop-filter: none; }   /* інакше fixed-панель розділів прив'язується до шапки */
  .brand { font-size: 12px; letter-spacing: .12em; }
  .top-right { gap: 8px; flex-wrap: nowrap; }
  #cotPill { display: none; }
  .sync { height: 36px; padding: 0 11px; font-size: 11.5px; }
  .sync .lf { display: none; }
  #addTrade { width: 40px; padding: 0; gap: 0; }
  #addTrade .lf { display: none; }
  #addTrade svg { width: 16px; height: 16px; }
  /* розділи — панель знизу, під великий палець */
  .tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px;
    border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: #0F0F0E; }
  .tabs button { flex-direction: column; justify-content: center; gap: 3px; height: 50px; padding: 0 2px; font-size: 11px; line-height: 1.1; white-space: nowrap; overflow: hidden; }
  .tabs button span { font-size: 10px; }
  .tabs .lf { display: none; }
  .tabs .ls { display: inline; }
  main { padding: 18px 14px calc(92px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); max-width: calc(100vw - 28px); }
  .phead { margin-bottom: 14px; gap: 12px; }
  .phead h1, .cot-head h2 { font-size: 24px; }
  .pctl { width: 100%; }
  .pctl .seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .pctl .seg::-webkit-scrollbar { display: none; }
  .seg button { flex: none; }
  .pnav .lbl2 { min-width: 0; flex: 1; }
  .filters { gap: 8px; }
  .filters .sel { flex: 1 1 140px; min-width: 0; }
  .card-h { padding: 12px 16px; }
  .card-b { padding: 14px 16px; }
  .card-f { padding: 12px 16px 14px; }
  .hero { gap: 18px; }
  .hero .big { font-size: 40px; }
  .kstrip .kpi { padding: 13px 14px; }
  .kpi .v { font-size: 18px; white-space: normal; }
  .cal { gap: 3px; }
  .cal .wd { font-size: 10px; letter-spacing: .04em; }
  .cal .c { min-height: 50px; padding: 5px 4px; border-radius: 5px; }
  .cal .c .pl { font-size: 11px; margin-top: 4px; letter-spacing: -.03em; }
  .cal .c .n { display: none; }
  .tbl-wrap.jt { display: none; }
  .mlist { display: block; }
  #colBtn { display: none; }
  .toolbar { padding: 10px 16px; }
  .rlist { padding: 4px 16px; }
  .sr-t col.c1 { width: 84px; } .sr-t col.c2 { width: 38px; } .sr-t col.c3 { width: 46px; }
  .sr-t th:nth-child(5), .sr-t td:nth-child(5) { padding-left: 8px !important; }
  .rrow { grid-template-columns: 20px minmax(0, 1fr) 82px; gap: 10px; }
  .modal { width: 100vw; border-left: 0; height: 100dvh; }
  .modal-h { padding: 16px 16px 14px; }
  .modal-b { padding: 4px 16px 8px; }
  .modal-f { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .modal-h .res .rr { font-size: 30px; }
  .fld, .set-grid .fld { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv .k { margin-top: 8px; }
  .phone-grid { grid-template-columns: minmax(0, 1fr); }
  .phone-grid .qr { margin: 0 auto; }
  .shot, .drop { width: calc(50% - 5px); }
  .colmenu { width: calc(100vw - 28px); right: 0; }
}
.insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 18px; }

/* ---------- веб-версія: налаштування, доступ ---------- */
.howto { border-top: 1px solid var(--line-2); padding-top: 10px; }
.howto summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 2px 0; }
.howto summary::-webkit-details-marker { display: none; }
.howto summary::before { content: "▸"; color: var(--muted); font-size: 11px; transition: transform .15s; }
.howto[open] summary::before { transform: rotate(90deg); }
.howto .steps { margin-top: 10px; gap: 12px; }
.howto .steps b { color: var(--text); font-weight: 500; }
.sess { display: grid; border: 1px solid var(--line-2); border-radius: 9px; background: var(--inset); }
.srow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line-2); }
.srow:last-child { border-bottom: 0; }
.srow b { font-weight: 500; }
.srow .tag { height: 20px; font-size: 11px; margin-left: 4px; }
.pwform { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pwform .inp { flex: 1 1 180px; min-width: 0; }
.savebar { margin-top: 16px; display: flex; gap: 10px; }
.drop.busy { opacity: .55; pointer-events: none; }
.drop.busy::after { content: "завантажую…"; position: absolute; }
.fsel { display: contents; }
.fmore { display: none; }
.cot-m { display: none; }

/* ---------- телефон: веб-версія ---------- */
@media (max-width: 700px) {
  .top { padding-top: calc(10px + env(safe-area-inset-top)); }
  .modal-h { padding-top: calc(16px + env(safe-area-inset-top)); }
  /* фільтри: період зверху, решта за кнопкою «Фільтри» */
  .phead { flex-direction: column; align-items: stretch; }
  .pctl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .pctl > .seg { grid-column: 1 / -1; order: 1; width: 100%; }
  .pctl > .pnav { order: 2; display: flex; align-items: center; gap: 6px; min-width: 0; }
  .pctl > .fmore { order: 3; display: inline-flex; height: 40px; }
  .pctl > #fReason { order: 4; grid-column: 1 / -1; justify-self: start; }
  .pctl > .fsel { order: 5; grid-column: 1 / -1; display: none; }
  .pctl > .fsel.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pctl > .fsel .sel { width: 100%; min-width: 0; }
  .pctl > .fsel .sel:first-child { grid-column: 1 / -1; }
  .pctl > input, .pctl > .muted { order: 6; }
  .pctl > input[type=date] { min-width: 0; width: 100%; }
  .fmore.act { border-color: var(--accent); color: var(--accent); }
  .pnav .btn.ghost { padding: 0 8px; }
  /* COT: картки замість широкої таблиці */
  .cot-t { display: none; }
  .card .tbl-wrap:has(.cot-t) { display: none; }
  .cot-m { display: block; }
  .cot-msort { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
  .cot-msort .sel { flex: 1; min-width: 0; height: 36px; }
  .cm { display: grid; gap: 8px; padding: 10px 14px 12px 6px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
  .cm:last-child { border-bottom: 0; }
  .cm:active { background: var(--panel-2); }
  .cm .c1 { display: flex; align-items: center; gap: 4px; min-width: 0; }
  .cm .nm { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; }
  .cm .nm b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cm .c2 { display: grid; grid-template-columns: 1.1fr 1.4fr .7fr; gap: 10px; padding-left: 36px; align-items: end; }
  .cm .c2 > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .cm .c2 .l { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .cm .c2 .sm { font-size: 11px; }
  .cm .pbar { width: 100%; }
  #cotQ { width: 100% !important; }
  .cot-head .cot-st { font-size: 12px; }
  /* налаштування */
  .set-grid { gap: 12px; }
  .savebar { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 30; padding: 10px 0; background: linear-gradient(transparent, var(--bg) 35%); }
  .savebar .btn { width: 100%; height: 46px; }
  .linkrow { flex-wrap: wrap; }
  .linkrow code { flex-basis: 100%; word-break: break-all; }
  /* поля: 16px, щоб iPhone не збільшував сторінку при фокусі */
  .inp, .sel, textarea.inp { font-size: 16px; }
  .modal-f .btn { flex: 1; }
  .modal-f .grow { display: none; }
}
@media (max-width: 700px) {
  .filters .seg, .cot-head + .filters .seg, #cotCats, #mkTabs, #mkRange { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .filters .seg::-webkit-scrollbar { display: none; }
  .filters { flex-wrap: wrap; }
  .filters > .grow { display: none; }
  .filters > .sel { width: 100%; }
  .cm .c2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 52px; gap: 14px; }
  .cm .c2 > div:last-child { align-items: flex-end; }
}

/* ---------- графіки: перехрестя і підсвітка під курсором ---------- */
.chart .hit, .tchart .hit { cursor: crosshair; }
.chart .hit.clk, #eqhit { cursor: pointer; }
.chart .hband { fill: rgba(237, 235, 228, .05); }
.chart svg .bar { transition: opacity .12s; }
.chart svg.hl .bar:not(.on) { opacity: .35; }
.chart .xh { stroke: rgba(237, 235, 228, .5); }

/* ---------- клікабельне підсвічується під курсором ---------- */
.btn, .seg button, .tabs button, .chip, .sync, .iconbtn, .star, tr.row td, .mrow, .cm, .rrow, .cal .c, .dayline .mk, .shots img, .howto summary, .sel, .inp {
  transition: background-color .14s, border-color .14s, color .14s, box-shadow .14s, transform .14s, opacity .14s; }
.cal .c.clk, .rrow, .mrow, .cm { cursor: pointer; }
.btn:active, .seg button:active, .chip:active, .iconbtn:active { transform: translateY(1px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { border-color: rgba(233, 162, 59, .45); background: var(--panel-2); color: var(--text); }
  .btn.primary:hover { filter: brightness(1.08); box-shadow: 0 0 0 3px rgba(233, 162, 59, .2); }
  .btn.blue:hover, .btn.light:hover { background: #fff; box-shadow: 0 0 0 3px rgba(237, 235, 228, .14); }
  .btn.ghost:hover { border-color: transparent; background: var(--panel-3); }
  .btn.danger:hover { border-color: transparent; background: var(--neg-soft); }
  .seg button:hover:not(.on) { background: var(--panel-2); color: var(--text); }
  .tabs button:hover:not(.on) { background: var(--panel-2); color: var(--text); }
  .chip:hover { border-color: rgba(233, 162, 59, .45); color: var(--text); background: var(--panel-2); }
  .sync:hover { border-color: rgba(233, 162, 59, .45); color: var(--text); background: var(--panel-2); }
  .iconbtn:hover { border-color: rgba(233, 162, 59, .45); color: var(--text); background: var(--panel-2); }
  .star:hover { transform: scale(1.18); }
  .sel:hover, .inp:hover { border-color: var(--line-3); }
  /* рядки журналу і скринера: фон + смужка зліва */
  table.t tr.row:hover td { background: var(--panel-2); }
  table.t tr.row:hover td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
  .mrow:hover, .cm:hover { background: var(--panel-2); box-shadow: inset 2px 0 0 var(--accent); }
  /* причини стопів/тейків */
  .rrow { position: relative; margin: 0 -22px; padding-left: 22px; padding-right: 22px; }
  .rrow:hover { background: var(--panel-2); box-shadow: inset 2px 0 0 var(--accent); }
  .rrow:hover .tt { color: var(--accent); }
  .rrow:hover .tt::after { content: " →"; }
  /* календар: дні з угодами */
  .cal .c.clk:hover { border-color: rgba(233, 162, 59, .6); box-shadow: 0 0 0 1px rgba(233, 162, 59, .35); filter: brightness(1.15); }
  .dayline .mk:hover { transform: scale(1.6); box-shadow: 0 0 0 3px rgba(237, 235, 228, .18); z-index: 2; }
  .shots img:hover { box-shadow: 0 0 0 2px var(--accent); cursor: zoom-in; }
  .howto summary:hover, details summary.lbl:hover { color: var(--text); }
  .heat .c[data-tt]:hover { box-shadow: inset 0 0 0 1px var(--line-3); }
  .prop .meter[data-tt]:hover .track { filter: brightness(1.25); }
  .legend span[title]:not([title=""]) { cursor: help; }
  a:hover { color: var(--accent); }
}
.heat .c[data-tt] { cursor: default; }
/* телефон: відгук на дотик */
@media (hover: none) {
  .mrow:active, .cm:active, .rrow:active, .cal .c.clk:active { background: var(--panel-2); }
  .btn:active { filter: brightness(1.12); }
}

