/* Этап 1 нового дизайна: каркас «меню сверху, как кабинет WB». Слой поверх n4.css, только html.ui2 (компьютер, ширина > 760).
   html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) = html.ui2 с повышенной специфичностью (на одну ступень выше n4.css), чтобы правила n4 не перебивали.
   Здесь: шапка 64 + выпадающие меню, меню аккаунта, заголовок страницы, строка инструментов, таблица от края до края (.n5-tw),
   страницы таблицы (.n5-pg), панель справа (.n5-pan), окно подтверждения (#dialog.n5-cf), сообщение внизу (.n5-tst),
   сообщения справа сверху (#toast), состояния (.n5-skel, .n5-empty, .n5-band, .n5-first). Телефон не трогаем. */

/* ---------- каркас: левой колонки нет, рабочая область на всю ширину ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root>.app{display:block!important;grid-template-columns:none!important;background:#FFFFFF!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) aside.side{display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body .workspace{padding:0 40px 48px!important;min-height:calc(100vh * var(--zi,1));overflow-x:clip}
/* В-17: круглая кнопка ПероAI (56 px, справа снизу) не закрывает «Далее» постраничной навигации в самом низу страницы */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) body:has(#peFab.pe-fab5) .workspace:is(:has(#content .n5-pg),:has(#content>.h5-ov)){padding-bottom:96px!important}

/* ---------- шапка 64: логотип · разделы · справа аккаунт ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .topbar{position:sticky!important;top:0!important;z-index:95!important;height:65px!important;min-height:65px!important;box-sizing:border-box!important;margin:0 -40px!important;padding:0 40px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:40px!important;border:0!important;border-bottom:1px solid #E8E8E8!important;background:#FFFFFF!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .topbar>.upd,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .topbar>.top-right{display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-logo{display:flex;align-items:center;gap:8px;height:40px;padding:0;border:0;background:none;cursor:pointer;color:#141414;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-logo svg{width:28px;height:28px;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-logo span{font:600 22px/28px "Medeo Sans",sans-serif;letter-spacing:-.02em}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-nav{display:flex;gap:4px;margin-left:-12px;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ni{position:relative;height:64px;display:flex;align-items:center}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tab{height:36px;padding:0 12px;border:0;border-radius:8px;display:flex;align-items:center;gap:6px;background:transparent;color:#4A4A4A;font:400 15px/20px "Medeo Sans",sans-serif;white-space:nowrap;cursor:pointer;transition:background-color .15s,color .15s}
/* В-7: наведение — светло-серая подложка .n5-hov (anim.js), которая переезжает между пунктами; цвет текста не меняется */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tab.on{background:#F3F3F3;color:#141414;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tab.open{background:#F3F3F3;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tab.off{color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tab svg{width:14px;height:14px;flex:none;stroke:#8A8A8A;transition:transform .15s}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tab.open svg{transform:rotate(180deg)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-n{min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;background:#EEF4FD;color:#0A6FDB;font:500 11px/18px "Medeo Sans",sans-serif;text-align:center;font-variant-numeric:tabular-nums;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-sp{flex:1}
/* выпадающее меню раздела */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-dd{position:absolute;top:58px;left:0;z-index:70;width:300px;box-sizing:border-box;padding:6px;border-radius:14px;background:#FFFFFF;box-shadow:0 0 0 1px #E3E3E3,0 12px 32px rgba(20,20,20,.12);animation:n5pop .14s cubic-bezier(.23,1,.32,1)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-dd[hidden]{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-dd.w320{width:320px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-di{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:0;border-radius:10px;background:none;text-align:left;cursor:pointer;color:#141414;font:inherit}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-di:hover,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-di:focus-visible,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-di.on{background:#F3F3F3;outline:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-di>span:first-child{flex:1;min-width:0;display:flex;flex-direction:column}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-di b{font:500 14px/20px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-di small{font:400 13px/18px "Medeo Sans",sans-serif;color:#8A8A8A}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-di.off b{color:#A3A3A3}
@keyframes n5pop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
/* аккаунт / магазин */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-aw{position:relative;height:64px;display:flex;align-items:center;flex:none;margin:0!important;padding:0!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-acc{height:36px;max-width:300px;padding:0 12px 0 8px;border:0;border-radius:10px;background:#F3F3F3;color:#141414;display:flex;align-items:center;gap:8px;font:400 14px/20px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-acc:hover,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-acc.open{background:#ECECEC}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-acc>b{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-acc>svg{width:14px;height:14px;flex:none;stroke:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-fl{width:20px;height:20px;border-radius:50%;overflow:hidden;flex:none;display:inline-flex;align-items:center;justify-content:center;background:#E8E8E8}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-fl svg.flag{width:30px!important;height:20px!important;max-width:none!important;flex:none;border:0!important;border-radius:0!important;box-shadow:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-fl.ini{background:#E8E8E8;color:#3D3D3D;font:600 10px/20px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-am{position:absolute;top:58px;right:0;z-index:70;width:320px;max-height:calc(100vh * var(--zi,1) - 80px);overflow:auto;box-sizing:border-box;padding:6px;border-radius:14px;background:#FFFFFF;box-shadow:0 0 0 1px #E3E3E3,0 12px 32px rgba(20,20,20,.12);font:400 14px/20px "Medeo Sans",sans-serif;color:#141414;animation:n5pop .14s cubic-bezier(.23,1,.32,1)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-am[hidden]{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amh{padding:10px 12px 8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amh b{display:block;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amh small{display:block;font-size:13px;line-height:18px;color:#666666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amd{height:1px;background:#EFEFEF;margin:4px 8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;box-sizing:border-box;padding:9px 12px;border:0;border-radius:8px;background:none;color:#141414;font:400 14px/20px "Medeo Sans",sans-serif;text-align:left;text-decoration:none;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami:hover,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami:focus-visible{background:#F3F3F3;outline:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami.on{background:#F3F3F3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami>small{flex:none;font-size:14px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami.danger{color:#B42318}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami:disabled{color:#A3A3A3;cursor:default;background:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-aml{display:block;width:100%;padding:6px 12px;border:0;background:none;color:#0A6FDB;font:400 14px/20px "Medeo Sans",sans-serif;text-align:left;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-aml:hover{text-decoration:underline;text-underline-offset:3px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amq{padding:6px 6px 8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amq input{display:block;width:100%;height:auto;box-sizing:border-box;padding:8px 12px;border:0!important;border-radius:10px;background:#FFFFFF!important;box-shadow:inset 0 0 0 1px #DCDCDC!important;font:400 14px/20px "Medeo Sans",sans-serif!important;color:#141414;outline:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amq input:focus,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amq input:focus-visible{box-shadow:inset 0 0 0 2px #0A6FDB!important;outline:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amq input::placeholder{color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ams{max-height:380px;overflow:auto}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ame{padding:9px 12px;color:#666666}
/* В-7, В-12 (макет M1): подложка при наведении — один элемент .n5-hov под пунктами шапки и вкладками переключателей (anim.js).
   Шапка — #F7F7F7 на белом (светлее активного #F3F3F3). В переключателе фон серый #F3F3F3, и #F7F7F7 на нём не видно — тот же шаг
   светлоты (на 8 уровней от фона): #FBFBFB — светлее фона, но без тени и не белая, как подложка выбранной вкладки.
   Переезжает между пунктами 0,25 с ease-out (как подложка вкладок п.33), появляется и исчезает по прозрачности; текст не меняет цвет. */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .topbar>.n5-hov{position:absolute;left:0;top:0;z-index:-1;height:36px;border-radius:8px;background:#F7F7F7;pointer-events:none;opacity:0;will-change:transform}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(.seg,.n5-seg,.f5-seg,.tk5-seg,.s5-seg,.pt-tb2,.cp4-seg,.n4-ut).n5-hseg{isolation:isolate}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(.seg,.n5-seg,.f5-seg,.tk5-seg,.s5-seg,.pt-tb2,.cp4-seg,.n4-ut)>.n5-hov{display:block!important;position:absolute!important;left:0;top:0;z-index:-1!important;margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;background:#FBFBFB!important;box-shadow:none!important;pointer-events:none;opacity:0;will-change:transform}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .topbar .n5-tab.on,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .topbar .n5-tab.open{position:relative}
/* В-13 (M1, решения 37, 41): Инбокс — колокольчик 36×36 справа у аккаунта, синий кружок-счётчик над значком, попап 380 */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pw{position:relative;height:64px;display:flex;align-items:center;flex:none;margin:0 -32px 0 0!important;padding:0!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pu{position:relative;width:36px;height:36px;padding:0;border:0;border-radius:10px;background:transparent;color:#141414;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pu.on,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pu.open{background:#F3F3F3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pu>svg{width:20px;height:20px;flex:none;stroke:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pub{position:absolute;top:1px;left:19px;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;background:#0A6FDB;color:#FFFFFF;font:600 11px/18px "Medeo Sans",sans-serif;text-align:center;font-variant-numeric:tabular-nums;box-shadow:0 0 0 2px #FFFFFF;pointer-events:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pp{position:absolute;top:58px;right:0;z-index:70;width:380px;box-sizing:border-box;padding:6px;border-radius:14px;background:#FFFFFF;box-shadow:0 0 0 1px #E3E3E3,0 12px 32px rgba(20,20,20,.12);font:400 14px/20px "Medeo Sans",sans-serif;color:#141414;animation:n5pop .14s cubic-bezier(.23,1,.32,1)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pp[hidden]{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pph{display:flex;align-items:baseline;gap:8px;padding:10px 12px 8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pph b{flex:1;font:500 15px/20px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pph small{font:400 13px/18px "Medeo Sans",sans-serif;color:#666666;font-variant-numeric:tabular-nums}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pp .n5-amd{margin:2px 8px 4px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppi{display:flex;gap:10px;width:100%;box-sizing:border-box;padding:9px 12px;border:0;border-radius:8px;background:none;text-align:left;color:inherit;font:inherit;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppi:hover,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppi:focus-visible{background:#F3F3F3;outline:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppi>i{width:8px;flex:none;padding-top:6px;box-sizing:content-box}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppi.u>i::before{content:"";display:block;width:8px;height:8px;border-radius:50%;background:#0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppx{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pp1{display:flex;gap:8px;align-items:baseline;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pp1>span{flex:1;min-width:0;font:400 13px/18px "Medeo Sans",sans-serif;color:#666666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pp1>small{font:400 12px/16px "Medeo Sans",sans-serif;color:#666666;white-space:nowrap;font-variant-numeric:tabular-nums}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pp2{font:400 14px/20px "Medeo Sans",sans-serif;color:#666666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppi.u .n5-pp2{color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppo{display:block;width:100%;box-sizing:border-box;padding:9px 12px;border:0;border-radius:8px;background:none;color:#0A6FDB;font:400 14px/20px "Medeo Sans",sans-serif;text-align:left;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppo:hover,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppo:focus-visible{background:#F3F3F3;outline:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppe{padding:12px;color:#666666;font:400 14px/20px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppk{padding:6px 12px 8px;display:flex;flex-direction:column;gap:14px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppk>i{display:block;height:34px;border-radius:8px;background:#F3F3F3}
/* значок ПероAI (п.41): фирменные лучи, цвет текста */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pero{display:inline-block;width:16px;height:16px;flex:none;vertical-align:-3px}
/* узкое окно: меньше воздуха, имя магазина сокращается */
@media (max-width:1100px){html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pw{margin-right:-8px!important}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .topbar{gap:16px!important}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-nav{margin-left:0;gap:0}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tab{padding:0 8px}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-acc{max-width:180px}}
@media (max-width:900px){html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-logo span{display:none}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-acc>b{display:none}}

/* ---------- заголовок страницы и строка инструментов ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pghead{margin:0!important;padding:28px 0 0!important;align-items:flex-end!important;gap:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pghead h1{font:500 32px/38px "Medeo Sans",sans-serif!important;letter-spacing:-.02em!important;color:#141414!important;margin:0!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pghead p{margin:6px 0 0!important;font:400 14px/20px "Medeo Sans",sans-serif!important;color:#666666!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content>.p-bar{top:65px!important;margin:6px -40px 2px!important;padding:16px 40px 12px!important;background:#FFFFFF!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content section.p-table thead th{top:133px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content #rkTable table.rk4 thead th,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content #rkTable table.rk4 thead th:is(.rkv-s0,.rkv-s1,.rkv-sE){top:133px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content .cp4-top{top:65px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content>.status-line{margin-top:12px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.ed-dlg{inset:65px 0 0 0!important}
/* переход к блоку страницы (например, «Отзывы и вопросы» в Обзоре) — блок не прячется под шапкой */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content [id]{scroll-margin-top:80px}
/* прежние панели справа (карточка клиента, добавление, ПероAI) — ниже шапки, не под ней */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pc-card{top:73px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #pePanel{top:73px!important}
/* баланс рекламы — напротив заголовка «Реклама» (из шапки перенесён в строку заголовка) */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pghead #rkBal{height:40px;box-sizing:border-box;border:0!important;border-radius:10px!important;background:#F3F3F3!important;padding:0 14px!important;display:inline-flex!important;align-items:center;gap:6px;font:400 14px/20px "Medeo Sans",sans-serif!important;color:#141414;align-self:flex-end;margin-left:auto}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pghead #rkBal:empty{display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pghead #rkBal::before{content:"Баланс";color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pghead #rkBal *{border:0!important;padding:0!important;margin:0!important;background:none!important}
/* общие кнопки страницы (для новых экранов): серая капсула 40, синяя главная, ⋮ кругом */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-b{height:40px;padding:0 14px;border:0;border-radius:10px;background:#F3F3F3;color:#141414;display:inline-flex;align-items:center;gap:8px;font:400 14px/20px "Medeo Sans",sans-serif;white-space:nowrap;cursor:pointer;text-decoration:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-b:hover{background:#ECECEC}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-b.p{background:#0A6FDB;color:#FFFFFF;padding:0 16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-b.p:hover{background:#0963C4}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-b.sm{height:36px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-b.xs{height:32px;padding:0 12px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-b.red{color:#B42318}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-b svg{width:16px;height:16px;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-b:disabled{opacity:.5;cursor:default}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-dots{width:32px;height:32px;padding:0;border:0;border-radius:50%;background:none;display:inline-flex;align-items:center;justify-content:center;color:#666666;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-dots:hover{background:#F3F3F3;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-dots svg{width:18px;height:18px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-link{padding:0;border:0;background:none;color:#0A6FDB;font:inherit;cursor:pointer;text-decoration:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-link:hover{text-decoration:underline;text-underline-offset:3px}
/* строка над таблицей: вкладки-переключатель, Фильтр, справа поиск и синяя кнопка */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-bar{position:sticky;top:65px;z-index:30;margin:6px -40px 2px;padding:16px 40px 12px;display:flex;align-items:center;gap:10px;background:#FFFFFF}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-bar .n5-grow{flex:1}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-seg{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:#F3F3F3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-seg>button{height:34px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:#666666;font:400 14px/20px "Medeo Sans",sans-serif;cursor:pointer;white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-seg>button:hover{color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-seg>button.on{background:#FFFFFF;color:#141414;box-shadow:0 1px 2px rgba(20,20,20,.06)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-seg>button span{color:#666666;margin-left:4px}
/* вкладки-подчёркивания (страница-деталь: «Товары · N / Короба · N») */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ul{display:flex;gap:24px;border-bottom:1px solid #E8E8E8}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ul>button{position:relative;height:44px;padding:0;border:0;background:none;color:#666666;font:400 15px/20px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ul>button.on{color:#141414;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ul>button.on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background:#0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ul>button span{color:#A3A3A3;margin-left:4px;font-weight:400}

/* ---------- таблица от края до края ---------- */
/* шапка липкая (top: --n5-th), строки листаются вбок; выбор 52 + первая колонка 380 закреплены слева, ⋮ справа */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tw{position:relative;margin:8px -40px 0;border-top:1px solid #E8E8E8;background:#FFFFFF;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-th{position:sticky;top:var(--n5-th,65px);z-index:6;overflow:hidden;background:#F6F6F6;border-bottom:1px solid #E8E8E8}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(.n5-bar,.p-bar)~.n5-tw{--n5-th:133px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tb{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-r{display:flex;width:max-content;min-width:100%;background:#FFFFFF}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-th .n5-r{height:48px;background:#F6F6F6;font:600 13px/16px "Medeo Sans",sans-serif;color:#3D3D3D}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tb .n5-r{min-height:80px;border-bottom:1px solid #F2F2F2}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tw.dense .n5-tb .n5-r{min-height:64px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tb .n5-r:hover{background:#FAFAFA}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tb .n5-r.sel{background:#F7FAFE}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tb .n5-r[onclick]{cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-l{position:sticky;left:0;z-index:2;display:flex;flex:none;width:432px;background:inherit;box-shadow:inset -1px 0 0 #E8E8E8}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ck{width:52px;flex:none;display:flex;align-items:center;justify-content:center}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ck input{width:16px;height:16px;margin:0;accent-color:#0A6FDB;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-c1{width:380px;flex:none;box-sizing:border-box;padding:12px 20px 12px 0;display:flex;align-items:center;gap:12px;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-l.nock .n5-c1{width:432px;padding-left:20px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-c{flex:none;box-sizing:border-box;padding:0 16px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:left;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-c.r{align-items:flex-end;text-align:right}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-c.c{align-items:center;text-align:center}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-c.g{flex-grow:1}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-c>small,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-c1 small{font-size:12px;line-height:16px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-th .n5-c>span{white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-th .n5-c.sort{cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-th .n5-c.sort.on{color:#0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-m{position:sticky;right:0;z-index:2;width:56px;flex:none;display:flex;align-items:center;justify-content:center;background:inherit;box-shadow:inset 1px 0 0 #E8E8E8}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-m.empty{box-shadow:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-m svg{width:18px;height:18px}
/* содержимое первой колонки: фото 44×56 / кружок с буквами, название до 2 строк, под ним серая подпись */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ph{width:44px;height:56px;flex:none;border-radius:8px;background:#F3F3F3;object-fit:cover;display:flex;align-items:center;justify-content:center}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ph svg{width:18px;height:18px;stroke:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-av{width:36px;height:36px;flex:none;border-radius:10px;background:#F3F3F3;color:#3D3D3D;display:flex;align-items:center;justify-content:center;font:500 13px/16px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-it{min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-it>b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-it>small{display:block;margin-top:2px;font-size:12px;line-height:16px;color:#666666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* статус: точка + текст, без рамки */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-st{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-st>i{width:8px;height:8px;border-radius:50%;background:#A3A3A3;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-st.ok>i{background:#2E9E5B}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-st.warn>i{background:#D98C00}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-st.bad{color:#B42318}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-st.bad>i{background:#D92D20}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-st.blue>i{background:#0A6FDB}

/* ---------- страницы таблицы ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pg{display:flex;align-items:center;gap:16px;padding:16px 0 0;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pg .n5-pgt{color:#666666;font-variant-numeric:tabular-nums}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pg .n5-pgp{display:flex;align-items:center;gap:8px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pg .n5-pgs{height:32px;padding:0 8px 0 12px;border:0;border-radius:8px;background:#F3F3F3;color:#141414;display:flex;align-items:center;gap:4px;font:400 14px/20px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pg .n5-pgs svg{width:14px;height:14px;stroke:#8A8A8A}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pg .n5-pgn{display:flex;align-items:center;gap:4px;margin-left:auto}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pg .n5-pgn button{min-width:32px;height:32px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#141414;font:400 14px/20px "Medeo Sans",sans-serif;font-variant-numeric:tabular-nums;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pg .n5-pgn button:hover:not(:disabled){background:#F6F6F6}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pg .n5-pgn button[aria-current]{background:#F3F3F3;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pg .n5-pgn button:disabled{color:#A3A3A3;cursor:default}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pg .n5-pgn span{padding:0 4px;color:#A3A3A3}

/* ---------- состояния ---------- */
/* загрузка: серые заглушки строк + фраза под заголовком */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-lt{margin-top:12px;font:400 14px/20px "Medeo Sans",sans-serif;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-skel{margin:8px -40px 0;border-top:1px solid #E8E8E8}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-skr{display:flex;align-items:center;height:80px;border-bottom:1px solid #F2F2F2;padding:0 16px;gap:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-skr i{display:block;flex:none;border-radius:6px;background:#F0F0F0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-skr .ck{width:16px;height:16px;border-radius:4px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-skr .ph{width:44px;height:56px;border-radius:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-skr .tx{flex:none;width:300px;background:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-skr .tx i{height:12px;background:#EEEEEE}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-skr .tx i+i{margin-top:10px;height:10px;width:40%;border-radius:5px;background:#F3F3F3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-skr .cl{flex:1;display:flex;justify-content:flex-end;background:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-skr .cl i{height:12px}
@media (prefers-reduced-motion:no-preference){html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-skr i{animation:n5sk 1.4s ease-in-out infinite}}
@keyframes n5sk{50%{opacity:.55}}
/* пусто */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-empty{margin:8px -40px 0;border-top:1px solid #E8E8E8;padding:96px 40px;text-align:center;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-empty.in{margin:0;border-top:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-empty b{display:block;font:500 20px/28px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-empty p{margin:8px 0 0;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-empty>div{margin-top:20px;display:flex;justify-content:center;gap:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-empty .n5-b{height:36px}
/* 3-15: пусто без строки фильтров сверху (FBS/FBW без клиентов) — без линии и рамки, текст и кнопка по центру с отступом от подзаголовка */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content>.n5-empty:first-child{margin:24px 0 0;border-top:0;padding:72px 40px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root #content>.panel:has(>.ff-empty:only-child){border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin-top:24px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root #content>.panel>.ff-empty:only-child{padding:72px 40px!important;text-align:center;font:400 14px/20px "Medeo Sans",sans-serif!important;color:#666666!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root #content>.panel>.ff-empty:only-child>b{display:block;margin-bottom:8px;font:500 20px/28px "Medeo Sans",sans-serif!important;color:#141414!important}
/* прежние пустые блоки (empty()) — в тот же вид: без значка, заголовок 20, пояснение серым */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content .empty{padding:72px 24px!important;text-align:center!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content .empty>svg,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content .empty>.svg{display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content .empty h3{margin:0!important;font:500 20px/28px "Medeo Sans",sans-serif!important;color:#141414!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content .empty p{margin:8px auto 0!important;max-width:560px;font:400 14px/20px "Medeo Sans",sans-serif!important;color:#666666!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content .empty .btn{margin-top:20px!important;height:36px!important}
/* полоса под заголовком: ошибка (красная) и «WB не отвечает» (жёлтая); данные — на момент последнего обновления */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-band{margin-top:16px;display:flex;align-items:center;gap:16px;padding:12px 16px;border-radius:12px;background:#F3F3F3;color:#141414;font:400 14px/20px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-band>span{flex:1;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-band.bad{background:#FCEBE9;color:#8E1B10}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-band.warn{background:#FDF1DB;color:#6B4A00}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-band .n5-b{height:32px;padding:0 12px;background:#FFFFFF;box-shadow:inset 0 0 0 1px #DCDCDC;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-band .n5-b:hover{background:#FAFAFA}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-bands:empty{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #n5Bands:not(:empty)+#content>:first-child:not(.p-bar):not(.n5-bar):not(.status-line):not(.n5-tw):not(.n5-skel):not(.n5-empty){margin-top:16px!important}
/* прежние красные и жёлтые плашки на странице (не в строке плашек) — тем же видом полосы */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(.workspace,#n5Bands,#content)>.notice:is(.bad,.warn){margin:16px 0 0!important;min-height:0!important;padding:12px 16px!important;border:0!important;border-radius:12px!important;gap:16px!important;box-shadow:none!important;font:400 14px/20px "Medeo Sans",sans-serif!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(.workspace,#n5Bands,#content)>.notice.bad{background:#FCEBE9!important;color:#8E1B10!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(.workspace,#n5Bands,#content)>.notice.warn{background:#FDF1DB!important;color:#6B4A00!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(.workspace,#n5Bands,#content)>.notice:is(.bad,.warn)::before,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(.workspace,#n5Bands,#content)>.notice:is(.bad,.warn)>:is(svg,.svg){display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(.workspace,#n5Bands,#content)>.notice:is(.bad,.warn) b{color:inherit!important;font-weight:500!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(.workspace,#n5Bands,#content)>.notice:is(.bad,.warn) .btn{height:32px!important;padding:0 12px!important;border:0!important;border-radius:10px!important;background:#FFFFFF!important;color:#141414!important;box-shadow:inset 0 0 0 1px #DCDCDC!important}
/* первый вход: магазина ещё нет */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-first{max-width:560px;margin:48px auto 0;padding:28px;border-radius:16px;background:#FFFFFF;box-shadow:0 0 0 1px #E3E3E3;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-first>b{display:block;font:500 22px/28px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-first>p{margin:8px 0 0;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-first ol{margin:16px 0 0;padding-left:20px;line-height:24px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-first>div{margin-top:20px;display:flex;align-items:center;gap:12px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-first .n5-b{height:36px}

/* ---------- панель справа ---------- */
/* 420–480, заголовок 20/500, «Закрыть» текстом, внизу одна синяя кнопка; редактирующие — с затемнением страницы */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-dim{position:fixed;left:0;right:0;top:65px;bottom:0;z-index:89;background:rgba(20,20,20,.18);animation:n5fade .15s ease}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pan{position:fixed;top:65px;right:0;bottom:0;z-index:90;width:440px;max-width:calc(100vw * var(--zi,1) - 40px);box-sizing:border-box;display:flex;flex-direction:column;background:#FFFFFF;box-shadow:0 24px 64px rgba(0,0,0,.18),0 0 0 1px rgba(0,0,0,.06);font:400 14px/20px "Medeo Sans",sans-serif;color:#141414;animation:n5in .2s cubic-bezier(.23,1,.32,1)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pan.w420{width:420px}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pan.w480{width:480px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-panh{padding:24px 24px 16px;display:flex;align-items:flex-start;gap:12px;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-panh>div{flex:1;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-panh b{display:block;font:500 20px/28px "Medeo Sans",sans-serif;letter-spacing:-.015em}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-panh p{margin:4px 0 0;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-x{height:32px;padding:0 10px;border:0;border-radius:8px;background:#F3F3F3;color:#666666;font:400 13px/20px "Medeo Sans",sans-serif;cursor:pointer;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-x:hover{background:#ECECEC;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-panb{flex:1;min-height:0;overflow:auto;padding:0 24px 24px;display:flex;flex-direction:column;gap:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-panf{flex:none;padding:16px 24px;border-top:1px solid #E8E8E8;display:flex;align-items:center;gap:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-panf .n5-b{height:36px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-panf>.n5-grow{flex:1}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-panf .n5-link{font-size:14px}
/* пока открыта панель, синяя кнопка страницы становится серой (одна синяя на экране) */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body:has(>#dialog[open]:not(.n5-cf):not(.wide):not(.ed-dlg)) #root :is(.pghead,#content>.p-bar) .btn.primary,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body.n5-pan-open #root .pghead .btn.primary,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body.n5-pan-open #root #content>.p-bar .btn.primary,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body.n5-pan-open #root .n5-bar .n5-b.p{background:#F3F3F3!important;color:#141414!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body.n5-pan-open #root .pghead .btn.primary svg,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body.n5-pan-open #root #content>.p-bar .btn.primary svg{stroke:#141414!important;color:#141414!important}
@keyframes n5in{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
@keyframes n5fade{from{opacity:0}to{opacity:1}}
/* история уведомлений */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-nh{font:500 15px/20px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-nl>div{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #F0F0F0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-nl>div>span{flex:1;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-nl small{display:block;font-size:13px;line-height:18px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-nl .n5-link{flex:none;font-size:13px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ne{color:#666666}

/* ---------- окна (#dialog): панелью справа; подтверждение — окно 480 по центру ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog:not(.wide):not(.ed-dlg):not(.n5-cf):not(:has(.rp-dlg)):not(:has(.sa-dlg)){inset:65px 0 0 auto!important;width:440px!important;max-width:calc(100vw * var(--zi,1) - 40px)!important;height:auto!important;max-height:none!important;border:0!important;border-radius:0!important;box-shadow:0 24px 64px rgba(0,0,0,.18),0 0 0 1px rgba(0,0,0,.06)!important;background:#FFFFFF!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;animation:n5in .2s cubic-bezier(.23,1,.32,1)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog:not(.wide):not(.ed-dlg):not(.n5-cf):not(:has(.rp-dlg)):not(:has(.sa-dlg))[open]{display:flex!important;flex-direction:column!important;overflow:auto!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog:not(.wide):not(.ed-dlg):not(.n5-cf):not(:has(.rp-dlg)):not(:has(.sa-dlg))::backdrop{top:65px;background:rgba(20,20,20,.18)!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog:not(.wide):not(.ed-dlg):not(.n5-cf)>.dlg-head{flex:none;padding:24px 24px 16px!important;border:0!important;align-items:flex-start!important;gap:12px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog:not(.wide):not(.ed-dlg):not(.n5-cf)>.dlg-head h2{font:500 20px/28px "Medeo Sans",sans-serif!important;letter-spacing:-.015em;color:#141414!important;margin:0!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog:not(.wide):not(.n5-cf):not(:has(.rp-dlg)):not(:has(.sa-dlg)) .dlg-body{flex:1 1 auto;min-height:0;overflow:auto;padding:0 24px 24px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog:not(.wide):not(.n5-cf):not(:has(.rp-dlg)):not(:has(.sa-dlg)) form{display:flex;flex-direction:column;min-height:0;flex:1 1 auto}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog:not(.wide):not(.ed-dlg):not(.n5-cf) .dlg-foot{flex:none;padding:16px 24px!important;border-top:1px solid #E8E8E8!important;display:flex!important;justify-content:flex-end!important;gap:8px!important;background:#FFFFFF!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog .dlg-foot .btn{height:36px!important;padding:0 14px!important;border:0!important;border-radius:10px!important;background:#F3F3F3!important;color:#141414!important;box-shadow:none!important;font:400 14px/20px "Medeo Sans",sans-serif!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog .dlg-foot .btn.primary{background:#0A6FDB!important;color:#FFFFFF!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog .dlg-foot .btn.danger{background:#F3F3F3!important;color:#B42318!important}
/* крестик в шапке окна — текстом «Закрыть» */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog>.dlg-head>.btn.ghost.icon,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog .sa-dlg>.dlg-head>.btn.ghost.icon,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog .n3-dh>.n3-x{width:auto!important;height:32px!important;padding:0 10px!important;border:0!important;border-radius:8px!important;background:#F3F3F3!important;color:#666666!important;box-shadow:none!important;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog>.dlg-head>.btn.ghost.icon>svg,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog .sa-dlg>.dlg-head>.btn.ghost.icon>svg,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog .n3-dh>.n3-x>svg{display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog>.dlg-head>.btn.ghost.icon::after,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog .sa-dlg>.dlg-head>.btn.ghost.icon::after,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog .n3-dh>.n3-x::after{content:"Закрыть";font:400 13px/20px "Medeo Sans",sans-serif}
/* окно подтверждения: 480, радиус 22, «Отменить» слева от главной */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.n5-cf{position:fixed!important;inset:200px 0 auto 0!important;margin:0 auto!important;width:480px!important;max-width:calc(100vw * var(--zi,1) - 40px)!important;height:auto!important;max-height:calc(100vh * var(--zi,1) - 240px)!important;overflow:auto!important;box-sizing:border-box!important;padding:24px!important;border:0!important;border-radius:22px!important;background:#FFFFFF!important;box-shadow:0 24px 64px rgba(0,0,0,.24),0 0 0 .5px rgba(0,0,0,.1)!important;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414;animation:n5pop .16s cubic-bezier(.23,1,.32,1)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.n5-cf::backdrop{background:rgba(20,20,20,.24)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.n5-cf .n5-cft{font:500 20px/28px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.n5-cf .n5-cfx{margin-top:8px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.n5-cf .n5-cfx b{color:#141414;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.n5-cf .n5-cfe{margin-top:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.n5-cf .n5-cff{margin-top:20px;display:flex;gap:8px;justify-content:flex-end}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.n5-cf .n5-cff .n5-b{height:36px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.n5-cf .n5-cff .n5-b.red{background:#F3F3F3}

/* ---------- сообщения ---------- */
/* справа сверху, под шапкой */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #toast{top:73px!important;right:40px!important}
/* пока открыта панель справа, сообщения встают левее неё, а не поверх заголовка панели */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body.n5-pan-open #toast,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body:has(>#dialog[open]:not(.n5-cf):not(.wide):not(.ed-dlg)) #toast{right:504px!important}
/* внизу по центру: белая карточка, точка (зелёная / красная) и одна кнопка («Отменить» с отсчётом) */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tst{position:fixed;left:50%;bottom:24px;z-index:120;transform:translateX(-50%);display:flex;align-items:center;gap:16px;max-width:calc(100vw * var(--zi,1) - 80px);box-sizing:border-box;padding:12px 12px 12px 18px;border-radius:14px;background:#FFFFFF;box-shadow:0 10px 30px rgba(20,20,20,.14),0 0 0 1px rgba(20,20,20,.05);font:400 14px/20px "Medeo Sans",sans-serif;color:#141414;animation:n5up .2s cubic-bezier(.23,1,.32,1)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tst.noact{padding-right:18px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tst>i{width:8px;height:8px;border-radius:50%;background:#1E7A45;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tst.bad>i{background:#D92D20}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tst>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tst>button{height:32px;padding:0 12px;border:0;border-radius:10px;background:#F3F3F3;color:#141414;font:400 14px/20px "Medeo Sans",sans-serif;white-space:nowrap;cursor:pointer;flex:none;font-variant-numeric:tabular-nums}
/* 16.11, владелец: кнопки при наведении не меняют цвет */ html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tst>button:hover{background:#F3F3F3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tst.out{opacity:0;transform:translate(-50%,8px);transition:opacity .2s,transform .2s}
/* островок выбора поднимает сообщение над собой */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body:has(.actionbar) .n5-tst{bottom:100px}
@keyframes n5up{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@media (prefers-reduced-motion:reduce){html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-dd,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-am,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pan,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-dim,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tst,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.n5-cf,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog{animation:none!important}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tst.out{transition:none}}

/* ---------- правки по отчёту тестировщика 1-r1 ---------- */
/* 1-02, 1-11: шапка и её меню поверх панели справа (z 90), затемнения (89) и своих ползунков прокрутки разделов */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n3-sbl{z-index:40!important}
/* 1-18: сообщения справа сверху — успех зелёной точкой, ошибка красной, как сообщение внизу */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #toast .tst .tst-i{background:#2E9E5B!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #toast .tst.bad .tst-i{background:#D92D20!important}
/* Решение владельца 16.11 (qa/decisions.md п.5): синяя главная кнопка в разделе — синяя (правило серых кнопок с :not() перебивало .btn.primary,
   из-за чего «Добавить клиента» в пустом состоянии была серой с белым плюсом). Значки на серых кнопках — чёрные. Смену цвета при наведении снимает N5.noHover() в n5.js. */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d) #root #content .btn.primary:not(.icon-only):not(.ghost):not(.link){background:#0A6FDB!important;color:#FFFFFF!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body:has(>#dialog[open]:not(.n5-cf):not(.wide):not(.ed-dlg)) #root :is(.pghead,#content>.p-bar) .btn.primary svg,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body.n5-pan-open #root .n5-bar .n5-b.p svg{stroke:#141414!important;color:#141414!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d) #root #content .btn:not(.primary):not(.icon-only):not(.ghost):not(.link) svg,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d) #root .pbtn:not(.primary) svg,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d) #root .n3-btn:not(.p) svg,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d) #root .n5-b:not(.p) svg{stroke:#141414;color:#141414}
/* Пустые состояния (макет state-empty): главная кнопка синяя, 36, без значка; значков над заголовком нет */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root #content :is(.ff-empty,.empty,.pt-empty,.n5-empty) :is(.btn.primary,.pbtn.primary,.n5-b.p,.n3-btn.p){height:36px!important;background:#0A6FDB!important;color:#FFFFFF!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root #content :is(.ff-empty,.empty,.pt-empty,.n5-empty) :is(.btn,.pbtn,.n5-b,.n3-btn){height:36px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root #content :is(.ff-empty,.empty,.pt-empty,.n5-empty) :is(.btn,.pbtn,.n5-b,.n3-btn) svg,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root #content .ff-empty>svg{display:none!important}

/* 2-05: подтверждение поверх редактора карточки — отдельное окно #n5cf2 с тем же видом */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #n5cf2.n5-cf{position:fixed!important;inset:200px 0 auto 0!important;margin:0 auto!important;width:480px!important;max-width:calc(100vw * var(--zi,1) - 40px)!important;height:auto!important;max-height:calc(100vh * var(--zi,1) - 240px)!important;overflow:auto!important;box-sizing:border-box!important;padding:24px!important;border:0!important;border-radius:22px!important;background:#FFFFFF!important;box-shadow:0 24px 64px rgba(0,0,0,.24),0 0 0 .5px rgba(0,0,0,.1)!important;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414;animation:n5pop .16s cubic-bezier(.23,1,.32,1)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #n5cf2.n5-cf::backdrop{background:rgba(20,20,20,.24)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #n5cf2.n5-cf .n5-cft{font:500 20px/28px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #n5cf2.n5-cf .n5-cfx{margin-top:8px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #n5cf2.n5-cf .n5-cfx b{color:#141414;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #n5cf2.n5-cf .n5-cfe{margin-top:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #n5cf2.n5-cf .n5-cff{margin-top:20px;display:flex;gap:8px;justify-content:flex-end}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #n5cf2.n5-cf .n5-cff .n5-b{height:36px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #n5cf2.n5-cf .n5-cff .n5-b.red{background:#F3F3F3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #n5cf2.n5-cf,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog{animation:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #n5cf2.n5-cf::backdrop{background:rgba(20,20,20,.18)}

/* п.33 (владелец 16.11): плавные переходы. Подложка переключателя переезжает (anim.js: 0,25 с ease-out, transform + width, без пружины);
   содержимое под вкладками и данные вместо скелета проявляются по прозрачности (anim.js, Web Animations, 0,16–0,18 с);
   смена раздела — #content.page-in только прозрачностью 0,15 с (было: сдвиг на 6 px). Кнопки не анимируются. Телефон — как было. */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g) :is(.seg,.n5-seg,.f5-seg,.tk5-seg,.s5-seg,.pt-tb2,.cp4-seg,.n4-ut)>.seg-pill{display:block!important;position:absolute!important;left:0!important;z-index:0!important;margin:0!important;padding:0!important;border:0!important;pointer-events:none;background:#FFFFFF!important;border-radius:8px!important;box-shadow:0 1px 2px rgba(20,20,20,.06)!important;will-change:transform}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g) :is(.seg,.n5-seg,.f5-seg,.tk5-seg,.s5-seg,.pt-tb2,.cp4-seg,.n4-ut)>.seg-ind{display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g) :is(.seg,.n5-seg,.f5-seg,.tk5-seg,.s5-seg,.pt-tb2,.cp4-seg,.n4-ut):has(>.seg-pill)>button{position:relative;z-index:1}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g) :is(.seg,.n5-seg,.f5-seg,.tk5-seg,.s5-seg,.pt-tb2,.cp4-seg,.n4-ut):has(>.seg-pill)>button.on{background:transparent!important;box-shadow:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g) #content.page-in{animation:n5pg .15s ease-out!important}
@keyframes n5pg{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g) :is(.seg,.n5-seg,.f5-seg,.tk5-seg,.s5-seg,.pt-tb2,.cp4-seg,.n4-ut)>.seg-pill{transition:none!important}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g) #content.page-in{animation:none!important}}

/* ---------- Плашки → полосы (решение владельца 16.11, decisions.md п.11) ----------
   Было: капсулы в одну строку с серым блоком кнопки. Стало на компьютере: полоса на всю ширину под заголовком, как state-err / state-wbdown,
   с точкой нужного цвета: причина и что делать, белая кнопка с рамкой, × (закрытая вернётся, только если изменится текст — decorateNotices
   в app.js). Те же правила — для прежних плашек прямо на странице и в #n5Bands и для полос N5.band. Телефон (≤760) не тронут. */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line{flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:8px!important;overflow:visible!important;min-height:0!important;margin:16px 0 0!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line:empty,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line.nempty{display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line>.nmore{display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice{order:0!important;display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;max-width:none!important;height:auto!important;min-height:44px!important;box-sizing:border-box!important;margin:0!important;padding:6px 8px 6px 16px!important;border:0!important;border-radius:12px!important;background:#F3F3F3!important;color:#141414!important;box-shadow:none!important;font:400 14px/20px "Medeo Sans",sans-serif!important;white-space:normal!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice{margin:16px 0 0!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice.nhid{display:flex!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice.warn,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice.warn{background:#FDF1DB!important;color:#6B4A00!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice.bad,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice.bad{background:#FCEBE9!important;color:#8E1B10!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice.ok,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice.ok{background:#E7F4EC!important;color:#1E5A35!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice::before,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice::before{content:""!important;display:block!important;position:static!important;width:8px!important;height:8px!important;flex:none!important;margin:0!important;border-radius:50%!important;background:#0A6FDB!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice.warn::before,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice.warn::before{background:#C26A00!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice.bad::before,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice.bad::before{background:#B42318!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice.ok::before,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice.ok::before{background:#1E7A45!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice>:is(svg,.svg),html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice>:is(svg,.svg){display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice>div,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice>div{flex:1 1 auto!important;min-width:0!important;padding:4px 0!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;color:inherit!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice>div b,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice>div b{font-weight:500!important;color:inherit!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice>div small,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice>div small{display:inline!important;color:inherit!important;opacity:.8}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice>div+:is(.btn,.link)::before,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice>div+:is(.btn,.link)::before{display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice :is(.btn,.link):not(.x),html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice :is(.btn,.link):not(.x),html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root #content .status-line .notice :is(.btn,.link):not(.x):not(.icon-only),html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root #content>.notice :is(.btn,.link):not(.x):not(.icon-only){height:32px!important;min-height:32px!important;flex:none!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:10px!important;background:#FFFFFF!important;box-shadow:inset 0 0 0 1px #DCDCDC!important;color:#141414!important;font:400 14px/20px "Medeo Sans",sans-serif!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice :is(.btn,.link):not(.x) :is(svg,.svg),html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice :is(.btn,.link):not(.x) :is(svg,.svg){display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice>.x,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice>.x{width:28px!important;height:28px!important;min-width:28px!important;flex:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:inherit!important;opacity:.7;display:inline-flex!important;align-items:center!important;justify-content:center!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root .status-line .notice>.x :is(svg,.svg),html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #root :is(.workspace,#n5Bands,#content)>.notice>.x :is(svg,.svg){display:block!important;width:12px!important;height:12px!important;stroke:currentColor!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-band::before{content:"";width:8px;height:8px;flex:none;border-radius:50%;background:#0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-band.warn::before{background:#C26A00}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-band.bad::before{background:#B42318}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-band{gap:12px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-band .n5-bx{width:28px;height:28px;flex:none;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:inherit;opacity:.7;font:400 18px/28px "Medeo Sans",sans-serif;cursor:pointer}
/* 4-r1, п.21: на телефоне — прежние капсулы, но в одну строку: точка рядом с текстом, длинный текст обрезается «…», × справа внутри */
@media (max-width:760px){html:not(#_a):not(#_b) #root .status-line .notice{flex-wrap:nowrap!important;max-width:100%!important;min-width:0}html:not(#_a):not(#_b) #root .status-line .notice>div{flex:1 1 auto!important;min-width:0!important}html:not(#_a):not(#_b) #root .status-line .notice>.x{flex:none!important;margin:0 0 0 2px!important}}
/* 3-16: прокрутка панели и окна не переходит на страницу под ними */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pan .n5-panb,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) dialog[open]{overscroll-behavior:contain}
/* 3-r1: длинное сообщение справа сверху переносится на вторую строку, а не обрезается «…» */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #toast .tst-t b,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #toast .tst-t small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
/* этап 8 (err-price): у сообщения с ошибкой текст чёрный, красная только точка (общее правило .bad в wh5.css красит текст) */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tst.bad,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tst.bad>span{color:#141414}

/* п.29 (владелец 16.11): содержимое кнопок переключателей по центру; пустой счётчик не занимает места (подстраховка — в разметке его и так нет) */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(.n5-seg,.pt-tb2,.pp-tabs,[role=tablist],[class*="-seg"])>button{justify-content:center;text-align:center}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) :is(.n5-seg,.pt-tb2,.pp-tabs,[role=tablist],[class*="seg"])>button>span:empty{display:none!important}

/* 6.63 (макеты menu2 и notif3, решения 17.11): колокольчик — серая кнопка 36×36 вплотную к аккаунту, синяя точка вместо числа;
   меню аккаунта — вы, кабинеты WB (инициалы, флаг, галочка), «+ Добавить клиента», Настройки, Поддержка, Админка, Выйти;
   окно уведомлений — «Открыть», «Новые · N» + «Прочитать все», «Раньше». */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pu{background:#F3F3F3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pu:hover,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pu.on,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pu.open{background:#ECECEC}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pu>svg{width:18px;height:18px;stroke-width:1.8}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pub{top:7px;left:auto;right:8px;min-width:0;width:9px;height:9px;padding:0;border-radius:50%;background:#0A6FDB;box-shadow:0 0 0 2px #F3F3F3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pu:hover .n5-pub,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pu.on .n5-pub,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pu.open .n5-pub{box-shadow:0 0 0 2px #ECECEC}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-uav{width:24px;height:24px;border-radius:50%;flex:none;display:inline-flex;align-items:center;justify-content:center;background:#0B84FB;color:#FFFFFF;font:600 12px/24px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-acc{padding-left:6px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-am{width:340px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amh{display:flex;align-items:center;gap:12px;padding:10px 10px 10px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amh .n5-uav{width:40px;height:40px;font-size:16px;line-height:40px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amw{min-width:0;flex:1}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amw b{display:block;font:600 15px/20px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amg{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px 4px;font:400 13px/18px "Medeo Sans",sans-serif;color:#8A8A8A}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amgl{padding:0;border:0;background:none;color:#0A6FDB;font:400 13px/18px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amgl:hover{text-decoration:underline;text-underline-offset:3px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-amgl:focus-visible{outline:2px solid #0A6FDB;outline-offset:2px;border-radius:4px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami.n5-cab{justify-content:flex-start;padding:7px 10px;border-radius:10px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami.n5-cab.on{background:#F2F7FE}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ci{width:34px;height:34px;border-radius:10px;flex:none;display:inline-flex;align-items:center;justify-content:center;background:#F3F3F3;color:#141414;font:600 12px/1 "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cab.on .n5-ci{background:#FFFFFF}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ct{flex:1;min-width:0;display:flex;flex-direction:column}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ct>b{font:500 14px/20px "Medeo Sans",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ct>small{display:flex;align-items:center;gap:5px;font:400 12.5px/17px "Medeo Sans",sans-serif;color:#777777;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cflag{width:16px;height:11px;flex:none;display:inline-flex;overflow:hidden;border-radius:2px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cflag svg.flag{width:16px!important;height:11px!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cok{width:18px;height:18px;flex:none;color:#0A6FDB;display:inline-flex}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cok svg{width:18px;height:18px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cw{flex:none;padding:2px 8px;border-radius:10px;background:#FDF1DB;color:#8A5300;font:500 12px/16px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami.n5-amadd{justify-content:center;margin:8px 0 4px;height:40px;padding:0 12px;border-radius:10px;background:#0A6FDB;color:#FFFFFF;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami.n5-amadd:hover,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami.n5-amadd:focus-visible{background:#0960C0;color:#FFFFFF}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ami.n5-amadd:focus-visible{outline:2px solid #0A6FDB;outline-offset:2px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pph{align-items:center;padding:10px 12px 4px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pph b{font:600 16px/22px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pph .n5-ppo{display:inline;width:auto;padding:4px 6px;margin-right:-6px;border-radius:6px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppg{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px;padding:8px 12px 2px;font:400 12.5px/18px "Medeo Sans",sans-serif;color:#8A8A8A}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppr{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;border:0;border-radius:8px;background:#F3F3F3;color:#3D3D3D;font:400 13px/18px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppr:hover{background:#ECECEC}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppr:focus-visible{outline:2px solid #0A6FDB;outline-offset:2px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppr svg{width:14px;height:14px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppi{padding:9px 12px;border-radius:10px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppi.u.r>i::before{background:#D93025}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pp1>b{flex:1;min-width:0;font:500 14px/20px "Medeo Sans",sans-serif;color:#3D3D3D;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppi.u .n5-pp1>b{font-weight:600;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pp2{font:400 13px/18px "Medeo Sans",sans-serif;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-ppi.u .n5-pp2{color:#666666}

/* 6.64 (правки владельца 18.11) */
/* полоса прокрутки страницы видна всегда (6.64): при смене вкладок, коротких списках и открытии окон страница не сдвигается вбок. Раньше n4.css выключал место под неё (scrollbar-gutter:auto) */
html.ui2:not(#_a){overflow-y:scroll!important;scrollbar-gutter:stable!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #ptList,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-tw{scrollbar-gutter:stable}
/* после закрытия окна мышью/Esc фокус возвращается на строку без синей рамки */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) [data-nofv]:focus-visible{outline:none!important;box-shadow:none!important}
/* ячейки таблиц не прилипают к краям строки: высокая ячейка (состояние репрайсера) получает воздух сверху и снизу */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-tb .n5-c{padding-top:12px;padding-bottom:12px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .g5-stn{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
/* Карточки: категория по центру, длинная — в две строки */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .g5-wrap2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;text-align:center;max-width:100%;overflow-wrap:anywhere}
/* Инбокс: между заголовком письма и его содержимым — воздух */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .pt-right .n3-ptt+.pt-mb{margin-top:16px}
/* Обзор, Лента: снова листается — все заказы, видно 5 строк */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #content .h5-ov .h5-feed .fd-row:nth-child(n+6){display:flex!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #content .h5-ov .h5-feed .fd-list{max-height:336px!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px!important}
/* 6.65: логотип GolubApp — знак и надпись одним рисунком */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-logo svg.wm{width:auto;height:24px}

/* ---------- 6.65 (решения владельца 18.11): ровная работа и подложки при наведении ---------- */
/* подложка при наведении — заметная и плавная (0,15 с) у всего, что нажимается в шапке, Ленте и таблицах */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-acc,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-pu,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-logo,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .topbar .n5-tab{transition:background-color 150ms cubic-bezier(.25,.1,.25,1),color 150ms cubic-bezier(.25,.1,.25,1)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-acc:hover,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-acc.open,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-pu:hover,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-pu.open,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-pu.on{background:#E6E6E9}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-pu:hover .n5-pub,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-pu.open .n5-pub,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-pu.on .n5-pub{box-shadow:0 0 0 2px #E6E6E9}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-tb .n5-r{transition:background-color 120ms cubic-bezier(.25,.1,.25,1)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-tb .n5-r:hover{background:#F5F6F8}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #content .h5-ov .h5-feed .fd-row{border-radius:10px!important;transition:background-color 150ms cubic-bezier(.25,.1,.25,1)!important;padding-left:8px!important;padding-right:8px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #content .h5-ov .h5-feed .fd-row:hover{background:#F5F6F8!important;border-top-color:transparent!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #content .h5-ov .h5-feed .fd-row:hover+.fd-row{border-top-color:transparent!important}
/* таблицы: строки за экраном не раскладываются и не рисуются, пока до них не долистали — переключение вкладок без «замираний» */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) .n5-tb>.n5-r{content-visibility:auto;contain-intrinsic-size:auto 74px}
/* Обзор, Лента: высота списка постоянная (не скачет при загрузке и смене «Заказы / Выкупы / Отказы»),
   тонкая полоса прокрутки не наезжает на суммы */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) #content .h5-ov .h5-feed .fd-list{height:336px!important;max-height:none!important;margin-right:0!important;padding-right:10px!important;}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-di small.n5-why{color:#0A6FDB}
