/* 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); }
.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%; }

/* 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; }
.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) */
.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; }
