/* Голубь 5 — дизайн-система (design/DESIGN.md). Подключается последним и задаёт общий вид всем разделам.
   Нейтральные серые без оттенка, один акцент — системный синий; капсулы у контролов, рамки вместо теней. */
@font-face{font-family:"Medeo Sans";src:url(/fonts/medeo/MedeoSansVariable.woff2) format("woff2");font-weight:100 900;font-display:swap}@font-face{font-family:"Medeo Sans";src:url("/fonts/medeo/GolubSom.woff2?v=2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+20C0}
:root{
 --win:#ececee;--content:#ffffff;--fill:#f4f4f6;--fill-2:#e9e9ec;--sep:#e8e8eb;--border:#d8d8dc;
 --t1:#1d1d1f;--t2:#6e6e73;--t3:#a1a1a6;
 --accent:#007aff;--accent-t:#0068da;--accent-bg:rgba(0,122,255,.10);
 --green:#1f9d47;--yellow:#f5b800;--red:#d70015;
 --brand:#007aff;--brand-600:#0068da;--brand-700:#0058b8;--brand-50:#eaf3ff;--brand-100:#dbeaff;--brand-text:#0068da;
 --ink:#1d1d1f;--text:#1d1d1f;--muted:#6e6e73;--faint:#a1a1a6;--line:#e8e8eb;--line-2:#d8d8dc;
 --canvas:#ffffff;--surface:#ffffff;--side:#ececee;--side-2:#dcdce0;--side-text:#1d1d1f;
 --ok:#1f9d47;--ok-bg:rgba(52,199,89,.14);--warn:#b07d00;--warn-bg:rgba(255,204,0,.16);--bad:#d70015;--bad-bg:rgba(255,59,48,.10);
 --ring:0 0 0 1px var(--border);--soft:none;--shadow:none;
 --r-lg:14px;--r-md:12px;--r-sm:10px;--side-w:248px;--bar-h:64px;
 font-family:"Medeo Sans",system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:380;
}
html[data-theme=dark]{
 --win:#141414;--content:#1c1c1c;--fill:#262626;--fill-2:#2e2e2e;--sep:#2c2c2c;--border:#333333;
 --t1:#ececec;--t2:#9a9a9a;--t3:#6b6b6b;
 --accent:#0a84ff;--accent-t:#409cff;--accent-bg:rgba(10,132,255,.16);
 --green:#32d74b;--yellow:#ffd60a;--red:#ff6b61;
 --brand:#0a84ff;--brand-600:#2a93ff;--brand-700:#409cff;--brand-50:rgba(10,132,255,.14);--brand-100:rgba(10,132,255,.22);--brand-text:#409cff;
 --ink:#ececec;--text:#e3e3e3;--muted:#9a9a9a;--faint:#6b6b6b;--line:#2c2c2c;--line-2:#333333;
 --canvas:#1c1c1c;--surface:#1c1c1c;--side:#141414;--side-2:#262626;--side-text:#d4d4d4;
 --ok:#32d74b;--ok-bg:rgba(50,215,75,.12);--warn:#ffd60a;--warn-bg:rgba(255,214,10,.12);--bad:#ff6b61;--bad-bg:rgba(255,69,58,.13);
}
html,body{background:var(--win)!important;color:var(--t1)}
body{font-weight:380}
b,strong,h1,h2,h3,h4{font-weight:500}
::selection{background:var(--accent-bg)}

/* ---------- Каркас окна ---------- */
.app,.app.compact{grid-template-columns:var(--side-w) minmax(0,1fr)!important;background:var(--win)}
.app.compact{--side-w:76px}
aside.side{position:sticky!important;top:0!important;height:calc(100vh * var(--zi,1))!important;margin:0!important;border-radius:0!important;box-shadow:none!important;background:var(--win)!important;color:var(--t1);padding:18px 12px 14px!important;overflow:auto;scrollbar-width:none}
.side-top{margin:0 0 18px!important;padding:4px 6px!important}
.side-top .brand img.logo-full{content:url(/logo.svg)}
html[data-theme=dark] .side-top .brand img.logo-full{content:url(/logo-white.svg)}
html:not([data-theme=dark]) .side-top .brand img.logo-mark{content:url(/logo-mark.svg)}
.collapse{color:var(--t3)!important}.collapse:hover{background:var(--fill)!important;color:var(--t1)!important}
nav.menu{gap:2px!important}
.side .side-sec{display:none!important}
.nsep{height:1px;background:rgba(0,0,0,.13);margin:10px 12px;flex:none}
html[data-theme=dark] .nsep{background:rgba(255,255,255,.14)}
.compact .nsep{margin:10px 8px}
.nav{height:40px!important;border-radius:999px!important;color:var(--t1)!important;font-weight:400!important;box-shadow:none!important;background:transparent!important}
.nav .svg{color:var(--t2)!important}
.nav:hover{background:var(--fill)!important}
.nav.active{background:var(--fill-2)!important;color:var(--t1)!important}
.nav.active .svg{color:var(--t1)!important}
.nav .count,.nav .count.red{margin-left:auto;min-width:22px!important;height:20px;padding:0 7px!important;border-radius:10px!important;background:var(--accent)!important;color:#fff!important;font-size:12px!important;font-weight:450!important;display:inline-grid!important;place-items:center;line-height:1}

.side-bottom{border-top:0!important;padding-top:10px!important}
.profile{background:var(--content)!important;border:1px solid var(--sep)!important;color:var(--t1)!important;border-radius:14px!important;box-shadow:none!important}
.profile .pname small{color:var(--t2)!important}
.workspace{background:var(--content)!important;border-left:1px solid var(--sep);padding:0 40px 40px!important;min-height:calc(100vh * var(--zi,1));overflow-x:clip}

/* Верхняя строка: слева «Обновлено», справа колокольчик и магазин */
.topbar{position:sticky!important;top:0!important;z-index:14!important;display:flex!important;align-items:center;gap:10px;height:var(--bar-h);padding:0 40px!important;margin:0 -40px!important;background:color-mix(in srgb,var(--content) 88%,transparent)!important;-webkit-backdrop-filter:saturate(1.4) blur(16px);backdrop-filter:saturate(1.4) blur(16px);border-bottom:1px solid var(--sep)!important;box-shadow:none!important}
.topbar .tb-title{display:none!important}
.top-right{display:flex;align-items:center;gap:8px;margin-left:auto}
.upd{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;color:var(--t2);background:none;border:0;padding:6px 8px;margin-left:-8px;border-radius:8px;cursor:pointer;font:inherit;font-size:13.5px}
.upd:hover{background:var(--fill);color:var(--t1)}
.upd i{width:7px;height:7px;border-radius:50%;background:var(--green);flex:none}
.upd.off i{background:var(--t3)}.upd.busy i{background:var(--accent);animation:upd-p 1.2s infinite}
@keyframes upd-p{50%{opacity:.3}}
.top-ava-wrap{display:none!important}
.bell{position:relative;width:38px;height:38px;border-radius:50%;border:1px solid var(--border);background:var(--fill);color:var(--t1);display:grid;place-items:center;cursor:pointer}
.bell:hover{background:var(--fill-2)}
.bell .svg{width:17px;height:17px}
.bell b{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--red);color:#fff;font-size:10.5px;font-weight:450;display:grid;place-items:center;border:2px solid var(--content)}
.shopchip{height:38px!important;border:1px solid var(--border)!important;background:var(--fill)!important;box-shadow:none!important;border-radius:999px!important;color:var(--t1)!important;font-weight:400!important;padding:0 12px 0 10px!important}
.shopchip .dot{display:none}
.shopchip.sw:hover{background:var(--fill-2)!important}

/* Заголовок страницы и действия справа от него */
.pghead{display:flex;align-items:flex-start;gap:12px;padding:28px 0 18px}
.pghead h1{margin:0;font-size:28px;font-weight:520;letter-spacing:-.01em;color:var(--t1);line-height:1.15}
.pghead p{margin:6px 0 0;color:var(--t2);font-size:15px}
.pghead .pgacts{margin-left:auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.pghead .pgacts:empty{display:none}
.pghead .pgacts .btn,.pghead .pgacts .seg button{height:40px}

/* ---------- Контролы: капсулы и чёткие рамки ---------- */
.btn,.pbtn,.dd-btn,.glue>button{border-radius:999px!important;border:1px solid var(--border)!important;background:var(--fill)!important;color:var(--t1)!important;box-shadow:none!important;font-weight:400!important}
.btn:hover,.pbtn:hover,.dd-btn:hover{background:var(--fill-2)!important}
.btn .svg,.pbtn .svg{color:var(--t2)}
.btn.primary,.pbtn.primary,.btn.pri{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}
.btn.primary .svg,.pbtn.primary .svg,.btn.pri .svg{color:#fff!important}
.btn.primary:hover,.pbtn.primary:hover{filter:brightness(1.08)}
.btn.soft{background:var(--accent-bg)!important;border-color:transparent!important;color:var(--accent-t)!important}
.btn.ghost{background:transparent!important;border-color:transparent!important}
.btn.ghost:hover{background:var(--fill)!important}
.btn.danger{color:var(--red)!important}
.btn.icon,.btn.icon-btn,.pbtn.sq{border-radius:50%!important}
.btn.sm{height:30px;font-size:13px}
.seg{background:var(--fill)!important;border:1px solid var(--sep)!important;border-radius:999px!important;padding:3px!important;box-shadow:none!important;gap:2px}
.seg button{border-radius:999px!important;color:var(--t2)!important;background:transparent!important;box-shadow:none!important;font-weight:400!important}
.seg button:hover{color:var(--t1)!important}
.seg button.on{background:var(--content)!important;color:var(--t1)!important;box-shadow:0 1px 2px rgba(0,0,0,.08),0 0 0 .5px rgba(0,0,0,.06)!important}
html[data-theme=dark] .seg button.on{background:var(--fill-2)!important;box-shadow:none!important}
.seg button i,.seg button .n{background:transparent!important;color:var(--t3)!important;padding:0!important;margin-left:6px!important;font-weight:400!important}
.seg button.on i,.seg button.on .n{color:var(--t2)!important}
.seg button i.red{color:var(--red)!important}
.seg-ind{display:none!important}
input,select,textarea{background:var(--fill)!important;border:1px solid var(--border)!important;color:var(--t1)!important;border-radius:10px!important;box-shadow:none!important}
input:focus,select:focus,textarea:focus{border-color:var(--accent)!important;box-shadow:0 0 0 3px var(--accent-bg)!important;outline:0}
input[type=checkbox],input[type=radio]{accent-color:var(--accent);background:none!important;border:0!important;box-shadow:none!important}
.search{border-radius:999px!important;background:var(--fill)!important;border:1px solid var(--border)!important;box-shadow:none!important}
.search input{background:transparent!important;border:0!important;box-shadow:none!important}
.search:focus-within{border-color:var(--accent)!important;box-shadow:0 0 0 3px var(--accent-bg)!important}
.p-bar .btn,.p-bar .pbtn,.p-bar .search,.p-bar .dd-btn,.p-bar .seg,.toolbar .btn,.toolbar .search{height:40px}
.p-bar .seg button,.toolbar .seg button{height:32px}

/* ---------- Контейнеры ---------- */
.panel,.kpi,.rp-bar{background:var(--content)!important;border:1px solid var(--sep)!important;border-radius:var(--r-lg)!important;box-shadow:none!important}
.tablewrap{border-top:1px solid var(--sep)!important}
table th{background:var(--content)!important;color:var(--t2)!important;font-weight:400!important;border-bottom:1px solid var(--sep)!important}
table td{border-bottom-color:var(--sep)!important}
tbody tr:hover td{background:color-mix(in srgb,var(--fill) 55%,transparent)}
tr.sel td,tr.selected td{background:color-mix(in srgb,var(--t1) 3%,transparent)!important}
.badge{background:var(--fill)!important;color:var(--t2)!important;font-weight:400!important;border:1px solid var(--sep)}
.badge.ok{background:var(--ok-bg)!important;color:var(--ok)!important;border-color:transparent}
.badge.warn{background:var(--warn-bg)!important;color:var(--warn)!important;border-color:transparent}
.badge.bad{background:var(--bad-bg)!important;color:var(--bad)!important;border-color:transparent}
.badge.brand{background:var(--accent-bg)!important;color:var(--accent-t)!important;border-color:transparent}
.notice{background:var(--fill)!important;border:1px solid var(--sep)!important;color:var(--t2)!important}
.notice.bad{background:var(--bad-bg)!important;color:var(--bad)!important;border-color:transparent!important}
.notice.warn{background:var(--warn-bg)!important;color:var(--warn)!important;border-color:transparent!important}
.notice.ok{background:var(--ok-bg)!important;color:var(--ok)!important;border-color:transparent!important}
a,.link{color:var(--accent-t)}

/* Окна и меню */
dialog{background:var(--content)!important;color:var(--t1)!important;border:1px solid var(--border)!important;border-radius:18px!important;box-shadow:0 40px 80px -20px rgba(0,0,0,.45)!important}
dialog::backdrop{background:rgba(0,0,0,.35)!important;backdrop-filter:none!important}
html[data-theme=dark] dialog::backdrop{background:rgba(0,0,0,.55)!important}
.dlg-head,.dlg-foot{background:var(--content)!important;border-color:var(--sep)!important}
.dlg-head h2{font-weight:500!important}
.pop-menu,.dd-menu,.profile-menu{background:var(--fill)!important;border:1px solid var(--border)!important;box-shadow:0 18px 40px -14px rgba(0,0,0,.45)!important;border-radius:12px!important;color:var(--t1)!important}
.pop-menu button:hover,.profile-menu button:hover{background:var(--fill-2)!important}
.toast{border-radius:14px!important}

/* ---------- Островок выбора: капсула, по контуру бежит мягкий синий отблеск ---------- */
@property --ia{syntax:'<angle>';inherits:false;initial-value:0deg}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar){position:fixed!important;left:calc(var(--side-w) + 40px)!important;right:110px!important;bottom:36px!important;padding:0!important;display:flex!important;justify-content:center!important;pointer-events:none}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar{width:auto!important;min-width:0!important;max-width:100%!important;pointer-events:auto;flex-wrap:nowrap!important;overflow:visible!important;padding:6px 6px 6px 18px!important;gap:6px!important}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar>*{flex:none!important}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar>span:first-child{min-width:0!important;white-space:nowrap}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar .grow{flex:0 0 6px!important}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar{background:var(--fill)!important;color:var(--t1)!important;border:1px solid var(--border)!important;border-radius:999px!important;box-shadow:0 18px 40px -14px rgba(0,0,0,.45)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;animation:isl-fade .3s ease-out!important;transform:none!important}
html:not([data-theme=dark]) :is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar{background:rgba(255,255,255,.96)!important;box-shadow:0 18px 40px -14px rgba(0,0,0,.18)!important}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar::after{display:none!important}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar::before{inset:-1px!important;padding:1.5px!important;filter:none!important;background:conic-gradient(from var(--ia),rgba(10,132,255,0) 0deg,rgba(10,132,255,.9) 70deg,rgba(100,210,255,.9) 120deg,rgba(10,132,255,0) 190deg,rgba(10,132,255,0) 360deg)!important;animation:isl-spin 2s linear infinite!important}

:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar) .actionbar .btn,:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar) .actionbar .btn .svg{color:var(--t1)!important}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar) .actionbar .btn{background:var(--fill-2)!important;border:1px solid var(--border)!important}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar) .actionbar .btn.primary{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar) .actionbar .btn.ghost{background:transparent!important;border-color:transparent!important;color:var(--accent-t)!important}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar) .actionbar b{color:var(--t1)!important}
@keyframes isl-fade{from{opacity:0}}
@media (prefers-reduced-motion:reduce){:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar::before{animation:none!important}}

/* ---------- Колокольчик: панель уведомлений ---------- */
.np{position:absolute;z-index:70;width:400px;max-height:min(560px,calc(calc(100vh * var(--zi,1)) - 90px));display:flex;flex-direction:column;background:var(--fill);border:1px solid var(--border);border-radius:16px;box-shadow:0 24px 56px -16px rgba(0,0,0,.45);overflow:hidden;font-size:14px;color:var(--t1)}
.np .h{display:flex;align-items:center;gap:10px;padding:14px 16px 10px}.np .h b{font-weight:500}.np .h .gap{flex:1}
.np .h .seg button{height:26px;font-size:12.5px;padding:0 10px}
.np .l{overflow:auto}
.np .n{display:grid;grid-template-columns:8px 1fr auto;gap:10px;padding:11px 16px;border-top:1px solid var(--sep)}
.np .n .sd{width:8px;height:8px;border-radius:50%;margin-top:6px;background:var(--yellow)}.np .n .sd.bad{background:var(--red)}.np .n .sd.info{background:var(--accent)}.np .n .sd.ok{background:var(--green)}
.np .n b{font-weight:450;display:block}.np .n small{display:block;color:var(--t2);font-size:12.5px;margin-top:2px;line-height:1.35}
.np .n .sh{color:var(--t3);font-size:11.5px;margin-bottom:2px}
.np .n .a{display:flex;gap:6px;margin-top:8px}.np .n .a .btn{height:28px;font-size:12.5px;padding:0 11px}
.np .n .x{width:26px;height:26px;border-radius:50%;border:0;background:transparent;color:var(--t3);font-size:16px;cursor:pointer}.np .n .x:hover{background:var(--fill-2);color:var(--t1)}
.np .e{padding:30px 16px;text-align:center;color:var(--t2)}
.np .f{padding:10px 16px;border-top:1px solid var(--sep);text-align:center;font-size:13.5px}

/* ---------- Телефон ---------- */
@media (max-width:760px){
 .app,.app.compact{grid-template-columns:minmax(0,1fr)!important}
 .workspace{padding:0 14px 120px!important;border-left:0}
 .topbar{padding:0 14px!important;margin:0 -14px!important}
 .pghead{padding:18px 0 12px;flex-wrap:wrap}.pghead h1{font-size:24px}
 aside.side{position:fixed!important;top:auto!important;bottom:10px!important;left:10px!important;right:10px!important;height:auto!important;border-radius:22px!important;background:color-mix(in srgb,var(--fill) 92%,transparent)!important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid var(--border);padding:6px 8px!important}
 .nsep{display:none}
 :is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar){left:10px!important;right:10px!important;bottom:100px!important}
 :is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar{border-radius:22px!important}
 .np{left:10px!important;right:10px!important;width:auto}
}

/* ---------- Товары ---------- */
#content .p-bar{margin:0 0 16px!important;gap:8px!important}
.p-bar .seg button .svg{width:14px;height:14px;margin-left:4px;color:var(--t3)}
.p-bar .seg button .n.attn{color:var(--accent-t)!important;background:var(--accent-bg)!important;border-radius:9px;padding:0 6px!important;min-width:18px;text-align:center}
.attn-menu{min-width:240px;padding:5px!important}
.attn-menu button{display:flex!important;justify-content:space-between;gap:20px;width:100%;padding:9px 10px!important;border-radius:8px}
.attn-menu em{font-style:normal;color:var(--t2)}
.p-table{padding:0!important;overflow:hidden}
.p-table .tablewrap{margin:0!important;border-top:0!important}
.p-table table th+th,.p-table table td+td{border-left:1px solid var(--sep)}
.p-table table th{height:46px;color:var(--t1)!important}
.p-table table td{height:62px}
.p-table tbody td b,.p-price b,.p-cell b,.pcell b{font-weight:450!important}
.p-price small i{color:var(--t2)!important;font-style:normal}
.p-table tfoot td{background:var(--fill);font-weight:450;height:46px;border-top:1px solid var(--sep);border-bottom:0!important}
.p-table tfoot .tf-l{color:var(--t2)}
.tag2{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 11px;border:1px solid var(--border);border-radius:999px;font-size:13px;white-space:nowrap;color:var(--t1)}
.tag2 i{width:7px;height:7px;border-radius:50%;background:var(--green)}
.tag2.yel i,.tag2.org i{background:var(--yellow)}.tag2.red i{background:var(--red)}.tag2.none i{background:var(--t3)}
.tag2.out{border-color:transparent;background:var(--bad-bg);color:var(--red)}
/* Поле остатка постоянной ширины; кнопка ✓ появляется внутри справа, число сдвигается влево */
.stk-cell{position:relative!important;display:inline-flex!important;align-items:center}
.stk-cell input.cell{width:74px!important;height:32px!important;text-align:center;padding:0 6px!important;border-radius:8px!important;transition:padding .2s,border-color .2s}
.stk-cell input.cell.changed{border-color:var(--accent)!important;padding-right:30px!important;color:var(--t1)!important;background:var(--fill)!important}
.stk-cell .cell-ok{position:absolute!important;left:auto!important;right:3px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;width:26px!important;height:26px!important;border-radius:6px!important;background:var(--accent)!important;color:#fff!important;animation:none!important;transition:opacity .2s}
.stk-cell .cell-ok.off{display:grid!important;opacity:0;pointer-events:none}
.stk-cell .cell-ok .svg{width:13px!important;height:13px!important}
.stk-cell input.cell::-webkit-inner-spin-button{display:none}
.np button.btn{width:auto!important;display:inline-flex!important;justify-content:center;padding:0 12px!important}
.np button.x{width:26px!important;display:grid!important;padding:0!important}
.np .h a{text-decoration:none;font-size:13px}
.p-attn .svg{margin-left:2px}

/* ---------- Пульт управления ---------- */
.pult{padding:4px 18px!important}
.pult .tablewrap{margin:0!important;border-top:0!important;max-height:none!important;overflow:visible}
table.pu-t{width:100%;border-collapse:collapse;font-size:13.5px}
table.pu-t th{background:transparent!important;color:var(--t2)!important;font-size:12.5px;height:40px;padding:0 8px;white-space:nowrap;border-bottom:1px solid var(--sep)!important}
table.pu-t td{height:72px;padding:0 8px;border-bottom:1px solid var(--sep)!important;white-space:nowrap;vertical-align:middle}
table.pu-t th:first-child,table.pu-t td:first-child{padding-left:0}
table.pu-t td.c,table.pu-t th.c{text-align:center}
table.pu-t tr.pu-r{cursor:pointer}
table.pu-t tr.op>td{background:var(--fill)!important;border-bottom-color:transparent!important}
table.pu-t tr.op>td:first-child{border-radius:12px 0 0 0}table.pu-t tr.op>td:last-child{border-radius:0 12px 0 0}
.pu-shop .shp{display:flex;align-items:center;gap:12px}
.pu-fl{display:inline-grid;place-items:center;border-radius:5px}.pu-fl.good{box-shadow:0 0 0 2px var(--content),0 0 0 3.5px var(--green)}
.pu-name{background:none;border:0;padding:0;font:inherit;font-size:14.5px;color:var(--t1);cursor:pointer;text-align:left}
.pu-name:hover{text-decoration:underline;text-underline-offset:3px}
.pu-shop small{display:block;color:var(--t2);font-size:12.5px;margin-top:2px}
.tok{color:var(--t2)}.tok.tw{color:var(--warn)}.tok.tr{color:var(--red)}
table.pu-t td small{display:block;font-size:12px;color:var(--t2);margin-top:2px}
table.pu-t small.rd{color:var(--red)}
.pu-t .o{font-weight:450;margin-right:6px;font-size:14.5px}
.pu-t .dl{font-size:12px}.pu-t .dl.up{color:var(--green)}.pu-t .dl.dn{color:var(--red)}
.cv{background:none;border:0;padding:0;font:inherit;font-size:14.5px;color:var(--t1);cursor:pointer;border-bottom:1px dashed var(--border)}
.cv.rr,small.rr{color:var(--red)!important}
.dash{color:var(--t3)}
.atc{white-space:normal!important}
.att{display:inline-flex;align-items:center;gap:7px;padding:3px 10px;margin:2px 4px 2px 0;border-radius:999px;border:1px solid var(--border);font-size:12.5px;white-space:nowrap}
.att i{width:7px;height:7px;border-radius:50%}.att.r i{background:var(--red)}.att.y i{background:var(--yellow)}.att.more{color:var(--t2)}
.ok2{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:999px;background:var(--ok-bg);color:var(--green);font-size:12.5px}
.ok2 .svg{width:13px;height:13px}
.pu-t .go{width:24px;color:var(--t3)}.pu-t .go .svg{width:16px;height:16px}
tr.pend .pend-t{color:var(--warn);margin-right:12px}tr.pend td.pc{text-align:left}
tr.expd>td{padding:0 0 12px!important;height:auto!important;background:var(--fill)!important;border-radius:0 0 12px 12px;white-space:normal!important}
.ex{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:2px 12px 2px}
.eg{background:var(--content);border:1px solid var(--sep);border-radius:12px;padding:10px 12px}
.eh{display:flex;align-items:center;gap:8px;margin-bottom:4px}.eh b{font-weight:500;font-size:13.5px}.eh .ec{color:var(--t3);font-size:12.5px}
.eh .sd{width:7px;height:7px;border-radius:50%;background:var(--yellow)}.eh .sd.bad{background:var(--red)}.eh .sd.info{background:var(--accent)}
.ei{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid var(--sep)}
.ei .et{flex:1;min-width:0}.ei b{font-weight:400;font-size:13px;display:block}.ei small{color:var(--t2);font-size:11.5px;display:block;line-height:1.35}
.ei .btn.sm{height:28px;font-size:12.5px;padding:0 10px;flex:none}
.xb{width:26px;height:26px;border-radius:50%;border:0;background:transparent;color:var(--t3);font-size:17px;line-height:1;flex:none;cursor:pointer}.xb:hover{background:var(--fill-2);color:var(--t1)}
.hid{grid-column:1/-1;display:flex;gap:10px;align-items:center;font-size:12.5px;color:var(--t3);padding:2px 4px}
.sh-hr{border:0;border-top:1px solid var(--sep);margin:4px 6px}
/* Карточка магазина: панель справа */
.pu-card{position:fixed;top:0;right:0;bottom:0;width:420px;max-width:calc(100vw * var(--zi,1));background:var(--content);border-left:1px solid var(--border);box-shadow:-30px 0 60px -20px rgba(0,0,0,.45);z-index:80;padding:22px 24px;overflow:auto;font-size:14px;animation:pc-in .22s ease-out}
@keyframes pc-in{from{transform:translateX(30px);opacity:0}}
.pu-card .ph2{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.pu-card .ph2 b{font-size:18px;font-weight:500;display:flex;align-items:center;gap:10px}.pu-card .ph2 small{color:var(--t2)}
.pu-card .ph2 .x{margin-left:auto;background:none;border:0;color:var(--t3);font-size:24px;cursor:pointer}
.pbtn2{width:28px;height:28px;border-radius:50%;border:1px solid var(--border);background:var(--fill);color:var(--t2);display:inline-grid;place-items:center;cursor:pointer;padding:0}.pbtn2 .svg{width:14px;height:14px}
.pu-card .pg{border:1px solid var(--sep);border-radius:14px;padding:4px 14px;margin-bottom:12px}
.pu-card.editing2 .pg{border-color:color-mix(in srgb,var(--accent) 45%,transparent)}
.pu-card h4{margin:10px 0 4px;font-size:12.5px;font-weight:500;color:var(--t2)}
.pr2{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--sep)}
.pu-card h4+.pr2{border-top:0}
.pr2>span{color:var(--t2)}.pr2 b{font-weight:400;text-align:right}.pr2 .mut{color:var(--t3)}
.pr2.fe{padding:6px 0}.pr2.fe input{width:220px;height:34px}
.pct{display:inline-flex;align-items:center;gap:6px}.pct input{width:90px!important}.pct i{font-style:normal;color:var(--t3)}
.hist{font-size:12.5px;color:var(--t3);padding:0 0 10px;line-height:1.45}
.cbtn{padding:10px 0 12px}.cbtn .btn{width:100%;height:36px}
.pfoot,.efoot2{display:flex;gap:8px;margin-top:6px}.efoot2{justify-content:flex-end}.pfoot .btn,.efoot2 .btn{height:38px}
@media (max-width:760px){.ex{grid-template-columns:1fr}.pu-card{width:calc(100vw * var(--zi,1))}}
.pghead>div:first-child{flex:1;min-width:0}
.pghead .pgacts{flex:none;flex-wrap:nowrap!important}
.shopchip.sw>.svg:first-child{width:16px;height:16px;color:var(--t2)}

/* пульт: таблица помещается в окно */
table.pu-t{table-layout:fixed}
table.pu-t col.w-shop{width:27%}table.pu-t col.w-cl{width:9%}table.pu-t col.w-at{width:17%}table.pu-t col.w-go{width:28px}
table.pu-t th{white-space:normal!important;line-height:1.25}
table.pu-t td small{white-space:normal;line-height:1.3}
.pu-shop .shp>div{min-width:0}.pu-shop .pu-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.pu-shop small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ok2{white-space:nowrap}
tr.pend td.pc{white-space:nowrap}
.shopchip>.svg:first-child{width:16px;height:16px;color:var(--t2)}

/* ---------- Обзор (на один экран) ---------- */
.ov5{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:16px;min-height:560px;margin-bottom:24px}
.ov5-l,.ov5-r{display:flex;flex-direction:column;gap:16px;min-height:0}
.ov5 .panel{margin:0!important}
.ov5-hero{padding:22px 24px 10px!important;flex:none;overflow:hidden}
.hero-top{display:flex;justify-content:space-between;gap:22px;align-items:flex-start}
.hero-top .hk{padding-top:0}
.hero-main{min-width:0}.hero-main small,.hk small{display:block;color:var(--t2);font-size:12.5px;white-space:nowrap}
.hero-s{display:flex;align-items:baseline;gap:10px;margin-top:4px;white-space:nowrap}
.hero-n{font-size:38px;line-height:1;font-weight:300;letter-spacing:-.5px;color:var(--t1)}
.hero-sum{font-size:17px;font-weight:350;color:var(--t1)}
.hero-s .hpill{align-self:center}
.hpill{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:999px;font-size:12.5px;background:var(--fill);color:var(--t2)}
.hpill.up{background:var(--ok-bg);color:var(--green)}.hpill.dn{background:color-mix(in srgb,var(--red) 14%,transparent);color:var(--red)}
.hk{display:flex;gap:28px;text-align:left}
.hk-b{display:block;background:none;border:0;padding:0;font:inherit;color:inherit;text-align:left}
button.hk-b{cursor:pointer}button.hk-b:hover b{color:var(--accent-t)}
.hk b{display:block;font-size:17px;font-weight:350;margin-top:3px;white-space:nowrap;color:var(--t1)}.hk b.neg{color:var(--red)}
.hk-need{display:inline-block;margin-top:2px;font-size:12px;color:var(--warn)!important;text-decoration:none}
.ov5-chart{margin:10px -22px 0!important;height:clamp(84px,calc(calc(100vh * var(--zi,1)) - 750px),190px)!important}.ov5-chart svg{height:calc(100% - 20px)!important}
.ov5-chart .ov-line{stroke:var(--accent);stroke-width:2.4;stroke-linecap:round}
.ov5-chart .ov-prev{stroke:var(--t3);stroke-width:1.6;stroke-dasharray:4 5}
.ov5-chart .g0{stop-color:var(--accent);stop-opacity:.28}.ov5-chart .g1{stop-color:var(--accent);stop-opacity:0}
.ov5-chart .ov-days span{color:var(--t3)!important;font-size:11.5px}
.ov5-chart .ov-dot{background:var(--accent)!important;box-shadow:0 0 0 3px var(--content)!important}
.ov5-chart .ov-tip{background:var(--fill-2)!important;color:var(--t1)!important;border:1px solid var(--border);box-shadow:none!important}
.ov5-l .ov3-fb{flex:1;min-height:240px;overflow:auto}
.ov5-fbs{padding:18px 22px!important;flex:none}
.ov5 .w-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}.ov5 .w-title{font-weight:450;font-size:15px}
.ov5 .w-head .link{margin-left:auto;color:var(--accent-t);text-decoration:none;font-size:14px}
.fb-n{display:flex;align-items:baseline;gap:10px;margin:2px 0 10px}.fb-n b{font-size:34px;font-weight:350}.fb-n span{color:var(--t2);font-size:13.5px}
.fb-r{display:grid;grid-template-columns:96px 1fr 28px;align-items:center;gap:10px;font-size:13px;color:var(--t2);height:26px}
.fb-r i{height:5px;border-radius:3px;background:var(--fill-2);overflow:hidden}.fb-r em{display:block;height:100%;border-radius:3px;background:var(--accent)}
.fb-r em.y{background:var(--yellow)}.fb-r em.r{background:var(--red)}.fb-r b{text-align:right;font-weight:400;color:var(--t1)}
.fb-old{margin-top:10px;padding-top:12px;border-top:1px solid var(--sep);font-size:13px;color:var(--t2)}.fb-old b{font-weight:450;color:var(--t1)}
.ov5-feed{flex:1;min-height:0;display:flex;flex-direction:column;padding:16px 0 0!important;overflow:hidden}
.ov5-feed .w-head{padding:0 22px}.ov5-feed .air{flex:1}
.ov5-feed .live{width:7px;height:7px;border-radius:50%;background:var(--green)}
.ov5-feed .seg.sm button{height:28px!important;padding:0 11px!important;font-size:12.5px!important}
.ov5-feed .fd-list{flex:1;overflow:auto;padding:0 12px 8px;border-top:1px solid var(--sep)}
.ov5 .fd-row{gap:12px;padding:10px!important;border-bottom:1px solid var(--sep)!important;border-radius:0!important}
.ov5 .fd-row:hover{background:var(--fill)!important}
.ov5 .fd-row .thumb{width:40px;height:40px;border-radius:9px;flex:none}
.ov5 .fd-t{flex:1;min-width:0}.ov5 .fd-t b{display:block;font-weight:400;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ov5 .fd-t small,.ov5 .fd-v small{display:block;color:var(--t2);font-size:12px;margin-top:3px}
.fd-m{display:inline-block;padding:0 6px;border:1px solid var(--border);border-radius:6px;font-size:11px;line-height:16px;color:var(--t2)}
.ov5 .fd-v{text-align:right;flex:none}.ov5 .fd-v b{font-weight:400;font-size:13.5px}
@media (max-width:1100px){.ov5{grid-template-columns:1fr;height:auto!important}.ov5-feed .fd-list{max-height:520px}.hero-top{flex-direction:column}}
@media (max-width:760px){.hero-n{font-size:48px}.hk{gap:18px;flex-wrap:wrap}}
.ov5 .ov3-fb{padding:0!important;overflow:hidden!important;display:flex;flex-direction:column}
.ov5 .ov3-h{padding:14px 20px 12px!important;border-bottom:1px solid var(--sep)!important;margin:0!important}
.ov5 .ov3-h .seg{margin:0!important}
.ov5-chart:not(:hover) .ov-tip{opacity:0}

/* ---------- Отчёт за период: окно ---------- */
#dialog .rp-dlg{width:min(860px,calc(calc(100vw * var(--zi,1)) - 32px))}
#dialog:has(.rp-dlg){max-width:none!important;width:auto!important}
.rp-wrap{display:grid;grid-template-columns:210px 1fr;gap:18px;padding:4px 22px 0}
.rp-pre{display:flex;flex-direction:column;gap:2px;padding-right:16px;border-right:1px solid var(--sep)}
.rp-pre button{height:40px;border:0;background:none;border-radius:10px;text-align:left;padding:0 14px;font:inherit;font-size:14px;color:var(--t1);cursor:pointer}
.rp-pre button:hover{background:var(--fill)}.rp-pre button.on{background:var(--accent-bg);color:var(--accent-t)}
.rp-ms{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:26px}
.rp-m>b{display:block;text-align:center;font-weight:450;font-size:14.5px;height:34px;line-height:34px}
.rp-g{display:grid;grid-template-columns:repeat(7,1fr);row-gap:4px}
.rp-g i{font-style:normal;text-align:center;font-size:11.5px;color:var(--t3);height:24px;line-height:24px}
.rp-g button{height:36px;border:0;background:none;font:inherit;font-size:13.5px;color:var(--t1);cursor:pointer;border-radius:0;position:relative}
.rp-g button:disabled{color:var(--t3);opacity:.45;cursor:default}
.rp-g button:not(:disabled):not(.in):hover{background:var(--fill);border-radius:50%}
.rp-g button.in{background:var(--accent-bg)}
.rp-g button.s{border-radius:18px 0 0 18px}.rp-g button.e{border-radius:0 18px 18px 0}.rp-g button.s.e{border-radius:18px}
.rp-g button.edge{background:var(--accent);color:#fff}
.rp-nav{position:absolute;top:0;width:34px;height:34px;border-radius:50%;border:1px solid var(--border);background:var(--fill);color:var(--t1);display:grid;place-items:center;cursor:pointer}
.rp-nav.l{left:0}.rp-nav.r{right:0}.rp-nav:disabled{opacity:.35;cursor:default}
.rp-in{display:flex;align-items:center;gap:10px;margin-top:14px}
.rp-in input{flex:1;height:40px!important;border-radius:10px!important}.rp-in span{color:var(--t3)}.rp-in em{font-style:normal;color:var(--t2);font-size:13px;white-space:nowrap}
.rp-sh{margin:16px 22px 0;padding-top:14px;border-top:1px solid var(--sep)}
.rp-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13.5px;color:var(--t2)}.rp-row .rp-sp{flex:1}
.rp-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.rp-chip{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 13px;border-radius:999px;border:1px solid var(--border);background:var(--fill);color:var(--t1);font:inherit;font-size:13px;cursor:pointer}
.rp-chip.on{border-color:var(--accent);background:var(--accent-bg)}.rp-chip .svg{width:14px;height:14px;color:var(--accent-t)}
.rp-chip .sh-fl{width:18px;height:13px}
.rp-note{margin:14px 22px 0;color:var(--t2);font-size:12.5px;line-height:1.5}
.rp-dlg .dlg-foot{padding:16px 22px 20px}
@media (max-width:760px){.rp-wrap{grid-template-columns:1fr}.rp-pre{flex-direction:row;flex-wrap:wrap;border-right:0;padding:0}.rp-pre button{height:34px;border:1px solid var(--border);border-radius:999px}.rp-ms{grid-template-columns:1fr}.rp-ms .rp-m:nth-of-type(2){display:none}}

/* ---------- Отчёт за период: страница ---------- */
.pg-back{display:inline-flex;align-items:center;gap:4px;color:var(--accent-t)!important;text-decoration:none;font-size:14px;margin-bottom:6px}.pg-back .svg{width:15px;height:15px}
.pghead:has(.pg-back)>div:first-child{display:flex;flex-direction:column;align-items:flex-start}
.rp-sub{margin:-8px 0 16px;color:var(--t2);font-size:14px}
.rp-warn{display:flex;align-items:center;gap:14px;padding:14px 18px;border:1px solid color-mix(in srgb,var(--yellow) 45%,transparent);background:var(--warn-bg);border-radius:14px;margin-bottom:16px}
.rp-warn>i{width:8px;height:8px;border-radius:50%;background:var(--yellow);flex:none}.rp-warn>div{flex:1}.rp-warn b{display:block;font-weight:450}.rp-warn small{display:block;color:var(--t2);margin-top:3px;font-size:13px}
.rp-strip{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--sep);border-radius:14px;margin-bottom:16px;background:var(--content)}
.rp-strip>div{padding:16px 20px;border-left:1px solid var(--sep);min-width:0}.rp-strip>div:first-child{border-left:0}
.rp-strip small{display:block;color:var(--t2);font-size:13px}.rp-strip b{display:block;font-size:22px;font-weight:350;margin:6px 0 4px;white-space:nowrap}
.rp-strip b.pos{color:var(--green)}.rp-strip b.neg{color:var(--red)}
.rp-strip em{display:block;font-style:normal;color:var(--t3);font-size:12px}.rp-strip em.wn,.rv-t small.wn{color:var(--warn)}
.rv-t{padding:0!important;overflow:hidden;margin-bottom:20px}
.rv-t .tablewrap{margin:0!important;border:0!important}
.rv-t table th,.rv-t table td{text-align:right}.rv-t table th:first-child,.rv-t table td:first-child{text-align:left}
.rv-t td.mut{color:var(--t2)}.rv-t td.neg{color:var(--red)}
.rp-p{display:flex;align-items:center;gap:12px}.rp-p .thumb{width:38px;height:38px;border-radius:8px;flex:none}.rp-p b{display:block;font-weight:400}.rp-p small{display:block;color:var(--t2);font-size:12px;margin-top:2px}
.rv-t td.rp-need{background:var(--warn-bg)!important;color:var(--t3)}
.rv-t td.rp-need .link{color:var(--accent-t);background:none;border:0;font:inherit;cursor:pointer;padding:0}
.rv-t tfoot td{font-weight:450}
.rv-t tr.rp-miss td{color:var(--warn);background:var(--warn-bg);font-weight:400;text-align:left}
.rv-t tr.rp-miss td:nth-child(2){text-align:right;color:var(--t3)}
.rp-h{display:flex;align-items:center;gap:10px;font-weight:450;font-size:17px;margin:24px 0 12px}
@media (max-width:1100px){.rp-strip{grid-template-columns:repeat(2,1fr)}.rp-strip>div{border-left:0;border-top:1px solid var(--sep)}}
#dialog:has(.rp-dlg){width:min(900px,calc(calc(100vw * var(--zi,1)) - 32px))!important;max-width:none!important}
#dialog .rp-dlg{width:100%}
.rv-t td:first-child{min-width:280px}

/* ---------- Добавить магазин ---------- */
#dialog:has(.sa-dlg){width:min(560px,calc(calc(100vw * var(--zi,1)) - 32px))!important}
.sa-dlg .field{display:flex;flex-direction:column;gap:7px;font-size:13.5px;color:var(--t2);margin-bottom:14px}
.sa-dlg .field .opt{color:var(--t3)}
.sa-dlg .field input{height:44px!important}
.sa-link{border:1px solid var(--sep);background:var(--fill);border-radius:14px;padding:14px 16px;margin-top:4px}
.sa-link>b{display:flex;align-items:center;gap:8px;font-weight:450}.sa-link>b i{width:7px;height:7px;border-radius:50%;background:var(--green)}
.sa-row{display:flex;gap:10px;margin:12px 0 10px}.sa-row input{flex:1;min-width:0;height:40px!important;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px!important}
.sa-link small{display:block;color:var(--t2);font-size:12.5px;line-height:1.5}
.sa-dlg .dlg-foot a.btn{text-decoration:none;display:inline-flex;align-items:center}

/* ---------- Перо: значок-вспышка ---------- */
#gdFab{width:52px!important;height:52px!important;padding:0!important;background:var(--accent)!important;color:#fff;display:grid;place-items:center;box-shadow:0 10px 26px -8px color-mix(in srgb,var(--accent) 70%,transparent)!important;transition:transform .2s}
#gdFab .svg{width:24px;height:24px;color:#fff;transition:transform .5s ease}#gdFab:hover{transform:none!important}#gdFab:hover .svg{transform:rotate(45deg)}
.gd-av{width:32px;height:32px;border-radius:50%;background:var(--accent);display:grid;place-items:center;flex:none}.gd-av .svg{width:16px;height:16px;color:#fff}
@media (max-width:760px){#gdFab{width:48px!important;height:48px!important}}
.gd-av.sm{width:22px;height:22px}.gd-av.sm .svg{width:12px;height:12px}
.sa-lead{margin:0 0 14px;font-size:13.5px;line-height:1.5}

/* ---------- Статус плашкой (Репрайсер, Карточки) ---------- */
.st2w{display:inline-flex;flex-direction:column;align-items:center;gap:4px;max-width:100%}
.st2{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 11px;border-radius:999px;border:1px solid var(--border);font-size:12.5px;color:var(--t1);white-space:nowrap;max-width:100%}
.st2 i{width:7px;height:7px;border-radius:50%;background:var(--t3);flex:none}
.st2.ok i{background:var(--green)}.st2.brand i{background:var(--accent)}.st2.warn i{background:var(--yellow)}.st2.bad i{background:var(--red)}
.st2.bad{color:var(--red);border-color:color-mix(in srgb,var(--red) 35%,transparent)}
.st2 .svg{width:13px;height:13px}
.st2w small{display:block;font-size:11.5px;color:var(--t3);line-height:1.3;text-align:center;white-space:normal;max-width:220px}
.st2w small a{color:var(--accent-t)}
td.stc{text-align:center!important}
td.few{color:var(--warn)!important}
.p-table th.c .th-sort{justify-content:center;margin:0 auto}
.rp-t td:nth-child(9){min-width:150px}
.p-table tfoot td{white-space:nowrap}
.sa-dlg .field>span{display:block!important;width:auto!important}.sa-dlg .field .opt{display:inline!important;margin:0!important}

/* ---------- Вход: левая панель всегда тёмная ---------- */
.auth-art{background:#141414!important;color:#ececec!important}
.auth-art h2{font-weight:500!important;color:#ececec}
.auth-art p{color:#9a9a9a!important}
.auth-art .ring{border-color:rgba(10,132,255,.10)!important}
.auth-art img.auth-logo{width:150px!important;height:auto}
.auth-art small,.auth-art .beta{color:#6b6b6b!important}

/* ---------- Плашки на странице (notice): строка-контейнер, цветная точка, кнопки-капсулы ---------- */
.status-line{display:flex!important;flex-direction:column;gap:8px;margin:0 0 14px!important}
.status-line:empty{display:none!important}
.status-line>div[style*="contents"]:empty{display:none}
.notice{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;max-width:none!important;min-height:52px!important;margin:0!important;padding:8px 10px 8px 16px!important;border-radius:14px!important;background:var(--content)!important;border:1px solid var(--sep)!important;color:var(--t1)!important;font-size:13.5px!important;line-height:1.4!important;box-shadow:none!important;position:relative}
.dlg-body .notice{margin:0 0 12px!important}
.notice::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none}
.notice.warn::before{background:var(--yellow)}.notice.bad::before{background:var(--red)}.notice.ok::before{background:var(--green)}
.notice.warn{border-color:color-mix(in srgb,var(--yellow) 40%,var(--sep))!important}
.notice.bad{border-color:color-mix(in srgb,var(--red) 40%,var(--sep))!important}
.notice.ok{border-color:color-mix(in srgb,var(--green) 40%,var(--sep))!important}
.notice.warn,.notice.bad,.notice.ok{background:var(--content)!important;color:var(--t1)!important}
.notice>.svg:first-of-type{display:none!important}
.notice>div{flex:1 1 auto!important;min-width:0}
.notice b{font-weight:450!important;color:var(--t1)!important}
.notice small{display:block;color:var(--t2);font-size:12.5px;margin-top:1px}
.notice a,.notice .nlink{color:var(--accent-t)!important;text-decoration:none!important;font-weight:400!important}
.notice a:hover,.notice .nlink:hover{text-decoration:underline!important;text-underline-offset:3px}
.notice .btn:not(.x),.notice .link{flex:none;margin:0!important;height:34px!important;min-height:34px!important;padding:0 14px!important;border-radius:999px!important;border:1px solid var(--border)!important;background:var(--fill)!important;color:var(--t1)!important;font-size:13px!important;font-weight:400!important;text-decoration:none!important;display:inline-flex!important;align-items:center;gap:6px}
.notice .btn:not(.x):hover,.notice .link:hover{background:var(--fill-2)!important}
.notice .btn.primary:not(.x){background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}
.notice.bad .btn:not(.x){color:var(--t1)!important}
.notice .btn:not(.x) .svg{display:inline-block!important;width:14px;height:14px}
.notice>div+.btn{margin-left:auto!important}
.notice>.x{position:static!important;opacity:1!important;width:30px!important;height:30px!important;border:0!important;background:transparent!important;color:var(--t3)!important;flex:none}
.notice>.x:hover{background:var(--fill)!important;color:var(--t1)!important}
.notice>.x .svg{width:14px;height:14px}
/* Прогресс ПероAI */
.notice.prog::before{animation:np-pulse 1.4s ease-in-out infinite}
@keyframes np-pulse{50%{opacity:.35}}
.nprog{display:block!important;width:100%!important;height:4px!important;padding:0!important;border-radius:2px;background:var(--fill-2);margin-top:7px;max-width:360px;overflow:hidden}.nprog em{display:block;height:100%;background:var(--accent);border-radius:2px;transition:width .4s}
@media (prefers-reduced-motion:reduce){.notice.prog::before{animation:none}}

/* ---------- Плашки над таблицей: капсулы в одну строку ---------- */
.status-line{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;align-items:center;gap:8px!important;margin:0 0 14px!important;overflow:hidden;min-height:34px}
.status-line.nall{flex-wrap:wrap;overflow:visible}
.status-line .notice{order:2;flex:none!important;width:auto!important;max-width:min(640px,100%)!important;min-height:0!important;height:34px;padding:0 4px 0 13px!important;gap:9px!important;border-radius:999px!important;font-size:13px!important;white-space:nowrap;background:var(--content)!important;border:1px solid var(--border)!important}
.status-line .notice.warn{order:1}.status-line .notice.bad{order:0}
.status-line .notice.nhid{display:none!important}
.status-line .notice::before{width:7px;height:7px}
.status-line .notice>div{flex:0 1 auto!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.status-line .notice>div b{font-weight:400!important}
.status-line .notice>div small{display:none!important}
.status-line .notice>div br{display:none}
.status-line .notice .nprog{display:inline-block!important;width:56px!important;margin:0 0 1px 10px!important;vertical-align:middle}
.status-line .notice>div+.btn,.status-line .notice>div+.link{margin-left:2px!important;position:relative}
.status-line .notice>div+.btn::before,.status-line .notice>div+.link::before{content:'';position:absolute;left:-6px;top:50%;width:1px;height:16px;margin-top:-8px;background:var(--border)}
.status-line .notice .btn:not(.x),.status-line .notice .link{height:26px!important;min-height:26px!important;padding:0 9px!important;border:0!important;background:transparent!important;color:var(--accent-t)!important;font-size:13px!important}
.status-line .notice .btn:not(.x):hover,.status-line .notice .link:hover{background:var(--fill)!important}
.status-line .notice .btn.primary:not(.x){background:transparent!important;color:var(--accent-t)!important}
.status-line .notice .btn:not(.x) .svg{display:none!important}
.status-line .notice>.x{width:26px!important;height:26px!important;margin-left:-2px}
.status-line .notice>.x .svg{width:12px;height:12px}
.nmore{order:3;flex:none;display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:var(--content);color:var(--t2);font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.nmore:hover{background:var(--fill)}.nmore .svg{width:13px;height:13px}
.status-line.nall .nmore .svg{transform:rotate(180deg)}
.nmore .nd{display:inline-flex;gap:3px}.nmore .nd i{width:6px;height:6px;border-radius:50%;background:var(--accent)}.nmore .nd i.y{background:var(--yellow)}.nmore .nd i.r{background:var(--red)}.nmore .nd i.g{background:var(--green)}
@media (max-width:760px){.status-line{flex-wrap:wrap;overflow:visible}.status-line .notice{max-width:100%!important}}
.nmore[hidden]{display:none!important}

/* ---------- Карточки: таблица ---------- */
.cdt td.c,.cdt th.c{text-align:center}
.cdt tr.clickable:hover .cd-title{color:var(--accent-t)}
.cdt .cd-title{font-weight:400;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.cd-art b{display:block;font-weight:400;white-space:nowrap}.cd-art small,.cd-cm small{display:block;color:var(--t3);font-size:12px;margin-top:3px;white-space:nowrap}
.cd-cm b{display:block;font-weight:400}
.cdt td.num{white-space:nowrap}
.cdt .stk-cell.cd-cost{position:relative;display:inline-block;width:108px}
.cdt .cd-cost input.cell{width:108px!important;text-align:center!important;padding:0 26px 0 10px!important}
.cdt .cd-cost input.cell.changed{text-align:left!important;padding-left:12px!important;border-color:var(--accent)!important}
.cdt .cd-cost .cd-cur{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:var(--t3);font-size:12.5px;pointer-events:none}
.cdt .cd-cost input.changed~.cd-cur{display:none}
.cdt .cd-cost.need input.cell:not(.changed){border-color:color-mix(in srgb,var(--yellow) 55%,var(--border))!important}
.cdt .cd-cost input::placeholder{color:var(--t3)}
.svg.bird{fill:currentColor!important;stroke:none!important;width:17px;height:17px}
/* «+» и копия: маленькое окошко-капсула */
.cpop{position:fixed;z-index:120;display:flex;align-items:center;gap:8px;padding:7px 7px 7px 16px;border-radius:999px;background:color-mix(in srgb,var(--content) 88%,transparent);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);border:1px solid var(--border);box-shadow:0 12px 32px rgba(0,0,0,.35),0 0 0 .5px rgba(0,0,0,.25);white-space:nowrap;animation:cp-in .14s ease-out}
@keyframes cp-in{from{opacity:0;transform:translateY(-4px)}}
.cp-arr{position:absolute;top:-6px;width:12px;height:12px;background:var(--content);border-left:1px solid var(--border);border-top:1px solid var(--border);transform:rotate(45deg)}
.cp-l{font-size:13px;color:var(--t1)}
.cp-in{width:52px!important;height:30px!important;border-radius:999px!important;border:1px solid var(--accent)!important;background:var(--fill)!important;color:var(--t1)!important;text-align:center!important;font:inherit;font-size:13.5px!important;padding:0!important;box-shadow:0 0 0 3px var(--accent-bg)!important;outline:none}
.cp-st{display:flex;flex-direction:column;width:18px;height:30px;border-radius:999px;border:1px solid var(--border);background:var(--fill-2);overflow:hidden;margin-left:-4px}
.cp-st button{flex:1;border:0;background:transparent;position:relative;cursor:pointer;padding:0}.cp-st button+button{border-top:1px solid var(--border)}
.cp-st button::after{content:'';position:absolute;left:50%;top:50%;width:4px;height:4px;border:solid var(--t2);border-width:1.4px 0 0 1.4px;transform:translate(-50%,-25%) rotate(45deg)}
.cp-st button+button::after{transform:translate(-50%,-75%) rotate(225deg)}
.cp-st button:hover{background:var(--fill)}
.cp-go{height:30px;padding:0 14px;border-radius:999px;border:0;background:var(--accent);color:#fff;font:inherit;font-size:13px;cursor:pointer;margin-left:4px}
.cp-go.busy{opacity:.6}
.pbtn.pop-on,.btn.pop-on{border-color:var(--accent)!important;color:var(--accent-t)!important;background:var(--accent-bg)!important}
#cardTable table.cdt{table-layout:fixed;width:100%;min-width:960px}
#cardTable table.cdt th:nth-child(1){width:56px!important}
#cardTable table.cdt th:nth-child(2){width:auto!important}
#cardTable table.cdt th:nth-child(3){width:104px!important}
#cardTable table.cdt th:nth-child(4){width:13%!important}
#cardTable table.cdt th:nth-child(5){width:104px!important}
#cardTable table.cdt th:nth-child(6){width:128px!important}
#cardTable table.cdt th:nth-child(7){width:104px!important}
#cardTable table.cdt th:nth-child(8){width:154px!important}
#cardTable table.cdt th:nth-child(9){width:84px!important}
#cardTable table.cdt th:nth-child(3),#cardTable table.cdt td:nth-child(3),#cardTable table.cdt th:nth-child(4),#cardTable table.cdt td:nth-child(4){display:table-cell}
#cardTable table.cdt td:last-child{text-align:center;max-width:none}
#cardTable table.cdt td:nth-child(4){white-space:normal}
#cardTable table.cdt .st2w small{max-width:150px}
#cardTable table.cdt td:nth-child(2){overflow:hidden}
#cardTable table.cdt .prod{min-width:0}#cardTable table.cdt .prod>div{min-width:0}
#cardTable table.cdt .prod b{white-space:normal!important;overflow-wrap:anywhere}
#cardTable table.cdt .cd-cost{width:108px}#cardTable table.cdt .cd-cost input.cell{width:108px!important}
#cardTable table.cdt th .th-sort{white-space:nowrap}
#cardTable table.cdt .cd-cm small{white-space:normal}#cardTable table.cdt td:nth-child(4) .st2{max-width:100%;font-size:12px;padding:0 9px}

/* ---------- 5.2.1: правки по замечаниям ---------- */
/* Наведение на строку — одно на весь кабинет (без оранжевой заливки «Требуют внимания») */
:root{--row-hov:color-mix(in srgb,var(--fill) 55%,transparent)}
html .p-table tbody tr:hover td,html .p-table tbody tr.attn:hover td,html .cl-t2 tbody tr:hover td,html tbody tr:hover td{background:var(--row-hov)!important}
html .p-table tbody tr.attn td{background:transparent!important}
html .p-table tbody tr.selected td,html .cl-t2 tbody tr.selected td{background:color-mix(in srgb,var(--t1) 3%,transparent)!important}
/* Переключатели — синие, как кнопка ПероAI */
.switch input:checked+i{background:var(--accent)!important}
/* Репрайсер: ширина колонок, чтобы поля не наезжали друг на друга */
table.rp-t{table-layout:fixed}
table.rp-t th:nth-child(1){width:56px}table.rp-t th:nth-child(3){width:118px}table.rp-t th:nth-child(4){width:150px}
table.rp-t th:nth-child(5),table.rp-t th:nth-child(6){width:108px}table.rp-t th:nth-child(7){width:96px}table.rp-t th:nth-child(8){width:76px}table.rp-t th:nth-child(9){width:184px}
table.rp-t td:nth-child(9){min-width:0!important}
table.rp-t td input.cell{width:74px!important;max-width:100%}
/* Тумблер валюты справа от заголовка */
.pghead .pgacts .cur-seg{height:40px!important;padding:3px!important;display:inline-flex;align-items:center}
.pghead .pgacts .cur-seg button{height:32px!important;min-width:44px;padding:0 14px!important;font-weight:400!important;text-transform:none!important;letter-spacing:0!important;font-size:14px!important}
/* Вкладки над таблицей: без прокрутки и размытия края; что не влезло — в «Ещё» */
.p-bar>.seg.p-tabs,.p-bar .p-tabs{overflow:hidden!important;-webkit-mask-image:none!important;mask-image:none!important;flex:0 1 auto;min-width:0}
.p-tabs>button.tf-hid{display:none!important}
.p-tabs>button.tf-more .svg{width:12px;height:12px;margin-left:4px}
.p-bar .p-search{flex:0 1 300px;min-width:150px}
/* Колокольчик: крестик в правом верхнем углу, вровень с «Настроить» */
.np .n{padding:12px 10px 12px 16px!important}
.np .n .x{align-self:start;margin:-3px -7px 0 0}
.np .n b{line-height:1.35}
/* Предложение Перо: видимая карточка в стиле окна */
#gdOffer{background:var(--fill)!important;color:var(--t1)!important;border:1px solid var(--border);border-radius:16px!important;box-shadow:0 24px 56px -16px rgba(0,0,0,.5)!important;bottom:104px!important;padding:16px!important}
html:not([data-theme=dark]) #gdOffer{background:#fff!important;box-shadow:0 20px 50px -14px rgba(0,0,0,.2)!important}
#gdOffer p{color:var(--t1)}
/* Кнопка ПероAI чуть выше */
#gdFab{bottom:34px!important}#gdPanel{bottom:100px!important}
@media (max-width:760px){#gdFab{bottom:100px!important}#gdPanel,#gdOffer{bottom:160px!important}}
/* Обзор: главный блок компактный, чтобы отзывам хватало места */
.ov5-hero{padding:14px 22px 6px!important}
/* График рисуется один раз, ровно, без замедлений */
.ov5-chart .ov-line{animation:none!important;stroke-dasharray:none!important;stroke-dashoffset:0!important}
.ov5-chart .ov-rev{transform-box:fill-box;transform-origin:0 50%}
.ov5-chart.anim .ov-rev{animation:ovrev .7s linear both}
.ov5-chart.anim .ov-dot{animation:fade-in .15s .68s both}
@keyframes ovrev{from{transform:scaleX(0)}}
/* FBS на сборке: новые и в поставках */
.fb-sp{display:flex;gap:16px;margin:-4px 0 10px;font-size:13px;color:var(--t2)}
.fb-sp span{display:inline-flex;align-items:center;gap:6px}.fb-sp b{font-weight:450;color:var(--t1)}
.fb-sp i{width:7px;height:7px;border-radius:50%;background:var(--t3)}.fb-sp i.b{background:var(--accent)}
@media (min-width:761px){#content .p-bar{flex-wrap:nowrap!important}#content .p-bar .grow{flex:1 1 0!important;flex-basis:0!important;height:auto!important}#content .p-bar .p-tabs{order:0!important;flex:0 1 auto!important;overflow:hidden!important}#content .p-bar>*:not(.p-tabs):not(.grow):not(.p-search){flex:none}}
.hk small,.hk-need,.hpill{white-space:nowrap}
.hk{gap:24px!important}
.ov5 .ov3-h{flex-wrap:wrap;row-gap:8px}
@media (max-width:1400px){.ov5{grid-template-columns:minmax(0,1fr) 360px}.hk{gap:16px!important}}
/* Таблицы помещаются в окно без прокрутки вбок */
.p-table table{width:100%}
.p-table th.sortable{position:relative}.p-table .th-sort .sort-ar{position:absolute;right:3px;top:50%;transform:translateY(-50%)}
@media (max-width:1400px){.p-table .th-sort{padding:11px 8px!important}}
table.rp-t td:nth-child(2){overflow:hidden}table.rp-t td:nth-child(2) b,table.rp-t td:nth-child(2) .pc-t{overflow-wrap:anywhere}
table.rp-t th:nth-child(5),table.rp-t th:nth-child(6){width:100px}table.rp-t th:nth-child(9){width:176px}
table.rp-t td:nth-child(2) *{overflow-wrap:anywhere;hyphens:auto}
table.rp-t th:nth-child(9){width:168px}

/* ---------- 5.3.0 ---------- */
/* Полужирного нет: заголовки 450–520, текст 380–450 */
b,strong,h2,h3,h4,h5,th{font-weight:450}
.bell b,.nv em{font-weight:450!important}
/* Счётчики в меню — синий кружок с белым числом */
nav.menu .count{margin-left:auto;min-width:22px;height:20px;padding:0 7px;border-radius:10px;background:var(--accent)!important;color:#fff!important;font-size:12px!important;font-weight:450!important;display:inline-grid!important;place-items:center;line-height:1}
/* Одна высота контролов 40 px: справа от заголовка и в строке инструментов */
.pghead .pgacts .seg{height:40px!important;padding:3px!important;display:inline-flex;align-items:center}
.pghead .pgacts .seg button{height:32px!important;padding:0 14px!important}
.pghead .pgacts>.btn,.pghead .pgacts>.pbtn,.pghead .pgacts>button{height:40px!important}
#content .p-bar>.seg,#content .toolbar>.seg{height:40px!important;padding:3px!important;align-items:center}
#content .p-bar>.seg>button,#content .toolbar>.seg>button{height:32px!important}
#content .p-bar>.pbtn,#content .p-bar>.btn,#content .p-bar .search,#content .p-bar .dd-btn,#content .p-bar>span>.pbtn{height:40px!important;min-height:40px!important}
/* Нейтральные аватарки клиентов */
.fc-ava{background:var(--fill-2)!important;color:var(--t2)!important;font-weight:400!important}
/* Отступ под таблицей, чтобы кнопка ПероAI не закрывала действия в последних строках */
.p-table .tablewrap{padding-bottom:64px}
/* Карточки: помещаются в 1280 без прокрутки вбок */
#cardTable table.cdt{min-width:0!important}
@media (max-width:1400px){#cardTable table.cdt th:nth-child(3){width:96px!important}#cardTable table.cdt th:nth-child(4){width:12%!important}#cardTable table.cdt th:nth-child(5){width:92px!important}#cardTable table.cdt th:nth-child(6){width:118px!important}#cardTable table.cdt th:nth-child(7){width:92px!important}#cardTable table.cdt th:nth-child(8){width:140px!important}#cardTable table.cdt th:nth-child(9){width:64px!important}#cardTable table.cdt .cd-cost,#cardTable table.cdt .cd-cost input.cell{width:100px!important}}
/* Товары: колонки фиксированной ширины, таблица не прыгает при смене вкладки */
#prodTable table{table-layout:fixed}
#prodTable th:nth-child(1){width:56px}#prodTable th:nth-child(3){width:124px}#prodTable th:nth-child(4){width:84px}
#prodTable th.wh-col{width:124px}#prodTable th.days-col{width:150px}#prodTable th.cost-col{width:124px}#prodTable th:last-child{width:96px}
#prodTable td:nth-child(2){overflow:hidden}#prodTable td:nth-child(2) *{overflow-wrap:anywhere}
/* Репрайсер: строка итогов не обрезается */
table.rp-t tfoot td{overflow:visible!important}
.np .h a+a{margin-left:12px}
/* Поле даты в формах */
.dfield{display:block}.dfield .dpick{position:relative;display:block}.dfield .dbtn{width:100%;height:40px!important;border-radius:10px!important;justify-content:flex-start;background:var(--fill)!important;border:1px solid var(--border)!important;color:var(--t1)!important;font-weight:400!important}
.dfield.dis{pointer-events:none;opacity:.55}.dfield .cal{z-index:80}

/* ---------- Заказы FBS (дизайн 5) ---------- */
.ff-t .fx{border-bottom:1px solid var(--sep)!important;padding:12px 18px!important;min-height:64px;gap:14px!important}
.ff-t .fx:hover{background:var(--row-hov)!important}.ff-t .fx.sel{background:color-mix(in srgb,var(--t1) 3%,transparent)!important}
.ff-t .fx.h{min-height:44px;padding:0 18px!important;color:var(--t2)!important;font-size:13px!important;cursor:default;background:var(--content)!important;position:sticky;top:0;z-index:3}
.ff-t .fx.h>span:nth-child(n+3){text-align:center!important}
.ff-t .fx>:nth-child(n+3){justify-self:center;text-align:center}
.ff-t .fx .acts{justify-content:center!important}
.ff-t .fx .cl{font-weight:400!important;color:var(--t1)!important;font-size:14.5px!important}
.ff-t .fx .sub{color:var(--t3)!important;font-size:12.5px!important}
.ff-t .fx .qty{font-weight:400!important;font-size:14.5px!important;color:var(--t1)}
.ff-t .fx .qty small{font-weight:400!important;color:var(--t3)!important}
.ff-t .fx .tags span{background:var(--fill)!important;color:var(--t2)!important;border:1px solid var(--sep);font-weight:400!important}
.ff-t .fx .tm{color:var(--t2)!important}
.ff-t .star.on,.fx .star.on{color:var(--yellow)!important}
.urg,.ff-t .st,.ff-t .chip{display:inline-flex!important;align-items:center;gap:7px;height:26px!important;padding:0 11px!important;border-radius:999px!important;border:1px solid var(--border)!important;background:var(--content)!important;color:var(--t1)!important;font-size:12.5px!important;font-weight:400!important;white-space:nowrap}
.urg::before,.ff-t .st::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--t3);flex:none}
.urg.u-g::before{background:var(--green)}.urg.u-y::before{background:var(--yellow)}.urg.u-r::before{background:var(--red)}
.ff-t .st.s2::before{background:var(--accent)}.ff-t .st.s4::before{background:var(--yellow)}.ff-t .st.s3::before,.ff-t .st.s5::before,.ff-t .st.s6::before{background:var(--green)}
.ff-t .chip{color:var(--t3)!important}
.ff-t .mono{font-size:13px;color:var(--t1)}.ff-t .mono button{border:0;background:none;color:var(--t3);cursor:pointer;vertical-align:middle}
.ff-t .ib,.ff-t .acts .btn{width:34px!important;height:34px!important;border-radius:50%!important;border:0!important;background:transparent!important;color:var(--t2)!important;display:inline-grid!important;place-items:center;padding:0!important}
.ff-t .ib:hover,.ff-t .acts .btn:hover{background:var(--fill)!important;color:var(--t1)!important}
.ff-t .ib.open{background:var(--fill)!important;color:var(--t1)!important}
.ff-t .ff-ord,.ff-t .ff-item,.ff-t .ff-inner{border-color:var(--sep)!important}
.ff-t .ff-inner{background:color-mix(in srgb,var(--fill) 45%,transparent)!important}
.ff-offbtn .rdot{width:8px;height:8px;border-radius:50%;background:var(--red);flex:none}.ff-offbtn .rdot.off{background:var(--t3)}
.ff-offbtn{gap:9px!important;height:40px!important}.ff-offbtn .n{color:var(--t3)!important;background:none!important;padding:0!important;margin:0!important;font-weight:400!important}
.off-menu{min-width:240px;padding:6px}.off-menu button{display:flex!important;align-items:center;gap:10px;width:100%;height:38px;padding:0 10px!important;border-radius:9px;font-size:14px}
.off-menu button.on{background:var(--fill)}.off-menu i{width:8px;height:8px;border-radius:50%;background:var(--red);flex:none}.off-menu i.off{background:var(--t3)}
.off-menu em{margin-left:auto;font-style:normal;color:var(--t3)}.off-menu .svg{width:14px;height:14px;color:var(--accent-t)}.off-menu b{width:14px}

/* ---------- Поставки FBW (дизайн 5) ---------- */
.fw-t.fw-wrap{display:block!important;position:relative}
.fw-t .fw-main{height:100%;border:1px solid var(--sep)!important;border-radius:14px!important;background:var(--content)!important}
.fw-t .fw-side{position:absolute!important;right:0;top:0;bottom:0;width:380px;z-index:6;background:var(--content)!important;border:1px solid var(--border)!important;border-radius:14px!important;box-shadow:-24px 0 48px -24px rgba(0,0,0,.28)!important}
.fw-attb{gap:6px}.fw-attb .n{color:var(--t3);margin-left:4px}.fw-attb.on{background:var(--accent-bg)!important;border-color:var(--accent)!important;color:var(--accent-t)!important}
.fw-t .fc-h{background:var(--content)!important;border-color:var(--sep)!important}.fw-t .fc-h:hover{background:var(--fill)!important}
.fw-t .fc-h b{font-weight:450!important;color:var(--t1)!important}.fw-t .fc-h span,.fw-t .fc-h small{color:var(--t3)!important}
.fw-t .fc-h.today b,.fw-t .fc-h.today span{color:var(--accent-t)!important}
.fw-t .fc-load{background:var(--fill-2)!important}
.fw-t .fc-c.past{background:color-mix(in srgb,var(--fill) 40%,transparent)!important}
.fw-t .fc-pill,.fw-t .fc-pill.s-nobox,.fw-t .fc-pill.s-nopass{height:30px!important;border-radius:999px!important;border:1px solid var(--border)!important;background:var(--content)!important;color:var(--t1)!important;padding:0 10px!important;box-shadow:none!important}
.fw-t .fc-pill:hover{background:var(--fill)!important}
.fw-t .fc-pill .nm{font-weight:400!important}.fw-t .fc-pill .bx{color:var(--t3)!important}
.fw-t .fc-coef{color:var(--t3)!important;font-weight:400!important}.fw-t .fc-coef.free{color:var(--green)!important}
.fc-badge,.fc-iss{border-radius:999px!important;font-weight:400!important;border:1px solid var(--border)!important;background:var(--content)!important;color:var(--t1)!important}
.fc-badge,.fc-iss{display:inline-flex!important;align-items:center;gap:6px;height:26px;padding:0 10px!important;font-size:12.5px!important;white-space:nowrap}
.fc-badge::before,.fc-iss::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--t3);flex:none}
.fc-badge.w::before,.fc-iss.w::before{background:var(--yellow)}.fc-badge.b::before,.fc-iss.b::before{background:var(--red)}
.fw-t .fc-leg{color:var(--t2)!important}
.fw-t .pill-n{background:var(--fill)!important;color:var(--t2)!important;font-weight:400!important}

/* ---------- Клиенты (дизайн 5) ---------- */
.cl-wrap{display:block!important;position:relative}
.cl-wrap .cl-main{height:100%;border:1px solid var(--sep)!important;border-radius:14px!important}
.cl-wrap .cl-drw{display:none!important}
.cl-wrap.open .cl-drw{display:flex!important;flex-direction:column;position:absolute!important;right:0;top:0;bottom:0;width:420px;z-index:6;background:var(--content)!important;border:1px solid var(--border)!important;border-radius:14px!important;box-shadow:-24px 0 48px -24px rgba(0,0,0,.28)!important;overflow:auto}
.cl-t2 th{color:var(--t2)!important;font-weight:400!important}
.cl-t2 td{height:66px}
.cl-t2 .cl-who{display:flex;align-items:center;gap:12px}
.cl-t2 .cl-who b{font-weight:400!important;display:flex;align-items:center;gap:6px}.cl-t2 .cl-who small{color:var(--t3)!important}
.cl-t2 .star,.cd-h .star{border:0;background:none;color:var(--t3);font-size:14px;cursor:pointer;padding:0 2px;opacity:0;transition:opacity .15s}
.cl-t2 tr:hover .star,.cl-t2 .star.on{opacity:1}.cl-t2 .star.on{color:var(--yellow)}
.cl-t2 .cl-n{font-weight:400!important;display:block}.cl-t2 .cl-s{color:var(--t3)!important;font-weight:400!important}
.cl-t2 .cl-w{font-weight:400!important;display:block;margin-bottom:4px}
.cl-pill{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px;border-radius:999px;border:1px solid var(--border);font-size:12px;color:var(--t1);white-space:nowrap}.cl-pill i{width:7px;height:7px;border-radius:50%}
.cl-t2 .sdot{flex-direction:column;align-items:center!important;gap:4px!important}
.cl-t2 .sdot>span{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 11px;border-radius:999px;border:1px solid var(--border);font-size:12.5px;position:relative}
.cl-t2 .sdot>span small{position:absolute;top:30px;left:50%;transform:translateX(-50%);white-space:nowrap;color:var(--t3)!important;font-size:11.5px}
.cl-t2 .sdot{display:inline-flex!important;position:relative;padding-bottom:16px}
.cl-t2 .sdot>i{display:none}
.cl-t2 .sdot>span::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--t3)}
.cl-t2 .sdot.ok>span::before{background:var(--green)}.cl-t2 .sdot.warn>span::before{background:var(--yellow)}.cl-t2 .sdot.bad>span::before{background:var(--red)}
.cl-t2 .chip.own{background:var(--accent-bg)!important;color:var(--accent-t)!important;border:0;font-size:11.5px;padding:2px 8px;border-radius:999px;font-weight:400}
.cl-drw .cd-h{padding:20px 18px 16px 22px!important;border-bottom:1px solid var(--sep)!important;gap:10px!important}
.cl-drw .cd-h b{font-weight:450!important;font-size:16px}.cl-drw .cd-h small{color:var(--t2)!important}
.cl-drw .cd-sec{padding:16px 22px!important;border-bottom:1px solid var(--sep)!important}
.cl-drw .cd-t{color:var(--t2)!important;font-size:13px!important;font-weight:400!important}
.cl-drw .ib{width:32px;height:32px;border-radius:50%;border:0;background:var(--fill);color:var(--t2);display:grid;place-items:center;flex:none}
.cl-drw .cd-add{border:1px dashed var(--border)!important;border-radius:12px!important;color:var(--accent-t)!important;background:transparent!important}

/* ---------- Счета (дизайн 5) ---------- */
.inv-t2 td{height:62px}.inv-t2 th{font-weight:400!important;color:var(--t2)!important}
.inv-t2 .iv-no,.inv-t2 .iv-cl b,.inv-t2 .iv-sum b{font-weight:400!important}
.inv-t2 .iv-no small,.inv-t2 .iv-cl small{display:block;color:var(--t3)!important;font-size:12.5px;margin-top:3px}
.inv-t2 .iv-sum.bad b{color:var(--red)}
.inv-t2 .sdot{display:inline-flex!important;flex-direction:column;align-items:center!important;gap:4px!important}
.inv-t2 .sdot>i{display:none}
.inv-t2 .sdot>span{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 11px;border-radius:999px;border:1px solid var(--border);font-size:12.5px;position:relative;margin-bottom:16px}
.inv-t2 .sdot>span small{position:absolute;top:30px;left:50%;transform:translateX(-50%);white-space:nowrap;color:var(--t3)!important;font-size:11.5px}
.inv-t2 .sdot>span::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--t3)}
.inv-t2 .sdot.ok>span::before{background:var(--green)}.inv-t2 .sdot.warn>span::before{background:var(--yellow)}.inv-t2 .sdot.bad>span::before{background:var(--red)}
.p-tabs .n.red{color:var(--red)!important}
.inv-sec,.inv-card,.inv-side{border-color:var(--sep)!important;border-radius:14px!important}
.inv-top b{font-weight:450!important;font-size:22px}
.btn .svg.bird{width:17px;height:17px;fill:currentColor;stroke:none}

/* ---------- Настройки (дизайн 5) ---------- */
.set-lay{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start;padding-bottom:60px}
.set-nav{position:sticky;top:84px;display:flex;flex-direction:column;gap:2px}
.set-nav a{height:36px;display:flex;align-items:center;padding:0 12px;border-radius:999px;font-size:14px;color:var(--t1);text-decoration:none}
.set-nav a:hover{background:var(--fill)}.set-nav a.on{background:var(--fill-2)}
.set-col{min-width:0;max-width:880px}
.set-sec{scroll-margin-top:84px!important;margin:0 0 22px!important;padding:0!important;border:1px solid var(--sep)!important;border-radius:14px!important;box-shadow:none!important;overflow:visible;scroll-margin-top:16px}
.set-sec>.panel-head{margin:0!important;padding:16px 20px!important;border-bottom:1px solid var(--sep)}
.set-sec>.panel-head h2{font-size:15px!important;font-weight:450!important;margin:0}.set-sec>.panel-head p{color:var(--t3)!important;font-size:12.5px;margin:2px 0 0}
.set-sec>*:not(.panel-head){margin-left:20px!important;margin-right:20px!important}
.set-sec>*:last-child{margin-bottom:18px!important}
.set-sec>.panel-head+*{margin-top:14px!important}
.set-sec .setting{padding:14px 20px!important;border-top:1px solid var(--sep)!important;margin:0!important;display:flex;align-items:center;gap:16px}
.set-sec .setting>div:first-child{flex:1;min-width:0}
.set-sec .setting>.switch,.set-sec .setting>label,.set-sec .setting>select,.set-sec .setting>.with-btn{flex:none;margin:0!important}
.set-sec .panel-head+.setting{border-top:0!important}
.set-sec .setting b{font-weight:400!important}.set-sec .setting p{color:var(--t3)!important;font-size:12.5px}
.set-sec .status-card{background:var(--fill)!important;border:1px solid var(--sep)!important;border-radius:12px!important;color:var(--t1)!important}
.set-sec .status-card .svg{color:var(--green)!important}
.set-sec dl.kv dt{color:var(--t2)!important;font-weight:400!important}.set-sec dl.kv dd{font-weight:400!important}
.set-sec .scope{font-weight:400!important}
@media (max-width:1100px){.set-lay{grid-template-columns:1fr}.set-nav{display:none}}
/* ---------- Админка ---------- */
.adm-bar{margin-bottom:16px!important}
#admPanel{padding:0!important;border:1px solid var(--sep)!important;border-radius:14px!important;box-shadow:none!important;overflow:hidden}
#admPanel #admBody{padding:0}
#admPanel table th{font-weight:400!important;color:var(--t2)!important}

/* ---------- Редактор карточки (дизайн 5) ---------- */
#dialog.ed-dlg{width:min(1180px,calc(calc(100vw * var(--zi,1)) - 48px))!important;max-width:none!important;padding:0!important;border-radius:18px!important;background:var(--content)!important;border:1px solid var(--border)!important}
.ed-h{display:flex;align-items:center;gap:14px;padding:18px 22px;border-bottom:1px solid var(--sep);position:sticky;top:0;background:var(--content);z-index:3}
.ed-th{width:44px;height:44px;border-radius:10px;overflow:hidden;background:var(--fill);display:grid;place-items:center;color:var(--t3);flex:none}.ed-th img{width:100%;height:100%;object-fit:cover}
.ed-tt{min-width:0;flex:1}.ed-tt b{display:block;font-weight:450;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ed-tt small{display:block;color:var(--t2);font-size:13px;margin-top:2px}
.ed-st{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 12px;border-radius:999px;border:1px solid var(--border);font-size:13px;white-space:nowrap}.ed-st i{width:7px;height:7px;border-radius:50%;background:var(--t3)}
.ed-st.g i{background:var(--green)}.ed-st.b i{background:var(--accent)}.ed-st.y i{background:var(--yellow)}
.ed-nav{display:inline-flex;align-items:center;gap:6px;color:var(--t2);font-size:13.5px;white-space:nowrap}
.ed-nav button,.ed-x{width:32px;height:32px;border-radius:50%;border:0;background:var(--fill);color:var(--t1);display:grid;place-items:center;cursor:pointer}.ed-nav button:disabled{opacity:.4;cursor:default}
.ed-pero{display:flex;align-items:center;gap:10px;margin:14px 22px 0;height:46px;padding:0 6px 0 12px;border:1px solid var(--border);border-radius:999px;background:var(--fill)}
.ed-pero input{flex:1;border:0;background:transparent;font:inherit;font-size:14px;color:var(--t1);outline:0}
.ed-pero .btn{height:34px!important;border-radius:999px!important}
#edChat:empty{display:none}
.ed-chat{margin:12px 22px 0;border:1px solid var(--border);border-radius:16px;padding:14px 16px;background:var(--content);box-shadow:0 12px 30px -18px rgba(0,0,0,.25)}
.ec-h{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--t2)}.ec-h b{font-weight:450;color:var(--t1)}.ec-h .svg{color:var(--accent)}
.ec-h button{margin-left:auto;width:28px;height:28px;border-radius:50%;border:0;background:var(--fill);color:var(--t2);display:grid;place-items:center;cursor:pointer}
.ec-me{margin:12px 0 10px auto;width:max-content;max-width:70%;background:var(--accent);color:#fff;padding:9px 14px;border-radius:16px 16px 4px 16px;font-size:14px}
.ec-ai{display:flex;gap:10px;align-items:flex-start;font-size:14px}.ec-ai>div{flex:1;min-width:0}.ec-ai p{margin:4px 0 10px}.ec-ai.bad p{color:var(--red)}
.ec-list{border:1px solid var(--sep);border-radius:12px;overflow:hidden}
.ec-row{display:grid;grid-template-columns:160px 1fr;gap:12px;padding:10px 12px;align-items:baseline}.ec-row+.ec-row{border-top:1px solid var(--sep)}.ec-row small{grid-column:1/-1;color:var(--t3)}
.ec-f{color:var(--t2);font-size:13px}.ec-v s{color:var(--t3);margin-right:8px}.ec-v b{font-weight:400;background:color-mix(in srgb,var(--green) 14%,transparent);border-radius:5px;padding:1px 5px}
.ec-acts{display:flex;gap:8px;margin-top:12px}
#editForm .field.will input,#editForm .field.will textarea{border-color:var(--accent)!important;box-shadow:0 0 0 3px var(--accent-bg)!important}
#editForm .field.will>span::after{content:'будет изменено';margin-left:8px;font-size:11.5px;color:var(--accent-t)}
.ed-dlg .missing{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border:1px solid var(--border)!important;background:var(--content)!important;border-radius:999px!important;padding:5px 6px 5px 14px!important;font-size:13.5px;width:max-content;max-width:100%;color:var(--t1)!important}
.ed-dot{width:7px;height:7px;border-radius:50%;background:var(--yellow);flex:none}
.ed-dlg .editor{gap:24px!important}
.ed-dlg .editor section{border:1px solid var(--sep)!important;border-radius:14px!important;padding:16px 18px!important;margin-bottom:16px!important;background:var(--content)!important}
.ed-dlg .editor h3{font-size:15px!important;font-weight:450!important;margin:0 0 12px!important}
.ed-dlg .field>span{color:var(--t2);font-size:13px}.ed-dlg .src{background:var(--accent-bg)!important;color:var(--accent-t)!important;border-radius:999px!important;font-weight:400!important;font-size:11px!important;padding:1px 7px!important}
.ed-dlg input.need,.ed-dlg textarea.need{border-color:color-mix(in srgb,var(--yellow) 60%,var(--border))!important}
.ed-cur{position:relative;display:block}.ed-cur input{width:100%;padding-right:40px!important}.ed-cur em{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-style:normal;color:var(--t3);font-size:13.5px}
.ed-dlg .dlg-foot{position:sticky;bottom:0;background:var(--content);border-top:1px solid var(--sep);padding:14px 22px!important;align-items:center}
.ed-kb{color:var(--t3);font-size:12.5px;margin-left:12px}
.ed-pub{gap:8px}.ed-pub.dim{opacity:.5}.ed-pub .svg.bird{width:17px;height:17px;fill:#fff;stroke:none}
.ed-pero input{border:0!important;background:transparent!important;box-shadow:none!important;height:40px!important;padding:0!important;min-width:0}
/* FBW: календарь помещается в окно 1280 без прокрутки вбок */
.fw-t .fc-week{grid-template-columns:132px repeat(7,minmax(0,1fr))!important;min-width:0!important}
.fw-t .fc-pill{min-width:0}
@media (max-width:1400px){#cardTable table.cdt th:nth-child(3){width:90px!important}#cardTable table.cdt th:nth-child(8){width:130px!important}#cardTable table.cdt th:nth-child(6){width:112px!important}#cardTable table.cdt .cd-cost,#cardTable table.cdt .cd-cost input.cell{width:96px!important}}
#cardTable .tablewrap,#prodTable .tablewrap,#protTable .tablewrap{overflow-x:hidden!important}

/* ---------- 5.3.1 ---------- */
/* «Растяжка» в строке инструментов: всё после неё — справа */
#content .p-bar>.air,#content .p-bar>.fw-air,#content .p-bar>.grow{flex:1 1 0!important;min-width:0}
.prod .rk-nm{color:var(--t2)!important}
/* Пункты меню при наведении: серый фон, текст остаётся тёмным (в тёмной теме — светлым) */
.pop-menu button:hover,.pop-menu a:hover,.pop-menu [role=menuitem]:hover{background:var(--fill)!important;color:var(--t1)!important}
.pop-menu button:disabled,.pop-menu button[disabled]{color:var(--t3)!important;background:transparent!important}
.pop-menu button:hover .svg{color:var(--t1)!important}
/* Товары: чекбокс по центру первой колонки */
#prodTable th:first-child,#prodTable td:first-child,#protTable th:first-child,#protTable td:first-child,#rkTable th:first-child,#rkTable td:first-child{text-align:center!important;padding-left:0!important;padding-right:0!important}
.dd-menu button:hover{background:var(--fill)!important;color:var(--t1)!important}
.ff-t .fx.h:hover{background:var(--content)!important}
/* Островок: отблеск по контуру появляется, проходит пару кругов и затухает; мягкое свечение вокруг, как у Gemini */
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar::before{animation:isl-spin 1.8s cubic-bezier(.45,.05,.55,.95) 1,isl-once 1.8s linear forwards!important;opacity:0}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar.still::before{animation:none!important;opacity:0}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar::after{display:block!important;content:''!important;position:absolute!important;inset:-1px!important;padding:0!important;border-radius:999px!important;z-index:1!important;pointer-events:none;background:transparent!important;-webkit-mask:none!important;mask:none!important;filter:none!important;box-shadow:0 0 0 1px rgba(10,132,255,.55),0 0 10px 1px rgba(10,132,255,.55),0 0 26px 4px rgba(10,132,255,.32)!important;opacity:0;animation:isl-once 1.8s linear forwards!important;transform:none!important}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar.still::after{animation:none!important;opacity:0}
@keyframes isl-fade2{0%{opacity:0}18%{opacity:.95}65%{opacity:.8}100%{opacity:0}}
@keyframes isl-once{0%{opacity:0}8%{opacity:.95}82%{opacity:.9}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar::before,:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar::after{animation:none!important;opacity:0!important}}
/* Круглые кнопки-иконки — ровный круг */
.pbtn.sq,.btn.icon-only,.ff-t .ib,.bell,.ed-nav button,.ed-x,.xb,.ec-h button,.cl-drw .ib{aspect-ratio:1/1!important;padding:0!important;justify-content:center;flex:none!important;border-radius:50%!important}
.pbtn.sq{width:40px!important;min-width:40px!important;height:40px!important}
.ov3-h .pbtn.sq{width:36px!important;min-width:36px!important;height:36px!important}
.btn.icon-only{width:auto!important;min-width:0!important}
/* Пустая строка плашек не занимает места */
.status-line.nempty{display:none!important}
/* Выбранный пункт меню — заметнее */
.nav.on,.nav.active,nav.menu .nav.on{background:rgba(0,0,0,.085)!important}
html[data-theme=dark] .nav.active,html[data-theme=dark] .nav.on{background:rgba(255,255,255,.10)!important}
/* Обзор без общей прокрутки */
.ov5{margin-bottom:0!important}
.ov5{min-height:300px!important}.ov5-l .ov3-fb{min-height:120px!important}.ov5-feed{min-height:120px}
table.rp-t th:nth-child(8){width:96px!important}
@media (max-width:1400px){table.rp-t th:nth-child(3){width:100px!important}table.rp-t th:nth-child(4){width:124px!important}table.rp-t th:nth-child(5),table.rp-t th:nth-child(6){width:88px!important}table.rp-t th:nth-child(7){width:76px!important}table.rp-t th:nth-child(8){width:92px!important}table.rp-t th:nth-child(9){width:146px!important}table.rp-t td input.cell{width:70px!important}}
table.rp-t td:nth-child(2) .prod b,table.rp-t td:nth-child(2) b{white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:1400px){table.rp-t th:nth-child(4){width:116px!important}table.rp-t th:nth-child(7){width:72px!important}table.rp-t th:nth-child(9){width:162px!important}table.rp-t td input.cell[placeholder="авто"]{width:60px!important}table.rp-t .stc .st2{font-size:12px!important;padding:0 9px!important}}
table.rp-t td:nth-child(2) .prod{min-width:0!important;max-width:100%}table.rp-t td:nth-child(2) .prod>div{min-width:0!important;flex:1 1 auto}table.rp-t td:nth-child(2) b{word-break:break-word}

/* ---------- 5.4.0 Обзор: лента сверху, FBS снизу, отвеченные отзывы ---------- */
.ov5-r .ov5-feed{order:0}.ov5-r .ov5-fbs{order:1}
.ov5-feed .seg.sm button em{font-style:normal;color:var(--t3);margin-left:5px;font-size:11.5px}
.ov5-feed .seg.sm button.on em{color:var(--t2)}
.fd-k{font-size:11.5px;color:var(--red);margin-left:2px}
.ov5-fbs{padding:16px 20px!important}
.ov5-fbs .w-head{margin-bottom:4px!important}
.fb-n{margin:0 0 4px!important}.fb-n b{font-size:32px!important;font-weight:350}
.fb-sp{margin:0 0 10px!important;white-space:nowrap}
.fb-bar{display:flex;gap:2px;height:6px;border-radius:3px;overflow:hidden;background:var(--fill-2)}
.fb-bar i{display:block;height:100%;min-width:4px}
.fb-lg{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px;font-size:12.5px;color:var(--t2)}
.fb-lg span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.fb-lg i{width:7px;height:7px;border-radius:50%}
.ov5-fbs .fb-old{margin-top:10px;padding-top:10px;padding-right:60px}
.ov3-none{color:var(--t2);font-size:13.5px;padding:16px 20px;margin:0}
.ov5 .ov3-cap{padding:14px 20px 6px!important;color:var(--t3)!important;font-size:12px;border-bottom:1px solid var(--sep)}
.ov3-done{display:flex;gap:12px;padding:10px 20px;border-bottom:1px solid var(--sep);color:var(--t2)}
.ov3-done .ov3-im{width:32px!important;height:32px!important;border-radius:8px!important;opacity:.75}
.ov3-done .ov3-rh b{font-weight:400;font-size:13px;color:var(--t2)}
.ov3-done .ov3-st{opacity:.6}
.ov3-done p{margin:2px 0 4px!important;font-size:13px!important;color:var(--t2)!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ov3-done .ov3-a{font-size:12.5px;color:var(--t3);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.ov3-done .ov3-a em{font-style:normal;color:var(--warn)}
.ov3-done .ov3-a::before{content:'Ответ: ';color:var(--t3)}
/* Строка «Обновлено …»: при наведении — «Обновить» */
.upd-go{display:none;align-items:center;gap:5px;color:var(--accent-t);margin-left:4px}
.upd-go .svg{width:14px;height:14px}
.upd:hover .upd-go{display:inline-flex}
/* Шапка Обзора ужимается на узком окне и ничего не наезжает */
.ov5-hero{container-type:inline-size}
.hero-main{flex:1 1 auto;overflow:hidden}.hero-top .hk{flex:none}
@container (max-width:900px){.hero-n{font-size:32px}.hero-sum{font-size:15px}.hero-top{gap:14px}.hk{gap:14px!important}.hk b{font-size:15px}.hk small{font-size:12px}}
@container (max-width:760px){.hero-s .hpill{display:none}}
/* ---------- 5.5.1 Пульт: строка «Ждём токен» — кнопка у правого края ---------- */
tr.pend .pc2{display:flex;align-items:center;gap:12px}tr.pend .pc2 .btn{margin-left:auto}
/* Окно «Отчёт владельцу» */
#dialog.wide:has(.or-b){width:min(680px,calc(calc(100vw * var(--zi,1)) - 32px))}
.or-row{display:flex;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.sel-wrap{position:relative;display:inline-flex;align-items:center;gap:8px;height:36px;border:1px solid var(--border);border-radius:999px;background:var(--fill);padding:0 12px}
.sel-wrap select{appearance:none;border:0;background:none;font:inherit;font-size:13.5px;color:var(--t1);padding-right:16px;cursor:pointer;max-width:240px}
.sel-wrap>.svg{position:absolute;right:10px;width:12px;height:12px;color:var(--t3);pointer-events:none}
.or-own{margin-left:auto;font-size:13px}
.or-prv{border:1px solid var(--sep);border-radius:14px;background:var(--fill);padding:14px 16px;font-size:13.5px;line-height:1.5}
.or-prv h4{margin:0 0 8px;font-weight:450;font-size:14.5px}
.or-g4{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:8px 0 12px}.or-g4 div{background:var(--content);border-radius:10px;padding:8px 10px;min-width:0}
.or-g4 small{display:block;color:var(--t2);font-size:11.5px}.or-g4 b{font-weight:400;font-size:15px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.or-h{font-weight:450}.or-prv ul{margin:4px 0 10px;padding-left:18px}.or-prv li{margin:2px 0}
.or-l{display:block;margin-top:10px;font-size:13px}.or-l textarea{margin-top:5px;width:100%;resize:vertical;min-height:52px;font-size:13.5px}
.or-note{margin:10px 0 0;font-size:12px;color:var(--t2)}
.or-links{margin-top:12px;font-size:13px}.or-links summary{cursor:pointer;color:var(--t2)}
.or-li{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--sep)}.or-li>span:first-child{flex:1;min-width:0}.or-li b{font-weight:450}
.or-f{align-items:center}.or-f small{font-size:12.5px}
.sel-wrap select{border:0!important;background:none!important;background-image:none!important;height:34px!important;min-height:0!important;box-shadow:none!important;padding:0 18px 0 0!important;border-radius:0!important;width:auto!important}
.or-row .or-own{font-size:12.5px}
.or-sel{max-width:260px}
/* Шапка таблиц Товаров, Репрайсера, Карточек, Рекламы и FBS: темнее строк, закреплена при прокрутке, с разделителями колонок */
.p-table th{position:sticky!important;top:0;z-index:2;background:var(--fill)!important}
.p-table th+th{box-shadow:inset 1px 0 0 var(--sep)}
.ff-t .fx.h{background:var(--fill)!important}
.ff-t .fx.h>span{position:relative;align-self:stretch;display:flex!important;align-items:center}
.ff-t .fx.h>span:nth-child(n+3){justify-self:stretch!important;justify-content:center}
.ff-t .fx.h>span::before{content:'';position:absolute;left:-7px;top:0;bottom:0;width:1px;background:var(--border);opacity:.7}
.ff-t .fx.h>input{align-self:center}
/* 5.6.0 Товары → «Можно улучшить»: подсказки под названием товара */
#prodTable .p-iss{display:flex!important;flex-wrap:wrap;gap:6px;margin:6px 0 0 52px}#prodTable .p-iss span{display:inline-block!important;width:auto!important}
#prodTable .p-iss span{background:var(--warn-bg);color:var(--warn);font-size:12px;border-radius:7px;padding:2px 8px}
/* FBW: галочки в списке шагов — ровные круги (не плашка «Всё в порядке» из Пульта) */
.chk .ok2,.chk .no2{width:22px!important;height:22px!important;padding:0!important;border-radius:50%!important;display:grid!important;place-items:center;flex:none;font-size:0}
.chk .ok2{background:var(--green)!important;color:#fff!important;border:0}
.chk .ok2 .svg{width:13px;height:13px;color:#fff}
.chk .no2{background:var(--content)!important;border:1.5px solid var(--border)!important}
/* FBW: товары поставки — таблица как в Товарах */
.fw-tw{margin:0 -18px -18px!important;border-top:1px solid var(--sep)!important;max-height:none!important}
table.fw-t{width:100%;border-collapse:separate;border-spacing:0;font-size:13.5px}
table.fw-t th{position:sticky;top:0;z-index:2;background:var(--fill)!important;height:42px;padding:0 12px;font-size:12.5px;color:var(--t2)!important;font-weight:400!important;text-align:center;white-space:nowrap;border-bottom:1px solid var(--sep)!important}
table.fw-t th+th{box-shadow:inset 1px 0 0 var(--sep)}
table.fw-t th.l,table.fw-t td.l{text-align:left}
table.fw-t td{padding:10px 12px;border-bottom:1px solid var(--sep);text-align:center;vertical-align:middle}
table.fw-t tr:last-child td{border-bottom:0}
table.fw-t tr:hover td{background:var(--row-hov)}
table.fw-t .fw-p{display:flex;align-items:center;gap:12px;min-width:0}.fw-p .t{min-width:0}.fw-p .t b{display:block;font-weight:400;line-height:1.35}.fw-p small{display:block;color:var(--t3);font-size:12px;margin-top:2px}
table.fw-t td.bc{font-family:"Medeo Mono",ui-monospace,monospace;font-size:13px;white-space:nowrap}
table.fw-t td.vc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}
table.fw-t{table-layout:fixed}
table.fw-t .q b{font-weight:400;font-size:15px}table.fw-t .q small{display:block;color:var(--t3);font-size:12px}
table.fw-t .ib{width:34px;height:34px;border-radius:50%;border:0;background:transparent;color:var(--t2);display:inline-grid;place-items:center;cursor:pointer}table.fw-t .ib:hover{background:var(--fill);color:var(--t1)}
/* Карточки: длинный артикул не вылезает в соседние колонки */
.cdt .cd-art{max-width:150px;margin:0 auto;min-width:0}
.cdt .cd-art b{overflow:hidden;text-overflow:ellipsis}
.cdt .cd-cost input{padding-right:12px!important}
/* Уведомления: аккуратная круглая кнопка закрытия */
.notice>.x,.status-line .notice>.x{width:24px!important;height:24px!important;min-width:24px;padding:0!important;border-radius:50%!important;border:0!important;background:var(--fill)!important;color:var(--t2)!important;display:grid!important;place-items:center;opacity:1!important;margin:0 0 0 6px!important;cursor:pointer}
.notice>.x:hover,.status-line .notice>.x:hover{background:var(--fill-2)!important;color:var(--t1)!important}
.notice>.x .svg,.status-line .notice>.x .svg{width:11px!important;height:11px!important;stroke-width:2.2}

/* 5.7.0 · редактор карточек: шапка без чата, ПероAI сбоку, фото */
.ce-top{gap:12px;padding:14px 16px 12px 18px}
.ce-ph0{width:40px;height:53px;border-radius:9px;object-fit:cover;flex:none;background:#f1f2f5}
.ce-title{min-width:0;flex:0 1 auto}.ce-title b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:520px;font-size:16.5px}
.ce-title span em{font-style:normal;color:var(--brand)}
.ce-nav{display:flex;align-items:center;gap:4px;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.ce-nav .ib{width:30px;height:30px;border-radius:9px;border:0;background:#f3f4f7;display:grid;place-items:center;cursor:pointer;color:var(--ink)}
.ce-nav .ib:disabled{opacity:.35;cursor:default}.ce-nav span{min-width:62px;text-align:center}
.ce-pbtn{gap:6px}.ce-pbtn .svg{color:var(--brand)}.ce-pbtn.on{background:#f1efff;color:var(--brand);box-shadow:inset 0 0 0 1px #dcd7ff}
.ce.with-pero .ce-body{grid-template-columns:260px minmax(0,1fr) 340px}
.ce.with-pero .ce-body.one{grid-template-columns:minmax(0,1fr) 360px}
.ce-pero{border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;background:#fbfbfd}
.cp-h{display:flex;align-items:center;gap:8px;padding:12px 12px 10px 16px;border-bottom:1px solid var(--line);font-size:14px}.cp-h>.svg{color:var(--brand)}.cp-h .ce-x{margin-left:auto}
.ce-x.sm{width:28px;height:28px}
.cp-log{flex:1;overflow:auto;padding:14px 14px 6px;display:flex;flex-direction:column;gap:8px}
.cp-m{max-width:92%;padding:9px 12px;border-radius:13px 13px 13px 4px;background:#fff;box-shadow:inset 0 0 0 1px #eceef3;font-size:13.5px;line-height:1.45;color:var(--ink);white-space:pre-wrap}
.cp-m.me{align-self:flex-end;background:var(--brand);color:#fff;box-shadow:none;border-radius:13px 13px 4px 13px}
.cp-m.wait{display:flex;align-items:center;gap:8px;color:var(--muted)}
.cp-chips{display:flex;flex-wrap:wrap;gap:6px;padding:4px 14px 10px}
.cp-chips .chip{border:0;background:#fff;box-shadow:inset 0 0 0 1px #e4e1ff;color:var(--brand);border-radius:99px;padding:6px 11px;font:inherit;font-size:12.5px;cursor:pointer;text-align:left}
.cp-chips .chip:hover{background:#f4f2ff}
.cpx-in{display:flex;flex-direction:column;gap:8px;padding:10px 12px 12px;border-top:1px solid var(--line)}
.cpx-in textarea{width:100%;border:0;border-radius:11px;background:#fff;box-shadow:inset 0 0 0 1px #e4e1ff;padding:9px 11px;font:inherit;font-size:13.5px;resize:none;outline:0;min-height:58px}
.cpx-in textarea:focus{box-shadow:inset 0 0 0 1.5px var(--brand)}.cpx-in .btn{align-self:flex-end}
.ce-phs{display:flex;flex-wrap:wrap;gap:10px}
.ce-phi{position:relative;width:96px;height:128px;border-radius:11px;overflow:hidden;background:#f1f2f5;box-shadow:inset 0 0 0 1px #eceef3}
.ce-phi img{width:100%;height:100%;object-fit:cover;display:block}
.ce-phi.new{box-shadow:0 0 0 2px #9ccbff}
.ce-phi em{position:absolute;left:6px;top:6px;font-style:normal;font-size:10.5px;padding:2px 6px;border-radius:6px;background:rgba(255,255,255,.92);color:var(--ink)}
.ce-phi em.nw{background:var(--brand);color:#fff}
.ce-pha{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:center;gap:4px;padding:6px;background:linear-gradient(transparent,rgba(0,0,0,.45));opacity:0;transition:opacity .15s}
.ce-phi:hover .ce-pha,.ce-phi:focus-within .ce-pha{opacity:1}
.ce-pha button{width:26px;height:26px;border-radius:8px;border:0;background:rgba(255,255,255,.95);display:grid;place-items:center;cursor:pointer;color:var(--ink)}
.ce-pha button:disabled{opacity:.4;cursor:default}
.ce-phadd{width:96px;height:128px;border-radius:11px;border:1.5px dashed #cfd3dc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--muted);font-size:12.5px;cursor:pointer}
.ce-phadd:hover{border-color:var(--brand);color:var(--brand)}
.ce-tip{font-size:12px;color:#b26b00;margin-left:6px}
:where(html[data-theme=dark]) .ce-pero{background:#181818}
:where(html[data-theme=dark]) .cp-m{background:#222;box-shadow:inset 0 0 0 1px #2c2c2c}
:where(html[data-theme=dark]) .cp-m.me{background:var(--brand);color:#fff}
:where(html[data-theme=dark]) .cp-chips .chip,:where(html[data-theme=dark]) .cpx-in textarea{background:#202020;box-shadow:inset 0 0 0 1px rgba(81,61,255,.3);color:var(--ink)}
:where(html[data-theme=dark]) .cp-chips .chip{color:var(--brand-text)}
:where(html[data-theme=dark]) .ce-nav .ib,:where(html[data-theme=dark]) .ce-phi{background:#222}
:where(html[data-theme=dark]) .ce-pbtn.on{background:#262340;color:var(--brand-text);box-shadow:none}
.chips .chip.brand{display:inline-flex;align-items:center;gap:6px;background:#f1efff;color:var(--brand);box-shadow:inset 0 0 0 1px #dcd7ff;font-weight:450}
:where(html[data-theme=dark]) .chips .chip.brand{background:#262340;color:var(--brand-text);box-shadow:none}
/* 5.7.0 · статус обновления: точка статичная, при ручном «Обновить» мягко пульсирует */
.upd i{animation:none!important;transition:none}
.upd.busy i{background:var(--green)!important;animation:upd-z 1.1s ease-in-out infinite!important}
@keyframes upd-z{0%,100%{transform:scale(1)}50%{transform:scale(.55)}}
.ce-top .air{flex:1}.ce-pero{align-items:stretch}.ce-pero .cpx-in{align-self:stretch;width:auto;margin:0;height:auto}.ce-pero .cpx-in textarea{width:100%;flex:none}
.cp-chips .chip{max-width:100%;white-space:normal}
.cp-chips .chip{height:auto!important;min-height:30px;line-height:1.35}
/* 5.7.0 · справочные сообщения в колокольчике */
.np .n.info{grid-template-columns:16px 1fr auto}.np .n.info .sd.info{width:16px;height:16px;margin-top:1px;background:none;color:var(--t3);display:grid;place-items:center}.np .n.info b{color:var(--t2)}
/* 5.8.0 Карточки: только артикул WB, узкое поле себестоимости */
#cardTable table.cdt .cd-nm{max-width:none!important;overflow:visible}
#cardTable table.cdt .cd-nm b{overflow:visible!important;text-overflow:clip!important;white-space:nowrap;font-variant-numeric:tabular-nums}
#cardTable table.cdt th:nth-child(3){width:118px!important}
#cardTable table.cdt th:nth-child(6){width:104px!important}
#cardTable table.cdt .stk-cell.cd-cost,#cardTable table.cdt .cd-cost input.cell{width:76px!important}
#cardTable table.cdt .cd-cost input.cell{padding:0 8px!important;text-align:center!important}
#cardTable table.cdt .cd-cost input.cell.changed{padding-right:30px!important;text-align:left!important}
#cardTable table.cdt .cd-cost:has(.cd-cur) input.cell:not(.changed){padding-right:22px!important}
@media (max-width:1400px){#cardTable table.cdt th:nth-child(3){width:110px!important}#cardTable table.cdt th:nth-child(6){width:96px!important}#cardTable table.cdt .stk-cell.cd-cost,#cardTable table.cdt .cd-cost input.cell{width:76px!important}}
#cardTable table.cdt .stk-cell.cd-cost:has(input.changed),#cardTable table.cdt .cd-cost input.cell.changed{width:94px!important}
#cardTable table.cdt .cd-cost input.cell{transition:width .18s ease,border-color .15s}
/* 5.8.0 Колокольчик: красная точка и читаемый текст */
.bell i{position:absolute;top:1px;right:1px;width:10px;height:10px;border-radius:50%;background:var(--red);border:2px solid var(--content);box-sizing:content-box;animation:bell-in .35s cubic-bezier(.3,1.6,.5,1)}
@keyframes bell-in{from{transform:scale(0)}to{transform:scale(1)}}
.np .n small{color:var(--t1)!important;opacity:.82}
.np .n.info b{color:var(--t1)!important}
.np .n.info .sd.info{color:var(--accent)!important}
.np .n .sh{color:var(--t2)!important}
/* 5.9.0 Меню: одна постоянная подсветка плавно переезжает; иконка открытого раздела мягко заливается */
nav.menu{position:relative}
nav.menu .nav{position:relative;z-index:1}
nav.menu .nv-pill{position:absolute;top:0;left:0;z-index:0;border-radius:999px;background:rgba(0,0,0,.085);pointer-events:none;will-change:transform;transition:transform .3s cubic-bezier(.25,.8,.25,1),height .3s cubic-bezier(.25,.8,.25,1)}
html[data-theme=dark] nav.menu .nv-pill{background:rgba(255,255,255,.10)}
nav.menu.has-pill .nav.active,nav.menu.has-pill .nav.active:hover{background:transparent!important}
.nav .svg.nv-f{display:none}
.nav.active .svg.nv-o{display:none}
.nav.active .svg.nv-f{display:block}
@media (min-width:761px){
 nav.menu .nav .svg.nv-f{display:block;margin-left:-32px;opacity:0;transition:opacity .25s ease}
 nav.menu .nav .svg.nv-o{display:block;transition:opacity .25s ease}
 nav.menu .nav.active .svg.nv-o{display:block;opacity:0}
 nav.menu .nav.active .svg.nv-f{opacity:1}
 nav.menu .nav.active .svg{color:var(--t1)!important}
}
@media (prefers-reduced-motion:reduce){nav.menu .nv-pill,nav.menu .nav .svg{transition:none!important}}
/* 5.8.0 Обзор: шапки блоков серым, как шапка таблицы в Товарах, чтобы блоки не сливались */
.ov5 .ov3-fb>.ov3-h{background:var(--fill)!important;border-bottom:1px solid var(--sep)!important;padding:10px 16px!important}
.ov5-feed{padding:0!important}
.ov5-feed .w-head{background:var(--fill);border-bottom:1px solid var(--sep);padding:10px 16px 10px 20px!important;margin:0!important;min-height:56px;box-sizing:border-box}
.ov5-feed .fd-list{border-top:0!important}
.ov5-fbs .w-head{background:var(--fill);border-bottom:1px solid var(--sep);margin:-16px -20px 12px!important;padding:0 20px;height:48px;box-sizing:border-box}
.ov5 .ov3-h .seg,.ov5 .w-head .seg{background:var(--fill-2)!important;border-color:transparent!important}
.ov5 .ov3-h .seg button.on,.ov5 .w-head .seg button.on{background:var(--content)!important;color:var(--t1)!important;box-shadow:0 1px 2px rgba(0,0,0,.08)!important}
.ov5 .ov3-h .pbtn{background:var(--content)!important}
.ov5 .ov3-fb>.ov3-h+*{margin-top:0}
.ov5-fbs{overflow:hidden}
/* 5.8.0 Плашки не вылезают за край карточки */
.notice{box-sizing:border-box!important;max-width:100%!important}
/* 5.9.0 Вкладки: подложка переезжает, содержимое мягко проявляется */
.seg{position:relative}
.seg>button{position:relative;z-index:1}
.seg>.seg-pill{position:absolute;left:0;top:3px;z-index:0;border-radius:999px;pointer-events:none;will-change:transform;background:var(--content);box-shadow:0 1px 2px rgba(0,0,0,.08),0 0 0 .5px rgba(0,0,0,.06)}
html[data-theme=dark] .seg>.seg-pill{background:var(--fill-2);box-shadow:none}
.ov5 .ov3-h .seg>.seg-pill,.ov5 .w-head .seg>.seg-pill{background:var(--content)}
:root:root .seg:has(>.seg-pill)>button.on{background:transparent!important;box-shadow:none!important}
.seg>button.on{transition:color .2s}
#content.tab-fade .tablewrap,#content.tab-fade .ov3-scroll,#content.tab-fade .fd-list,#content.tab-fade .ff-list,#content.tab-fade .p-table tbody{animation:tab-in .22s ease-out}
@keyframes tab-in{from{opacity:.7;transform:translateY(3px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.seg>.seg-pill{transition:none}#content.tab-fade *{animation:none!important}}

/* 5.11.0 FBW: склад в шапке поставки */
.fw-wh{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:15px;color:var(--t2)}.fw-wh b{color:var(--t1);font-weight:450}.fw-wh .svg{opacity:.7}

/* 5.11.0 Реклама: список, страница кампании, бюджет и расписание, автоматика, панель ПероAI */
.rk-lnk{border:0;background:none;padding:0;font:inherit;font-size:13px;color:var(--accent-t);cursor:pointer}.rk-lnk:hover{text-decoration:underline;text-underline-offset:3px}
.rk-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--t3);flex:none}
.rk-dot.ok{background:#30c463}.rk-dot.warn{background:#e0a300}.rk-dot.brand{background:var(--accent)}
.rk-chip{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 12px;border-radius:999px;border:1px solid var(--border);font-size:13px;color:var(--t1);background:var(--content);white-space:nowrap}
.rk-chip.ok{border-color:color-mix(in srgb,#30c463 45%,var(--border))}.rk-chip.warn{border-color:color-mix(in srgb,#e0a300 50%,var(--border))}
.rk-sub{display:block;margin-top:4px;font-size:12px;color:var(--t3);white-space:nowrap}.rk-sub.warn{color:#b88700}.rk-sub.l{white-space:normal}
.rk-t td{vertical-align:middle}
table.rk-lt{table-layout:fixed;width:100%}table.rk-lt .rk-sub{white-space:normal}table.rk-lt td:nth-child(2){overflow:hidden}table.rk-lt .prod{min-width:0}table.rk-lt .rk-tt b,table.rk-lt .rk-tt small{max-width:100%}
.rk-tt{min-width:0}.rk-tt b{display:block;font-weight:450;max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rk-tt small{display:block;color:var(--t3);font-size:12.5px;margin-top:3px;max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rk-ab{color:var(--accent-t)}
.rk-pl{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--t3);line-height:22px}.rk-pl i{width:7px;height:7px;border-radius:50%;background:var(--sep);flex:none;box-shadow:inset 0 0 0 1px var(--border)}
.rk-pl.on{color:var(--t2)}.rk-pl.on i{background:var(--accent);box-shadow:none}.rk-pl span{min-width:68px}.rk-pl b{font-weight:400;color:var(--t1)}
.rk-sum small{font-size:12.5px}.rk-sum .rk-sum-r{margin-left:auto}
.rk-dc{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--sep);border-radius:14px}.rk-dc b{display:block;font-weight:450}.rk-dc small{color:var(--t3);font-size:12.5px}
.rk-in{display:flex;align-items:center;gap:6px;height:44px;padding:0 14px;border-radius:12px;background:var(--fill);border:1px solid var(--sep)}.rk-in input{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;height:auto!important;font-size:16px;outline:0}
.rk-in em{font-style:normal;color:var(--t3);font-size:13.5px;white-space:nowrap}.rk-in:focus-within{border-color:var(--accent)}
.rk-in.sm{height:40px;width:auto;display:inline-flex}.rk-in.sm input{width:76px;flex:none;font-size:15px}
.rk-qs{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}.rk-qs button{height:40px;border-radius:12px;border:1px solid var(--border);background:var(--content);font:inherit;font-size:14px;cursor:pointer;color:var(--t1)}.rk-qs button:hover{border-color:var(--accent);color:var(--accent-t)}
.rk-opt{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1px solid var(--sep);border-radius:14px;cursor:pointer}.rk-opt b{display:block;font-weight:450}.rk-opt small{color:var(--t3);font-size:12.5px}.rk-opt:has(input:checked){border-color:var(--accent);background:var(--accent-bg)}
.rk-pick{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px;width:100%;height:auto!important;padding:10px 14px;border:1px solid var(--border);border-radius:14px;background:var(--content);cursor:pointer;text-align:left;font:inherit;color:var(--t1)}.rk-pick span{flex:1;min-width:0}.rk-pick b{display:block;font-weight:450;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rk-pick small{color:var(--t3);font-size:12.5px}
.rk-list{max-height:230px;overflow:auto;border:1px solid var(--sep);border-radius:12px}.rk-list button{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px;border:0;border-top:1px solid var(--sep);background:none;text-align:left;font:inherit;cursor:pointer;color:var(--t1)}.rk-list button:first-child{border-top:0}.rk-list button:hover{background:var(--fill)}.rk-list b{display:block;font-weight:400;font-size:13.5px}.rk-list small{color:var(--t3);font-size:12px}
.rk-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rk-two button{height:44px;border-radius:12px;border:1px solid var(--border);background:var(--content);font:inherit;font-size:14.5px;cursor:pointer;color:var(--t1)}.rk-two button.on{border-color:var(--accent);color:var(--accent-t);box-shadow:0 0 0 3px var(--accent-bg)}
.rk-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rk-foot{align-items:center}.rk-foot small{flex:1;margin-right:10px;line-height:1.4}
/* страница кампании */
.ac-back{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:0;margin:2px 0 14px;font:inherit;font-size:15px;color:var(--accent-t);cursor:pointer}
.ac-h{display:flex;align-items:center;gap:14px;margin-bottom:14px}.ac-h .thumb{width:52px!important;height:52px!important;border-radius:12px!important}
.ac-tt{flex:1;min-width:0}.ac-tt h2{display:flex;align-items:center;gap:10px;margin:0;font-size:22px;font-weight:450;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ac-tt h2 .rk-dot{width:10px;height:10px}.ac-tt h2 .rk-dot.ok{box-shadow:0 0 0 3px rgba(48,196,99,.16)}
.ac-tt small{display:block;margin-top:5px;color:var(--t3);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rk-w{font-weight:400}.rk-w.ok{color:#16773a}.rk-w.brand{color:var(--accent-t)}
.ac-r{display:flex;align-items:center;gap:8px;flex:none}
.rk-icb{width:40px;height:40px;border-radius:50%;border:1px solid var(--border);background:var(--fill);display:grid;place-items:center;cursor:pointer;color:var(--t1);flex:none}.rk-icb:hover{background:var(--fill-2)}.rk-icb:disabled{opacity:.4}
.ac-sum{margin-bottom:14px}
.ac-body{padding:0!important;overflow:hidden}
.ac-tabs{padding:14px 16px;background:var(--fill);border-bottom:1px solid var(--sep)}
.ac-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 16px;border-bottom:1px solid var(--sep)}.ac-bar .air{flex:1}.ac-bar .p-search{width:260px}
.ac-nm{width:auto;max-width:300px;height:40px;border-radius:999px}
.ac-pad{padding:30px 16px}.ac-pad2{padding:16px}
.ac-foot{margin:0;padding:12px 16px;color:var(--t3);font-size:12.5px;border-top:1px solid var(--sep)}
.ac-q{display:flex;align-items:center;gap:6px}.ac-q b{font-weight:400}
.ac-star{border:0;background:none;padding:2px;cursor:pointer;color:var(--t3);display:grid;place-items:center}.ac-star .svg{width:14px;height:14px}.ac-star.on{color:#f0b400}.ac-star.on .svg{fill:#f0b400}
.ac-tag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:6px;font-size:11.5px;background:var(--fill);color:var(--t2)}.ac-tag.ok{background:#e8f6ec;color:#167a3a}.ac-tag.bad{background:#fdecea;color:#c0281e}.ac-tag.brand{background:var(--accent-bg);color:var(--accent-t)}
html[data-theme=dark] .ac-tag.ok{background:rgba(48,196,99,.16);color:#7bdc9b}html[data-theme=dark] .ac-tag.bad{background:rgba(224,52,42,.18);color:#ff8f86}
.seg button .n.red{color:var(--red)!important}
.ac-leg{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--t3)}.ac-leg i{display:inline-block;width:18px;height:0;border-top:2.5px solid var(--accent);margin-left:8px}.ac-leg i.d{border-top:2px dashed var(--t3)}
.ac-chart{position:relative;height:250px;margin:44px 16px 0;padding-bottom:26px;color:var(--accent)}.ac-chart svg{width:100%;height:220px;display:block;overflow:visible}
.ac-chart .ov-tip{line-height:1.45;text-align:left}.ac-chart .ov-tip small{color:var(--t3)}
.ac-st tr.sub td{background:var(--fill);color:var(--t2);font-size:13px}.ac-st tr.sub td:first-child{padding-left:44px}.ac-st tr.tot td{font-weight:450;border-top:1px solid var(--sep)}
.ac-exp{border:0;background:none;width:22px;height:22px;display:inline-grid;place-items:center;cursor:pointer;color:var(--t3);margin-right:6px;vertical-align:middle;transition:transform .15s}.ac-exp.on{transform:rotate(90deg)}.ac-exp0{display:inline-block;width:28px}
.ac-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:16px}.ac-grid.two{padding:0;margin-top:12px}
.ac-card{border:1px solid var(--sep);border-radius:16px;padding:18px 20px;background:var(--content);display:flex;flex-direction:column;gap:10px;min-width:0}.ac-card.wide{margin-bottom:14px}
.ac-card p{margin:0;color:var(--t2);font-size:13.5px;line-height:1.5}.ac-card>.btn{align-self:flex-start}
.ac-ch{display:flex;align-items:center;gap:10px}.ac-ch b{font-weight:450;font-size:15.5px;flex:1}
.ac-big{font-size:30px;font-weight:400;letter-spacing:-.01em}
.ac-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ac-info{display:flex;gap:10px;padding:12px 14px;border-radius:12px;background:var(--fill);color:var(--t2);font-size:13px;line-height:1.5}.ac-info .svg{flex:none;margin-top:2px;color:var(--t3)}
.ac-f{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--sep);font-size:14px}.ac-f small{display:block;color:var(--t3);font-size:12px;margin-top:2px}.ac-f b{font-weight:450}
.ac-sch{border-top:1px solid var(--sep)}
.ac-sh{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--sep)}.ac-sh b{font-weight:450;font-size:15.5px}.ac-sh small{color:var(--t3);font-size:13px}.ac-sh .air{flex:1}
.ac-hours{display:grid;grid-template-columns:34px repeat(24,minmax(0,1fr));gap:4px;padding:16px;user-select:none}
.ac-hours .hl{font-size:11px;color:var(--t3);text-align:left}.ac-hours .dl{font-size:12px;color:var(--t3);align-self:center}
.ac-hours .hc{height:24px;border:0;border-radius:6px;background:var(--fill-2);cursor:pointer;padding:0}.ac-hours .hc.on{background:var(--accent)}.ac-hours .hc:hover{outline:2px solid color-mix(in srgb,var(--accent) 40%,transparent)}
.ac-sf{display:flex;align-items:center;gap:10px;padding:0 16px 16px}.ac-sf .air{flex:1}
.ac-lg{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--t2)}.ac-lg i{width:12px;height:12px;border-radius:3px;background:var(--fill-2);margin-left:8px}.ac-lg i:first-child{margin-left:0}.ac-lg i.on{background:var(--accent)}
.ac-k{border:1px solid var(--sep);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:6px}.ac-k small{color:var(--t3);font-size:12.5px}.ac-k div{display:flex;gap:18px}.ac-k b{font-weight:450;font-size:17px}
.ac-abd{display:flex;gap:3px;flex-wrap:wrap}.ac-abd span{width:20px;height:20px;border-radius:5px;display:grid;place-items:center;font-size:10.5px;background:var(--fill);color:var(--t3)}.ac-abd span.b{background:var(--accent-bg);color:var(--accent-t)}.ac-abd span.done{outline:1.5px solid var(--t3)}
.ac-hist{display:flex;flex-direction:column}.ac-hist>div{display:flex;gap:12px;padding:10px 0;border-top:1px solid var(--sep)}.ac-hist>div:first-child{border-top:0}.ac-hist .rk-dot{margin-top:6px}.ac-hist b{display:block;font-weight:400}.ac-hist small{color:var(--t3);font-size:12.5px}
@media (max-width:1100px){.ac-grid{grid-template-columns:1fr}.ac-h{flex-wrap:wrap}}
/* панель ПероAI */
.ap{position:fixed;top:var(--bar-h,64px);right:0;bottom:0;width:420px;max-width:calc(100vw * var(--zi,1));background:var(--content);border-left:1px solid var(--sep);box-shadow:-24px 0 48px -24px rgba(0,0,0,.18);display:flex;flex-direction:column;z-index:30;animation:ap-in .22s cubic-bezier(.25,.8,.25,1)}
@keyframes ap-in{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}
body.ap-open #gdFab,body.ap-open #gdPanel,body.ap-open #gdOffer{display:none!important}
.ap-h{display:flex;align-items:center;gap:10px;padding:16px 18px 12px}.ap-h b{font-weight:450;font-size:15px;flex:1}
.ap-av{width:30px;height:30px;border-radius:50%;background:var(--accent-bg);color:var(--accent);display:grid;place-items:center}
.ap-x{width:30px;height:30px;border-radius:50%;border:0;background:var(--fill);display:grid;place-items:center;cursor:pointer;color:var(--t2)}
.ap-mods{margin:0 18px 12px;border:1px solid var(--sep);border-radius:14px;overflow:hidden}
.ap-mod{display:flex;align-items:center;gap:12px;padding:11px 14px;border-top:1px solid var(--sep)}.ap-mod:first-child{border-top:0}.ap-mod>div{flex:1}.ap-mod b{font-weight:400;font-size:14px}.ap-mod small{display:block;color:var(--t3);font-size:12px;margin-top:2px}.ap-mod.on{background:var(--accent-bg)}
.ap-bd{flex:1;overflow:auto;padding:14px 18px 12px;display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--sep)}
.ap-lg{display:flex;gap:8px;font-size:12.5px;color:var(--t2);line-height:1.45}.ap-lg i{width:7px;height:7px;border-radius:50%;background:var(--accent);margin-top:6px;flex:none}.ap-lg.muted i{background:var(--t3)}
.ap-msg{max-width:88%;padding:11px 14px;border-radius:16px 16px 16px 6px;background:var(--fill);font-size:14px;line-height:1.5;white-space:pre-wrap;color:var(--t1)}
.ap-msg.me{align-self:flex-end;background:var(--accent);color:#fff;border-radius:16px 16px 6px 16px}.ap-msg.wait{display:flex;gap:8px;align-items:center;color:var(--t3)}
.ap-card{border:1px solid var(--sep);border-radius:14px;overflow:hidden;font-size:13.5px}
.ap-card .r{display:flex;justify-content:space-between;gap:12px;padding:10px 14px;border-top:1px solid var(--sep)}.ap-card .r:first-child{border-top:0}.ap-card .r span{color:var(--t2)}.ap-card .r b{font-weight:400;text-align:right}.ap-card s{color:var(--t3);margin-right:6px}
.ap-card .f{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;background:var(--fill);border-top:1px solid var(--sep)}.ap-card .f small{color:var(--t3);font-size:12.5px}.ap-card .f small.ok{color:#16773a}
.ap-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 18px 10px}.ap-chips button{min-height:30px;border-radius:999px;border:1px solid var(--border);padding:4px 12px;font:inherit;font-size:12.5px;background:var(--content);cursor:pointer;color:var(--t1);text-align:left}.ap-chips button:hover{border-color:var(--accent);color:var(--accent-t)}
.ap-in{margin:0 18px 18px;border:1px solid var(--border);border-radius:14px;padding:8px 8px 8px 12px;display:flex;align-items:flex-end;gap:8px}.ap-in textarea{flex:1;border:0!important;background:transparent!important;box-shadow:none!important;resize:none;font:inherit;font-size:14px;outline:0;padding:4px 0!important;min-height:0!important}
.ap-in:focus-within{border-color:var(--accent)}
.rk-list button{flex-direction:row!important;justify-content:flex-start!important;height:auto!important}

/* 5.11.1 Поставки FBW: месяц, список дня, черновики */
.fm-title{font-weight:450;font-size:17px;min-width:150px;text-align:center;color:var(--t1);align-self:center;line-height:40px}
.fw-t .fw-main:has(.fm){overflow:visible}
.fm{border-radius:14px;overflow:hidden}
.fm-h{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:var(--fill);border-bottom:1px solid var(--sep)}.fm-h span{padding:9px 12px;font-size:12.5px;color:var(--t3)}
.fm-g{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.fm-d{min-height:136px;border-right:1px solid var(--sep);border-bottom:1px solid var(--sep);padding:8px 8px 6px;display:flex;flex-direction:column;gap:4px;cursor:pointer;min-width:0}
.fm-d:nth-child(7n){border-right:0}.fm-g .fm-d:nth-last-child(-n+7){border-bottom:0}
.fm-d:hover{background:var(--row-hov,var(--fill))}.fm-d.we{background:color-mix(in srgb,var(--fill) 45%,var(--content))}.fm-d.out{background:var(--fill);cursor:default;opacity:.55}.fm-d.past .fm-p{opacity:.6}
.fm-d.sel{box-shadow:inset 0 0 0 2px var(--accent)}
.fm-t{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--t3);min-width:0}.fm-t b{font-weight:450;font-size:15px;color:var(--t1);width:26px;height:26px;display:grid;place-items:center;border-radius:50%;flex:none}
.fm-t span{margin-left:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fm-t span.bad{color:var(--red)}
.fm-d.td .fm-t b{background:var(--accent);color:#fff}
.fm-bar{height:3px;border-radius:2px;background:var(--fill-2);overflow:hidden;margin:0 2px 2px;flex:none}.fm-bar i{display:block;height:100%;background:var(--accent);border-radius:2px}.fm-bar i.bad{background:var(--red)}.fm-bar.big{height:5px;margin:0 20px 14px}
.fm-p{display:flex;align-items:center;gap:6px;height:24px;padding:0 8px;border:0;border-radius:7px;font:inherit;font-size:12px;background:var(--fill);white-space:nowrap;overflow:hidden;cursor:pointer;color:var(--t1);text-align:left;width:100%;min-width:0}
.fm-p:hover{background:var(--fill-2)}.fm-p i{width:6px;height:6px;border-radius:50%;flex:none}.fm-p span{overflow:hidden;text-overflow:ellipsis;min-width:0}.fm-p em{font-style:normal;color:var(--t3);margin-left:auto;flex:none}
.fm-p.s-nopass{background:color-mix(in srgb,var(--red) 9%,var(--content))}.fm-p.s-nobox{background:color-mix(in srgb,var(--yellow) 14%,var(--content))}
.fm-more{font-size:12px;color:var(--accent-t);padding:1px 8px}
.fm-leg{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin:12px 4px 0;color:var(--t2);font-size:12.5px}.fm-leg span{display:inline-flex;gap:6px;align-items:center}.fm-leg i{width:7px;height:7px;border-radius:50%}.fm-leg .fm-cap{margin-left:auto}.fm-leg a{color:var(--accent-t);text-decoration:none}
.fm-dp{position:fixed;top:var(--bar-h,64px);right:0;bottom:0;width:440px;max-width:calc(100vw * var(--zi,1));background:var(--content);border-left:1px solid var(--sep);box-shadow:-24px 0 48px -24px rgba(0,0,0,.18);display:flex;flex-direction:column;z-index:30;animation:ap-in .22s cubic-bezier(.25,.8,.25,1)}
.fm-dh{display:flex;align-items:center;gap:10px;padding:18px 20px 6px}.fm-dh b{font-weight:450;font-size:18px;flex:1}
.fm-ds{padding:0 20px 12px;color:var(--t2);font-size:13px}
.fm-db{flex:1;overflow:auto;padding:0 20px 16px;border-top:1px solid var(--sep)}
.fm-g2{display:flex;gap:8px;align-items:center;font-size:12.5px;color:var(--t3);margin:14px 0 6px}.fm-g2 .fc-coef{margin-left:auto}
.fm-it{display:flex;align-items:center;gap:12px;padding:10px 8px 10px 12px;border:1px solid var(--sep);border-radius:12px;margin-bottom:8px;cursor:pointer}.fm-it:hover{background:var(--fill)}
.fm-it>i{width:8px;height:8px;border-radius:50%;flex:none}.fm-it .t{flex:1;min-width:0}.fm-it .t b{display:block;font-weight:400;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fm-it .t small{color:var(--t3);font-size:12.5px}
.fm-st{font-size:12px;padding:3px 9px;border-radius:999px;background:var(--fill);color:var(--t2);white-space:nowrap}.fm-st.s-nopass{background:color-mix(in srgb,var(--red) 12%,var(--content));color:var(--red)}.fm-st.s-nobox{background:color-mix(in srgb,var(--yellow) 18%,var(--content));color:#9a6b00}.fm-st.s-ready{background:color-mix(in srgb,var(--green) 14%,var(--content));color:var(--green)}
.fm-tb td small{display:block;color:var(--t3);font-size:12.5px;margin-top:2px}.fm-tb td b{font-weight:400}
.fm-note{margin:0;padding:12px 16px;color:var(--t3);font-size:12.5px;border-top:1px solid var(--sep)}
body:has(.fm-dp) #gdFab,body:has(.fm-dp) #gdPanel{display:none!important}
.fw-t.fw-dr .fw-main{height:auto!important}
/* 5.11.2 Поставки FBW: спокойный месяц, капсула месяца, жёлтая «Требует внимания», маленькая «Скачать» */
.fm-nav{display:inline-flex;align-items:center;height:40px;border:1px solid var(--border);border-radius:999px;background:var(--fill);flex:none}
.fm-nav button{width:38px;height:38px;border:0;background:none;border-radius:50%;display:grid;place-items:center;cursor:pointer;color:var(--t2);padding:0}.fm-nav button:hover{background:var(--fill-2)}
.fm-nav b{font-weight:400;font-size:14px;min-width:108px;text-align:center;color:var(--t1);white-space:nowrap}
#content .p-bar .fw-attb,#content .p-bar .fw-attb.on{background:color-mix(in srgb,var(--yellow) 16%,var(--content))!important;border-color:color-mix(in srgb,var(--yellow) 55%,var(--content))!important;color:#7a5600!important}
#content .p-bar .fw-attb:hover{background:color-mix(in srgb,var(--yellow) 24%,var(--content))!important}
.fw-attb .n{min-width:22px;height:22px;padding:0 6px;border-radius:999px;display:inline-grid;place-items:center;background:var(--yellow);color:#fff!important;font-size:12.5px;margin-left:2px!important}
:root[data-theme=dark] #content .p-bar .fw-attb{color:#ffd60a!important}
.fm{border:1px solid var(--sep);border-radius:16px;background:var(--content)}
.fm-h{background:none}.fm-h span{font-size:12px;padding:10px 12px}
.fm-d{min-height:132px;padding:8px 10px;gap:1px}.fm-d.we{background:none}.fm-d.out{background:none;opacity:1}.fm-d.out .fm-t b{color:color-mix(in srgb,var(--t3) 60%,transparent)}
.fm-t{margin-bottom:4px}.fm-t b{font-size:14px;font-weight:400;width:24px;height:24px;margin-left:-4px}.fm-d.td .fm-t b{font-weight:500}
.fm-t span{font-size:11.5px;font-variant-numeric:tabular-nums}
.fm-p,.fm-p.s-nopass,.fm-p.s-nobox{background:none;height:19px;padding:0 4px;margin:0 -4px;width:calc(100% + 8px);font-size:12.5px;gap:7px;border-radius:5px}
.fm-p:hover{background:var(--fill)}.fm-p em{font-variant-numeric:tabular-nums}
.fm-p.s-nopass span{color:var(--red)}.fm-p.s-nobox span{color:#9a6b00}:root[data-theme=dark] .fm-p.s-nobox span{color:var(--yellow)}
.fm-d.past .fm-p{opacity:.45}
.fm-more{color:var(--t3);padding:1px 0 0}
.fm-leg{color:var(--t3)}
.fm-dl{gap:6px}.fm-tb .fm-dl{height:30px!important}
/* 5.11.3: шапка дней полностью, на подложке как у таблиц; дни с поставками на той же подложке, сегодня — синяя рамка */
.fm-h{background:var(--fill)!important;border-bottom:1px solid var(--sep)}.fm-h span{font-size:13px;color:var(--t1);padding:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-d.has{background:color-mix(in srgb,var(--fill) 55%,var(--content))}.fm-d.has:hover{background:var(--fill)}.fm-d:not(.has):not(.out):hover{background:color-mix(in srgb,var(--fill) 50%,var(--content))}
.fm-d.has .fm-p:hover{background:var(--fill-2)}.fm-d.has .fm-p:hover{background:var(--fill)}
.fm-d.td{box-shadow:inset 0 0 0 1.5px var(--accent)}.fm-d.sel{box-shadow:inset 0 0 0 2px var(--accent)}
.fw-pbar{flex-wrap:wrap;row-gap:10px}
.fm-h b{font-weight:400}.fm-ws{display:none}
@media (max-width:1240px){.fm-wf{display:none}.fm-ws{display:inline}}
/* 5.11.5 FBW: три оттенка логотипа по загрузке, прошедшие дни заштрихованы с итогом, соседние месяцы с поставками */
:root{--lv1:color-mix(in srgb,#0b84fb 5%,var(--content));--lv2:color-mix(in srgb,#0b84fb 10%,var(--content));--lv3:color-mix(in srgb,#0b84fb 16%,var(--content));--hz:color-mix(in srgb,var(--fill) 80%,var(--content))}
.fm-d.has.lv1{background:var(--lv1)}.fm-d.has.lv2{background:var(--lv2)}.fm-d.has.lv3{background:var(--lv3)}
.fm-d.has:hover{filter:brightness(.985)}.fm-d.has .fm-p:hover{background:color-mix(in srgb,#0b84fb 10%,transparent)}
.fm-d.past{background:repeating-linear-gradient(135deg,var(--hz) 0 6px,var(--content) 6px 12px)}
.fm-d.past .fm-t b{color:var(--t3)}.fm-d.past:hover{filter:brightness(.99)}
.fm-sum{font-size:12px;line-height:18px;color:var(--t3);background:color-mix(in srgb,var(--content) 85%,transparent);display:table;padding:0 3px;margin-left:-3px;border-radius:4px}.fm-sum.bad{color:var(--red)}
.fm-d.out{cursor:pointer}.fm-d.out:not(.past) .fm-p{opacity:.55}.fm-d.out .fm-t b{white-space:nowrap}
.fm-t b{width:auto;min-width:24px;padding:0 4px}
.fm-sc{display:inline-flex;gap:4px}.fm-sc i{width:22px;height:10px;border-radius:3px}.fm-sc .lv1{background:var(--lv1)}.fm-sc .lv2{background:var(--lv2)}.fm-sc .lv3{background:var(--lv3)}
.fm-hz{display:inline-flex;gap:6px;align-items:center}.fm-hz i{width:22px;height:10px;border-radius:3px;background:repeating-linear-gradient(135deg,var(--hz) 0 3px,var(--content) 3px 6px);border:1px solid var(--sep)}
.fm-leg>span:first-child{margin-right:-8px}
.fm-d.td .fm-t b{color:#fff!important;background:var(--accent)!important;border-radius:999px}
.w-head .w-per{color:var(--t3);font-size:12.5px;margin-left:6px;white-space:nowrap}
.w-tt{display:flex;flex-direction:column;line-height:1.15;min-width:0}.w-tt .w-title{display:inline-flex;align-items:center;gap:6px}.w-tt .w-per{margin:2px 0 0!important;font-size:12px}
/* 5.11.6: исправления по тестировщику */
/* полосы прокрутки без стрелок: в Chrome 121+ scrollbar-width отключает ::-webkit-scrollbar — возвращаем auto там, где он был thin */
@supports selector(::-webkit-scrollbar){.ov3-list,.ov3-scroll,.cl-tw,.cd-body,.fw-t .fw-main,dialog *,dialog[open]>.dlg-body{scrollbar-width:auto!important;scrollbar-color:auto!important}}
::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}
/* календарь FBW: высота по содержимому, не вылезает за подложку страницы */
.fw-t .fw-main:has(.fm){display:flex!important;flex-direction:column;overflow:hidden!important;height:100%!important}.fw-main>.fm{flex:1;min-height:0;display:flex;flex-direction:column;border:0!important;border-radius:0!important}.fw-main>.fm>.fm-g{flex:1;min-height:0;grid-template-rows:repeat(3,minmax(0,1fr))}.fw-main .fm-d{min-height:0!important;overflow:hidden}.fw-main>.fm-leg{flex:none;margin:0!important;padding:9px 14px;border-top:1px solid var(--sep)}.fm-p[hidden],.fm-more[hidden]{display:none!important}
/* Обзор в одну колонку: лента не тянется за колонкой отзывов */
@media (max-width:1100px){.ov5>*{align-self:start}.ov5-feed{flex:none}.ov5-feed .fd-list{flex:none;max-height:520px}}
.ov5-feed .w-head{min-height:32px;height:auto}
/* колонка с названием товара не схлопывается на узком окне */
.p-table td .prod{min-width:170px}
/* кнопки в шапке отзывов одной высоты */
.ov5 .ov3-h .pbtn,.ov5 .ov3-h .btn,.ov5 .ov3-h .ib,.ov5 .ov3-h .pbtn2{height:34px!important;min-height:34px}.ov5 .ov3-h .pbtn.sq,.ov5 .ov3-h .ib{width:34px!important;min-width:34px!important}
.ov5 .ov3-h .seg{align-self:center}
/* счётчик «Требует внимания»: тёмная цифра на жёлтом */
.fw-attb .n{color:#4a3400!important}
/* круглая кнопка ПероAI не закрывает содержимое */

/* админка: содержимое не шире панели */
#admPanel{overflow-x:auto}#admPanel table{max-width:100%}
/* 5.11.8: поле даты с точками — день . месяц . год, ширина по цифрам, слева */
.dfield.dseg{display:inline-flex;align-items:center;width:max-content;max-width:100%;height:40px;padding:0 10px;border:1px solid var(--border);border-radius:10px;background:var(--fill);font-size:14.5px;font-variant-numeric:tabular-nums;color:var(--t1);cursor:text;user-select:none;justify-self:start;align-self:flex-start;box-sizing:border-box}
.dseg .dsg{padding:3px 3px;border-radius:6px;min-width:22px;text-align:center;outline:none;line-height:1.2}.dseg .dsg.y{min-width:40px}
.dseg .dsg.ph{color:var(--t3)}.dseg .dsg:focus{background:var(--accent);color:#fff}
.dseg i{font-style:normal;color:var(--t3);padding:0 1px}
.dseg:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-bg);background:var(--content)}
.dseg.dis{opacity:.55;cursor:default}
/* узкое окно «Себестоимость»: цена и дата рядом, равные колонки */
#dialog.dlg-narrow{width:min(440px,calc(100vw * var(--zi,1) - 32px))}#dialog.dlg-narrow .form-grid{grid-template-columns:1fr 1fr!important;gap:14px}
#dialog.dlg-narrow .field{min-width:0}
/* 5.11.8 Обзор на больших экранах: график растёт с высотой окна (до трети экрана), лента шире на 2K */
.ov5-chart{height:clamp(84px,calc(100vh * var(--zi,1) - 690px),max(190px,calc(36vh * var(--zi,1))))!important}
@media (min-width:2000px){.ov5{grid-template-columns:minmax(0,1fr) 480px!important}}
.workspace:has(#content .p-table){padding-bottom:14px!important}
.fw-main>.fm-leg{padding-right:80px!important}
@keyframes tab-in{from{opacity:.8}to{opacity:1}}
/* 5.11.9 «Обновлено» — только точка и ⟳ */
.upd .upd-ic{display:inline-grid;place-items:center;color:var(--t2)}.upd .upd-ic .svg{width:15px;height:15px}.upd:hover .upd-ic{color:var(--accent-t)}
.upd .upd-ic.spin .svg{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
/* 5.11.9 Карточки: колонка «Товар» уже, справа всё помещается */
#cardTable table.cdt th:nth-child(2){width:26%!important}
#cardTable table.cdt th:nth-child(3){width:110px!important}
#cardTable table.cdt th:nth-child(4){width:auto!important}
#cardTable table.cdt th:nth-child(5){width:100px!important}
#cardTable table.cdt th:nth-child(6){width:124px!important}
#cardTable table.cdt th:nth-child(7){width:104px!important}
#cardTable table.cdt th:nth-child(8){width:150px!important}
#cardTable table.cdt th:nth-child(9){width:76px!important}
#cardTable table.cdt .prod b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#cardTable .p-table td .prod,#cardTable td .prod{min-width:0!important}
/* точка «Ленты» не сжимается */
.ov5-feed .live,.w-title .live{flex:none;width:7px!important;height:7px!important;display:inline-block;align-self:center}
.cl-t2 .sdot:not(:has(small)){padding-bottom:0!important}
/* 5.11.9 айленд: без постоянного синего свечения — обводка пробегает по кругу от левой точки до неё же и гаснет (0,9 с) */
@property --ip{syntax:'<angle>';initial-value:0deg;inherits:false}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar::after{display:none!important;animation:none!important}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar::before{background:conic-gradient(from 270deg,var(--accent) var(--ip),transparent var(--ip))!important;animation:isl-draw .9s cubic-bezier(.45,0,.2,1) forwards!important;opacity:1}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar.still::before{animation:none!important;opacity:0!important}
@keyframes isl-draw{0%{--ip:0deg;opacity:1}72%{--ip:360deg;opacity:1}100%{--ip:360deg;opacity:0}}
@media (prefers-reduced-motion:reduce){:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar::before{animation:none!important;opacity:0!important}}
/* 5.11.9 Реклама: места и ставка по центру, правка в строке */
.rk-pls{display:inline-grid;gap:4px;text-align:left}
.rk-pl{display:grid!important;grid-template-columns:auto 76px;align-items:center;gap:8px}
.rk-plt{display:inline-flex;align-items:center;gap:7px;border:0;background:none;padding:2px 6px 2px 4px;margin:0;border-radius:7px;font:inherit;font-size:12.5px;color:var(--t2);cursor:pointer}
.rk-plt:disabled{cursor:default}.rk-plt:not(:disabled):hover{background:var(--fill)}
.rk-plt i{width:7px;height:7px;border-radius:50%;background:var(--t3);opacity:.5;flex:none}.rk-pl.on .rk-plt i{background:var(--accent);opacity:1}.rk-pl.on .rk-plt{color:var(--t1)}
.rk-bid{border:0;background:none;font:inherit;font-size:13px;color:var(--t1);padding:2px 6px;border-radius:7px;cursor:pointer;text-align:right;border-bottom:1px dashed color-mix(in srgb,var(--t3) 70%,transparent);border-radius:0}.rk-bid:hover{color:var(--accent-t);border-bottom-color:var(--accent)}
.rk-pl b.num{text-align:right;padding:2px 6px;font-weight:400}
.rk-bin{display:inline-flex;align-items:center;gap:4px;height:26px;border:1px solid var(--accent);border-radius:7px;background:var(--content);padding:0 6px;box-shadow:0 0 0 3px var(--accent-bg)}.rk-bin input{width:54px;border:0!important;background:none!important;box-shadow:none!important;font:inherit;font-size:13px;text-align:right;padding:0;height:24px;outline:none}.rk-bin em{font-style:normal;color:var(--t3);font-size:12px}
.rk-bin input::-webkit-inner-spin-button,.rk-bin input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.rk-bin input{-moz-appearance:textfield;width:60px}
#content>.notice+.p-bar{margin-top:12px}

/* ===== 5.12.0 Реклама: показатели как у WB, закреплённая кампания, прокрутка вбок ===== */
#rkTable table.rk-wide{table-layout:fixed;width:max-content!important;min-width:100%;height:auto!important}
#rkTable table.rk-wide th,#rkTable table.rk-wide td{white-space:nowrap}
#rkTable table.rk-wide th{background:linear-gradient(var(--fill),var(--fill)),var(--content)!important}
#rkTable .rk-s0,#rkTable .rk-s1{position:sticky!important;z-index:1}
#rkTable th.rk-s0,#rkTable th.rk-s1{z-index:4!important}
#rkTable .rk-s0{left:0}#rkTable .rk-s1{left:44px;box-shadow:inset -1px 0 0 var(--sep)!important}
#rkTable td.rk-s0,#rkTable td.rk-s1{background:var(--content)!important}
html .p-table #rkTable tbody tr:hover td.rk-s0,html .p-table #rkTable tbody tr:hover td.rk-s1{background:linear-gradient(var(--row-hov),var(--row-hov)),var(--content)!important}
html .p-table #rkTable tbody tr.selected td.rk-s0,html .p-table #rkTable tbody tr.selected td.rk-s1{background:linear-gradient(color-mix(in srgb,var(--t1) 3%,transparent),color-mix(in srgb,var(--t1) 3%,transparent)),var(--content)!important}
#rkTable .tablewrap.rk-scrolled .rk-s1{box-shadow:inset -1px 0 0 var(--sep),8px 0 12px -8px rgba(0,0,0,.18)!important}
#rkTable th.rk-xh{color:var(--t2)!important}
#rkTable th.rk-xg,#rkTable td.rk-xg{box-shadow:inset 1px 0 0 var(--sep)}
#rkTable td.rk-n{font-variant-numeric:tabular-nums;font-size:14px;color:var(--t1)}
#rkTable td.rk-n b{font-weight:500}
#rkTable td.rk-n.f{color:var(--t3)}#rkTable td.rk-n.g,#rkTable td.rk-n.g b{color:var(--green)}#rkTable td.rk-n.r,#rkTable td.rk-n.r b{color:var(--bad)}
#rkTable td.rk-m b{display:block;font-weight:500;font-size:14px;font-variant-numeric:tabular-nums}#rkTable td.rk-m small{display:block;font-size:11.5px;color:var(--t3);margin-top:2px}
#rkTable td.rk-s1 .prod{min-width:0}#rkTable td.rk-s1{overflow:hidden}
#rkTable .rk-tt{min-width:0;flex:1}
#rkTable .rk-cn{display:block;font-weight:500;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--t1)}
.rk-l2{display:flex;align-items:center;gap:8px;margin-top:5px;min-width:0;white-space:nowrap}
.rk-l2 small{font-size:12px;color:var(--t3);overflow:hidden;text-overflow:ellipsis}
.rk-st{flex:none;display:inline-flex;align-items:center;gap:5px;font-size:11.5px;line-height:20px;padding:0 8px;border-radius:10px;background:var(--fill);color:var(--t2)}
.rk-st i{width:6px;height:6px;border-radius:50%;background:var(--t3)}
.rk-st.ok,.rk-st.warn{background:color-mix(in srgb,var(--green) 12%,transparent);color:color-mix(in srgb,var(--green) 78%,var(--t1))}.rk-st.ok i,.rk-st.warn i{background:var(--green)}
.rk-st.brand{background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent-t)}.rk-st.brand i{background:var(--accent)}
.rk-todo{display:inline-flex;align-items:center;min-width:0;font-size:12px;line-height:18px;color:var(--t2)}
.rk-todo em{font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.rk-todo.warn{color:color-mix(in srgb,var(--yellow) 72%,var(--t1))}.rk-todo.bad{color:var(--bad)}.rk-todo.ok,.rk-todo.go{color:color-mix(in srgb,var(--green) 78%,var(--t1))}
.rk-todo button{flex:none;border:0;background:none;padding:0 0 0 4px;font:inherit;color:var(--accent-t);cursor:pointer;white-space:nowrap}.rk-todo button:hover{text-decoration:underline}
#rkTable .rk-pls{display:inline-grid;gap:5px;text-align:left}
#rkTable .rk-pl{display:grid!important;grid-template-columns:26px 92px 70px!important;align-items:center;gap:8px;font-size:12.5px;color:var(--t3);line-height:28px}
#rkTable .rk-pl.on{color:var(--t1)}#rkTable .rk-pl span{min-width:0}
.rk-sw{position:relative;width:26px;height:15px;border-radius:8px;background:color-mix(in srgb,var(--t3) 35%,transparent);border:0;padding:0;cursor:pointer;transition:background .18s;flex:none}
.rk-sw::after{content:'';position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .18s}
.rk-pl.on .rk-sw{background:var(--accent)}.rk-pl.on .rk-sw::after{transform:translateX(11px)}
.rk-sw:disabled{opacity:.45;cursor:default}
#rkTable .rk-bc input.cell{width:70px!important;height:28px!important}
#rkTable .rk-bc input.cell.changed{padding-right:28px!important}
#rkTable .rk-bc .cell-ok{width:22px!important;height:22px!important}
.rk-bv{justify-self:center;font-size:13px;color:var(--t1);font-variant-numeric:tabular-nums}.rk-bv.off{color:var(--t3)}
@supports selector(::-webkit-scrollbar){#rkTable .tablewrap{scrollbar-width:auto!important}}
#rkTable .tablewrap::-webkit-scrollbar{display:block!important;width:0;height:9px}
#rkTable .tablewrap::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--t3) 45%,transparent);border-radius:6px;border:2px solid var(--content)}
#rkTable .tablewrap::-webkit-scrollbar-track{background:transparent}
/* Карточка кампании: четыре блока показателей */
.ac-bud{display:flex;justify-content:flex-end;gap:14px;font-size:12.5px;color:var(--t3);margin:4px 0 0;min-height:18px}
.ac-kpi{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px 0 16px}
.ac-kb{background:var(--content);border:1px solid var(--sep);border-radius:14px;overflow:hidden}
.ac-kh{padding:12px 16px}.ac-kh small{display:block;font-size:12.5px;color:var(--t2);margin-bottom:4px}
.ac-kh b{font-size:22px;font-weight:600;letter-spacing:-.2px;font-variant-numeric:tabular-nums}
.ac-kh em{font-style:normal;font-size:12px;margin-left:8px}.ac-kh em.up{color:var(--green)}.ac-kh em.dn{color:var(--bad)}
.ac-ks{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid var(--sep);padding:10px 16px}
.ac-ks small{display:block;font-size:12px;color:var(--t3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ac-ks span{font-size:14px;color:var(--t1);font-variant-numeric:tabular-nums}
@media (max-width:1100px){.ac-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Кнопка «Обновлено» */
.upd .upd-t{white-space:nowrap}.upd .upd-b{display:none}.upd .upd-b.on{display:inline}
.upd:hover .upd-a{display:none}.upd:hover .upd-b{display:inline;color:var(--accent-t)}
.upd .upd-ic{opacity:0;transition:opacity .15s}.upd:hover .upd-ic,.upd.busy .upd-ic,.upd .upd-ic.spin{opacity:1}
.rk-todo{gap:5px}.rk-todo>i{font-style:normal;color:var(--t3);flex:none}.rk-todo button{padding:0!important}

/* ===== 5.13.0 Реклама: тип кампании, ставка с местами, ровные цвета ===== */
#rkTable td.rk-n,#rkTable td.rk-n b{color:var(--t1)!important;font-weight:400}
#rkTable td.rk-m small,#rkTable td.rk-tp small{color:var(--t2)}
#rkTable td.rk-tp b{display:block;font-weight:500;font-size:13.5px}#rkTable td.rk-tp small{display:block;font-size:11.5px;margin-top:3px}
#rkTable .rk-cn{white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:18px;overflow:hidden}
#rkTable .rk-l2{margin-top:6px}#rkTable .rk-l2 .rk-st{margin-left:auto}
.rk-act{flex:none;border:0;background:none;padding:0;font:inherit;font-size:12px;color:var(--accent-t);cursor:pointer;white-space:nowrap}.rk-act:hover{text-decoration:underline}
.rk-pi{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;border:0;padding:0;background:var(--fill);color:var(--t3);cursor:pointer;flex:none;vertical-align:middle}
.rk-pi svg{width:12px;height:12px}.rk-pi.on{background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent-t)}
.rk-pi:not(.ro):hover{box-shadow:0 0 0 1.5px var(--accent)}.rk-pi.ro{cursor:default}
.rk-bd{display:inline-grid;gap:5px}.rk-br{display:grid;grid-template-columns:22px 64px;gap:8px;align-items:center}
#rkTable .rk-br .rk-bc input.cell{width:64px!important}
#rkTable .rk-br .rk-bv{justify-self:center;color:var(--t1)}#rkTable .rk-br .rk-bv.off{color:var(--t2);font-size:12px}
.ac-pls{display:inline-flex;gap:6px;margin-left:10px;vertical-align:middle}
.rk-plr{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--sep)}.rk-plr:last-of-type{border:0}
.rk-plr .rk-pi{width:30px;height:30px;border-radius:9px;cursor:default}.rk-plr .rk-pi svg{width:15px;height:15px}.rk-plr b{font-weight:500;display:block}.rk-plr small{color:var(--t3);font-size:12.5px}.rk-plr .grow{flex:1}
/* 5.13.1 ставка: поле шире, число по центру и видно целиком при вводе */
#rkTable .rk-br{grid-template-columns:22px 84px}
#rkTable .rk-br .rk-bc input.cell,#rkTable .rk-bc input.cell{width:84px!important;text-align:center!important;padding:0 6px!important}
#rkTable .rk-bc input.cell.changed{text-align:center!important;padding:0 30px 0 4px!important}
/* 5.13.1 лого в «Опубликовать» всегда белое */
.btn.primary .svg.bird,.btn.primary .svg.bird *{fill:#fff!important;stroke:none!important;color:#fff!important}
/* 5.13.1 Товары и Репрайсер: колонка «Товар» не забирает всю ширину, остальным колонкам свободнее */
#prodTable th:nth-child(2){width:26%}
table.rp-t th:nth-child(2){width:28%}
/* 5.13.1 колокольчик закрашен, пока открыты уведомления */
body:has(.np) #bellBtn{background:var(--fill-2)}
body:has(.np) #bellBtn .svg path{fill:currentColor}
/* 5.13.2 Товары: значки в «Действие» по центру */
#prodTable td.row-acts{text-align:center!important;padding-left:4px!important;padding-right:4px!important}
#prodTable td.row-acts .btn{vertical-align:middle}
/* 5.13.2 Репрайсер: заголовки колонок жирнее (проба) */
table.rp-t thead th,table.rp-t thead th .th-sort{font-weight:600!important;color:var(--t1)!important}
/* 5.13.2 этикетки поставки: переключатель товаров */
.lbl-nav{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:13px;color:var(--t2)}
.lbl-nav b{color:var(--t1);font-weight:500}
.lbl-nav .pbtn.sq{width:30px!important;min-width:30px!important;height:30px!important}
/* ===== 5.14.0 ===== */
/* Все заголовки таблиц полужирные и чёрные, как в Репрайсере */
table thead th,table thead th .th-sort,table thead th button{font-weight:600!important;color:var(--t1)!important}
/* Карточка на всю страницу: без заголовка раздела, ссылка назад над названием */
body.pg-card .pghead{display:none!important}
body.pg-card #content{padding-top:26px}
#content>.pg-back,.ac>.pg-back{display:inline-flex;margin:0 0 10px;font-weight:500;font-size:14px}
.pg-back:hover{color:color-mix(in srgb,var(--accent-t) 78%,var(--t1))!important}
.ac-back{display:none!important}
.inv-top{margin-top:0}
/* Карточка поставки FBW */
.fc{display:flex;flex-direction:column;gap:14px}
.fc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.fc-hl{min-width:0}
.fc-tt{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.fc-tt h2{margin:0;font-size:24px;font-weight:600;letter-spacing:-.3px;color:var(--t1)}
.fc-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:8px;font-size:13.5px;color:var(--t2)}
.fc-meta span{display:inline-flex;align-items:center;gap:6px}.fc-meta b{color:var(--t1);font-weight:500}.fc-meta .svg{width:15px;height:15px;color:var(--t3)}
.fc-acts{display:flex;gap:8px;flex:none;flex-wrap:wrap;justify-content:flex-end}.fc a.pbtn{text-decoration:none!important}
.fc-sum{padding:0!important;overflow:hidden}
.fc-kp{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
.fc-kp>div{padding:14px 18px;min-width:0}.fc-kp>div+div{box-shadow:inset 1px 0 0 var(--sep)}
.fc-kp small{display:block;font-size:13.5px;color:var(--t1);font-weight:600;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fc-kp b{font-size:19px;font-weight:300;color:var(--t2);font-variant-numeric:tabular-nums;letter-spacing:-.2px;white-space:nowrap}.fc-kp b .ok{color:var(--green);font-weight:400}
.fc-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--sep);padding:14px 18px 16px}
.fc-st{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding-right:12px;min-width:0}
.fc-st::before{content:'';position:absolute;top:10px;left:26px;right:0;height:2px;border-radius:2px;background:var(--sep)}
.fc-st:last-child::before{display:none}.fc-st.on::before{background:color-mix(in srgb,var(--green) 55%,var(--sep))}
.fc-st i{position:relative;z-index:1;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--content);box-shadow:inset 0 0 0 1.5px var(--border)}
.fc-st.on i{background:var(--green);box-shadow:none;color:#fff}.fc-st.on i .svg{width:12px;height:12px;color:#fff}
.fc-st b{font-size:13px;font-weight:500;color:var(--t1);white-space:nowrap}.fc-st:not(.on) b{color:var(--t2)}
.fc-st small{font-size:12px;color:var(--t3);margin-top:-3px}
.fc-st button.link{font-size:12px;margin-top:-3px;padding:0;border:0;background:none;color:var(--accent-t);cursor:pointer;font-weight:500}
.fc .p-bar{margin:4px 0 0}
.fc-tbl .num{font-variant-numeric:tabular-nums}
.fc-tbl .ok{color:var(--green)}
.fc-t{table-layout:fixed!important;width:100%!important}.fc-t td{vertical-align:middle}
.fc-t td.c,.fc-t th.c{text-align:center}
.fc-t .kizt{color:var(--warn)}
.fc-bxr{cursor:pointer}.fc-bxr:hover td{background:color-mix(in srgb,var(--fill) 45%,var(--content))}
.fc-bx{display:flex;align-items:flex-start;gap:8px}.fc-bx b{font-weight:500;color:var(--t1)}.fc-bx small{display:block;color:var(--t3);font-size:12px;margin-top:2px}
.fc-bx .chev{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:6px;background:var(--fill);transition:transform .2s;flex:none;margin-top:1px}.fc-bxr.open .chev{transform:rotate(90deg)}.fc-bx .chev .svg{width:12px;height:12px}
.fc-chips{display:flex;flex-wrap:wrap;gap:6px}.fc-chips span{background:var(--fill);border-radius:7px;padding:3px 8px;font-size:12.5px;color:var(--t2)}.fc-chips span b{color:var(--t1);font-weight:500;margin-left:4px}
.fc-in td{background:color-mix(in srgb,var(--fill) 55%,var(--content))!important;padding-top:0!important;padding-bottom:0!important}
.fc-in-l{display:grid;padding:4px 0 8px 28px}
.fc-in-r{display:grid;grid-template-columns:minmax(0,1fr) 150px 110px;align-items:center;gap:12px;padding:8px 0;border-top:1px solid var(--sep)}.fc-in-r:first-child{border-top:0}
.fc-in-r .num{text-align:center}
.fc-in td{padding-top:8px!important;padding-bottom:8px!important}
.fc-in-p{padding-left:28px}
.fc-in td.num{color:var(--t2)}
/* Заказы FBS: обычная таблица, строки клиента и заказов стоят по колонкам */
table.fq{table-layout:fixed;width:100%}
table.fq td{vertical-align:middle}
table.fq th.c,table.fq td.c{text-align:center}
table.fq .ff-cb{margin:0}
table.fq tr.fq-g{cursor:pointer}
table.fq tr.fq-g.e0{cursor:default}
table.fq tr.fq-g:hover td{background:var(--row-hov,color-mix(in srgb,var(--fill) 45%,var(--content)))}
table.fq tr.sel td{background:color-mix(in srgb,var(--t1) 3%,var(--content))!important}
.fq-cl b{display:flex;align-items:center;gap:6px;font-weight:500;color:var(--t1);font-size:14px;min-width:0}
.fq-cl b .star{color:var(--yellow)}
.fq-cl small{display:block;color:var(--t3);font-size:12.5px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fq-cl .tags{display:flex;gap:6px;margin-top:6px}.fq-cl .tags span{font-size:11.5px;padding:1px 7px;border-radius:6px;background:var(--fill);color:var(--t2)}
table.fq tr.fq-s td{background:color-mix(in srgb,var(--fill) 40%,var(--content))}
table.fq tr.fq-s.cancel td{color:var(--t3)}table.fq tr.fq-s.cancel .fq-stk{text-decoration:line-through}
.fq-in{padding-left:28px!important}
.fq-in .prod .thumb{width:40px!important;height:40px!important;border-radius:9px}
.fq-in .prod b{font-weight:400;font-size:13.5px}.fq-in .prod small{font-size:12px}
.fq-in2{padding-left:80px!important;font-size:13.5px;color:var(--t1)}
.fq-stk b{font-weight:600}
.fq-on b{display:block;font-weight:400;font-size:13.5px;font-variant-numeric:tabular-nums;color:var(--t1)}
.fq-on small,.fq-sub{display:block;font-size:12px;color:var(--t3);margin-top:2px}
.fq-on{font-size:13.5px;font-variant-numeric:tabular-nums}
.fq-code{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-variant-numeric:tabular-nums;color:var(--t1);white-space:nowrap;font-family:inherit}
.fq-cp{border:0;background:none;padding:2px;border-radius:6px;color:var(--t3);cursor:pointer;display:inline-grid;place-items:center}.fq-cp:hover{background:var(--fill);color:var(--t1)}.fq-cp .svg{width:14px;height:14px}
.fq-acts{white-space:nowrap}.fq-acts .ib{display:inline-grid}
.fq-stc .st{margin:0 auto}
.fq-tm{font-size:13.5px;color:var(--t2)}
table.fq .kizt{margin-left:6px}
/* ===== 5.14.0 Телефон в режиме «Версия для ПК» (html.tall: узкий высокий экран) ===== */
.mt-btn{display:none}
html.tall .mt-btn{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:999px;background:var(--fill);border:1px solid var(--border);color:var(--t1);font:inherit;font-size:14px;font-weight:500;white-space:nowrap;position:relative;cursor:pointer;flex:none}
html.tall .mt-btn .n{color:var(--t3);font-weight:400;margin-left:6px}
html.tall .mt-btn .svg{width:14px;height:14px;color:var(--t2)}
html.tall .mt-btn .mt-dot{position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:50%;background:#ff9f0a;box-shadow:0 0 0 2px var(--content)}
html.tall .mt-btn+.seg.p-tabs{display:none!important}
.mt-menu{min-width:250px;padding:6px!important}
.mt-menu button{display:flex!important;align-items:center;gap:10px;width:100%;height:42px;padding:0 12px!important;border:0;background:none;color:var(--t1);font:inherit;font-size:14px;border-radius:9px;text-align:left;cursor:pointer}
.mt-menu button .n{margin-left:auto;color:var(--t3);font-variant-numeric:tabular-nums;padding-left:16px}
.mt-menu button .n.warn,.mt-menu button .n.attn{color:#ff9f0a}
.mt-menu button.on{background:var(--fill-2,var(--fill))!important}
.mt-menu button .ck{width:16px;display:inline-grid;place-items:center;color:var(--accent-t)}.mt-menu button .ck .svg{width:14px;height:14px}
.mt-menu button>.svg:not(.ck .svg){display:none}
.mt-menu hr{border:0;border-top:1px solid var(--sep);margin:6px 4px}
html.tall .p-bar{flex-wrap:nowrap}
html.tall .p-bar .p-search,html.tall .p-bar .search{flex:1 1 140px!important;min-width:120px!important;max-width:none!important;width:auto!important}
/* Высота по содержимому: таблицы и блоки не растягиваются на весь высокий экран */
html.tall .p-table{height:auto!important}
html.tall .p-table .tablewrap{max-height:none!important;height:auto!important}
html.tall body{overflow-y:auto}
/* Обзор: сверху сводка и график на всю ширину, ниже Лента и FBS рядом, ещё ниже отзывы */
html.tall .ov5{height:auto!important;margin-bottom:0!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-auto-rows:auto!important}
html.tall .ov5-l,html.tall .ov5-r{display:contents!important}
html.tall .ov5 .ov5-hero{grid-column:1/3!important;grid-row:1!important}
html.tall .ov5 .ov5-feed{grid-column:1!important;grid-row:2!important}
html.tall .ov5 .ov5-fbs{grid-column:2!important;grid-row:2!important}
html.tall .ov5 #fbBox{grid-column:1/3!important;grid-row:3!important}
html.tall .ov5 .ov5-chart{height:240px!important;flex:none!important}
html.tall .ov5 .ov5-feed .fd-list{max-height:330px}
html.tall .ov5 .ov3-list{max-height:none!important;overflow:visible!important}
html.tall .ov5-feed .w-head{flex-wrap:wrap;row-gap:8px}
/* Широкие таблицы: колонка «Товар» закреплена слева, остальное листается пальцем вбок */
html.tall :is(#prodTable,#protTable,#cardTable) .tablewrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
html.tall #prodTable table{min-width:1120px;table-layout:fixed}
html.tall :is(#prodTable,#protTable,#cardTable) table th:nth-child(1),html.tall :is(#prodTable,#protTable,#cardTable) table td:nth-child(1){position:sticky!important;left:0;z-index:3;background:var(--content);width:48px!important;min-width:48px;max-width:48px}
html.tall :is(#prodTable,#protTable,#cardTable) table th:nth-child(2),html.tall :is(#prodTable,#protTable,#cardTable) table td:nth-child(2){position:sticky!important;left:48px;z-index:3;background:var(--content);box-shadow:inset -1px 0 0 var(--sep),10px 0 12px -10px rgba(0,0,0,.35)}
html.tall :is(#prodTable,#protTable,#cardTable) table thead th:nth-child(1),html.tall :is(#prodTable,#protTable,#cardTable) table thead th:nth-child(2){background:var(--fill)!important;z-index:5}
html.tall :is(#prodTable,#protTable,#cardTable) table tfoot td:nth-child(1),html.tall :is(#prodTable,#protTable,#cardTable) table tfoot td:nth-child(2){background:var(--fill)}
html.tall #prodTable table th:nth-child(2){width:290px!important}
html.tall #protTable table{min-width:1180px;table-layout:fixed}
html.tall #protTable table th:nth-child(2){width:270px!important}
html.tall #cardTable table{min-width:1300px;table-layout:fixed}
html.tall #cardTable table th:nth-child(2){width:260px!important}
/* Заказы FBS на узком экране: правые колонки компактнее, клиенту больше места */
html.tall table.fq col:nth-child(1){width:46px!important}
html.tall table.fq-new col:nth-child(3){width:120px!important}
html.tall table.fq-new col:nth-child(4){width:130px!important}
html.tall table.fq-new col:nth-child(5){width:74px!important}
html.tall table.fq:not(.fq-new) col:nth-child(3){width:170px!important}
html.tall table.fq:not(.fq-new) col:nth-child(4){width:100px!important}
html.tall table.fq:not(.fq-new) col:nth-child(5){width:130px!important}
html.tall table.fq-delivery col:nth-child(4){width:150px!important}
html.tall table.fq-delivery col:nth-child(5){width:80px!important}
html.tall table.fq:not(.fq-new) col:nth-child(6){width:96px!important}
html.tall table.fq-delivery col:nth-child(6){width:120px!important}
html.tall .fq-in{padding-left:12px!important}
html.tall .fq-in2{padding-left:20px!important}
html.tall .fq-code{font-size:12.5px}
html.tall table.fq th,html.tall table.fq td{padding-left:10px;padding-right:10px}
/* Карточка поставки FBW на узком экране */
html.tall .fc-head{flex-wrap:wrap}
html.tall .fc-kp{grid-template-columns:repeat(3,minmax(0,1fr))}
html.tall .fc-kp>div:nth-child(n+4){box-shadow:inset 0 1px 0 var(--sep)}
html.tall .fc-kp>div:nth-child(5),html.tall .fc-kp>div:nth-child(6){box-shadow:inset 1px 0 0 var(--sep),inset 0 1px 0 var(--sep)}
html.tall .fc-st b{white-space:normal;line-height:1.25}
html.tall .fc-sz{display:none}
.fc-t td{overflow:hidden}
html.tall .fc-t th:nth-child(2){width:124px!important}html.tall .fc-t th:nth-child(4){width:70px!important}html.tall .fc-t th:nth-child(5){width:90px!important}html.tall .fc-t th:nth-child(6){width:70px!important}
html.tall .fc-in-r{grid-template-columns:minmax(0,1fr) 120px 80px}
/* Карточка кампании на узком экране: кнопки переносятся под название, название не обрезается */
html.tall .ac-h{flex-wrap:wrap;row-gap:12px}
html.tall .ac-h .ac-tt{flex:1 1 320px;min-width:0}
html.tall .ac-h .ac-r{margin-left:auto}
html.tall .ac-h .ac-tt h2{white-space:normal}
/* Вход на высоком узком экране: логотип и подзаголовок сверху, форма сразу под ними, без пустой середины */
html.tall .auth{grid-template-columns:1fr;grid-template-rows:auto 1fr;min-height:calc(100vh * var(--zi,1))}
html.tall .auth-art{padding:56px 64px 40px;justify-content:flex-start;gap:48px}
html.tall .auth-form{align-items:flex-start!important;justify-content:center!important;padding:24px 64px 64px!important}
html.tall .auth-form .authbox{width:100%;max-width:560px;margin:0 auto}
.inv-top>b{font-weight:600!important;letter-spacing:-.3px}
/* Остров: вместо синей вращающейся обводки — один огонёк цвета логотипа бежит по краю */
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar{position:relative!important}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar::before{display:none!important}
.actionbar>svg.isl-glow{position:absolute!important;left:-1px!important;top:-1px!important;width:calc(100% + 2px)!important;height:calc(100% + 2px)!important;margin:0!important;overflow:visible;pointer-events:none;z-index:2;flex:none!important}
.isl-glow{animation:isl-show 1.3s linear both}
.isl-glow rect{x:1px;y:1px;width:calc(100% - 2px);height:calc(100% - 2px);rx:var(--r,26px);ry:var(--r,26px);fill:none;stroke-linecap:butt;animation:isl-run 1.3s cubic-bezier(.45,.05,.35,1) both}
.isl-glow .g1{filter:blur(4px)}.isl-glow .g2{filter:blur(10px);opacity:.7}
html:not([data-theme=dark]) .isl-glow .g2{opacity:.45}
@keyframes isl-run{from{stroke-dashoffset:0}to{stroke-dashoffset:-100}}
@keyframes isl-show{0%{opacity:0}10%{opacity:1}82%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.isl-glow{display:none}}
/* ===== 5.14.3 ===== */
/* FBS: раскрытая строка клиента/поставки серая, заказы и товары внутри — белые */
table.fq tr.fq-g.open td{background:color-mix(in srgb,var(--fill) 60%,var(--content))!important}
table.fq tr.fq-s td{background:var(--content)!important}
table.fq tr.fq-s.sel td{background:color-mix(in srgb,var(--t1) 3%,var(--content))!important}
.fq-lk{display:inline-grid;place-items:center;color:var(--t3);margin-left:2px}.fq-lk .svg{width:13px;height:13px}
table.fq .ib[data-lk="1"]{color:var(--warn)}
/* Обзор: «Заказы сегодня» забирает свободную высоту (график растёт до 320 px), отзывы — около трёх штук */
@media (min-width:1101px){
html:not(.tall) .ov5-l .ov5-hero{flex:1 1 260px!important;max-height:470px;min-height:220px;display:flex;flex-direction:column}
html:not(.tall) .ov5-l .ov5-hero .ov5-chart{flex:1 1 auto;height:auto!important;min-height:90px;max-height:320px}
html:not(.tall) .ov5-l .ov3-fb{flex:1 1 360px!important;min-height:250px!important}
}
/* Ползунок входа «Проведите вправо» */
.sl{position:relative;height:48px;border-radius:999px;background:var(--fill);border:1px solid var(--border);overflow:hidden;user-select:none;touch-action:none}
.sl-fill{position:absolute;left:0;top:0;bottom:0;width:0;background:color-mix(in srgb,#0b84fb 16%,transparent);border-radius:999px}
.sl-txt{position:absolute;inset:0;display:grid;place-items:center;font-size:14px;color:var(--t2);pointer-events:none;padding-left:40px}
.sl-knob{position:absolute;left:4px;top:4px;width:40px;height:40px;border-radius:50%;border:0;background:#0b84fb;color:#fff;display:grid;place-items:center;cursor:grab;box-shadow:0 2px 8px -2px rgba(11,132,251,.6);touch-action:none}
.sl-knob:active{cursor:grabbing}.sl-knob .svg{width:18px;height:18px}
.sl-knob:focus-visible{outline:2px solid #0b84fb;outline-offset:2px}
.sl.ok .sl-fill{background:color-mix(in srgb,var(--green) 18%,transparent)}
.sl.ok .sl-knob{background:var(--green);box-shadow:none;cursor:default}
.sl.ok .sl-txt{color:var(--green);font-weight:500;padding-left:0}
.sl.shake{animation:sl-shake .35s ease}
@keyframes sl-shake{20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(4px)}}
/* 5.14.4 Замок у номера поставки: открытый — тонкий серый, закрытый — залитый основным цветом */
.fq-lock{display:inline-grid;place-items:center;width:26px;height:26px;border:0;background:none;border-radius:7px;cursor:pointer;color:var(--t3);margin-left:4px;padding:0}
.fq-lock:hover{background:var(--fill);color:var(--t1)}.fq-lock .svg{width:16px;height:16px}
.fq-lock.on{color:var(--t1)}.fq-lock.on .svg rect{fill:currentColor}
.fq-code{gap:2px}
/* 5.14.4 Вход: ползунок вместо кнопки «Войти» — синяя дорожка цвета логотипа, белая ручка, бегущий блик */
.sl{background:#0b84fb!important;border:0!important;height:48px}
.sl-txt{color:#fff!important;font-weight:500;font-size:15px;padding-left:36px;transition:opacity .15s}
.sl-knob{background:#fff!important;color:#0b84fb!important;box-shadow:0 2px 6px rgba(0,0,0,.25)!important}
.sl-sh{position:absolute;inset:0;background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.28) 50%,transparent 65%);background-size:250% 100%;animation:sl-sh 2.6s ease-in-out infinite;pointer-events:none}
@keyframes sl-sh{0%{background-position:120% 0}60%,100%{background-position:-60% 0}}
.sl.ok .sl-sh{display:none}.sl.ok .sl-knob{background:#fff!important;color:#0b84fb!important;box-shadow:none!important}.sl.ok .sl-txt{color:#fff!important;padding-left:0;padding-right:44px}
.sl-submit{display:none}
@media (prefers-reduced-motion:reduce){.sl-sh{animation:none;opacity:0}}

/* ===== 5.15 Пульт: таблица как в Товарах, задачи блоками по порядку ===== */
#content table.pq td{height:66px}
.pq tr.pq-g{cursor:pointer}
.pq .pq-n .nm{display:flex;align-items:center;gap:12px;min-width:0}.pq .pq-n .nm>div{min-width:0}
.pq .pq-n b{display:block;font-weight:450;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pq .pq-n small{display:block;color:var(--t3);font-size:12.5px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pq td.c .v{display:block;font-variant-numeric:tabular-nums;white-space:nowrap}
.pq td.c .s{display:block;font-size:12.5px;color:var(--t2);margin-top:3px;white-space:nowrap}
.pq td.c .s.up,.pq b.up{color:var(--green)}.pq td.c .s.dn,.pq b.dn{color:var(--red)}.pq b.up,.pq b.dn{font-weight:400}
.pq-tg{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 11px;border:1px solid var(--border);border-radius:999px;font-size:12.5px;white-space:nowrap;color:var(--t1);background:var(--content)}
.pq-tg i{width:7px;height:7px;border-radius:50%;background:var(--green);flex:none}.pq-tg.bad i{background:var(--red)}.pq-tg.warn i{background:var(--yellow)}.pq-tg.none i{background:var(--t3)}
.pq-tg .svg{width:13px;height:13px;color:var(--t2)}.pq-tg.dd{height:30px;font-size:13px;cursor:pointer}.pq-tg.dd:hover{background:var(--fill)}
.pq td.c .pq-tg+.s{margin-top:4px}.pq td.c .v+.pq-tg{margin-top:4px}
/* раскрытая строка: магазин белый с полоской слева, под ним светло-голубая подложка и блоки как в Обзоре */
.pq tr.pq-g.open td{background:var(--content)!important}
.pq tr.pq-g.open td.pq-n{box-shadow:inset 3px 0 0 #0b84fb}
#content table.pq tr.pq-x td{height:auto;padding:4px 16px 18px!important;background:color-mix(in srgb,#0b84fb 4%,var(--content))!important;border-left:0!important;cursor:default}
.pq-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:stretch}
.pq-c{border:1px solid var(--sep);border-radius:14px;background:var(--content);overflow:hidden;min-width:0;text-align:left}
.pq-ch{display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 14px;background:var(--fill);border-bottom:1px solid var(--sep)}
.pq-ch .nb{width:24px;height:24px;border-radius:50%;background:#0b84fb;color:#fff;display:grid;place-items:center;font-size:12.5px;font-weight:500;flex:none}
.pq-ch b{font-weight:500;font-size:14.5px;white-space:nowrap}.pq-ch .cn{color:var(--t3);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.pq-ch .grow{flex:1}
.pq-sz{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:var(--content);font:inherit;font-size:12.5px;color:var(--t1);white-space:nowrap;cursor:pointer;flex:none}.pq-sz:hover{background:var(--fill)}.pq-sz .svg{width:14px;height:14px;color:var(--t2)}
.pq-go{color:var(--accent-t,#0b84fb);font-size:13.5px;white-space:nowrap;text-decoration:none;flex:none}.pq-go:hover{text-decoration:underline}
.pq-i{display:flex;align-items:center;gap:12px;padding:9px 14px;border-top:1px solid var(--sep);cursor:pointer;min-width:0}.pq-ch+.pq-i{border-top:0}.pq-i:hover{background:var(--row-hov)}
.pq-th{width:36px;height:36px;border-radius:8px;object-fit:cover;background:var(--fill);flex:none;display:inline-block}
.pq-ic{width:36px;height:36px;border-radius:8px;background:var(--fill);color:var(--t2);display:grid;place-items:center;flex:none}
.pq-i .t{flex:1;min-width:0}.pq-i .t b{display:block;font-weight:400;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pq-i .t small{display:block;font-size:12px;color:var(--t3);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pq-st{display:block;font-size:11px;letter-spacing:1px;color:#f5b800;line-height:1.2}.pq-st s{text-decoration:none;color:var(--fill-2)}
.pq-i .m{font-size:12px;color:var(--t3);white-space:nowrap;min-width:44px;text-align:right}.pq-i .m b{font-weight:450}.pq-i .m b.dn{color:var(--red)}.pq-i .m b.wr{color:var(--warn)}
.pq-i .ar{color:var(--t3);display:inline-grid;place-items:center;width:22px;flex:none}.pq-i .ar .svg{width:14px;height:14px}.pq-i:hover .ar{color:#0b84fb}
.pq-more{padding:8px 14px 10px;font-size:12.5px;color:var(--t3);border-top:1px solid var(--sep)}
.pq-ths{display:flex;gap:6px;flex:1;min-width:0}.pq-ths img,.pq-ths span{width:40px;height:40px;border-radius:8px;object-fit:cover;background:var(--fill);flex:none}
.pq-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:26px 16px;color:var(--t2);text-align:center}.pq-empty .svg{width:22px;height:22px;color:var(--green)}.pq-empty b{color:var(--t1);font-weight:450}.pq-empty span{font-size:13px}
/* меню строки: контакты владельца и действия */
.pq-menu{width:320px;padding:6px!important}
.pq-menu .pq-cc{display:flex;align-items:center;gap:12px;padding:8px 8px 6px 10px}.pq-menu .av{width:38px;height:38px;border-radius:50%;background:rgba(11,132,251,.12);color:#0b84fb;display:grid;place-items:center;font-weight:500;flex:none}
.pq-menu .pq-cc>div{flex:1;min-width:0}.pq-menu .pq-cc b{display:block;font-weight:500;font-size:14.5px}.pq-menu .pq-cc small{display:block;color:var(--t3);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pq-menu .pq-cl{display:flex!important;align-items:center;gap:10px;width:100%;padding:9px 10px!important;border-radius:9px;font-size:14px;color:var(--t1);text-decoration:none;border:0;background:none;font:inherit;cursor:pointer}.pq-menu .pq-cl:hover{background:var(--fill)}
.pq-menu .pq-cl .svg{color:#0b84fb}.pq-menu .pq-cl em{font-style:normal;color:var(--accent-t,#0b84fb);margin-left:auto;font-size:13.5px}.pq-menu .pq-cl.add{color:var(--accent-t,#0b84fb)}
.pq-menu .pq-note{margin:2px 10px 6px;padding:8px 10px;background:var(--fill);border-radius:9px;font-size:12.5px;color:var(--t2);line-height:1.4}
.pq-menu .sep{height:1px;background:var(--sep);margin:5px 4px}
.pq-menu>button.dng,.pq-menu>button.dng .svg{color:var(--red)!important}
@media (max-width:1100px){.pq-grid{grid-template-columns:1fr}}
html.tall .pq-grid{grid-template-columns:1fr}
.or-add{display:inline-block;margin:10px 0 2px;font-size:13.5px}
@media (max-width:760px){.pq th:nth-child(3),.pq th:nth-child(4),.pq tr.pq-g>td:nth-child(3),.pq tr.pq-g>td:nth-child(4){display:none}.pq th{width:auto!important}.pq-ch{flex-wrap:wrap}.pq-ch .cn{flex-basis:100%;order:5}}

/* ---------- 6.0 Пульт: вкладка «Задачи». Классы pt-. Синий Голубя, красный только для срочного, остальное серое ---------- */
:root{--pt-red:#E5452B;--pt-red-t:#C8361E;--pt-red-bg:rgba(229,69,43,.09);--pt-blue:#0b84fb;--pt-blue-t:#0068da;--pt-blue-bg:rgba(11,132,251,.09)}
html[data-theme=dark]{--pt-red:#ff6b57;--pt-red-t:#ff8a78;--pt-red-bg:rgba(255,107,87,.14);--pt-blue:#0a84ff;--pt-blue-t:#409cff;--pt-blue-bg:rgba(10,132,255,.16)}
#content .p-bar .pbtn svg,.pt-wrap .pbtn svg{display:inline-block!important}
.pt-wrap{display:grid;grid-template-columns:minmax(330px,400px) minmax(0,1fr);gap:16px;height:calc(100vh - 222px);min-height:560px}
.pt-wrap>.panel{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0!important;margin:0!important}
.pt-ph{display:flex;align-items:center;gap:8px;height:60px;flex:none;padding:0 12px 0 16px;border-bottom:1px solid var(--line);background:var(--fill)}
.pt-ph .grow{flex:1}
.pt-ph .seg.sm{height:32px}.pt-ph .seg.sm button{padding:0 12px;font-size:13px}
.pt-flt.on{background:var(--pt-blue-bg)!important;border-color:color-mix(in srgb,var(--pt-blue) 35%,transparent)!important;color:var(--pt-blue-t)!important}
.pt-list{overflow:auto;flex:1;padding:4px 8px 8px}
.pt-cap{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--t2);padding:12px 10px 6px}
.pt-dot{width:7px;height:7px;border-radius:50%;flex:none;display:inline-block}.pt-dot.u{background:var(--pt-red)}.pt-dot.t{background:var(--pt-blue)}.pt-dot.l{background:var(--t3)}
.pt-cap .pt-dot{width:6px;height:6px}
.pt-m{position:relative;display:grid;grid-template-columns:8px 32px minmax(0,1fr);gap:10px;padding:10px 10px 11px 8px;border-radius:12px;cursor:pointer;outline:none}
.pt-m+.pt-m::before{content:"";position:absolute;left:60px;right:10px;top:0;height:1px;background:var(--sep)}
.pt-m:hover{background:var(--fill)}
.pt-m:focus-visible{box-shadow:0 0 0 2px var(--pt-blue)}
.pt-m.pt-sel{background:var(--fill-2)}
.pt-m.pt-sel::before,.pt-m.pt-sel+.pt-m::before,.pt-m:hover::before,.pt-m:hover+.pt-m::before{opacity:0}
.pt-mx{min-width:0}
.pt-u{width:8px;height:8px;border-radius:50%;margin-top:12px}
.pt-m.pt-new .pt-u{background:var(--pt-blue)}
.pt-ic{width:32px;height:32px;border-radius:9px;background:var(--fill);display:grid;place-items:center;color:var(--t2);flex:none}
.pt-ic .svg{width:16px;height:16px}
.pt-m.pt-sel .pt-ic{background:var(--content)}
.pt-m.pt-urg .pt-ic,.pt-ic.red{background:var(--pt-red-bg)!important;color:var(--pt-red)}
.pt-ic.pt-ok{color:var(--pt-blue)}
.pt-h{display:flex;align-items:baseline;gap:8px;min-width:0}
.pt-h b{font-weight:450;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--t1)}
.pt-h span{margin-left:auto;font-size:12px;color:var(--t2);white-space:nowrap}
.pt-s{font-size:12px;color:var(--t2);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pt-p{color:var(--t2);margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:18px}
.pt-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;padding:48px 24px;color:var(--t2)}
.pt-empty .svg{width:28px;height:28px;color:var(--t3);margin-bottom:4px}
.pt-empty b{color:var(--t1);font-weight:450;font-size:15px}.pt-empty span{max-width:300px;font-size:13px;line-height:18px}
.pt-empty .btn{margin-top:10px}
.pt-big{height:100%}
/* правая часть */
.pt-dh .pt-who{display:flex;align-items:center;gap:10px;min-width:0}
.pt-fl{width:22px;height:16px;border-radius:3px;overflow:hidden;box-shadow:0 0 0 .5px rgba(0,0,0,.18);flex:none;display:inline-flex}
.pt-fl .sh-fl{display:contents}.pt-fl svg,.pt-fl img{display:block;width:100%;height:100%}
.pt-who a{font-weight:450;color:var(--t1);text-decoration:none;border-bottom:1px solid transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pt-who a:hover{border-bottom-color:currentColor}
.pt-who small{color:var(--t2);white-space:nowrap}
.pt-body{overflow:auto;flex:1;padding:22px 28px 40px}
.pt-t{font-size:22px;line-height:28px;font-weight:450;margin:0;color:var(--t1)}
.pt-meta{display:flex;align-items:center;gap:12px;margin-top:6px;color:var(--t2);font-size:13px}
.pt-badge{display:inline-flex;align-items:center;gap:6px;color:var(--pt-red-t)}.pt-badge i{width:7px;height:7px;border-radius:50%;background:var(--pt-red)}
.pt-lead{margin:14px 0 0;font-size:15px;line-height:22px;max-width:660px;color:var(--t1)}
.pt-lead b{font-weight:450}
.pt-box{margin-top:18px;border:1px solid var(--line);border-radius:14px;overflow:hidden;max-width:760px;background:var(--content)}
.pt-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px}
.pt-row+.pt-row,.pt-rv+.pt-rv{border-top:1px solid var(--line)}
.pt-row .pt-ic{width:40px;height:40px;border-radius:10px}
.pt-rx{min-width:0}
.pt-row b{display:block;font-weight:450;color:var(--t1);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pt-row small{display:block;color:var(--t2);font-size:12px;margin-top:2px}
.pt-red{color:var(--pt-red-t)}
.pt-kv{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:6px;font-size:12px;color:var(--t2)}.pt-kv b{display:inline;color:var(--t1);font-size:13px;margin-left:4px}
.pt-mn{max-width:760px;padding:8px 14px 0;font-size:12px;color:var(--t2)}
.pt-acts{display:flex;gap:8px;align-items:center;margin-top:18px;flex-wrap:wrap}
.pt-note{display:flex;align-items:flex-start;gap:8px;margin-top:14px;color:var(--t2);font-size:13px;line-height:18px;max-width:760px}
.pt-note .svg{width:16px;height:16px;flex:none;margin-top:1px}
.pt-th{width:40px;height:40px;border-radius:10px;object-fit:cover;background:var(--fill);flex:none}
.pt-rv{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;padding:14px}
.pt-rv .pt-ic{width:40px;height:40px;border-radius:10px}
.pt-st{color:#f5b800;letter-spacing:1px;font-size:12px;flex:none}.pt-st s{color:var(--t3);opacity:.5;text-decoration:none}
.pt-rvh{display:flex;align-items:center;gap:8px;min-width:0}.pt-rvh b{font-weight:450;color:var(--t1)}.pt-rvh>span:last-child{margin-left:auto;color:var(--t2);font-size:12px}
.pt-rv p{margin:4px 0 0;color:var(--t1);line-height:20px;overflow-wrap:anywhere}
.pt-pd{font-size:12px;color:var(--t2);margin-top:2px}
.pt-ac{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.pt-ac .pbtn .svg{width:14px;height:14px}
.pt-draft{margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--fill)}
.pt-draft small{display:flex;align-items:center;gap:6px;color:var(--t2);font-size:12px}.pt-draft small .svg{width:13px;height:13px;color:var(--pt-blue)}
.pt-draft p{margin:6px 0 2px;white-space:pre-wrap}
.pt-draft textarea{margin-top:6px;width:100%;min-height:76px;resize:vertical;background:var(--content)}
.pt-more{display:flex;width:100%;align-items:center;justify-content:center;height:40px;border:0;border-top:1px solid var(--line);background:none;color:var(--pt-blue-t);font:inherit;font-weight:450;cursor:pointer}
.pt-more:hover{background:var(--fill)}
.pt-li{display:flex;align-items:center;gap:10px;padding:11px 14px;color:var(--t1)}
.pt-li+.pt-li{border-top:1px solid var(--line)}
.pt-li .grow{flex:1;min-width:0}.pt-li small{color:var(--t2);font-size:12px;white-space:nowrap}
.pt-okc{color:var(--pt-blue);width:16px;height:16px;flex:none}
/* меню фильтра */
.pt-pop{position:fixed;z-index:60;width:290px;max-height:min(520px,80vh);display:flex;flex-direction:column;background:var(--content);border-radius:14px;box-shadow:0 8px 28px rgba(0,0,0,.16),0 0 0 .5px rgba(0,0,0,.1);padding:6px}
html[data-theme=dark] .pt-pop{box-shadow:0 8px 28px rgba(0,0,0,.5),0 0 0 .5px rgba(255,255,255,.12)}
.pt-pl{overflow:auto;min-height:0}
.pt-pc{font-size:11px;color:var(--t2);padding:6px 10px 2px}
.pt-pi{display:flex;width:100%;align-items:center;gap:10px;height:34px;padding:0 10px;border-radius:9px;border:0;background:none;font:inherit;color:var(--t1);cursor:pointer;text-align:left}
.pt-pi:hover,.pt-pi.on{background:var(--fill)}
.pt-pt{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pt-pn{font-size:12px;color:var(--t2)}.pt-pn.red{color:var(--pt-red-t)}
.pt-ck{width:16px;flex:none;color:var(--pt-blue);display:inline-flex}.pt-ck .svg{width:15px;height:15px}
.pt-hr{height:1px;background:var(--line);margin:6px 4px}
.pt-pi .pt-fl{width:20px;height:14px}
/* телефон и узкое окно: список, по нажатию задача на весь экран */
@media (max-width:1180px){.pt-hide{display:none}}
@media (max-width:899px){.pt-wrap{grid-template-columns:1fr;height:auto;min-height:0}.pt-wrap>.panel{max-height:none}.pt-right{display:none!important}.pt-mdet .pt-left{display:none!important}.pt-mdet .pt-right{display:flex!important}
 .pt-list{overflow:visible}.pt-body{overflow:visible;padding:18px 16px 28px}.pt-t{font-size:19px;line-height:25px}.pt-ph{padding:0 10px}.pt-row{grid-template-columns:40px minmax(0,1fr)}.pt-row>.pbtn{grid-column:2;justify-self:start}
 .pt-dh{height:auto;flex-wrap:wrap;padding:10px;row-gap:8px}.pt-dh .grow{display:none}.pt-dh .pt-who{flex:1 1 calc(100% - 50px)}.pt-dh .pt-who small{display:none}.pt-h b{white-space:normal}.pt-m .pt-h{align-items:flex-start}.p-bar .pt-vw{flex:1}.p-bar .pt-vw button{flex:1}}

/* ---------- 6.1 Новый стиль: Пульт и Обзор (макеты pu14–pu25, ov6–ov7). Светлый фон, белые карточки, синяя главная кнопка ---------- */
/* Меню слева (на всех страницах): фон #f3f3f5 с линией справа; у открытого раздела нет подложки, текст толще, иконка залита; числа в синем круге */
html:not([data-theme=dark]){--win:#f3f3f5}
html:not([data-theme=dark]) aside.side{background:#f3f3f5!important;border-right:1px solid #e6e6e9!important}
nav.menu .nv-pill{display:none!important}
.nav.active,nav.menu.has-pill .nav.active,.nav.on,nav.menu .nav.on{background:transparent!important}
.nav.active:hover{background:var(--fill)!important}
.nav.active{font-weight:550!important;color:var(--t1)!important}
.nav .count,.nav .count.red{background:#0b84fb!important;color:#fff!important}
.nav .count:not(.m-dot){min-width:22px!important;height:22px!important;border-radius:11px!important;padding:0 6px!important;font-size:12px!important}
@media (max-width:760px){nav.menu .nav .count:not(.m-dot){min-width:18px!important;height:18px!important;font-size:10.5px!important;padding:0 5px!important}}

body.pt-v2{--v2-ink:#1d1d1f;--v2-ink2:#3a3a3c;--v2-mut:#8a8a8e;--v2-card:#fff;--v2-line:#e8e8eb;--v2-soft:#f2f2f4;--v2-sel:#ebebee;--v2-hov:#fafafb}
html[data-theme=dark] body.pt-v2{--v2-ink:#f2f2f2;--v2-ink2:#d6d6d8;--v2-mut:#8e8e93;--v2-card:#1f1f21;--v2-line:#2c2c2e;--v2-soft:#2a2a2c;--v2-sel:#3a3a3d;--v2-hov:#242426}
html:not([data-theme=dark]) body.pt-v2 .workspace{background:#fafafb!important}
body.pt-v2 .pghead h1{font-weight:450;letter-spacing:-.2px}
body.pt-v2 .pghead p{color:var(--v2-mut)}
/* Главная кнопка: синяя капсула. Одна на экран */
.pt-blk{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 20px 0 16px;border:0;border-radius:999px;background:#0b84fb;color:#fff;font:inherit;font-size:14.5px;font-weight:450;cursor:pointer;box-shadow:0 1px 2px rgba(11,132,251,.3)}
.pt-blk:hover{background:#0a76e0}
.pt-blk .svg{width:17px;height:17px;display:inline-block!important}
/* Переключатели: сверху в белой капсуле, в карточках без капсулы; выбранный пункт на светло-сером */
.pt-tb2{display:flex;gap:2px;padding:4px;border-radius:999px;background:var(--v2-card);box-shadow:0 0 0 1px var(--v2-line)}
.pt-tb2 button{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 18px;border:0;border-radius:999px;background:none;font:inherit;font-size:14.5px;color:var(--v2-mut);cursor:pointer}
.pt-tb2 button span{color:inherit;opacity:.8;font-variant-numeric:tabular-nums}
.pt-tb2 button:hover:not(.on){color:var(--v2-ink)}
.pt-tb2 button.on{background:var(--v2-sel);color:var(--v2-ink);font-weight:450}
body.pt-v2 #content .p-bar{gap:10px;align-items:center}
body.pt-v2 #content .p-search{height:42px;border-radius:999px;background:var(--v2-card)!important;border:1px solid var(--v2-line)!important}
body.pt-v2 #content .p-bar .pbtn.dd-btn{height:42px;border-radius:999px;background:var(--v2-card)!important}
/* Карточки */
body.pt-v2 .pt-wrap{gap:20px}
body.pt-v2 .pt-wrap>.panel,body.pt-v2 #content .p-table,body.pt-v2 .ov5 .panel{background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;border-radius:22px!important;box-shadow:0 1px 3px rgba(0,0,0,.04)!important;overflow:hidden}
body.pt-v2 .pt-ph{background:var(--v2-card);border-bottom:1px solid var(--v2-line);height:64px;padding:0 14px 0 18px}
:root:root body.pt-v2 .seg.sm,:root:root body.pt-v2 .ov5 .seg{background:none!important;box-shadow:none!important;border:0!important;padding:0!important;gap:2px}
:root:root body.pt-v2 .seg .seg-pill,:root:root body.pt-v2 .seg .seg-ind{display:none!important}
:root:root body.pt-v2 .pt-ph .seg.sm button,:root:root body.pt-v2 .ov5 .seg button{height:34px;border-radius:999px!important;padding:0 14px!important;color:var(--v2-mut)!important;font-size:14px;box-shadow:none!important}
:root:root body.pt-v2 .pt-ph .seg.sm button.on,:root:root body.pt-v2 .ov5 .seg button.on,:root:root body.pt-v2 .pghead .seg button.on{background:var(--v2-sel)!important;color:var(--v2-ink)!important}
:root:root body.pt-v2 .seg button .n,:root:root body.pt-v2 .seg button i{color:inherit!important;opacity:.8}
body.pt-v2 .pt-flt{border:0!important;background:none!important;color:var(--v2-ink2)!important}
body.pt-v2 .pt-flt:hover{background:var(--v2-soft)!important}
/* Пульт: список задач как почта. Аватар клиента (буква на его цвете), значок задачи в углу */
body.pt-v2 .pt-list{padding:0}
body.pt-v2 .pt-cap{padding:16px 20px 8px;font-size:12.5px;color:var(--v2-mut)}
body.pt-v2 .pt-m{border-radius:0;padding:14px 18px 14px 10px;grid-template-columns:8px 44px minmax(0,1fr);gap:12px;align-items:start}
body.pt-v2 .pt-m+.pt-m::before{left:0;right:0;background:var(--v2-line)}
body.pt-v2 .pt-m:hover{background:var(--v2-hov)}
body.pt-v2 .pt-m.pt-sel{background:var(--v2-soft)}
body.pt-v2 .pt-m .pt-u{margin-top:18px}
body.pt-v2 .pt-m .pt-ic{width:44px;height:44px;border-radius:50%;background:var(--v2-soft);color:var(--v2-ink2)}
body.pt-v2 .pt-m .pt-ic.pt-ok{color:#0b84fb}
body.pt-v2 .pt-h b{font-size:15px;font-weight:500;color:var(--v2-ink)}
body.pt-v2 .pt-h span{font-size:12.5px;color:var(--v2-ink2)}
body.pt-v2 .pt-m .pt-s{font-size:13.5px;line-height:19px;color:var(--v2-ink2);margin-top:2px}
.pt-av{position:relative;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:17px;font-weight:500;color:var(--c);background:color-mix(in srgb,var(--c) 14%,var(--v2-card,#fff))}
.pt-kb{position:absolute;right:-3px;bottom:-3px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#8e8e93;color:#fff;box-shadow:0 0 0 2px var(--v2-card,#fff)}
.pt-kb.urgent{background:#E5452B}.pt-kb.today{background:#0b84fb}
.pt-kb .svg{width:11px;height:11px;stroke-width:2.2}
body.pt-v2 .pt-m.pt-sel .pt-kb{box-shadow:0 0 0 2px var(--v2-soft)}
.pt-tt{margin-top:2px;font-size:14px;line-height:19px;color:var(--v2-ink,#1d1d1f);font-weight:450;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pt-tt.u{color:#C8361E}
html[data-theme=dark] .pt-tt.u{color:#ff8a78}
.pt-pv{margin-top:2px;font-size:13.5px;line-height:19px;color:var(--v2-ink2,#3a3a3c);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* Пульт: задача справа как письмо. Сверху полоса действий, ниже от кого, тема, текст */
body.pt-v2 .pt-dh{height:60px}
body.pt-v2 .pt-dh .pbtn{height:38px;border-radius:999px!important;padding:0 16px;background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;color:var(--v2-ink)!important;font-size:14px}
body.pt-v2 .pt-dh .pbtn:hover{background:var(--v2-soft)!important}
body.pt-v2 .pt-body{padding:26px 32px 40px}
.pt-mh{display:flex;gap:14px;align-items:center}
.pt-av-l{width:48px;height:48px;font-size:19px;flex:none}
.pt-mf{flex:1;min-width:0}
.pt-mr{display:flex;align-items:baseline;gap:12px}
.pt-mr a{color:var(--v2-ink,#1d1d1f);text-decoration:none}.pt-mr a:hover b{text-decoration:underline}
.pt-mr b{font-size:16px;font-weight:500;color:var(--v2-ink,#1d1d1f)}
.pt-mt{margin-left:auto;font-size:13px;color:var(--v2-mut,#8a8a8e);white-space:nowrap}
.pt-mto{display:flex;align-items:center;gap:6px;margin-top:3px;font-size:13px;color:var(--v2-mut,#8a8a8e)}
.pt-mto .pt-fl{width:18px;height:13px}
.pt-subj{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0 0!important;padding-bottom:16px;border-bottom:1px solid var(--v2-line,#ececee);font-size:17px;line-height:24px;font-weight:500;color:var(--v2-ink,#1d1d1f)}
body.pt-v2 .pt-badge{height:24px;padding:0 10px 0 8px;border-radius:999px;background:#fde7e3;color:#c8361e;font-size:13px;font-weight:450}
html[data-theme=dark] body.pt-v2 .pt-badge{background:rgba(255,107,87,.18);color:#ff8a78}
.pt-bd2{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px 0 8px;border-radius:999px;background:#e3f0ff;color:#0068da;font-size:13px;font-weight:450}.pt-bd2 i{width:7px;height:7px;border-radius:50%;background:#0b84fb}
html[data-theme=dark] .pt-bd2{background:rgba(10,132,255,.2);color:#57a6ff}
body.pt-v2 .pt-lead{font-size:15.5px;line-height:23px;color:var(--v2-ink2);margin-top:16px}
body.pt-v2 .pt-mb .pt-lead:first-child{margin-top:18px;font-size:16px;line-height:24px;color:var(--v2-ink)}
body.pt-v2 .pt-lead b{color:var(--v2-ink);font-weight:500}
.pt-sec{margin:24px 0 8px;font-size:13px;font-weight:450;color:var(--v2-mut,#8a8a8e);max-width:760px}
.pt-sec+.pt-box{margin-top:0}
body.pt-v2 .pt-box{border:1px solid var(--v2-line);border-radius:18px;background:var(--v2-card)}
body.pt-v2 .pt-row{padding:14px 16px}
body.pt-v2 .pt-row+.pt-row{border-top-color:var(--v2-line)}
body.pt-v2 .pt-row b{font-size:15px;font-weight:500;color:var(--v2-ink)}
body.pt-v2 .pt-row small{font-size:13px;color:var(--v2-ink2)}
body.pt-v2 .pt-th,body.pt-v2 .pt-row .pt-ic{width:44px;height:44px;border-radius:12px}
/* Строка списка нажимается целиком: ↗ откроет товар или кампанию в новой вкладке; «Не напоминать» при наведении */
.pt-row.pt-lk{cursor:pointer;outline:none}
body.pt-v2 .pt-row.pt-lk:hover{background:var(--v2-hov)}
.pt-row.pt-lk:focus-visible{box-shadow:inset 0 0 0 2px #0b84fb}
.pt-ra{display:flex;align-items:center;gap:6px}
.pt-nn{height:32px;padding:0 14px;border:1px solid var(--v2-line,#e8e8eb);border-radius:999px;background:var(--v2-card,#fff);font:inherit;font-size:12.5px;color:var(--v2-ink2,#3a3a3c);cursor:pointer;opacity:0;transition:opacity .15s}
.pt-row.pt-lk:hover .pt-nn,.pt-nn:focus-visible{opacity:1}
.pt-nn:hover{background:var(--v2-soft,#f2f2f4);color:var(--v2-ink,#1d1d1f)}
.pt-nn:disabled{opacity:.5}
@media (hover:none){.pt-nn{opacity:1}}
.pt-go{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--v2-soft,#f2f2f4);color:var(--v2-ink2,#3a3a3c)}
.pt-row.pt-lk:hover .pt-go{background:#1d1d1f;color:#fff}
html[data-theme=dark] .pt-row.pt-lk:hover .pt-go{background:#f2f2f2;color:#111}
.pt-go .svg{width:15px;height:15px}
.pt-hd{max-width:760px;margin-top:8px;font-size:12.5px;color:var(--v2-mut,#8a8a8e)}
.pt-hd button{border:0;background:none;padding:0;font:inherit;color:#0068da;cursor:pointer}
body.pt-v2 .pt-note{margin-top:24px;color:var(--v2-mut)}
body.pt-v2 .pt-ac .pbtn,body.pt-v2 .pt-acts .pbtn{border-radius:999px!important;height:38px}
body.pt-v2 .pt-ac .pbtn.primary,body.pt-v2 .pt-acts .pbtn.primary{background:#0b84fb!important;border-color:#0b84fb!important;color:#fff!important}
body.pt-v2 .pt-draft{background:var(--v2-soft);border-radius:16px}
body.pt-v2 .pt-rv p{color:var(--v2-ink);font-size:14.5px;line-height:21px}
body.pt-v2 .pt-rvh b{color:var(--v2-ink);font-weight:500}
/* Пульт, «Клиенты»: таблица в белой карточке, плашки одной высоты, строка открывает задачи клиента */
body.pt-v2 #content .pq thead th{background:var(--v2-card)!important;color:var(--v2-mut)!important;font-weight:450!important}
body.pt-v2 #content .pq tr.pq-g>td{color:var(--v2-ink)}
body.pt-v2 #content .pq .pq-n b{font-weight:500;font-size:15px}
#content .pq .pq-tg{height:26px!important;font-size:12.5px!important;padding:0 11px!important}
/* Обзор: карточки, белые шапки, переключатели как в Пульте, «Отчёт» синяя */
body.pt-v2 .ov5{gap:20px!important}
body.pt-v2 .ov5-l,body.pt-v2 .ov5-r{gap:20px!important}
body.pt-v2 .ov5 .ov3-h,body.pt-v2 .ov5 .w-head{background:var(--v2-card)!important;border-bottom:1px solid var(--v2-line)!important;min-height:60px}
body.pt-v2 .ov5 .w-head b,body.pt-v2 .ov5 .w-head h2{font-weight:500;color:var(--v2-ink)}
:root:root body.pt-v2 .pghead .seg{background:var(--v2-card)!important;box-shadow:0 0 0 1px var(--v2-line)!important;border:0!important;padding:4px!important;gap:2px;border-radius:999px!important}
:root:root body.pt-v2 .pghead .seg button{height:36px;border-radius:999px!important;padding:0 18px!important;color:var(--v2-mut)!important;font-size:14.5px}
body.pt-v2 .pghead .btn{height:44px;border-radius:999px!important;padding:0 18px;background:#0b84fb!important;border:1px solid #0b84fb!important;color:#fff!important;box-shadow:0 1px 2px rgba(11,132,251,.3)!important}
body.pt-v2 .pghead .btn .svg{color:#fff!important}
body.pt-v2 .pghead .btn:hover{background:#0a76e0!important}
body.pt-v2 .ov5 .btn{border-radius:999px!important;height:36px;background:var(--v2-card)!important;border:1px solid var(--v2-line)!important;color:var(--v2-ink)!important;box-shadow:none!important}
body.pt-v2 .ov5 .btn:hover{background:var(--v2-soft)!important}
body.pt-v2 .ov5 .btn.ghost{border-color:transparent!important;background:none!important;color:var(--v2-ink2)!important}
body.pt-v2 .ov5 .btn.ghost:hover{background:var(--v2-soft)!important}
body.pt-v2 .ov5 .btn.icon-only{width:36px;padding:0}
body.pt-v2 .ov5 .btn.primary{background:#0b84fb!important;border-color:#0b84fb!important;color:#fff!important}
body.pt-v2 .ov5 .hero-top small,body.pt-v2 .ov5 .hk small,body.pt-v2 .ov5 .hk span{color:var(--v2-mut)}
body.pt-v2 .ov5 .ov3-rh b,body.pt-v2 .ov5 .fd-t b{font-weight:500;color:var(--v2-ink)}
body.pt-v2 .ov5 .ov3-rv p,body.pt-v2 .ov5 .ov3-rb p{color:var(--v2-ink);font-size:14.5px;line-height:21px}
body.pt-v2 .ov5 .fd-t small,body.pt-v2 .ov5 .fd-t span{color:var(--v2-ink2)}
body.pt-v2 .ov5 .ov3-when{color:var(--v2-mut)}
body.pt-v2 .ov5 .ov3-rv{padding-left:22px;padding-right:22px}
body.pt-v2 .ov5 .ov3-rv+.ov3-rv{border-top:1px solid var(--v2-line)!important}
body.pt-v2 .ov5 .fd-row:hover{background:var(--v2-hov)!important}
body.pt-v2 .ov5 .ov3-im,body.pt-v2 .ov5 .fd-row img{border-radius:12px!important}
/* Телефон */
@media (max-width:899px){body.pt-v2 .pt-body{padding:18px 16px 28px}body.pt-v2 #content .p-bar{flex-wrap:wrap}.pt-tb2{flex:1}.pt-tb2 button{flex:1;justify-content:center}.pt-blk{height:40px}.pt-mt{display:none}}
nav.menu .nav .count.m-dot{min-width:8px!important;width:8px!important;height:8px!important;padding:0!important;font-size:0!important;border-radius:50%!important}
/* 6.1.1 Размеры как во всём приложении: управление 32–36 px, шапки карточек 52 px, текст 13–14 px (в 6.1.0 Пульт был крупнее остального) */
.nav.active{font-weight:500!important}
.nav .count:not(.m-dot){min-width:18px!important;height:18px!important;border-radius:9px!important;padding:0 5px!important;font-size:11px!important}
.pt-blk{height:36px;padding:0 16px 0 13px;font-size:13.5px;gap:6px}
.pt-blk .svg{width:15px;height:15px}
.pt-tb2{padding:3px}
.pt-tb2 button{height:30px;padding:0 14px;font-size:13.5px;gap:6px}
body.pt-v2 #content .p-bar{gap:8px}
body.pt-v2 #content .p-search,body.pt-v2 #content .p-bar .pbtn.dd-btn{height:36px}
body.pt-v2 .pt-wrap{gap:16px}
body.pt-v2 .pt-wrap>.panel,body.pt-v2 #content .p-table,body.pt-v2 .ov5 .panel{border-radius:18px!important}
body.pt-v2 .pt-ph{height:52px;padding:0 12px 0 14px}
:root:root body.pt-v2 .pt-ph .seg.sm button,:root:root body.pt-v2 .ov5 .seg button{height:30px;padding:0 12px!important;font-size:13px}
body.pt-v2 .pt-cap{padding:12px 16px 6px;font-size:12px}
body.pt-v2 .pt-m{padding:11px 14px 11px 8px;grid-template-columns:8px 36px minmax(0,1fr);gap:10px}
body.pt-v2 .pt-m .pt-u{margin-top:14px}
body.pt-v2 .pt-m .pt-ic,.pt-av{width:36px;height:36px;font-size:15px}
.pt-kb{width:16px;height:16px;right:-2px;bottom:-2px}.pt-kb .svg{width:9px;height:9px}
body.pt-v2 .pt-h b{font-size:14px}
body.pt-v2 .pt-h span{font-size:12px}
.pt-tt{font-size:13.5px;line-height:18px;margin-top:1px}
.pt-pv{font-size:13px;line-height:18px;margin-top:1px}
body.pt-v2 .pt-dh{height:52px}
body.pt-v2 .pt-dh .pbtn{height:32px;padding:0 12px;font-size:13px}
body.pt-v2 .pt-body{padding:20px 24px 32px}
.pt-av-l{width:40px;height:40px;font-size:16px}
.pt-mh{gap:12px}
.pt-mr b{font-size:14.5px}
.pt-mt,.pt-mto{font-size:12px}
.pt-subj{font-size:15px!important;line-height:22px!important;margin-top:12px!important;padding-bottom:12px!important}
body.pt-v2 .pt-badge,.pt-bd2{height:22px;font-size:12px}
body.pt-v2 .pt-mb .pt-lead:first-child{margin-top:14px;font-size:14.5px;line-height:22px}
body.pt-v2 .pt-lead{font-size:14px;line-height:21px}
.pt-sec{margin:18px 0 6px;font-size:12px}
body.pt-v2 .pt-box{border-radius:14px}
body.pt-v2 .pt-row{padding:10px 12px;grid-template-columns:36px minmax(0,1fr) auto;gap:10px}
body.pt-v2 .pt-row b{font-size:13.5px}
body.pt-v2 .pt-row small{font-size:12px}
body.pt-v2 .pt-th,body.pt-v2 .pt-row .pt-ic{width:36px;height:36px;border-radius:9px}
.pt-nn{height:28px;padding:0 11px;font-size:12px}
.pt-go{width:28px;height:28px}.pt-go .svg{width:14px;height:14px}
body.pt-v2 .pt-note{margin-top:16px;font-size:12.5px}
body.pt-v2 .pt-ac .pbtn,body.pt-v2 .pt-acts .pbtn{height:32px}
body.pt-v2 .pt-rv{padding:12px}
body.pt-v2 .pt-rv p{font-size:13.5px;line-height:20px}
body.pt-v2 #content .pq .pq-n b{font-size:14px}
body.pt-v2 .ov5{gap:16px!important}
body.pt-v2 .ov5-l,body.pt-v2 .ov5-r{gap:16px!important}
body.pt-v2 .ov5 .ov3-h,body.pt-v2 .ov5 .w-head{min-height:52px}
:root:root body.pt-v2 .pghead .seg{padding:3px!important}
:root:root body.pt-v2 .pghead .seg button{height:30px;padding:0 14px!important;font-size:13.5px}
body.pt-v2 .pghead .btn{height:36px;padding:0 14px}
body.pt-v2 .ov5 .btn{height:32px}
body.pt-v2 .ov5 .btn.icon-only{width:32px}
body.pt-v2 .ov5 .ov3-rv p,body.pt-v2 .ov5 .ov3-rb p{font-size:13.5px;line-height:20px}
/* ---------- 6.2 Пульт (макеты pu26–pu29): письмо «От: / Тема:», ⋯ задачи и строк, выбор строк и клиентов с островом, карточка клиента ---------- */
.pt-ml{display:flex;align-items:center;gap:8px;min-height:24px;min-width:0}
.pt-ml+.pt-ml{margin-top:4px}
.pt-lb{width:40px;flex:none;font-size:12.5px;color:var(--v2-mut,#8a8a8e)}
.pt-ml a{color:var(--v2-ink,#1d1d1f);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pt-ml a:hover b{text-decoration:underline}
.pt-ml a b{font-size:14.5px;font-weight:500}
.pt-ml .pt-fl{width:18px;height:13px;flex:none;align-self:center;display:inline-flex}
.pt-id{font-size:12px;color:var(--v2-mut,#8a8a8e);white-space:nowrap}
.pt-ml .pt-mt{margin-left:auto}
.pt-sj{font-size:15px;font-weight:600;color:var(--v2-ink,#1d1d1f);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pt-bd3{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;background:none;border:1px solid var(--sep);color:var(--v2-ink2,#3a3a3c);font-size:12px;flex:none}
.pt-ml .pt-badge,.pt-ml .pt-bd2{flex:none}
.pt-mh{align-items:flex-start;padding-bottom:14px;border-bottom:1px solid var(--v2-line,#e8e8eb)}
.pt-mh .pt-av-l{margin-top:2px}
.pt-dots{width:30px;height:30px;flex:none;border:0;border-radius:50%;background:none;color:var(--v2-ink2,#3a3a3c);display:inline-grid;place-items:center;cursor:pointer}
.pt-dots:hover{background:var(--v2-soft,#f2f2f4)}
.pt-sec{display:flex;align-items:center;gap:8px}
.pt-sa{margin-left:auto;border:0;background:none;padding:0;font:inherit;font-size:12.5px;color:#0068da;cursor:pointer}
.pt-cb{width:16px;height:16px;margin:0;flex:none;accent-color:#0b84fb}
.pt-picking .pt-row{grid-template-columns:16px 36px minmax(0,1fr)!important}
.pt-row.pt-on{background:#f0f6ff!important}
body.pt-v2 .pt-more{height:38px;font-size:13px}
/* Клиенты */
#content .pq th.pq-cb,#content .pq td.pq-cb{width:44px!important;text-align:center;padding:0!important}
#content .pq td.pq-cb input,#content .pq th.pq-cb input{width:16px;height:16px;accent-color:#0b84fb}
#content .pq tr.pq-on>td{background:#f0f6ff!important}
#content .pq tr.pq-g{cursor:pointer}
#content .pq th.pq-per{cursor:pointer;user-select:none}
#content .pq th.pq-per u{text-decoration:none}
#content .pq th.pq-per:hover u{color:#0b84fb}
#content .pq .pq-tg+.s{display:block;margin-top:5px;font-size:12px;color:var(--v2-ink2,#3a3a3c)}
#content .pq td.c{vertical-align:middle}
/* Карточка клиента справа */
.pt-cl{position:fixed;top:12px;right:12px;bottom:12px;width:400px;z-index:40;background:#fff;border:1px solid #e8e8eb;border-radius:18px;box-shadow:0 12px 40px rgba(0,0,0,.14);display:flex;flex-direction:column;overflow:hidden;font-size:13.5px;--v2-ink:#1d1d1f;--v2-ink2:#3a3a3c;--v2-mut:#8a8a8e;--v2-line:#e8e8eb;--v2-soft:#f2f2f4}
.pt-clh{display:flex;align-items:center;gap:12px;padding:16px 14px 14px 18px;border-bottom:1px solid #e8e8eb}
.pt-clh .pt-mf b{font-size:15px;font-weight:500;display:block}
.pt-clh .pt-fl{width:18px;height:13px;display:inline-flex}
.pt-x{width:30px;height:30px;border:0;border-radius:50%;background:none;font-size:20px;line-height:1;color:#8a8a8e;cursor:pointer}.pt-x:hover{background:#f2f2f4}
.pt-clb{flex:1;overflow:auto;padding:4px 18px 18px}
.pt-clb .pt-sec{margin:16px 0 6px}
.pt-clb .pt-box{border:1px solid #e8e8eb;border-radius:14px;overflow:hidden}
.pt-k{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.pt-k>div{padding:10px 12px}.pt-k>div+div{border-left:1px solid #e8e8eb}
.pt-k small{display:block;font-size:11.5px;color:#8a8a8e}.pt-k b{display:block;font-size:16px;font-weight:500;margin-top:2px}.pt-k em{font-style:normal;font-size:11.5px}
.pt-up{color:#0A7A4C}.pt-dn{color:#C8361E}
.pt-clb .pt-li{display:flex;align-items:center;gap:10px;padding:10px 12px}
.pt-clb .pt-li+.pt-li{border-top:1px solid #e8e8eb}
.pt-clb .pt-li .lbl{width:118px;flex:none;color:#8a8a8e;font-size:12.5px}
.pt-clb .pt-li .grow{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.pt-clb .pt-li .mut{color:#b0b0b5}
.pt-clb .pt-li a{color:#0068da;text-decoration:none}
.pt-lnk{border:0;background:none;padding:0;font:inherit;font-size:12.5px;color:#0068da;cursor:pointer}
.pt-cla{display:flex;gap:8px;margin-top:18px}
.pt-cla .btn{flex:1;height:36px;border-radius:999px!important;justify-content:center}
.pt-cla .btn.primary{background:#0b84fb!important;border-color:#0b84fb!important;color:#fff!important}
#content .pq .pq-tg+.s.up{color:#0A7A4C}#content .pq .pq-tg+.s.dn{color:#C8361E}
/* 6.2: ячейки «Клиентов» — плашка сверху, пояснение снизу; кнопка «Исправить все» */
.pt-sj{font-weight:400!important}
#content .pq .pq-tg.nd{gap:0}
#content .pq .pq-tg.nd.up{color:#0A7A4C}#content .pq .pq-tg.nd.dn{color:#C8361E}
#content .pq .pq-tg+.s{color:var(--v2-ink,#1d1d1f)!important}
.pt-fix{display:flex;align-items:center;gap:14px;margin-top:16px;max-width:760px}
.pt-fix .pt-blk{height:34px;flex:none}
.pt-fix span{font-size:12.5px;line-height:17px;color:var(--v2-mut,#8a8a8e)}
/* 6.2: галочки у строк задачи всегда, ⋯ у строки */
.pt-picking .pt-row{grid-template-columns:16px 36px minmax(0,1fr) auto!important}
.pt-row .pt-dots{opacity:.55}.pt-row:hover .pt-dots{opacity:1}
.pt-fix{margin-top:14px}
.pt-fix .pt-blk{height:32px;padding:0 14px 0 11px;font-size:13px}
/* 6.2: выбранная строка #f7faff */
.pt-row.pt-on{background:#f7faff!important}
#content .pq tr.pq-on>td{background:#f7faff!important}
:is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar) .actionbar .btn.primary .svg,.pt-blk .svg,.btn.primary .svg{color:#fff!important}
/* 6.2.1 Пульт и Обзор как Товары: управление в полосе 40 px (переключатель 40 с пунктами 32), заголовок страницы и шапка таблицы как в Товарах; период в шапке не подсвечивается */
body.pt-v2 .pghead h1{font-weight:520!important;letter-spacing:0}
body.pt-v2 .pghead p{color:var(--t2)}
.pt-tb2{padding:3px;gap:2px}
.pt-tb2 button{height:32px;padding:0 14px;font-size:13.5px}
body.pt-v2 #content .p-search{height:40px!important}
#content .p-bar .pt-blk,.pt-blk{height:40px;padding:0 18px 0 14px;font-size:13.5px}
.pt-fix .pt-blk{height:34px!important;padding:0 14px 0 11px!important;font-size:13px}
body.pt-v2 #content .pq thead th{color:var(--t1)!important;font-weight:600!important;font-size:12px}
#content .pq th.pq-per:hover u{color:inherit}
.pt-tb2{box-shadow:none!important;border:1px solid var(--sep)}

/* ---------- 6.3 Товары в новом стиле и единые размеры на Пульте, Обзоре и Товарах ----------
   Полоса и шапка страницы: всё 40 px; пункт переключателя 32, отступы 14; кнопки с текстом отступы 16 (со стороны иконки 13); шрифт 13,5; иконка 15; поиск 240; промежутки 8.
   Внутри карточек: шапка 52; пункт переключателя 30 (отступы 12, шрифт 13); кнопка 32 (отступы 12/10, шрифт 13); круглые 30; шапка таблицы 48; плашка 26. */
body.pt-v2{--u-h:40px;--u-in:32px;--u-pad:16px;--u-ipad:13px;--u-fs:13.5px;--u-ic:15px}
:root:root body.pt-v2 #content .p-bar{gap:8px!important}
:root:root body.pt-v2 #content .p-bar .seg.p-tabs,:root:root body.pt-v2 .pt-tb2,:root:root body.pt-v2 .pghead .seg{height:var(--u-h)!important;padding:3px!important;gap:2px!important;background:var(--v2-card)!important;border:1px solid var(--sep)!important;box-shadow:none!important;border-radius:999px!important;display:inline-flex;align-items:center}
:root:root body.pt-v2 #content .p-bar .seg.p-tabs .seg-pill,:root:root body.pt-v2 #content .p-bar .seg.p-tabs .seg-ind{display:none!important}
:root:root body.pt-v2 #content .p-bar .seg.p-tabs>button,:root:root body.pt-v2 .pt-tb2 button,:root:root body.pt-v2 .pghead .seg>button{height:var(--u-in)!important;padding:0 14px!important;font-size:var(--u-fs)!important;border-radius:999px!important;color:var(--v2-mut)!important;gap:6px}
:root:root body.pt-v2 #content .p-bar .seg.p-tabs>button.on,:root:root body.pt-v2 .pt-tb2 button.on,:root:root body.pt-v2 .pghead .seg>button.on{background:var(--v2-sel)!important;color:var(--v2-ink)!important}
:root:root body.pt-v2 #content .p-bar .seg.p-tabs>button .n,:root:root body.pt-v2 .pt-tb2 button span{color:inherit!important;opacity:.8}
:root:root body.pt-v2 #content .p-bar .seg.p-tabs>button.p-more{padding:0 12px 0 14px!important;gap:4px;display:inline-flex;align-items:center}
.p-more .svg.p-chev,.pt-blk .svg.p-chev{width:12px!important;height:12px!important;opacity:.8}
:root:root body.pt-v2 #content .p-bar .p-search{height:var(--u-h)!important;width:240px!important;flex:none!important;border-radius:999px!important;background:var(--v2-card)!important;border:1px solid var(--sep)!important;padding:0 14px!important;font-size:var(--u-fs)}
:root:root body.pt-v2 #content .p-bar .p-search input{font-size:var(--u-fs)!important}
:root:root body.pt-v2 #content .p-bar .p-search .svg{width:var(--u-ic);height:var(--u-ic)}
:root:root body.pt-v2 #content .p-bar .pbtn.dd-btn,:root:root body.pt-v2 #content .p-bar .pt-blk,:root:root body.pt-v2 .pghead .btn{height:var(--u-h)!important;min-height:var(--u-h)!important;padding:0 var(--u-pad) 0 var(--u-ipad)!important;font-size:var(--u-fs)!important;gap:6px!important;border-radius:999px!important}
:root:root body.pt-v2 #content .p-bar .pbtn.dd-btn{background:var(--v2-card)!important;border:1px solid var(--sep)!important}
:root:root body.pt-v2 #content .p-bar .pbtn.dd-btn .svg:first-child,:root:root body.pt-v2 #content .p-bar .pt-blk .svg:first-child,:root:root body.pt-v2 .pghead .btn .svg{width:var(--u-ic)!important;height:var(--u-ic)!important}
:root:root body.pt-v2 #content .p-bar .pt-blk{padding:0 var(--u-pad)!important}
:root:root body.pt-v2 #content .p-bar .pt-blk:has(.svg:first-child:not(.p-chev)){padding-left:var(--u-ipad)!important}
.pf-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#0b84fb;margin:0 2px 0 4px;vertical-align:middle}
/* внутри карточек */
:root:root body.pt-v2 .pt-ph,:root:root body.pt-v2 .ov5 .ov3-h,:root:root body.pt-v2 .ov5 .w-head{height:52px!important;min-height:52px!important;padding:0 12px 0 14px!important;box-sizing:border-box;display:flex;align-items:center}
:root:root body.pt-v2 .pt-ph .seg.sm button,:root:root body.pt-v2 .ov5 .seg button{height:30px!important;padding:0 12px!important;font-size:13px!important}
:root:root body.pt-v2 .ov5 .btn,:root:root body.pt-v2 .pt-fix .pt-blk,:root:root body.pt-v2 .pt-ac .pbtn,:root:root body.pt-v2 .pt-acts .pbtn{height:32px!important;min-height:32px!important;padding:0 12px 0 10px!important;font-size:13px!important}
:root:root body.pt-v2 .ov5 .btn.icon-only,:root:root body.pt-v2 .ov5 .ov3-h .pbtn.sq,:root:root body.pt-v2 .pt-dots,:root:root body.pt-v2 #content .row-acts .icon-only,:root:root body.pt-v2 #content .pq td .icon-only{width:30px!important;height:30px!important;min-height:30px!important;padding:0!important}
:root:root body.pt-v2 #content .p-table thead th,:root:root body.pt-v2 #content .pq thead th{height:48px!important;color:var(--t1)!important;font-weight:600!important;font-size:12px!important;background:var(--v2-card)!important}
:root:root body.pt-v2 #content .pq .pq-tg,:root:root body.pt-v2 #content .p-table .pq-tg{height:26px!important;padding:0 11px!important;font-size:12.5px!important}
/* «Ещё» в Товарах: меню как продолжение вкладок */
.p-xmenu{min-width:230px;padding:4px!important;border-radius:16px!important;background:var(--content)!important;border:1px solid var(--sep)!important;box-shadow:0 8px 24px rgba(0,0,0,.10)!important}
.p-xmenu button{display:flex!important;align-items:center;gap:10px;height:32px;padding:0 12px!important;border-radius:999px!important;font-size:13.5px;color:var(--t1)}
.p-xmenu button em{margin-left:auto;font-style:normal;font-size:12.5px;color:var(--t2)}
.p-xmenu button.on{background:#ebebee!important}
body.pt-v2 #content .row-acts{text-align:center}

/* ===== 6.4 Пульт как почта ===== */
/* непрочитанное: синяя точка слева (как в Apple Mail), синие тема и время */
body.pt-v2 .pt-m.pt-unr .pt-u{background:#0b84fb}
body.pt-v2 .pt-m.pt-unr .pt-tt{color:#0b6fd6;font-weight:500}
body.pt-v2 .pt-m.pt-unr .pt-h>span{color:#0b6fd6}
html[data-theme=dark] body.pt-v2 .pt-m.pt-unr .pt-tt,html[data-theme=dark] body.pt-v2 .pt-m.pt-unr .pt-h>span{color:#5aa9ff}
/* срочное: тонкий крупный красный «!» под временем, тема обычного цвета */
.pt-tt.u{color:inherit}
.pt-h .pt-ex{position:absolute;right:17px;top:30px;font:400 21px/1 inherit;font-style:normal;color:#e5452b}
/* закладка: голубая подсветка строки, синий значок; в списке значок при наведении */
body.pt-v2{--pin-bg:#f0f6ff;--pin-sel:#e3efff}
html[data-theme=dark] body.pt-v2{--pin-bg:rgba(11,132,251,.10);--pin-sel:rgba(11,132,251,.18)}
body.pt-v2 .pt-m.pt-pin{background:var(--pin-bg)}
body.pt-v2 .pt-m.pt-pin.pt-sel,body.pt-v2 .pt-m.pt-pin:hover{background:var(--pin-sel)}
body.pt-v2 .pt-m2 .pt-pv{padding-right:26px}
.pt-bm{position:absolute;right:12px;bottom:9px;width:26px;height:26px;border:0;border-radius:50%;background:none;color:var(--v2-mut,#8a8a8e);display:grid;place-items:center;cursor:pointer;opacity:0;transition:opacity .15s}
.pt-bm .svg{width:15px;height:15px;fill:none}
.pt-m:hover .pt-bm,.pt-bm:focus-visible{opacity:1}
.pt-bm:hover{background:#ebebee;color:var(--v2-ink,#1d1d1f)}
.pt-bm.on,.pt-bm2.on{opacity:1;color:#0b84fb}
.pt-bm.on .svg,.pt-bm2.on .svg{fill:currentColor}
body.pt-v2 .pt-cap{font-weight:500;color:var(--v2-ink2,#3a3a3c)}
/* условия фильтра плашками под шапкой списка */
.pt-fl2{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 14px;border-bottom:1px solid var(--v2-line,#ececef)}
.pt-chs{display:contents}
.pt-chip{display:inline-flex;align-items:center;gap:2px;height:26px;padding:0 4px 0 10px;border-radius:999px;background:#ebebee;color:#1d1d1f;font-size:12.5px;white-space:nowrap;max-width:200px}
.pt-chip button{width:20px;height:20px;border-radius:50%;border:0;background:none;display:grid;place-items:center;cursor:pointer;color:#6e6e73;padding:0}
.pt-chip button:hover{background:rgba(0,0,0,.08);color:#1d1d1f}
.pt-chip .svg{width:11px;height:11px}
.pt-rs{margin-left:6px;height:26px;padding:0 4px;border:0;background:none;color:#0b84fb;font:inherit;font-size:12.5px;cursor:pointer}
html[data-theme=dark] .pt-chip{background:#2c2c31;color:#f2f2f4}
/* текст письма уже, главная кнопка справа; список и «Выбрать все» по правому краю кнопки */
.pt-lr{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.pt-lr .pt-lead{max-width:520px}
:root:root body.pt-v2 .pt-lr>.pt-fix,:root:root body.pt-v2 .pt-lr>.pt-acts{margin:14px 0 0;flex:none}
:root:root body.pt-v2 .pt-mb .pt-sec,:root:root body.pt-v2 .pt-mb .pt-box,:root:root body.pt-v2 .pt-mb .pt-hd{max-width:none}
@media (max-width:899px){.pt-lr{flex-direction:column;gap:0}}

/* ===== 6.4 уведомления как в macOS: полупрозрачная карточка сверху справа, крестик при наведении ===== */
#toast{top:76px;bottom:auto;right:24px;gap:10px}
:root .toast.tst{position:relative;overflow:visible;background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(24px) saturate(1.6);backdrop-filter:blur(24px) saturate(1.6);color:#1d1d1f;border:1px solid rgba(0,0,0,.07);border-radius:20px!important;padding:12px 14px;width:360px;max-width:calc(100vw - 32px);box-shadow:0 10px 30px rgba(0,0,0,.14);display:flex;align-items:center;gap:12px;animation:tstin .32s cubic-bezier(.2,.8,.2,1)}
@keyframes tstin{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
.tst-i{flex:none;width:30px;height:30px;display:grid;place-items:center}
.tst-i svg{width:28px;height:28px;fill:#34c759}
.toast.bad .tst-i svg{fill:#e5452b}
.tst-i svg .w{fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tst-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.tst-t b{font-weight:500;font-size:13.5px;line-height:18px}
.tst-t small{font-size:13px;line-height:18px;color:#5f5f64}
:root .toast.tst .tmute{align-self:flex-start;padding:0;margin-top:3px;border:0;background:none;font:inherit;font-size:12px;color:#8a8a8e;text-decoration:none;opacity:1;cursor:pointer;max-height:0;overflow:hidden;transition:max-height .2s}
:root .toast.tst:hover .tmute{max-height:20px}
:root .toast.tst .tmute:hover{color:#0b84fb}
.tst-b{flex:none;height:30px;padding:0 13px;border:0;border-radius:999px;background:rgba(0,0,0,.06);color:#1d1d1f;font:inherit;font-size:13px;font-weight:500;cursor:pointer}
.tst-b:hover{background:rgba(0,0,0,.1)}
.tst-x{position:absolute;top:-8px;right:-8px;width:22px;height:22px;border-radius:50%;border:1px solid rgba(0,0,0,.1);background:#fff;color:#3a3a3c;display:grid;place-items:center;cursor:pointer;opacity:0;transform:scale(.8);transition:opacity .15s,transform .15s;box-shadow:0 1px 4px rgba(0,0,0,.12);padding:0}
.tst-x .svg{width:11px;height:11px}
.toast.tst:hover .tst-x,.tst-x:focus-visible{opacity:1;transform:none}
html[data-theme=dark] .toast.tst{background:rgba(40,40,44,.84);color:#f2f2f4;border-color:rgba(255,255,255,.08)}
html[data-theme=dark] .tst-t small{color:#a1a1a6}
html[data-theme=dark] .tst-b{background:rgba(255,255,255,.1);color:#f2f2f4}
html[data-theme=dark] .tst-x{background:#3a3a3e;color:#f2f2f4;border-color:rgba(255,255,255,.1)}
@media (max-width:760px){#toast{top:auto;bottom:96px;right:16px;left:16px;align-items:stretch}:root .toast.tst{width:auto}.tst-x{opacity:1;transform:none}}
:root:root body.pt-v2 .pt-fix .pt-blk{padding:0 14px!important}

/* ===== 6.5 Перо: один чат, кружок внизу справа ===== */
#gdFab{display:none!important}
#peFab{position:fixed;right:24px;bottom:24px;width:52px;height:52px;border-radius:50%;z-index:60;border:0;padding:0;cursor:pointer;background:#061653;box-shadow:0 10px 26px -8px rgba(11,60,200,.6);overflow:hidden;transition:transform .2s}
#peFab:hover{transform:scale(1.05)}
.pe-orb{display:block;border-radius:50%}
.pe-orb.fab{width:52px;height:52px}
.pe-orb.big{width:96px;height:96px;box-shadow:0 14px 36px rgba(11,60,200,.32)}
.pe-orb.sm{width:26px;height:26px;flex:none}
/* нет WebGL: неподвижный кружок того же цвета */
.pe-orb-css{background:radial-gradient(circle at 40% 30%,#3a8bff,#0b2585 55%,#020822)}
#pePanel{position:fixed;right:24px;bottom:88px;width:400px;height:min(600px,calc(100vh * var(--zi,1) - 150px));z-index:60;background:#fff;border:1px solid #e8e8eb;border-radius:20px;box-shadow:0 18px 50px rgba(0,0,0,.14);display:flex;flex-direction:column;overflow:hidden;font-size:13.5px;color:#1d1d1f;animation:peIn .22s ease-out}
@keyframes peIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.pe-h{display:flex;align-items:center;gap:8px;padding:12px 12px 0 16px}
.pe-h .grow{flex:1}
.pe-shop{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;background:#f3f3f5;font-size:12.5px;color:#3a3a3c;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pe-shop svg,.pe-shop img{width:16px;height:11px;border-radius:2px;flex:none}
.pe-ib{width:30px;height:30px;border-radius:50%;border:0;background:none;display:grid;place-items:center;color:#6e6e73;cursor:pointer;padding:0}
.pe-ib:hover{background:#f2f2f4;color:#1d1d1f}
.pe-ib svg,.pe-send svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pe-b{flex:1;min-height:0;overflow:auto;padding:12px 18px}
.pe-empty{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px;padding-bottom:10px}
.pe-empty p{margin:0;font-size:15px;line-height:22px;max-width:300px}
.pe-chips{display:flex;flex-direction:column;gap:6px;align-items:center}
.pe-chip{min-height:30px;padding:5px 13px;border-radius:999px;border:1px solid #e8e8eb;background:#fff;font:inherit;font-size:13px;color:#3a3a3c;cursor:pointer;max-width:340px}
.pe-chip:hover{background:#f7faff;border-color:#cfe2ff}
.pe-f{padding:0 14px 14px}
.pe-in{border:1px solid #e8e8eb;border-radius:18px;box-shadow:0 6px 20px rgba(11,132,251,.08);padding:10px 10px 10px 14px;display:flex;align-items:flex-end;gap:8px;background:#fff}
.pe-in textarea{flex:1;border:0;outline:0;resize:none;font:inherit;font-size:13.5px;line-height:20px;max-height:120px;padding:6px 0;background:none;color:inherit}
.pe-send{width:34px;height:34px;border-radius:50%;border:0;background:#0b84fb;color:#fff;display:grid;place-items:center;cursor:pointer;flex:none;padding:0}
.pe-send svg{stroke-width:2.2}
.pe-send.off{background:#e6e6e9;cursor:default}
.pe-me{margin:6px 0 14px auto;max-width:82%;width:fit-content;background:#0b84fb;color:#fff;border-radius:18px 18px 6px 18px;padding:9px 13px;line-height:19px;white-space:pre-wrap;word-break:break-word}
.pe-ai{display:flex;gap:10px;margin:0 0 12px}
.pe-ai .t{line-height:20px;padding-top:3px;white-space:pre-wrap;word-break:break-word}
.pe-card{margin:4px 0 12px 36px;border:1px solid #e8e8eb;border-radius:16px;overflow:hidden}
.pe-ch{display:flex;align-items:center;gap:6px;padding:10px 12px;border-bottom:1px solid #f0f0f2;font-size:12.5px;color:#6e6e73;flex-wrap:wrap}
.pe-ch b{color:#1d1d1f;font-weight:500;font-size:13px}
.pe-r{display:flex;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid #f0f0f2}
.pe-r .n{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pe-r .v{color:#6e6e73;text-align:right;max-width:60%}.pe-r .v b{color:#1d1d1f;font-weight:500}
.pe-r.more{color:#8a8a8e;font-size:12.5px}
.pe-note{padding:8px 12px;font-size:12.5px;line-height:17px;color:#6e6e73;border-bottom:1px solid #f0f0f2}
.pe-ca{display:flex;align-items:center;gap:10px;padding:10px 12px;flex-wrap:wrap}
.pe-ap{height:32px;padding:0 14px;border-radius:999px;border:0;background:#0b84fb;color:#fff;font:inherit;font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap}
.pe-ap:disabled{background:#c9ddf7;cursor:default}
.pe-no{border:0;background:none;color:#6e6e73;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.pe-ca small{margin-left:auto;color:#8a8a8e;font-size:12px}
.pe-ok{color:#1f9d47;font-size:13px}.pe-old{color:#8a8a8e;font-size:13px}
.pe-typing{display:inline-flex;gap:4px;padding-top:7px}.pe-typing span{width:6px;height:6px;border-radius:50%;background:#b9c9dd;animation:peDot 1.2s infinite}.pe-typing span:nth-child(2){animation-delay:.15s}.pe-typing span:nth-child(3){animation-delay:.3s}
@keyframes peDot{0%,60%,100%{opacity:.35}30%{opacity:1}}
html[data-theme=dark] #pePanel{background:#1c1c1f;border-color:#2e2e33;color:#f2f2f4}
html[data-theme=dark] .pe-shop{background:#2c2c31;color:#e5e5ea}
html[data-theme=dark] .pe-in{background:#232327;border-color:#2e2e33}
html[data-theme=dark] .pe-chip{background:#232327;border-color:#2e2e33;color:#e5e5ea}
html[data-theme=dark] .pe-card,html[data-theme=dark] .pe-ch,html[data-theme=dark] .pe-r,html[data-theme=dark] .pe-note{border-color:#2e2e33}
html[data-theme=dark] .pe-ch b,html[data-theme=dark] .pe-r .v b{color:#f2f2f4}
html[data-theme=dark] .pe-ib:hover{background:#2c2c31;color:#f2f2f4}
body.ap-open #peFab,body.ap-open #pePanel,body:has(.fm-dp) #peFab,body:has(.fm-dp) #pePanel{display:none!important}
@media (max-width:760px){#peFab{bottom:100px;width:48px;height:48px}.pe-orb.fab{width:48px;height:48px}#pePanel{right:8px;left:8px;width:auto;bottom:160px;height:calc(100dvh - 220px)}}
@media (prefers-reduced-motion:reduce){#pePanel{animation:none}.pe-typing span{animation:none}}
:root:root #pePanel .pe-in textarea{border:0!important;background:none!important;box-shadow:none!important;outline:0!important;min-height:20px!important;height:32px;padding:6px 0!important;border-radius:0!important;width:auto!important}
/* 6.5.1: кнопка — прежний логотип ПероAI, у ответов маленький значок Пера; шар только в пустом чате */
#peFab{background:var(--accent,#0b84fb)!important;color:#fff;display:grid;place-items:center;box-shadow:0 10px 26px -8px color-mix(in srgb,#0b84fb 70%,transparent)}
#peFab .svg{width:24px;height:24px;color:#fff;transition:transform .5s ease}#peFab:hover .svg{transform:rotate(45deg)}
.pe-av{width:26px;height:26px;border-radius:50%;background:#0b84fb;color:#fff;display:grid;place-items:center;flex:none}.pe-av .svg{width:14px;height:14px;color:#fff}
.pe-orb.big{box-shadow:0 14px 36px rgba(11,132,251,.35)}
/* 6.6: ссылка на отчёт в ответе Пера */
.pe-link{display:flex;gap:8px;width:100%}
.pe-link input{flex:1;min-width:0;height:32px;border:1px solid #e8e8eb;border-radius:999px;padding:0 12px;font:inherit;font-size:12.5px;color:#3a3a3c;background:#f7f7f9}
html[data-theme=dark] .pe-link input{background:#232327;border-color:#2e2e33;color:#e5e5ea}

/* ===== 6.6 Репрайсер в новом стиле; первые две колонки как в Товарах ===== */
:root:root body.pt-v2 #prodTable table th:first-child,:root:root body.pt-v2 #protTable table th:first-child{width:52px!important;min-width:52px!important;max-width:52px!important}
:root:root body.pt-v2 #prodTable table th:nth-child(2),:root:root body.pt-v2 #protTable table th:nth-child(2){width:300px!important;min-width:300px!important;max-width:300px!important}
:root:root body.pt-v2 #prodTable table,:root:root body.pt-v2 #protTable table{table-layout:fixed!important;width:100%!important}
:root:root body.pt-v2 #prodTable table th:nth-child(n+3),:root:root body.pt-v2 #protTable table th:nth-child(n+3){width:auto!important;min-width:0!important;max-width:none!important}
/* Репрайсер: остальным колонкам свои ширины, «На витрине» забирает остаток; в Товарах узкие «FBW» и «Действие» */
:root:root body.pt-v2 #protTable table th:nth-child(3){width:120px!important}
:root:root body.pt-v2 #protTable table th:nth-child(5),:root:root body.pt-v2 #protTable table th:nth-child(6){width:112px!important}
:root:root body.pt-v2 #protTable table th:nth-child(7){width:86px!important}
:root:root body.pt-v2 #protTable table th:nth-child(8){width:100px!important}
:root:root body.pt-v2 #protTable table th:nth-child(9){width:184px!important}
:root:root body.pt-v2 #prodTable table th:nth-child(4){width:100px!important}
:root:root body.pt-v2 #prodTable table th:last-child{width:96px!important}

/* ===== 6.7 · Реклама как в кабинете WB ===== */
#rkTable table.rkv-t{table-layout:auto;width:max-content!important;min-width:100%;border-collapse:separate!important;border-spacing:0;height:auto!important}
#rkTable table.rkv-t th{white-space:normal;line-height:15px;padding:0 12px!important;background:var(--content)!important}
#rkTable table.rkv-t th span{display:inline-block;max-width:118px}
#rkTable table.rkv-t td{white-space:nowrap;padding:0 12px!important;height:78px}
#rkTable table.rkv-t td.rkv-n{font-variant-numeric:tabular-nums;min-width:84px}
#rkTable .rkv-s0,#rkTable .rkv-s1,#rkTable .rkv-sE{position:sticky!important;z-index:2;background:var(--content)!important}
#rkTable th.rkv-s0,#rkTable th.rkv-s1,#rkTable th.rkv-sE{z-index:4!important}
#rkTable .rkv-s0{left:0;width:44px;min-width:44px;max-width:44px;padding:0!important;text-align:center}
#rkTable .rkv-s1{left:44px;width:300px;min-width:300px;max-width:300px;text-align:left!important;box-shadow:inset -1px 0 0 var(--sep)}
#rkTable .rkv-sE{right:0;width:52px;min-width:52px;max-width:52px;padding:0!important;text-align:center;box-shadow:inset 1px 0 0 var(--sep)}
#rkTable .tablewrap.rk-scrolled .rkv-s1{box-shadow:inset -1px 0 0 var(--sep),8px 0 12px -8px rgba(0,0,0,.16)}
html .p-table #rkTable tbody tr:hover :is(td.rkv-s0,td.rkv-s1,td.rkv-sE){background:linear-gradient(var(--row-hov),var(--row-hov)),var(--content)!important}
html .p-table #rkTable tbody tr.selected :is(td.rkv-s0,td.rkv-s1,td.rkv-sE){background:linear-gradient(color-mix(in srgb,var(--accent) 6%,transparent),color-mix(in srgb,var(--accent) 6%,transparent)),var(--content)!important}
#rkTable tr.paused td.rkv-n{color:var(--t2)}
#rkTable tfoot td{height:52px!important;font-weight:500;background:var(--fill)!important;border-top:1px solid var(--sep);border-bottom:0!important}
#rkTable tfoot :is(td.rkv-s0,td.rkv-s1,td.rkv-sE){background:var(--fill)!important}
#rkTable tfoot td.rkv-s1 b{font-weight:600}#rkTable tfoot .faint{font-weight:400}
.rkv-c{display:flex;align-items:center;gap:12px;min-width:0}
.rkv-ph{position:relative;flex:none}.rkv-ph .thumb{width:40px!important;height:40px!important;border-radius:9px!important;margin:0!important}
.rkv-peb{position:absolute;right:-5px;bottom:-5px;width:18px;height:18px;border-radius:50%;background:var(--accent);border:2px solid var(--content);display:grid;place-items:center;color:#fff}
.rkv-peb .svg{width:10px!important;height:10px!important}
.rkv-tt{min-width:0;flex:1}
.rkv-tt>b{display:block;font-weight:450;font-size:14px;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rkv-tt>small{display:block;font-size:11.5px;line-height:14px;color:var(--t3);margin-top:1px}
.rkv-l3{display:flex;align-items:center;gap:6px;margin-top:5px;white-space:nowrap;overflow:hidden}
.rkv-l3 small{font-size:12px;color:var(--t3)}
.rkv-st{flex:none;display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px;border-radius:11px;border:1px solid var(--border);font-size:11.5px;color:var(--t1)}
.rkv-st i{width:6px;height:6px;border-radius:50%;background:var(--t3)}
.rkv-st.ok i{background:var(--green)}.rkv-st.brand i{background:var(--accent)}
.rkv-st.bad{border-color:color-mix(in srgb,var(--red) 35%,transparent);color:var(--red)}.rkv-st.bad i{background:var(--red)}
.rkv-pe{flex:none;display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:11px;background:var(--accent-bg);color:var(--accent-t);font-size:11.5px}
.rkv-pe.ab{background:var(--fill);color:var(--t2)}
.rkv-act{flex:none;border:0;background:none;padding:0 2px;font:inherit;font-size:12.5px;color:var(--accent);cursor:pointer}
.rkv-act:hover{text-decoration:underline}
.rkv-tp b{display:block;font-weight:450}.rkv-tp small{display:block;font-size:12px;color:var(--t3);margin-top:2px}
.rkv-bids{display:flex;flex-direction:column;gap:6px;width:216px;margin:0 auto}
/* 6.14: одна сетка для «Поиск», «Рекомендации» и «Единая» — подписи и поля в одних колонках, ничего не прыгает */
.rkv-br{display:grid;grid-template-columns:28px 92px 76px;align-items:center;column-gap:10px}
.rkv-bn{text-align:left;font-size:12.5px;color:var(--t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rkv-br.off .rkv-bn{color:var(--t3)}
.rkv-sw{flex:none;width:28px;height:17px;border-radius:9px;border:0;padding:0;background:var(--fill-2);position:relative;cursor:pointer;transition:background .15s}
.rkv-sw::after{content:'';position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.22);transition:left .15s}
.rkv-sw.on{background:var(--accent)}.rkv-sw.on::after{left:13px}
.rkv-sw:disabled{opacity:.45;cursor:default}
.rkv-sw0{width:28px;flex:none}
.rkv-bids .stk-cell input.cell{width:76px!important;height:28px!important}
.rkv-bv{display:inline-flex;align-items:center;justify-content:center;width:76px;height:28px;border-radius:8px;background:transparent;color:var(--t2);font-size:13px;font-variant-numeric:tabular-nums}
.rkv-bv.off{color:var(--t3);background:transparent;border:1px solid var(--sep)}
.rkv-lim input.cell{width:104px!important}
.rkv-lim input.cell::placeholder{color:var(--t3)}
.rkv-bud{display:inline-flex;align-items:center;gap:8px}.rkv-bud .neg{color:var(--red)}
.rkv-plus{width:24px;height:24px;border-radius:50%;border:0;background:var(--accent-bg);color:var(--accent);display:grid;place-items:center;padding:0;cursor:pointer}
.rkv-plus .svg{width:12px!important;height:12px!important}
.rkv-dots{width:30px;height:30px;border:0;background:none;border-radius:50%;display:inline-grid;place-items:center;color:var(--t2);cursor:pointer}
.rkv-dots:hover{background:var(--fill)}
.rkv-drr.ok{color:var(--green)}.rkv-drr.bad{color:var(--red)}
/* всплывающие окна страницы */
.rk-pop{position:absolute;z-index:70;background:var(--content);border:1px solid var(--border);border-radius:16px;box-shadow:0 18px 40px -14px rgba(0,0,0,.35);color:var(--t1);font-size:13.5px;animation:pop-in .16s ease-out}
.rk-ph{display:flex;align-items:baseline;gap:8px;padding:14px 16px 8px}.rk-ph b{flex:1;font-weight:600;font-size:14.5px}.rk-ph small{font-size:12px;color:var(--t3)}
.rk-pf{display:flex;align-items:center;gap:8px;padding:10px 12px;border-top:1px solid var(--sep)}.rk-pf .grow{flex:1}.rk-pf .faint{font-size:12.5px}
.rk-pf .btn{height:34px!important;font-size:13.5px!important}
.rk-calp{width:820px;padding-top:14px}.rk-calp .rp-wrap{padding:0 16px 12px}
.rk-colsp{width:300px;display:flex;flex-direction:column;max-height:calc(100vh * var(--zi,1) - 240px)}
.rk-cl{overflow:auto;padding:0 6px 6px;min-height:0}
.rk-ci{display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border-radius:9px;cursor:default;user-select:none}
.rk-ci span{flex:1}.rk-ci:hover{background:var(--fill)}
.rk-ci input{margin:0}
.rk-ci.lock{color:var(--t3)}.rk-ci.lock .svg{width:14px;height:14px;color:var(--t3)}
.rkv-grip{width:16px;height:16px;fill:var(--t3);cursor:grab;flex:none}
.rk-ci.drag{background:var(--content);box-shadow:0 6px 18px rgba(0,0,0,.16);opacity:.9}
.rk-balp{width:300px}
.rk-bl{padding:0 16px 12px}.rk-bl div{display:flex;justify-content:space-between;align-items:center;height:30px}.rk-bl span{color:var(--t2)}.rk-bl b{font-weight:500;font-variant-numeric:tabular-nums}
.rk-bl .t{border-top:1px solid var(--sep);margin-top:4px;padding-top:4px}.rk-bl .t b{font-weight:600}
.rk-bl p{margin:8px 0 0;font-size:12.5px;line-height:17px;color:var(--t3)}
.rk-newp{min-width:260px;padding:4px}
.rk-newp button{display:flex;align-items:flex-start;gap:10px;width:100%;border:0;background:none;border-radius:12px;padding:9px 12px;text-align:left;font:inherit;color:var(--t1);cursor:pointer}
.rk-newp button:hover{background:var(--fill)}.rk-newp b{display:block;font-weight:500;font-size:13.5px}.rk-newp small{display:block;font-size:12px;color:var(--t3);margin-top:1px}
.rk-ni{width:28px;height:28px;border-radius:8px;background:var(--fill);display:grid;place-items:center;flex:none;color:var(--t1)}.rk-ni.pe{background:var(--accent);color:#fff}
/* баланс в верхней полосе */
.rk-tb{display:flex;align-items:center}
.rk-tbv{border:0;background:none;font:inherit;font-size:14px;font-weight:500;color:var(--t1);cursor:pointer;padding:0 8px;height:32px;border-radius:8px;font-variant-numeric:tabular-nums}
.rk-tbv:hover{background:var(--fill)}.rk-tbv.neg{color:var(--red)}
.rk-tbs{width:1px;height:24px;background:var(--sep);margin:0 10px 0 6px}
/* пополнение: откуда списать */
.rk-src{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.rk-src label{display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;border:1px solid var(--border);border-radius:10px;cursor:pointer}
.rk-src label:has(input:checked){border-color:var(--accent);background:var(--accent-bg)}
.rk-src label span{flex:1}.rk-src label b{font-weight:500;font-variant-numeric:tabular-nums}.rk-src label.low b{color:var(--t3)}
/* выбор товара для кампании с ПероAI */
.rk-pq{width:100%!important;margin:0 0 8px}
.rk-pl{max-height:min(420px,calc(100vh * var(--zi,1) - 300px));overflow:auto;display:flex;flex-direction:column;gap:2px}
.rk-pi2{display:flex;align-items:center;gap:12px;border:0;background:none;border-radius:12px;padding:8px;text-align:left;font:inherit;color:var(--t1);cursor:pointer}
.rk-pi2:hover{background:var(--fill)}.rk-pi2.on{background:var(--accent-bg)}.rk-pi2.no{opacity:.55}
.rk-pi2 .thumb{width:40px!important;height:40px!important;border-radius:9px!important;margin:0!important;flex:none}
.rk-pi2>span{flex:1;min-width:0}.rk-pi2 b{display:block;font-weight:450;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rk-pi2 small{display:block;font-size:12px;color:var(--t3)}
.rk-pi2>.svg{color:var(--accent)}
/* чат ПероAI поверх страницы: таблица не сжимается */
.ap{top:calc(var(--bar-h,64px) + 12px)!important;right:16px!important;bottom:16px!important;width:520px!important;border:1px solid var(--border)!important;border-radius:20px!important;box-shadow:0 24px 64px rgba(0,0,0,.18),0 2px 6px rgba(0,0,0,.06)!important;z-index:85!important;overflow:hidden}
.ap-pin{display:flex;align-items:center;gap:12px;margin:0 16px 6px;padding:10px 12px;border:1px solid var(--sep);border-radius:14px;background:var(--fill)}
.ap-pin .thumb{width:44px!important;height:44px!important;border-radius:10px!important;margin:0!important;flex:none}
.ap-pin>div{min-width:0}.ap-pin>div>b{display:block;font-weight:450;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ap-pin small{display:block;font-size:12px;color:var(--t3);margin-top:2px}.ap-pin small b{color:var(--t1);font-weight:450}
.rkv-tt>small .rkv-pe{height:17px;padding:0 7px;font-size:11px;margin-left:8px;vertical-align:1px;border-radius:9px}
.rk-cl{max-height:calc(100vh * var(--zi,1) - 400px)}
.rk-src label{position:relative;font-size:14px!important;color:var(--t1)!important;flex-direction:row!important;margin:0!important}
.rk-src input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.rk-src label i{width:16px;height:16px;border-radius:50%;border:1.5px solid var(--border);flex:none;box-sizing:border-box}
.rk-src label:has(input:checked) i{border:5px solid var(--accent)}
.rk-src label span{text-align:left}
#dialog.rk-pickd{width:min(560px,calc(100vw * var(--zi,1) - 32px))!important}
#dialog.rk-pickd .dlg-body{display:block!important}
.rk-pl{display:flex!important;flex-direction:column!important}
.rk-pi2{width:100%;min-height:56px;flex:none}

/* ===== 6.8 страница кампании (cpg-): шапка, «Что сделать», 4 числа, вкладки, настройки ===== */
.cpg-h{display:flex;align-items:center;gap:16px;margin:2px 0 20px}
.cpg-h .thumb{width:60px!important;height:60px!important;border-radius:14px!important;flex:none}
.cpg-tt{flex:1;min-width:0}.cpg-tt h2{margin:0;font-size:24px;font-weight:600;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--t1)}
.cpg-l2{display:flex;align-items:center;gap:8px;margin-top:6px;min-width:0}
.cpg-st{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:12px;border:1px solid var(--border);font-size:12.5px;color:var(--t1);flex:none}
.cpg-st i{width:7px;height:7px;border-radius:50%;background:var(--t3)}.cpg-st.ok i{background:var(--green)}.cpg-st.bad i{background:var(--red)}.cpg-st.brand i{background:#0b84fb}
.cpg-pe{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 10px;border-radius:12px;border:0;background:rgba(11,132,251,.1);color:#0068da;font:inherit;font-size:12.5px;cursor:pointer;flex:none}.cpg-pe:hover{background:rgba(11,132,251,.16)}.cpg-pe .svg{width:13px;height:13px}
html[data-theme=dark] .cpg-pe{color:#5eb0ff}
.cpg-mut{color:var(--t2);font-size:13px}.cpg-l2>.cpg-mut{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.cpg-acts{display:flex;align-items:center;gap:8px;flex:none}
.cpg-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;padding:0 16px;border-radius:999px;border:1px solid #c7c7cc;background:var(--content);color:var(--t1);font:inherit;font-size:14px;font-weight:500;box-shadow:0 1px 2px rgba(0,0,0,.08);cursor:pointer;white-space:nowrap;flex:none}
.cpg-btn .svg{width:15px;height:15px;color:var(--t1)}.cpg-btn:hover{background:var(--fill)}
.cpg-btn.sq{width:38px;padding:0}.cpg-btn.sq.sm{width:32px;height:32px}
.cpg-btn.pri{background:#0b84fb;border-color:#0b84fb;color:#fff;box-shadow:0 1px 2px rgba(11,132,251,.3)}.cpg-btn.pri .svg{color:#fff}.cpg-btn.pri:hover{background:#0a76e0}
.cpg-btn:disabled{opacity:.5;cursor:default}
html[data-theme=dark] .cpg-btn:not(.pri){border-color:#48484a;box-shadow:none}
.cpg-lnk{border:0;background:none;padding:0;color:#0b84fb;font:inherit;font-size:13.5px;cursor:pointer;display:inline-flex;align-items:center;gap:3px;align-self:flex-start}.cpg-lnk .svg{width:13px;height:13px;color:currentColor}.cpg-lnk:hover{text-decoration:underline}
.cpg-todo{background:var(--content);border:1px solid var(--sep);border-radius:18px;margin-bottom:16px;overflow:hidden}
.cpg-tdh{display:flex;align-items:center;gap:10px;width:100%;height:58px;padding:0 18px;border:0;background:none;font:inherit;text-align:left;color:var(--t1)}
button.cpg-tdh{cursor:pointer}button.cpg-tdh:hover{background:var(--fill)}
.cpg-tdh b{font-size:15px;font-weight:600;flex:none}.cpg-tdh .grow{flex:1}.cpg-tdh>.svg{color:var(--t2);flex:none}
.cpg-tdh .cpg-mut{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.cpg-tdh.ok>.svg{color:var(--green)}
.cpg-n{min-width:22px;height:22px;border-radius:11px;background:#0b84fb;color:#fff;font-size:12px;display:inline-grid;place-items:center;padding:0 6px;flex:none}
.cpg-tr{display:flex;align-items:center;gap:14px;padding:14px 18px;border-top:1px solid var(--sep)}
.cpg-ti{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none;background:var(--fill);color:var(--t1)}.cpg-ti .svg{width:17px;height:17px}
.cpg-tx{flex:1;min-width:0}.cpg-tx b{display:flex;align-items:center;font-size:14.5px;font-weight:600;line-height:20px;color:var(--t1)}.cpg-tx p{margin:2px 0 0;font-size:13.5px;line-height:19px;color:var(--t2)}
.cpg-urg{color:var(--red);font-weight:300;font-size:20px;margin-left:6px;line-height:1}
.cpg-tr .cpg-btn{height:34px;font-size:13.5px}
.cpg-k{background:var(--content);border:1px solid var(--sep);border-radius:18px;margin-bottom:20px}
.cpg-kr{display:flex;align-items:stretch}
.cpg-kc{flex:1;min-width:0;padding:16px 20px 12px;border-right:1px solid var(--sep)}.cpg-kc:last-child{border-right:0}
.cpg-kc small{display:block;font-size:13px;color:var(--t2)}
.cpg-kc b{display:flex;align-items:baseline;gap:8px;font-size:26px;font-weight:500;margin:4px 0 2px;letter-spacing:-.01em;color:var(--t1);font-variant-numeric:tabular-nums;white-space:nowrap}
.cpg-kc em{font-style:normal;font-size:12.5px;font-weight:500;color:var(--t2);letter-spacing:0}.cpg-kc em.dn{color:var(--red)}.cpg-kc em.ok{color:var(--green)}
.cpg-kc span{font-size:12px;color:var(--t3)}
.cpg-kf{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 20px 12px;border-top:1px solid var(--sep);font-size:12.5px;color:var(--t3)}
.cpg-k .ac-kpi{margin:0;padding:12px 16px 16px;border-top:1px solid var(--sep)}
.cpg-tabs{margin-bottom:12px}
.cpg .ac-body{border-radius:18px!important}
.cpg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.cpg-card{background:var(--content);border:1px solid var(--sep);border-radius:18px}
.cpg-s{padding:16px 18px;display:flex;flex-direction:column;gap:10px;min-width:0}
.cpg-sh{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:24px}.cpg-sh b{font-size:15px;font-weight:600;color:var(--t1)}
.cpg-s p{margin:0;font-size:13px;line-height:18px;color:var(--t2)}
.cpg-s>.cpg-btn{align-self:flex-start;height:34px;font-size:13.5px}
.cpg-big{font-size:26px;font-weight:500;color:var(--t1);font-variant-numeric:tabular-nums}
.cpg-in{align-self:flex-start}
.cpg-row{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--t1);min-height:34px}
.cpg-row>span:not(.rk-in){flex:1;min-width:0}.cpg-row small{display:block;font-size:12px;color:var(--t3);margin-top:1px}
.cpg-row .cpg-bid{margin-left:auto;width:auto;min-width:112px;flex:none}.cpg-row .cpg-bid input{width:56px}.cpg-bid.dis{opacity:.6}
.cpg-sub{border-top:1px solid var(--sep);padding-top:8px;margin-top:2px;display:flex;flex-direction:column;gap:4px}
.cpg-seg{align-self:flex-start}
.cpg-kv{display:flex;justify-content:space-between;gap:12px;font-size:14px;padding:3px 0}.cpg-kv span{color:var(--t2)}.cpg-kv b{font-weight:500;color:var(--t1);text-align:right}
.cpg-sch{margin-bottom:12px;padding:0 0 4px;overflow:hidden}.cpg-sch .ac-sh{padding:14px 18px 6px}
.cpg-j{padding:16px 18px}.cpg-j .cpg-sh{margin-bottom:6px}
.cpg-jr{display:grid;grid-template-columns:150px 1fr;gap:2px 16px;padding:10px 0;border-top:1px solid var(--sep);font-size:14px}.cpg-jr b{font-weight:450;color:var(--t1)}.cpg-jr span:last-child{grid-column:2}
.pop-menu hr{border:0;border-top:1px solid var(--sep);margin:4px 0}
.pop-menu button.danger,.pop-menu button.danger .svg{color:var(--red)!important}
@media (max-width:1100px){.cpg-grid{grid-template-columns:1fr}.cpg-kr{flex-wrap:wrap}.cpg-kc{flex:1 1 45%}}
/* 6.8: письмо FBS со списком заказов; текст письма тянется до кнопки */
.pt-due{flex:none;margin-left:12px;font-size:13px;color:var(--t2);white-space:nowrap;font-variant-numeric:tabular-nums}.pt-due.late{color:var(--red)}
:root:root .pt-lr .pt-lead{max-width:none;flex:1;min-width:0}

/* ===== 6.8: белые кнопки с заметной рамкой и лёгкой тенью по всему сайту ===== */
:root:root body :is(.btn,.pbtn,.dd-btn):not(.primary):not(.ghost):not(.soft):not(.danger):not(.pop-on):not(.x):not(.ff-t *):not(.status-line *):not(body.pt-v2 .pghead .btn){background:var(--content)!important;border:1px solid #c7c7cc!important;box-shadow:0 1px 2px rgba(0,0,0,.08)!important}
:root:root body :is(.btn,.pbtn,.dd-btn):not(.primary):not(.ghost):not(.soft):not(.danger):not(.pop-on):not(.x):not(.ff-t *):not(.status-line *):not(body.pt-v2 .pghead .btn):hover{background:var(--fill)!important}
:root:root body :is(.btn,.pbtn,.dd-btn):not(.primary):not(.ghost):not(.soft):not(.danger):disabled{box-shadow:none!important}
html[data-theme=dark] body :is(.btn,.pbtn,.dd-btn,.cpg-btn):not(.primary):not(.pri):not(.ghost):not(.soft):not(.danger){border-color:#48484a!important;box-shadow:none!important}

/* ===== 6.8: выбранный пункт переключателя серый #ebebee и жирнее; соседи не сдвигаются (жирность обводкой, ширина та же) ===== */
:root:root body.pt-v2 #content .seg:not(.sm.cpg-seg-x){background:var(--content)!important;border:1px solid var(--v2-line)!important}
:root:root body.pt-v2 #content .seg>button.on{background:var(--v2-sel)!important;color:var(--v2-ink)!important;box-shadow:none!important}
:root:root body.pt-v2 #content .seg>.seg-pill,:root:root body.pt-v2 #content .seg>.seg-ind{display:none!important}
html[data-theme=dark] body.pt-v2 #content .seg>button.on{background:var(--fill-2)!important;color:var(--t1)!important}
:root:root .seg>button.on,:root:root .seg>button[aria-selected=true]{-webkit-text-stroke:.35px currentColor;paint-order:stroke fill}
:root:root .seg>button.on .n{-webkit-text-stroke:0}
.cpg-s .cpg-in{width:200px}.cpg-s .cpg-in input{min-width:0}

/* ===== 6.9 Карточки (kc-): полоса, «Что сделать», таблица, статусы, меню и окна ===== */
#content .kc-bar{gap:8px}
#content .kc-bar .kc-search{width:240px;flex:none}
#content .kc-bar .cpg-btn{height:40px}
#cfBtn>.svg:last-child:not(:first-child){display:none}
.kc-todo{margin:0 0 14px}
.kc-todo .cpg-tdh{cursor:pointer;height:54px}.kc-todo .cpg-tdh:hover{background:var(--fill)}
.kc-todo .cpg-tdh>.svg:first-child{color:var(--t2)}
.kc-x{width:28px;height:28px;border:0;border-radius:50%;background:var(--fill);display:grid;place-items:center;color:var(--t2);opacity:0;cursor:pointer;flex:none}.kc-x .svg{width:12px;height:12px}
.kc-todo .cpg-tdh:hover .kc-x,.kc-x:focus-visible{opacity:1}
.kc-chip{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 10px 0 14px;border-radius:999px;border:1px solid #c7c7cc;background:var(--content);font:inherit;font-size:14px;font-weight:500;color:var(--t1);box-shadow:0 1px 2px rgba(0,0,0,.08);cursor:pointer;white-space:nowrap}.kc-chip .svg{width:15px;height:15px;color:var(--t2)}
.kc-chip.on{padding:0 12px 0 14px}.kc-chip:hover{background:var(--fill)}
#kcChip:empty,#kcFlt:empty{display:none}
.kc-card{background:var(--content);border:1px solid var(--sep);border-radius:18px;overflow:hidden}
.kc-card .tablewrap{border:0!important;border-radius:0!important}
table.kc-t{width:100%;border-collapse:collapse;font-size:14px}
table.kc-t th{height:46px;font-size:12px;font-weight:600;color:var(--t1);text-align:center;border-bottom:1px solid var(--sep);padding:0 10px;background:var(--content)}
table.kc-t th.l{text-align:left}
table.kc-t td{height:72px;text-align:center;border-bottom:1px solid var(--sep);padding:6px 10px;font-variant-numeric:tabular-nums;color:var(--t1)}
table.kc-t tr:last-child td{border-bottom:0}
table.kc-t td.l{text-align:left}table.kc-t .cb{width:46px}table.kc-t .dd{width:52px}
table.kc-t td small{display:block;font-size:12px;color:var(--t3);margin-top:2px}
table.kc-t tr.selected td{background:#f5f9ff}html[data-theme=dark] table.kc-t tr.selected td{background:rgba(11,132,251,.12)}
table.kc-t tr.clickable:hover td{background:var(--v2-hov,#fafafb)}
.kc-p{display:flex;align-items:center;gap:12px;min-width:0;max-width:440px}.kc-p>div{min-width:0}
.kc-p b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:450;line-height:18px}
.kc-p small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kc-th{width:44px;height:44px;border-radius:10px;object-fit:cover;flex:none;display:block}.kc-th.e{display:grid;place-items:center;background:var(--fill);color:var(--t3)}
.kc-cat{color:var(--t2)}
.kc-s{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.kc-st{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:12px;border:1px solid var(--border);font-size:12.5px;color:var(--t1);white-space:nowrap}
.kc-st i{width:6px;height:6px;border-radius:50%;background:var(--t3)}
.kc-st.brand{color:#0068da;border-color:rgba(11,132,251,.35)}.kc-st.brand i{background:#0b84fb}
.kc-st.bad{color:var(--red);border-color:rgba(215,0,21,.3)}.kc-st.bad i{background:var(--red)}
.kc-st.pe,.kc-st.pe0{color:#0068da;border-color:rgba(11,132,251,.3)}.kc-st.pe0 i{background:#9cc9fb}
html[data-theme=dark] .kc-st.brand,html[data-theme=dark] .kc-st.pe,html[data-theme=dark] .kc-st.pe0{color:#5eb0ff}
.kc-spin{width:11px;height:11px;border-radius:50%;border:2px solid rgba(11,132,251,.25);border-top-color:#0b84fb;animation:kcspin .9s linear infinite;flex:none}
@keyframes kcspin{to{transform:rotate(360deg)}}
.kc-urg{color:var(--red);font-weight:300;font-size:15px;margin-left:2px;line-height:1}
.kc-err{color:var(--red)!important;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kc-lnk{border:0;background:none;padding:0;color:#0b84fb;font:inherit;font-size:12px;cursor:pointer}.kc-lnk:hover{text-decoration:underline}
.kc-dots{width:30px;height:30px;border:0;background:none;border-radius:50%;color:var(--t2);display:inline-grid;place-items:center;cursor:pointer}.kc-dots:hover{background:var(--fill)}
table.kc-t .cd-cost input{width:96px;text-align:center}
.kc-menu{min-width:330px;padding:4px!important;border-radius:16px!important}
.kc-menu button{display:flex!important;align-items:flex-start!important;gap:12px;height:auto!important;padding:10px 12px!important;border-radius:12px!important;text-align:left}
.kc-menu b{display:block;font-weight:500;font-size:14px;color:var(--t1)}.kc-menu small{display:block;font-size:12.5px;color:var(--t2);margin-top:2px;line-height:17px;white-space:normal}
.kc-ni{width:30px;height:30px;border-radius:9px;background:var(--fill);display:grid;place-items:center;flex:none;color:var(--t1)}.kc-ni.pe{background:#0b84fb;color:#fff}.kc-ni.pe .svg{color:#fff!important}
.kc-dlg{font-size:14px}
.kc-f>span{display:block;font-size:13px;color:var(--t2);margin-bottom:6px}
.kc-smp,.kc-file{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--border);border-radius:14px}.kc-smp>div,.kc-file>div{flex:1;min-width:0}
.kc-smp b,.kc-file b{display:block;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kc-smp small,.kc-file small{display:block;color:var(--t2);font-size:12.5px;margin-top:2px}
.kc-file>.svg{width:26px;height:26px;color:#1f7a45;flex:none}
.kc-ss{margin-top:8px}.kc-sl{max-height:220px;overflow:auto;margin-top:6px;border:1px solid var(--sep);border-radius:12px}
.kc-sr{display:block;width:100%;text-align:left;border:0;background:none;padding:8px 12px;font:inherit;cursor:pointer;border-bottom:1px solid var(--sep)}.kc-sr:last-child{border-bottom:0}.kc-sr:hover,.kc-sr.on{background:var(--fill)}
.kc-sr b{display:block;font-weight:450;font-size:13.5px}.kc-sr small{display:block;color:var(--t2);font-size:12px}
.kc-step{display:inline-flex;align-items:center;border:1px solid #c7c7cc;border-radius:10px;overflow:hidden;background:var(--content)}
.kc-step button{width:38px;height:38px;border:0;background:none;font-size:18px;color:var(--t1);cursor:pointer}.kc-step button:hover{background:var(--fill)}
.kc-step input{width:56px;height:38px;border:0!important;border-left:1px solid var(--sep)!important;border-right:1px solid var(--sep)!important;border-radius:0!important;text-align:center;font:inherit;font-weight:500;background:none!important;box-shadow:none!important}
.kc-chk{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}
.kc-txt{font-size:14.5px;line-height:21px;color:var(--t1)}.kc-txt p{margin:0 0 6px}.kc-txt b{font-weight:600}.kc-red{color:var(--red)!important}
.kc-chg{max-height:200px;overflow:auto;border:1px solid var(--sep);border-radius:12px;margin:4px 0 8px}.kc-chg>div{padding:8px 12px;border-bottom:1px solid var(--sep)}.kc-chg>div:last-child{border-bottom:0}.kc-chg b{display:block;font-weight:450;font-size:13.5px}.kc-chg small{color:var(--t2);font-size:12px}
.kc-pf{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1px solid #0b84fb;border-radius:14px;background:rgba(11,132,251,.05);cursor:pointer}
.kc-pf input{margin-top:3px;flex:none}.kc-pf b{display:block;font-weight:500}.kc-pf small{display:block;font-size:12.5px;color:var(--t2);margin-top:2px;line-height:17px}
.kc-dims{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.ed-src{display:block;font-size:12px;font-weight:400;color:var(--t2);margin-top:3px;letter-spacing:0}.ed-src a{color:#0b84fb}
h3 .ed-src{display:inline;margin:0 0 0 10px}
@media (max-width:1100px){#content .kc-bar .kc-search{width:180px}.kc-dims{grid-template-columns:1fr 1fr}}
table.kc-t th.cb,table.kc-t td.cb{padding:0 0 0 18px!important;text-align:left;width:52px}
table.kc-t th:nth-child(2){min-width:340px}table.kc-t th:nth-child(3){min-width:170px}table.kc-t th:nth-child(4){min-width:96px}table.kc-t th:nth-child(5){min-width:140px}table.kc-t th:nth-child(6){min-width:104px}table.kc-t th:nth-child(7){min-width:220px}
table.kc-t th{white-space:nowrap}
#content #cfBtn>svg:last-of-type:not(:first-of-type){display:none!important}
#cardTable table.kc-t{table-layout:fixed!important;width:100%;min-width:1000px}
#cardTable table.kc-t th:nth-child(1){width:52px!important}#cardTable table.kc-t th:nth-child(2){width:auto!important}#cardTable table.kc-t th:nth-child(3){width:200px!important}#cardTable table.kc-t th:nth-child(4){width:104px!important}#cardTable table.kc-t th:nth-child(5){width:150px!important}#cardTable table.kc-t th:nth-child(6){width:116px!important}#cardTable table.kc-t th:nth-child(7){width:236px!important}#cardTable table.kc-t th:nth-child(8){width:84px!important}
#cardTable table.kc-t th{min-width:0!important}
#cardTable table.kc-t td.cb input,#cardTable table.kc-t th.cb input{margin:0!important}
#cardTable .tablewrap{margin:0!important;width:auto!important}
/* 6.9.1: поиск образца в окне — лупа внутри поля */
.kc-ss{position:relative;display:block;margin-top:8px}
.kc-ss>.svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:15px;height:15px;color:var(--t3);pointer-events:none}
:root:root .kc-ss>input{width:100%;height:36px!important;min-height:36px!important;padding:0 12px 0 36px!important;border:1px solid var(--border)!important;border-radius:10px!important;background:var(--content)!important;box-shadow:none!important;font:inherit;font-size:14px;outline:none}
:root:root .kc-ss>input:focus{border-color:#0b84fb!important;box-shadow:0 0 0 3px rgba(11,132,251,.15)!important}
.kc-sl{margin-top:6px}
.tn-kiz{color:#c66a00!important;opacity:1!important}
.kc-sr[hidden]{display:none!important}

/* ===== 6.10 FBS в новом стиле: одна сетка, «Печать», КИЗы, срок ===== */
.pop-menu .pm-t{display:flex;flex-direction:column;align-items:flex-start;line-height:1.25}.pop-menu .pm-t small{font-size:12px;color:var(--t3);margin-top:2px;white-space:normal;max-width:240px}
.pop-menu button:has(.pm-t){height:auto!important;min-height:38px;padding-top:7px!important;padding-bottom:7px!important;align-items:flex-start!important}.pop-menu button:has(.pm-t)>.svg{margin-top:2px}
#ffTools{display:flex;align-items:center;gap:8px}#ffTools .cpg-btn{height:40px}
#ffTools .ff-kz b{font-weight:500}#ffTools .ff-kz b.r{color:var(--red)}#ffTools .ff-kz b:not(.r){color:var(--t2)}
#content #ffFlt>svg:last-of-type:not(:first-of-type){display:none!important}
.fq-kc{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:10px;font-size:11.5px;margin-left:8px;border:1px solid var(--border);color:var(--t2);white-space:nowrap;vertical-align:1px}.fq-kc.r{color:var(--red);border-color:rgba(215,0,21,.3)}
body.pt-v2 .ff-t .kizt{background:none!important;border:0!important;color:var(--red)!important;font-size:12px!important;padding:0!important;margin-left:6px;height:auto!important}body.pt-v2 .ff-t .kizt.ok{color:var(--t2)!important}
body.pt-v2 .urg.u-g::before{background:var(--t3)!important}
.urg.u-x{color:var(--red)!important;border-color:rgba(215,0,21,.3)!important}.urg.u-x::before{background:var(--red)!important}
/* КИЗы: красная плашка, пока привязаны не все; зелёная, когда все */
.fq-kc.ok{color:#167a37;border-color:rgba(31,157,71,.4)}
#ffTools .ff-kz b.ok{color:var(--green)!important}
html[data-theme=dark] .fq-kc.ok{color:#4cd964}
/* 6.11: сортировка FBS по заголовкам */
.ff-t th.ff-srt{cursor:pointer;user-select:none}.ff-t th.ff-srt:hover{color:var(--t1)}.ff-t th.ff-srt.on{color:var(--t1)}
.ff-ar{display:inline-block;margin-left:4px;color:#0b84fb;font-weight:500}
.ff-t .fq-on small{display:block;font-size:11.5px;color:var(--t3);margin-top:1px;font-weight:400}

/* ===== 6.11 Общая боковая панель (.sheet): справа поверх страницы, как у Перо. FBW «Требует внимания», позже «Клиенты» ===== */
.sheet{position:fixed;top:calc(var(--bar-h,64px) + 12px);right:16px;bottom:16px;width:440px;max-width:calc(100vw * var(--zi,1) - 32px);z-index:85;display:flex;flex-direction:column;overflow:hidden;background:var(--content);border:1px solid var(--border);border-radius:20px;box-shadow:0 24px 64px rgba(0,0,0,.18),0 2px 6px rgba(0,0,0,.06);animation:ap-in .22s cubic-bezier(.25,.8,.25,1)}
.sheet>.fc-att{flex:1;min-height:0;border:0!important;border-radius:0!important;display:flex;flex-direction:column;width:100%}
.fm-dp{top:calc(var(--bar-h,64px) + 12px)!important;right:16px!important;bottom:16px!important;border:1px solid var(--border)!important;border-radius:20px!important;box-shadow:0 24px 64px rgba(0,0,0,.18),0 2px 6px rgba(0,0,0,.06)!important;overflow:hidden}
body:has(.sheet) #peFab{display:none!important}
@media (max-width:760px){.sheet{left:8px;right:8px;width:auto;top:calc(var(--bar-h,56px) + 8px);bottom:8px}}

/* ===== 6.11 Поставки FBW в новом стиле ===== */
#content #fwFlt>svg:last-of-type:not(:first-of-type){display:none!important}
body.pt-v2 .fm-h{background:var(--content)!important}
body.pt-v2 .fm-nav{background:var(--content)!important;border-color:#c7c7cc!important;box-shadow:0 1px 2px rgba(0,0,0,.08)}
body.pt-v2 #content .p-bar .fw-attb{background:var(--content)!important;border-color:#c7c7cc!important;color:var(--t1)!important;box-shadow:0 1px 2px rgba(0,0,0,.08)!important}
body.pt-v2 #content .p-bar .fw-attb.on{background:var(--v2-sel)!important}
body.pt-v2 .fm-p i[style*="--green"]{background:var(--t3)!important}
body.pt-v2 .fm-p.s-nobox span{color:var(--t1)!important}
body.pt-v2 .fc-att .sdot.ok i,body.pt-v2 .fc-att i[style*="--green"]{background:var(--t3)!important}
/* карточка поставки: статус плашкой с точкой, подписи серые, числа тёмные */
body.pt-v2 .fc-tt .st{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:12px;background:none!important;border:1px solid var(--border);color:var(--t1)!important;font-size:12.5px}
body.pt-v2 .fc-tt .st::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--t3)}
body.pt-v2 .fc-tt .st.s3::before,body.pt-v2 .fc-tt .st.s5::before,body.pt-v2 .fc-tt .st.s6::before{background:var(--green)}body.pt-v2 .fc-tt .st.s4::before{background:var(--yellow)}body.pt-v2 .fc-tt .st.s2::before{background:#0b84fb}
body.pt-v2 .fc-kp small{font-size:13px;font-weight:400;color:var(--t2)}
body.pt-v2 .fc-kp b{font-size:24px;font-weight:500;color:var(--t1)}
/* шапка, список и подвал панели «Требует внимания» внутри общей боковой панели */
.sheet .fc-att{border-left:1px solid var(--line);border-top:0;max-height:none;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.sheet .fc-att-h{display:flex;align-items:center;gap:8px;padding:16px 12px 10px 16px}.sheet .fc-att-h b{flex:1;display:block}
.sheet .fc-att-h .pill-n{background:var(--warn-bg);color:var(--warn);font-weight:450;font-size:12.5px;border-radius:8px;padding:2px 8px}
.sheet .fc-att-l{flex:1;overflow:auto;min-height:0}
.sheet .fc-att-f{border-top:1px solid var(--line);padding:10px 16px 12px;font-size:12.5px;color:var(--muted)}.sheet .fc-att-f a{color:var(--brand)}
.fw-t .fc-leg{display:flex;flex-wrap:wrap;gap:4px 12px;margin-bottom:6px}.fw-t .fc-leg span{display:inline-flex;align-items:center;gap:5px}.fw-t .fc-leg i{width:7px;height:7px;border-radius:50%}
.fw-t .fw-drafts .fbw-row{margin:0 12px}
.sheet .fc-att{border:0!important}.sheet .fc-att-h{padding:16px 14px 12px 18px;border-bottom:1px solid var(--sep)}.sheet .fc-att-h b{font-size:16px;font-weight:600}.sheet .fc-att-h .pill-n{background:var(--yellow);color:#fff;border-radius:11px;min-width:22px;text-align:center}
.sheet .fc-leg{display:flex;flex-wrap:wrap;gap:4px 12px;margin-bottom:6px}.sheet .fc-leg span{display:inline-flex;align-items:center;gap:5px}.sheet .fc-leg i{width:7px;height:7px;border-radius:50%}body.pt-v2 .sheet .fc-leg i[style*="--green"]{background:var(--t3)!important}

/* 6.11.1 Пульт: список и письмо ровно по высоте окна, страница не прокручивается вместе с ними */
.pt-list,.pt-body,.pt-wrap .pt-mb{overscroll-behavior:contain}

/* ===== 6.12 FBS: товар, стикер, «Прошло» с зонами, колонка КИЗ, копирование артикула ===== */
table.fq th{text-align:left}table.fq th.c{text-align:center}
table.fq td{text-align:left}table.fq td.c{text-align:center}
.urg.z{background:none!important;border-color:currentColor!important;font-weight:500}
.urg.z::before{background:currentColor!important}
.urg.z-g{color:#1f8f4e!important}.urg.z-y{color:#b86e00!important}.urg.z-r{color:#d70015!important}
html[data-theme=dark] .urg.z-g{color:#4cd964!important}html[data-theme=dark] .urg.z-y{color:#ffcc4d!important}html[data-theme=dark] .urg.z-r{color:#ff6b61!important}
.kzc{font-size:12.5px;font-weight:500;white-space:nowrap}.kzc.ok{color:#1f8f4e}.kzc.no{color:#d70015}.kzc.na{color:var(--t3);font-weight:400}.kzc.nw{color:var(--t2);font-weight:400}
html[data-theme=dark] .kzc.ok{color:#4cd964}html[data-theme=dark] .kzc.no{color:#ff6b61}
.kz-b{border:0;background:none;height:28px;padding:0 10px;border-radius:14px;cursor:pointer;font:inherit;font-size:12.5px;font-weight:500;text-decoration:underline dotted;text-underline-offset:3px}
.kz-b:hover{background:var(--fill)}
.art{display:inline-flex;align-items:center;gap:2px}
.cp-art{width:22px;height:22px;border:0;border-radius:6px;background:none;color:var(--t3);display:inline-grid;place-items:center;cursor:pointer;opacity:.6;padding:0}
.cp-art .svg{width:13px;height:13px}.cp-art:hover{background:var(--fill);color:var(--t1);opacity:1}.cp-art.ok{color:#1f8f4e;opacity:1}
.fq-stk{font-size:15px;color:var(--t1);letter-spacing:.2px;white-space:nowrap;font-variant-numeric:tabular-nums}
.fq-stk b{font-size:19px;font-weight:700;color:var(--t1);margin-left:4px;letter-spacing:.4px}
.fq-stk .fq-n{display:inline-block;width:22px;color:var(--t3);font-size:12.5px;letter-spacing:0}
.fq-stk .fq-nm{font-size:13.5px}.fq-stk b.fq-id{font-size:15px;font-weight:600;letter-spacing:0}
.fq-om{display:block;font-size:12.5px;color:var(--t3)}
td>.fq-om:only-child{display:inline}
table.fq .fq-in2{padding-left:20px!important}
table.fq tr.fq-o.flat .fq-in{padding-left:20px!important}
.fq-st2 .fq-stk b{font-size:18px}
table.fq tr.fq-p td{padding-top:8px;padding-bottom:8px}
table.fq .fq-acts .ib{margin:0 auto}
/* 6.12 «КИЗы»: жёлтая, как «Требует внимания» на FBW, текст белый; всё привязано — белая с зелёной галочкой */
body.pt-v2 #content .p-bar .ff-kz.kzy{background:#f5b800!important;border-color:#f5b800!important;color:#fff!important;box-shadow:none!important}
body.pt-v2 #content .p-bar .ff-kz.kzy:hover{background:#e6ad00!important;border-color:#e6ad00!important}
body.pt-v2 #content .p-bar .ff-kz.kzy b{color:#fff!important;font-weight:600;margin-left:2px}
html[data-theme=dark] body.pt-v2 #content .p-bar .ff-kz.kzy{background:#d9a300!important;border-color:#d9a300!important}
body.pt-v2 #content .p-bar .ff-kz.kzok b{color:#1f9d47!important;margin-left:2px}
body.pt-v2 #content .p-bar .ff-kz:disabled{opacity:.5;cursor:default}
/* Панель КИЗов: спокойный список, как в Пульте */
.sheet.kq{font-size:13px}
.kq-h{display:flex;align-items:flex-start;gap:10px;padding:16px 14px 12px 18px}.kq-h>div{flex:1;min-width:0}.kq-h b{display:block;font-size:16px;font-weight:600;color:var(--t1)}.kq-h small{display:block;color:var(--t3);font-size:12px;margin-top:2px}
.kq-x{flex:none;width:28px;height:28px;border-radius:50%;border:0;background:var(--fill);display:grid;place-items:center;color:var(--t2);cursor:pointer}.kq-x:hover{color:var(--t1)}
.kq-in{margin:0 18px;display:flex;align-items:center;gap:8px;height:36px;border:1px solid var(--border);border-radius:999px;padding:0 14px;color:var(--t3);background:var(--content)}
.kq-in:focus-within{outline:3px solid rgba(0,103,244,.35)}
.kq-in input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:13px;color:var(--t1)}
.kq-st{display:flex;justify-content:space-between;gap:8px;margin:12px 18px 8px;font-size:12px;color:var(--t3)}.kq-st b{color:var(--t1);font-weight:500}
.kq-msg{margin:0 18px 10px;font-size:12.5px;display:flex;gap:6px;align-items:flex-start;line-height:1.4}.kq-msg .svg{flex:none;width:14px;height:14px;margin-top:2px}
.kq-msg.ok{color:#1f8f4e}.kq-msg.bad{color:var(--red)}.kq-msg.muted{color:var(--t2)}
.kq-l{flex:1;overflow:auto;border-top:1px solid var(--sep);padding:4px 0 10px;min-height:0}
.kq-p{display:flex;align-items:center;gap:10px;padding:12px 18px 6px}.kq-p>span{min-width:0}.kq-ph{flex:none;width:28px;height:34px;border-radius:6px;background:var(--fill);object-fit:cover;display:grid;place-items:center;color:var(--t3)}.kq-ph .svg{width:14px;height:14px}
.kq-p b{display:block;font-size:13px;font-weight:500;color:var(--t1);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kq-p small{font-size:12px;color:var(--t3)}
.kq-o{display:flex;align-items:center;gap:10px;width:calc(100% - 16px);height:36px;margin:0 8px;padding:0 10px 0 20px;border:0;background:none;border-radius:8px;cursor:pointer;font:inherit;color:var(--t3);text-align:left}
.kq-o:hover{background:var(--fill)}.kq-o.sel{background:var(--v2-sel,#ebebee)}.kq-o.ok{cursor:default}.kq-o.ok:hover{background:none}
.kq-i{display:grid;color:#c7c7cc}
.kq-s{font-size:13px;color:var(--t2);font-variant-numeric:tabular-nums}.kq-s b{color:var(--t1);font-weight:600;margin-left:3px}
.kq-id{margin-left:auto;font-size:12px;color:var(--t3)}.kq-o.sel .kq-id{color:var(--t1)}
.kq-o.ok .kq-s,.kq-o.ok .kq-s b{color:var(--t3);font-weight:400}
.kq-in input,.kq-in input:focus{border:0!important;background:none!important;box-shadow:none!important;outline:0!important;height:auto!important;padding:0!important;border-radius:0!important}
.pt-list,.pt-body,.pt-wrap .pt-mb{overscroll-behavior:contain}
/* 6.11.2 Пульт: низ списка и письма на одном уровне с карточкой профиля слева, без прокрутки страницы */
@media (min-width:900px){.workspace:has(.pt-wrap){padding-bottom:12px!important}}
/* 6.12 выпадающие меню всегда поверх боковой панели (в 6.11 меню «Требует внимания» пряталось под панелью) */
.pop-menu{z-index:95!important}
/* 6.12 Клиенты в новом стиле: без поиска, статусы точками как на FBW (подключён — серая), «⋯» в строке */
body.pt-v2 .cl-t2 .sdot.ok>span::before{background:var(--t3)}
body.pt-v2 .cl-pill i[style*="--green"]{background:var(--t3)!important}
body.pt-v2 .cl-t2 th{font-weight:600;color:var(--t1)}
body.pt-v2 .cl-t2 thead th{background:var(--content)!important}
.cl-dots{margin:0 auto}
/* 6.12 Счета: плашка над вкладками с отступом, «Фильтр» без стрелки, как на остальных страницах */
body.pt-v2 #content>.notice{margin-bottom:14px!important}
body.pt-v2 #content #invFlt>.svg~.svg:last-child{display:none!important}
/* 6.12.1 «КИЗы»: значок белый, как текст */
body.pt-v2 #content .p-bar .ff-kz.kzy .svg,body.pt-v2 #content .p-bar .ff-kz.kzy svg{color:#fff!important;stroke:#fff!important}

/* 6.13 · Коды Честного знака клиента и «Этикетки с КИЗом» (боковая панель .sheet.ks) */
.ks-b{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;padding-bottom:4px}
.ks-load{display:grid;place-items:center;min-height:160px;color:var(--t3)}
.ks-st{display:flex;align-items:center;gap:12px;margin:2px 18px 14px}.ks-st>span{flex:1;font-size:13px;color:var(--t2)}.ks-st b{color:var(--t1);font-weight:600;font-size:15px;font-variant-numeric:tabular-nums}
.ks-th,.ks-r{display:grid;grid-template-columns:28px minmax(0,1fr) 68px 92px;gap:10px;align-items:center;padding:0 18px}
.ks-th{font-size:11px;color:var(--t3);height:30px;border-top:1px solid var(--sep);flex:none}.ks-th span:nth-child(n+3){text-align:center}
.ks-r{min-height:52px;border-top:1px solid var(--sep);cursor:pointer;flex:none}.ks-r:hover,.ks-r.on{background:var(--fill)}.ks-r:focus-visible{outline:3px solid rgba(0,103,244,.35);outline-offset:-3px}
.ks-ph{width:28px;height:34px;border-radius:6px;object-fit:cover;background:var(--fill);display:grid;place-items:center;color:var(--t3);flex:none}.ks-ph .svg{width:14px;height:14px}
.ks-nm{min-width:0}.ks-nm b{display:block;font-size:13px;font-weight:500;color:var(--t1);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ks-nm small{display:block;font-size:11.5px;color:var(--t3);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ks-n{text-align:center;font-size:13px;color:var(--t1);font-variant-numeric:tabular-nums}.ks-n.m{color:var(--t3)}
.ks-h{padding:4px 18px 10px 56px;background:var(--fill);flex:none}
.ks-h>div{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;font-size:12px;color:var(--t2);min-height:26px;align-items:center}.ks-h code{font-family:"Medeo Mono",monospace;color:var(--t1);font-size:12px}.ks-h i{font-style:normal;color:var(--t3)}
.ks-foot{margin:auto 18px 12px;padding-top:14px;font-size:11.5px;color:var(--t3);line-height:1.45;flex:none}
.ks-empty{margin:4px 18px 0;padding:16px;border-radius:12px;background:var(--fill);font-size:12.5px;line-height:1.45;color:var(--t2)}.ks-empty b{display:block;font-size:14px;font-weight:600;color:var(--t1);margin-bottom:4px}
.ks-file{margin:0 18px 12px;display:flex;align-items:center;gap:10px;font-size:13px;color:var(--t1);min-width:0}.ks-file>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ks-file .svg{color:var(--t3);flex:none}.ks-file small{color:var(--t3);margin-left:auto;flex:none;font-size:12px}
.ks-prog{margin:4px 18px 0;font-size:12.5px;color:var(--t2)}.ks-prog b{display:block;height:4px;border-radius:2px;background:var(--fill);margin-top:8px;overflow:hidden}.ks-prog i{display:block;height:100%;width:0;background:#0b84fb;transition:width .2s}
.ks-sum{margin:0 18px;font-size:15px;font-weight:600;color:var(--t1)}
.ks-cl{margin:10px 18px 0;border:1px solid var(--sep);border-radius:12px;overflow:hidden;flex:none}
.ks-cl>div{display:flex;align-items:center;gap:10px;padding:0 12px;min-height:44px;border-top:1px solid var(--sep);font-size:13px;color:var(--t1)}.ks-cl>div:first-child{border-top:0}.ks-cl .ks-ph{width:24px;height:30px}.ks-cl .ks-t{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ks-cl em{font-style:normal;font-variant-numeric:tabular-nums}
.ks-note{margin:12px 18px 0;font-size:12.5px;line-height:1.45;color:var(--t2);display:flex;gap:8px}.ks-note>.svg{flex:none;width:15px;height:15px;margin-top:1px}.ks-note b{color:var(--t1);font-weight:500}
.ks-note.w>.svg{color:#b86e00}
.ks-link{border:0;background:none;padding:0;font:inherit;color:#0067f4;cursor:pointer}.ks-link:hover{text-decoration:underline}
.ks-btns{display:flex;justify-content:flex-end;gap:8px;margin:18px 18px 0;flex-wrap:wrap}
.ks-err{margin:6px 18px 0;padding:14px;border-radius:12px;background:var(--fill)}.ks-err b{display:flex;gap:8px;font-size:14px;font-weight:600;color:var(--t1);align-items:flex-start}.ks-err b .svg{color:#d70015;flex:none;margin-top:2px}.ks-err p{margin:8px 0 0 24px;font-size:12.5px;color:var(--t2);line-height:1.45}.ks-err p b{display:inline;font-size:inherit;font-weight:500}
.ks-pl{flex:none}.ks-pl>div{display:flex;align-items:center;gap:12px;padding:10px 18px;min-height:60px;border-top:1px solid var(--sep)}.ks-pl>div:first-child{border-top:0}.ks-pl>div>span{flex:1;min-width:0}.ks-pl b{display:block;font-size:13.5px;font-weight:500;color:var(--t1)}.ks-pl small{display:block;font-size:12px;color:var(--t3);margin-top:3px}
.ks-pl .cpg-btn{height:30px;font-size:12.5px;padding:0 14px;flex:none}
body.pt-v2 .ks .cpg-btn.pri .svg,body.pt-v2 .ks .cpg-btn.pri svg{color:#fff;stroke:#fff}

/* 6.14 · Пульт как почта: выполненные письма, отчёты Перо о рекламе, аватар в письме по центру */
/* 6.21.3: сделанное письмо выглядит как обычное прочитанное, отличие только галочка у времени */
.pt-ok2{display:inline-grid;vertical-align:-2px;margin-right:4px;color:#1f8f4e;font-style:normal}.pt-ok2 .svg{width:13px;height:13px}
.pt-bd3 .svg{width:12px;height:12px;vertical-align:-1px;margin-right:3px}
.pt-dnote{display:flex;gap:8px;align-items:flex-start;margin-top:18px;padding:12px 0 0;border-top:1px solid var(--sep);font-size:13px;color:var(--t2);line-height:1.45}.pt-dnote .svg{color:#1f8f4e;flex:none;margin-top:2px}
.pt-ad{border:1px solid var(--sep);border-radius:12px;padding:12px 14px;margin-bottom:12px}
.pt-adh{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.pt-adh b{font-size:14px;font-weight:600;color:var(--t1);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pt-adh span{font-size:12px;color:var(--t3);flex:none}
.pt-ads{font-size:12.5px;color:var(--t2);margin:4px 0 8px}
.pt-ada{display:flex;align-items:center;gap:10px;justify-content:space-between;font-size:13px;color:var(--t1);padding:6px 0;border-top:1px solid var(--sep);line-height:1.4}.pt-ada .pbtn{flex:none;height:28px;font-size:12.5px}.pt-ada i{font-style:normal;font-size:12px;flex:none}
.pt-adt{display:flex;gap:8px;margin-top:8px;font-size:12.5px;color:var(--t2);line-height:1.45}.pt-adt .svg{flex:none;margin-top:2px;color:var(--t3)}
.pt-mh{align-items:center!important}.pt-mh .pt-av-l{margin-top:0!important;width:44px!important;height:44px!important;font-size:17px!important}
/* 6.14 · Реклама с Перо: варианты ответа кнопками и выбор, как писать */
.adc-ch{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.adc-ch .chip{cursor:pointer;height:28px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:var(--content);color:var(--t1);font:inherit;font-size:12.5px}.adc-ch .chip:hover{border-color:#0b84fb;color:#0067f4}
.adc-lv{margin-top:8px}
.pe-hint{margin:14px auto 4px;max-width:360px;text-align:left;border:1px solid var(--sep);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;background:var(--content)}.pe-hint b{font-size:13.5px;font-weight:600;color:var(--t1)}.pe-hint span{font-size:12.5px;color:var(--t2);line-height:1.45}.pe-hint .btn{align-self:flex-start;margin-top:4px}

/* 6.14 FBS: заголовки сортировки как в «Товарах», «Поставка» по центру */
table.fq th.sortable{padding:0!important}
table.fq th.sortable .th-sort{padding:11px 14px;justify-content:flex-start}
table.fq th.c.sortable .th-sort{justify-content:center}
table.fq th.c.sortable .th-sort .sort-ar{margin-right:-15px}
table.fq th.sortable:hover .sort-ar{opacity:.45}table.fq th.sortable.on .sort-ar{opacity:1;color:var(--accent)}
table.fq td.c .fq-code{justify-content:center}

/* 6.14 Админка: без горизонтальной прокрутки, колонки по центру, статусы пилюлями, действия в ⋯ */
.adm-w{overflow:visible!important;max-height:none!important;height:auto!important;border:1px solid var(--sep);border-radius:14px;background:var(--content)}
table.adm-t{table-layout:fixed;width:100%;border-collapse:collapse;font-size:13.5px}
table.adm-t th{height:44px;padding:0 12px!important;font-size:12px;font-weight:600;color:var(--t1);border-bottom:1px solid var(--sep);white-space:nowrap;background:none}
table.adm-t td{height:58px;padding:6px 12px!important;border-bottom:1px solid var(--sep)}
table.adm-t tr:last-child td{border-bottom:0}
table.adm-t th.c,table.adm-t td.c{text-align:center}table.adm-t th.l,table.adm-t td.l{text-align:left}
table.adm-t td{vertical-align:middle}
.adm-el{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.adm-st{display:inline-flex;align-items:center;gap:5px;max-width:100%;font-size:12px;line-height:20px;padding:0 9px;border-radius:10px;border:1px solid var(--sep);color:var(--t2);white-space:nowrap}
.adm-st i{flex:none;width:6px;height:6px;border-radius:50%;background:var(--t3)}
.adm-st.ok i{background:var(--green)}.adm-st.brand i{background:var(--accent)}.adm-st.warn i{background:var(--yellow)}.adm-st.bad i{background:var(--red)}
.adm-st.off{color:var(--t3)}

/* 6.14 Карточки: колонки по центру, «Действие»; иконка ПероAI в меню «Создать» не меняет цвет при наведении */
table.kc-t td.c .kc-s{align-items:center}
table.kc-t td.dd{text-align:center}
.pop-menu button:hover .kc-ni.pe,.pop-menu button:hover .kc-ni.pe .svg{color:#fff!important}.pop-menu button:hover .kc-ni.pe{background:#0b84fb!important}
#admPanel{flex:none!important;min-height:min-content;overflow:visible!important}
#admPanel>#admBody>p.muted{margin:0;padding:18px 20px}
#admPanel>#admBody>.toolbar{padding:12px 14px}
#admPanel .adm-w{margin:0!important;width:auto!important;border:0;border-radius:0;border-top:1px solid var(--sep);background:none}
#admPanel>#admBody>.adm-w:first-child{border-top:0}
#admPanel table.adm-t th{font-weight:600!important;color:var(--t1)!important}
#admPanel>#admBody>.toolbar{margin:0!important}

/* 6.15 остановка Перо: выбор на месте */
.rk-stopq{flex-wrap:wrap}.rk-stopq>div:first-of-type{flex:1;min-width:240px}
.rk-stopb{display:flex;gap:8px;align-items:center;margin-left:auto}

/* 6.15 Страница кампании: Перо, метрики, метки запросов */
.cpg-h{margin:2px 0 16px}.cpg-tt h2{font-size:22px;line-height:28px;font-weight:520;letter-spacing:-.015em}
.cpg-acts{display:flex;align-items:center;gap:8px}
.cpg-pi{width:28px;height:28px;border-radius:50%;background:#0b84fb;display:grid;place-items:center;flex:none}.cpg-pi .svg{width:16px;height:16px;color:#fff!important}
.cpg-po{display:grid;grid-template-columns:1fr 1fr;background:var(--content);border:1px solid var(--sep);border-radius:16px;margin-bottom:16px}
.cpg-po>div{padding:16px 18px;min-width:0}.cpg-po>div+div{border-left:1px solid var(--sep)}
.cpg-ph{display:flex;align-items:center;gap:10px;margin-bottom:14px}.cpg-ph b{display:block;font-size:15px;line-height:20px;font-weight:520}.cpg-ph span{font-size:12px;color:var(--t2)}.cpg-ph .grow{flex:1}
.cpg-ph .cpg-btn,.cpg-pof .cpg-btn{height:32px;font-size:13px;padding:0 14px}.cpg-ph .cpg-btn.sq{width:32px;padding:0}
.cpg-stp{display:flex;align-items:center;margin-bottom:14px}
.cpg-sp{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--t3);white-space:nowrap}
.cpg-sp i{width:10px;height:10px;border-radius:50%;border:1.5px solid var(--border);flex:none}
.cpg-sp.on{color:var(--t1);font-weight:520}.cpg-sp.on i{border-color:#0b84fb;background:#0b84fb;box-shadow:0 0 0 3px rgba(11,132,251,.18)}
.cpg-sp.done{color:var(--t2)}.cpg-sp.done i{border-color:var(--t3);background:var(--t3)}
.cpg-ln{flex:1;height:1.5px;background:var(--sep);margin:0 10px;min-width:20px}
.cpg-bud{display:flex;align-items:baseline;justify-content:space-between;font-size:12px;color:var(--t2);margin-bottom:6px}.cpg-bud b{font-size:17px;font-weight:520;color:var(--t1)}
.cpg-bar{height:6px;border-radius:3px;background:var(--fill-2);overflow:hidden;margin-bottom:12px}.cpg-bar i{display:block;height:100%;background:#0b84fb;border-radius:3px}
.cpg-lim{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.cpg-lim div{font-size:12px;color:var(--t2)}.cpg-lim b{display:block;font-size:13px;color:var(--t1);font-weight:450;margin-top:2px}
.cpg-pz{display:flex;gap:8px;align-items:center;margin-top:12px;padding-top:10px;border-top:1px solid var(--sep);font-size:12px;color:color-mix(in srgb,var(--yellow) 60%,var(--t1))}.cpg-pz .svg{width:14px;height:14px}
.cpg-jh{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.cpg-jh b{font-size:13px;font-weight:520}
.cpg-lnk{border:0;background:none;padding:0;font:inherit;font-size:12px;color:var(--accent-t);cursor:pointer}.cpg-lnk:hover{text-decoration:underline}
.cpg-pj{display:grid;grid-template-columns:52px 1fr auto;gap:10px;align-items:baseline;padding:7px 0;border-top:1px solid var(--sep);font-size:13px;line-height:18px}.cpg-jh+.cpg-pj{border-top:0}
.cpg-pj time{font-size:12px;color:var(--t3)}.cpg-j0{margin:6px 0 0;font-size:13px;color:var(--t2)}
.cpg-tip{display:flex;gap:8px;align-items:flex-start;margin-top:8px;padding-top:10px;border-top:1px solid var(--sep);font-size:12px;color:var(--t2);line-height:16px}.cpg-tip .svg{width:14px;height:14px;flex:none;color:#b86e00!important;margin-top:1px}
.cpg-pof{display:flex;align-items:center;gap:14px;background:var(--content);border:1px solid var(--sep);border-radius:16px;padding:14px 18px;margin-bottom:16px}
.cpg-pof .cpg-pi{width:36px;height:36px}.cpg-pof .cpg-pi .svg{width:20px;height:20px}.cpg-pof>div{flex:1;min-width:0}.cpg-pof b{display:block;font-size:15px;line-height:20px;font-weight:520}.cpg-pof span{font-size:12px;color:var(--t2)}
.cpg-k{border-radius:16px;margin-bottom:16px}.cpg-kc{padding:12px 16px}.cpg-kc small{font-size:12px}.cpg-kc b{font-size:22px;line-height:28px;font-weight:450}.cpg-kc span{font-size:11px}
.cpg-na{font-style:normal;font-size:15px;color:var(--t3);font-weight:400}
.cpg-mk{display:inline-flex;align-items:center;gap:5px;height:20px;padding:0 8px;border-radius:999px;border:1px solid var(--sep);font-size:12px;color:var(--t2);white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.cpg-mk i{width:6px;height:6px;border-radius:50%;flex:none;background:var(--t3)}.cpg-mk.go i{background:#0b84fb}.cpg-mk.ok i{background:var(--green)}.cpg-mk.w i{background:var(--yellow)}.cpg-mk.x{color:var(--t3)}
@media (max-width:1100px){.cpg-po{grid-template-columns:1fr}.cpg-po>div+div{border-left:0;border-top:1px solid var(--sep)}}
.cpg-kc em.dn{color:#b86e00}
.rk-pi2 .rk-pe{font-style:normal;color:var(--accent-t)}
/* 6.15 поиск: текст сразу за лупой (8 px), во всех разделах */
#content .p-search{position:relative}
#content .p-search>.svg{position:absolute!important;left:14px!important;top:50%!important;transform:translateY(-50%);margin:0!important;pointer-events:none}
#content .p-search input{padding-left:38px!important}
#content .p-search>input{margin-left:0!important;width:100%!important;position:absolute;inset:0;padding-right:12px!important}
/* 6.15 Пульт: вкладки и кнопка фильтра одной высоты (36) */
:root:root body .pt-ph .seg.pt-in{height:36px!important;padding:3px!important;box-sizing:border-box;align-items:center}
:root:root body .pt-ph .seg.pt-in button{height:30px!important}
:root:root body .pt-ph .pt-flt{height:36px!important;width:36px!important;min-width:36px!important;padding:0!important}

/* 6.15: панель выбора запросов не закрывает последние строки */
#content:has(#clBar .actionbar){padding-bottom:84px}

/* 6.15: таблицы на странице кампании растут по содержимому, подпись снизу не наезжает на строки */
#campBody .tablewrap{height:auto!important;max-height:none!important}
#campBody .tablewrap:has(+ .ac-foot){margin-bottom:0!important}

/* Витрина 1.2: подсказка обновить приложение */
.vit-upd{display:flex;align-items:center;gap:5px;margin-top:3px;color:#b86e00;font-size:12px}.vit-upd .svg{width:13px;height:13px;color:#b86e00}

/* 6.15.2 FBS «Новые»: колонка «Заказ» — последние 4 цифры крупно, «Без поставки · Создать» у клиента */
.fq-ord{display:inline-flex;flex-direction:column;align-items:center;gap:3px;font-variant-numeric:tabular-nums;white-space:nowrap}
.fq-ord b{font-size:19px;font-weight:600;letter-spacing:.4px;color:var(--t1)}
.fq-ord b span{font-size:13px;font-weight:400;color:var(--t3);margin-right:5px;letter-spacing:.2px}
.fq-ord small{font-size:12px;color:var(--t3)}
.fq-nwb{font-size:11px;color:var(--accent-t);border:1px solid color-mix(in srgb,var(--accent) 30%,transparent);border-radius:6px;padding:0 5px;margin-left:6px}
table.fq tr.fq-s.cancel .fq-ord b{text-decoration:line-through;color:var(--t3)}
.fq-ns{display:inline-flex;align-items:center;gap:8px}
.fq-npl{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px;border:1px solid var(--sep);border-radius:999px;font-size:12px;color:var(--t2)}
.fq-npl i{width:6px;height:6px;border-radius:50%;background:var(--t3)}
.fq-ns a{font-size:12.5px;color:var(--accent-t);text-decoration:none}.fq-ns a:hover{text-decoration:underline}

/* ---------- 6.15.6 ---------- */
/* Неактивный пункт меню не подсвечивается и не похож на кнопку */
.pop-menu [role=menuitem][disabled]:hover,.pop-menu button[disabled]:hover{background:transparent!important;color:var(--t3)!important;cursor:default}
.pop-menu button[disabled] .svg,.pop-menu button[disabled]:hover .svg{color:var(--t3)!important;opacity:.6}
.pop-menu button[disabled] small{color:var(--t3)!important}
/* FBS: заказ в поставке по центру колонки «Поставка» */
.fq-sk{display:inline-flex;flex-direction:column;align-items:center;gap:1px;font-variant-numeric:tabular-nums;line-height:1.2}
.fq-sk b{font-size:20px;font-weight:700;color:var(--t1);letter-spacing:.3px;white-space:nowrap}
.fq-sk b span{font-size:15px;font-weight:450;color:var(--t1);margin-right:5px;letter-spacing:.2px}
.fq-sk b.fq-id{font-size:15px;font-weight:600;letter-spacing:0}
.fq-sk small{font-size:12px;color:var(--t2)}
table.fq tr.fq-s.cancel .fq-sk b{text-decoration:line-through;color:var(--t3)}
table.fq th.ff-srt .sort-ar .svg{width:12px;height:12px;vertical-align:-1px}
/* Реклама: остаток и дневной лимит в одной колонке «Бюджет» */
.rkv-bl .rkv-bud{display:inline-flex}
.rkv-bl .rkv-limt{display:block;margin:3px auto 0;border:0;background:none;padding:0;font:inherit;font-size:12px;line-height:16px;color:var(--t2);cursor:pointer;white-space:nowrap}
.rkv-bl button.rkv-limt:hover{color:var(--accent-t)}
.rkv-bl .rkv-limt.off{cursor:default}
.rkv-bl .rkv-lim{display:inline-flex;margin-top:3px}
.rkv-bl .rkv-lim input.cell{width:96px!important}
/* Уведомление «Готово»: плотная карточка без стекла, под ней ничего не просвечивает */
:root .toast.tst{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-theme=dark] .toast.tst{background:#2c2c2e}
table.fq th.ff-srt .th-sort[aria-haspopup] .sort-ar{opacity:.55}table.fq th.ff-srt.on .th-sort[aria-haspopup] .sort-ar{opacity:1}
/* Пульт: флаг страны не выходит за свою рамку (раньше картинка была шире рамки и обрезалась справа) */
.pt-fl .sh-fl svg,.pt-fl svg.flag,.pt-fl img{width:100%!important;height:100%!important}
/* Вход: «Войти через Telegram» серая, пока вход через Telegram в тестировании. Подсказка при наведении, на телефоне строкой под кнопкой */
.tg-wrap{display:block}
.btn.tg[disabled]{width:100%;background:var(--fill)!important;color:var(--t3)!important;border-color:var(--sep)!important;cursor:default;pointer-events:none;opacity:1}
.btn.tg[disabled] svg,.btn.tg[disabled] .svg{filter:grayscale(1);opacity:.45}
.tg-note{margin:-4px 0 0;text-align:center}
/* Карточка заказа: прогноз прибыли */
.fc-none{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:10px 0 4px;padding:12px 14px;border:1px solid var(--sep);border-radius:12px;font-size:13px}
.fc-none b{font-weight:520;font-size:13.5px}.fc-none span{color:var(--t2)}.fc-none .btn{margin-top:6px}
.fc-why{margin:6px 0 0;line-height:1.45}
/* Админка: точность прогноза */
.fc-t td small{display:block;font-size:12px;color:var(--t3)}
.fc-pct{font-weight:520}.fc-pct.ok{color:var(--green)}.fc-pct.w{color:#b86e00}
.fc-w{padding:3px 0;font-size:13px;line-height:1.35;white-space:normal}.fc-w small{color:var(--t3)}
.fc-t td{white-space:normal!important}
.fc-none b{color:var(--t1)!important}
/* 6.17: калькулятор прибыли («⋮» у товара) */
#dialog.kc2{width:min(560px,calc(100vw - 32px))}
.kc2 .kc-body{padding-top:4px}
.kc2-p{display:flex;gap:12px;align-items:center;margin-bottom:14px}.kc2-p img,.kc2-ph{width:44px;height:44px;border-radius:9px;object-fit:cover;flex:none}
.kc2-ph{display:grid;place-items:center;background:var(--fill);color:var(--t3)}
.kc2-p b{display:block;font-weight:450;font-size:14px;line-height:18px}.kc2-p small{font-size:12px;color:var(--t3)}
.kc2-f{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.kc2-f label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--t2)}
.kc2-f input{height:34px;border:1px solid var(--border);border-radius:8px;background:var(--content);font:inherit;font-size:14px;padding:0 10px;color:var(--t1);font-variant-numeric:tabular-nums}
.kc2-f input:placeholder-shown{border-color:#f0c78a}
.kc2-l{margin-top:14px;border-top:1px solid var(--sep);padding-top:4px;font-variant-numeric:tabular-nums}
.kc2-l div{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:5px 0}
.kc2-l div span:first-child{color:var(--t2)}.kc2-l small{color:var(--t3);font-size:12px;margin-left:5px}
.kc2-l .tot{border-top:1px solid var(--sep);margin-top:4px;padding-top:8px;font-weight:520}.kc2-l .tot span:first-child{color:var(--t1)}
.kc2-big{margin:12px 0 0;padding:10px 14px;border-radius:12px;background:var(--fill);font-variant-numeric:tabular-nums}
.kc2-big span{font-size:12px;color:var(--t2)}.kc2-big b{display:block;font-size:22px;line-height:28px;font-weight:520;margin-top:2px}.kc2-big small{display:block;font-size:12px;color:var(--t2)}
.kc2-src{font-size:12px;color:var(--t3);margin:10px 0 0;line-height:1.45}
.kc2-warn{display:flex;gap:7px;align-items:flex-start;font-size:12px;color:#b86e00;margin:10px 0 0;line-height:1.45}.kc2-warn .svg{width:14px;height:14px;flex:none;margin-top:1px;color:#e8a33d}
.kc2-foot{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:10px;justify-content:flex-end}
.kc2-foot .note{margin-right:auto;flex:1;min-width:0;font-size:12px;color:var(--t2);line-height:1.4}
.kc2-foot .btn,.kc2-btn{flex:none;white-space:nowrap}
.kc2-btn{height:34px;padding:0 18px;border:0;border-radius:999px;background:var(--accent);color:#fff;font:inherit;font-size:13.5px;font-weight:450;cursor:pointer}
.kc2-btn.off{background:color-mix(in srgb,var(--accent) 35%,var(--content));color:color-mix(in srgb,#fff 85%,var(--accent));cursor:default}
/* Калькулятор: сумма прибыли зелёная, убыток красный; подпись «Прибыль» остаётся чёрной */
.kc2-l .tot .kc2-pr{color:var(--green)}.kc2-l .tot .kc2-pr.neg{color:var(--red)}

/* ---------- 6.17.2 ---------- */
/* Обзор: круглые кнопки у отзывов и вопросов были 34×30 (овал). Теперь круг и одной высоты с кнопкой рядом */
:root:root:root body .ov5 .ov3-h .pbtn.sq,:root:root:root:root body .ov3-h .pbtn.sq{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important}
/* Карточки: сетка как в «Товарах» (линии между колонками), «Опубликована» с зелёной точкой */
table.kc-t th+th,table.kc-t td+td{border-left:1px solid var(--sep)}
.kc-st.ok i{background:var(--green)}
table.kc-t th.c .th-sort{width:100%;justify-content:center}
table.kc-t th .th-sort .sort-ar{width:0;overflow:visible;margin-left:4px}
table.kc-t th.l .th-sort{padding-left:0!important}

/* ---------- 6.18: плавность интерфейса (без пружины: одна кривая с мягким замедлением, 0,15–0,22 с) ---------- */
:root{--m-ease:cubic-bezier(.25,.1,.25,1)}
/* Наведение и нажатие: цвет, фон и рамка меняются плавно. :where — нулевой вес, свои переходы компонентов (тумблеры и т.п.) не перебиваем */
:where(button,a,.btn,.pbtn,.cpg-btn,.ib,.chip,.pill,.csel,.kc-dots,.fd-row,.pt-m,tr,td,input,select,textarea,.nav,.seg>button){transition-property:background-color,color,border-color,box-shadow,opacity;transition-duration:.15s;transition-timing-function:var(--m-ease)}
/* Вкладки-капсулы: выделение переезжает к выбранной (плашку рисует segFX в app.js) */
:root:root:root .seg.seg-live{position:relative}
:root:root:root .seg.seg-live>.seg-ind{display:block!important;position:absolute;z-index:0;pointer-events:none;transition:left .22s var(--m-ease),width .22s var(--m-ease)}
:root:root:root .seg.seg-live>button{position:relative;z-index:1}
:root:root:root .seg.seg-live>button.on{background:transparent!important;box-shadow:none!important}
/* Островок уходит вниз и гаснет */
@keyframes m-fade{from{opacity:0}to{opacity:1}}
@keyframes m-fade-out{from{opacity:1}to{opacity:0}}
.actionbar.m-out{opacity:0!important;translate:0 10px;transition:opacity .18s var(--m-ease),translate .18s var(--m-ease)!important;pointer-events:none}
/* Раскрытая поставка: строки проявляются */
tr.m-new{animation:m-fade .22s var(--m-ease) both}
/* Режим «меньше движения» (системная настройка): вместо сдвигов и увеличения — только мягкое проявление, как у Apple */
@media (prefers-reduced-motion:reduce){
 :root :is(#content.page-in,dialog[open],.pop-menu,.rk-pop,.actionbar,.toast,tr.m-new){animation:m-fade .18s var(--m-ease) both!important;animation-duration:.18s!important}
 :root :is(dialog[open])::backdrop{animation:m-fade .18s var(--m-ease) both!important;animation-duration:.18s!important}
 :root :is(dialog.closing){animation:m-fade-out .15s var(--m-ease) forwards!important;animation-duration:.15s!important}
 :root :is(dialog.closing)::backdrop{animation:m-fade-out .15s var(--m-ease) forwards!important;animation-duration:.15s!important}
 :root .actionbar.m-out{translate:none;transition-duration:.18s!important}
 :where(button,a,.btn,.pbtn,.cpg-btn,.ib,.chip,.pill,.csel,.kc-dots,.fd-row,.pt-m,tr,td,input,select,textarea,.nav,.seg>button){transition-duration:.15s!important}
}
/* FBS: последние 4 цифры заказа заметно жирнее (правило таблиц .p-table td b делало их обычными) */
:root .p-table tbody td .fq-sk b,:root .p-table tbody td .fq-ord b{font-weight:760!important}
:root .p-table tbody td .fq-sk b span,:root .p-table tbody td .fq-ord b span{font-weight:450!important}
:root .p-table tbody td .fq-sk b.fq-id{font-weight:600!important}
/* перебиваем правила pt-v2 с #content: у них выбранная кнопка с фоном, а плашка скрыта */
:root:root:root:root:root:root:root :is(#root,#content,body) .seg.seg-live>.seg-ind{display:block!important}
:root:root:root:root:root:root:root :is(#root,#content,body) .seg.seg-live>button.on{background:transparent!important;box-shadow:none!important}

/* ---------- 6.18.1: плавность на больших таблицах ---------- */
/* Плашка вкладок едет через transform: это движение браузер ведёт отдельно и не замирает, пока рисуется таблица */
:root:root:root:root:root:root:root:root .seg.seg-live>.seg-ind{transition:transform .22s var(--m-ease),width .22s var(--m-ease)!important;will-change:transform}
/* Строки таблиц подсвечиваются сразу, как в macOS; плавными остаются кнопки и вкладки */
:root .p-table :is(tr,td),:root table :is(tr,td){transition:none}
:root .p-table td input,:root table td input{transition-property:border-color,box-shadow;transition-duration:.15s}
/* 6.21: Админка → Сервер */
.sv{font-variant-numeric:tabular-nums}
:root:root:root:root:root :is(#root,#content,body) section.panel.adm:has(.sv),:root:root:root:root:root :is(#root,#content,body) #admPanel:has(.sv){outline:0!important;border:0!important;background:none!important;padding:0!important;box-shadow:none!important}
.sv-note{display:flex;gap:10px;align-items:flex-start;padding:11px 14px;border:1px solid color-mix(in srgb,#e8a33d 45%,var(--sep));background:color-mix(in srgb,#e8a33d 9%,var(--content));border-radius:12px;margin:0 0 12px;font-size:13px;line-height:1.45}
.sv-note i{width:8px;height:8px;border-radius:50%;background:#e8a33d;margin-top:6px;flex:none}.sv-note b{font-weight:520}.sv-note span{color:var(--t2)}
.sv-note.bad{border-color:color-mix(in srgb,var(--red) 45%,var(--sep));background:color-mix(in srgb,var(--red) 7%,var(--content))}.sv-note.bad i{background:var(--red)}
.sv-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sv-wide{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;margin-top:12px}
.sv-c{border:1px solid var(--sep);border-radius:16px;padding:14px 16px;background:var(--content);min-width:0}
.sv-c h3{margin:0 0 10px;font-size:12px;line-height:16px;font-weight:450;color:var(--t2);display:flex;justify-content:space-between;align-items:center;gap:8px}.sv-c h3 em{font-style:normal;color:var(--t3)}
.sv-big{font-size:22px;line-height:28px;font-weight:520;color:var(--t1)}.sv-big small{font-size:13px;color:var(--t2);font-weight:400;margin-left:5px}
.sv-bar{height:6px;border-radius:999px;background:var(--fill);margin:10px 0 8px;overflow:hidden}.sv-bar i{display:block;height:100%;background:var(--accent);border-radius:999px}.sv-bar.w i{background:#e8a33d}
.sv-r{display:flex;justify-content:space-between;gap:10px;color:var(--t2);font-size:13px;line-height:18px;padding:2px 0}.sv-r b{color:var(--t1);font-weight:450;white-space:nowrap}
.sv-st{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--t2);margin-top:8px}.sv-st i{width:6px;height:6px;border-radius:50%;background:var(--green)}.sv-st.w i{background:#e8a33d}
:root .sv-c .seg.sv-seg{height:28px;padding:2px}:root .sv-c .seg.sv-seg button{height:22px;padding:0 10px;font-size:12px}
.sv-lg{display:flex;gap:16px;font-size:12px;color:var(--t2);margin:-2px 0 6px}.sv-lg span{display:inline-flex;align-items:center;gap:6px}.sv-lg i{width:16px;height:0;border-top:2px solid var(--accent)}.sv-lg i.s{border-top:2px dashed #64d2ff}
.sv-ch{width:100%;height:160px;display:block;overflow:visible}.sv-ch .g{stroke:var(--sep);stroke-dasharray:2 4}.sv-ch .b{stroke:var(--border)}.sv-ch text{fill:var(--t3);font-size:11px}
.sv-ch .c{fill:none;stroke:var(--accent);stroke-width:2;vector-effect:non-scaling-stroke}.sv-ch .s{fill:none;stroke:#64d2ff;stroke-width:2;stroke-dasharray:5 4;vector-effect:non-scaling-stroke}
html[data-theme=light] .sv-ch .s,html[data-theme=light] .sv-lg i.s{stroke:#0a7fb8;border-top-color:#0a7fb8}
.sv-empty{margin:40px 0;text-align:center}
.sv-tg{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid var(--sep);font-size:13px;cursor:pointer}.sv-tg small{display:block;font-size:12px;color:var(--t3);margin-top:2px}
@media (max-width:900px){.sv-grid{grid-template-columns:1fr 1fr}.sv-wide{grid-template-columns:1fr}}
@media (max-width:560px){.sv-grid{grid-template-columns:1fr}}

/* 6.21.3: счета: Клиент · Сумма · Счёт · Статус · ⋮, по центру, сетка как в Товарах */
:root:root:root :is(#root,#content,body) table.inv-t2 th:nth-child(2){width:auto}
:root:root:root :is(#root,#content,body) table.inv-t2 th:nth-child(3){width:150px}
:root:root:root :is(#root,#content,body) table.inv-t2 th:nth-child(4){width:130px}
:root:root:root :is(#root,#content,body) table.inv-t2 th:nth-child(5){width:190px}
:root:root:root :is(#root,#content,body) table.inv-t2 th:nth-child(6){width:60px}
:root:root:root :is(#root,#content,body) table.inv-t2 :is(th,td).c{text-align:center!important}
:root:root:root :is(#root,#content,body) table.inv-t2 th.c .th-sort{justify-content:center;margin:0 auto}
:root:root:root :is(#root,#content,body) table.inv-t2 :is(th,td):nth-child(n+3){border-left:1px solid var(--sep)}
:root:root:root :is(#root,#content,body) table.inv-t2 td.row-acts{padding:0 8px!important}
.iv-qrnote{display:block;margin-top:6px}
@media (max-width:700px){:root:root:root :is(#root,#content,body) table.inv-t2 td:nth-child(2){grid-column:2/4}:root:root:root :is(#root,#content,body) table.inv-t2 td:nth-child(3){grid-column:auto}:root:root:root :is(#root,#content,body) table.inv-t2 :is(th,td):nth-child(n+3){border-left:0}
 :root:root:root :is(#root,#content,body) table.inv-t2 td.row-acts{grid-column:auto;text-align:right}}

/* 6.22 Склад: задачи по водителям, остатки, приход, ссылка клиента */
.wh-form [hidden],#whPs[hidden],#whNewDr[hidden]{display:none!important}
table.wh-in th.c,table.wh-in td.c{text-align:center}
:root:root body.pt-v2 #content .wh-bar{flex-wrap:wrap;row-gap:8px}
#content .wh-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#content .wh-acts .p-search{width:220px}
.wh-date{display:inline-flex;align-items:center;gap:4px}
#content .wh-dl{position:relative;height:40px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;cursor:pointer}
.wh-dl input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.wh-dl input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}
.wh-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px;align-items:start}
.wh-col{border:1px solid var(--sep);border-radius:16px;background:var(--content);padding:10px;min-height:220px;transition:border-color .15s,background .15s}
.wh-col.over{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 6%,var(--content))}
.wh-ch{display:flex;align-items:center;gap:8px;margin:2px 4px 10px}.wh-ch>div{flex:1;min-width:0}.wh-ch b{display:block;font-weight:520}
.wh-ch small{display:block;color:var(--t3);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wh-cn{color:var(--t3);font-size:12px;white-space:nowrap}
.wh-tk{border:1px solid var(--sep);border-radius:12px;padding:9px 10px;margin-bottom:8px;display:flex;gap:10px;cursor:pointer;background:var(--content)}
.wh-tk:hover{border-color:var(--border)}.wh-tk[draggable=true]{cursor:grab}.wh-tk.drag{opacity:.45}
.wh-tk>div{min-width:0;flex:1}.wh-tk b{font-weight:450;display:flex;align-items:center;gap:6px;overflow-wrap:anywhere}
.wh-tk small{display:block;color:var(--t2);font-size:12px;margin-top:2px;overflow-wrap:anywhere}.wh-tk .wh-st{color:var(--t3)}
.wh-tk.warn{border-color:color-mix(in srgb,var(--yellow) 55%,var(--sep))}.wh-tk.warn .wh-st{color:var(--yellow)}
.wh-tk.done b{color:var(--t2)}
.wh-cl{display:inline-flex;align-items:center;gap:2px;color:var(--t3);font-size:11.5px;font-weight:400}.wh-cl .svg{width:13px;height:13px}
.wh-ck{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--t3);flex:none;margin-top:1px;padding:0;background:none;cursor:pointer;position:relative}
.wh-ck:hover{border-color:var(--accent)}
.wh-tk.done .wh-ck{background:var(--green);border-color:var(--green)}
.wh-tk.done .wh-ck:after{content:"";position:absolute;left:5px;top:2px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.wh-lnk{background:none;border:0;padding:0;margin-top:4px;color:var(--accent);font:inherit;font-size:12px;cursor:pointer}
.wh-empty{color:var(--t3);font-size:12.5px;margin:6px 4px 4px;line-height:1.45}
.wh-hint{color:var(--t2);margin:0 0 10px;line-height:1.5}.wh-hint.sm{font-size:12px;color:var(--t3);margin:8px 2px 0}
textarea.wh-msg{width:100%;resize:vertical;line-height:1.5;font:inherit;min-height:96px}
.wh-ph{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;padding:6px;border:1px dashed var(--border);border-radius:12px}.wh-ph.over{border-color:var(--accent)}
.wh-th{position:relative;width:84px;height:64px;border-radius:9px;overflow:hidden;border:1px solid var(--sep);flex:none}
.wh-th img{width:100%;height:100%;object-fit:cover;display:block}
.wh-th button{position:absolute;top:3px;width:22px;height:22px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.wh-th button:nth-of-type(1){left:3px}.wh-th button:nth-of-type(2){right:3px}.wh-th button .svg{width:13px;height:13px}
.wh-add{display:flex;align-items:center;gap:8px;padding:8px 10px;color:var(--t2);cursor:pointer;border-radius:9px;min-height:50px}
.wh-add:hover{background:var(--fill)}.wh-add small{display:block;color:var(--t3);font-size:11.5px}
.wh-form{display:flex;flex-direction:column;gap:12px}.wh-form .notice{margin:0}
.wh-2{grid-template-columns:1fr 1fr!important;gap:12px!important}.wh-3{grid-template-columns:1.2fr 1.2fr 1fr!important;gap:12px!important}
.wh-ty{align-self:flex-start;display:inline-flex}
.wh-cand{display:flex;flex-wrap:wrap;gap:6px;align-items:center;color:var(--t2);font-size:12.5px;margin-top:-4px}
.wh-chip{height:30px;padding:0 12px;border-radius:999px;border:1px solid var(--sep);background:var(--fill);color:var(--t1);font:inherit;font-size:12.5px;cursor:pointer;white-space:nowrap}
.wh-chip span{color:var(--t3);margin-left:3px}.wh-chip.on{border-color:var(--accent);color:var(--accent)}
.wh-rem{font-size:12.5px;color:var(--t2);margin-top:-4px}
.wh-lk{display:flex;align-items:center;gap:8px;margin:10px 0;height:40px;border:1px solid var(--border);border-radius:10px;padding:0 4px 0 12px}
.wh-lk span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--t2);font-size:12.5px}
.wh-staff{display:flex;flex-direction:column;margin-bottom:14px}.wh-sr{display:flex;align-items:center;gap:6px;padding:9px 2px;border-bottom:1px solid var(--sep)}
.wh-sr>div{flex:1;min-width:0}.wh-sr b{font-weight:450;display:block}.wh-sr small{color:var(--t3);font-size:12px}
.wh-top{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--sep);flex-wrap:wrap}
.wh-tot{color:var(--t2)}.wh-tot b{color:var(--t1);font-size:17px;font-weight:520}
.wh-up{color:var(--green)}.wh-y{color:var(--yellow)}
table.wh-t td{vertical-align:middle}
.wh-pi{display:flex;align-items:center;gap:10px;min-width:0}.wh-pi img,.wh-pp{width:36px;height:36px;border-radius:8px;object-fit:cover;flex:none;background:var(--fill)}
.wh-pi>div{min-width:0}.wh-pi b{font-weight:450;display:block;overflow-wrap:anywhere}.wh-pi small{display:block;color:var(--t3);font-size:11.5px;overflow-wrap:anywhere}
tr.zero .wh-pi b,tr.zero .wh-num{color:var(--t2)}
.wh-num{min-width:64px;height:30px;padding:0 10px;border:1px solid var(--sep);border-radius:8px;background:var(--fill);color:var(--t1);font:inherit;font-weight:520;cursor:pointer;font-variant-numeric:tabular-nums}
.wh-num:hover{border-color:var(--accent)}
.wh-it{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.wh-it .wh-hint{margin:0;flex:1 1 280px}
#whPs{margin-bottom:10px}#whPs textarea{width:100%;font:inherit;font-variant-numeric:tabular-nums}#whPs .wh-it{margin:6px 0 0}
.wh-iq{width:100%;margin-bottom:8px}
.wh-itw{max-height:min(52vh,460px);overflow:auto;border:1px solid var(--sep);border-radius:12px}
table.wh-in{width:100%;border-collapse:collapse}table.wh-in th{position:sticky;top:0;background:var(--content);z-index:1}
table.wh-in td,table.wh-in th{padding:7px 10px;border-bottom:1px solid var(--sep)}table.wh-in tr.on td{background:color-mix(in srgb,var(--accent) 7%,transparent)}
table.wh-in tfoot td{position:sticky;bottom:0;background:var(--content);border-bottom:0;border-top:1px solid var(--sep)}
.wh-q{width:84px!important;height:32px;text-align:center;padding:0 6px!important}
.wh-new{display:grid;grid-template-columns:2fr 1.2fr 1.2fr 70px auto;gap:6px;align-items:center}.wh-new .input{height:32px;min-width:0}
.wh-new-t{font-size:11px;color:var(--accent);font-weight:400}
.wh-pick{display:flex;flex-direction:column;gap:6px}.wh-pk{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid var(--sep);border-radius:12px;background:var(--fill);color:var(--t1);font:inherit;cursor:pointer}
.wh-pk:hover{border-color:var(--accent)}.wh-pk b{font-weight:450}
.wh-mt{font-weight:450}
.wh-cda{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.wh-load{padding:20px}
@media(max-width:760px){.wh-board{grid-template-columns:1fr}#content .wh-acts{justify-content:flex-start;width:100%}#content .wh-acts .p-search{flex:1;width:auto}
 .wh-2,.wh-3{grid-template-columns:1fr!important}.wh-new{grid-template-columns:1fr 1fr}.wh-new .input[name=t]{grid-column:1/-1}}

/* 6.23 Оплаты на проверке и чек */
#content .pay-rv{margin-bottom:12px;border-color:color-mix(in srgb,var(--yellow) 45%,var(--sep));padding:0;overflow:hidden}
.pay-rv h4{margin:0;padding:10px 14px;font-size:13px;font-weight:520;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--sep)}
.pay-rv h4 em{font-style:normal;font-size:11px;background:var(--accent);color:#fff;border-radius:999px;padding:0 7px;line-height:18px}
.pay-rr{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--sep)}.pay-rr:last-child{border-bottom:0}
.pay-rr>div{flex:1;min-width:0}.pay-rr b{font-weight:450}.pay-rr small{display:block;color:var(--t2);font-size:12px}.pay-rr .pay-s{font-weight:520;white-space:nowrap}
.pay-img{display:flex;align-items:center;justify-content:center;min-height:120px;max-height:52vh;overflow:hidden;border:1px solid var(--sep);border-radius:12px;background:var(--fill);margin-bottom:12px;color:var(--accent)}
.pay-img img{max-width:100%;max-height:52vh;object-fit:contain;display:block}
#payNo[hidden]{display:none!important}
/* ===== 6.24 Склад, карта и задачи ===== */
.wh-hd{padding:4px 0 18px}.wh-hd h1{margin:0;font-size:28px;font-weight:520;letter-spacing:-.01em;color:var(--t1);line-height:1.15}.wh-hd p{margin:6px 0 0;color:var(--t2);font-size:15px}.wh-hd p b,.pghead p b{color:var(--t1);font-weight:500}
.wh-pbar{flex-wrap:wrap;gap:8px}
button.urg{cursor:pointer;font-family:inherit}button.urg.wh-go:hover{border-color:var(--accent)!important}
.urg.u-b::before{background:var(--accent)}
.wh-chev{color:var(--t3);display:inline-grid}.wh-chev .svg{width:15px;height:15px}
table.wh-home td,table.wh-cg td,table.wh-mv td{height:58px}
.wh-sz{display:inline-flex;flex-wrap:wrap;gap:4px;justify-content:center}.wh-sz span{font-size:12.5px;padding:2px 8px;border-radius:7px;background:var(--fill);white-space:nowrap;color:var(--t1)}.wh-sz span.z{color:var(--yellow)}
.wh-loc{display:inline-flex;align-items:center;height:26px;padding:0 9px;border-radius:8px;border:1px solid var(--border);background:var(--content);color:var(--t1);font:inherit;font-size:12.5px;white-space:nowrap;cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis}.wh-loc:hover{border-color:var(--accent)}
span.wh-loc{cursor:default}
.wh-sheet{font-size:13.5px}
.whs-h{display:flex;align-items:center;gap:8px;padding:16px 14px 14px 18px;border-bottom:1px solid var(--sep)}.whs-h b{font-size:16px;font-weight:600}.whs-h .ib{margin-left:auto}
.pill-n{min-width:22px;height:22px;padding:0 7px;border-radius:999px;display:inline-grid;place-items:center;background:var(--yellow);color:#3a2a00;font-size:12px;font-weight:600}
.whs-l{flex:1;min-height:0;overflow:auto}
.whs-g{padding:12px 18px 6px;color:var(--t2);font-size:12px;font-weight:600}
.whs-r{display:flex;align-items:center;gap:10px;padding:10px 18px;border-bottom:1px solid var(--sep)}.whs-r>div{flex:1;min-width:0}.whs-r b{font-weight:450;display:block;overflow-wrap:anywhere}.whs-r small{display:block;color:var(--t2);font-size:12px;margin-top:1px}
.whs-r.sm{padding:8px 16px}.whs-r .num{font-weight:500}
.whs-r .wh-pp,.whs-r img.wh-pp{width:34px;height:40px;border-radius:8px;flex:none;object-fit:cover}
.whs-n{color:var(--t2);font-size:12.5px;line-height:1.5;padding:14px 18px;margin:0}
.whs-f{border-top:1px solid var(--sep);padding:12px 18px;color:var(--t3);font-size:12.5px}.whs-f.r{display:flex;justify-content:flex-end}
.tk-av{width:30px;height:30px;border-radius:50%;background:var(--fill);display:grid;place-items:center;font-size:12.5px;color:var(--t1);flex:none;border:1px solid var(--sep)}.tk-av.lg{width:36px;height:36px}
.wh-lcw{display:flex;flex-direction:column;gap:14px}.wh-lcs>b{display:block;font-weight:500;margin-bottom:6px}
.wh-lcr{display:grid;grid-template-columns:1.1fr 1fr 34px;gap:6px;margin-bottom:6px;align-items:center}.wh-lcr .input{height:36px}
.wh-lca{display:flex;gap:16px}
.wh-store{display:inline-flex;align-items:center;gap:8px;color:var(--t2);font-size:13px}.wh-store .input{height:34px;width:auto;min-width:180px}
.wh-in.pl .wh-pl{width:100%;height:32px}
.wh-rc td{padding:6px 8px}.wh-rc .wh-q{width:96px!important}
/* Задачи */
.tk-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);overflow-x:auto;padding:0!important;min-height:420px}
.tk-col{border-right:1px solid var(--sep);display:flex;flex-direction:column;min-width:0;transition:background .15s}.tk-col:last-child{border-right:0}
.tk-col.over{background:color-mix(in srgb,var(--accent) 6%,var(--content))}
.tk-ch{display:flex;align-items:center;gap:10px;padding:0 14px;height:56px;border-bottom:1px solid var(--sep);background:color-mix(in srgb,var(--fill) 45%,var(--content))}.tk-ch>div{flex:1;min-width:0}.tk-ch b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tk-ch small{display:block;color:var(--t2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tk-n{color:var(--t2);font-size:12px;white-space:nowrap}
.tk-cl{flex:1}
.tk-i{display:flex;gap:10px;padding:12px 14px;border-bottom:1px solid var(--sep);cursor:pointer}.tk-i:hover{background:var(--row-hov,color-mix(in srgb,var(--fill) 45%,var(--content)))}.tk-i[draggable=true]{cursor:grab}.tk-i.drag{opacity:.45}
.tk-i>div{min-width:0;flex:1}.tk-i b{display:block;font-weight:450;overflow-wrap:anywhere}.tk-i small{display:block;color:var(--t2);font-size:12px;margin-top:1px;overflow-wrap:anywhere}
.tk-i.done b{color:var(--t2)}.tk-i.done .wh-ck{background:var(--green);border-color:var(--green)}
.tk-i.done .wh-ck:after{content:"";position:absolute;left:5px;top:2px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.tk-ty{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--t2);margin-bottom:2px}.tk-ty:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--c);flex:none}.tk-ty .svg{width:12px;height:12px}
.tk-w{margin-top:6px}
.tk-empty{color:var(--t3);font-size:12.5px;margin:14px;line-height:1.45}
.tk-list{padding:0!important}.tk-list .tk-i{padding:12px 18px}
.tk-foot{padding:14px 18px;color:var(--t2);font-size:12.5px;line-height:1.5}
/* Карта склада */
:root{--whm-free:color-mix(in srgb,var(--t1) 9%,var(--content));--whm-full:color-mix(in srgb,var(--t1) 22%,var(--content));--whm-line:color-mix(in srgb,var(--t1) 7%,transparent)}
.whm-card{display:flex;padding:0!important;overflow:hidden;min-height:480px}
.whm-wrap{flex:1;min-width:0;overflow:auto;position:relative;padding:12px 12px 40px;background:color-mix(in srgb,var(--fill) 30%,var(--content))}
.whm-side{width:300px;flex:none;border-left:1px solid var(--sep);display:flex;flex-direction:column;background:var(--content)}
.whm-sh{padding:14px 16px;border-bottom:1px solid var(--sep);min-height:56px}.whm-sh b{display:block;font-size:14.5px;font-weight:600}.whm-sh small{display:block;color:var(--t2);font-size:12px;margin-top:2px}
.whm-hint{color:var(--t2);font-size:12.5px;line-height:1.5;padding:12px 16px;margin:0}
.whm-sl{flex:1;overflow:auto;min-height:0}
.whm-sf{display:flex;gap:8px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid var(--sep)}
.whm-cv{position:relative;background-image:linear-gradient(var(--whm-line) 1px,transparent 1px),linear-gradient(90deg,var(--whm-line) 1px,transparent 1px);background-size:var(--u) var(--u);user-select:none}
.whm-svg{position:absolute;left:0;top:0;pointer-events:none;overflow:visible}
.whm-floor{fill:var(--content);opacity:.7}.whm-wall{fill:none;stroke:var(--t2);stroke-width:4;stroke-linejoin:round}
.whm-wp{fill:none;stroke:var(--accent);stroke-width:3;stroke-dasharray:6 4}.whm-wpd{fill:var(--accent)}
.whm-bg{position:absolute;left:0;top:0;max-width:none;pointer-events:none}
.whm-rk,.whm-ls{position:absolute;display:grid;gap:3px;padding:3px;border:1px solid var(--border);border-radius:9px;background:var(--content);box-sizing:border-box}
.whm-ls{display:flex}.whm-ls.v{flex-direction:column}
.whm-l{position:absolute;top:-19px;left:2px;font-size:11.5px;color:var(--t2);white-space:nowrap;pointer-events:none}
.whm-c{border-radius:5px;background:var(--whm-free);display:grid;place-items:center;font-size:11px;color:var(--t2);min-width:0;min-height:0;overflow:hidden;cursor:pointer;flex:1;white-space:nowrap}
.whm-c.full{background:var(--whm-full)}.whm-c.fl{box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--yellow) 70%,transparent)}
.whm-c.hi{background:var(--accent);color:#fff;font-weight:600}
.whm-c.psel,.whm-z.psel{outline:2px solid var(--t1);outline-offset:1px}
.whm-z{position:absolute;border:1.5px dashed var(--border);border-radius:12px;display:grid;place-items:center;text-align:center;color:var(--t2);font-size:12px;cursor:pointer;box-sizing:border-box;padding:4px}.whm-z small{display:block;font-size:11px;color:var(--t3)}
.whm-z.hi{border-color:var(--accent);color:var(--t1);background:color-mix(in srgb,var(--accent) 14%,transparent)}
.whm-col{position:absolute;border-radius:4px;background:var(--t3)}
.whm-door{position:absolute;border:1.5px dashed var(--accent);border-radius:6px;display:grid;place-items:center;color:var(--t3);font-size:11px;box-sizing:border-box}.whm-door.v span{writing-mode:vertical-rl}
.whm-cv.ed [data-id]{cursor:move}.whm-cv.ed .whm-c{cursor:inherit}.whm-cv.tool,.whm-cv.tool [data-id]{cursor:crosshair}
.whm-cv.ed .sel{outline:2px solid var(--accent);outline-offset:3px;z-index:2}
.whm-h{position:absolute;right:-7px;bottom:-7px;width:12px;height:12px;border-radius:3px;background:#fff;border:2px solid var(--accent);cursor:nwse-resize;z-index:3}
.whm-leg{position:sticky;left:0;bottom:-28px;display:flex;gap:16px;font-size:11.5px;color:var(--t2);margin-top:14px}.whm-leg span:before{content:"";display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px;background:var(--c)}
.whm-ed{display:flex;padding:0!important;overflow:hidden;height:calc(100vh - 290px);min-height:440px}
.whm-tools{width:84px;flex:none;border-right:1px solid var(--sep);padding:10px 8px;display:flex;flex-direction:column;gap:4px}
.whm-tool{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 2px;border-radius:12px;color:var(--t2);font:inherit;font-size:11.5px;background:none;border:0;cursor:pointer}.whm-tool .svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.whm-tool:hover{color:var(--t1)}.whm-tool.on{background:var(--fill);color:var(--t1)}
.whm-ew{flex:1;min-width:0;overflow:auto;background:color-mix(in srgb,var(--fill) 30%,var(--content))}
.whm-f{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid var(--sep)}.whm-f>span:first-child{flex:1;color:var(--t2)}.whm-f .input{height:34px;width:150px}.whm-f .input.num{width:76px;text-align:center}.whm-f .input.sm{width:90px}
.whm-ch{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1080px;margin:10px auto 0}
.whm-cc{border:1px solid var(--sep);border-radius:22px;padding:22px;background:var(--content);display:flex;flex-direction:column}.whm-cc b{font-size:16px;font-weight:600;display:block;margin:16px 0 6px}.whm-cc p{color:var(--t2);margin:0 0 16px;line-height:1.5;flex:1}.whm-cc .btn{align-self:flex-start}
.whm-pv{height:118px;border-radius:14px;border:1px solid var(--sep);background:color-mix(in srgb,var(--fill) 30%,var(--content));position:relative;padding:18px;display:flex;flex-wrap:wrap;gap:10px;align-content:flex-start}.whm-pv.col{flex-direction:column;align-items:flex-start;gap:8px;padding:14px}
.whm-mini{display:grid;grid-template-columns:repeat(5,22px);grid-template-rows:repeat(2,16px);gap:3px;padding:3px;border:1px solid var(--border);border-radius:8px}.whm-mini.s{grid-template-columns:repeat(4,22px)}.whm-mini i{border-radius:4px;background:var(--whm-free)}
.whm-mz{width:122px;height:26px;border:1.5px dashed var(--border);border-radius:9px;display:grid;place-items:center;font-size:11px;color:var(--t2)}
.whm-foot{padding:10px 16px;color:var(--t3);font-size:12px;border-top:1px solid var(--sep)}
@media (max-width:900px){.whm-ch{grid-template-columns:1fr}.whm-card,.whm-ed{flex-direction:column;height:auto}.whm-side{width:auto;border-left:0;border-top:1px solid var(--sep)}.whm-tools{width:auto;flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--sep)}.whm-ew{min-height:420px}}
.wh-pbar .dd-btn{max-width:260px;gap:6px}.wh-pbar .dd-btn .dd-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wh-pbar .dd-btn>.svg{flex:none}
.tk-calp .rp-g button.td{color:var(--accent-t,var(--accent));font-weight:600}

/* ---------- 6.25 Пульт: клиенты одним списком, мягкие плашки, карточка клиента ---------- */
.pc-pl{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;font-size:12.5px;white-space:nowrap;color:var(--t2);background:color-mix(in srgb,var(--t3) 12%,transparent)}
.pc-pl>i{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
.pc-pl.g{color:var(--green);background:color-mix(in srgb,var(--green) 9%,transparent)}
.pc-pl.y{color:var(--warn);background:color-mix(in srgb,#ffc400 14%,transparent)}
.pc-pl.r{color:var(--red);background:color-mix(in srgb,var(--red) 8%,transparent)}
.pc-pl.b{color:var(--accent-t);background:color-mix(in srgb,var(--accent) 8%,transparent)}
.pc-pl.lk{background:none;box-shadow:inset 0 0 0 1px var(--border);box-shadow:none;border:1px dashed var(--border);cursor:pointer}.pc-pl.lk>i{display:none}.pc-pl.lk:hover{color:var(--t1);border-color:var(--t3)}
.pc-pl[role=button]{cursor:pointer}.pc-pl[role=button]:hover{filter:brightness(.97)}
.pc-tg{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:6px;font-size:11.5px;font-weight:400;color:var(--t2);background:color-mix(in srgb,var(--t3) 12%,transparent);white-space:nowrap}
.pc-tg.m{color:var(--accent-t);background:color-mix(in srgb,var(--accent) 9%,transparent)}
.pc-tg.f{color:#7c3aed;background:color-mix(in srgb,#8e5cf7 11%,transparent)}
html[data-theme=dark] .pc-tg.f{color:#b394ff}
.pc-f{color:var(--t3);font-size:13px}
.pc-v{display:block;font-variant-numeric:tabular-nums;white-space:nowrap}.pc-v.bad{color:var(--red)}
.pc-s{display:block;font-size:12px;color:var(--t2);margin-top:2px}.pc-s.up{color:var(--green)}.pc-s.dn{color:var(--red)}
.pc-nm{display:flex;align-items:center;gap:12px;min-width:0}.pc-nm>div{min-width:0}
.pc-t{display:flex;align-items:center;gap:6px;min-width:0}.pc-t b{font-weight:450;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.pc-nm small{display:block;color:var(--t3);font-size:12.5px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-av{width:32px;height:32px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:11.5px;color:var(--t2);background:var(--fill)}.pc-av.fl{background:none}.pc-av.l{width:40px;height:40px;font-size:13px}
#content table.pc-tab td{height:62px}
.pc-tab th.pc-sh{cursor:pointer;white-space:nowrap}.pc-tab th.pc-sh:hover{color:var(--t1)}.pc-tab th.pc-sh .svg{width:12px;height:12px;vertical-align:-1px;opacity:.6}
.pc-ar{color:var(--accent);font-weight:600}
.pc-q{width:220px}
.pc-hint{margin-left:auto;padding-left:12px;white-space:nowrap;font-size:11.5px;color:var(--t3)}.pc-hint.y{color:var(--warn)}.pc-hint.r{color:var(--red)}
.pc-opt{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;margin-top:6px;border:1px solid var(--sep);border-radius:12px;cursor:pointer}.pc-opt input{margin-top:3px}
.pc-opt b{display:block;font-weight:450}.pc-opt small{display:block;color:var(--t2);font-size:12.5px;margin-top:2px}
.pc-card{position:fixed;top:12px;right:12px;bottom:12px;width:min(520px,calc(100vw - 24px));z-index:40;background:var(--content);border:1px solid var(--sep);border-radius:18px;box-shadow:0 12px 40px rgba(0,0,0,.14);display:flex;flex-direction:column;overflow:hidden;animation:pcIn .18s ease-out}
@keyframes pcIn{from{transform:translateX(16px);opacity:0}to{transform:none;opacity:1}}
html[data-theme=dark] .pc-card{box-shadow:0 12px 40px rgba(0,0,0,.5)}
.pc-h{display:flex;align-items:center;gap:12px;padding:18px 18px 6px}.pc-hn{flex:1;min-width:0}.pc-hn b{display:block;font-size:17px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pc-hn small{display:block;color:var(--t2);font-size:12.5px;margin-top:2px}
.pc-ib{width:32px;height:32px;border-radius:50%;border:1px solid var(--border);background:var(--content);color:var(--t2);display:grid;place-items:center;cursor:pointer;flex:none}.pc-ib:hover{background:var(--fill)}
.pc-bt{display:flex;gap:8px;flex-wrap:wrap;padding:10px 18px 14px;border-bottom:1px solid var(--sep)}.pc-bt .btn{height:34px}
.pc-b{flex:1;overflow:auto;padding:4px 18px 18px}
.pc-sec{padding:12px 0 10px;border-bottom:1px solid var(--sep)}.pc-sec:last-child{border-bottom:0}
.pc-sec h4{display:flex;align-items:center;margin:0 0 8px;font-size:12px;font-weight:600;color:var(--t2)}.pc-sec h4 a{margin-left:auto;font-weight:400;color:var(--accent-t);text-decoration:none}
.pc-kv{display:grid;grid-template-columns:140px 1fr;gap:6px 12px;font-size:13px}.pc-kv>span:nth-child(odd){color:var(--t2)}.pc-kv em{font-style:normal;color:var(--green)}.pc-kv em.dn{color:var(--red)}
.pc-tl{display:flex;align-items:center;gap:8px;font-size:13px;padding:3px 0}.pc-tl:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);flex:none}.pc-tl.r:before{background:var(--red)}.pc-tl.g:before{background:var(--green)}.pc-tl.y:before{background:#ffc400}.pc-tl.n:before{background:var(--t3)}
.pc-tl span{margin-left:auto;padding-left:10px;color:var(--t2);font-size:12px;white-space:nowrap}
.pc-e{margin:0;color:var(--t3);font-size:13px}
.pc-pen{border:0;background:none;color:var(--t3);cursor:pointer;padding:0 0 0 4px;vertical-align:-2px}.pc-pen:hover{color:var(--accent)}.pc-pen .svg{width:13px;height:13px}
.pc-bl{display:grid;grid-template-columns:1.1fr 1.4fr 110px;gap:8px;align-items:center}.pc-bl.h{font-size:12px;color:var(--t2)}.pc-bl b{font-weight:450;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-it .iv-what{color:var(--t2)}.pc-it .iv-n{color:var(--t2);font-variant-numeric:tabular-nums}
.ms-tabs{margin-right:4px}
.sh-pop button.on,html[data-theme=dark] .sh-pop button.on{background:var(--fill-2)!important;font-weight:600!important;border-radius:9px}
.sh-sep{height:1px;background:var(--sep);margin:6px 4px}
.sh-pop .sh-all{width:100%;border:0;background:none;color:var(--accent-t);text-align:left;padding:8px 12px;border-radius:9px;cursor:pointer;font:inherit}.sh-pop .sh-all:hover{background:var(--fill)}
@media (max-width:760px){.pc-tab th:nth-child(5),.pc-tab td:nth-child(5),.pc-tab th:nth-child(7),.pc-tab td:nth-child(7){display:none}.pc-q{width:auto}.pc-kv{grid-template-columns:110px 1fr}}
.pc-it{table-layout:fixed;width:100%}.pc-it th.pc-w1{width:24%}.pc-it th.pc-w2{width:auto}.pc-it th.pc-w3{width:130px}.pc-it th.pc-w4{width:230px}.pc-it th.pc-w5{width:96px}
.pc-it td .iv-cl b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.pc-it .iv-what{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-pm button{white-space:nowrap}
.pc-scs{display:flex;flex-wrap:wrap;gap:4px}.pc-tg.ok{color:var(--green);background:color-mix(in srgb,var(--green) 9%,transparent)}.pc-ro{display:block;color:var(--warn);font-size:12px;margin-top:4px}
/* 6.26 «Мой склад»: страница клиента с галочками, КИЗ, история и уведомления */
.wh-dn{color:var(--red)}
#content table.wh-cg th.pq-cb,#content table.wh-cg td.pq-cb{width:44px;text-align:center;padding:0!important}
#content table.wh-cg .pq-cb input{width:16px;height:16px;accent-color:#0b84fb;cursor:pointer}
table.wh-cg .wh-sz{flex-wrap:nowrap}
.wh-sz span.wh-szm{background:transparent;color:var(--t2);padding:2px 4px;cursor:default}
.wh-kz{border:0;font:inherit;font-size:12.5px;line-height:18px;padding:2px 9px;border-radius:7px;cursor:pointer;color:var(--red);background:color-mix(in srgb,var(--red) 11%,transparent)}
.wh-kzn{border:0;background:none;font:inherit;color:var(--t1);cursor:pointer;padding:2px 6px;border-radius:6px;font-variant-numeric:tabular-nums}.wh-kzn:hover{background:var(--fill)}
.wh-ok{display:inline-flex;align-items:center;gap:5px;color:var(--green);font-size:12.5px;white-space:nowrap}.wh-ok svg{width:14px;height:14px}
.wh-snt td.wh-stx span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--t2);font-size:12.5px;line-height:17px}
/* 6.28 «Счета»: счёт сбоку */
.iv-pv{border:1px solid var(--sep);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;font-size:13px}
.iv-pv hr{border:0;border-top:1px solid var(--sep);margin:2px 0;width:100%}
.iv-pr{display:flex;justify-content:space-between;gap:12px}.iv-pr span:first-child{color:var(--t2)}.iv-pr span:last-child{text-align:right;font-variant-numeric:tabular-nums}
.iv-pr.tot{font-size:15px;font-weight:600}.iv-pr.tot span:first-child{color:var(--t1)}
#ivCard .pc-sec h4 .pc-pl{margin-left:auto;font-weight:400}
.pt-ftx{margin:0 0 14px;color:var(--t2);font-size:13.5px;line-height:1.5}
table.inv-t2.pc-it th:nth-child(2){width:24%}table.inv-t2.pc-it th:nth-child(3){width:auto}
/* 6.29 «Задания»: доска по статусам */
.tk-sb{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}
.tk-sc{background:color-mix(in srgb,var(--t1) 4.5%,var(--content));border-radius:16px;padding:10px;display:flex;flex-direction:column;gap:8px;min-height:120px;transition:box-shadow .12s}
.tk-sc.over{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--accent) 45%,transparent)}
.tk-sh{display:flex;align-items:center;gap:8px;padding:2px 2px 2px 4px;height:28px}.tk-sh i{width:3px;height:16px;border-radius:2px;background:var(--c)}.tk-sh b{font-weight:500;font-size:13.5px}
.tk-sh em{font-style:normal;font-size:11.5px;color:var(--t2);background:color-mix(in srgb,var(--t1) 7%,transparent);border-radius:6px;padding:0 6px;line-height:18px}
.tk-sa{margin-left:auto;width:26px;height:26px;border-radius:8px;border:0;background:transparent;color:var(--t3);display:grid;place-items:center;cursor:pointer}.tk-sa:hover{background:color-mix(in srgb,var(--t1) 7%,transparent);color:var(--t1)}
.tk-scl{display:flex;flex-direction:column;gap:8px}
.tk-se{margin:0;padding:14px 8px;text-align:center;color:var(--t3);font-size:12.5px;line-height:1.45}
.tk-k{background:var(--content);border:1px solid var(--sep);border-radius:12px;overflow:hidden;cursor:pointer}.tk-k:hover{border-color:color-mix(in srgb,var(--t1) 18%,transparent)}.tk-k.drag{opacity:.45}
.tk-kc{padding:7px 11px;font-size:11.5px;color:var(--t3);border-bottom:1px solid var(--sep);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tk-kc span{color:var(--t2)}
.tk-kb{padding:9px 11px 10px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}.tk-kb>b{font-weight:500;font-size:13px;line-height:17px}
.tk-kp{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--t2);min-height:20px}
.tk-av.sm{width:20px;height:20px;font-size:10px}
.tk-na{border:0;background:none;padding:0;font:inherit;color:var(--accent-t,var(--accent));cursor:pointer}
.tk-tg{font-size:11px;padding:0 7px;border-radius:6px;line-height:18px;color:var(--accent-t,var(--accent));background:color-mix(in srgb,var(--accent) 9%,transparent)}.tk-tg.g{color:var(--t2);background:color-mix(in srgb,var(--t1) 6%,transparent)}
.tk-km{display:flex;align-items:center;gap:10px;font-size:11.5px;color:var(--t3);width:100%}.tk-km span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.tk-km svg{width:12px;height:12px;flex:none}.tk-km .r{margin-left:auto;flex:none}.tk-km .late{color:var(--red)}
.tk-k.dn .tk-kb>b{color:var(--t2)}.tk-k.dn{opacity:.85}
.tk-lc b{font-weight:450;display:block}.tk-lc small{display:block;color:var(--t2);font-size:12px}
.tk-ex{display:inline-flex;align-items:center;height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--sep);background:var(--content);font:inherit;font-size:12.5px;color:var(--t1);cursor:pointer;white-space:nowrap}.tk-ex.na{color:var(--accent-t,var(--accent))}
td.tk-wh{color:var(--t2);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:0}td.tk-late{color:var(--red)}
@media (max-width:900px){.tk-sb{grid-template-columns:1fr}}
#content table.tk-lt th.pq-cb,#content table.tk-lt td.pq-cb{width:44px;text-align:center;padding:0!important}
#content table.tk-lt .pq-cb input{width:16px;height:16px;accent-color:#0b84fb;cursor:pointer}
/* 6.30: Перо в «Новом задании» */
.tk-pero{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:12px;background:var(--fill)}
.tk-pero .field{margin:0}.tk-pero .field>span{display:flex;align-items:center;justify-content:space-between;gap:8px}.tk-pero .tk-pt{display:inline-flex;align-items:center;gap:6px;font-weight:inherit}
.tk-pero textarea.wh-msg{min-height:64px}
.tk-pero>.btn{align-self:flex-end}
/* 6.31: «Задания» списком по дням */
.tk-lt tr.tk-gh td{background:color-mix(in srgb,var(--t1) 3.5%,var(--content));padding:8px 14px;border-bottom:1px solid var(--line);cursor:default}
.tk-lt tr.tk-gh b{font-weight:520}.tk-lt tr.tk-gh em{font-style:normal;color:var(--muted);margin-left:8px;font-variant-numeric:tabular-nums}
.tk-lt tr.tk-gh.fr b{color:var(--accent-t,var(--accent))}
.tk-lt tbody+tbody tr.tk-gh td{border-top:1px solid var(--line)}
/* 6.32: статус заявки в письме Пульта */
.pt-rst{margin:0 0 8px;display:flex;align-items:center;gap:8px;color:var(--muted)}
.pt-mb>.pt-dnote:first-child{margin:0 0 12px;padding:10px 12px;border:0;border-radius:12px;background:color-mix(in srgb,var(--green) 10%,transparent);color:var(--t1)}
/* 6.32: таблицы в окнах «Мой склад»: первая колонка ровно по левому краю, цифры и поля по центру */
table.wh-t{width:100%;border-collapse:collapse}
table.wh-t th,table.wh-t td,.wh-rc th,.wh-rc td{padding:8px 10px;text-align:left;border-bottom:1px solid var(--sep)}
table.wh-t th:first-child,table.wh-t td:first-child{padding-left:4px}
table.wh-t th.c,table.wh-t td.c{text-align:center}
table.wh-t td.c .input{margin:0 auto;display:block}
/* 6.35: кампанию ведёт Перо под ключ — вместо ручных тумблеров метка и одна строка сверху */
.cpg-by{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 10px;border-radius:999px;background:var(--c-accent-bg,rgba(11,132,251,.1));color:var(--accent);font-size:12px;font-weight:450;white-space:nowrap;flex:none}.cpg-by .ic{width:13px;height:13px}
.cpg-sub .cpg-sh .cpg-sb{font-size:13px;font-weight:520}.cpg-sub>p{margin:6px 0 0}
.cpg-led{display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;margin-bottom:12px;border-radius:16px;background:rgba(11,132,251,.07);border:1px solid rgba(11,132,251,.18);font-size:13px;color:var(--t1)}.cpg-led>span{flex:1}.cpg-led>.ic{color:var(--accent)}
.cpg-think{margin-top:8px;font-size:12px;line-height:16px}
/* Место сейчас с витрины в таблице запросов */
.q-live{display:inline-flex;flex-direction:column;align-items:center;line-height:1.15;font-weight:500}
.q-live small{font-size:11px;color:var(--t3,#8e8e93);font-weight:400}
/* Ключевые фразы рекламы */
.kw-box{margin:0 0 14px;padding:14px 16px;border:1px solid var(--c-border,var(--line));border-radius:16px}
.kw-head{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap}
.kw-head small{display:block;color:var(--c-t2,var(--muted));font-size:12px;line-height:16px;margin-top:2px;max-width:560px}
.kw-add{display:flex;gap:8px;align-items:center}
.kw-add input{height:32px;width:220px;border-radius:999px;padding:0 12px}
.kw-add select{height:32px;border-radius:999px;padding:0 10px}
.kw-t{margin-top:12px}
.kw-pl b{font-weight:500}.kw-pl small{display:block;font-size:11px;color:var(--c-t3,var(--muted))}
.kw-sug{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:12px}
.kw-sug .pill{display:inline-flex;gap:4px;align-items:center;height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--c-border,var(--line));background:var(--c-fill,transparent);cursor:pointer;font-size:12px}
.kw-au{margin:12px 0 0;display:flex;gap:6px;align-items:flex-start;color:var(--c-t2,var(--muted))}
@media (max-width:700px){.kw-add{width:100%}.kw-add input{flex:1;width:auto}}
