/* 6.45: новый дизайн. Все правила действуют только при html.ui2 (выключатель в Настройках), старый вид не затронут.
   Плоский стиль: без градиентов, стекла и теней; светлая тема; одна колонка 1150 по центру; верхнее меню на месте при прокрутке. */
html.ui2{--n2-bg:#FAFAFB;--n2-bd:#E4E6EB;--n2-fill:#F3F3F5;--n2-sel:#EBEBEE;--n2-t1:#15171C;--n2-t2:#6B7280;--n2-t3:#9AA1AE;--n2-blue:#0B84FB;--n2-bluet:#0B6FD6;--n2-ok:#1A7A43;--n2-warn:#F5B800;--n2-bad:#B42318;--n2-w:100%}
html.ui2 body{background:var(--n2-bg)!important}


/* ---- 6.49: каркас по макету. Меню слева 80 значками, верхняя строка 56, страница #FAFAFB, отступ контента 32 ---- */
html.ui2 #root>.app{display:grid!important;grid-template-columns:80px minmax(0,1fr)!important;min-height:100vh;background:var(--n2-bg)!important}
html.ui2 aside.side{position:sticky!important;top:0!important;height:100vh!important;width:80px!important;min-width:80px!important;padding:0!important;margin:0!important;background:#F3F3F5!important;border-right:1px solid var(--n2-bd)!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;z-index:45!important;display:block!important}
html.ui2 aside.side>.side-top,html.ui2 aside.side>nav.menu,html.ui2 aside.side>.side-bottom{display:none!important}
html.ui2 .n3-rail{height:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;padding:12px 0}
html.ui2 .n3-sp{flex:1}
html.ui2 .n3-logo{width:32px;height:32px;padding:0;border:0;background:none;cursor:pointer;flex:none}html.ui2 .n3-logo img{width:32px;height:32px;display:block}
html.ui2 .n3-grp{width:50px;box-sizing:border-box;background:#fff;border:1px solid var(--n2-bd);border-radius:16px;padding:4px;display:flex;flex-direction:column;align-items:center}
html.ui2 .n3-grp+.n3-grp{margin-top:8px}
html.ui2 .n3-it{position:relative;width:40px;height:40px;border:0;border-radius:12px;background:transparent;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer;flex:none}
html.ui2 .n3-it:hover{background:#F3F3F5}
html.ui2 .n3-it:disabled{opacity:.4;cursor:default}
html.ui2 .n3-it:focus-visible,html.ui2 .n3-ava:focus-visible,html.ui2 .n3-pero:focus-visible{outline:2px solid rgba(0,103,244,.5);outline-offset:2px}
html.ui2 .n3-oi svg{width:22px;height:22px;stroke:#878EA0;fill:none}html.ui2 .n3-it.on .n3-oi svg{stroke:#000}
html.ui2 .n3-b{position:absolute;top:0;left:24px;height:16px;min-width:16px;box-sizing:border-box;padding:0 4px;border-radius:99px;background:var(--n2-blue);color:#fff;font:600 10px/16px "Medeo Sans",sans-serif;text-align:center}
html.ui2 .n3-pw{position:relative}
html.ui2 .n3-ava{width:40px;height:40px;border:0;border-radius:50%;padding:0;background:#DCE3EB;cursor:pointer;display:flex;align-items:center;justify-content:center;overflow:hidden}
html.ui2 .n3-ava>*{width:40px!important;height:40px!important;border-radius:50%!important;background:#DCE3EB!important;color:var(--n2-t1)!important;font:500 14px/40px "Medeo Sans",sans-serif!important;display:grid!important;place-items:center}
html.ui2 .n3-ava img{width:100%;height:100%;object-fit:cover}
html.ui2 .n3-menu{position:absolute!important;left:52px!important;bottom:0!important;top:auto!important;right:auto!important;width:240px!important;background:#fff!important;border:1px solid var(--n2-bd)!important;border-radius:12px!important;padding:6px!important;box-shadow:0 8px 28px rgba(0,0,0,.14),0 0 0 .5px rgba(0,0,0,.08)!important;z-index:70;color:var(--n2-t1)}
html.ui2 .n3-menu[hidden]{display:none!important}
html.ui2 .n3-menu button,html.ui2 .n3-menu a{display:flex!important;align-items:center;width:100%;min-height:36px;padding:0 10px!important;border:0;border-radius:8px!important;background:none;color:var(--n2-t1);font:400 13px/18px "Medeo Sans",sans-serif;text-align:left;text-decoration:none;cursor:pointer}
html.ui2 .n3-menu button:hover,html.ui2 .n3-menu a:hover{background:#F3F3F5}
html.ui2 .n3-menu button.danger{color:var(--n2-bad)}html.ui2 .n3-menu hr{border:0;border-top:1px solid var(--n2-bd);margin:6px}
html.ui2 body .workspace,html.ui2:not([data-theme=dark]) body.pt-v2 .workspace{width:auto!important;max-width:none!important;margin:0!important;padding:0 32px 12px!important;background:none!important;overflow:visible!important;min-width:0}
/* верхняя строка */
html.ui2 .topbar{display:flex!important;position:sticky!important;top:0!important;z-index:40!important;height:56px!important;min-height:56px!important;margin:0 -32px!important;padding:0 32px!important;box-sizing:border-box;background:var(--n2-bg)!important;border:0!important;border-bottom:1px solid var(--n2-bd)!important;border-radius:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;align-items:center!important}
html.ui2 .topbar .top-right{display:flex;align-items:center;gap:8px;margin-left:auto}
html.ui2 .topbar #bellBtn,html.ui2 .topbar .bell,html.ui2 .topbar .top-ava-wrap{display:none!important}
html.ui2 .topbar .upd{height:32px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--n2-t2)!important;font:400 13px/18px "Medeo Sans",sans-serif!important;display:flex!important;align-items:center;gap:8px}
html.ui2 .topbar .upd>i{width:8px!important;height:8px!important;border-radius:50%;background:#1F9D47!important;box-shadow:none!important}
html.ui2 .topbar .upd.off>i{background:#B5BAC4!important}
html.ui2 .topbar .shopchip{height:40px!important;border-radius:20px!important;border:1px solid var(--n2-bd)!important;background:#fff!important;box-shadow:none!important;padding:0 16px 0 10px!important;color:var(--n2-t1)!important;font:500 13px/18px "Medeo Sans",sans-serif!important;display:flex!important;align-items:center;gap:8px;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.ui2 .topbar .shopchip:hover{background:#FBFBFC!important}
html.ui2 .topbar .shopchip .dot{display:none!important}
html.ui2 .n3-pero{width:40px;height:40px;border-radius:50%;border:1px solid var(--n2-bd);background:#fff;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
html.ui2 .n3-pero:hover{background:#FBFBFC}html.ui2 .n3-pero.on{background:#15171C;border-color:#15171C}
html.ui2 #peFab{display:none!important}
html.ui2 .topbar .rk-tb{display:flex;align-items:center}
/* заголовок страницы: 26/32, под ним одна строка, зачем раздел */
html.ui2 .pghead{padding:28px 0 24px!important;margin:0!important;align-items:center!important;display:flex!important;gap:16px}
html.ui2 .pghead h1{font:600 26px/32px "Medeo Sans",sans-serif!important;letter-spacing:-.01em!important;margin:0!important;color:var(--n2-t1)!important}
html.ui2 .pghead p{margin:4px 0 0!important;color:var(--n2-t2)!important;font-size:13px!important;line-height:18px!important}

/* ---- верхнее меню ---- */
html.ui2 .n2-bar{position:sticky;top:0;z-index:40;height:62px;background:#fff;border-bottom:1px solid var(--n2-bd)}
html.ui2 .n2-in{width:var(--n2-w);height:100%;margin:0 auto;display:flex;align-items:center;gap:10px}
html.ui2 .n2-sp{flex:1}
html.ui2 .n2-logo{border:0;background:none;padding:0;cursor:pointer;display:flex;flex:none}html.ui2 .n2-logo img{height:23px;display:block}
html.ui2 .n2-tabs{display:flex;gap:2px;min-width:0}
html.ui2 .n2-tab{height:36px;display:flex;align-items:center;gap:7px;padding:0 13px;border:0;border-radius:999px;background:none;color:var(--n2-t1);font:390 13.5px/18px "Medeo Sans",sans-serif;white-space:nowrap;cursor:pointer}
html.ui2 .n2-tab:hover{background:var(--n2-fill)}
html.ui2 .n2-tab.on{background:var(--n2-sel);font-weight:560}
html.ui2 .n2-n{color:var(--n2-bluet);font:560 12.5px/16px "Medeo Sans",sans-serif}
html.ui2 .n2-chev{width:13px;height:13px;flex:none;fill:none;stroke:var(--n2-t2);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html.ui2 .n2-right{display:flex;align-items:center;gap:8px;flex:none}
html.ui2 .n2-capw{position:relative}
html.ui2 .n2-cap{height:36px;border-radius:999px;display:flex;align-items:center;gap:9px;padding:0 12px 0 5px;background:#fff;border:1px solid var(--n2-bd);color:var(--n2-t1);font:390 13.5px/18px "Medeo Sans",sans-serif;cursor:pointer;max-width:260px}
html.ui2 .n2-cap:hover{background:var(--n2-fill)}
html.ui2 .n2-cap>:first-child{width:26px!important;height:26px!important;min-width:26px;border-radius:50%!important;font-size:12px!important;flex:none;overflow:hidden;display:grid;place-items:center;background:var(--n2-sel);color:var(--n2-t1);font-weight:520}
html.ui2 .n2-cap>:first-child img{width:100%;height:100%;object-fit:cover;display:block}
html.ui2 .n2-capn{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
html.ui2 .n2-cap .n2-chev{width:14px;height:14px}
html.ui2 .n2-menu{position:absolute!important;right:0!important;left:auto!important;top:44px!important;bottom:auto!important;width:290px!important;background:#fff!important;border:1px solid #d2d3d8!important;border-radius:16px!important;padding:6px!important;box-shadow:none!important;z-index:60;color:var(--n2-t1)}
html.ui2 .n2-menu[hidden]{display:none!important}
html.ui2 .n2-menu button,html.ui2 .n2-menu a{display:flex!important;align-items:center;gap:11px;width:100%;min-height:38px;padding:0 10px!important;border:0;border-radius:10px!important;background:none;color:var(--n2-t1);font:390 13.5px/18px "Medeo Sans",sans-serif;text-align:left;text-decoration:none;cursor:pointer}
html.ui2 .n2-menu button:hover,html.ui2 .n2-menu a:hover,html.ui2 .n2-menu button.on{background:var(--n2-fill)}
html.ui2 .n2-menu button.danger{color:var(--n2-bad)}
html.ui2 .n2-menu hr{border:0;border-top:1px solid var(--n2-bd);margin:6px}
html.ui2 .n2-mh{padding:8px 10px 4px;font-size:11.5px;line-height:15px;color:var(--n2-t3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .n2-shops{max-height:264px;overflow:auto}
html.ui2 .n2-sn{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html.ui2 .n2-sn small{display:block;color:var(--n2-t2);font-size:12px;line-height:14px}
html.ui2 .n2-nof{width:22px;flex:none}
html.ui2 .n2-shops button{min-height:42px}html.ui2 .n2-shops button>svg:last-child{color:var(--n2-bluet);flex:none}
/* рекламный баланс: рядом с магазином */
html.ui2 .n2-right #rkBal{display:flex;align-items:center}
html.ui2 .n2-right #rkBal:empty{display:none}
html.ui2 .n2-right #rkBal .rk-tbv{height:36px;border-radius:999px;border:1px solid var(--n2-bd)!important;background:#fff!important;padding:0 14px!important;color:var(--n2-t1)!important;font:540 13.5px/18px "Medeo Sans",sans-serif!important;white-space:nowrap;cursor:pointer;box-shadow:none!important}
html.ui2 .n2-right #rkBal .rk-tbv::before{content:"Баланс";color:var(--n2-t2);font-weight:390;font-size:13px;margin-right:7px}
html.ui2 .n2-right #rkBal .rk-tbv.neg{color:var(--n2-bad)!important}
html.ui2 .n2-right #rkBal .rk-tbs{display:none}

/* ---- Настройки: выключатель нового дизайна (виден и в старом виде) ---- */
.ui2-row{display:flex;align-items:center;gap:16px;justify-content:space-between;margin:0 0 18px;padding:0 0 18px;border-bottom:1px solid var(--sep,rgba(128,128,128,.2))}
.ui2-row b{display:block;font-weight:520}.ui2-row small{display:block;margin-top:2px;opacity:.7;font-size:12.5px;line-height:17px;max-width:560px}
.ui2-dis{opacity:.45;pointer-events:none}

/* ---- общие детали нового вида ---- */
html.ui2 .n2-tools{display:flex;align-items:center;gap:8px;margin:0 0 12px!important;padding:0!important;flex-wrap:wrap;background:none!important;border:0!important;box-shadow:none!important}
html.ui2 .n2-tools>*{margin:0!important}
html.ui2 .n2-tools>button{height:40px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--n2-bd)!important;box-shadow:none!important;color:var(--n2-t1)!important;font:390 13.5px/18px "Medeo Sans",sans-serif!important;padding:0 15px!important}
html.ui2 .n2-card{background:#fff;border:1px solid var(--n2-bd);border-radius:18px;overflow:hidden;padding:0!important;margin:0!important;box-shadow:none!important}
html.ui2 .n2-foot{min-height:42px;display:flex;align-items:center;flex-wrap:wrap;gap:4px 24px;padding:8px 18px;border-top:1px solid var(--n2-bd);background:var(--n2-fill);color:var(--n2-t2);font-size:12.5px;line-height:17px}
html.ui2 .n2-foot b{color:var(--n2-t1);font-weight:520;margin-left:3px}
html.ui2 .n2-mut{color:var(--n2-t3)}
html.ui2 .n2-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--n2-t3);margin-right:6px;vertical-align:1px}
html.ui2 .n2-dot.ok{background:var(--n2-ok)}html.ui2 .n2-dot.bad{background:var(--n2-bad)}html.ui2 .n2-dot.warn{background:var(--n2-warn)}
/* вкладки-фильтры и поиск в строке инструментов */
html.ui2 .n2-tools .seg{background:#fff!important;border:1px solid var(--n2-bd)!important;border-radius:999px!important;padding:3px!important;height:40px!important;box-shadow:none!important;display:inline-flex;align-items:center}
html.ui2 .n2-tools .seg button{height:32px!important;padding:0 14px!important;border-radius:999px!important;color:var(--n2-t2)!important;font:390 13.5px/18px "Medeo Sans",sans-serif!important;background:none!important;border:0!important;box-shadow:none!important}
html.ui2 .n2-tools .seg button.on{background:#000!important;color:#fff!important;font-weight:520!important}
html.ui2 .n2-tools .seg button .n{color:var(--n2-t3)!important;background:none!important;margin-left:6px;padding:0!important;font-weight:390!important;min-width:0!important}
html.ui2 .n2-tools .seg .seg-pill,html.ui2 .n2-tools .seg .sg-pill{display:none!important}
html.ui2 .n2-tools .search{height:40px!important;width:240px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--n2-bd)!important;box-shadow:none!important;margin:0!important;display:flex;align-items:center;gap:8px;padding:0 14px!important;color:var(--n2-t3)}
html.ui2 .n2-tools .search input{border:0!important;background:none!important;outline:0;font:390 13.5px/18px "Medeo Sans",sans-serif!important;color:var(--n2-t1);width:100%;min-width:0;padding:0!important;height:auto!important;box-shadow:none!important}

/* ---- таблица нового вида ---- */
html.ui2 .n2-t{width:100%;border-collapse:collapse;table-layout:fixed;font:390 13.5px/18px "Medeo Sans",sans-serif;color:var(--n2-t1)}
html.ui2 .n2-t th{height:46px;padding:0 8px;background:var(--n2-sel)!important;color:var(--n2-t1)!important;font:600 12px/16px "Medeo Sans",sans-serif!important;text-align:center;border:0!important;position:static!important;white-space:normal}
html.ui2 .n2-t th.l,html.ui2 .n2-t td.l{text-align:left}
html.ui2 .n2-t th .th-sort{all:unset;cursor:pointer;font:inherit;color:inherit}
html.ui2 .n2-t th .sort-ar{display:none}html.ui2 .n2-t th.on .sort-ar{display:inline;margin-left:4px;color:var(--n2-t2)}
html.ui2 .n2-t td{height:66px;padding:0 8px;border:0!important;border-top:1px solid var(--n2-bd)!important;text-align:center;font-variant-numeric:tabular-nums;background:#fff!important;vertical-align:middle}
html.ui2 .n2-t tbody tr:first-child td{border-top:0!important}
html.ui2 .n2-t td small{display:block;color:var(--n2-t2);font-size:12px;line-height:15px;font-weight:390}
html.ui2 .n2-t td b.num{font-weight:390}
html.ui2 .n2-t tr.dim td{color:var(--n2-t3)}
html.ui2 .n2-t tr.selected td{background:#eef5ff!important}
html.ui2 .n2-t input[type=checkbox]:not(.switch input){width:17px;height:17px;margin:0;vertical-align:middle;accent-color:var(--n2-blue);cursor:pointer}
/* поля «от» и «до», СПП */
html.ui2 .n2-rg{display:inline-flex;align-items:center;gap:6px;color:var(--n2-t3)}html.ui2 .n2-rg i{font-style:normal}
html.ui2 .n2-t .stk-cell{position:relative;display:inline-flex;align-items:center}
html.ui2 .n2-t input.cell{height:32px!important;border:1px solid var(--n2-bd)!important;border-radius:8px!important;background:#fff!important;color:var(--n2-t1)!important;text-align:center!important;font:390 13.5px/18px "Medeo Sans",sans-serif!important;padding:0 4px!important;box-shadow:none!important;-moz-appearance:textfield}
html.ui2 .n2-t input.cell::-webkit-outer-spin-button,html.ui2 .n2-t input.cell::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
html.ui2 .n2-t input.cell::placeholder{color:var(--n2-t3)}
html.ui2 .n2-t input.cell:focus{outline:0;border-color:var(--n2-blue)!important;box-shadow:inset 0 0 0 .5px var(--n2-blue)!important}
html.ui2 .n2-t input.cell.changed{border-color:var(--n2-blue)!important;box-shadow:inset 0 0 0 .5px var(--n2-blue)!important}
html.ui2 .n2-t input.cell:disabled{background:var(--n2-fill)!important;color:var(--n2-t3)!important}
html.ui2 .n2-t .cell-ok{display:none!important}
/* выключатель */
html.ui2 .n2-t .switch{width:32px!important;height:19px!important}
html.ui2 .n2-t .switch i{background:#d4d5da!important}
html.ui2 .n2-t .switch i::after,html.ui2 .n2-t .switch i::before{width:15px!important;height:15px!important;top:2px!important;left:2px!important;box-shadow:none!important}
html.ui2 .n2-t .switch input:checked+i{background:var(--n2-blue)!important}
html.ui2 .n2-t .switch input:checked+i::after,html.ui2 .n2-t .switch input:checked+i::before{transform:translateX(13px)!important}
/* состояние: шкала между «от» и «до» */
html.ui2 .n2-st{display:inline-block;width:164px;text-align:center}
html.ui2 .n2-st>span:not(.n2-tr){display:block;font-size:12.5px;line-height:16px}html.ui2 .n2-st span.r{color:var(--n2-bad)}
html.ui2 .n2-tr{display:block;position:relative;height:4px;border-radius:99px;background:var(--n2-sel);margin:5px 16px 7px}
html.ui2 .n2-tr::before,html.ui2 .n2-tr::after{content:"";position:absolute;top:-3px;width:1.5px;height:10px;background:#c4c5cb}html.ui2 .n2-tr::before{left:0}html.ui2 .n2-tr::after{right:0}
html.ui2 .n2-tr i{position:absolute;top:-4px;width:12px;height:12px;border-radius:50%;background:var(--n2-ok);margin-left:-6px;box-shadow:0 0 0 2px #fff}
html.ui2 .n2-tr.bad i{background:var(--n2-bad)}html.ui2 .n2-tr.warn i{background:var(--n2-warn)}
html.ui2 .n2-stc .sdot{font-size:12.5px;line-height:16px;display:inline-flex;align-items:flex-start;gap:6px;text-align:left}
html.ui2 .n2-t td:last-child,html.ui2 .n2-t th:last-child{padding-right:18px}

/* ---- островок: белая плоская капсула, кнопки серые ---- */
html.ui2 :is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar{background:#fff!important;border:1px solid #d2d3d8!important;box-shadow:none!important;color:var(--n2-t1)!important}
html.ui2 .actionbar.n2-isl{padding:6px!important;gap:6px!important;height:54px;align-items:center;font:390 13.5px/18px "Medeo Sans",sans-serif}
html.ui2 .n2-isl .n2-il{padding:0 10px 0 4px;white-space:nowrap}html.ui2 .n2-isl .n2-il b{font-weight:560;color:var(--n2-t1)}html.ui2 .n2-isl .n2-il.n2-mut{color:var(--n2-t2);padding-left:14px}
html.ui2 .n2-ib{height:40px;border:0;border-radius:999px;display:inline-flex;align-items:center;gap:7px;padding:0 15px;background:var(--n2-sel);color:var(--n2-t1);font:450 13.5px/18px "Medeo Sans",sans-serif;white-space:nowrap;cursor:pointer}
html.ui2 .n2-ib:hover{background:#e2e2e6}
html.ui2 .n2-ib.n2-x{width:40px;padding:0;justify-content:center}
html.ui2 .n2-ib.pri{background:var(--n2-blue);color:#fff;font-weight:560}html.ui2 .n2-ib.pri:hover{background:#0a78e4}
html.ui2 .n2-ib svg{width:16px;height:16px}

/* ---- правки каркаса после проверки на экране ---- */
html.ui2,html.ui2 #root>.app{background:var(--n2-bg)!important}
html.ui2 #root>.app>main.workspace{border:0!important;min-height:calc(100vh * var(--zi,1) - 62px)!important}
html.ui2 .n2-capw{margin:0!important}
html.ui2 .n2-tools #prBtn{box-shadow:none!important;border:1px solid var(--n2-bd)!important;background:#fff!important;border-radius:999px!important;height:40px!important}
html.ui2 #peFab{right:max(12px,calc((100vw - 1150px)/2 - 62px))!important;bottom:22px!important;box-shadow:none!important}
html.ui2 .pop-menu{box-shadow:none!important;border:1px solid #d2d3d8!important;border-radius:16px!important;background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}

/* ================= 6.46: Заказы FBS в новом дизайне ================= */
html.ui2 .ff-pbar{display:flex!important;align-items:center;gap:8px;margin:0 0 12px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;flex-wrap:wrap}
html.ui2 .ff-pbar .glue{display:flex;gap:8px;margin:0!important}
html.ui2 .ff-pbar .air{flex:1}
html.ui2 .ff-pbar .ff-tools2{display:flex;gap:8px;align-items:center}
html.ui2 .ff-pbar .seg{background:#fff!important;border:1px solid var(--n2-bd)!important;border-radius:999px!important;padding:3px!important;height:40px!important;box-shadow:none!important;display:inline-flex;align-items:center}
html.ui2 .ff-pbar .seg button{height:32px!important;padding:0 14px!important;border-radius:999px!important;color:var(--n2-t2)!important;font:390 13.5px/18px "Medeo Sans",sans-serif!important;background:none!important;border:0!important;box-shadow:none!important}
html.ui2 .ff-pbar .seg button.on{background:#000!important;color:#fff!important;font-weight:520!important}
html.ui2 .ff-pbar .seg button .n{color:var(--n2-t3)!important;background:none!important;margin-left:6px;padding:0!important;font-weight:390!important;min-width:0!important}
html.ui2 .ff-pbar .seg .seg-pill,html.ui2 .ff-pbar .seg .sg-pill{display:none!important}
html.ui2 .ff-pbar #ffFlt,html.ui2 .ff-pbar .cpg-btn,html.ui2 .pgacts .ff-offbtn{height:40px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--n2-bd)!important;box-shadow:none!important;color:var(--n2-t1)!important;font:390 13.5px/18px "Medeo Sans",sans-serif!important;padding:0 15px!important;display:inline-flex;align-items:center;gap:8px}
html.ui2 .ff-pbar .cpg-btn.pri{background:var(--n2-blue)!important;border-color:var(--n2-blue)!important;color:#fff!important;font-weight:540!important}
html.ui2 .ff-pbar .cpg-btn b{font-weight:540}
html.ui2 .ff-pbar .cpg-btn:disabled{opacity:1!important;cursor:default}
html.ui2 .ff-pbar .n2-kzp .n2-dot{margin-right:0}
html.ui2 .pgacts .ff-offbtn .n{color:var(--n2-t3)!important;background:none!important;padding:0!important}
/* таблица */
html.ui2 section.ff-t{background:#fff!important;border:1px solid var(--n2-bd)!important;border-radius:18px!important;overflow:hidden!important;padding:0!important;box-shadow:none!important}
html.ui2 .ff-t .tablewrap{border:0!important;border-radius:0!important}
html.ui2 table.fq{width:100%;border-collapse:collapse!important;table-layout:fixed;font:390 13.5px/18px "Medeo Sans",sans-serif;color:var(--n2-t1)}
html.ui2 table.fq th{height:46px!important;padding:0 8px!important;background:var(--n2-sel)!important;color:var(--n2-t1)!important;font:600 12px/16px "Medeo Sans",sans-serif!important;text-align:center;border:0!important;position:static!important;box-shadow:none!important}
html.ui2 table.fq th:nth-child(2){text-align:left}
html.ui2 table.fq th .th-sort{all:unset;cursor:pointer;font:inherit;color:inherit;display:inline-flex;align-items:center;gap:4px}
html.ui2 table.fq th .sort-ar{color:var(--n2-t2)}html.ui2 table.fq th:not(.on) .sort-ar{display:none}
html.ui2 table.fq td{height:62px!important;padding:0 8px!important;border:0!important;border-top:1px solid var(--n2-bd)!important;background:#fff!important;vertical-align:middle;text-align:center;box-shadow:none!important}
html.ui2 table.fq td:nth-child(2){text-align:left}
html.ui2 table.fq tbody tr:first-child td{border-top:0!important}
html.ui2 table.fq tr.fq-g{cursor:pointer}
html.ui2 table.fq tr.fq-s td{background:#fafafb!important;height:56px!important}
html.ui2 table.fq tr.fq-p td{height:50px!important}
html.ui2 table.fq tr.sel td{background:#eef5ff!important}
html.ui2 table.fq .fq-cl b{font-weight:520;display:block;line-height:18px}
html.ui2 table.fq td small{display:block;color:var(--n2-t2);font-size:12px;line-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 table.fq .num{font-variant-numeric:tabular-nums}
html.ui2 table.fq input.ff-cb{width:17px;height:17px;margin:0;accent-color:var(--n2-blue);cursor:pointer}
html.ui2 table.fq .ib{width:32px!important;height:32px!important;border-radius:50%!important;border:0!important;background:var(--n2-sel)!important;color:var(--n2-t1)!important;display:inline-grid!important;place-items:center;box-shadow:none!important;padding:0!important}
html.ui2 table.fq .ib:hover{background:#e2e2e6!important}
html.ui2 table.fq tr.fq-s .ib{background:#fff!important;border:1px solid var(--n2-bd)!important}
html.ui2 table.fq .fq-acts{white-space:nowrap}html.ui2 table.fq .fq-acts .ib+.ib{margin-left:6px}
/* номера: стикер и заказ. Номер целиком чёрный, последние 4 цифры крупно, строка «Заказ …» серая */
html.ui2 table.fq .fq-sk b,html.ui2 table.fq .fq-ord b{font:560 16px/20px "Medeo Sans",sans-serif;color:var(--n2-t1);font-variant-numeric:tabular-nums}
html.ui2 table.fq .fq-sk b span,html.ui2 table.fq .fq-ord b span{font:390 13.5px/20px "Medeo Sans",sans-serif;color:var(--n2-t1);margin-right:2px}
html.ui2 table.fq .fq-sk small,html.ui2 table.fq .fq-ord small{color:var(--n2-t2)}
html.ui2 table.fq .fq-code{display:inline-flex;align-items:center;gap:8px;font:400 12.5px/16px "Medeo Mono",monospace;color:var(--n2-t1)}
html.ui2 table.fq .fq-lock{width:28px;height:28px;border-radius:50%;border:0;background:var(--n2-sel);color:var(--n2-t2);display:inline-grid;place-items:center;cursor:pointer;padding:0}
html.ui2 table.fq .fq-lock.on{background:var(--n2-t1);color:#fff}
html.ui2 table.fq .fq-sub{display:block;color:var(--n2-t2);font-size:12px;line-height:14px}
html.ui2 table.fq .fq-n{color:var(--n2-t3)}
/* КИЗ: точка и слова */
html.ui2 .n2-kz{font-size:12.5px;line-height:16px;white-space:nowrap;color:var(--n2-t1)}html.ui2 .n2-kz.n2-mut{color:var(--n2-t3)}
html.ui2 .n2-kzb{border:0;background:none;padding:6px 8px;border-radius:999px;cursor:pointer;font-family:"Medeo Sans",sans-serif}html.ui2 .n2-kzb:hover{background:var(--n2-fill)}
/* срок сборки: подпись по центру, шкала заполняется */
html.ui2 .n2-dl{width:176px}
html.ui2 .n2-tr em{position:absolute;left:0;top:0;bottom:0;border-radius:99px;background:#d4d5da}
/* островок FBS: кнопки серые, главная синяя */
html.ui2 .n2-ffisl .btn{height:40px!important;border:0!important;border-radius:999px!important;background:var(--n2-sel)!important;color:var(--n2-t1)!important;font:450 13.5px/18px "Medeo Sans",sans-serif!important;padding:0 15px!important;box-shadow:none!important;display:inline-flex;align-items:center;gap:7px}
html.ui2 .n2-ffisl .btn.primary{background:var(--n2-blue)!important;color:#fff!important;font-weight:560!important}
html.ui2 .n2-ffisl>span{white-space:nowrap}
html.ui2 section.ff-t table.fq thead th,html.ui2 section.ff-t table.fq thead tr{background:var(--n2-sel)!important}
html.ui2 section.ff-t table.fq thead th:last-child{font-size:0!important}
html.ui2 .ff-pbar .n2-kzp b{color:var(--n2-t1)!important}
html.ui2 .pgacts .ff-offbtn{box-shadow:none!important}
/* шапка таблиц: перебиваем правило прежнего стиля (:root:root body.pt-v2 #content .p-table thead th) */
html.ui2:root:root body #content section.ff-t table.fq thead th{background:var(--n2-sel)!important;height:46px!important;font-size:12px!important}
html.ui2:root:root body #content section.ff-t table.fq thead th:last-child{font-size:0!important}
html.ui2:root:root body #content section.ff-t table.fq tbody td{font-size:13.5px}

/* ================= 6.47: общий вид прежних таблиц и Реклама ================= */
/* серая шапка и строки без вертикальных линий у всех таблиц разделов */
html.ui2:root:root body #content .p-table thead th{background:var(--n2-sel)!important;border:0!important;box-shadow:none!important;color:var(--n2-t1)!important}
html.ui2:root:root body #content .p-table td{border-left:0!important;border-right:0!important;box-shadow:none!important}
html.ui2 #content section.p-table{border:1px solid var(--n2-bd)!important;border-radius:18px!important;box-shadow:none!important;overflow:hidden!important}
/* строка инструментов разделов */
html.ui2 #content .p-bar{display:flex!important;align-items:center;gap:8px;margin:0 0 12px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;flex-wrap:wrap}
html.ui2 #content .p-bar .air{flex:1}
html.ui2 #content .p-bar .seg{background:#fff!important;border:1px solid var(--n2-bd)!important;border-radius:999px!important;padding:3px!important;height:40px!important;box-shadow:none!important;display:inline-flex;align-items:center}
html.ui2 #content .p-bar .seg button{height:32px!important;padding:0 14px!important;border-radius:999px!important;color:var(--n2-t2)!important;font:390 13.5px/18px "Medeo Sans",sans-serif!important;background:none!important;border:0!important;box-shadow:none!important}
html.ui2 #content .p-bar .seg button.on{background:#000!important;color:#fff!important;font-weight:520!important}
html.ui2 #content .p-bar .seg button .n{color:var(--n2-t3)!important;background:none!important;margin-left:6px;padding:0!important;font-weight:390!important;min-width:0!important}
html.ui2 #content .p-bar .seg .seg-pill,html.ui2 #content .p-bar .seg .sg-pill{display:none!important}
html.ui2 #content .p-bar .pbtn,html.ui2 #content .p-bar .pt-blk,html.ui2 .pgacts .pbtn{height:40px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--n2-bd)!important;box-shadow:none!important;color:var(--n2-t1)!important;font:390 13.5px/18px "Medeo Sans",sans-serif!important}
html.ui2 #content .p-bar .pbtn.sq{width:40px!important;padding:0!important}
html.ui2 #content .p-bar .pbtn.primary,html.ui2 #content .p-bar .pt-blk{background:var(--n2-blue)!important;border-color:var(--n2-blue)!important;color:#fff!important;font-weight:540!important}
html.ui2 #content .p-bar .search{height:40px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--n2-bd)!important;box-shadow:none!important}
html.ui2 #content .p-bar .search[hidden]{display:none!important}
html.ui2 #content .notice{box-shadow:none!important}
/* Реклама: список */
html.ui2 #rkTable .tablewrap{border:0!important;border-radius:0!important}
html.ui2 table.rkv-t{width:100%!important;border-collapse:collapse!important}
html.ui2:root:root body #content table.rkv-t thead th{height:46px!important;font:600 12px/16px "Medeo Sans",sans-serif!important;position:static!important}
html.ui2 table.rkv-t td{border-top:1px solid var(--n2-bd)!important;border-bottom:0!important;background:#fff!important;height:72px}
html.ui2 table.rkv-t tbody tr:first-child td{border-top:0!important}
html.ui2 table.rkv-t tr.selected td{background:#eef5ff!important}
html.ui2 table.rkv-t .rkv-s0,html.ui2 table.rkv-t .rkv-s1,html.ui2 table.rkv-t .rkv-sE{position:static!important;box-shadow:none!important}
html.ui2 table.rkv-t .rkv-st{border:0!important;background:none!important;padding:0!important;font-size:12.5px!important;color:var(--n2-t2)!important;box-shadow:none!important}
html.ui2 table.rkv-t .rkv-st.bad{color:var(--n2-bad)!important}
html.ui2 table.rkv-t .rkv-peb{display:none!important}
html.ui2 table.rkv-t .rkv-pe{height:18px;border-radius:999px;background:#e8f2ff!important;color:var(--n2-bluet)!important;font:540 11px/18px "Medeo Sans",sans-serif!important;padding:0 7px!important;border:0!important}
html.ui2 table.rkv-t .rkv-sw{width:28px!important;height:17px!important;border-radius:99px!important;background:#d4d5da!important;border:0!important;position:relative;box-shadow:none!important;flex:none;padding:0!important}
html.ui2 table.rkv-t .rkv-sw::after,html.ui2 table.rkv-t .rkv-sw::before{content:""!important;position:absolute!important;top:2px!important;left:2px!important;width:13px!important;height:13px!important;border-radius:50%!important;background:#fff!important;box-shadow:none!important;transform:none!important;transition:left .15s}
html.ui2 table.rkv-t .rkv-sw.on{background:var(--n2-blue)!important}html.ui2 table.rkv-t .rkv-sw.on::after,html.ui2 table.rkv-t .rkv-sw.on::before{left:13px!important}
html.ui2 table.rkv-t .rkv-bn{font-size:12.5px}
html.ui2 table.rkv-t .rkv-bv{display:inline-block;width:56px;height:28px;line-height:28px;border-radius:8px;background:var(--n2-fill);text-align:center;color:var(--n2-t1)}
html.ui2 table.rkv-t .rkv-bv.off{color:var(--n2-t3)}
html.ui2 table.rkv-t input.cell{width:56px!important;height:28px!important;border:1px solid var(--n2-bd)!important;border-radius:8px!important;background:#fff!important;text-align:center!important;box-shadow:none!important;font:390 13.5px/18px "Medeo Sans",sans-serif!important;padding:0 2px!important}
html.ui2 table.rkv-t .cell-ok.off{display:none!important}
html.ui2 table.rkv-t tfoot td{background:var(--n2-fill)!important;border-top:1px solid var(--n2-bd)!important;height:44px!important;color:var(--n2-t2)!important;position:static!important}
html.ui2 table.rkv-t .rkv-key{padding:0 6px!important}html.ui2 table.rkv-t .rkv-key .n2-st{width:176px}
html.ui2 .n2-sm{font-size:12.5px;line-height:16px;display:inline-block}
html.ui2 .n2-gb{height:30px;border:0;border-radius:999px;background:var(--n2-sel);padding:0 12px;font:390 12.5px/16px "Medeo Sans",sans-serif;color:var(--n2-t1);cursor:pointer}
html.ui2 .n2-rb{width:32px;height:32px;border:0;border-radius:50%;background:var(--n2-sel);display:inline-grid;place-items:center;color:var(--n2-t1);cursor:pointer;padding:0;vertical-align:middle}
html.ui2 .n2-rb svg{width:14px;height:14px}
html.ui2 table.rkv-t .rkv-sE{white-space:nowrap;width:84px!important;text-align:right;padding-right:12px!important}
html.ui2 table.rkv-t .rkv-dots{width:28px;height:32px;border:0!important;background:none!important;color:var(--n2-t2);vertical-align:middle;box-shadow:none!important}
/* окно «Период и столбцы» */
html.ui2 .rk-pop{box-shadow:none!important;border:1px solid #d2d3d8!important;border-radius:16px!important;background:#fff!important}
html.ui2 .n2-per .n2-mh{padding:6px 8px}html.ui2 .n2-per hr{border:0;border-top:1px solid var(--n2-bd);margin:8px 0 4px}
html.ui2 .n2-chips{display:flex;gap:6px;padding:0 6px}html.ui2 .n2-chips button{height:30px;border:0;border-radius:999px;background:var(--n2-fill);padding:0 11px;font:390 12.5px/16px "Medeo Sans",sans-serif;color:var(--n2-t1);white-space:nowrap;cursor:pointer}
html.ui2 .n2-chips button.on{background:var(--n2-sel);font-weight:540}
html.ui2 .n2-perl{display:flex;align-items:center;gap:8px;padding:9px 8px 2px;color:var(--n2-t2);font-size:12.5px}

/* ================= 6.47: прокрутка страницей во всех таблицах, Реклама ================= */
/* 6.50.1: страница не прокручивается, шапка и заголовки стоят; таблица до низа окна (32 px воздуха), прокрутка внутри неё */
html.ui2 table.rkv-t{table-layout:auto!important;min-width:0!important}
html.ui2 .rk-colsp{max-height:calc(100vh - 140px);overflow:auto}
html.ui2 .rk-colsp .rk-ch,html.ui2 .rk-colsp .rk-colh{display:none!important}
html.ui2 .rk-colsp .rk-ph{display:none!important}
html.ui2 .rk-colsp .rk-ci.lock{display:none!important}
/* ширины колонок списка рекламы под колонку 1150 (перебиваем #rkTable из прежних стилей) */
html.ui2 #rkTable table.rkv-t{table-layout:fixed!important;width:100%!important;min-width:0!important}
html.ui2 #rkTable table.rkv-t th,html.ui2 #rkTable table.rkv-t td{min-width:0!important;max-width:none!important}
html.ui2 #rkTable .rkv-s0{width:48px!important}
html.ui2 #rkTable .rkv-s1{width:auto!important}
html.ui2 #rkTable th.rkv-h-bid{width:212px!important}
html.ui2 #rkTable th.rkv-h-bud{width:118px!important}
html.ui2 #rkTable th.rkv-h-sum{width:96px!important}
html.ui2 #rkTable th.rkv-h-orders{width:64px!important}
html.ui2 #rkTable th.rkv-h-share,html.ui2 #rkTable th.rkv-h-ctr{width:58px!important}
html.ui2 #rkTable th.rkv-h-key{width:190px!important}
html.ui2 #rkTable table.rkv-t th:not(.rkv-s0):not(.rkv-s1):not(.rkv-sE):not(.rkv-h-bid):not(.rkv-h-bud):not(.rkv-h-sum):not(.rkv-h-orders):not(.rkv-h-share):not(.rkv-h-ctr):not(.rkv-h-key){width:90px!important}
html.ui2 #rkTable .rkv-sE{width:80px!important;box-shadow:none!important}
html.ui2 #rkTable .rkv-s1{box-shadow:none!important}
html.ui2 #rkTable table.rkv-t th span{max-width:none!important}
html.ui2 #rkTable table.rkv-t td.rkv-n{min-width:0!important}
html.ui2 #rkTable .rkv-tt b{white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.ui2 #rkTable .rkv-l3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 #rkTable .rkv-bids{padding:0 2px}
html.ui2 #rkTable .rkv-br{gap:7px!important}
html.ui2 #rkTable .rkv-bn{font-size:12px!important}
html.ui2 #rkTable .rkv-key .n2-st{width:170px}
html.ui2 #rkTable .rkv-l3{white-space:normal!important;overflow:visible!important;display:flex;flex-wrap:wrap;column-gap:8px;row-gap:0;line-height:17px}
html.ui2 #rkTable .rkv-key .n2-sm{white-space:normal;max-width:170px}
html.ui2 #rkTable table.rkv-t td{height:auto!important;padding-top:12px!important;padding-bottom:12px!important}

/* ---- страница кампании: две колонки ---- */
html.ui2 #content .cpg .cpg-k{display:none!important}
html.ui2 #content .cpg .cpg-h{position:relative;display:flex;align-items:center;gap:12px;margin:0 0 16px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html.ui2 #content .cpg .cpg-h h2{font:540 22px/28px "Medeo Sans",sans-serif!important;margin:0!important;letter-spacing:-.015em}
html.ui2 #content .cpg .cpg-h .thumb,html.ui2 #content .cpg .cpg-h>img,html.ui2 #content .cpg .cpg-h>.ph{width:40px!important;height:48px!important;border-radius:9px!important;flex:none}
html.ui2 #content .cpg .cpg-st{border:0!important;background:none!important;padding:0!important;box-shadow:none!important;font-size:13px}
html.ui2 #content .cpg .cpg-acts{margin-left:auto;display:flex;gap:8px}
html.ui2 #content .cpg .cpg-btn{height:40px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--n2-bd)!important;box-shadow:none!important;color:var(--n2-t1)!important;font:390 13.5px/18px "Medeo Sans",sans-serif!important;padding:0 15px!important}
html.ui2 #content .cpg .cpg-btn.sq{width:40px!important;padding:0!important}
html.ui2 #content .cpg .cpg-btn.pri{background:var(--n2-blue)!important;border-color:var(--n2-blue)!important;color:#fff!important;font-weight:540!important}
html.ui2 .n2-cols{display:grid;grid-template-columns:minmax(0,1fr) 312px;gap:14px;align-items:start}
html.ui2 .n2-cols.n2-wide{grid-template-columns:minmax(0,1fr)}
html.ui2 .n2-cols.n2-wide .n2-side:empty{display:none}
html.ui2 .n2-main{min-width:0}
html.ui2 .n2-main .cpg-tabs{display:flex!important;align-items:center;margin:0 0 12px!important;padding:0!important;background:none!important;border:0!important;position:static!important;box-shadow:none!important}
html.ui2 .n2-main .cpg-tabs .seg{background:#fff!important;border:1px solid var(--n2-bd)!important;border-radius:999px!important;padding:3px!important;height:40px!important;box-shadow:none!important}
html.ui2 .n2-main .cpg-tabs .seg button{height:32px!important;padding:0 14px!important;border-radius:999px!important;color:var(--n2-t2)!important;background:none!important;border:0!important;box-shadow:none!important;font:390 13.5px/18px "Medeo Sans",sans-serif!important}
html.ui2 .n2-main .cpg-tabs .seg button.on{background:#000!important;color:#fff!important;font-weight:520!important}
html.ui2 .n2-main .cpg-tabs .seg button .n{color:var(--n2-t3)!important;background:none!important;margin-left:6px;padding:0!important;font-weight:390!important}
html.ui2 .n2-main .cpg-tabs .seg .seg-pill,html.ui2 .n2-main .cpg-tabs .seg .sg-pill{display:none!important}
html.ui2 .n2-cb{width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid var(--n2-bd);display:grid;place-items:center;color:var(--n2-t2);cursor:pointer;padding:0;flex:none}
html.ui2 .n2-cb:hover{background:var(--n2-fill)}
html.ui2 .n2-main #campBody.panel{background:#fff!important;border:1px solid var(--n2-bd)!important;border-radius:18px!important;box-shadow:none!important;padding:0!important;overflow:hidden}
html.ui2 .n2-main #campBody .tablewrap{overflow-x:auto!important}
html.ui2 .n2-main table{width:100%}
html.ui2 .n2-main thead th{background:var(--n2-sel)!important;color:var(--n2-t1)!important;border:0!important;box-shadow:none!important;position:static!important;font:600 12px/16px "Medeo Sans",sans-serif!important}
html.ui2 .n2-main tbody td{border-left:0!important;border-right:0!important;box-shadow:none!important}
/* правая колонка: Перо одной карточкой сверху вниз */
html.ui2 .n2-side{display:flex;flex-direction:column;gap:14px;position:sticky;top:76px}
html.ui2 .n2-side .cpg-po,html.ui2 .n2-side .cpg-pof,html.ui2 .n2-side .cpg-todo{display:flex!important;flex-direction:column!important;background:#fff!important;border:1px solid var(--n2-bd)!important;border-radius:18px!important;box-shadow:none!important;margin:0!important;padding:0!important;overflow:hidden;grid-template-columns:none!important}
html.ui2 .n2-side .cpg-po>*{width:auto!important;border:0!important;border-left:0!important;padding:14px 16px!important;margin:0!important;max-width:none!important}
html.ui2 .n2-side .cpg-po>*+*{border-top:1px solid var(--n2-bd)!important}
html.ui2 .n2-side .cpg-ph{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
html.ui2 .n2-side .cpg-ph>div{flex:1 1 180px;min-width:0}
html.ui2 .n2-side .cpg-ph .grow{display:none}
html.ui2 .n2-side .cpg-ph b{font:540 15px/20px "Medeo Sans",sans-serif}
html.ui2 .n2-side .cpg-ph span{font-size:12.5px;line-height:17px;color:var(--n2-t2)}
html.ui2 .n2-side .cpg-stp{flex-wrap:wrap;row-gap:6px;font-size:12.5px}
html.ui2 .n2-side .cpg-stp .cpg-ln{min-width:12px}
html.ui2 .n2-side .cpg-btn{height:36px!important}
html.ui2 .n2-side .cpg-pof{padding:16px!important;gap:12px}
html.ui2 .n2-side .cpg-pof b{display:block;font-weight:540}
html.ui2 .n2-side .cpg-pof span{display:block;font-size:12.5px;line-height:17px;color:var(--n2-t2);margin-top:3px}
html.ui2 .n2-side .cpg-pi{background:none!important;width:auto!important;height:auto!important;color:var(--n2-blue)!important}
html.ui2 .n2-side .cpg-todo .cpg-tdh{padding:14px 16px!important;flex-wrap:wrap;text-align:left}
html.ui2 .n2-side .cpg-todo .cpg-mut{flex-basis:100%;font-size:12.5px;line-height:17px;white-space:normal}
html.ui2 .n2-side .cpg-tr{flex-wrap:wrap;padding:12px 16px!important;border-top:1px solid var(--n2-bd)}
html.ui2 .n2-side .cpg-tr .cpg-tx{flex:1 1 200px}
/* итоги из меню «⋯» */
html.ui2 .n2-sum{position:absolute;right:0;top:50px;width:312px;background:#fff;border:1px solid #d2d3d8;border-radius:18px;z-index:30;padding:4px 0 10px}
html.ui2 .n2-sumh{display:flex;align-items:center;gap:8px;padding:8px 8px 6px 16px}.n2-sumh b{font:540 15px/20px "Medeo Sans",sans-serif}html.ui2 .n2-sumh small{color:var(--n2-t2);font-size:12.5px}html.ui2 .n2-sumh .n2-x{margin-left:auto;width:32px;height:32px}
html.ui2 .n2-sum .cpg-kr{display:block!important;border:0!important;padding:0 16px!important;background:none!important}
html.ui2 .n2-sum .cpg-kc{display:grid!important;grid-template-columns:1fr auto;column-gap:10px;padding:6px 0!important;border:0!important;background:none!important;min-height:0!important}
html.ui2 .n2-sum .cpg-kc small{grid-column:1;font-size:13px!important;color:var(--n2-t2)!important;margin:0!important}
html.ui2 .n2-sum .cpg-kc b{grid-column:2;grid-row:1;font:450 14px/18px "Medeo Sans",sans-serif!important;text-align:right}
html.ui2 .n2-sum .cpg-kc b em{font-style:normal;font-size:12px;margin-left:6px}
html.ui2 .n2-sum .cpg-kc>span{grid-column:1/3;font-size:12px;color:var(--n2-t3);line-height:15px}
html.ui2 .n2-perp{padding:8px!important;width:300px}
html.ui2 .n2-side .cpg-pi{display:inline-grid!important;place-items:center}html.ui2 .n2-side .cpg-pi svg{width:20px!important;height:20px!important}
html.ui2 .n2-main #campBody .tablewrap::-webkit-scrollbar{display:block!important;height:8px}

/* ---- островок во всех разделах ---- */
html.ui2 .n2-isl .btn,html.ui2 .n2-isl .pbtn{height:40px!important;border:0!important;border-radius:999px!important;background:var(--n2-sel)!important;color:var(--n2-t1)!important;font:450 13.5px/18px "Medeo Sans",sans-serif!important;padding:0 15px!important;box-shadow:none!important;display:inline-flex;align-items:center;gap:7px}
html.ui2 .n2-isl .btn:hover{background:#e2e2e6!important}
html.ui2 .n2-isl .btn.primary,html.ui2 .n2-isl .pbtn.primary{background:var(--n2-blue)!important;color:#fff!important;font-weight:560!important}
html.ui2 .n2-isl .btn.ghost{background:none!important;color:var(--n2-t2)!important}
html.ui2 .n2-isl .btn.danger{color:var(--n2-bad)!important}
html.ui2 .n2-isl>span{white-space:nowrap;padding:0 6px}html.ui2 .n2-isl>span b{font-weight:560}
/* ---- Товары ---- */
html.ui2 #content #prodTable th.wh-col{border:0!important;border-radius:0!important;background:var(--n2-sel)!important;padding:0 8px!important;min-height:0!important}
html.ui2 #content table td input.cell{border:1px solid var(--n2-bd)!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important}
html.ui2 #content table td input.cell.changed{border-color:var(--n2-blue)!important;box-shadow:inset 0 0 0 .5px var(--n2-blue)!important}
html.ui2 #content table .sdot,html.ui2 #content table .urg{border:0!important;background:none!important;box-shadow:none!important;padding:0!important}
html.ui2 #content table tfoot td{background:var(--n2-fill)!important;color:var(--n2-t2)!important;border-top:1px solid var(--n2-bd)!important;position:static!important}
/* ---- Обзор и прочие карточки: плоские ---- */
html.ui2 #content .panel{box-shadow:none!important;border:1px solid var(--n2-bd)!important;border-radius:18px!important;background:#fff!important}
html.ui2 #content .pgacts .seg,html.ui2 .pghead .seg{background:#fff!important;border:1px solid var(--n2-bd)!important;box-shadow:none!important}
html.ui2 #content .pgacts .seg button.on,html.ui2 .pghead .seg button.on{background:#000!important;color:#fff!important}
html.ui2 .pghead .pbtn{box-shadow:none!important}
html.ui2 :is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar.n2-isl :is(.btn,.pbtn){border:0!important;box-shadow:none!important;background:var(--n2-sel)!important;height:40px!important}
html.ui2 :is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar.n2-isl :is(.btn,.pbtn).primary{background:var(--n2-blue)!important;color:#fff!important}
html.ui2 :is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar.n2-isl .n2-ib{border:0!important}
/* без синего свечения вокруг островка: плоский стиль */
html.ui2 :is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar::before,html.ui2 :is(#prodBar,#protBarB,#ffBar,#cardBar,#clBar,#rkBar,#puBar,#whBar,#tkBar)>.actionbar::after{display:none!important;animation:none!important}

/* ================= 6.48: страница кампании по макету 11.11 ================= */
html.ui2 .n2-main .cpg-tabs .cpg-acts{display:flex;gap:6px;margin:0!important}
html.ui2 #content .cpg .cpg-btn.sq,html.ui2 .n2-cb{background:#fff!important;border:1px solid var(--n2-bd)!important;color:var(--n2-t1)!important}
html.ui2 #content .cpg .cpg-h{min-height:48px}
/* поле «Написать Перо» внизу карточки */
html.ui2 .n2-side .cpg-po>.n2-ask{margin:4px 12px 12px!important;padding:0 5px 0 16px!important;border:1px solid var(--n2-bd)!important;border-top:1px solid var(--n2-bd)!important}
html.ui2 .n2-ask{height:42px;border-radius:999px;background:#fff;display:flex;align-items:center;gap:9px;color:var(--n2-t3);font:390 13.5px/18px "Medeo Sans",sans-serif;cursor:text;text-align:left;width:auto}
html.ui2 .n2-ask:hover{border-color:#c9cad0!important}
html.ui2 .n2-snd{margin-left:auto;width:32px;height:32px;border-radius:50%;background:var(--n2-sel);display:grid;place-items:center;color:var(--n2-t2)}
/* ставка справа */
html.ui2 .n2-bidc,html.ui2 .n2-tot{background:#fff;border:1px solid var(--n2-bd);border-radius:18px;overflow:hidden}
html.ui2 .n2-toth{display:flex;align-items:center;gap:8px;padding:14px 10px 8px 16px}html.ui2 .n2-toth b{font:540 15px/20px "Medeo Sans",sans-serif}html.ui2 .n2-toth small{color:var(--n2-t2);font-size:12.5px}
html.ui2 .n2-x2{margin-left:auto;width:32px!important;height:32px!important}
html.ui2 .n2-bidb{padding:2px 16px 14px}
html.ui2 .n2-bidc .rkv-bids{display:flex;flex-direction:column;gap:8px}
html.ui2 .n2-bidc .rkv-br{display:flex;align-items:center;gap:9px}
html.ui2 .n2-bidc .rkv-bn{flex:1;font-size:13px;text-align:left}
html.ui2 .n2-bidc .rkv-br.off .rkv-bn{color:var(--n2-t3)}
html.ui2 .n2-bidc .rkv-sw{width:32px;height:19px;border-radius:99px;background:#d4d5da;border:0;position:relative;flex:none;cursor:pointer;padding:0}
html.ui2 .n2-bidc .rkv-sw::after{content:"";position:absolute;top:2px;left:2px;width:15px;height:15px;border-radius:50%;background:#fff}
html.ui2 .n2-bidc .rkv-sw.on{background:var(--n2-blue)}html.ui2 .n2-bidc .rkv-sw.on::after{left:15px}
html.ui2 .n2-bidc .rkv-sw0{width:32px;flex:none}
html.ui2 .n2-bidc .rkv-bv{display:inline-block;min-width:64px;height:32px;line-height:32px;border-radius:8px;background:var(--n2-fill);text-align:center;color:var(--n2-t1);padding:0 6px}
html.ui2 .n2-bidc .rkv-bv.off{color:var(--n2-t3)}
html.ui2 .n2-bidc input.cell{width:72px!important;height:32px!important;border:1px solid var(--n2-bd)!important;border-radius:8px!important;background:#fff!important;text-align:center!important;font:390 13.5px/18px "Medeo Sans",sans-serif!important}
html.ui2 .n2-bidc .cell-ok.off{display:none!important}
/* итоги блоком */
html.ui2 .n2-tob{padding:0 16px 10px}
html.ui2 .n2-tr2{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--n2-bd)}html.ui2 .n2-tr2:first-child{border-top:0}
html.ui2 .n2-tr2 span{display:block;line-height:18px}html.ui2 .n2-tr2 small{display:block;color:var(--n2-t3);font-size:12px;line-height:16px;margin-top:1px}
html.ui2 .n2-tv{text-align:right;white-space:nowrap}html.ui2 .n2-tv b{font-weight:450;display:block;line-height:18px;font-variant-numeric:tabular-nums}
html.ui2 .n2-tv small em{font-style:normal;color:var(--n2-t2)}html.ui2 .n2-tv small em.ok{color:var(--n2-ok)}html.ui2 .n2-tv small em.dn{color:var(--n2-bad)}
html.ui2 .n2-tv .cpg-na{font-style:normal;color:var(--n2-t3);font-weight:390}
/* ключевые фразы: место по центру */
html.ui2 .kw-t td.kw-pl{text-align:center!important}html.ui2 .kw-t td.kw-pl .n2-st{width:160px}
html.ui2 .n2-st small{display:block;color:var(--n2-t3);font-size:12px;line-height:15px}
html.ui2 .n2-side .cpg-pi{position:static!important;transform:none!important;flex:none}
html.ui2 .kw-t th:nth-child(2){text-align:center!important}
html.ui2 .kw-box .kw-au{padding-top:10px!important;margin-top:4px!important}
html.ui2 .kw-t td:first-child{min-width:120px}
html.ui2 .n2-side .cpg-pi svg{color:var(--n2-blue)!important;stroke:var(--n2-blue)!important}
html.ui2 .n2-bidc .rkv-br{display:flex!important;grid-template-columns:none!important;width:100%}
html.ui2 .n2-bidc .rkv-bn{flex:1 1 auto!important;width:auto!important}
html.ui2 .n2-bidc .rkv-bids{width:100%;padding:0!important;margin:0!important;align-items:stretch}
html.ui2 .n2-side .cpg-todo .cpg-tdh{height:auto!important;min-height:52px;padding:14px 16px!important;gap:6px 8px}
/* все круглые кнопки одного вида: белые с рамкой */
html.ui2 .n2-rb{background:#fff!important;border:1px solid var(--n2-bd)!important}
html.ui2 .n2-rb:hover,html.ui2 .n2-cb:hover{background:var(--n2-fill)!important}
html.ui2 #rkTable .rkv-dots{border:1px solid var(--n2-bd)!important;background:#fff!important;border-radius:50%!important;width:32px!important;height:32px!important;margin-left:4px}
html.ui2 table.fq .ib{background:#fff!important;border:1px solid var(--n2-bd)!important}
html.ui2 .n2-main .cpg-tabs .cpg-acts{gap:6px!important}
html.ui2 .n2-main .cpg-tabs .cpg-acts>*{margin:0!important}

/* ---- 6.49: общие элементы по макету ---- */
/* вкладки: выбранная чёрная, белый текст; подложка, которая переезжает, тоже чёрная */
html.ui2 .seg>.seg-pill{background:#000!important;box-shadow:none!important}
html.ui2 #root #content .seg>button.on,html.ui2 #root .seg>button.on,html.ui2 dialog .seg>button.on{background:#000!important;color:#fff!important;font-weight:500!important}
html.ui2 #root .seg>button.on :is(small,em,i,b,span),html.ui2 dialog .seg>button.on :is(small,em,i,b,span){color:inherit!important;opacity:.7}
/* выключатели: включённый синий */
html.ui2 .switch input:checked+i{background:var(--n2-blue)!important}
/* карточки: белые, рамка #E4E6EB, скругление 16, без теней */
html.ui2 #content .panel{border-radius:16px!important;border-color:var(--n2-bd)!important}
/* окна: короткие формы открываются панелью справа поверх страницы (страница не сжимается и не темнеет).
   Широкие окна (редактор карточки, отчёты) остаются по центру, но в том же стиле. */
html.ui2 #dialog{border:1px solid var(--n2-bd)!important;border-radius:16px!important;box-shadow:0 8px 28px rgba(0,0,0,.14),0 0 0 .5px rgba(0,0,0,.08)!important;background:#fff!important;color:var(--n2-t1)}
html.ui2 #dialog:not(.wide):not(.ed-dlg):not(:has(.rp-dlg)):not(:has(.sa-dlg)){position:fixed!important;inset:64px 32px auto auto!important;margin:0!important;width:416px!important;max-width:calc(100vw - 144px)!important;max-height:calc(100vh - 96px)!important;overflow:auto!important;padding:0!important;box-sizing:border-box;animation:n3in .2s ease}
html.ui2 #dialog:not(.wide):not(.ed-dlg):not(:has(.rp-dlg)):not(:has(.sa-dlg))::backdrop{background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
@keyframes n3in{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
html.ui2 #pePanel{position:fixed!important;top:64px!important;right:32px!important;bottom:32px!important;left:auto!important;width:416px!important;height:auto!important;max-height:none!important;border:1px solid var(--n2-bd)!important;border-radius:16px!important;box-shadow:0 8px 28px rgba(0,0,0,.14),0 0 0 .5px rgba(0,0,0,.08)!important;background:#fff!important;overflow:hidden!important}
/* уведомления: белая плашка 360×56 справа сверху, точка слева (синяя, если есть действие), новое сверху, не больше 4 */
html.ui2 #toast{top:68px!important;right:32px!important;bottom:auto!important;left:auto!important;flex-direction:column-reverse!important;align-items:flex-end!important;gap:8px!important}
html.ui2 #toast .tst{width:360px!important;min-height:56px;box-sizing:border-box;padding:8px 8px 8px 14px!important;border-radius:12px!important;background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid var(--n2-bd)!important;box-shadow:0 8px 28px rgba(0,0,0,.14),0 0 0 .5px rgba(0,0,0,.08)!important;display:flex!important;align-items:center!important;gap:12px!important;color:var(--n2-t1)!important;animation:n3t .2s ease}
html.ui2 #toast .tst:nth-last-child(n+5){display:none!important}
html.ui2 #toast .tst.out{opacity:0;transform:scale(.96);transition:opacity .2s,transform .2s}
@keyframes n3t{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
html.ui2 #toast .tst-i{width:8px!important;height:8px!important;flex:none;border-radius:50%;background:#B5BAC4}
html.ui2 #toast .tst-i svg{display:none!important}
html.ui2 #toast .tst:has(.tst-b) .tst-i{background:var(--n2-blue)}
html.ui2 #toast .tst.bad .tst-i{background:var(--n2-warn)}
html.ui2 #toast .tst-t b{font:600 13px/18px "Medeo Sans",sans-serif!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 #toast .tst-t small{font-size:12px!important;line-height:16px!important;color:var(--n2-t2)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 #toast .tst-b{height:auto!important;padding:0 4px!important;background:none!important;color:var(--n2-blue)!important;font:500 13px/18px "Medeo Sans",sans-serif!important}
html.ui2 #toast .tst-x{position:static!important;width:24px!important;height:24px!important;flex:none;border:0!important;background:none!important;box-shadow:none!important;opacity:0;display:grid!important;place-items:center;color:var(--n2-t2)}
html.ui2 #toast .tst:hover .tst-x{opacity:1}
@media (prefers-reduced-motion:reduce){html.ui2 #toast .tst,html.ui2 #dialog{animation:none!important}html.ui2 #toast .tst.out{transition:none}}
html.ui2 #root .pt-tb2>button.on,html.ui2 #root .pp-tabs>button.on{background:#000!important;color:#fff!important;font-weight:500!important}
html.ui2 #root .pt-tb2>button.on span,html.ui2 #root .pp-tabs>button.on span{color:inherit!important;opacity:.7}
/* поиск: «Поиск», 200 px; где по макету только «Фильтр» (Пульт, Реклама, Мой склад, Заказы FBS, Задания, Поставки FBW), поиска нет */
html.ui2 #root #content label.search,html.ui2 #root #content .p-bar label.search{width:200px!important;min-width:0!important;max-width:200px!important;flex:none!important}
html.ui2[data-pg=ffclients]:not([data-many]) #content label.search,html.ui2[data-pg=ads] #content label.search,html.ui2[data-pg=wh] #content label.search,html.ui2[data-pg=fbs] #content label.search,html.ui2[data-pg=tasks] #content label.search,html.ui2[data-pg=fbw] #content label.search{display:none!important}
html.ui2 #root .seg>.seg-pill,html.ui2 #root #content .seg>.seg-pill,html.ui2 dialog .seg>.seg-pill{background:#000!important;box-shadow:none!important}
/* Мой склад: клиент слева, как в остальных таблицах */
html.ui2[data-pg=wh] #content table th:first-child,html.ui2[data-pg=wh] #content table td:first-child{text-align:left!important}

/* ---- 6.50: доработки после разбора ---- */
/* низкий экран (ноутбук 1366×768 с панелями браузера): значки меньше, всё помещается */
@media (max-height:680px){html.ui2 .n3-it{width:36px;height:36px;border-radius:10px}html.ui2 .n3-grp{width:46px;border-radius:14px}html.ui2 .n3-grp+.n3-grp{margin-top:6px}html.ui2 .n3-rail{padding:8px 0}}
/* верхняя строка: идёт обновление (синяя точка), данные старые (жёлтая) */
html.ui2 .topbar .upd>i.n3-busy{background:var(--n2-blue)!important}
html.ui2 .topbar .upd>i.n3-old{background:var(--n2-warn)!important}
/* заглушки строками, пока данные грузятся */
html.ui2 .n3-skel{background:#fff;border:1px solid var(--n2-bd);border-radius:16px;overflow:hidden}
html.ui2 .n3-sk-r{height:64px;display:grid;grid-template-columns:56px minmax(220px,2fr) repeat(4,1fr);align-items:center;gap:16px;padding:0 16px;border-top:1px solid #EEEEF0}
html.ui2 .n3-sk-r:first-child{border-top:0}
html.ui2 .n3-sk-r i{display:block;height:10px;border-radius:6px;background:linear-gradient(90deg,#EEF0F3,#F6F7F9,#EEF0F3);background-size:200% 100%;animation:n3sh 1.4s linear infinite;justify-self:center;width:48px}
html.ui2 .n3-sk-r i.n3-sk-im{width:40px;height:40px;border-radius:8px;justify-self:start}
html.ui2 .n3-sk-r span{display:flex;flex-direction:column;gap:6px}html.ui2 .n3-sk-r span i{justify-self:start}
html.ui2 .n3-sk-f{height:48px;display:flex;align-items:center;padding:0 16px;border-top:1px solid var(--n2-bd);background:#FAFAFB;color:var(--n2-t2);font-size:12px}
@keyframes n3sh{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){html.ui2 .n3-sk-r i{animation:none}}
/* панель: шапка, подвал, история уведомлений */
html.ui2 .n3-dh{display:flex;align-items:center;gap:12px;padding:14px 24px;border-bottom:1px solid #EEEEF0}
html.ui2 .n3-dh>div{flex:1;min-width:0}html.ui2 .n3-dh h2{margin:0;font:600 17px/22px "Medeo Sans",sans-serif}html.ui2 .n3-dh p{margin:0;font-size:12px;line-height:16px;color:var(--n2-t2)}
html.ui2 .n3-x{width:32px;height:32px;border-radius:50%;border:1px solid var(--n2-bd);background:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
html.ui2 #dialog .n3-full{display:flex;margin:16px 24px 0}html.ui2 #dialog .n3-full>button{flex:1}
html.ui2 .n3-hl-list{padding:4px 24px 8px;max-height:calc(100vh - 300px);overflow:auto}
html.ui2 .n3-hg{font-size:12px;font-weight:500;color:var(--n2-t2);margin:12px 0 0}
html.ui2 .n3-hr{display:flex;gap:12px;padding:12px 0;border-top:1px solid #EEEEF0}
html.ui2 .n3-hr>i{width:8px;height:8px;flex:none;margin-top:5px;border-radius:50%;background:#B5BAC4}html.ui2 .n3-hr>i.a{background:var(--n2-blue)}html.ui2 .n3-hr>i.w{background:var(--n2-warn)}
html.ui2 .n3-hr>span{flex:1;min-width:0}html.ui2 .n3-hr b{display:block;font-weight:600}html.ui2 .n3-hr small{display:block;font-size:12px;line-height:16px;color:var(--n2-t2);margin-top:2px}
html.ui2 .n3-hr time{font-size:12px;color:var(--n2-t3);white-space:nowrap}
html.ui2 .n3-hl{border:0;background:none;padding:0;margin-top:6px;color:var(--n2-blue);font:500 12px/16px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2 .n3-empty{color:var(--n2-t2);padding:24px 0;text-align:center}
html.ui2 .n3-df{display:flex;align-items:center;gap:8px;padding:12px 24px;border-top:1px solid #EEEEF0}html.ui2 .n3-df>span{flex:1;font-size:12px;color:var(--n2-t2)}
/* подписи к меню при первом входе */
html.ui2 #n3tips .n3-dim{position:fixed;left:80px;top:0;right:0;bottom:0;background:rgba(250,250,251,.72);z-index:80}
html.ui2 #n3tips .n3-tip{position:fixed;left:72px;height:28px;padding:0 10px;border-radius:8px;background:#15171C;color:#fff;font:400 12px/28px "Medeo Sans",sans-serif;white-space:nowrap;z-index:81}
html.ui2 #n3tips .n3-tcard{position:fixed;left:248px;top:40%;width:320px;box-sizing:border-box;background:#fff;border:1px solid var(--n2-bd);border-radius:16px;padding:20px;z-index:81;box-shadow:0 8px 28px rgba(0,0,0,.14)}
html.ui2 #n3tips .n3-tcard b{font:600 15px/20px "Medeo Sans",sans-serif}html.ui2 #n3tips .n3-tcard p{color:#4A5160;margin:8px 0 16px;line-height:20px}html.ui2 #n3tips .n3-tcard div{display:flex;gap:8px}
html.ui2 .btn.n3-black{background:#15171C!important;border-color:#15171C!important;color:#fff!important}
/* редактор карточки: страница во всю ширину под верхней строкой вместо окна по центру; Перо ложится поверх */
html.ui2 #dialog.ed-dlg{position:fixed!important;inset:56px 0 0 80px!important;margin:0!important;width:auto!important;height:auto!important;max-height:none!important;border-radius:0!important;border:0!important;box-shadow:none!important;background:var(--n2-bg)!important}
html.ui2 #dialog.ed-dlg::backdrop{background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.ui2 #dialog .seg>button.on,html.ui2 #root #content .pt-tb2>button.on,html.ui2 #root #content .pp-tabs>button.on{background:#000!important;color:#fff!important}

/* ================= 6.50.1: таблицы до низа окна, прокрутка внутри ================= */
@media (min-width:761px){
html.ui2 #content .n2-card.p-table{display:flex!important;flex-direction:column!important}
html.ui2 #content .n2-card.p-table>#protTable{flex:1;min-height:0;overflow:auto}
html.ui2 #content .n2-card.p-table>.n2-foot{flex:none}
html.ui2 #content .p-table thead th{position:sticky!important;top:0!important;z-index:2}
html.ui2 #content .p-table .tablewrap{overflow:auto!important}
html.ui2 #content .kc-card.p-table{display:flex!important;flex-direction:column!important}
html.ui2 #content .kc-card.p-table>#cardTable{flex:1;min-height:0;display:flex;flex-direction:column}
html.ui2 #content .kc-card.p-table>#cardTable>.tablewrap{flex:1;min-height:0;height:100%}
}
html.ui2 body .workspace:has(#content .p-table),html.ui2 body .workspace:has(.pt-wrap),html.ui2 body .workspace{padding-bottom:12px!important}
@media (min-width:761px){
html.ui2 body .workspace:has(#content .cpg) .pghead{display:none!important}
html.ui2 #content .cpg{padding-top:0!important}
html.ui2 #content .cpg .cpg-h .n3-cback{width:40px;height:40px;flex:none;display:flex!important;align-items:center;justify-content:center;border:1px solid var(--n2-bd);border-radius:50%;background:#fff;color:var(--n2-t1)!important;margin:0!important;padding:0!important;font-size:0!important;text-decoration:none!important}
html.ui2 #content .cpg .cpg-h .n3-cback:hover{background:var(--n2-fill)}
html.ui2 #content .cpg .cpg-h .n3-cback .svg,html.ui2 #content .cpg .cpg-h .n3-cback svg{width:18px;height:18px;margin:0!important}
html.ui2 #content .cpg .n2-cols.n3-fit{align-items:stretch;min-height:0}
html.ui2 #content .cpg .n2-cols.n3-fit>.n2-main,html.ui2 #content .cpg .n2-cols.n3-fit>.n2-side{min-height:0;overflow:auto;position:static!important;scrollbar-width:thin;border-radius:18px}
html.ui2 #content .cpg .n2-cols.n3-fit>.n2-side{align-self:stretch}
html.ui2 #content .cpg .n2-cols.n3-fit .cpg-tabs{position:sticky!important;top:0;z-index:5;background:var(--n2-bg)!important;padding-bottom:12px!important;margin-bottom:0!important}
}
/* 6.50.1: кнопка ПероAI в верхней строке: иконка и подпись, всегда белая, в том числе когда чат открыт */
html.ui2 .n3-pero{width:auto!important;padding:0 14px 0 11px!important;gap:6px;border-radius:999px!important;font:400 13.5px/18px "Medeo Sans",sans-serif;color:var(--n2-t1)}
html.ui2 .n3-pero.on{background:#fff!important;border-color:var(--n2-bd)!important}
/* 6.50.2: вкладки как на макете: все пункты 500 13/18, невыбранные тёмные, число серое; выбранная чёрная, число полупрозрачное */
html.ui2 #root .seg>button,html.ui2 #root #content .seg button,html.ui2 dialog .seg button,html.ui2 #root .pt-tb2>button,html.ui2 #root .pp-tabs>button,html.ui2 #root .n2-main .cpg-tabs .seg button,html.ui2 #root #content .n2-tools .seg button,html.ui2 #root #content .p-bar .seg button,html.ui2 #root #content .ff-pbar .seg button{font:500 13px/18px "Medeo Sans",sans-serif!important;color:#15171C!important}
html.ui2 #root .seg>button.on,html.ui2 #root #content .seg button.on,html.ui2 dialog .seg button.on,html.ui2 #root .pt-tb2>button.on,html.ui2 #root .pp-tabs>button.on,html.ui2 #root .n2-main .cpg-tabs .seg button.on,html.ui2 #root #content .n2-tools .seg button.on,html.ui2 #root #content .p-bar .seg button.on,html.ui2 #root #content .ff-pbar .seg button.on{font-weight:500!important;color:#fff!important;background:#000!important}
html.ui2 #root .seg button .n,html.ui2 #root .pt-tb2 button .n,html.ui2 #root .pp-tabs button .n{color:#6B7280!important;font-weight:400!important;opacity:1!important;margin-left:6px}
html.ui2 #root .seg button.on .n,html.ui2 #root .pt-tb2 button.on .n,html.ui2 #root .pp-tabs button.on .n{color:#fff!important;opacity:.6!important}
html.ui2 #root .seg button .n.org{color:#C9292F!important;font-weight:500!important}
html.ui2 #root .seg button.on .n.org{color:#fff!important}
html.ui2 .n2-tools>button.n3-pri,html.ui2 #content .n3-pri{height:40px!important;display:inline-flex;align-items:center;gap:8px;padding:0 16px 0 14px!important;border-radius:999px!important;background:var(--n2-blue)!important;border:1px solid var(--n2-blue)!important;color:#fff!important;font:500 13.5px/18px "Medeo Sans",sans-serif!important;cursor:pointer}
html.ui2 #content .n3-pri .svg,html.ui2 #content .n3-pri svg{color:#fff!important;stroke:#fff}
html.ui2 #content .n3-pri:hover{background:#0A78E4!important}
/* название товара в таблицах в одну строку с многоточием, как на макете */
html.ui2 #content .p-table .prod{min-width:0!important;max-width:100%}html.ui2 #content .p-table .prod>div{min-width:0!important;flex:1 1 auto}
html.ui2 #content .p-table .prod b{display:block!important;-webkit-line-clamp:unset!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-weight:400!important;font-size:13px!important;line-height:18px!important}
html.ui2 #content .p-table .prod small{font-size:12px!important;line-height:16px!important;margin-top:2px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Товары как на макете: оборачиваемость точкой без рамки, ⋮ в круглой кнопке с рамкой */
html.ui2 #content #prodTable .tag2{border:0!important;background:none!important;padding:0!important;height:auto!important;font:400 13px/18px "Medeo Sans",sans-serif!important;color:#15171C!important;gap:6px}
html.ui2 #content #prodTable .tag2 i{width:7px!important;height:7px!important}
html.ui2 #content #prodTable .row-acts .btn.icon-only{width:32px!important;height:32px!important;min-width:32px!important;border:1px solid var(--n2-bd)!important;border-radius:50%!important;background:#fff!important;padding:0!important}
html.ui2 #content #prodTable .row-acts .btn.icon-only:hover{background:var(--n2-fill)!important}
/* ================= 6.50.2: страница кампании по макету ★ Reklama-camp ================= */
html.ui2 #content .n3-cpg{padding-top:28px!important}
html.ui2 #content .n3-cpg .cpg-h{display:flex!important;align-items:center;gap:16px!important;margin:0 0 20px!important;min-height:48px}
html.ui2 #content .n3-cpg .cpg-h .thumb,html.ui2 #content .n3-cpg .cpg-h>img,html.ui2 #content .n3-cpg .cpg-h>.ph{width:48px!important;height:48px!important;border-radius:12px!important;object-fit:cover;background:#F3F3F5}
html.ui2 #content .n3-cpg .cpg-tt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
html.ui2 #content .n3-cpg .n3-ttl{display:flex;align-items:center;gap:12px;min-width:0}
html.ui2 #content .n3-cpg .n3-ttl h2{font:600 24px/32px "Medeo Sans",sans-serif!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.01em}
html.ui2 .n3-pill{flex:none;height:24px;padding:0 10px;border-radius:999px;display:inline-flex;align-items:center;font:500 12px/16px "Medeo Sans",sans-serif;background:#F3F3F5;color:#4A5160}
html.ui2 .n3-pill.ok{background:#E9F7EF;color:#1A7A43}html.ui2 .n3-pill.bad{background:#FDECEC;color:#B42318}
html.ui2 #content .n3-cpg .cpg-l2{display:block!important}html.ui2 #content .n3-cpg .cpg-mut{font:400 13px/18px "Medeo Sans",sans-serif!important;color:#6B7280!important}
html.ui2 #content .n3-cpg .cpg-acts{display:flex!important;align-items:center;gap:8px;margin:0!important}
html.ui2 #content .n3-cpg .cpg-acts .cpg-btn{height:40px!important;border-radius:999px!important;border:1px solid var(--n2-bd)!important;background:#fff!important;color:#15171C!important;font:500 13px/18px "Medeo Sans",sans-serif!important;padding:0 16px 0 14px!important;display:inline-flex!important;align-items:center;gap:8px;box-shadow:none!important}
html.ui2 #content .n3-cpg .cpg-acts .cpg-btn.pri{background:var(--n2-blue)!important;border-color:var(--n2-blue)!important;color:#fff!important}
html.ui2 #content .n3-cpg .cpg-acts .cpg-btn.sq{width:40px!important;padding:0!important;justify-content:center}
html.ui2 .n3-strip{height:48px;box-sizing:border-box;display:flex;align-items:center;gap:24px;padding:0 16px 0 24px;margin:0 0 16px;background:#fff;border:1px solid var(--n2-bd);border-radius:16px;font:400 13px/18px "Medeo Sans",sans-serif;color:#6B7280;white-space:nowrap;overflow:hidden}
html.ui2 .n3-strip b{color:#15171C;font-weight:600}
html.ui2 .n3-sp{flex:1}
html.ui2 .n3-chip{height:32px;border:0;border-radius:999px;padding:0 12px 0 10px;display:inline-flex;align-items:center;gap:6px;background:#F3F3F5;color:#15171C;font:500 13px/18px "Medeo Sans",sans-serif;cursor:pointer;flex:none}
html.ui2 .n3-chip.on{background:#E7F1FE;color:#0B6FD6}html.ui2 .n3-chip:hover{filter:brightness(.97)}
html.ui2 #content .n3-cpg .cpg-tabs.n3-tabs{display:flex!important;align-items:center;gap:8px;margin:0 0 16px!important;padding:0!important;background:none!important;border:0!important;position:static!important}
html.ui2 .n3-btn{height:40px;box-sizing:border-box;border:1px solid var(--n2-bd);border-radius:999px;background:#fff;color:#15171C;font:500 13px/18px "Medeo Sans",sans-serif;padding:0 16px;display:inline-flex;align-items:center;gap:8px;cursor:pointer;flex:none}
html.ui2 .n3-btn:hover{background:#FBFBFC}html.ui2 .n3-btn .svg,html.ui2 .n3-btn svg{width:16px;height:16px}
html.ui2 .n3-pri{height:40px;box-sizing:border-box;border:1px solid var(--n2-blue);border-radius:999px;background:var(--n2-blue);color:#fff;font:500 13px/18px "Medeo Sans",sans-serif;padding:0 18px;cursor:pointer}
html.ui2 .n3-lnk{border:0;background:none;padding:0;color:#0B84FB;font:400 13px/18px "Medeo Sans",sans-serif;cursor:pointer}html.ui2 .n3-lnk:hover{color:#0767C4}
html.ui2 .n3-mut{color:#6B7280}
/* тело вкладки: до низа окна, прокрутка внутри */
html.ui2 #content #campBody.n3-body{overflow:auto!important;margin:0!important;box-shadow:none!important}
html.ui2 #content #campBody.n3-queries,html.ui2 #content #campBody.n3-stats{background:#fff!important;border:1px solid var(--n2-bd)!important;border-radius:16px!important;padding:0!important}
html.ui2 #content #campBody.n3-budget,html.ui2 #content #campBody.n3-auto{background:none!important;border:0!important;padding:0!important}
html.ui2 #content #campBody .tablewrap{overflow:visible!important;margin:0!important;border:0!important}
/* таблица запросов */
html.ui2 table.n3-qt{width:100%;border-collapse:collapse;table-layout:fixed;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 table.n3-qt th{position:sticky;top:0;z-index:2;height:48px;background:#F3F3F5;font:600 12px/16px "Medeo Sans",sans-serif;color:#15171C;text-align:center;padding:0 8px;border:0}
html.ui2 table.n3-qt th.l,html.ui2 table.n3-qt td.l{text-align:left}
html.ui2 table.n3-qt td{height:56px;border-top:1px solid #EEEEF0;text-align:center;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 table.n3-qt td:first-child,html.ui2 table.n3-qt th:first-child{padding-left:20px;text-align:left}
html.ui2 table.n3-qt tbody tr{cursor:pointer}html.ui2 table.n3-qt tbody tr:hover td{background:#FAFAFB}html.ui2 table.n3-qt tr.selected td{background:#F4F9FF}
html.ui2 table.n3-qt tr.n3-off td{color:#9AA1AE}html.ui2 table.n3-qt tr.n3-off td b{color:#9AA1AE}
html.ui2 table.n3-qt td b{font-weight:600}
html.ui2 .n3-q{display:flex;align-items:center;gap:8px;min-width:0}html.ui2 .n3-q>span:last-child{overflow:hidden;text-overflow:ellipsis}
html.ui2 .n3-star{width:18px;flex:none;border:0;background:none;padding:0;font-size:15px;line-height:18px;color:#B9BEC8;cursor:pointer}html.ui2 .n3-star.on{color:#0B84FB}
html.ui2 .n3-tag{height:26px;border:0;border-radius:999px;padding:0 10px;font:500 12px/16px "Medeo Sans",sans-serif;cursor:pointer;background:#F3F3F5;color:#4A5160;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ui2 .n3-tag.ok{background:#E9F7EF;color:#1A7A43}html.ui2 .n3-tag.go{background:#E7F1FE;color:#0B6FD6}html.ui2 .n3-tag.w{background:#FFF6DB;color:#8A5A00}html.ui2 .n3-tag.x{background:#F0F1F3;color:#4A5160}
html.ui2 .n3-dots{width:32px;height:32px;border:0;border-radius:50%;background:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#4A5160}html.ui2 .n3-dots:hover{background:#F3F3F5}
html.ui2 .n3-foot{margin:0;padding:12px 20px 16px;color:#6B7280;font:400 12px/16px "Medeo Sans",sans-serif;border-top:1px solid #EEEEF0}
/* панель «почему» */
html.ui2 #dialog .n3-dh{display:flex;align-items:flex-start;gap:12px;padding:20px 24px 16px;border-bottom:1px solid #EEEEF0}
html.ui2 #dialog .n3-dh>div{flex:1;min-width:0}html.ui2 #dialog .n3-dh b{display:block;font:600 17px/22px "Medeo Sans",sans-serif;color:#15171C}html.ui2 #dialog .n3-dh small{display:block;margin-top:2px;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 #dialog .n3-x{width:32px;height:32px;flex:none;border:1px solid var(--n2-bd);border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
html.ui2 #dialog .n3-wb{padding:12px 24px 16px;display:flex;flex-direction:column;gap:0}
html.ui2 #dialog .n3-wr{display:flex;justify-content:space-between;align-items:center;height:37px;border-bottom:1px solid #EEEEF0;font:400 13px/18px "Medeo Sans",sans-serif;color:#4A5160}
html.ui2 #dialog .n3-wr b{color:#15171C;font-weight:600}html.ui2 #dialog .n3-wr b.r{color:#C9292F}
html.ui2 #dialog .n3-why{margin-top:20px;background:#F3F3F5;border-radius:12px;padding:12px}
html.ui2 #dialog .n3-why b,html.ui2 #dialog .n3-chg b{display:block;font:600 13px/18px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 #dialog .n3-why p{margin:6px 0 0;font:400 13px/20px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 #dialog .n3-chg{margin-top:20px}html.ui2 #dialog .n3-chg p{margin:6px 0 0;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}html.ui2 #dialog .n3-chg small{display:block;margin-top:14px;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 #dialog .n3-df{display:flex;justify-content:flex-end;gap:8px;padding:16px 24px;border-top:1px solid #EEEEF0}
html.ui2 #dialog .n3-fl{display:flex;flex-direction:column;gap:6px;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280;margin-top:8px}
html.ui2 #dialog .n3-fl input{height:40px;box-sizing:border-box;border:1px solid var(--n2-bd);border-radius:10px;padding:0 12px;font:400 14px/18px "Medeo Sans",sans-serif}
html.ui2 #dialog .n3-ck{display:flex;align-items:center;gap:8px;margin-top:14px;font:400 13px/18px "Medeo Sans",sans-serif}
/* Бюджет и расписание */
html.ui2 .n3-bgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px}
html.ui2 .n3-bc{background:#fff;border:1px solid var(--n2-bd);border-radius:16px;padding:16px;min-height:114px;box-sizing:border-box;display:flex;flex-direction:column;gap:6px}
html.ui2 .n3-bch{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px;font:400 13px/18px "Medeo Sans",sans-serif;color:#4A5160}
html.ui2 .n3-bc>b{font:600 20px/28px "Medeo Sans",sans-serif;color:#15171C;margin-top:4px}html.ui2 .n3-bc>small{font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 .n3-sch{background:#fff;border:1px solid var(--n2-bd);border-radius:16px;padding:20px 24px}
html.ui2 .n3-schh{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
html.ui2 .n3-schh b{display:block;font:600 13px/18px "Medeo Sans",sans-serif;color:#15171C}html.ui2 .n3-schh small{display:block;margin-top:2px;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 .n3-schh .seg{display:inline-flex;background:#fff;border:1px solid var(--n2-bd);border-radius:999px;padding:3px;gap:2px}html.ui2 .n3-schh .seg button{height:32px;padding:0 14px;border:0;border-radius:999px;background:none;cursor:pointer}
html.ui2 .n3-hours{display:grid;grid-template-columns:28px repeat(24,minmax(0,1fr));gap:4px;align-items:center;user-select:none}
html.ui2 .n3-hours .hl{font:400 11px/14px "Medeo Sans",sans-serif;color:#9AA1AE;text-align:left}html.ui2 .n3-hours .dl{font:400 12px/16px "Medeo Sans",sans-serif;color:#4A5160}
html.ui2 .n3-hours .hc{height:19px;border:0;border-radius:3px;background:#F0F1F3;padding:0;cursor:pointer}html.ui2 .n3-hours .hc.on{background:#CFE3FC}html.ui2 .n3-hours.ro .hc{cursor:default}
html.ui2 .n3-schf{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
/* Автоматика */
html.ui2 .n3-agrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}
html.ui2 .n3-ac{background:#fff;border:1px solid var(--n2-bd);border-radius:16px;padding:16px;display:flex;gap:12px}
html.ui2 .n3-ai{width:32px;height:32px;flex:none;border-radius:8px;background:#E7F1FE;display:flex;align-items:center;justify-content:center}
html.ui2 .n3-acb{flex:1;min-width:0}html.ui2 .n3-ach{display:flex;align-items:center;justify-content:space-between;min-height:32px}html.ui2 .n3-ach b{font:600 13px/18px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 .n3-acb small{display:block;margin-top:4px;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}html.ui2 .n3-acb p{margin:8px 0 0;font:400 12px/16px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 .n3-pbox,html.ui2 .n3-kw{margin-bottom:16px}html.ui2 .n3-kw .kw-box{background:#fff;border:1px solid var(--n2-bd);border-radius:16px;margin:0!important}
html.ui2 .n3-jr{background:#fff;border:1px solid var(--n2-bd);border-radius:16px;overflow:hidden}
html.ui2 .n3-jrh{display:flex;justify-content:space-between;align-items:center;padding:16px 24px}html.ui2 .n3-jrh b{font:600 13px/18px "Medeo Sans",sans-serif}
html.ui2 .n3-jr table{width:100%;border-collapse:collapse;font:400 13px/18px "Medeo Sans",sans-serif}
html.ui2 .n3-jr th{height:48px;background:#F3F3F5;text-align:left;font:600 12px/16px "Medeo Sans",sans-serif;padding:0 12px}html.ui2 .n3-jr th:first-child,html.ui2 .n3-jr td:first-child{padding-left:24px}
html.ui2 .n3-jr td{height:48px;border-top:1px solid #EEEEF0;padding:0 12px}html.ui2 .n3-jr td:last-child{text-align:right;padding-right:24px}
html.ui2 #content .n3-cpg{padding-top:0!important;margin-top:0!important}
html.ui2 #content .n3-cpg>.status-line:empty{display:none!important}
html.ui2 #content .n3-cpg .n3-tabs .seg{margin:0!important}
html.ui2 #content #campBody.n3-stats{background:none!important;border:0!important}
html.ui2 .n3-chc{background:#fff;border:1px solid var(--n2-bd);border-radius:16px;padding:16px 24px 12px;margin-bottom:16px}
html.ui2 .n3-chh{display:flex;align-items:center;gap:16px;min-height:40px}html.ui2 .n3-chh>b{font:600 13px/18px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 .n3-chh .ac-leg{font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280;display:inline-flex;align-items:center;gap:6px}
html.ui2 .n3-chh .seg{display:inline-flex;background:#fff;border:1px solid var(--n2-bd);border-radius:999px;padding:3px;gap:2px;margin:0!important}
html.ui2 .n3-chh .seg button{height:32px;padding:0 14px;border:0;border-radius:999px;background:none;cursor:pointer}
html.ui2 #campBody .n3-chc .ac-chart{height:160px!important;min-height:160px!important;margin:12px 0 0!important;position:relative;color:#0B84FB}
html.ui2 #campBody .n3-chc .ac-chart svg{width:100%;height:132px;display:block}
html.ui2 .n3-tbc{background:#fff;border:1px solid var(--n2-bd);border-radius:16px;overflow:hidden}
html.ui2 .n3-tbc table{width:100%;border-collapse:collapse}html.ui2 .n3-tbc th{position:sticky;top:0;height:48px;background:#F3F3F5!important;font:600 12px/16px "Medeo Sans",sans-serif!important;color:#15171C!important}
html.ui2 .n3-tbc td{height:48px;border-top:1px solid #EEEEF0}
/* Реклама, список: под названием статус точкой и метки CPM / ПероAI; баланс капсулой в верхней строке */
html.ui2 #rkTable .n3-l3{display:flex!important;align-items:center;gap:6px;margin-top:3px;flex-wrap:nowrap!important}
html.ui2 #rkTable .n3-l3 .rkv-st{font:400 12px/16px "Medeo Sans",sans-serif!important;color:#4A5160!important;display:inline-flex;align-items:center;gap:5px}
html.ui2 #rkTable .n3-l3 .rkv-st.bad{color:#C9292F!important}
html.ui2 .n3-ch{height:18px;padding:0 6px;border:1px solid var(--n2-bd);border-radius:5px;display:inline-flex;align-items:center;font:600 11px/14px "Medeo Sans",sans-serif;color:#15171C;background:#fff}
html.ui2 .topbar #rkBal{height:40px;box-sizing:border-box;border:1px solid var(--n2-bd)!important;border-radius:999px!important;background:#fff!important;padding:0 16px!important;display:inline-flex!important;align-items:center;gap:6px;font:600 13px/18px "Medeo Sans",sans-serif!important;color:#15171C!important}
html.ui2 .topbar #rkBal::before{content:"Баланс";font-weight:400;color:#6B7280}
html.ui2 .topbar #rkBal::after,html.ui2 .topbar #rkBal *::after{display:none!important}html.ui2 .topbar #rkBal *{border:0!important;padding:0!important;margin:0!important;background:none!important}
html.ui2 #rkTable td.rkv-sE{width:96px;min-width:96px;padding-right:16px!important}
/* Пульт: задача как на макете — строка действий, от кого, тема крупно */
html.ui2 .n3-pth{display:flex;align-items:center;gap:8px;height:56px;margin:-24px -24px 20px;padding:0 16px 0 20px;border-bottom:1px solid #EEEEF0}
html.ui2 .n3-pth .grow{flex:1}
html.ui2 .n3-done{height:32px;display:inline-flex;align-items:center;gap:6px;padding:0 14px;border-radius:999px;background:#E9F7EF;border:1px solid #CBEBD7;color:#1A7A43;font:500 13px/18px "Medeo Sans",sans-serif}
html.ui2 .n3-ib{width:32px;height:32px;border:1px solid var(--n2-bd);border-radius:50%;background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;color:#15171C}html.ui2 .n3-ib.on{color:#0B84FB}
html.ui2 .n3-ob{height:32px;border:1px solid var(--n2-bd);border-radius:999px;background:#fff;display:inline-flex;align-items:center;gap:6px;padding:0 12px;font:500 13px/18px "Medeo Sans",sans-serif;color:#15171C;cursor:pointer}
html.ui2 .n3-ptf{display:flex;align-items:center;gap:12px;margin-bottom:20px}html.ui2 .n3-ptf .pt-av-l{width:48px!important;height:48px!important;font-size:17px!important}
html.ui2 .n3-ptn{display:flex;align-items:center;gap:8px}html.ui2 .n3-ptn b{font:600 13px/18px "Medeo Sans",sans-serif;color:#15171C}html.ui2 .n3-ptn a{text-decoration:none}
html.ui2 .n3-ptf .n3-mut{font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 .n3-ptt{display:flex;align-items:center;gap:12px;margin-bottom:8px}html.ui2 .n3-ptt b{font:600 20px/28px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 .n3-tg{height:24px;display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;font:500 12px/16px "Medeo Sans",sans-serif;flex:none}
html.ui2 .n3-tg.r{background:#FDECEC;color:#C9292F}html.ui2 .n3-tg.b{background:#E7F1FE;color:#0B6FD6}html.ui2 .n3-tg.x{background:#F3F3F5;color:#4A5160}
/* Обзор как на макете: число 26/600, сумма 17, цифры справа 17/600 */
html.ui2 #content .ov5 .hero-n{font:600 26px/32px "Medeo Sans",sans-serif!important;letter-spacing:0!important}
html.ui2 #content .ov5 .hero-s{align-items:center!important;gap:10px!important}
html.ui2 #content .ov5 .hero-s>:not(.hero-n):not([class*=tag]):not([class*=dl]){font-size:17px!important;font-weight:500!important}
html.ui2 #content .ov5 .hk-b b,html.ui2 #content .ov5 .hk-b strong{font:600 17px/22px "Medeo Sans",sans-serif!important}
html.ui2 #content .ov5 .hk-b small,html.ui2 #content .ov5 .hero-main small{font:400 12px/16px "Medeo Sans",sans-serif!important;color:#6B7280!important}
/* Пульт → Клиенты как на макете */
html.ui2 table.n3-cl{table-layout:fixed;width:100%}
html.ui2 table.n3-cl td{height:64px}
html.ui2 .n3-nm{display:flex;align-items:center;gap:12px;min-width:0}html.ui2 .n3-nm>div{min-width:0}
html.ui2 .n3-av{width:40px;height:40px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;font:600 15px/18px "Medeo Sans",sans-serif}
html.ui2 .n3-nm b{display:block;font:600 13px/18px "Medeo Sans",sans-serif;color:#15171C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html.ui2 .n3-nm small{display:block;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .n3-acc{display:inline-flex;gap:6px}html.ui2 .n3-a{height:26px;padding:0 10px;border-radius:999px;display:inline-flex;align-items:center;font:500 12px/16px "Medeo Sans",sans-serif}
html.ui2 .n3-a.m{background:#E7F1FE;color:#0B6FD6}html.ui2 .n3-a.f{background:#FFF3E0;color:#9A4A00}
html.ui2 .n3-cn{display:inline-flex;align-items:center;gap:6px;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C}html.ui2 .n3-cn small{color:#6B7280;font-size:12px}
html.ui2 .n3-st{display:inline-flex;align-items:center;gap:6px;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C}html.ui2 .n3-st.y{color:#8A5A00}html.ui2 .n3-st.r{color:#B42318}
html.ui2 .n3-st i{width:7px;height:7px;border-radius:50%;background:#C4C8D0;flex:none}html.ui2 .n3-st i.g{background:#1F9D55}html.ui2 .n3-st i.y{background:#F5B800}html.ui2 .n3-st i.r{background:#E5452B}
html.ui2 .n3-lk{display:block;margin:2px auto 0;border:0;background:none;padding:0;color:#0B84FB;font:400 12px/16px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2 .n3-sm{display:block;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .n3-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font:400 12px/16px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 .n3-dots2{width:32px;height:32px;border:1px solid var(--n2-bd);border-radius:50%;background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
/* Карточки: меню «Создать», колонка «Артикул» */
html.ui2 .n3-cpop{width:320px;padding:8px!important;border-radius:16px!important}
html.ui2 .n3-cpop hr{border:0;border-top:1px solid #EEEEF0;margin:6px 4px}
html.ui2 .n3-cpr{display:flex;gap:12px;padding:10px 8px}html.ui2 .n3-cpi{width:32px;height:32px;flex:none;border-radius:8px;background:#F3F3F5;display:flex;align-items:center;justify-content:center;color:#4A5160}
html.ui2 .n3-cpb{flex:1;min-width:0}html.ui2 .n3-cpb b{display:block;font:600 13px/18px "Medeo Sans",sans-serif;color:#15171C}html.ui2 .n3-cpb small{display:block;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 .n3-cpc{display:flex;align-items:center;gap:8px;margin-top:10px}
html.ui2 .n3-cnt{display:inline-flex;align-items:center;gap:8px;height:36px;border:1px solid var(--n2-bd);border-radius:999px;padding:0 4px}html.ui2 .n3-cnt button{width:28px;height:28px;border:0;border-radius:50%;background:#F3F3F5;cursor:pointer;font-size:15px}html.ui2 .n3-cnt b{min-width:24px;text-align:center;font:500 13px/18px "Medeo Sans",sans-serif}
html.ui2 .n3-blk{height:36px;border:0;border-radius:999px;background:#000;color:#fff;padding:0 16px;font:500 13px/18px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2 .n3-btn.sm{height:36px;padding:0 12px}
html.ui2 .n3-cpx{display:flex;gap:16px;padding:6px 12px 4px}
html.ui2 #cardTable .n3-art span{display:block;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C}html.ui2 #cardTable .n3-art small{display:block;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 #cardTable .kc-dots{width:32px;height:32px;border:1px solid var(--n2-bd)!important;border-radius:50%!important;background:#fff!important}
html.ui2 #cardTable th,html.ui2 #cardTable td{border-left:0!important;border-right:0!important}
html.ui2 #content #cardTable .prod b,html.ui2 #content #cardTable .kc-p b{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical;white-space:normal!important;overflow:hidden;font:400 13px/18px "Medeo Sans",sans-serif!important}
html.ui2 .n3-cpop .n3-cpc button,html.ui2 .n3-cpop .n3-cpx button{width:auto!important;flex:none!important;display:inline-flex!important;justify-content:center;margin:0!important}
html.ui2 .n3-cpop .n3-cnt button{width:28px!important;height:28px!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center;flex:none!important;margin:0!important;border-radius:50%!important}
html.ui2 .n3-cpop .n3-btn.sm{height:36px!important;padding:0 12px!important;border:1px solid var(--n2-bd)!important;border-radius:999px!important;gap:6px}
html.ui2 .n3-cpop .n3-blk{height:36px!important;padding:0 16px!important;border-radius:999px!important;background:#000!important;color:#fff!important}
html.ui2 .n3-cpop .n3-lnk{height:auto!important;padding:0!important;background:none!important;color:#0B84FB!important}
html.ui2 #cardTable thead th{box-shadow:none!important;border-left:0!important;border-right:0!important;background-image:none!important}
html.ui2 #cardTable thead th::before,html.ui2 #cardTable thead th::after{display:none!important}
/* 6.52 Пульт по макету ★ Pult: письма, галочка на аватаре, «Выполнено» вручную */
html.ui2 .pt-list{padding:0 8px 8px}
html.ui2 .pt-cap{padding:12px 12px 4px;font:600 12px/16px "Medeo Sans",sans-serif;color:#6B7280;background:none;border:0;position:static}
html.ui2 .pt-m3{position:relative;display:flex;gap:12px;width:100%;padding:10px 12px 10px 16px;border:0;border-radius:12px;background:transparent;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C;cursor:pointer;box-sizing:border-box;margin:0;min-height:0}
html.ui2 .pt-m3:hover{background:#F7F7F8}html.ui2 .pt-m3.pt-sel{background:#F3F3F5}
html.ui2 .pt-m3:focus-visible{outline:2px solid rgba(0,103,244,.5);outline-offset:-2px}
html.ui2 .n3-ud{position:absolute;left:4px;top:24px;width:8px;height:8px;border-radius:50%;background:#0B84FB}
html.ui2 .n3-pav{position:relative;width:40px;height:40px;flex:none;border-radius:50%;background:color-mix(in srgb,var(--c) 12%,#fff);color:var(--c);display:flex;align-items:center;justify-content:center;font:600 15px/1 "Medeo Sans",sans-serif}
html.ui2 .n3-ok{position:absolute;right:-3px;bottom:-3px;width:18px;height:18px;border-radius:50%;background:#22A55B;box-shadow:0 0 0 2px #fff;display:flex;align-items:center;justify-content:center}
html.ui2 .n3-ok svg{width:10px;height:10px;fill:none;stroke:#fff;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
html.ui2 .n3-pm{flex:1;min-width:0;display:block}
html.ui2 .n3-p1,html.ui2 .n3-p2{display:flex;gap:8px;align-items:baseline}
html.ui2 .n3-p1 b{flex:1;min-width:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .n3-pt{font-size:12px;color:#6B7280;flex:none}html.ui2 .pt-unr .n3-pt{color:#0B84FB}
html.ui2 .n3-p2>span{flex:1;min-width:0;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .pt-unr .n3-p2>span{color:#0B6FD6}html.ui2 .pt-done .n3-p2>span,html.ui2 .pt-man .n3-p2>span{color:#6B7280}
html.ui2 .n3-p2 i{width:12px;flex:none;text-align:center;color:#E5452B;font:300 17px/18px "Medeo Sans",sans-serif}
html.ui2 .n3-p3{display:block;font-size:12px;line-height:16px;color:#6B7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .n3-p3.g{color:#1A7A43;font-weight:500}html.ui2 .n3-p3.r{color:#C9292F;font-weight:500}
html.ui2 .n3-mk{height:32px;display:inline-flex;align-items:center;gap:6px;padding:0 14px 0 10px;border-radius:999px;background:#E9F7EF;border:1px solid #CDEBD9;color:#1A7A43;font:500 13px/18px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2 .n3-mk:hover{background:#DDF2E6}
html.ui2 .n3-ban{display:flex;align-items:center;gap:12px;margin:-20px -24px 20px;padding:12px 24px;background:#F3F4F6;color:#374151;font:400 13px/18px "Medeo Sans",sans-serif;border-bottom:1px solid #EEEEF0}
html.ui2 .n3-ban b{font-weight:600}
html.ui2 .n3-ban .svg{flex:none;width:20px;height:20px;padding:3px;border-radius:50%;background:#9AA1AE;color:#fff;box-sizing:border-box}
html.ui2 .n3-ban.g{background:#E9F7EF;color:#1A7A43}html.ui2 .n3-ban.g .svg{background:#22A55B}
html.ui2 .n3-ban.r{background:#FDECEC;color:#C9292F}html.ui2 .n3-ban.r .svg{background:#E5452B}
/* 6.52 Карточка клиента по макету ★ Klienty-card */
html.ui2 .pc-card.n3-cc{top:64px;right:32px;bottom:32px;width:416px;border-radius:16px;border:1px solid #E4E6EB;background:#fff;box-shadow:0 24px 64px rgba(0,0,0,.16),0 0 0 .5px rgba(0,0,0,.06);font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 .n3-cch{display:flex;align-items:center;gap:12px;padding:12px 16px 12px 24px;border-bottom:1px solid #EEEEF0;flex:none}
html.ui2 .n3-av.l{width:40px;height:40px;font-size:15px}
html.ui2 .n3-cct{flex:1;min-width:0}html.ui2 .n3-cct b{display:block;font:600 17px/22px "Medeo Sans",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html.ui2 .n3-cct small{display:block;font-size:12px;line-height:16px;color:#6B7280}
html.ui2 .n3-ccb{flex:1;min-height:0;overflow:auto;padding:16px 24px 20px;user-select:text}
html.ui2 .n3-ccc{display:flex;align-items:center;gap:8px;margin-bottom:16px;color:#6B7280;font-size:12px}
html.ui2 .n3-cal{padding:12px 12px 12px 12px;border-radius:12px;background:#FDECEC;margin-bottom:20px}
html.ui2 .n3-cal b{display:block;font-weight:600;color:#15171C}html.ui2 .n3-cal p{margin:2px 0 10px;font-size:12px;line-height:16px;color:#C9292F}
html.ui2 .n3-cal.y{background:#FFF6E0}html.ui2 .n3-cal.y p{color:#8A5A00}
html.ui2 .n3-ccb h4{display:flex;align-items:baseline;justify-content:space-between;margin:20px 0 0;padding-bottom:8px;border-bottom:1px solid #E4E6EB;font:600 13px/18px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 .n3-ccb h4:first-of-type{margin-top:4px}
html.ui2 .n3-ccb h4 a,html.ui2 .n3-cr a{font-weight:400;font-size:12px;color:#0B84FB;text-decoration:none}
html.ui2 .n3-cr{display:grid;grid-template-columns:116px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:40px;padding:6px 0;border-bottom:1px solid #EEEEF0;box-sizing:border-box}
html.ui2 .n3-cr>span:first-child{font-size:12px;color:#6B7280}html.ui2 .n3-cr>span:nth-child(2){overflow-wrap:anywhere}
html.ui2 .n3-cr em{font-style:normal;color:#6B7280}html.ui2 .n3-cr em.g{color:#1A7A43}html.ui2 .n3-f{font-style:normal;color:#9AA1AE}
html.ui2 .n3-ni{display:block;width:100%;box-sizing:border-box;margin-top:8px;min-height:40px;padding:10px 12px;border:1px solid #E4E6EB;border-radius:12px;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C;resize:vertical;background:#fff}
html.ui2 .n3-ni:focus{outline:none;border-color:#0B84FB;box-shadow:0 0 0 3px rgba(11,132,251,.15)}
html.ui2 .n3-cf{display:grid;gap:10px;padding-top:12px}html.ui2 .n3-cf label{display:grid;gap:4px;font-size:12px;color:#6B7280}
html.ui2 .n3-cf input{height:36px;padding:0 12px;border:1px solid #E4E6EB;border-radius:10px;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 .n3-cf input:focus{outline:none;border-color:#0B84FB}
html.ui2 .n3-cfb{display:flex;justify-content:flex-end;gap:8px}
html.ui2 .n3-ccf{display:flex;justify-content:flex-end;gap:8px;padding:16px 24px;border-top:1px solid #EEEEF0;flex:none}
html.ui2 .n3-ccf .n3-btn,html.ui2 .n3-cfb .n3-btn,html.ui2 .n3-cal .n3-btn{height:40px;padding:0 16px;border-radius:999px;font:500 13px/18px "Medeo Sans",sans-serif;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;border:1px solid #E4E6EB;background:#fff;color:#15171C;cursor:pointer}
html.ui2 .n3-cal .n3-btn{height:32px}
html.ui2 .n3-btn.p{background:#0B84FB;border-color:#0B84FB;color:#fff}html.ui2 .n3-btn.p:hover{background:#0A77E2}
html.ui2 .n3-ntd{cursor:text}html.ui2 .n3-nadd{display:none;color:#0B84FB;font-size:12px}html.ui2 tr:hover .n3-nadd{display:inline}
html.ui2 .pt-m3::before,html.ui2 .pt-m3+.pt-m3::before{display:none}
html.ui2 #content .p-bar>.pt-blk{margin-left:auto}
/* 6.53: плашки и вкладки обычным начертанием (решение владельца 12.11) */
html.ui2 #root .seg>button,html.ui2 #root .seg>button.on,html.ui2 #root #content .seg button,html.ui2 #root #content .seg button.on,html.ui2 dialog .seg button,html.ui2 dialog .seg button.on,
html.ui2 #root .pt-tb2>button,html.ui2 #root .pt-tb2>button.on,html.ui2 #root .pp-tabs>button,html.ui2 #root .pp-tabs>button.on,html.ui2 #root .n2-main .cpg-tabs .seg button.on,
html.ui2 .n2-tools .seg button.on,html.ui2 .ff-pbar .seg button.on,html.ui2 #content .p-bar .seg button.on,html.ui2 .n2-tab.on,html.ui2 .n2-chips button.on,
html.ui2 .n3-pill,html.ui2 .n3-chip,html.ui2 .n3-tag,html.ui2 .n3-tg,html.ui2 .n3-a,html.ui2 .pc-tg,html.ui2 .pq-tg,html.ui2 .pc-pl,html.ui2 .n3-done,html.ui2 table.rkv-t .rkv-pe,html.ui2 .tag,html.ui2 .tag2,html.ui2 .pill,html.ui2 .chip,html.ui2 .badge,html.ui2 #root .seg button .n.org{font-weight:400!important}
html.ui2 .pc-card .pc-tg,html.ui2 .n3-ccc .pc-tg{height:26px;padding:0 10px;border-radius:999px;display:inline-flex;align-items:center;font:400 12px/16px "Medeo Sans",sans-serif;background:#F3F3F5;color:#4A5160}
/* 6.53 Выполненная задача: отзывы с ответами и лента */
html.ui2 .n3-ptt.dn b{color:#4A5160}
html.ui2 .n3-rvs{display:flex;flex-direction:column;gap:12px;margin-top:4px}
html.ui2 .n3-rv{border:1px solid #E4E6EB;border-radius:12px;overflow:hidden;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 .n3-rvq{display:flex;gap:12px;padding:12px 16px}
html.ui2 .n3-rvq img,html.ui2 .n3-rvi{width:40px;height:40px;flex:none;border-radius:8px;background:#EEF0F3;object-fit:cover}
html.ui2 .n3-rvq>div{flex:1;min-width:0}
html.ui2 .n3-rvh{display:flex;align-items:center;gap:8px}html.ui2 .n3-rvh b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .n3-st5{color:#E5A100;letter-spacing:1px;flex:none}html.ui2 .n3-st5 i{font-style:normal;color:#D5D8DE}
html.ui2 .n3-rvt{margin-top:2px;line-height:20px}
html.ui2 .n3-rva{padding:12px 16px;background:#F7F8FA;border-top:1px solid #E4E6EB}html.ui2 .n3-rva small{display:block;font-size:12px;line-height:16px;color:#6B7280}html.ui2 .n3-rva div{margin-top:2px;line-height:20px}
html.ui2 .n3-tl{display:grid;grid-template-columns:12px 120px minmax(0,1fr);column-gap:8px;row-gap:4px;align-items:center;line-height:20px;margin-top:16px;font:400 13px/20px "Medeo Sans",sans-serif}
html.ui2 .n3-tl i{width:8px;height:8px;border-radius:50%;background:#C9CDD4}html.ui2 .n3-tl i.g{background:#22A55B}html.ui2 .n3-tl i.r{background:#E5452B}
html.ui2 .n3-tl span:nth-of-type(odd){color:#6B7280}
html.ui2 .n3-ban.g{border-bottom-color:#D3EEDD}html.ui2 .n3-ban.g .svg{width:22px;height:22px;padding:5px}
/* 6.53 Пригласить клиента и ссылки (макеты ★ Klienty-inv, Klienty-links) */
html.ui2 .n3-lb{font:500 12px/16px "Medeo Sans",sans-serif;color:#15171C;margin-bottom:8px}
html.ui2 .n3-sg{display:flex;padding:4px;border:1px solid #E4E6EB;border-radius:999px;gap:2px}
html.ui2 .n3-sg button{flex:1;height:32px;border:0;border-radius:999px;background:transparent;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C;cursor:pointer}
html.ui2 .n3-sg button.on{background:#000;color:#fff}
html.ui2 .n3-lc{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #E4E6EB;border-radius:12px;margin-bottom:8px}
html.ui2 .n3-lc>span{width:36px;height:36px;flex:none;border-radius:10px;background:#E7F1FE;color:#0B84FB;display:flex;align-items:center;justify-content:center}
html.ui2 .n3-lc b{display:block;font-weight:600}html.ui2 .n3-lc small{display:block;font-size:12px;line-height:16px;color:#6B7280}
html.ui2 .n3-note2{margin-top:12px;padding:12px;border-radius:12px;background:#F7F8FA;font-size:12px;line-height:16px;color:#4A5160}
html.ui2 .n3-pend{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #EEEEF0}
html.ui2 .n3-pend>div{flex:1;min-width:0}html.ui2 .n3-pend b{display:block;font-weight:500}html.ui2 .n3-pend small{display:block;font-size:12px;line-height:16px;color:#6B7280}
html.ui2 .n3-pend .n3-btn{height:32px;padding:0 12px}
html.ui2 .n3-lk2{margin-bottom:16px}html.ui2 .n3-lk2 small{display:block;margin-top:6px;font-size:12px;line-height:16px;color:#6B7280}
html.ui2 .n3-lr{display:flex;gap:8px}html.ui2 .n3-lr .n3-btn{height:40px;padding:0 16px}
html.ui2 .n3-in{flex:1;min-width:0;height:40px;box-sizing:border-box;padding:0 12px;border:1px solid #E4E6EB;border-radius:10px;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C;background:#fff}
html.ui2 .n3-msg{min-height:120px}
html.ui2 .n3-ccf{justify-content:flex-end}
html.ui2 .n3-ptt .grow{flex:1}html.ui2 .n3-ptt .n3-cb{height:40px}
html.ui2 .pt-adh .n3-lnk{margin-left:auto;font-size:12px;color:#0B84FB;text-decoration:none}
html.ui2 .n3-in,html.ui2 .n3-ni{background:#fff!important;border:1px solid #E4E6EB!important}
/* 6.54 Пульт по утверждённым макетам 13.11 */
html.ui2 .n3-ban{display:none!important}
html.ui2 .n3-mk.on{background:#E9F7EF;border-color:#CDEBD9;color:#1A7A43;cursor:default}html.ui2 button.n3-mk.on{cursor:pointer}
html.ui2 .n3-pth .n3-mk{height:32px;display:inline-flex;align-items:center;gap:6px;padding:0 14px 0 10px;border-radius:999px;background:#E9F7EF;border:1px solid #CDEBD9;color:#1A7A43;font:400 13px/18px "Medeo Sans",sans-serif}
html.ui2 .n3-ptt .n3-btn{height:40px}html.ui2 .n3-ptt{gap:12px}
html.ui2 .n3-lead{margin:0 0 16px;line-height:22px;max-width:640px;font:400 13px/22px "Medeo Sans",sans-serif;color:#15171C}html.ui2 .n3-lead b{font-weight:600}
html.ui2 .n3-ch2{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:6px;background:#F3F3F5;color:#4A5160;font:400 12px/24px "Medeo Sans",sans-serif;white-space:nowrap}
html.ui2 .n3-ch2 b{font-weight:600;color:#15171C;margin-left:4px}
html.ui2 .n3-ch2.r{background:#FDECEC;color:#C9292F}html.ui2 .n3-ch2.g{background:#E9F7EF;color:#1A7A43}html.ui2 .n3-ch2.y{background:#FFF4E0;color:#8A5A00}
html.ui2 .n3-pim{width:48px;height:48px;flex:none;border-radius:8px;background:#EEF0F3;object-fit:cover;display:flex;align-items:center;justify-content:center;color:#6B7280}
html.ui2 .n3-prd{display:flex;gap:12px;align-items:center;padding:12px 16px;border:1px solid #E4E6EB;border-radius:12px;margin-bottom:12px;cursor:pointer;background:#fff}
html.ui2 .n3-prd:hover{border-color:#C9CDD4}
html.ui2 .n3-prx{flex:1;min-width:0}html.ui2 .n3-prx b{display:block;font:600 13px/18px "Medeo Sans",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html.ui2 .n3-prx small{display:block;font-size:12px;line-height:16px;color:#6B7280}
html.ui2 .n3-chs{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
html.ui2 .n3-cps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}
html.ui2 .n3-cp{border:1px solid #E4E6EB;border-radius:12px;padding:12px 16px;cursor:pointer;background:#fff}html.ui2 .n3-cp:hover{border-color:#C9CDD4}
html.ui2 .n3-cph{display:flex;gap:12px;align-items:center}html.ui2 .n3-cph .n3-pim{width:40px;height:40px}html.ui2 .n3-cph>div{min-width:0}
html.ui2 .n3-cph b{display:block;font:600 13px/18px "Medeo Sans",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html.ui2 .n3-cph small{display:flex;align-items:center;gap:6px;font-size:12px;line-height:16px;color:#6B7280}
html.ui2 .n3-cph small.g{color:#1A7A43}html.ui2 .n3-cph small i{width:6px;height:6px;border-radius:50%;background:#22A55B}
html.ui2 .n3-rsub{margin:-8px 0 12px;color:#6B7280;font:400 13px/18px "Medeo Sans",sans-serif}
html.ui2 .n3-chg>div{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid #EEEEF0;line-height:20px;font:400 13px/20px "Medeo Sans",sans-serif}
html.ui2 .n3-chg>div>span:first-child{color:#6B7280}
html.ui2 .n3-rep+.n3-rep{margin-top:20px}
html.ui2 .n3-foot{margin:16px 0 0;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 .n3-pln{display:flex;align-items:baseline;gap:12px;margin-bottom:12px}html.ui2 .n3-pln b{font-weight:600}html.ui2 .n3-pln a{font-size:12px;color:#0B84FB;text-decoration:none}
html.ui2 .n3-cmp{display:grid;grid-template-columns:minmax(0,1fr) 150px 170px;border:1px solid #E4E6EB;border-radius:12px;overflow:hidden;margin-bottom:16px;font:400 13px/18px "Medeo Sans",sans-serif}
html.ui2 .n3-cmp>span{padding:10px 16px;border-top:1px solid #EEEEF0}html.ui2 .n3-cmp>span:nth-child(3n+2),html.ui2 .n3-cmp>span:nth-child(3n){text-align:right}
html.ui2 .n3-cmp>span:nth-child(-n+3){border-top:0;background:#F3F3F5;font-size:12px;color:#6B7280}html.ui2 .n3-cmp>span:nth-child(3){background:#E7F1FE;color:#0B6FD6}
html.ui2 .n3-cmp>span:nth-child(3n+2){color:#6B7280}html.ui2 .n3-cmp>span.b:not(:nth-child(3)){font-weight:600;background:#F7FAFF}
html.ui2 .n3-rv{margin-bottom:12px}
html.ui2 .n3-rvh small{font-size:12px;color:#6B7280;white-space:nowrap}html.ui2 .n3-rvh .grow{flex:1}
html.ui2 .n3-rvp{display:flex;gap:6px;margin-top:8px}html.ui2 .n3-rvp img{width:40px;height:40px;border-radius:6px;object-fit:cover;background:#E4E6EB}
html.ui2 .n3-ans{display:flex;flex-direction:column;gap:8px}
html.ui2 .n3-ansh{display:flex;align-items:center;gap:8px;font-size:12px;line-height:16px}html.ui2 .n3-ansh b{font-weight:500}html.ui2 .n3-ansh span{color:#0B6FD6}
html.ui2 .n3-ta{display:block;width:100%;box-sizing:border-box;min-height:84px;padding:10px 12px;border:1px solid #E4E6EB;border-radius:10px;background:#fff;font:400 13px/20px "Medeo Sans",sans-serif;color:#15171C;resize:vertical}
html.ui2 .n3-ta:focus{outline:none;border-color:#0B84FB;box-shadow:0 0 0 3px rgba(11,132,251,.15)}
html.ui2 .n3-ansb{display:flex;align-items:center;gap:8px}html.ui2 .n3-ansb .grow{flex:1}html.ui2 .n3-ansb .n3-btn{height:40px}
html.ui2 .n3-ans small.n3-mut{font-size:12px;line-height:16px;color:#6B7280}
html.ui2 .n3-lnk2{border:0;background:none;color:#0B84FB;font:400 13px/18px "Medeo Sans",sans-serif;cursor:pointer;padding:4px 0;margin-bottom:12px}
html.ui2 .pt-mb .n3-tl{margin-top:8px}
html.ui2 .n3-ptt>b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
/* 6.54 Клиенты по утверждённым макетам 13.11 */
html.ui2 .n3-nadd2{height:28px;padding:0 10px;border:1px dashed #C9CDD4;border-radius:999px;background:#fff;color:#6B7280;font:400 12px/16px "Medeo Sans",sans-serif;display:inline-flex;align-items:center;gap:4px;cursor:pointer;white-space:nowrap}
html.ui2 .n3-nadd2:hover{border-color:#0B84FB;color:#0B84FB}html.ui2 .n3-nadd2 .svg{width:14px;height:14px}
html.ui2 .n3-ntd .n3-note{cursor:text;border-radius:8px;padding:4px 6px}html.ui2 .n3-ntd .n3-note:hover{background:#F3F3F5}
html.ui2 .n3-ccb h4{margin:16px 0 0}html.ui2 .n3-ccb h4:first-of-type{margin-top:0}
html.ui2 .n3-cr{min-height:34px;padding:4px 0}
html.ui2 .n3-cr em{font-style:normal}html.ui2 .n3-cr em.g{color:#1A7A43}html.ui2 .n3-cr em.r,html.ui2 .n3-r{color:#C9292F}
html.ui2 .n3-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#C9CDD4;margin-right:6px;vertical-align:1px}html.ui2 .n3-dot.g{background:#22A55B}html.ui2 .n3-dot.y{background:#F2B200}html.ui2 .n3-dot.r{background:#E5452B}
html.ui2 .n3-scs{display:flex;flex-wrap:wrap;gap:4px;padding:8px 0;border-bottom:1px solid #EEEEF0}
html.ui2 .n3-scs span{height:22px;padding:0 8px;border-radius:6px;background:#F3F3F5;color:#9AA1AE;font:400 11px/22px "Medeo Sans",sans-serif;text-decoration:line-through;white-space:nowrap}
html.ui2 .n3-scs span.on{background:#E9F7EF;color:#1A7A43;text-decoration:none}
html.ui2 .n3-wide{width:100%;justify-content:center;margin-top:8px;height:40px}
html.ui2 .n3-nw{position:relative;margin-top:8px}html.ui2 .n3-nw .n3-ni{margin:0;padding-right:36px;min-height:52px}html.ui2 .n3-nw>.svg{position:absolute;right:12px;top:12px;width:14px;height:14px;color:#9AA1AE;pointer-events:none}
html.ui2 .n3-steps{display:flex;flex-direction:column;gap:14px;margin:20px 0}
html.ui2 .n3-step{display:flex;gap:12px}html.ui2 .n3-step>span{width:24px;height:24px;flex:none;border-radius:50%;background:#F3F3F5;color:#15171C;font:600 12px/24px "Medeo Sans",sans-serif;display:flex;align-items:center;justify-content:center}
html.ui2 .n3-step.now>span{background:#0B84FB;color:#fff}html.ui2 .n3-step.done>span{background:#22A55B}
html.ui2 .n3-step svg{width:12px;height:12px;fill:none;stroke:#fff;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
html.ui2 .n3-step b{display:block;font:600 13px/24px "Medeo Sans",sans-serif}html.ui2 .n3-step small{display:block;font-size:12px;line-height:16px;color:#6B7280}
html.ui2 .n3-wk{margin:16px 0 12px;padding:12px;border-radius:12px;background:#F7F8FA;display:flex;flex-direction:column;gap:6px;font:400 13px/20px "Medeo Sans",sans-serif}html.ui2 .n3-wk>div:first-child b{font-weight:600}
html.ui2 .n3-bar{display:grid;grid-template-columns:132px minmax(0,1fr) 32px;gap:8px;align-items:center;height:24px;font-size:12px;color:#4A5160}
html.ui2 .n3-bar i{display:block;height:8px;border-radius:4px;background:#EEF0F3}html.ui2 .n3-bar i b{display:block;height:8px;border-radius:4px;background:#0B84FB}html.ui2 .n3-bar>span:last-child{text-align:right;color:#15171C}
html.ui2 .n3-sts{display:flex;gap:16px;margin-bottom:16px;font-size:12px;color:#6B7280}html.ui2 .n3-sts b{font-weight:600;color:#15171C}
html.ui2 .n3-ccb small.n3-mut{display:block;margin-top:6px;font-size:12px;line-height:16px;color:#6B7280}
html.ui2 .n3-pth .n3-mk.n3-mko{background:#fff;border-color:#E4E6EB;color:#15171C}html.ui2 .n3-pth .n3-mk.n3-mko:hover{background:#F7F7F8}
/* 6.54.3: в новом дизайне нет «полужирного» обводкой у активных вкладок (старое правило ui.css) */
html.ui2 *,html.ui2 :root:root .seg>button.on{-webkit-text-stroke:0!important}
/* 6.54.4 Обзор: без полужирного, плашки сравнения как на макете (+1 к вчера) */
html.ui2[data-pg=overview] #content :is(b,strong,h2,h3,h4,th,.hero-n,.hero-sum,.hk-b b,.ov-feed b,[class*=title]){font-weight:400!important}

html.ui2 .hpill{height:24px!important;padding:0 10px!important;border-radius:999px!important;font:400 12px/24px "Medeo Sans",sans-serif!important;background:#F3F3F5!important;color:#4A5160!important;border:0!important;box-shadow:none!important;align-self:center}
html.ui2 .hpill.up{background:#E9F7EF!important;color:#1A7A43!important}html.ui2 .hpill.dn{background:#FDECEC!important;color:#C9292F!important}
html.ui2[data-pg=overview] #root #content *{font-weight:400!important}
html.ui2 #root #content .ov5 .hero-s>.hpill{height:22px!important;padding:0 8px!important;font:400 12px/22px "Medeo Sans",sans-serif!important;margin-left:4px}
/* 6.54.6: поиск стоит вплотную к «Остаткам», а не посередине */
html.ui2 #content .p-bar>.p-search~.pt-blk{margin-left:0}
/* 6.54.6: Репрайсер — шапка таблицы стоит на месте, полоса прокрутки начинается под ней, справа от шапки нет белого квадрата */
html.ui2 #content #protTable .n2-t thead th{position:sticky!important;top:0;z-index:2}
/* 6.54.7: Репрайсер — значок сортировки как в Товарах: справа у заголовка, виден при наведении, у выбранной колонки всегда */
html.ui2 #protTable .n2-t th.sortable{position:sticky!important}
html.ui2 #protTable .n2-t th .sort-ar{display:inline!important;position:absolute;right:6px;top:50%;transform:translateY(-50%);margin:0;font-size:11px;opacity:0;transition:opacity .15s;color:inherit}
html.ui2 #protTable .n2-t th.sortable:hover .sort-ar{opacity:.45}
html.ui2 #protTable .n2-t th.sortable.on .sort-ar{opacity:1;color:var(--brand)}
/* 6.55.0: свой ползунок прокрутки везде в новом дизайне (ui2.js, n3Sb). Системная вертикальная полоса спрятана,
   вместо неё тонкий ползунок поверх: всегда виден, под липкой шапкой таблицы, 4 px от рамки, без белой полосы, тянется мышью.
   Горизонтальная прокрутка остаётся системной, но тонкой. */
/* 6.65.1: свои полосы прокрутки с первого кадра. Раньше класс n3-sbv ставился через 120 мс, и до него системная полоса
   сужала список на 6–12 px — строки Ленты и таблиц дёргались после каждой перерисовки. */
html.ui2 #content *::-webkit-scrollbar{width:0;height:8px;background:transparent}
html.ui2 #content *::-webkit-scrollbar-track{background:transparent;margin:0 12px}
html.ui2 #content *::-webkit-scrollbar-thumb{background:#cfd2dc;border:0;border-radius:8px}
html.ui2 .n3-sbv{scrollbar-width:auto!important;scrollbar-color:auto!important}
html.ui2 .n3-sbv::-webkit-scrollbar{display:block!important;width:0!important;height:8px!important;background:transparent!important}
html.ui2 .n3-sbv::-webkit-scrollbar-track{background:transparent!important;margin:0 12px!important}
html.ui2 .n3-sbv::-webkit-scrollbar-thumb{background:#cfd2dc!important;border:0!important;border-radius:8px!important}
@supports not selector(::-webkit-scrollbar){html.ui2 .n3-sbv{scrollbar-width:none!important}}
.n3-sbl{position:fixed;inset:0;pointer-events:none;z-index:60}
.n3-sb{position:fixed;width:10px;pointer-events:auto}
.n3-sb[hidden]{display:none}
.n3-sb>i{position:absolute;left:2px;right:2px;top:0;border-radius:6px;background:#cfd2dc;cursor:grab;transition:background .15s}
.n3-sb:hover>i,.n3-sb.drag>i{background:#a9adb8}
.n3-sb.drag>i{cursor:grabbing}
:where(html[data-theme=dark]) .n3-sb>i{background:rgba(255,255,255,.22)}
:where(html[data-theme=dark]) .n3-sb:hover>i,:where(html[data-theme=dark]) .n3-sb.drag>i{background:rgba(255,255,255,.38)}
/* 6.55.1: старый ползунок Товаров (.vsb) в новом дизайне не нужен: вместо него общий n3-sb */
html.ui2 .vsb{display:none!important}
/* 6.56.0: кампания рекламы по макету 13.11 (Reklama-camp/keys) */
/* «‹ Все кампании» — синяя текстовая ссылка над заголовком, круглой кнопки нет */
html.ui2 #content .n3-cpg>.pg-back{display:inline-flex!important;align-items:center;gap:4px;margin:16px 0 8px!important;font:400 13px/18px "Medeo Sans",sans-serif!important;color:var(--n2-blue)!important;text-decoration:none}
html.ui2 #content .n3-cpg>.pg-back .svg{width:15px!important;height:15px!important}
html.ui2 #content .n3-cpg .cpg-h{margin:0 0 16px!important}
/* цифры одной строкой под названием, без рамки и без полужирного */
html.ui2 .n3-met{display:flex;align-items:center;gap:8px;margin-top:4px;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .n3-met i{font-style:normal;color:#6B7280}html.ui2 .n3-met>b{font-weight:400;color:#C9CDD4}
html.ui2 .n3-strip{display:none!important}
/* кнопка ПероAI справа от вкладок: синяя */
html.ui2 #content .n3-cpg .n3-tabs .n3-pbtn{flex:none;font-weight:400!important}
html.ui2 #content .n3-cpg .n3-tabs .n3-pbtn svg{width:18px;height:18px}
/* «⋮» в шапке не меняет цвет, когда меню открыто */
html.ui2 #content .n3-cpg .cpg-acts .cpg-btn.sq,html.ui2 #content .n3-cpg .cpg-acts .cpg-btn.sq:active,html.ui2 #content .n3-cpg .cpg-acts .cpg-btn.sq.on,html.ui2 #content .n3-cpg .cpg-acts .cpg-btn.sq[aria-expanded=true]{background:#fff!important;color:#15171C!important;border-color:var(--n2-bd)!important}
/* запросы: «Перо и почему» — метка и причина под ней */
html.ui2 table.n3-qt td.n3-pw{height:64px;white-space:normal}
html.ui2 table.n3-qt td.n3-pw>.n3-tag{font-weight:400}
html.ui2 table.n3-qt td.n3-pw>small{display:block;margin-top:4px;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 table.n3-qt tr.n3-off td.n3-pw>small{color:#9AA1AE}
/* вкладка «Фразы и места» */
html.ui2 #content #campBody.n3-keys{display:flex;flex-direction:column;gap:16px;background:none!important;border:0!important;padding:0!important}
html.ui2 .n3-kwa{flex:none;background:#fff;border:1px solid var(--n2-bd);border-radius:16px;padding:12px 12px 12px 16px;display:flex;flex-direction:column;gap:10px;margin:0}
html.ui2 .n3-kwr{display:flex;align-items:center;gap:8px}
html.ui2 .n3-kwr label{color:#6B7280;white-space:nowrap;margin-right:4px;font:400 13px/18px "Medeo Sans",sans-serif}
html.ui2 .n3-kwr input{flex:1;min-width:0;height:40px!important;box-sizing:border-box;border:1px solid var(--n2-bd)!important;border-radius:999px!important;padding:0 16px!important;font:400 13px/18px "Medeo Sans",sans-serif!important;background:#fff!important;box-shadow:none!important}
html.ui2 .n3-kwr input:focus{outline:0;border-color:var(--n2-blue)!important}
html.ui2 .n3-kwr select{height:40px!important;box-sizing:border-box;border:1px solid var(--n2-bd)!important;border-radius:999px!important;padding:0 32px 0 16px!important;font:400 13px/18px "Medeo Sans",sans-serif!important;background-color:#fff!important;width:auto!important;min-width:0!important}
html.ui2 .n3-kwr .n3-btn{height:40px;flex:none}
html.ui2 .n3-kws{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 .n3-kws i{font-style:normal}
html.ui2 .n3-kwp{height:32px;padding:0 12px;border:1px solid var(--n2-bd);border-radius:999px;background:#fff;color:#15171C;font:400 13px/18px "Medeo Sans",sans-serif;cursor:pointer;white-space:nowrap}
html.ui2 .n3-kwp:hover{background:#FAFAFB}
html.ui2 .n3-kwc{flex:1;min-height:0;background:#fff;border:1px solid var(--n2-bd);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
html.ui2 .n3-kwc>.tablewrap{flex:1;min-height:0;overflow:auto}
html.ui2 table.n3-kwt td{height:64px}html.ui2 table.n3-kwt tbody tr{cursor:default}
html.ui2 table.n3-kwt td:first-child{padding-left:24px}
html.ui2 .n3-kp{display:inline-flex;flex-direction:column;align-items:center;line-height:16px}
html.ui2 .n3-kp>span{font-size:15px;line-height:20px}html.ui2 .n3-kp>small{font-size:12px;color:#9AA1AE}
html.ui2 table.n3-kwt .n3-tag{cursor:default;font-weight:400}
html.ui2 .n3-kwr .n3-btn{font-weight:400!important}
/* 6.56.1: размеры шрифтов кампании ровно как на макете Reklama-camp */
html.ui2 #content .n3-cpg .n3-ttl h2{font:600 26px/32px "Medeo Sans",sans-serif!important;letter-spacing:0!important}
html.ui2 #content .n3-cpg .cpg-mut{line-height:20px!important}
html.ui2 table.n3-qt th{font:600 13px/18px "Medeo Sans",sans-serif!important}
html.ui2 .n3-tag{height:24px!important;line-height:24px!important;font-size:12px!important}
html.ui2 #content .n3-cpg .n3-tabs .n3-pbtn{font-size:13px!important;line-height:18px!important}
/* 6.56.2: выключенная ставка в списке кампаний того же размера, что поле ставки: края в одну линию */
html.ui2 table.rkv-t .rkv-bv{width:76px!important;height:28px!important;line-height:26px!important;box-sizing:border-box!important;border:1px solid var(--n2-bd)!important;border-radius:8px!important;font-size:13.5px!important}
html.ui2 table.rkv-t .rkv-bv.off{background:var(--n2-fill)!important}
/* 6.56.2: Статистика — график стоит на месте, прокручивается только таблица по дням (ползунок внутри её карточки, не сбоку страницы) */
html.ui2 #content #campBody.n3-stats{display:flex!important;flex-direction:column;overflow:hidden!important}
html.ui2 #content #campBody.n3-stats>.n3-chc{flex:none}
html.ui2 #content #campBody.n3-stats>.n3-tbc{flex:1;min-height:0;display:flex;flex-direction:column}
html.ui2 #content #campBody.n3-stats>.n3-tbc>.tablewrap{flex:1;min-height:0;overflow:auto!important;margin:0!important}
html.ui2 .n3-tbc th{font:600 13px/18px "Medeo Sans",sans-serif!important}
/* 6.56.2: метка активного запроса без явного статуса (мало данных, жду показов) — своим цветом, не как у исключённых */
html.ui2 .n3-tag.n{background:#EAF0F8;color:#2F4A6D}
html.ui2 .n3-met .n3-low,html.ui2 .n3-met .n3-low i{color:#C9292F}
/* 6.56.3: список кампаний — ставке воздух справа (колонка шире, блок по центру), кнопки строки не под ползунком */
html.ui2 #rkTable th.rkv-h-bid{width:244px!important}
html.ui2 #rkTable .rkv-bids{width:208px!important;margin:0 auto!important;padding:0!important}
html.ui2 #rkTable .rkv-br{grid-template-columns:28px 92px 76px!important;column-gap:6px!important}
html.ui2 #rkTable .rkv-sE{width:100px!important;padding-right:22px!important}
/* во всех таблицах со своим ползунком последняя колонка отступает от правого края, чтобы ползунок не закрывал «⋮» */
html.ui2 .n3-sbv table tr>:last-child{padding-right:20px!important}
html.ui2 #rkTable th.rkv-h-bid{width:236px!important}
html.ui2 #rkTable th.rkv-h-key{width:176px!important}html.ui2 #rkTable .rkv-key .n2-st{width:160px!important}
html.ui2 #rkTable td.rkv-s1,html.ui2 #rkTable td.rkv-n{overflow:hidden}
@media (max-width:1360px){html.ui2 #rkTable th.rkv-h-key{width:150px!important}html.ui2 #rkTable .rkv-key .n2-st{width:140px!important}}
/* 6.57.0 Карточки: шапка редактора, панель ПероAI рядом с формой, островок */
html.ui2 #dialog.ed-dlg.n3-ed{display:flex!important;flex-direction:column;overflow:hidden!important;padding:0 32px 20px!important;box-sizing:border-box}
html.ui2 #dialog.n3-ed .n3-edh{flex:none;padding:16px 0 16px}
html.ui2 #dialog.n3-ed .n3-back{display:inline-flex;align-items:center;gap:4px;border:0;background:none;padding:0;margin:0 0 8px;color:var(--n2-blue);font:400 13px/18px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2 #dialog.n3-ed .n3-back .svg,html.ui2 #dialog.n3-ed .n3-back svg{width:15px;height:15px}
html.ui2 #dialog.n3-ed .n3-edr{display:flex;align-items:center;gap:16px}
html.ui2 #dialog.n3-ed .n3-edt{flex:1;min-width:0}
html.ui2 #dialog.n3-ed .n3-edtt{display:flex;align-items:center;gap:12px;min-width:0}
html.ui2 #dialog.n3-ed .n3-edtt h2{margin:0;min-width:0;font:600 26px/32px "Medeo Sans",sans-serif;color:var(--n2-t1);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 #dialog.n3-ed .n3-sub{margin-top:4px;font:400 13px/20px "Medeo Sans",sans-serif;color:var(--n2-t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .n3k-chip{flex:none;display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;font:400 13px/18px "Medeo Sans",sans-serif;white-space:nowrap;background:var(--n2-fill);color:var(--n2-t2)}
html.ui2 .n3k-chip.y{background:#FFF4D6;color:#8A5A00}html.ui2 .n3k-chip.ai{background:#EAF3FF;color:var(--n2-bluet);box-shadow:inset 0 0 0 1px #CFE3FD}
html.ui2 .n3k-chip.ok{background:#E7F5EC;color:var(--n2-ok)}html.ui2 .n3k-chip.bad{background:#FDECEC;color:var(--n2-bad)}
html.ui2 #dialog.n3-ed .n3-eda{flex:none;display:flex;align-items:center;gap:8px}
html.ui2 .n3-pg{display:inline-flex;align-items:center;height:40px;box-sizing:border-box;border:1px solid var(--n2-bd);border-radius:999px;background:#fff;padding:0 3px;font:400 13.5px/18px "Medeo Sans",sans-serif;color:var(--n2-t1)}
html.ui2 .n3-pg>span{padding:0 8px;white-space:nowrap}
html.ui2 .n3-pg>button{width:32px;height:32px;border:0;border-radius:50%;background:none;display:grid;place-items:center;cursor:pointer;color:var(--n2-t1);padding:0}
html.ui2 .n3-pg>button:hover:not(:disabled){background:var(--n2-fill)}html.ui2 .n3-pg>button:disabled{opacity:.3;cursor:default}
html.ui2 .n3-eb{height:40px;box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;padding:0 16px;border:1px solid var(--n2-bd);border-radius:999px;background:#fff;color:var(--n2-t1);font:450 13.5px/18px "Medeo Sans",sans-serif;white-space:nowrap;cursor:pointer}
html.ui2 .n3-eb:hover{background:var(--n2-fill)}html.ui2 .n3-eb.dim{color:var(--n2-t3)}
html.ui2 .n3-eb.pri{background:var(--n2-blue);border-color:var(--n2-blue);color:#fff;font-weight:500}html.ui2 .n3-eb.pri:hover{background:#0A78E4}
html.ui2 .n3-eb.pri svg{color:#fff;stroke:#fff}html.ui2 .n3-eb:disabled{opacity:.45;cursor:default}
html.ui2 .n3-eb.sm{height:32px;padding:0 14px;font-size:13px}
html.ui2 .n3-eb:focus-visible,html.ui2 .n3-pg>button:focus-visible,html.ui2 .n3-back:focus-visible{outline:2px solid rgba(11,132,251,.5);outline-offset:2px}
/* Раскладка: форма сужается, панель справа на всю высоту */
html.ui2 .n3-edw{flex:1;min-height:0;display:flex;gap:16px}
html.ui2 .n3-edw>#editForm{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}
html.ui2 .n3-edw>#editForm>.dlg-body{flex:1;min-height:0;overflow:auto;padding:0 2px 0 0!important}
html.ui2 .n3-edw>#editForm>.dlg-foot{position:static!important;flex:none;background:transparent!important;border-top:0!important;padding:12px 0 0!important}
html.ui2 #dialog.n3-ed .editor{grid-template-columns:240px minmax(0,1fr);gap:16px!important}
html.ui2 #dialog.n3-ed .editor section{border:1px solid var(--n2-bd)!important;border-radius:16px!important;padding:16px 20px!important;margin-bottom:16px!important;background:#fff!important}
html.ui2 #dialog.n3-ed .editor h3{font:600 14px/20px "Medeo Sans",sans-serif!important}
html.ui2 #dialog.n3-ed .dlg-body>.missing,html.ui2 #dialog.n3-ed .dlg-body>.notice{margin:0 0 12px!important}
html.ui2 #editForm.n3-wait .editor{opacity:.6;pointer-events:none}
@media (max-width:1360px){html.ui2 .n3-edw:has(.n3-pp:not([hidden])) .editor{grid-template-columns:1fr}}
/* Поля: заполнил Перо — голубые, не уверен — жёлтые */
html.ui2 #dialog.n3-ed .src{background:none!important;color:var(--n2-bluet)!important;padding:0!important;margin-left:6px;font:400 12px/16px "Medeo Sans",sans-serif!important}
html.ui2 #dialog.n3-ed .field:has(>span>.src):not(.unsure) :is(input,textarea){background:#F0F6FF;border-color:#CFE3FD}
html.ui2 #dialog.n3-ed .field.unsure :is(input,textarea,select),html.ui2 #dialog.n3-ed .unsure .dims input{background:#FFF8E6;border-color:#F3D58A}
html.ui2 #dialog.n3-ed .field.unsure>span:first-child::after{background:none;padding:0;color:#9A6400;font-size:12px}
/* Панель ПероAI */
html.ui2 .n3-pp{flex:none;width:392px;min-height:0;display:flex;flex-direction:column;background:#fff;border:1px solid var(--n2-bd);border-radius:16px;overflow:hidden;animation:n3in .2s ease}
html.ui2 .n3-pp[hidden]{display:none}
html.ui2 .n3-pph{flex:none;display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--n2-bd)}
html.ui2 .n3-ppav{width:32px;height:32px;flex:none;border-radius:50%;background:var(--n2-blue);color:#fff;display:grid;place-items:center}html.ui2 .n3-ppav svg{color:#fff;stroke:#fff;width:18px;height:18px}
html.ui2 .n3-ppt{flex:1;min-width:0;display:flex;flex-direction:column}html.ui2 .n3-ppt b{font:600 15px/20px "Medeo Sans",sans-serif;color:var(--n2-t1)}html.ui2 .n3-ppt small{font:400 12px/16px "Medeo Sans",sans-serif;color:var(--n2-t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .n3-ppl{flex:none;max-height:180px;overflow:auto;padding:6px;border-bottom:1px solid var(--n2-bd)}
html.ui2 .n3-ppl>button{width:100%;display:flex;align-items:center;gap:8px;height:36px;padding:0 10px;border:0;border-radius:8px;background:none;cursor:pointer;font:400 13.5px/18px "Medeo Sans",sans-serif;color:var(--n2-t1);text-align:left}
html.ui2 .n3-ppl>button>span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .n3-ppl>button>small{flex:none;font-size:12px;color:var(--n2-t2)}
html.ui2 .n3-ppl>button:hover{background:var(--n2-fill)}html.ui2 .n3-ppl>button.on{background:#EEF5FF;cursor:default}html.ui2 .n3-ppl>button.on small{color:var(--n2-bluet)}
html.ui2 .n3-ppb{flex:1;min-height:0;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:14px}
html.ui2 .n3k-msg{display:flex;gap:10px;align-items:flex-start}
html.ui2 .n3-ppa{width:24px;height:24px;flex:none;border-radius:50%;background:#EEF5FF;color:var(--n2-blue);display:grid;place-items:center}html.ui2 .n3-ppa svg{width:14px;height:14px}
html.ui2 .n3-txt{flex:1;min-width:0;font:400 13.5px/20px "Medeo Sans",sans-serif;color:var(--n2-t1)}html.ui2 .n3-txt p{margin:8px 0 0}html.ui2 .n3k-mut,html.ui2 .n3k-note{color:var(--n2-t2);font-size:12.5px}html.ui2 .n3k-note{margin:0 0 0 34px;font:400 12px/16px "Medeo Sans",sans-serif}
html.ui2 .n3-acts{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
html.ui2 .n3-chk{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
html.ui2 .n3-chk>button{height:28px;padding:0 10px;border:1px solid #F3D58A;border-radius:999px;background:#FFF8E6;color:#7A4E00;font:400 12.5px/16px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2 .n3-prog{flex:1;min-width:0;border:1px solid var(--n2-bd);border-radius:14px;padding:12px 14px}
html.ui2 .n3-prh{display:flex;justify-content:space-between;font:400 13px/18px "Medeo Sans",sans-serif;color:var(--n2-t2)}html.ui2 .n3-prh b{font-weight:600;color:var(--n2-t1)}
html.ui2 .n3k-bar{display:block;height:4px;border-radius:2px;background:var(--n2-fill);margin:8px 0 6px;overflow:hidden}html.ui2 .n3k-bar em{display:block;height:100%;background:var(--n2-blue);border-radius:2px;transition:width .3s ease}
html.ui2 .n3k-step{display:flex;align-items:center;gap:8px;height:26px;font:400 13px/18px "Medeo Sans",sans-serif;color:var(--n2-t3)}
html.ui2 .n3k-step i{width:16px;height:16px;flex:none;border-radius:50%;border:1.5px dashed #B8C4D6;box-sizing:border-box;display:grid;place-items:center}
html.ui2 .n3k-step.ok{color:var(--n2-t1)}html.ui2 .n3k-step.ok i{border:0;color:var(--n2-ok)}html.ui2 .n3k-step.ok i svg{width:14px;height:14px}
html.ui2 .n3k-step.cur{color:var(--n2-t1)}html.ui2 .n3k-step.cur i{border:2px solid var(--n2-blue);border-right-color:transparent;animation:n3spin 1s linear infinite}
html.ui2 .n3k-step small{margin-left:auto;color:var(--n2-t2);font-size:12px}
@keyframes n3spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){html.ui2 .n3k-step.cur i{animation:none}html.ui2 .n3-pp{animation:none}}
html.ui2 .n3-pp #edChat .ed-chat{margin:0;border:0;padding:0;box-shadow:none;background:none}
html.ui2 .n3-pp #edChat .ec-h{display:none}
html.ui2 .n3-pp #edChat .ec-me{margin-left:auto;max-width:85%;width:max-content;background:var(--n2-fill);border-radius:14px;padding:8px 12px;font:400 13.5px/20px "Medeo Sans",sans-serif;margin-bottom:12px}
html.ui2 .n3-ppf{flex:none;display:flex;align-items:center;gap:8px;margin:12px;padding:4px 4px 4px 14px;border:1px solid var(--n2-bd);border-radius:999px;background:#fff}
html.ui2 .n3-ppf:focus-within{border-color:#9CC8FD;box-shadow:0 0 0 3px rgba(11,132,251,.12)}
html.ui2 .n3-ppf input{flex:1;min-width:0;height:32px;border:0!important;background:none!important;box-shadow:none!important;outline:0;padding:0!important;font:400 13.5px/18px "Medeo Sans",sans-serif;color:var(--n2-t1)}
html.ui2 .n3-send{width:32px;height:32px;flex:none;border:0;border-radius:50%;background:var(--n2-t1);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}html.ui2 .n3-send svg{color:#fff;stroke:#fff}html.ui2 .n3-send:disabled{opacity:.35}
html.ui2 .n3-ppoff{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 28px;gap:12px}
html.ui2 .n3-ppbig{width:56px;height:56px;border-radius:50%;background:#EEF5FF;color:var(--n2-blue);display:grid;place-items:center}html.ui2 .n3-ppbig svg{width:28px;height:28px}
html.ui2 .n3-ppoff b{font:600 17px/22px "Medeo Sans",sans-serif;color:var(--n2-t1)}html.ui2 .n3-ppoff p{margin:0;font:400 13px/20px "Medeo Sans",sans-serif;color:var(--n2-t2)}
html.ui2 .n3k-lnk{border:0;background:none;color:var(--n2-blue);font:400 13.5px/18px "Medeo Sans",sans-serif;cursor:pointer;padding:4px}
html.ui2 #dialog.n3-ed ::-webkit-scrollbar{width:8px;height:8px}html.ui2 #dialog.n3-ed ::-webkit-scrollbar-thumb{background:rgba(21,23,28,.22);border-radius:4px;border:2px solid transparent;background-clip:padding-box}html.ui2 #dialog.n3-ed ::-webkit-scrollbar-track{background:transparent}
html.ui2 #dialog.n3-ed .ph-url{flex-wrap:wrap}html.ui2 #dialog.n3-ed .ph-url input{flex:1 1 100%;min-width:0}html.ui2 #dialog.n3-ed .ph-url .btn{flex:1 1 100%}
html.ui2 #dialog.n3-ed .ph-find-btn{white-space:normal;height:auto!important;min-height:32px;text-align:left;padding:6px 8px!important;line-height:18px}
html.ui2 #dialog.n3-ed .drop{padding:20px 12px!important}
html.ui2 .n3-ppb>*{flex:none}
/* 6.57.1 Карточки: таблица как в Товарах — ширины, шрифты, сортировка */
html.ui2 #content #cardTable table.kc-t{table-layout:fixed!important;width:100%!important;min-width:0!important}
html.ui2 #content #cardTable table.kc-t th:nth-child(1){width:52px!important}
html.ui2 #content #cardTable table.kc-t th:nth-child(2){width:300px!important;min-width:300px!important;max-width:300px!important}
html.ui2 #content #cardTable table.kc-t th:nth-child(n+3){width:auto!important;min-width:0!important;max-width:none!important}
html.ui2 #content #cardTable table.kc-t th:last-child{width:96px!important}
html.ui2 #content #cardTable table.kc-t th{position:relative;height:46px;font:600 12px/16px "Medeo Sans",sans-serif!important;color:var(--n2-t1)!important;white-space:nowrap}
html.ui2 #content #cardTable table.kc-t th .th-sort{all:unset;cursor:pointer;font:inherit;color:inherit;white-space:nowrap}
html.ui2 #content #cardTable table.kc-t th .sort-ar{display:inline!important;position:absolute;right:6px;top:50%;transform:translateY(-50%);width:auto;margin:0;font-size:11px;opacity:0;transition:opacity .15s;color:inherit}
html.ui2 #content #cardTable table.kc-t th.sortable:hover .sort-ar{opacity:.45}
html.ui2 #content #cardTable table.kc-t th.sortable.on .sort-ar{opacity:1;color:var(--n2-blue)}
html.ui2 #content #cardTable table.kc-t td{height:66px;padding:0 8px;font:400 13px/18px "Medeo Sans",sans-serif!important;color:var(--n2-t1);font-variant-numeric:tabular-nums;overflow:hidden}
html.ui2 #content #cardTable table.kc-t td.cb,html.ui2 #content #cardTable table.kc-t th.cb{padding:0!important;text-align:center!important}
html.ui2 #content #cardTable table.kc-t td.l{text-align:left}
html.ui2 #content #cardTable .kc-p{display:flex;align-items:center;gap:12px;min-width:0}
html.ui2 #content #cardTable .kc-p>div{min-width:0}
html.ui2 #content #cardTable .kc-p b{font:400 13px/18px "Medeo Sans",sans-serif!important;color:var(--n2-t1)!important}
html.ui2 #content #cardTable .kc-th{width:44px!important;height:44px!important;flex:none;border-radius:10px!important;object-fit:contain;background:#fff}
html.ui2 #content #cardTable .kc-th.e{background:var(--n2-fill)!important;display:grid;place-items:center}
html.ui2 #content #cardTable .n3-art span{font:400 13px/18px "Medeo Sans",sans-serif!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 #content #cardTable .n3-art small{font:400 12px/16px "Medeo Sans",sans-serif!important;color:var(--n2-t2)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 #content #cardTable td.kc-cat{white-space:normal!important}
html.ui2 #content #cardTable td.kc-cat{display:table-cell}
html.ui2 #content #cardTable td.kc-cat>*,html.ui2 #content #cardTable td.kc-cat{overflow-wrap:anywhere}
html.ui2 #content #cardTable td .num,html.ui2 #content #cardTable td.num{font:400 13px/18px "Medeo Sans",sans-serif!important}
html.ui2 #content #cardTable .kc-s{display:flex;flex-direction:column;align-items:center;gap:2px}
html.ui2 #content #cardTable .kc-st{border:0!important;background:none!important;padding:0!important;height:auto!important;display:inline-flex;align-items:center;gap:6px;font:400 13px/18px "Medeo Sans",sans-serif!important;color:var(--n2-t1)!important;white-space:nowrap}
html.ui2 #content #cardTable .kc-st i{width:7px!important;height:7px!important;border-radius:50%;flex:none}
html.ui2 #content #cardTable .kc-s small,html.ui2 #content #cardTable .kc-s .kc-lnk{font:400 12px/16px "Medeo Sans",sans-serif!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
html.ui2 #content #cardTable .kc-s small{color:var(--n2-t2)!important}
html.ui2 #content #cardTable .kc-ct{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.ui2 #content #cardTable table.kc-t thead th{background:var(--n2-sel)!important;box-shadow:1px 0 0 0 var(--n2-sel)!important}html.ui2 #content #cardTable table.kc-t thead th:last-child{box-shadow:none!important}
/* 6.58.0 Таблицы Товаров, Репрайсера и Карточек одного вида (макеты Main, Repricer, Kartochki-list-tn) */
html.ui2 #content :is(#prodTable,#protTable,#cardTable) tbody td{font:400 13px/18px "Medeo Sans",sans-serif!important;color:#15171C}
html.ui2 #content :is(#prodTable,#protTable,#cardTable) td small{display:block;font:400 12px/16px "Medeo Sans",sans-serif!important;color:#6B7280}
html.ui2 #content :is(#prodTable,#protTable,#cardTable) .prod{gap:12px!important;min-width:0}
html.ui2 #content :is(#prodTable,#protTable,#cardTable) .prod>div{min-width:0}
html.ui2 #content :is(#prodTable,#protTable,#cardTable) .prod b{display:block!important;-webkit-line-clamp:unset!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font:500 13px/18px "Medeo Sans",sans-serif!important;color:#15171C!important}
html.ui2 #content :is(#prodTable,#protTable,#cardTable) .prod small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:0!important}
html.ui2 #content :is(#prodTable,#protTable,#cardTable) .prod .thumb{width:40px!important;height:40px!important;flex:none;border-radius:8px!important}
html.ui2 #content #prodTable td.p-price b.num,html.ui2 #content #cardTable .kc3 b.num{font:500 13px/18px "Medeo Sans",sans-serif!important}
html.ui2 #content #prodTable td.p-price small{font-size:11px!important;line-height:14px!important}
html.ui2 #content #protTable b.num{font:400 13px/18px "Medeo Sans",sans-serif!important}
html.ui2 #content #cardTable .kc3 td.l{padding-right:16px!important}
html.ui2 #content #cardTable .kc3 .kc-ct{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;overflow-wrap:anywhere}
html.ui2 #content #cardTable .kc3 .kc3-tn small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 #content #cardTable .kc3 .kc3-tn small.kc-kiz{color:#B7791F!important}
html.ui2 #content #cardTable .kc3-st{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
html.ui2 #content #cardTable .kc3-st i{width:8px;height:8px;flex:none;border-radius:50%;background:#9AA1AE}
html.ui2 #content #cardTable .kc3-st i.g{background:#22A55B}html.ui2 #content #cardTable .kc3-st i.b{background:#0B84FB}html.ui2 #content #cardTable .kc3-st i.y{background:#F2B200}html.ui2 #content #cardTable .kc3-st i.r{background:#E5484D}
html.ui2 #content #cardTable table.kc3 tbody td{height:64px}
html.ui2 #content #cardTable table.kc3 th:nth-child(5){width:104px!important}
html.ui2 #content #cardTable table.kc3 th:nth-child(6){width:136px!important}
html.ui2 #content #cardTable table.kc3 th:nth-child(7){width:176px!important}
html.ui2 #content #cardTable .kc3-st{display:inline-flex;min-width:0}
html.ui2 #content #cardTable table.kc3 td:nth-child(2){padding-left:14px!important}html.ui2 #content #cardTable table.kc3 th:nth-child(2){padding-left:0!important}
html.ui2 #content #cardTable table.kc3 th:nth-child(2){padding-left:8px!important}
html.ui2:root:root body #content #protTable table th:nth-child(2){width:auto!important;min-width:0!important;max-width:none!important}
html.ui2:root:root body #content #protTable table td:nth-child(2){padding-left:14px!important}html.ui2:root:root body #content #protTable table th:nth-child(2){padding-left:0!important;text-align:left}
/* 6.59 Мой склад: общая таблица (макет Sklad-one), История, панели Приход и КИЗы */
html.ui2 #content .w3-card{display:flex;flex-direction:column}
html.ui2 #content .w3-card>.tablewrap{flex:1;min-height:0}
html.ui2 #content table.w3-t,html.ui2 #content table.w3-h{table-layout:fixed;width:100%}
html.ui2 #content table.w3-t th,html.ui2 #content table.w3-h th{position:relative;height:46px;font:600 12px/16px "Medeo Sans",sans-serif!important;color:#15171C!important;background:var(--n2-sel)!important;box-shadow:1px 0 0 0 var(--n2-sel)!important;white-space:nowrap}
html.ui2 #content table.w3-t th .th-sort{all:unset;cursor:pointer;font:inherit;color:inherit;white-space:nowrap}
html.ui2 #content table.w3-t th .sort-ar{display:inline!important;position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:11px;opacity:0;transition:opacity .15s}
html.ui2 #content table.w3-t th.sortable:hover .sort-ar{opacity:.45}html.ui2 #content table.w3-t th.sortable.on .sort-ar{opacity:1;color:var(--n2-blue)}
html.ui2 #content table.w3-t th:nth-child(2){padding-left:0!important;text-align:left}
html.ui2 #content table.w3-t td,html.ui2 #content table.w3-h td{height:64px;padding:0 6px;font:400 13px/18px "Medeo Sans",sans-serif!important;color:#15171C;border-top:1px solid var(--n2-bd)!important;background:#fff;font-variant-numeric:tabular-nums;overflow:hidden}
html.ui2 #content table.w3-t td.cb,html.ui2 #content table.w3-t th.cb{padding:0!important;text-align:center}
html.ui2 #content table.w3-t td:nth-child(2){padding-left:14px!important;padding-right:12px!important}
html.ui2 #content table.w3-t tr.selected td{background:#EEF5FF}
html.ui2 #content table.w3-t tr.zero td:not(.cb){color:#9AA1AE}
html.ui2 #content .w3-av{width:20px;height:20px;flex:none;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font:600 10px/1 "Medeo Sans",sans-serif}
html.ui2 #content .w3-cl,html.ui2 #content .w3-clt{all:unset;display:inline-flex;align-items:center;gap:6px;max-width:100%;min-width:0;cursor:pointer;font:400 12px/16px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 #content .w3-clt{cursor:default;font-size:13px}
html.ui2 #content .w3-cl>span:last-child,html.ui2 #content .w3-clt>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
html.ui2 #content .w3-cl:hover>span:last-child{color:var(--n2-blue)}
html.ui2 #content .w3-szs{display:inline-flex;align-items:center;gap:4px;max-width:100%;overflow:hidden}
html.ui2 #content .w3-sz{height:24px;min-width:24px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;border:1px solid var(--n2-bd);border-radius:6px;font:400 12px/16px "Medeo Sans",sans-serif;background:#fff;white-space:nowrap}
html.ui2 #content .w3-sz.z{color:#C9292F;border-color:#F5C6BF}
html.ui2 #content .w3-szm{font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280;white-space:nowrap}
html.ui2 #content .w3-q{all:unset;cursor:pointer;font:500 13px/18px "Medeo Sans",sans-serif;font-variant-numeric:tabular-nums}html.ui2 #content .w3-q:hover{color:var(--n2-blue)}
html.ui2 #content td.w3-def{color:#C9292F}
html.ui2 #content .w3-d{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}html.ui2 #content .w3-d i{width:7px;height:7px;border-radius:50%;flex:none}
html.ui2 #content .w3-d.g i{background:#22A55B}html.ui2 #content .w3-d.y i{background:#F2B200}html.ui2 #content .w3-d.r{color:#C9292F}html.ui2 #content .w3-d.r i{background:#E5452B}html.ui2 #content .w3-d.n{color:#9AA1AE}
html.ui2 #content .w3-k{all:unset;height:26px;box-sizing:border-box;display:inline-flex;align-items:center;padding:0 10px;border-radius:99px;font:500 12px/16px "Medeo Sans",sans-serif;white-space:nowrap;cursor:pointer}
html.ui2 #content .w3-k.ok{background:#F3F3F5;color:#15171C}html.ui2 #content .w3-k.need{background:#FDEDEA;color:#B4321E}html.ui2 #content .w3-k.no{color:#9AA1AE;cursor:default;font-weight:400}
html.ui2 #content .w3-loc{all:unset;cursor:pointer;color:#4A5160;letter-spacing:.02em}html.ui2 #content .w3-loc:hover{color:var(--n2-blue)}
html.ui2 #content .w3-foot{height:48px;flex:none;box-sizing:border-box;border-top:1px solid var(--n2-bd);background:#FAFAFB;display:flex;align-items:center;gap:24px;padding:0 24px;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 #content .w3-foot:empty{display:none}html.ui2 #content .w3-foot b{color:#15171C;font-weight:600}
html.ui2 #content table.w3-h tr.w3-day td{height:46px;background:#FAFAFB!important;font:600 13px/18px "Medeo Sans",sans-serif!important}
html.ui2 #content table.w3-h td.w3-what{white-space:nowrap;text-overflow:ellipsis;color:#4A5160}
html.ui2 #content table.w3-h td.w3-n{font-weight:600!important}html.ui2 #content table.w3-h td.w3-n.up{color:#1A7A43!important}
html.ui2 #content .w3-op{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:99px;font:400 13px/18px "Medeo Sans",sans-serif;white-space:nowrap;background:#F3F3F5;color:#15171C}
html.ui2 #content .w3-op.g{background:#E6F6EE;color:#1A7A43}html.ui2 #content .w3-op.b{background:#EAF3FF;color:#0B6FD6}html.ui2 #content .w3-op.r{background:#FDEDEA;color:#B4321E}
/* Панель справа: Приход, КИЗы */
html.ui2 #dialog.w3-dlg{padding:0!important;height:calc(100vh - 96px)!important;max-height:calc(100vh - 96px)!important;overflow:hidden!important;border-radius:20px!important}
html.ui2 #dialog.w3-dlg .w3p{height:100%;display:flex;flex-direction:column}
html.ui2 .w3p-h{flex:none;display:flex;align-items:flex-start;gap:12px;padding:20px 24px 16px;border-bottom:1px solid var(--n2-bd)}
html.ui2 .w3p-h>div{flex:1;min-width:0}html.ui2 .w3p-h h2{margin:0;font:600 17px/22px "Medeo Sans",sans-serif;color:#15171C}html.ui2 .w3p-h p{margin:2px 0 0;font:400 13px/18px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 .w3p-x{width:32px;height:32px;flex:none;border:1px solid var(--n2-bd);border-radius:50%;background:#fff;display:grid;place-items:center;cursor:pointer;padding:0;color:#15171C}html.ui2 .w3p-x:hover{background:var(--n2-fill)}
html.ui2 .w3p-b{flex:1;min-height:0;overflow:auto;padding:16px 24px;display:flex;flex-direction:column;gap:12px}
html.ui2 .w3p-f{flex:none;display:flex;align-items:center;gap:8px;padding:12px 24px;border-top:1px solid var(--n2-bd)}
html.ui2 .w3-f{display:flex;flex-direction:column;gap:6px;font:400 13px/18px "Medeo Sans",sans-serif;color:#4A5160}html.ui2 .w3-f select{height:40px}
html.ui2 .w3-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html.ui2 .w3-btn{height:40px;box-sizing:border-box;padding:0 16px;border:1px solid var(--n2-bd);border-radius:99px;background:#fff;color:#15171C;font:450 13.5px/18px "Medeo Sans",sans-serif;cursor:pointer;white-space:nowrap}
html.ui2 .w3-btn:hover:not(:disabled){background:var(--n2-fill)}html.ui2 .w3-btn:disabled{opacity:.45;cursor:default}html.ui2 .w3-btn.sm{height:32px;padding:0 12px;font-size:13px}
html.ui2 .w3-btn.pri{background:var(--n2-blue);border-color:var(--n2-blue);color:#fff;font-weight:500}html.ui2 .w3-btn.pri:hover:not(:disabled){background:#0A78E4}
html.ui2 .w3-btn.dark{background:#15171C;border-color:#15171C;color:#fff}
html.ui2 .w3-ih{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:12px;padding:4px 0 6px;border-bottom:1px solid var(--n2-bd);font:400 12px/16px "Medeo Sans",sans-serif;color:#4A5160}
html.ui2 .w3-ih.pl{grid-template-columns:minmax(0,1fr) 80px 80px}html.ui2 .w3-ih>span:not(:first-child){text-align:center}
html.ui2 .w3-il{display:flex;flex-direction:column;margin-top:-12px}
html.ui2 .w3-ir{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid var(--n2-bd)}
html.ui2 .w3-ir.pl{grid-template-columns:minmax(0,1fr) 80px 80px}
html.ui2 .w3-it{min-width:0}html.ui2 .w3-itt{display:flex;align-items:center;gap:6px;min-width:0;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 .w3-itt span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .w3-itt em{font-style:normal;flex:none;height:20px;min-width:20px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;border:1px solid var(--n2-bd);border-radius:5px;font-size:11px}
html.ui2 .w3-itt em.nw{border-color:#CFE3FD;color:var(--n2-bluet)}
html.ui2 .w3-it small{display:block;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}html.ui2 .w3-it small b{color:#15171C;font-weight:600}
html.ui2 .w3-in{height:40px;width:100%;box-sizing:border-box;border:1px solid var(--n2-bd)!important;border-radius:10px!important;background:#fff!important;text-align:center;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C;padding:0 6px!important}
html.ui2 .w3-in::-webkit-outer-spin-button,html.ui2 .w3-in::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
html.ui2 .w3-ir.on .w3-in:not(.pl){background:#EEF5FF!important;border-color:#CFE3FD!important}
html.ui2 .w3-in:focus{outline:0;border-color:var(--n2-blue)!important}
html.ui2 .w3-add{width:100%;height:40px;border:1px dashed #C9CDD4;border-radius:12px;background:none;font:450 13px/18px "Medeo Sans",sans-serif;color:#15171C;cursor:pointer}html.ui2 .w3-add:hover{background:var(--n2-fill)}
html.ui2 .w3-nf{display:grid;grid-template-columns:minmax(0,1fr) 64px 80px 56px auto auto;gap:6px;align-items:center}html.ui2 .w3-nf .input{height:36px;min-width:0}
html.ui2 .w3p-x.sm{width:28px;height:28px}
html.ui2 .w3-chk{display:inline-flex;align-items:center;gap:8px;font:400 13px/18px "Medeo Sans",sans-serif;color:#4A5160;cursor:pointer}html.ui2 .w3-chk input{width:17px;height:17px;accent-color:var(--n2-blue);margin:0}
html.ui2 .w3-ps textarea{width:100%;box-sizing:border-box}html.ui2 .w3-psf{display:flex;align-items:center;gap:8px;margin-top:6px}html.ui2 .w3-psf .w3-note{flex:1}
html.ui2 .w3-note{margin:0;font:400 12.5px/18px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 .w3-drop{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px dashed #C9CDD4;border-radius:14px;background:#FAFAFB}
html.ui2 .w3-drop.on{border-color:var(--n2-blue);background:#EEF5FF}html.ui2 .w3-drop>svg{width:20px;height:20px;color:#6B7280;flex:none}
html.ui2 .w3-drop>div{flex:1;min-width:0}html.ui2 .w3-drop b{display:block;font:500 13px/18px "Medeo Sans",sans-serif}html.ui2 .w3-drop small{font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 .w3p-sh{display:flex;justify-content:space-between;margin-top:4px;font:600 13px/18px "Medeo Sans",sans-serif;color:#4A5160}html.ui2 .w3p-sh span{font-weight:400;font-size:12px;color:#9AA1AE}
html.ui2 .w3-list{border:1px solid var(--n2-bd);border-radius:14px;overflow:hidden}
html.ui2 .w3-li{all:unset;box-sizing:border-box;width:100%;display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 16px;border-top:1px solid var(--n2-bd);cursor:pointer;font:400 13px/18px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 .w3-li:first-child{border-top:0}html.ui2 .w3-li:hover{background:var(--n2-fill)}
html.ui2 .w3-li>span{flex:1;min-width:0}html.ui2 .w3-li b{display:block;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html.ui2 .w3-li small{display:block;font-size:12px;color:#6B7280}
html.ui2 .w3-li em{font-style:normal;color:#6B7280;white-space:nowrap}html.ui2 .w3-li em.r{color:#C9292F;font-weight:500}
html.ui2 .w3-dot{width:8px;height:8px;border-radius:50%;flex:none;margin:0 4px}html.ui2 .w3-dot.r{background:#E5452B}html.ui2 .w3-dot.y{background:#F2B200}
html.ui2 .w3-ok{width:16px;flex:none;color:#22A55B;display:grid;place-items:center}html.ui2 .w3-ok svg{width:15px;height:15px}
html.ui2 #content table.w3-t td.cb,html.ui2 #content table.w3-t th.cb{text-align:center!important;padding:0!important}
html.ui2 #content table.w3-t td.cb input,html.ui2 #content table.w3-t th.cb input{margin:0 auto!important;display:block}
html.ui2 #content table.w3-h th:not(.c),html.ui2 #content table.w3-h td:not(.c){text-align:left!important}
html.ui2 #content table.w3-h th:first-child,html.ui2 #content table.w3-h td:first-child{padding-left:20px!important}
html.ui2 #content table.w3-t td:nth-child(9){white-space:nowrap}
html.ui2 .w3p-b .w3-iq{width:100%!important;max-width:none!important;flex:none}
/* 6.59 Карта склада (макеты Sklad-map, Sklad-map-edit, Sklad-map-new) */
html.ui2 body .workspace:has(#content .w3m) .pghead{display:none!important}
html.ui2 #content .w3m{display:flex;flex-direction:column;height:calc(100vh - 56px - 24px);min-height:520px;box-sizing:border-box;padding-top:16px}
html.ui2 #content .w3-back{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;margin:0 0 8px;font:400 13px/18px "Medeo Sans",sans-serif;color:var(--n2-blue);text-decoration:none}
html.ui2 #content .w3-back svg{width:15px;height:15px}
html.ui2 #content .w3m-h{display:flex;align-items:center;gap:8px;flex:none}
html.ui2 #content .w3m-h>div{flex:1;min-width:0}html.ui2 #content .w3m-h h1{margin:0;font:600 26px/32px "Medeo Sans",sans-serif;color:#15171C}html.ui2 #content .w3m-h p{margin:4px 0 0;font:400 13px/18px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 #content .w3m-bar{margin:16px 0!important;flex:none;gap:8px}
html.ui2 #content .w3-chip{display:inline-flex;align-items:center;gap:6px;height:40px;box-sizing:border-box;padding:0 6px 0 16px;border:1px solid var(--n2-bd);border-radius:99px;background:#fff;font:450 13.5px/18px "Medeo Sans",sans-serif;white-space:nowrap}
html.ui2 #content .w3-chip button{width:26px;height:26px;border:0;border-radius:50%;background:var(--n2-fill);display:grid;place-items:center;cursor:pointer;padding:0}
html.ui2 #content .w3-leg{display:inline-flex;align-items:center;gap:8px;font:400 13px/18px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 #content .w3-leg i{width:12px;height:12px;border-radius:3px;display:inline-block;margin-left:12px}html.ui2 #content .w3-leg i.hi{background:#D6E8FF}html.ui2 #content .w3-leg i.on{background:var(--n2-blue)}
html.ui2 #content .w3m-g{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px}
html.ui2 #content .w3m-c{position:relative;min-width:0;min-height:0;background:#fff;border:1px solid var(--n2-bd);border-radius:16px;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:24px}
html.ui2 #content .w3m-c.ed{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:stretch;justify-content:stretch;padding:16px}
html.ui2 #content .w3m-s{min-width:0;min-height:0;background:#fff;border:1px solid var(--n2-bd);border-radius:16px;display:flex;flex-direction:column;overflow:hidden}
html.ui2 #content .w3s-h{padding:20px 24px 16px;border-bottom:1px solid var(--n2-bd)}html.ui2 #content .w3s-h b{display:block;font:600 17px/22px "Medeo Sans",sans-serif}html.ui2 #content .w3s-h small{display:block;margin-top:2px;font:400 13px/18px "Medeo Sans",sans-serif;color:#6B7280}
html.ui2 #content .w3s-p{padding:16px 24px}
html.ui2 #content .w3s-lv{margin:12px 24px 0;align-self:flex-start}
html.ui2 #content .w3s-l{flex:1;min-height:0;overflow:auto;padding:8px 24px 16px;display:flex;flex-direction:column;gap:4px}
html.ui2 #content .w3s-r{display:flex;align-items:center;gap:12px;padding:8px 0}
html.ui2 #content .w3s-r>img,html.ui2 #content .w3s-r>span{width:36px;height:36px;flex:none;border-radius:8px;background:var(--n2-fill);object-fit:cover}
html.ui2 #content .w3s-r>div{flex:1;min-width:0}html.ui2 #content .w3s-r b{display:block;font:500 13px/18px "Medeo Sans",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html.ui2 #content .w3s-r small{display:block;font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 #content .w3s-r em{font-style:normal;font:500 13px/18px "Medeo Sans",sans-serif;white-space:nowrap}
html.ui2 #content .w3s-n{margin-top:8px;padding:12px 16px;border-radius:12px;background:#F5F6F8;font:400 13px/19px "Medeo Sans",sans-serif;color:#4A5160}html.ui2 #content .w3s-n b{color:#15171C;font-weight:600}
html.ui2 #content .w3s-na{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
html.ui2 #content .w3s-f{flex:none;display:flex;align-items:center;gap:8px;padding:14px 24px;border-top:1px solid var(--n2-bd)}
html.ui2 #content .w3s-t{display:inline-flex;align-items:center;gap:10px;font:400 13px/18px "Medeo Sans",sans-serif;color:#4A5160;cursor:pointer}
html.ui2 #content .w3-del{all:unset;cursor:pointer;color:#C9292F;font:450 13.5px/18px "Medeo Sans",sans-serif}html.ui2 #content .w3-del:hover{text-decoration:underline}
html.ui2 #content .w3i-r{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;border-bottom:1px solid var(--n2-bd);font:400 13.5px/18px "Medeo Sans",sans-serif;color:#15171C}
html.ui2 #content .w3i-in{width:180px;height:36px}html.ui2 #content .w3i-in.sm{width:56px;text-align:center}
html.ui2 #content .w3-step{display:inline-flex;align-items:center;gap:4px;height:36px;padding:0 3px;border:1px solid var(--n2-bd);border-radius:99px}
html.ui2 #content .w3-step button{width:28px;height:28px;border:0;border-radius:50%;background:var(--n2-fill);cursor:pointer;font:500 16px/1 "Medeo Sans",sans-serif;padding:0}html.ui2 #content .w3-step button:disabled{opacity:.35;cursor:default}
html.ui2 #content .w3-step b{min-width:28px;text-align:center;font:500 14px/18px "Medeo Sans",sans-serif}
html.ui2 #content .w3-seg button{height:30px!important;padding:0 14px!important}
html.ui2 #content .w3-mw{display:inline-flex;align-items:center;gap:6px}html.ui2 #content .w3-mw input{width:80px;height:36px;text-align:center}
/* Холст */
html.ui2 #content .w3cv{position:relative;flex:none;background:none!important}
html.ui2 #content .w3cv.ed{background-image:radial-gradient(#D5D9E0 1px,transparent 1.3px)!important;background-size:var(--u) var(--u)!important;background-position:calc(var(--u)/-2) calc(var(--u)/-2)!important}
html.ui2 #content .w3cv .whm-svg{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}
html.ui2 #content .w3-floor{fill:#fff;fill-opacity:.6}html.ui2 #content .w3-wall{fill:none;stroke:#4A5160;stroke-width:3;stroke-linejoin:round}
html.ui2 #content .w3-sl{stroke:var(--n2-blue);stroke-width:2.5;stroke-dasharray:6 4}html.ui2 #content .w3-sd{fill:#fff;stroke:var(--n2-blue);stroke-width:2}
html.ui2 #content .w3-rk{position:absolute;display:grid;box-sizing:border-box;border:1px solid #B8BEC8;border-radius:4px;background:#F3F4F6}
html.ui2 #content .w3-rk .w3-s{border-left:1px solid #CDD2DA;min-width:0;min-height:0;transition:background-color .15s}
html.ui2 #content .w3-rk.v .w3-s{border-left:0;border-top:1px solid #CDD2DA}
html.ui2 #content .w3-rk .w3-s:first-of-type{border-left:0;border-top:0}
html.ui2 #content .w3-rk .w3-s[data-sec]{cursor:pointer}html.ui2 #content .w3-rk .w3-s[data-sec]:hover{background:#E8EBEF}
html.ui2 #content .w3-rk .w3-s.hi{background:#D6E8FF}
html.ui2 #content .w3-rk .w3-s.on{background:var(--n2-blue);box-shadow:0 0 0 2px #fff,0 0 0 4px #15171C;border-radius:3px;position:relative;z-index:2}
html.ui2 #content .w3-lt{position:absolute;right:calc(100% + 10px);top:50%;transform:translateY(-50%);font:600 15px/1 "Medeo Sans",sans-serif;color:#15171C}
html.ui2 #content .w3-rk.v .w3-lt{right:auto;left:50%;top:auto;bottom:calc(100% + 8px);transform:translateX(-50%)}
html.ui2 #content .w3-nums{position:absolute;left:0;right:0;top:calc(100% + 4px);display:grid;font:400 11px/14px "Medeo Sans",sans-serif;color:#9AA1AE;text-align:center;pointer-events:none}html.ui2 #content .w3-nums i{font-style:normal}
html.ui2 #content .w3-tip{position:absolute;bottom:calc(100% + 10px);transform:translateX(-50%);z-index:5;white-space:nowrap;padding:5px 12px;border-radius:99px;background:#15171C;color:#fff;font:500 12px/16px "Medeo Sans",sans-serif;pointer-events:none}
html.ui2 #content .w3-rk.v .w3-tip{bottom:auto}
html.ui2 #content .w3-sh{position:absolute;display:flex;box-sizing:border-box;border:1px solid #B8BEC8;border-radius:4px;background:#F3F4F6;overflow:visible}html.ui2 #content .w3-sh.v{flex-direction:column}
html.ui2 #content .w3-shp{flex:1;display:flex;align-items:center;justify-content:center;font:400 11px/14px "Medeo Sans",sans-serif;color:#4A5160;border-left:1px solid #CDD2DA;white-space:nowrap;overflow:hidden;cursor:pointer}
html.ui2 #content .w3-shp:first-child{border-left:0}html.ui2 #content .w3-shp.hi{background:#D6E8FF}html.ui2 #content .w3-shp.on{background:var(--n2-blue);color:#fff}
html.ui2 #content .w3-shl{position:absolute;left:0;bottom:calc(100% + 4px);font:400 11px/14px "Medeo Sans",sans-serif;color:#6B7280;white-space:nowrap}
html.ui2 #content .w3-z{position:absolute;box-sizing:border-box;border:1.5px dashed #C9CDD4;border-radius:6px;background:rgba(250,250,251,.7);display:flex;align-items:center;justify-content:center;text-align:center;cursor:pointer}
html.ui2 #content .w3-z span{font:400 13px/18px "Medeo Sans",sans-serif;color:#6B7280}html.ui2 #content .w3-z small{display:block;font-size:11px}
html.ui2 #content .w3-z.hi{background:#EAF3FF;border-color:#9CC8FD}html.ui2 #content .w3-z.on{border-color:var(--n2-blue);border-style:solid;background:#EAF3FF}
html.ui2 #content .w3-col{position:absolute;display:grid;place-items:center}html.ui2 #content .w3-col i{width:60%;height:60%;background:#C9CDD4;border-radius:2px}
html.ui2 #content .w3-door{position:absolute;display:flex;flex-direction:column;align-items:center}
html.ui2 #content .w3-door i{width:100%;height:0;border-top:3px dashed var(--n2-blue);margin-top:calc(50% - 2px)}
html.ui2 #content .w3-door:not(.v) i{margin-top:0;position:absolute;top:0}
html.ui2 #content .w3-door span{position:absolute;top:calc(100% + 4px);font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280;white-space:nowrap}
html.ui2 #content .w3-door.v i{width:0;height:100%;border-top:0;border-left:3px dashed var(--n2-blue);margin:0}
html.ui2 #content .w3-door.v span{top:50%;left:calc(100% + 6px);transform:translateY(-50%)}
html.ui2 #content .w3cv.ed [data-id]{cursor:move}
html.ui2 #content .w3cv .sel{outline:1.5px dashed var(--n2-blue);outline-offset:5px;z-index:3}
html.ui2 #content .w3-hd{position:absolute;width:9px;height:9px;border:1.5px solid var(--n2-blue);border-radius:50%;background:#fff;z-index:4}
html.ui2 #content .w3-hd.a{left:-10px;top:-10px}html.ui2 #content .w3-hd.b{right:-10px;top:-10px}html.ui2 #content .w3-hd.c{left:-10px;bottom:-10px}html.ui2 #content .w3-hd.d{right:-10px;bottom:-10px;cursor:nwse-resize}
html.ui2 #content .w3-tools{display:flex;flex-direction:column;gap:4px;padding:6px;border:1px solid var(--n2-bd);border-radius:14px;align-self:flex-start;background:#fff}
html.ui2 #content .w3-tools button{width:40px;height:40px;border:0;border-radius:10px;background:none;color:#15171C;display:grid;place-items:center;cursor:pointer;padding:0}
html.ui2 #content .w3-tools button:hover{background:var(--n2-fill)}html.ui2 #content .w3-tools button.on{background:#15171C;color:#fff}
html.ui2 #content .w3-ew{position:relative;min-width:0;min-height:0;overflow:auto}
html.ui2 #content .w3-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(440px,90%);box-sizing:border-box;padding:28px 32px;border:1.5px dashed #C9CDD4;border-radius:20px;background:#fff;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}
html.ui2 #content .w3-empty>span{width:48px;height:48px;border-radius:12px;background:var(--n2-fill);display:grid;place-items:center}html.ui2 #content .w3-empty>span svg{width:22px;height:22px;color:#4A5160}
html.ui2 #content .w3-empty b{font:600 17px/22px "Medeo Sans",sans-serif}html.ui2 #content .w3-empty p{margin:0;font:400 13px/20px "Medeo Sans",sans-serif;color:#6B7280}html.ui2 #content .w3-empty small{font:400 12px/16px "Medeo Sans",sans-serif;color:#9AA1AE}
html.ui2 #content .w3-empty .w3-btn{margin-top:6px}
html.ui2 .w3p-f .w3-btn{padding:0 14px;font-size:13px}html.ui2 .w3p-f .w3-chk{white-space:nowrap;font-size:12.5px}html.ui2 .w3p-f{padding:12px 20px}
html.ui2 #content table.w3-t td:last-child,html.ui2 #content table.w3-t th:last-child{padding:0 8px 0 0!important}
html.ui2 #content table.w3-t th{padding:0 4px!important}html.ui2 #content table.w3-t th .sort-ar{right:0}
@media (max-width:1279px){html.ui2 #content table.w3-t col:nth-child(4){width:92px!important}html.ui2 #content table.w3-t col:nth-child(5){width:76px!important}html.ui2 #content table.w3-t col:nth-child(6){width:48px!important}html.ui2 #content table.w3-t col:nth-child(7){width:96px!important}html.ui2 #content table.w3-t col:nth-child(8){width:100px!important}html.ui2 #content table.w3-t.pl col:nth-child(9){width:76px!important}html.ui2 #content .w3-szm{display:none}}
html.ui2 .w3-btn.dark:hover:not(:disabled),html.ui2 .w3-btn.dark:active{background:#2B2E35!important;border-color:#2B2E35!important;color:#fff!important}
html.ui2 .w3-btn.pri:active{background:#0A6FD4!important;color:#fff!important}

/* 6.59.2: меню слева с иконкой и текстом, как в прежнем дизайне (утверждено владельцем 14.11 по снимку) */
html.ui2 #root>.app{grid-template-columns:198px minmax(0,1fr)!important}
html.ui2 aside.side{width:198px!important;min-width:198px!important;background:#F3F3F5!important;border-right:1px solid var(--n2-bd)!important}
html.ui2 aside.side .n3-rail{align-items:stretch;padding:16px 12px 12px}
html.ui2 aside.side .n3-logo{width:auto;height:32px;display:flex;align-items:center;padding:0 4px;margin-bottom:22px}html.ui2 aside.side .n3-logo img{width:auto;height:28px}
html.ui2 aside.side .n3-grp{width:100%;align-items:stretch;padding:0;background:none;border:0;border-radius:0}
html.ui2 aside.side .n3-grp+.n3-grp{margin-top:10px;padding-top:10px;border-top:1px solid #DADCE0}
html.ui2 aside.side .n3-it{width:100%;height:34px;justify-content:flex-start;gap:12px;padding:0 4px;border-radius:8px;box-sizing:border-box;background:none}
html.ui2 aside.side .n3-it:hover{background:#EBEBEE}
html.ui2 aside.side .n3-it svg{width:20px;height:20px;flex:none}
html.ui2 aside.side .n3-lb{flex:1;min-width:0;text-align:left;font:400 14px/20px "Medeo Sans",sans-serif;color:#15171C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 aside.side .n3-it.on .n3-lb{font-weight:600}
html.ui2 aside.side .n3-b{position:static;flex:none;height:20px;min-width:20px;padding:0 6px;border-radius:10px;font:600 11px/20px "Medeo Sans",sans-serif}
html.ui2 aside.side .n3-prof{width:100%;display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--n2-bd);border-radius:14px;background:#fff;cursor:pointer;text-align:left;font-family:"Medeo Sans",sans-serif}
html.ui2 aside.side .n3-prof:hover{background:#FBFBFC}
html.ui2 aside.side .n3-prof .n3-ava{width:32px;height:32px;flex:none}
html.ui2 aside.side .n3-prof .n3-ava>*{width:32px!important;height:32px!important;font:500 13px/32px "Medeo Sans",sans-serif!important}
html.ui2 aside.side .n3-pn{flex:1;min-width:0;display:flex;flex-direction:column}
html.ui2 aside.side .n3-pn b{font:560 13px/17px "Medeo Sans",sans-serif;color:#15171C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 aside.side .n3-pn small{font:400 12px/16px "Medeo Sans",sans-serif;color:#6B7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 aside.side .n3-pd{flex:none;color:#15171C;font-size:16px}
html.ui2 aside.side .n3-menu{left:0!important;bottom:calc(100% + 8px)!important;width:100%!important}
@media (max-height:680px){html.ui2 aside.side .n3-it{width:100%;height:30px}html.ui2 aside.side .n3-grp{width:100%}html.ui2 aside.side .n3-logo{margin-bottom:12px}}
html.ui2 #content table thead th,html.ui2 #content table thead th .th-sort{white-space:normal!important;line-height:16px}
html.ui2 #content #protTable .prod b,html.ui2 #content #protTable .prod .pn{white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:1500px){html.ui2 #rkTable th.rkv-h-bid{width:212px!important}html.ui2 #rkTable th.rkv-h-key{width:124px!important}html.ui2 #rkTable .rkv-key .n2-st{width:112px}html.ui2 #rkTable th.rkv-h-bud{width:104px!important}html.ui2 #rkTable th.rkv-h-sum{width:80px!important}html.ui2 #rkTable th.rkv-h-orders{width:60px!important}html.ui2 #rkTable th.rkv-h-share,html.ui2 #rkTable th.rkv-h-ctr{width:54px!important}html.ui2 #rkTable table.rkv-t th.rkv-sE{width:84px!important}}
@media (max-width:1500px){html.ui2:root:root body.pt-v2 #prodTable table th:nth-child(2){width:250px!important;min-width:250px!important;max-width:250px!important}}
