/* roadmap «Інтерфейс і зручність» (owner 22.10.2026): hotkeys, saved filters, bulk actions, pulse, PWA */
/* hotkeys */
#content tr.hk-sel > td { background: color-mix(in oklab, var(--accent, #8b7cff) 12%, transparent); }
#content tr.hk-sel > td:first-child { box-shadow: inset 3px 0 0 var(--accent, #8b7cff); }
#content .qcard.hk-sel, #content .problem.hk-sel { outline: 2px solid var(--accent, #8b7cff); outline-offset: 2px; }
dialog.hk-help { width: min(460px, calc(100% - 28px)); padding: 0; }
.hk-help .hk-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.hk-help h2 { margin: 0; font-size: 18px; }
.hk-help dl { margin: 0; padding: 14px 22px 20px; display: grid; gap: 8px; }
.hk-help dl > div { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.hk-help dt { white-space: nowrap; } .hk-help dd { margin: 0; color: var(--muted); text-align: right; }
.hk-help kbd { font-family: var(--mono); font-size: 11px; padding: 3px 7px; border-radius: 6px; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line-2); }
/* saved filters */
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0 18px 14px; }
.presets-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.preset { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--glass-2); overflow: hidden; }
.preset button { border: 0; background: none; color: inherit; font: inherit; font-size: 12.5px; padding: 6px 10px; cursor: pointer; min-height: 0; }
.preset .preset-x { padding: 6px 9px 6px 2px; opacity: .55; } .preset .preset-x:hover { opacity: 1; }
.preset.on { box-shadow: inset 0 0 0 1px var(--accent, #8b7cff); background: color-mix(in oklab, var(--accent, #8b7cff) 14%, transparent); }
.preset-add { border: 1px dashed var(--line-2); background: none; color: var(--muted); border-radius: 999px; font-size: 12.5px; padding: 5px 11px; cursor: pointer; min-height: 0; }
.preset-add:hover { color: var(--text); border-color: var(--accent, #8b7cff); }
/* bulk actions */
.bulk-th, .bulk-td { width: 34px; padding-right: 0 !important; }
.bulk-td input, .bulk-th input { width: 17px; height: 17px; accent-color: var(--accent, #8b7cff); cursor: pointer; }
#content tr.bulk-on > td { background: color-mix(in oklab, var(--accent, #8b7cff) 8%, transparent); }
/* receipts queue: tick several or all (owner 09.11.2026) */
.rcpickcell { width: 34px; padding-right: 0 !important; cursor: pointer; }
.rcpickcell input, .rcpick-all { width: 17px; height: 17px; accent-color: var(--accent, #8b7cff); cursor: pointer; }
#content tr.rcrow.picked > td { background: color-mix(in oklab, var(--accent, #8b7cff) 8%, transparent); }
.bulkbar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  padding: 10px 14px; border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--line-2); background: var(--glass-strong); max-width: calc(100vw - 24px); }
.bulkbar b { margin-right: 6px; }
/* pulse */
.pulsepage { display: grid; gap: 18px; }
.pulse-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.pulse-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok, #2fd6b5); box-shadow: 0 0 0 0 currentColor; animation: pulse-dot 1.8s infinite; }
.pulse-live i.warn { background: var(--warn, #f5b84b); }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--ok, #2fd6b5) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.pulse-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.pulse-grid.four { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.pulse-tile { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 16px 18px; border-radius: var(--r-lg, 16px); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); color: inherit; font: inherit; min-height: 0; cursor: default; }
button.pulse-tile { cursor: pointer; } button.pulse-tile:hover { box-shadow: inset 0 0 0 1px var(--accent, #8b7cff); }
.pulse-tile small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pulse-tile b { font-size: 26px; font-variant-numeric: tabular-nums; line-height: 1.15; } .pulse-tile b em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 500; }
.pulse-tile span { font-size: 12.5px; color: var(--muted); }
.pulse-tile.pos b { color: var(--ok, #2fd6b5); } .pulse-tile.info b { color: var(--accent, #8b7cff); } .pulse-tile.warn b { color: var(--warn, #f5b84b); } .pulse-tile.bad b { color: var(--bad, #ff6b6b); }
.pulse-chart header, .pulse-two header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 0; } .pulse-chart h3, .pulse-two h3 { margin: 0; font-size: 15px; }
.pulse-legend { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); } .pulse-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 2px; }
.pulse-legend i.ok, .pulse-spark rect.ok { background: var(--ok, #2fd6b5); fill: var(--ok, #2fd6b5); }
.pulse-legend i.bad, .pulse-spark rect.bad { background: var(--bad, #ff6b6b); fill: var(--bad, #ff6b6b); }
.pulse-legend i.created { background: var(--accent, #8b7cff); }
.pulse-spark { display: block; width: 100%; height: 140px; padding: 12px 18px 0; box-sizing: border-box; }
.pulse-spark polyline.created { fill: none; stroke: var(--accent, #8b7cff); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pulse-spark .axis { stroke: var(--line-2); vector-effect: non-scaling-stroke; }
.pulse-axis { display: flex; justify-content: space-between; padding: 4px 18px 14px; font-size: 11px; color: var(--muted); }
.pulse-h { margin: 6px 0 -6px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pulse-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.pulse-pl { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pulse-pl:last-child { border-bottom: 0; } .pulse-pl small { display: block; color: var(--muted); } .pulse-pl em { font-style: normal; } .pulse-pl em.warn { color: var(--warn, #f5b84b); } .pulse-pl em.bad { color: var(--bad, #ff6b6b); }
.pulse-pl .muted { grid-column: 2; text-align: right; font-size: 12px; }
/* PWA push toggle in the bell */
.alertopt.pwa-push { display: block; } .alertopt.pwa-push .setrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .bulkbar { bottom: 10px; padding: 8px 10px; } .pulse-tile b { font-size: 22px; } }

/* ── Onboarding checklist, registration-token terms, cascade of platforms (owner 22.10.2026) ── */
.onb{padding:18px 20px;display:grid;gap:14px}
.onb-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.onb-head h2{margin:0;font-size:17px}
.onb-meter,.onb-mini{display:flex;align-items:center;gap:10px;min-width:160px}
.onb-mini{min-width:120px}
.onb-meter b,.onb-mini b{font-variant-numeric:tabular-nums;font-size:13px}
.onb-bar{flex:1;height:6px;border-radius:99px;background:var(--line);overflow:hidden;min-width:80px}
.onb-fill{display:block;height:100%;width:var(--pct,0%);border-radius:inherit;background:linear-gradient(90deg,var(--accent),var(--accent-2));transition:width .6s var(--spring,ease)}
.onb-steps{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.onb-steps li{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:12px;padding:10px 4px;border-top:1px solid var(--line)}
.onb-steps li:first-child{border-top:0}
.onb-dot{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700;border:1.5px solid var(--line-2);color:var(--muted)}
.onb-steps li.done .onb-dot{background:var(--ok);border-color:var(--ok);color:#fff}
.onb-dot svg{width:15px;height:15px;fill:currentColor}
.onb-text{display:grid;gap:2px;min-width:0}
.onb-text b{font-size:14px}
.onb-text small{color:var(--muted);font-size:12px;line-height:1.35}
.onb-steps li.done .onb-text b{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--line-2)}
.onb-act{display:flex;gap:6px;justify-content:flex-end}
.presetbox{border:1px solid var(--line);border-radius:14px;padding:10px 12px 12px;margin:4px 0 0}
.presetbox legend{font-size:12px;color:var(--muted);padding:0 6px}
.presetbox[hidden]{display:none}
.cladder{list-style:none;margin:4px 0;padding:0;display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}
.cladder li{position:relative;display:grid;gap:2px;padding:10px 14px 10px 12px;border:1px solid var(--line);border-radius:12px;min-width:150px;background:var(--glass-2)}
.cladder li:not(:last-child)::after{content:'›';position:absolute;right:-8px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:16px}
.cladder .cl-step{font-size:11px;color:var(--accent);font-weight:700;font-variant-numeric:tabular-nums}
.cladder b{font-size:13px}.cladder small{font-size:11px;color:var(--muted)}
.okline{color:var(--ok)!important;font-size:11px}
.checklist{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.checklist li{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start;padding:10px 12px;border-radius:12px;border:1px solid var(--line)}
.checklist li svg{width:18px;height:18px;margin-top:1px}
.checklist li.ok svg{fill:var(--ok)}.checklist li.warn svg{fill:var(--warn)}.checklist li.bad svg{fill:var(--bad)}
.checklist li span{display:grid;gap:2px}.checklist li small{color:var(--muted);font-size:12px}
@media (max-width:760px){
  .onb{padding:14px}
  .onb-steps li{grid-template-columns:28px 1fr;row-gap:8px}
  .onb-act{grid-column:2;justify-content:flex-start}
  .cladder{flex-direction:column}.cladder li{min-width:0}.cladder li:not(:last-child)::after{content:'⌄';right:auto;left:50%;top:auto;bottom:-13px;transform:translateX(-50%)}
}
.cladder li.off{opacity:.55;border-style:dashed}
.setrow>button{flex-shrink:0}.setrow>span{min-width:0}

/* ── Traffic map (owner 23.10.2026) ── */
.trafficwrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.trafficmap{width:100%;min-width:720px;height:auto;display:block}
.tlink{fill:none;stroke-linecap:round;opacity:.34;transition:opacity .25s,stroke .25s}
.tlink.tr{stroke:var(--ok)}.tlink.pl{stroke:var(--accent)}
.trafficmap text{stroke:none;paint-order:normal;text-shadow:none}
.tlink.live{stroke-dasharray:10 6;animation:tflow 1.6s linear infinite}
@keyframes tflow{to{stroke-dashoffset:-32}}
.trafficmap.focus .tlink{opacity:.08}.trafficmap.focus .tlink.hot{opacity:.9}
.tnode rect{fill:var(--glass-strong,var(--glass));stroke:var(--line-2);stroke-width:1}
.tnode{cursor:default;outline:none}
.tnode.hot rect,.tnode:focus rect{stroke:var(--accent);stroke-width:1.6}
.tnode circle{fill:var(--muted)}.tnode.mer circle{fill:var(--info)}.tnode.pc circle{fill:var(--warn)}.tnode.tr circle{fill:var(--ok)}.tnode.pl circle{fill:var(--accent)}
.tnode .tname{fill:var(--text);font-size:14px;font-weight:700}
.tnode .ttag{fill:var(--muted);font-size:10.5px;letter-spacing:.04em;text-transform:uppercase}
.tnode .tsub{fill:var(--text-2,var(--muted));font-size:12px;font-variant-numeric:tabular-nums}
.tpool rect{fill:var(--warn);opacity:.18}.tpool text{fill:var(--warn);font-size:10.5px;font-weight:700}
.tlegend{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.tlegend .lg{display:inline-flex;align-items:center;gap:6px;font-size:12px}
.tlegend .lg::before{content:'';width:10px;height:10px;border-radius:50%;background:var(--muted)}
.tlegend .lg.mer::before{background:var(--info)}.tlegend .lg.pc::before{background:var(--warn)}.tlegend .lg.tr::before{background:var(--ok)}.tlegend .lg.pl::before{background:var(--accent)}
@media (prefers-reduced-motion:reduce){.tlink.live{animation:none}}
.tbars{display:grid;gap:12px}
.tbm{border:1px solid var(--line);border-radius:16px;padding:12px 12px 6px;border-left:3px solid var(--info)}
.tbm.pc{border-left-color:var(--warn)}
.tbm-head{display:grid;gap:2px;margin-bottom:8px}.tbm-head b{font-size:15px}.tbm-head small{color:var(--muted);font-size:12px}
.tbrow{display:grid;grid-template-columns:minmax(0,1fr) 1.2fr auto;gap:10px;align-items:center;padding:7px 0;border-top:1px solid var(--line)}
.tbname{display:grid;font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tbname small,.tbval small{color:var(--muted);font-size:11px}
.tbbar{height:8px;border-radius:99px;background:var(--line);overflow:hidden}
.tbbar i{display:block;height:100%;width:var(--pct,0%);border-radius:inherit;background:var(--ok)}
.tbrow.pl .tbbar i{background:var(--accent)}
.tbval{display:grid;text-align:right;font-size:12.5px;font-variant-numeric:tabular-nums}
.seeline{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:13px}
.seeline .lg{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:99px;border:1px solid var(--line)}
.seeline .lg::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--muted)}
.seeline .lg.tr::before{background:var(--ok)}.seeline .lg.pl::before{background:var(--accent)}

/* ── Requisites as a list, the view switch, the statistics period (owner 23.10.2026) ── */
.viewseg { align-self: center; }
.viewseg button { display: inline-flex; align-items: center; justify-content: center; padding: 7px 10px; }
.viewseg svg { width: 16px; height: 16px; }
.rqlist { list-style: none; margin: 0; padding: 6px 0; }
.rqlist .rq { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 18px; }
.rqlist .rq + .rq { border-top: 1px solid var(--line); }
.rqlist .rq.off { opacity: .62; }
.rq-ava { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font: 700 17px var(--display); color: #fff; background: linear-gradient(135deg, #3b82f6, #1e3a8a); }
.rq-ava.v1 { background: linear-gradient(135deg, #a78bfa, #5b21b6); } .rq-ava.v2 { background: linear-gradient(135deg, #34d399, #065f46); } .rq-ava.v3 { background: linear-gradient(135deg, #94a3b8, #334155); }
.rq-main { display: grid; gap: 3px; min-width: 0; }
.rq-main b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-main small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rqlist .bcact { display: flex; gap: 2px; }
.periodpanel { padding: 16px 18px; display: grid; gap: 12px; }
.periodhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.periodhead b { font: 600 16px var(--display); }
.periodhead span { color: var(--muted); font-size: 13px; }
.periodchips { margin: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; }
.periodform { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.periodform .pfield { display: grid; gap: 5px; flex: 1 1 140px; min-width: 0; }
.periodform .pfield span { font-size: 12px; color: var(--muted); font-weight: 600; }
.periodform input[type=date] { width: 100%; min-height: 44px; }
.periodform button { min-height: 44px; }
@media (max-width: 760px) {
  .periodpanel { padding: 14px; }
  .periodchips { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; overflow: visible !important; }
  .periodchips .chiptab { justify-content: center; padding: 0 4px !important; min-height: 38px !important; font-size: 13.5px !important; white-space: nowrap; }
  .periodform { display: grid; grid-template-columns: 1fr 1fr; }
  .periodform button { grid-column: 1 / -1; }
  .periodform input[type=date] { -webkit-appearance: none; appearance: none; text-align: left; }
  .rqlist .rq { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 12px 14px; gap: 12px; }
  .rqlist .rq .badge { display: none; }
  .rq-ava { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; }
}

/* the trader's limits per requisite (owner 23.10.2026) */
.uselist { list-style: none; margin: 0; padding: 4px 0; display: grid; }
.uselist li { padding: 14px 18px; display: grid; gap: 10px; }
.uselist li + li { border-top: 1px solid var(--line); }
.uselist li.off { opacity: .62; }
.ul-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ul-head > span { display: grid; gap: 2px; min-width: 0; }
.ul-head b { font-size: 14.5px; }
.ul-head small { color: var(--muted); font-size: 12.5px; }
.ul-meter { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; column-gap: 12px; row-gap: 4px; }
.ul-meter > span { font-size: 12.5px; color: var(--muted); font-weight: 600; grid-row: span 2; }
.ul-meter progress { width: 100%; }
.ul-meter small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.ul-note { margin: 0; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .uselist li { padding: 14px; } .ul-meter { grid-template-columns: 66px minmax(0, 1fr); } }
.ul-head .badge { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.ul-meter progress.s2-bar { width: 100% !important; max-width: none !important; height: 6px; margin: 0; }

/* ── iOS-like switch (owner 23.10.2026) ── */
input.switch { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 51px !important; min-width: 51px !important; height: 31px !important; min-height: 31px !important; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 16px !important;
  background: color-mix(in oklab, var(--text) 18%, transparent) !important; box-shadow: none !important; cursor: pointer; transition: background-color .22s ease; outline: none !important; }
input.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .28); transition: transform .26s cubic-bezier(.3, 1.4, .5, 1); }
input.switch:checked { background: var(--accent) !important; }
input.switch:checked::after { transform: translateX(20px); }
input.switch:focus-visible { box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 40%, transparent) !important; }
/* the bell's settings: grouped rows */
.nsgroup { border-radius: 14px; background: color-mix(in oklab, var(--text) 5%, transparent); overflow: hidden; margin-bottom: 4px; }
.nset { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 56px; cursor: pointer; }
.nsgroup > .nset + .nset, .nsgroup > .nset + #push-slot, .nsgroup > #push-slot > .nset { border-top: 1px solid var(--line); }
.nic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: color-mix(in oklab, var(--accent) 14%, transparent); color: var(--accent); }
.nic svg { width: 18px; height: 18px; stroke-width: 2; }
.ntx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ntx b { font-size: 15px; font-weight: 600; }
.ntx small { font-size: 12.5px; color: var(--muted); }
.nselect { width: auto !important; min-width: 0; max-width: 46%; min-height: 36px !important; height: 36px; padding: 0 30px 0 12px !important; border-radius: 10px !important; font-size: 14px; }
.nvol { cursor: default; }
.nvol input[type=range] { flex: 1; min-width: 0; accent-color: var(--accent); }
.npush .btn, .npush button { flex: none; }
.nfoot { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.nfoot button { min-height: 46px; white-space: nowrap; justify-content: center; }
/* requisite card sheet */
.rqsheet { display: grid; gap: 14px; }
.rqsheet .bcscene.mini { max-width: 360px; width: 100%; margin: 0 auto; }
.rqsheet .bcscene.mini .bankcard { cursor: default; }
.rqnum { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in oklab, var(--text) 5%, transparent); }
.rqnum .mono { font-size: 16px; letter-spacing: .03em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rqmeters { display: grid; gap: 12px; padding: 14px; border-radius: 14px; background: color-mix(in oklab, var(--text) 5%, transparent); }
.rqm { display: grid; gap: 6px; }
.rqm-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.rqm-top span { color: var(--muted); font-weight: 600; }
.rqm-top b { font-variant-numeric: tabular-nums; }
.rqm progress { width: 100% !important; max-width: none !important; height: 8px; }
.rqm small { font-size: 12px; color: var(--muted); }
.tem { display: none; }

/* the work switch on the computer (owner 23.10.2026): the same three views and «Історія» */
.segbar { display: flex; align-items: center; gap: 12px; padding: 14px 18px 0; }
.segbar .tabs.seg3 { flex: 1; margin: 0 !important; }
.segbar .tabs.seg3 .tab em { font-style: normal; margin-left: 6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: color-mix(in oklab, var(--accent) 20%, transparent); color: var(--accent); }
.segbar .tabs.seg3 .tab.alarm em { background: var(--bad); color: #fff; }
.histbtn { display: inline-flex; align-items: center; gap: 7px; }
.histbtn svg { width: 16px; height: 16px; }
.histbtn.on { color: var(--accent); }
.histform { display: grid; gap: 16px; }
.histchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; }
.histchips .chiptab { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.histchips .chiptab input { position: absolute; opacity: 0; pointer-events: none; }
.histchips .chiptab svg { width: 16px; height: 16px; }
.histform .periodform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.histform .histactions { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 760px) { .histchips { display: grid !important; grid-template-columns: 1fr 1fr; } .histchips .chiptab { justify-content: center; min-height: 44px !important; } .histform .histactions > * { flex: 1; min-height: 50px; justify-content: center; border-radius: 14px; } }

.empty-ic { display: none; }
.histline { display: flex; align-items: center; gap: 8px; padding: 10px 18px 0; color: var(--accent); }
.histline > svg { width: 16px; height: 16px; }
.histline .histlink { background: none; box-shadow: none; padding: 0; color: var(--text); font-weight: 600; }
.segbar .tabs.seg3 .tab.active em { background: color-mix(in oklab, var(--on-accent) 22%, transparent); color: var(--on-accent); }

/* «Кошти отримано» shows on the computer too (owner 24.10.2026); on the phone it is the swipe */
.devactions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
/* the balance coin (owner 24.10.2026): the ticker instead of a currency sign */
.coin .face { align-content: center; gap: 2px; }
.coin .face b { font: 700 24px/1 var(--display); letter-spacing: .02em; }
.coin .face small { font: 600 10px/1 var(--font); letter-spacing: .14em; opacity: .7; }
.coin3d .face b { font-size: 19px; }
.histbtn.on { color: var(--accent) !important; border-color: color-mix(in oklab, var(--accent) 55%, transparent) !important; }
#content tr[data-row] { cursor: pointer; }
#content tr[data-row]:hover > td { background: color-mix(in oklab, var(--accent) 5%, transparent); }
.bankcard.masked .bc-num { letter-spacing: .08em; }
/* soft counters (owner 24.10.2026): the theme colour, no pulsing red */
.navcount.soft.on { background: color-mix(in oklab, var(--accent) 22%, transparent); color: var(--accent); animation: none; box-shadow: none; }
/* accent picker */
.setrow.wraprow { flex-wrap: wrap; gap: 10px; }
.accentpick { display: flex; flex-wrap: wrap; gap: 6px; }
.accentpick .acc { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid var(--line); background: transparent; color: var(--text-2); font-size: 12.5px; }
.accentpick .acc.on { border-color: var(--accent); color: var(--text); background: color-mix(in oklab, var(--accent) 12%, transparent); }
.accentpick .acc i { width: 12px; height: 12px; border-radius: 50%; background: conic-gradient(#5fe3c0, #ad94ff, #62bcff, #ffc15e, #5fe3c0); }
.accentpick .acc-trader i { background: #2fe6c8; } .accentpick .acc-admin i { background: #ad94ff; } .accentpick .acc-merchant i { background: #62bcff; } .accentpick .acc-partner i { background: #4fd6f0; } .accentpick .acc-support i { background: #ffc15e; }
.profilecols > .stack { align-content: start; }
.a-insurance_payin{--ac:var(--ok)}
/* squarer chips (owner 24.10.2026): statuses and the colour picker match the rest of the interface */
.badge { border-radius: 6px !important; }
.accentpick .acc { border-radius: 8px; }
/* the order sheet (owner 24.10.2026): amount → USDT on the left, the card on the right, the progress below */
.bigamount .bigto { display: inline-flex; align-items: baseline; gap: 8px; margin-left: 14px; font-size: .5em; color: var(--text-2); }
.bigamount .bigto i { font-style: normal; color: var(--muted); }
.bigamount .bigto small { font-size: .45em; }
html:not(.m) #modal .dialogbody:has(> .tradehead) { display: grid; grid-template-columns: minmax(0, 1fr) 330px; column-gap: 24px; row-gap: 14px; align-items: start; }
html:not(.m) #modal .dialogbody:has(> .tradehead) > * { grid-column: 1 / -1; }
html:not(.m) #modal .dialogbody:has(> .tradehead) > .tgrid { display: contents; }
html:not(.m) #modal .dialogbody:has(> .tradehead) > .tradehead { grid-column: 1; grid-row: 1; }
html:not(.m) #modal .dialogbody:has(> .tradehead) > .tgrid > .stack0 { grid-column: 1; grid-row: 2; }
html:not(.m) #modal .dialogbody:has(> .tradehead) > .tgrid > :not(.stack0) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
html:not(.m) #modal .dialogbody:has(> .tradehead) > .stepper { grid-column: 1 / -1; grid-row: 3; margin-top: 6px; }
html:not(.m) #modal .dialogbody:has(> .tradehead) > .utabs { overflow: visible; }   /* a scroll container in this grid gets a too-short row and overlaps the panel */
html.m .bigamount .bigto { display: flex; justify-content: center; margin: 4px 0 0; font-size: .48em; }
/* one sort field with up to two keys (owner 24.10.2026) */
.sortpick { display: flex; flex-direction: column; gap: 8px; grid-column: 1 / -1; }
.sortpick .splabel { font-size: 12px; font-weight: 600; color: var(--text-2); }
.sortpick .splabel small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.sortpick .spchips { display: flex; flex-wrap: wrap; gap: 8px; }
.spchip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); color: var(--text-2); font-size: 13px; }
.spchip.on { border-color: var(--accent); color: var(--text); background: color-mix(in oklab, var(--accent) 12%, transparent); }
.spchip em { font-style: normal; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font: 700 11px/1 var(--font); }
/* auto-take button next to «Історія»; bank checkboxes in its settings (owner 24.10.2026) */
.segbar .atbtn { margin-left: auto; }
.segbar .atbtn + .histbtn { margin-left: 8px; }
.atbtn.on { color: var(--ok) !important; border-color: color-mix(in oklab, var(--ok) 55%, transparent) !important; }
.bankpick { display: grid; gap: 10px; margin: 0; }
.bankpick .bp-head { display: flex; align-items: baseline; gap: 10px; }
.bankpick .bp-head b { font-size: 13px; }
.bankpick .bp-state { font-size: 12px; color: var(--text-2); flex: 1; }
.bankpick .bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.bankchk { position: relative; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 6px 30px 6px 8px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 13px; background: color-mix(in oklab, var(--text) 3%, transparent); transition: border-color .15s, background .15s, transform .1s; user-select: none; }
.bankchk:hover { border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); }
.bankchk:active { transform: scale(.98); }
.bankchk input { position: absolute; opacity: 0; pointer-events: none; }
.bankchk .bk-ico { width: 28px; height: 28px; border-radius: 8px; overflow: hidden; flex: none; display: grid; place-items: center; background: color-mix(in oklab, var(--text) 8%, transparent); font-weight: 700; font-size: 12px; }
.bankchk .bk-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bankchk .bk-name { line-height: 1.2; overflow: hidden; text-overflow: ellipsis; }
.bankchk .bk-tick { position: absolute; right: 8px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.bankchk .bk-tick svg { width: 12px; height: 12px; }
.bankchk:has(input:checked) { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 12%, transparent); }
.bankchk:has(input:checked) .bk-tick { opacity: 1; transform: none; }
.bankchk:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) { .bankpick .bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.themecard b { white-space: normal !important; }
.stepper.s3 { grid-template-columns: repeat(3, 1fr) !important; } .stepper.s3 .sline { left: 16.67%; right: 16.67%; }
.stepper.s4 { grid-template-columns: repeat(4, 1fr) !important; } .stepper.s4 .sline { left: 12.5%; right: 12.5%; }
/* owner 09.11.2026: the order's history on the stepper — when and who under each step, other events as marks on the line */
.stepper li .smeta { margin-top: -4px; font-size: 10.5px; font-weight: 400; color: var(--muted); letter-spacing: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stepper .smarks { background: none; z-index: 2; pointer-events: none; }
.stepper .sev { all: unset; position: absolute; left: var(--x); top: 50%; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: auto; cursor: help;
  background: var(--glass-strong, #111); box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent); transition: transform .15s; }
.stepper .sev::after { display: none !important; }
.stepper .sev:hover, .stepper .sev:focus-visible { transform: translate(-50%, -50%) scale(1.35); }
.stepper .sev.k-returned, .stepper .sev.k-recalculated, .stepper .sev.k-reassigned { box-shadow: inset 0 0 0 2px var(--warn), 0 0 0 3px color-mix(in oklab, var(--warn) 18%, transparent); }
.stepper .sev.k-disputed, .stepper .sev.k-appeal, .stepper .sev.k-cancelled, .stepper .sev.k-expired { box-shadow: inset 0 0 0 2px var(--bad), 0 0 0 3px color-mix(in oklab, var(--bad) 18%, transparent); }
.stepper .sev::before { content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 280px; padding: 7px 10px;
  border-radius: 10px; font: 500 12px/1.4 var(--font); text-align: left; white-space: normal; color: var(--text); background: var(--glass-strong, #111);
  border: 1px solid var(--line-2, var(--line)); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .12s; z-index: 5; }
.stepper .sev:hover::before, .stepper .sev:focus::before { opacity: 1; visibility: visible; }
/* the receipt zone is a button too: no sheen sweeping over the whole window (owner 09.11.2026) */
.rz button::after, .rz-drop::after { display: none !important; }

/* row actions sit on one line (owner 27.10.2026: «Завершити» with its icon stood higher than «Відмовитись») */
td.rowact { white-space: nowrap; }
td.rowact > button { vertical-align: middle; }
td.rowact > button + button { margin-left: 6px; }

/* the executor's taken pay-out: card and amount first, each with its own copy (owner 27.10.2026) */
.paycopy { display: grid; gap: 8px; margin: 14px 0 6px; }
.paycopy .pc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px;
  background: color-mix(in oklab, var(--accent) 8%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 22%, transparent); }
.paycopy .pc-row > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.paycopy small { color: var(--muted, #8a94a6); font-size: 12px; }
.paycopy b { font-size: 20px; font-weight: 700; letter-spacing: .02em; overflow-wrap: anywhere; }
.paycopy b em { font-style: normal; font-size: 13px; font-weight: 500; opacity: .7; }
.paycopy .pc-row > button { flex: none; }

/* ── the user card (owner 27.10.2026) ── */
dialog.ucard { width: min(760px, calc(100% - 28px)); }
.uhero { display: flex; align-items: center; gap: 14px; padding: 2px 0 14px; }
.uava { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-weight: 700; font-size: 18px; letter-spacing: .02em;
  color: var(--accent); background: color-mix(in oklab, var(--accent) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 28%, transparent); }
.uwho { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.ubadges { display: flex; flex-wrap: wrap; gap: 6px; }
.umeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--muted); font-size: 13px; }
.umeta b { color: var(--text); font-weight: 600; }
.umeta .icon.sm { width: 26px; height: 26px; min-height: 26px; padding: 0; }
.umeta .icon.sm svg { width: 14px; height: 14px; }
.ulead { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.utabs { flex: none; display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--field); border: 1px solid var(--line); margin: 2px 0 16px; overflow-x: auto; scrollbar-width: none; }
.utabs::-webkit-scrollbar { display: none; }
.utabs button { transition: none !important; transform: none !important; flex: 1 0 auto; min-height: 34px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: none; }
.utabs button:hover { color: var(--text); }
.utabs button.on { background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--text); }
.upanel[hidden] { display: none !important; }
.upanel { animation: upanel-in .25s ease; }
@keyframes upanel-in { from { opacity: 0; transform: translateY(4px); } }
.utiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.utiles > div { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: color-mix(in oklab, var(--text) 3%, transparent); display: flex; flex-direction: column; gap: 4px; }
.utiles small { color: var(--muted); font-size: 12px; }
.utiles b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.utiles b em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 5px; }
.uline-act { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; }
.uchips { display: flex; flex-wrap: wrap; gap: 8px; }
.uchip { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.uchip b { color: var(--text); font-size: 15px; font-variant-numeric: tabular-nums; }
.uchip.s-active b, .uchip.s-paid b, .uchip.s-review b { color: var(--accent); }
.uchip.s-disputed b { color: var(--bad); }
.uchip.s-completed b { color: var(--ok); }
.slist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.srow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 11px 14px; min-height: 52px; }
.srow + .srow { border-top: 1px solid var(--line); }
.srow-l { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: 14px; }
.srow-l small { font-size: 12px; opacity: .8; }
.srow-v { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.srow-v .mono { font-size: 12px; font-weight: 500; }
.srow-a { display: flex; justify-content: flex-end; min-width: 0; }
.srow-a > button:not(.icon), .uline-act > button { min-height: 32px; padding: 0 12px; border-radius: 10px; }
.srow-a .icon.sm { width: 30px; height: 30px; min-height: 30px; padding: 0; }
.ufeed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ufeed li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ufeed li:last-child { border-bottom: 0; }
.ufeed li > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ufeed .ulbl { color: var(--text); }
.ufeed .ulbl i { font-style: normal; color: var(--text-2, var(--muted)); }
.ufeed .fdot { margin-top: 6px; flex: none; }
.ufeed small { color: var(--muted); font-size: 12px; }
[data-umatch]:not(:empty) { margin-top: 16px; }
@media (max-width: 560px) {
  .uhero { flex-wrap: wrap; }
  .ulead { width: 100%; justify-content: stretch; } .ulead > * { flex: 1; }
  .srow { grid-template-columns: minmax(0, 1fr) auto; }
  .srow-v { grid-column: 1; text-align: left; }
  .srow-a { grid-column: 2; grid-row: 1 / span 2; }
}

/* order card for staff, «Ще дії» (owner 27.10.2026) */
dialog.tcard { width: min(820px, calc(100% - 28px)); }
.tcard .tl-title { margin: 18px 0 8px; }
.tcard .tl-title:first-child { margin-top: 4px; }
.tcard .utabs { margin-top: 14px; }
.moremenu { position: relative; }
.moremenu > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); cursor: pointer; font-weight: 600; user-select: none; }
.moremenu > summary::-webkit-details-marker { display: none; }
.moremenu > summary svg { width: 18px; height: 18px; stroke-width: 3; stroke-linecap: round; }
.moremenu[open] > summary { background: color-mix(in oklab, var(--accent) 12%, transparent); }
.mm-pop { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 20; min-width: 280px; max-height: 60vh; overflow: auto; padding: 8px; border-radius: 16px;
  background: var(--panel-solid, #0d1715); border: 1px solid var(--line-2); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); display: flex; flex-direction: column; gap: 8px; }
html[data-scheme=light] .mm-pop { background: #fff; }
/* owner 15.11.2026: the open menu lies above the stepper and the card (their positioned parts painted over it) */
.toolbar:has(.moremenu[open]), .dialog-actions:has(.moremenu[open]) { position: relative; z-index: 40; }
.moremenu[open] { z-index: 41; }
.mm-group { display: flex; flex-direction: column; gap: 4px; }
.mm-group small { padding: 4px 8px 2px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.mm-group > button { justify-content: flex-start; width: 100%; min-height: 38px; border-radius: 10px; }
.srow-v small { font-weight: 500; }

/* money dialogs (owner 27.10.2026) */
.choice2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice2 .ch { position: relative; display: block; cursor: pointer; }
.choice2 .ch input { position: absolute; opacity: 0; pointer-events: none; }
.choice2 .ch > span { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); transition: border-color .15s, background-color .15s; }
.choice2 .ch b { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.choice2 .ch b svg { width: 16px; height: 16px; }
.choice2 .ch small { color: var(--muted); font-size: 12px; }
.choice2 .ch.ok input:checked + span { border-color: var(--ok); background: color-mix(in oklab, var(--ok) 12%, transparent); }
.choice2 .ch.bad input:checked + span { border-color: var(--bad); background: color-mix(in oklab, var(--bad) 12%, transparent); }
.refrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.refrow > button { min-height: 44px; }
.paycopy b.addr { font-size: 14px; font-weight: 600; letter-spacing: 0; overflow-wrap: anywhere; white-space: normal; }
@media (max-width: 560px) { .choice2 { grid-template-columns: 1fr; } .refrow { grid-template-columns: 1fr; } }
.notice .nact { margin: 8px 0 6px; }
.notice .nblock { display: block; }

/* appeals and disputes (owner 27.10.2026) */
.ahero { display: flex; justify-content: space-between; align-items: flex-start; padding: 2px 0 6px; }
.ahero .bigamount { margin-top: 6px; }
.aquote { margin: 0; padding: 12px 16px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: color-mix(in oklab, var(--text) 4%, transparent); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.ucard .tl-title { margin: 18px 0 8px; }
.ucard .tl-title .count { margin-left: 4px; }

/* forms (owner 27.10.2026): on/off settings as rows with a switch, tabs like the cards */
#dialogform label.swrow { display: flex !important; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 14px; min-height: 52px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; grid-column: 1 / -1; font-weight: 500; }
#dialogform label.swrow .swtx { flex: 1; min-width: 0; line-height: 1.35; }
#dialogform label.swrow:has(input:checked) { border-color: color-mix(in oklab, var(--accent) 35%, transparent); }
#dialogform .form-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--field); border: 1px solid var(--line); margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
#dialogform .form-tabs button { flex: 1 0 auto; min-height: 34px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-size: 14px; font-weight: 600; box-shadow: none; transition: none !important; transform: none !important; }
#dialogform .form-tabs button.active { background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--text); }
#dialogform [data-form-panel][hidden] { display: none !important; }
#dialogform .formgrid > b.full { grid-column: 1 / -1; margin-top: 6px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

/* the receipt is confirmed before it is sent (owner 27.10.2026) */
/* owner 09.11.2026: the receipt zone — drop, paste or choose; tiles; one quiet line about the AI check */
.rz { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 4px; }
.rz-drop { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 22px 16px; text-align: center; cursor: pointer;
  border: 1.5px dashed color-mix(in oklab, var(--accent) 45%, var(--line-2, transparent)); border-radius: 16px; background: color-mix(in oklab, var(--accent) 5%, transparent); transition: background .15s, border-color .15s, transform .15s; }
.rz-drop:hover, .rz-drop:focus-visible { background: color-mix(in oklab, var(--accent) 10%, transparent); border-color: var(--accent); }
.rz.over .rz-drop, .rz.over .rz-list { background: color-mix(in oklab, var(--accent) 14%, transparent); border-color: var(--accent); transform: scale(1.01); }
.rz-drop b { font-size: 15px; font-weight: 600; color: var(--text); }
.rz-drop small { font-size: 12.5px; color: var(--muted); }
.rz-drop .rz-meta { opacity: .75; font-size: 11.5px; }
.rz-ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 4px; border-radius: 12px; color: var(--accent); background: color-mix(in oklab, var(--accent) 14%, transparent); }
.rz-ic svg { width: 20px; height: 20px; }
.rz-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 8px; border-radius: 16px; border: 1.5px dashed transparent; transition: background .15s, border-color .15s; }
.rz-file { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px; border-radius: 12px; border: 1px solid var(--line-2, var(--line)); background: color-mix(in oklab, var(--text) 3%, transparent); }
.rz-file img, .rz-pdf { width: 44px; height: 44px; flex: none; border-radius: 8px; object-fit: cover; }
.rz-pdf { display: grid; place-items: center; font: 700 11px var(--font); letter-spacing: .04em; color: var(--bad); background: color-mix(in oklab, var(--bad) 12%, transparent); }
.rz-name { display: flex; flex-direction: column; min-width: 0; padding-right: 18px; }
.rz-name b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rz-name small { font-size: 11.5px; color: var(--muted); }
.rz-x { all: unset; position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; color: var(--muted); }
.rz-x:hover { color: var(--bad); background: color-mix(in oklab, var(--bad) 12%, transparent); }
.rz-x svg { width: 12px; height: 12px; }
.rz-more { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 62px; border-radius: 12px; border: 1.5px dashed var(--line-2, var(--line)); color: var(--muted); font-size: 13px; cursor: pointer; }
.rz-more:hover { color: var(--accent); border-color: var(--accent); }
.rz-more svg { width: 14px; height: 14px; }
.rz-ai { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.rz-ai svg { width: 15px; height: 15px; flex: none; color: var(--accent); }
/* owner 11.11.2026: the AI's preview of the chosen receipt — quiet: one line of chips when it matches (square like our badges),
   a small amber note only when something differs */
.rz-check { padding: 0 8px; }   /* in line with the file tiles */
.rzc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; line-height: 1.4; color: var(--muted); animation: rzc-in .25s ease-out; }
.rzc > svg, .rzc-h svg { width: 14px; height: 14px; flex: none; }
.rzc.wait > svg, .rzc.good > svg { color: var(--accent); }
.rzc.wait > svg { animation: rzc-pulse 1.1s ease-in-out infinite; }
.rzc.wait { gap: 8px; }
.rzc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rzc-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 6px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  color: color-mix(in oklab, var(--ok) 65%, var(--text)); background: color-mix(in oklab, var(--ok) 13%, transparent); }
.rzc-chip svg { width: 12px; height: 12px; }
.rzc-chip.na { padding-left: 8px; font-weight: 500; color: var(--muted); background: color-mix(in oklab, var(--text) 6%, transparent); }
.rzc.bad { flex-direction: column; align-items: flex-start; gap: 4px; padding: 9px 12px; border-radius: 10px; color: var(--text);
  background: color-mix(in oklab, var(--warn) 9%, transparent); border: 1px solid color-mix(in oklab, var(--warn) 28%, transparent); }
.rzc-h { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.rzc-h svg { color: var(--warn); }
.rzc-row { display: flex; gap: 8px; font-variant-numeric: tabular-nums; }
.rzc-row em { font-style: normal; font-weight: 600; min-width: 46px; color: color-mix(in oklab, var(--warn) 70%, var(--text)); }
.rzc.bad .rzc-chips { margin-top: 2px; }
@keyframes rzc-pulse { 50% { opacity: .35; transform: scale(.85); } }
@keyframes rzc-in { from { opacity: 0; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .rzc, .rzc.wait > svg { animation: none; } }
.rcpt-confirm { display: flex; flex-direction: column; gap: 12px; padding: 14px; margin: 12px 0 0; border-radius: 16px; border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent); background: color-mix(in oklab, var(--accent) 8%, transparent); }
.rcpt-confirm .rc-file { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rcpt-confirm .rc-file img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.rcpt-confirm .rc-ic { width: 64px; height: 64px; border-radius: 10px; display: grid; place-items: center; background: var(--field); flex: none; }
.rcpt-confirm .rc-file > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rcpt-confirm .rc-file b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcpt-confirm small { color: var(--muted); }
.rcpt-confirm .rc-act { display: flex; flex-wrap: wrap; gap: 8px; }
.rcpt-confirm .rc-act > [data-action=rc-send] { flex: 1 1 100%; }
.rcpt-confirm .rc-act > button:not([data-action=rc-send]) { flex: 1; }
/* PayChain auctions (owner 28.10.2026): «Взяти участь» and the countdown in the timer column / the phone card */
button.auction-in { opacity: 1 !important; cursor: default; }
.auction-timer { color: #d99a1e; }
.maucn { display: inline-flex; align-items: center; gap: 3px; color: #d99a1e; font-variant-numeric: tabular-nums; }
.maucn svg { width: 12px; height: 12px; }
/* receipt checker (owner 28.10.2026): «Платіж» / «Документ» blocks for the owner and admins */
.badge.rc-critical{--bc:var(--bad)}.badge.rc-mismatch{--bc:var(--warn)}.badge.rc-uncertain,.badge.rc-checking{--bc:var(--info)}.badge.rc-none,.badge.rc-reviewed{--bc:var(--ok)}
.rcblock{border:1px solid var(--line,rgba(127,127,127,.18));border-left:3px solid var(--rcc,var(--info));border-radius:12px;padding:12px 14px;margin:0 0 14px;background:var(--surface-2,rgba(127,127,127,.05))}
.rcblock.rc-critical{--rcc:var(--bad)}.rcblock.rc-mismatch{--rcc:var(--warn)}.rcblock.rc-none,.rcblock.rc-reviewed{--rcc:var(--ok)}
.rchead{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap}.rchead>span:last-child{flex:1 1 220px;min-width:0}
.rcblock h4,.rcdialog h4{margin:12px 0 4px;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;opacity:.7}
.rclines{margin:0;padding-left:18px;display:grid;gap:3px;font-size:.92em;overflow-wrap:anywhere}
.rcact{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.rctop{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap}.rctop .chiptabs{margin:0}
/* the trader's margin: general or his own (owner 28.10.2026) */
.mtag { font-style: normal; font-weight: 600; font-size: 11px; padding: 2px 7px; border-radius: 999px; margin-left: 2px; color: var(--muted); background: var(--line); vertical-align: 1px; }
.mtag.own { color: var(--accent); background: var(--accent-soft); }
/* several receipts at once (owner 29.10.2026) */
.rcpt-confirm .rc-list { display: flex; flex-direction: column; gap: 10px; max-height: 300px; overflow: auto; }
.rcpt-confirm.many .rc-file img, .rcpt-confirm.many .rc-ic { width: 48px; height: 48px; }
.rcpt-confirm .rc-head { margin: 0; color: var(--text-2); }
/* the executor next to the order number (owner 29.10.2026): the same shape as the order number chip, a bit larger */
.idline { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; max-width: 100%; }
.execchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; max-width: 230px; padding: 0 11px; border-radius: 8px; font: 600 12.5px/1 inherit; color: var(--text); background: var(--field); box-shadow: inset 0 0 0 1px var(--line-2); border: 0; min-height: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.execchip svg { width: 14px; height: 14px; flex: none; color: var(--accent); }
.execchip.pl svg { color: var(--accent-2, #8b7cf6); }
button.execchip { cursor: pointer; }
button.execchip:hover { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
/* Partner API documentation in the platform's cabinet (owner 29.10.2026) — the /docs/partner look, scoped */
.apidoc { padding: 8px 28px 28px; font-size: 15px; line-height: 1.6; color: var(--text); }
.apidoc section { padding: 26px 0 10px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.apidoc section:last-of-type { border-bottom: 0; }
.apidoc h1 { font-size: 30px; line-height: 1.15; margin: 0 0 10px; }
.apidoc h2 { font-size: 22px; margin: 0 0 10px; }
.apidoc .lead { font-size: 16.5px; color: var(--text-2); max-width: 760px; }
.apidoc .eyebrow { display: inline-block; margin-bottom: 8px; font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.apidoc :not(pre) > code { font-family: var(--mono); font-size: .86em; padding: .12em .4em; border-radius: 6px; background: var(--line); overflow-wrap: anywhere; }
.apidoc .endpoint { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 12px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); font-family: var(--mono); font-size: 13.5px; }
.apidoc .endpoint code { background: none; padding: 0; }
.apidoc .m { flex: none; min-width: 46px; padding: 2px 0; border-radius: 5px; font: 700 11px var(--mono); text-align: center; color: var(--accent); border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent); }
.apidoc .m.get { color: #7fb4ff; border-color: color-mix(in oklab, #7fb4ff 45%, transparent); }
.apidoc .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.apidoc .steps div { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--field); }
.apidoc .steps b { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 8px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 13px; }
.apidoc .steps strong { display: block; margin-bottom: 2px; }
.apidoc .steps p { margin: 0; font-size: 14px; color: var(--muted); }
.apidoc .note { margin: 14px 0; padding: 12px 16px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--field); }
.apidoc .note.warn { border-color: var(--warn, #f7c45c); }
.apidoc .note p { margin: 0; }
.apidoc .tbl { overflow-x: auto; margin: 12px 0 16px; border: 1px solid var(--line); border-radius: 12px; }
.apidoc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.apidoc th, .apidoc td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.apidoc tr:last-child td { border-bottom: 0; }
.apidoc th { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; background: var(--field); }
.apidoc td:first-child, .apidoc td code { white-space: nowrap; }
.apidoc .code { margin: 12px 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #06100f; color: #d9efe9; overflow: hidden; }
.apidoc .code .bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px 6px 12px; border-bottom: 1px solid rgba(150,255,232,.12); font-size: 12.5px; color: #8aa39c; }
.apidoc .code .bar .ttl { margin-right: auto; }
.apidoc .tab, .apidoc .copy { padding: 4px 10px; min-height: 0; border: 0; border-radius: 7px; background: transparent; box-shadow: none; color: #8aa39c; font: 600 12.5px inherit; cursor: pointer; }
.apidoc .tab[aria-selected=true] { background: rgba(47,230,200,.16); color: #2fe6c8; }
.apidoc .copy { margin-left: 6px; border: 1px solid rgba(150,255,232,.16); }
.apidoc pre { margin: 0; padding: 14px 16px; overflow: auto; font: 13px/1.55 var(--mono); tab-size: 2; }
.apidoc pre[hidden] { display: none; }
.apidoc .check { list-style: none; padding: 0; margin: 12px 0; }
.apidoc .check li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); }
.apidoc .check li:last-child { border-bottom: 0; }
.apidoc .check li::before { content: ''; position: absolute; left: 4px; top: 13px; width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid var(--accent); }
.apidoc .foot { display: flex; justify-content: space-between; margin-top: 30px; color: var(--muted); font-size: 13.5px; }
@media (max-width: 900px) { .apidoc { padding: 4px 14px 20px; } .apidoc .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .apidoc h1 { font-size: 25px; } }
@media (max-width: 520px) { .apidoc .steps { grid-template-columns: 1fr; } }
.apidoc .code .bar { flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; min-height: 0; height: auto; margin: 0; background: none; position: static; }
.apidoc .code .bar > * { width: auto; flex: none; display: inline-flex; align-items: center; margin-top: 0; margin-bottom: 0; }
.apidoc .code .bar .ttl { flex: 1 1 auto; font-family: inherit; }

/* ── one chip shape everywhere (owner 29.10.2026): status, role, 2FA, level, tag — the same rounded rectangle and height;
      the order number and its executor — the same height ── */
:root { --chip-r: 7px; }
.badge, .rolechip.sm, .pill, .lvl, .mtag { border-radius: var(--chip-r) !important; height: 24px; min-height: 24px; box-sizing: border-box; display: inline-flex; align-items: center; line-height: 1; vertical-align: middle; }
.mtag { padding: 0 8px; font-size: 11px; }
.idchip, .execchip { height: 28px !important; min-height: 28px !important; border-radius: var(--chip-r) !important; box-sizing: border-box; }
.idchip { font-size: 11.5px; }
.execchip { font-size: 12px; padding: 0 10px; }
html.m .rolechip.sm, html.m .pill { border-radius: var(--chip-r) !important; }
/* receipt check (owner 29.10.2026): a plain comparison, the site's own look */
.rcblock { border: 1px solid var(--line-2) !important; border-left-width: 1px !important; border-radius: 12px; padding: 14px 16px; margin: 0 0 14px; background: var(--field) !important; }
.rchead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rchead b { font-size: 13.5px; }
.rcfacts { display: grid; font-size: 13px; }
.rcf-h, .rcf { display: grid; grid-template-columns: 118px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); align-items: baseline; }
.rcf-h { border-top: 0; padding-top: 0; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.rcf > span:first-child { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.rcf > span { overflow-wrap: anywhere; }
.rcf.bad > span:last-child { color: var(--bad); font-weight: 600; }
.rcmark { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--muted); }
.rcmark.ok { background: var(--ok); } .rcmark.bad { background: var(--bad); } .rcmark.unknown { background: var(--warn, #f7c45c); }
.rcsum { margin: 0; font-size: 13px; }
.rcmore { margin-top: 10px; font-size: 12.5px; color: var(--text-2); }
.rcmore summary { cursor: pointer; color: var(--muted); font-weight: 600; font-size: 12px; list-style: none; }
.rcmore summary::-webkit-details-marker { display: none; }
.rcmore summary::before { content: '+ '; }
.rcmore[open] summary::before { content: '− '; }
.rcmore .rclines { margin-top: 6px; padding-left: 16px; }
.rcact { margin-top: 12px; }
@media (max-width: 600px) { .rcf-h { display: none; } .rcf { grid-template-columns: 1fr 1fr; } .rcf > span:first-child { grid-column: 1 / -1; } }
.rchead > .badge { flex: none !important; width: auto !important; }
/* «Пульс»: every tile reads the same, clickable or not (owner 29.10.2026) */
button.pulse-tile { text-align: left !important; align-items: flex-start !important; justify-content: flex-start !important; width: 100%; font: inherit; color: inherit; cursor: pointer; }
button.pulse-tile:hover { border-color: var(--accent) !important; }
.pulse-tile small, .pulse-tile b, .pulse-tile span { text-align: left; }
.pulse-tile > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.problem-hint { display: block; margin: 4px 0 2px; font-size: 13px; color: var(--text-2); line-height: 1.45; }
/* sidebar marks (owner 29.10.2026): where a person is needed — in the theme's colour, the urgent one only brighter */
.navcount, .navcount.crit { background: var(--accent) !important; color: var(--on-accent, #0b0b0b) !important; animation: none !important; }
.navcount.crit { box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 28%, transparent); }
.navcount.soft { background: color-mix(in oklab, var(--accent) 22%, transparent) !important; color: var(--accent) !important; }
.mbadge, .mbadge.soft { background: var(--accent) !important; color: var(--on-accent, #0b0b0b) !important; }
.bellcount, html.m .topbar .bell em.bellcount { background: var(--accent) !important; color: var(--on-accent, #0b0b0b) !important; }
/* a card of a bank abroad (owner 09.11.2026): a small muted globe by the bank's name, the word in the tooltip */
.fxmark { display: inline-flex; vertical-align: -2px; margin-left: 4px; color: var(--muted, #8a7661); opacity: .75; cursor: help; }
.fxmark svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* owner 09.11.2026: next step on top of the order card */
.nextstep { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent, #8b7cff) 35%, transparent); background: color-mix(in srgb, var(--accent, #8b7cff) 10%, transparent); font-size: 14px; line-height: 1.4; }
.nextstep > svg { flex: none; width: 18px; height: 18px; fill: var(--accent, #8b7cff); }
.nextstep > span { flex: 1; min-width: 0; }
.nextstep > button { flex: none; }
.nextstep.t-warn { border-color: color-mix(in srgb, var(--warn, #f5b84b) 45%, transparent); background: color-mix(in srgb, var(--warn, #f5b84b) 11%, transparent); } .nextstep.t-warn > svg { fill: var(--warn, #f5b84b); }
.nextstep.t-bad { border-color: color-mix(in srgb, var(--bad, #ff6b6b) 45%, transparent); background: color-mix(in srgb, var(--bad, #ff6b6b) 11%, transparent); } .nextstep.t-bad > svg { fill: var(--bad, #ff6b6b); }
@media (max-width: 560px) { .nextstep { flex-wrap: wrap; } .nextstep > button { width: 100%; } }
/* «Рух коштів» */
.moves { display: grid; gap: 2px; }
.moves .mv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 2px; border-bottom: 1px solid var(--line, rgba(255,255,255,.08)); }
.moves .mv:last-child { border-bottom: 0; }
.moves .mv small { display: block; color: var(--muted); font-size: 12px; }
.moves .mv .num { text-align: right; white-space: nowrap; }
.moves .mv.in .num b { color: var(--ok, #2fd6b5); } .moves .mv.out .num b { color: var(--text-2, inherit); }
/* «Кошти в роботі» breakdown */
.note.wby { display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: center; }
.note.wby i { font-style: normal; opacity: .5; }
.note.wby .wbit { appearance: none; background: none; border: 0; border-bottom: 1px dashed currentColor; border-radius: 0; box-shadow: none; padding: 0; margin: 0; min-height: 0; height: auto; font: inherit; color: inherit; cursor: pointer; position: relative; overflow: hidden; transform: none; }
.note.wby .wbit::before, .note.wby .wbit::after { content: none !important; display: none !important; }   /* r127 used all:unset — the global button sheen (::after) lost its anchor and lay over the next cards as a white band */
.note.wby .wbit:hover, .note.wby .wbit:focus-visible { color: var(--text, #fff); }
.note.wby .wbit.bad { color: var(--bad, #ff6b6b); }
/* debts */
.debtchip { display: inline-block; margin-top: 3px; padding: 1px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--bad, #ff6b6b); background: color-mix(in srgb, var(--bad, #ff6b6b) 13%, transparent); }
td.num.negative small { display: block; font-size: 11px; color: var(--bad, #ff6b6b); }
.card.debtcard .metric { color: var(--bad, #ff6b6b); }
/* PayChain timer in the problems centre */
.pdl { font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 3px 6px; border-radius: 6px; background: color-mix(in srgb, var(--warn, #f5b84b) 16%, transparent); color: var(--warn, #f5b84b); }
.pdl.hot { background: color-mix(in srgb, var(--bad, #ff6b6b) 18%, transparent); color: var(--bad, #ff6b6b); }
/* owner 09.11.2026: taking a PayChain order — instant feedback while PayChain answers */
button.taking { pointer-events: none; opacity: .85; }
button.taking .tk-dot { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: tkspin .7s linear infinite; }
@keyframes tkspin { to { transform: rotate(360deg); } }
button.taking:not(:has(.tk-dot)) { animation: tkpulse 1s ease-in-out infinite; }
@keyframes tkpulse { 50% { opacity: .5; } }
.row-taking { opacity: .6; transition: opacity .2s; }
/* owner 09.11.2026: a run-out timer and long merchant ids */
.timer.over { color: var(--bad, #c0392b); background: color-mix(in srgb, var(--bad, #c0392b) 12%, transparent); }
td small.extid { display: block; max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
td.num.negative, .num.negative, b.negative { color: var(--bad, #c0392b); }   /* system.css td.num painted debts black */
/* owner 09.11.2026: long filter forms fold — search and buttons stay, the rest behind «Фільтри» */
form.filters.fl-closed > label.fl-more { display: none; }
form.filters .fl-toggle { display: inline-flex; align-items: center; gap: 6px; align-self: end; }
form.filters .fl-toggle svg { width: 16px; height: 16px; }
form.filters .fl-toggle em { font-style: normal; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--accent); color: #fff; }
form.filters .fl-toggle[aria-expanded="true"] { background: color-mix(in srgb, var(--accent) 10%, transparent); }
/* ── owner 09.11.2026: «Карта трафіку» — merchant → executor → result streams ── */
.flowmap { --k-merchant: var(--info); --k-paychain: #d9a13b; --k-trader: var(--ok); --k-api: #c7643a; --k-nobody: color-mix(in srgb, var(--muted) 70%, transparent);
  --k-done: var(--ok); --k-live: var(--info); --k-pool: #d9a13b; --k-refused: #e07a3a; --k-nobody-o: var(--bad); }
.fm-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.fm-bar .fm-play { width: 36px; height: 36px; padding: 0; font-size: 12px; border-radius: 50%; }
.fm-bar .fm-range { flex: 1; min-width: 160px; accent-color: var(--accent); }
.fm-bar .fm-at { font-size: 12.5px; color: var(--muted); min-width: 110px; font-variant-numeric: tabular-nums; }
.fm-metric { display: inline-flex; padding: 3px; border-radius: 10px; background: color-mix(in srgb, var(--text) 6%, transparent); }
.fm-metric button { border: 0; background: none; padding: 5px 10px; border-radius: 8px; font: 600 12px var(--font); color: var(--muted); cursor: pointer; min-height: 0; box-shadow: none; }
.fm-metric button.on { background: var(--glass-strong, var(--panel, #fff)); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.fm-wrap { position: relative; overflow-x: auto; }
.fm-svg { display: block; width: 100% !important; height: auto !important; min-width: 860px; max-width: none; overflow: visible; }
.fm-svg, .fm-svg * { stroke: none; stroke-width: 0; }   /* icon rules elsewhere stroke every svg shape */
.fm-svg text { font-family: Onest, ui-sans-serif, system-ui, sans-serif !important; letter-spacing: 0; }
.fm-heads text { fill: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .09em !important; text-transform: uppercase; }
.fm-link { opacity: .34; transition: opacity .3s; }
.fm-c { fill: none; stroke: none; }
.fm-links.enter { animation: fmIn 1.2s cubic-bezier(.2,.75,.2,1) both; }
@keyframes fmIn { from { clip-path: inset(0 100% 0 0); opacity: .2; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.fm-dot { transition: opacity .3s; }
.fd-core { filter: brightness(1.25); }
.fs-merchant { stop-color: var(--k-merchant); } .fs-paychain { stop-color: var(--k-paychain); } .fs-trader { stop-color: var(--k-trader); } .fs-syncropay, .fs-apexpay, .fs-api { stop-color: var(--k-api); }
.fs-nobody { stop-color: var(--k-nobody); } .fs-done { stop-color: var(--k-done); } .fs-live { stop-color: var(--k-live); } .fs-pool { stop-color: var(--k-pool); } .fs-refused { stop-color: var(--k-refused); } .fs-nobody-o { stop-color: var(--k-nobody-o); }
.fm-node { cursor: default; outline: none; transition: opacity .3s; }
.fm-hit { fill: transparent; }
.fm-b { fill: var(--k-merchant); }
.fm-node.k-paychain .fm-b { fill: var(--k-paychain); } .fm-node.k-trader .fm-b { fill: var(--k-trader); } .fm-node.k-syncropay .fm-b, .fm-node.k-apexpay .fm-b, .fm-node.k-api .fm-b { fill: var(--k-api); }
.fm-node.k-nobody .fm-b { fill: var(--k-nobody); } .fm-node.k-done .fm-b { fill: var(--k-done); } .fm-node.k-live .fm-b { fill: var(--k-live); } .fm-node.k-pool .fm-b { fill: var(--k-pool); } .fm-node.k-refused .fm-b { fill: var(--k-refused); } .fm-node.k-nobody-o .fm-b { fill: var(--k-nobody-o); }
.fm-name { fill: var(--text); font-size: 13.5px; font-weight: 600; }
.fm-sub { fill: var(--muted); font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.fm-pct { font-size: 22px; font-weight: 700; fill: var(--text); font-variant-numeric: tabular-nums; }
.fm-node.k-done .fm-pct { fill: var(--k-done); } .fm-node.k-nobody-o .fm-pct { fill: var(--k-nobody-o); } .fm-node.k-refused .fm-pct { fill: var(--k-refused); } .fm-node.k-pool .fm-pct { fill: var(--k-pool); } .fm-node.k-live .fm-pct { fill: var(--k-live); }
.fm-svg .halo { paint-order: stroke; stroke: var(--bg) !important; stroke-width: 5px !important; stroke-linejoin: round; }
.fm-focus .fm-link { opacity: .06; } .fm-focus .fm-link.hot { opacity: .72; }
.fm-focus .fm-dot { opacity: .06 !important; } .fm-focus .fm-dot.hot { opacity: 1 !important; }
.fm-focus .fm-node { opacity: .3; } .fm-focus .fm-node.hot { opacity: 1; }
.fm-node:focus-visible .fm-b { stroke: var(--accent) !important; stroke-width: 2 !important; }
.fm-tip { position: absolute; z-index: 5; min-width: 200px; max-width: 260px; padding: 10px 12px; border-radius: 12px; background: var(--glass-strong, var(--panel, #fff)); border: 1px solid var(--line-2); box-shadow: 0 10px 30px rgba(0,0,0,.12); pointer-events: none; display: grid; gap: 2px; font-size: 12.5px; }
.fm-tip small { color: var(--muted); }
.fm-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.fm-legend .lg::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; background: var(--muted); }
.fm-legend .k-merchant::before { background: var(--info); } .fm-legend .k-trader::before, .fm-legend .k-done::before { background: var(--ok); } .fm-legend .k-api::before { background: var(--accent); } .fm-legend .k-refused::before { background: #e07a3a; } .fm-legend .k-nobody::before { background: var(--bad); }
.fm-lost { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-weight: 600; color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); }
.fm-lost svg { width: 14px; height: 14px; fill: currentColor; }
/* margin simulator */
.simgrid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 16px; align-items: start; }
.simgrid label { display: grid; gap: 6px; } .simgrid small { color: var(--muted); font-size: 12px; }
.simout { padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--text) 4%, transparent); display: grid; gap: 6px; }
.simrow { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; } .simrow b { font-variant-numeric: tabular-nums; }
.simrow.simtotal { font-size: 15px; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 600; } .simrow.simtotal.pos b { color: var(--ok); } .simrow.simtotal.neg b { color: var(--bad); }
@media (max-width: 860px) { .simgrid { grid-template-columns: 1fr; } }
/* funnel */
.funnel { display: grid; gap: 10px; }
.fn-step { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.fn-bar { grid-column: 1 / -1; height: 10px; border-radius: 6px; background: color-mix(in srgb, var(--text) 6%, transparent); overflow: hidden; }
.fn-bar i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, var(--ok))); }
.fn-text { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 13.5px; } .fn-text span { color: var(--muted); font-variant-numeric: tabular-nums; } .fn-text em { font-style: normal; color: var(--bad); font-weight: 600; font-size: 12.5px; }
.fn-pct { font-weight: 700; font-variant-numeric: tabular-nums; }
/* heat map week × hour */
.hm { display: grid; gap: 3px; overflow-x: auto; align-content: start; }
.hm-row { display: grid; grid-template-columns: 26px repeat(24, minmax(12px, 1fr)); gap: 3px; align-items: center; }
.hm-head span { font-size: 10px; color: var(--muted); text-align: left; }
.hm-day { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.hm-cell { aspect-ratio: 1; border-radius: 4px; background: color-mix(in srgb, color-mix(in srgb, var(--accent) calc((1 - var(--m)) * 100%), var(--bad)) calc(12% + var(--a) * 88%), transparent); }
.hm-cell.hm-none { background: color-mix(in srgb, var(--text) 4%, transparent); }
.hm-legend { display: flex; gap: 16px; margin-top: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.hm-sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; } .hm-sw.a { background: var(--accent); } .hm-sw.m { background: var(--bad); }
.rel { font-weight: 700; } .rel.ok { color: var(--ok); } .rel.mid { color: var(--warn); } .rel.bad { color: var(--bad); }
/* pulse: what we missed today */
.pulse-missed { width: 100%; margin-top: 12px; display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--bad) 30%, transparent); background: color-mix(in srgb, var(--bad) 7%, transparent); cursor: pointer; color: var(--text); box-shadow: none; min-height: 0; font: inherit; }
.pulse-missed .pm-ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--bad) 15%, transparent); color: var(--bad); font-size: 18px; }
.pulse-missed > span:nth-child(2) { display: grid; gap: 2px; flex: 1; } .pulse-missed small { color: var(--muted); }
.pulse-missed em { font-style: normal; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.digest-preview { white-space: pre-wrap; font: 13px/1.5 var(--font); padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--text) 4%, transparent); margin: 0; }
/* flow map on a phone */
.fm-compact { display: grid; gap: 14px; }
.fmc-seg { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: color-mix(in srgb, var(--text) 6%, transparent); }
.fmc-seg.thin { height: 8px; border-radius: 4px; }
.fmc-seg i { display: block; height: 100%; }
.fmc-seg i.k-done, .fmc-legend .k-done::before { background: var(--ok); } .fmc-seg i.k-live, .fmc-legend .k-live::before { background: var(--info); } .fmc-seg i.k-pool, .fmc-legend .k-pool::before { background: var(--warn); }
.fmc-seg i.k-refused, .fmc-legend .k-refused::before { background: #e07a3a; } .fmc-seg i.k-nobody-o, .fmc-legend .k-nobody-o::before { background: var(--bad); }
.fmc-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.fmc-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.fmc-legend b { color: var(--text); }
.fmc-row { display: grid; gap: 6px; } .fmc-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; } .fmc-head span { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .fm-bar .fm-range { flex: 1 1 120px; min-width: 120px; } .fm-bar .fm-at { min-width: 0; } }
/* ── owner 09.11.2026: traffic map, minimal — the ring of results and the list of executors ── */
.fm2 { --k-done: var(--ok); --k-live: var(--info); --k-pool: color-mix(in srgb, var(--warn) 85%, var(--muted)); --k-refused: #e07a3a; --k-nobody: var(--bad); }
.fm2-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.fm2-src { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.fm2-sl { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.fm2-sc i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--info); }
.fm2-sc.s1 i { background: color-mix(in srgb, var(--info) 55%, var(--muted)); } .fm2-sc.s2 i { background: var(--muted); } .fm2-sc b { color: var(--text); font-weight: 600; }
.fm2-ctl { display: flex; align-items: center; gap: 10px; }
.fm2-play { flex: none; width: 30px !important; min-width: 30px !important; height: 30px !important; min-height: 0 !important; padding: 0 !important; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--muted); font-size: 10px; cursor: pointer; box-shadow: none; }
.fm2-play:hover { color: var(--text); border-color: var(--text-2); }
.fm2-range { width: 140px; accent-color: var(--accent); }
.fm2-at { font-size: 12px; color: var(--muted); min-width: 92px; font-variant-numeric: tabular-nums; }
.fm2-body { display: grid; grid-template-columns: minmax(250px, 300px) 1fr; gap: 40px; align-items: start; }
.fm2-ringbox { display: grid; gap: 18px; justify-items: center; }
.fm2-ringwrap { position: relative; width: 230px; height: 230px; }
.fm2-ring { width: 100% !important; height: 100% !important; overflow: visible; }
.fm2-ring circle { fill: none !important; stroke-width: 20 !important; }
.fm2-track { stroke: color-mix(in srgb, var(--text) 6%, transparent) !important; }
.fm2-seg { stroke-linecap: butt; transition: opacity .25s, stroke-width .25s; cursor: pointer; outline: none; }
.fm2-seg.grow { animation: fm2grow 1s cubic-bezier(.2,.75,.2,1) both; }
@keyframes fm2grow { from { stroke-dasharray: 0 999; } }
.fm2-seg.k-done { stroke: var(--k-done) !important; } .fm2-seg.k-live { stroke: var(--k-live) !important; } .fm2-seg.k-pool { stroke: var(--k-pool) !important; } .fm2-seg.k-refused { stroke: var(--k-refused) !important; } .fm2-seg.k-nobody { stroke: var(--k-nobody) !important; }
.fm2-focus .fm2-seg { opacity: .25; } .fm2-focus .fm2-seg.hot { opacity: 1; stroke-width: 24 !important; }
.fm2-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; pointer-events: none; }
.fm2-center b { font: 700 25px/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fm2-center span { font-size: 13px; color: var(--text-2); } .fm2-center small { font-size: 12px; color: var(--muted); }
.fm2-center b.k-done { color: var(--k-done); } .fm2-center b.k-live { color: var(--k-live); } .fm2-center b.k-pool { color: var(--k-pool); } .fm2-center b.k-refused { color: var(--k-refused); } .fm2-center b.k-nobody { color: var(--k-nobody); }
.fm2-legend { display: grid; gap: 2px; width: 100%; }
.fm2-li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 10px; padding: 6px 8px; border: 0; border-radius: 8px; background: none; box-shadow: none; min-height: 0; color: var(--text-2); font: 500 13px var(--font); text-align: left; cursor: default; }
.fm2-li i { width: 10px; height: 10px; border-radius: 3px; }
.fm2-li b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.fm2-li.hot { background: color-mix(in srgb, var(--text) 5%, transparent); }
.fm2-li.k-done i { background: var(--k-done); } .fm2-li.k-live i { background: var(--k-live); } .fm2-li.k-pool i { background: var(--k-pool); } .fm2-li.k-refused i { background: var(--k-refused); } .fm2-li.k-nobody i { background: var(--k-nobody); }
.fm2-list { display: grid; gap: 4px; min-width: 0; }
.fm2-lh { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding: 0 0 8px; }
.fm2-row { display: grid; grid-template-columns: minmax(110px, 170px) 1fr 92px; align-items: center; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.fm2-name { display: grid; min-width: 0; } .fm2-name b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fm2-name small { font-size: 11.5px; color: var(--muted); }
.fm2-bar { height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--text) 5%, transparent); } .fm2-fill { height: 100%; min-width: 3px; display: flex; border-radius: 4px; overflow: hidden; transition: width .5s cubic-bezier(.2,.75,.2,1); }
.fm2-fill i { display: block; height: 100%; transition: width .5s; } .fm2-fill i.k-done { background: var(--k-done); } .fm2-fill i.k-live { background: var(--k-live); } .fm2-fill i.k-refused { background: var(--k-refused); } .fm2-fill i.k-nobody { background: var(--k-nobody); opacity: .85; }
.fm2-num { display: grid; justify-items: end; } .fm2-num b { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; } .fm2-num small { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fm2-row.nobody .fm2-name b { color: var(--k-nobody); }
@media (max-width: 860px) { .fm2-body { grid-template-columns: 1fr; gap: 24px; } .fm2-row { grid-template-columns: minmax(90px, 130px) 1fr 76px; gap: 10px; } .fm2-range { width: 100px; } }
/* the moving layer over the ring, and dots running along the executors' bars */
.fm2-sky { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; transform: translate(-50%, -50%); pointer-events: none; }
.fm2-center { z-index: 1; }
.fm2-fill i { position: relative; overflow: hidden; }
.fm2-fill i::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.85) 0 1.4px, transparent 2px); background-size: 26px 8px; background-repeat: repeat-x; background-position: 0 50%; animation: fm2run 2.4s linear infinite; opacity: .75; }
.fm2-fill i.k-nobody::after { animation-duration: 4s; opacity: .5; }
@keyframes fm2run { to { background-position: 26px 50%; } }
@media (prefers-reduced-motion: reduce) { .fm2-fill i::after { animation: none; display: none; } }
html.calm .fm2-fill i::after { display: none; }

/* owner 10.11.2026: the merchant's dispute on a closed pay-out */
.mdfiles{display:flex;flex-wrap:wrap;gap:8px}
.mdfile{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;border:1px solid var(--line);background:var(--field);color:inherit;text-decoration:none;font-size:13px}
.mdfile:hover{border-color:var(--accent)}
.mdfile svg{width:16px;height:16px;flex:none}
.mdfile small{display:block;opacity:.65;font-size:11px}
.mdfile.ours svg{color:var(--ok)}
.mdacts{display:flex;flex-wrap:wrap;gap:8px}
.mdstage{display:block;margin-top:3px;font-size:11px;opacity:.75;white-space:normal}
.mdwait{display:flex;gap:8px;align-items:center;margin:0}
.mdwait svg{width:15px;height:15px;flex:none;opacity:.7}
.mdkeep{border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:0 0 12px;display:grid;gap:6px}
.mdkeep legend{padding:0 6px;font-size:12px;opacity:.75}
.mdhead{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.mdhead p{margin:0;max-width:640px}
.mdpanel tr.mdrow-act td:first-child{box-shadow:inset 3px 0 0 var(--bad)}
.mmd{display:block;white-space:normal;font-size:11px;line-height:1.35;font-weight:600;color:var(--text-2);margin:2px 0}
.mmd.act{color:var(--bad)}
.mdpanel td.mdwhen{max-width:220px}
.mdpanel td.mdwhen .muted{display:block;line-height:1.4}
.mdpanel .extid{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* owner 10.11.2026: the merchant's dispute block — one look: what, how long, what to do */
.mdx{display:grid;gap:12px;margin:0 0 16px;padding:16px;border-radius:16px;border:1px solid var(--line-2);background:var(--glass)}
.mdx.act{border-color:color-mix(in srgb,var(--bad) 45%,transparent);background:color-mix(in srgb,var(--bad) 7%,var(--glass))}
.mdx header{display:flex;align-items:center;gap:12px}
.mdx-ic{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;flex:none;background:color-mix(in srgb,var(--warn) 18%,transparent);color:var(--warn)}
.mdx.act .mdx-ic{background:color-mix(in srgb,var(--bad) 16%,transparent);color:var(--bad)}
.mdx.done .mdx-ic{background:var(--field);color:var(--muted)}
.mdx-ic svg{width:18px;height:18px}
.mdx-t{flex:1;min-width:0;display:grid;gap:2px}
.mdx-t b{font-size:14px}
.mdx-t small{font-size:12px;color:var(--text-2)}
.mdx-timer{display:grid;justify-items:end;gap:2px}
.mdx-timer .timer{font-size:15px;font-variant-numeric:tabular-nums}
.mdx-timer small{font-size:10px;color:var(--muted)}
.mdx-say{margin:0;font-size:13px;line-height:1.55;color:var(--text-2)}
.mdx .slist{margin:0}
.mdx .mdacts .mag{flex:1 1 auto}
@media (max-width:760px){.mdx{padding:14px}.mdx .mdacts{display:grid;grid-template-columns:1fr}}

/* owner 15.11.2026: a choice of values inside a setting row stays one line (it stacked into a column) */
.setrow>.chiptabs{display:flex;flex-wrap:nowrap;flex:none;padding:0;margin:0}
/* owner 15.11.2026: the receipt check list and the action journal — one quiet toolbar line above the table, one-line rows */
.rcformwrap{padding-top:0}
.rcfilters{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:0}
.rcfilters label{flex:1 1 260px;max-width:440px}
.rcbar2{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 20px;border-bottom:1px solid var(--line,rgba(255,255,255,.07))}
.rcbar2 .rcsearch{position:relative;flex:1 1 280px;max-width:440px;margin:0}
.rcbar2 .rcsearch svg{position:absolute;left:11px;top:50%;width:16px;height:16px;translate:0 -50%;opacity:.55;pointer-events:none;fill:none;stroke:currentColor;stroke-width:2}
.rcbar2 .rcsearch input{width:100%;height:36px;padding-left:34px}
.rcbar2 select{height:36px;width:auto;min-width:170px;flex:0 0 auto}
.rcbar2>button:not(.btn),.rcbar2>button[type=submit]{height:36px}
.rcbar2-gap{flex:1}
.rcbar2 [data-action=rc-ack-many]:disabled{visibility:hidden}
.rcphead .rcbar2{padding:10px 0 0;border:0}
td.nowrap{white-space:nowrap}
.rcrow td.num small{display:inline;margin-left:3px}
.rcrow td{padding-top:9px;padding-bottom:9px}
.rcrow td.rcsumcell{font-size:12.5px;line-height:1.35}
/* owner 15.11.2026: the search box shows how to narrow a search while it is empty */
.pal-tip{margin:0;padding:8px 18px 10px;font-size:12px;color:var(--muted);line-height:1.8;border-bottom:1px solid var(--line,rgba(255,255,255,.07))}
.pal-tip code{font-family:var(--mono);font-size:11.5px;padding:1px 6px;border-radius:5px;background:color-mix(in oklab,var(--text,#fff) 7%,transparent);margin:0 2px}
#palette:has(#pal-q:not(:placeholder-shown)) .pal-tip{display:none}
/* owner 15.11.2026 (v3): the history of operations — one row per operation */
.hbar .hdate{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;color:var(--muted)}
.hbar .hdate input{height:36px;width:150px}
.hpanel table{table-layout:auto}
.hrow td{padding-top:10px;padding-bottom:10px;vertical-align:middle}
.hrow .hkind{display:block;font-weight:600}
.hrow .hnote2{display:block;color:var(--muted);font-size:12px;margin-top:3px;max-width:300px;white-space:normal}
.hrow .hwhat{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;max-width:380px}
.hrow .hwhat .idchip{padding:2px 7px;font-size:12px}
.hrow .hwhat small{color:var(--muted);font-size:12px}
.hrow .hwhat b{font-weight:600}
.hrow .htx{display:inline-flex;align-items:center;gap:2px}
.hrow .htx button,.hrow .htx .htxa{flex:none;display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;color:var(--muted);border-radius:6px}
.hrow .htx .htxa svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
.hrow .htx .htxa:hover{color:var(--text)}
.hrow .hamt{text-align:right}
.hrow .hamt .delta{display:block;font-size:14px;font-weight:700;background:none;padding:0}
.hrow .hamt .delta.positive{color:var(--ok)}.hrow .hamt .delta.negative{color:var(--bad)}
.hrow .hamt small{display:block;color:var(--muted);font-size:11.5px;margin-top:2px}
.hpanel thead th:nth-child(4),.hpanel thead th:nth-child(5){text-align:right}
.hrow td:last-child{text-align:right}
