/* Новая CRM: базовые правила. Manrope — утверждённый шрифт CRM. */
@font-face{font-family:"CRM Manrope";src:url("/fonts/Manrope.ttf") format("truetype");font-style:normal;font-weight:200 800;font-display:swap}
:root{
  --ink:#11151c;--ink-2:#1d232d;--ink-line:#2c3440;--ink-muted:#aeb6c0;--ink-tab:#c9cfd8;
  --yellow:#ffcc00;--yellow-soft:#fff4c2;--yellow-text:#6b5600;
  --red:#e5484d;--red-soft:#fde6e7;--red-text:#c4262e;
  --green:#18a058;--green-soft:#e3f6ea;--green-text:#12803f;
  --grey:#cfd5dc;--grey-soft:#eef0f4;--grey-text:#3d4450;
  --bg:#eef0f4;--card:#fff;--line:#edf0f3;--field:#dfe3e8;--muted:#5d6672;--faint:#7a828d;
  --shadow:0 6px 20px rgba(17,21,28,.06);--radius:18px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;overflow-x:clip}
body.v2{background:var(--bg);color:var(--ink);font-family:"CRM Manrope",Arial,sans-serif;font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased}
:where(body.v2) :where(button,input,select,textarea){font:inherit;color:inherit}
:where(body.v2) :where(a){color:inherit}
body.v2 :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid #5946be;outline-offset:2px}
:where(body.v2) :where(h1,h2,h3,h4,p){margin:0}
body.v2 dialog::backdrop{background:rgba(17,21,28,.55)}
.balance-negative{color:var(--red-text)!important}.balance-positive{color:var(--green-text)!important}.balance-neutral{color:var(--faint)!important}
/* Invisible scrollbars across the new version: scrolling still works with wheel, trackpad and touch */
html:has(body.v2),body.v2,body.v2 *{scrollbar-width:none}
html:has(body.v2)::-webkit-scrollbar,body.v2::-webkit-scrollbar,body.v2 *::-webkit-scrollbar{display:none;width:0;height:0}
