/* Этап 2 нового дизайна: Товары и карточки (Товары, Репрайсер, Карточки, редактор карточки, Отзывы и вопросы,
   панель себестоимости, окно этикеток 58×40). Только html.ui2 (компьютер). Префикс H = html.ui2 с повышенной специфичностью, как в n5.css.
   Собирается из /home/claude/qa/dev2/goods.tpl.css (H → префикс); править можно и прямо здесь. */

/* ---------- строка над таблицей ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-seg>button span{color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-seg>button span.g5-wn{display:inline-block;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;background:#FDF1DB;color:#8A5300;font-size:12px;line-height:18px;text-align:center;margin-left:2px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-seg>.g5-more{display:inline-flex;align-items:center;gap:4px;padding:0 10px 0 12px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-seg>.g5-more svg{width:14px;height:14px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-seg>.g5-more.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) .g5-q{height:40px;box-sizing:border-box;padding:0 12px;border-radius:10px;background:#F3F3F3;display:flex;align-items:center;gap:8px;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-q svg{width:16px;height:16px;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-q input{flex:1;min-width:0;height:38px;border:0!important;background:transparent!important;box-shadow:none!important;outline:none;padding:0!important;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-q input::placeholder{color:#8A8A8A}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-q:focus-within{box-shadow:inset 0 0 0 1.5px #0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cur>button{padding:0 10px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fb{position:relative}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fb svg{width:16px;height:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fb.open{background:#ECECEC}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fc{min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;background:#0A6FDB;color:#FFFFFF;font-size:11px;line-height:18px;text-align:center;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-bar>.n5-b.p svg{width:16px;height:16px;stroke:#FFFFFF}

/* ---------- фильтр ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-flt{position:absolute;z-index:80;width:520px;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:g5in .14s ease-out}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fl{display:flex;min-height:150px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fs{width:200px;flex:none;padding-right:6px;border-right:1px solid #F0F0F0;display:flex;flex-direction:column;gap:2px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fs button{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;border:0;border-radius:8px;background:transparent;font:inherit;color:#141414;text-align:left;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fs button:hover{background:#F7F7F7}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fs button.on{background:#F3F3F3;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fs i{font-style:normal;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;background:#EEF4FD;color:#0A6FDB;font-size:11px;line-height:18px;text-align:center;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fi{flex:1;min-width:0;padding:0 8px 0 14px;max-height:320px;overflow:auto}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fi label{display:flex;align-items:center;gap:10px;padding:9px 4px;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fi label span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fi label em{font-style:normal;color:#666666;font-size:13px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fi input,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-chk input,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lsr input{width:16px;height:16px;margin:0;accent-color:#0A6FDB;flex:none;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-ff{display:flex;align-items:center;justify-content:space-between;margin-top:6px;padding:10px 6px 4px;border-top:1px solid #F0F0F0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-ff .n5-b{height:36px}
@keyframes g5in{from{opacity:0;transform:translateY(-4px)}}

/* ---------- меню без значков ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pop-menu.g5-menu{min-width:240px;box-sizing:border-box;padding:6px!important;border:0!important;border-radius:14px!important;background:#FFFFFF!important;box-shadow:0 0 0 1px #E3E3E3,0 12px 32px rgba(20,20,20,.12)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pop-menu.g5-menu>button{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:0!important;height:auto!important;padding:9px 12px!important;border:0;border-radius:8px!important;background:transparent;font:400 14px/20px "Medeo Sans",sans-serif!important;color:#141414!important;text-align:left;white-space:nowrap;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pop-menu.g5-menu>button:hover:not(:disabled),html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pop-menu.g5-menu>button:focus-visible{background:#F3F3F3!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pop-menu.g5-menu>button.on{font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pop-menu.g5-menu>button.danger{color:#B42318!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pop-menu.g5-menu>button:disabled{color:#A3A3A3!important;cursor:default}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pop-menu.g5-menu>button em{font-style:normal;color:#666666;font-size:13px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pop-menu.g5-menu>hr{height:1px;margin:4px 8px!important;border:0;background:#EFEFEF}

/* ---------- островок ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:70;display:flex;align-items:center;gap:8px;padding:8px 8px 8px 18px;border-radius:14px;background:#FFFFFF;box-shadow:0 10px 30px rgba(20,20,20,.12),0 0 0 1px rgba(20,20,20,.04);white-space:nowrap;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414;animation:g5up .18s ease-out}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl .g5-il{margin-right:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl .n5-b{height:36px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl .n5-b.g5-ghost{background:transparent;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl .n5-b.g5-ghost:hover{color:#141414;background:#F7F7F7}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl .n5-b svg{width:16px;height:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl .n5-dots{width:36px;height:36px;border-radius:10px;background:#F3F3F3}
@keyframes g5up{from{opacity:0;transform:translate(-50%,8px)}}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body.g5-isl-on .workspace{padding-bottom:104px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body.n5-pan-open .g5-isl{left:calc((100% - 440px) / 2)}

/* ---------- ячейки таблиц ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-pl{display:inline-block;height:26px;padding:0 10px;border-radius:8px;background:#F3F3F3;color:#666666;font-size:13px;line-height:26px;font-weight:500;white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-pl.ok{background:#E7F4EC;color:#1E7A45}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-pl.warn{background:#FDF1DB;color:#8A5300}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-pl.bad{background:#FDECEA;color:#B42318}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-pl.blue{background:#E8F1FC;color:#0A5BB5}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-t3{color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-t2{color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-red{font-style:normal;color:#B42318}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-warn2{color:#B7791F}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-ell{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-c>b{font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-c small s{color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-set{font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-in{height:32px;width:76px;box-sizing:border-box;padding:0 6px;border:0!important;border-radius:8px!important;background:#FFFFFF!important;box-shadow:inset 0 0 0 1px #E8E8E8!important;color:#141414;font:400 14px/20px "Medeo Sans",sans-serif;font-variant-numeric:tabular-nums;text-align:center;outline:none;-moz-appearance:textfield;appearance:textfield}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-in::-webkit-outer-spin-button,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-in::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-in.z{color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-in:hover{box-shadow:inset 0 0 0 1px #CFCFCF!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-in:focus,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-in.ch{box-shadow:0 0 0 2px #0A6FDB!important;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-in:disabled{background:#FAFAFA!important;color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-in::placeholder{color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-szb{display:inline-flex;align-items:center;justify-content:center;gap:2px;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-szb svg{width:12px;height:12px;stroke:#8A8A8A}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tb .n5-r.g5-dim .n5-it>b{color:#3D3D3D}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-rg{display:flex;align-items:center;gap:6px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-rg>i{font-style:normal;color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sw{position:relative;display:inline-block;width:36px;height:22px;flex:none;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sw input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer;z-index:1}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sw i{position:absolute;inset:0;border-radius:11px;background:#E3E3E3;transition:background .15s}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sw i::after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#FFFFFF;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:left .15s}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sw input:checked+i{background:#0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sw input:checked+i::after{left:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sw input:disabled+i{opacity:.5}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sw input:focus-visible+i{box-shadow:0 0 0 3px rgba(10,111,219,.25)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stn{margin-top:4px;font-size:12px;line-height:16px;color:#666666;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tn small{display:block}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tn small.kiz{color:#B7791F}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-tb .n5-r[data-id]{scroll-margin-top:200px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-old{margin-top:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stars{font-size:15px;letter-spacing:1px;white-space:nowrap;color:#DADADA}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stars b{font-weight:400;color:#F5A623}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-align:left}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-ans{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-ans .bad{color:#B42318;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-ans .okt{color:#1E7A45;font-weight:500}

/* ---------- панели справа ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-pp{display:flex;gap:12px;align-items:center}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-pp .n5-it>small{white-space:normal;font-size:13px;line-height:18px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-pp .n5-it>b{-webkit-line-clamp:3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-row2{display:flex;gap:12px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-row2>*{flex:1;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fld{display:block;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fld>span{display:block;font-size:13px;line-height:18px;color:#666666;margin-bottom:6px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fld input,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fld textarea,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fld select{width:100%;box-sizing:border-box;height:40px;padding:0 12px;border:0!important;border-radius:10px!important;background:#FFFFFF!important;box-shadow:inset 0 0 0 1px #DCDCDC!important;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414;outline:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fld textarea{height:auto;min-height:120px;padding:12px;line-height:21px;resize:vertical}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fld input:focus,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fld textarea:focus{box-shadow:inset 0 0 0 2px #0A6FDB!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-note{padding:12px 14px;border-radius:12px;background:#F3F3F3;font-size:13px;line-height:18px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-h3{font-size:15px;line-height:20px;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-hist>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) .g5-hist>div>span{flex:1;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-hist>div>b{font-weight:400}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-hist .g5-del{font-size:13px;color:#A3A3A3;visibility:hidden}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-hist>div:hover .g5-del{visibility:visible}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-hist .g5-del:hover{color:#B42318}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cml{display:flex;flex-direction:column}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmr{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) .g5-cmr>.n5-ph{width:36px;height:46px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmr>.n5-it{flex:1}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmr>input{width:110px;flex:none;height:36px;box-sizing:border-box;padding:0 10px;border:0;border-radius:8px;box-shadow:inset 0 0 0 1px #DCDCDC;font:400 14px/20px "Medeo Sans",sans-serif;text-align:right;outline:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmr>input:focus{box-shadow:inset 0 0 0 2px #0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-chk{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:20px;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-chk input{margin-top:2px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-chk small{display:block;font-size:12px;line-height:16px;color:#666666}

/* ---------- окно «Этикетки 58×40» ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ldlg{width:920px!important;max-width:calc(100vw * var(--zi,1) - 48px)!important;height:min(740px,calc(100vh * var(--zi,1) - 80px))!important;max-height:none!important;padding:0!important;border:0!important;border-radius:20px!important;background:#FFFFFF!important;box-shadow:0 24px 64px rgba(0,0,0,.24),0 0 0 .5px rgba(0,0,0,.1)!important;overflow:hidden!important;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ldlg[open]{display:flex!important;flex-direction:column!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ldlg::backdrop{background:rgba(20,20,20,.28)!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lh{height:64px;flex:none;box-sizing:border-box;padding:0 24px 0 28px;display:flex;align-items:center;gap:16px;border-bottom:1px solid #F0F0F0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lh>b{flex:1;font-size:18px;line-height:24px;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lh .n5-b.xs{height:32px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lnav{display:flex;align-items:center;gap:4px;font-size:13px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lnav button{width:32px;height:32px;border:0;border-radius:8px;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lnav button:disabled{color:#CFCFCF;cursor:default}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lnav svg{width:16px;height:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lb{flex:1;min-height:0;overflow:auto;padding:22px 28px;display:grid;grid-template-columns:minmax(0,1fr) 258px;gap:28px;align-items:start}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lcol{display:flex;flex-direction:column;gap:22px;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lg{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lf{display:block;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lf>span{display:block;font-size:13px;line-height:18px;color:#666666;margin-bottom:6px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lf input,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lxr input[type=text]{width:100%;box-sizing:border-box;height:40px;padding:0 12px;border:0!important;border-radius:10px!important;background:#F3F3F3!important;box-shadow:none!important;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414;outline:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lf input:focus,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lxr input[type=text]:focus{box-shadow:inset 0 0 0 2px #0A6FDB!important;background:#FFFFFF!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lf input::placeholder{color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lx .g5-lxt{display:flex;align-items:center;gap:6px;padding:0;border:0;background:none;color:#0A6FDB;font:inherit;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lx .g5-lxt svg{width:14px;height:14px;transform:rotate(-90deg);transition:transform .15s}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lx.open .g5-lxt svg{transform:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lxb{display:none;margin-top:12px;flex-direction:column;gap:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lx.open .g5-lxb{display:flex}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lxr{display:grid;grid-template-columns:196px minmax(0,1fr);gap:12px;align-items:center}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lxr .g5-chk{align-items:center}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lxr .g5-chk input{margin:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lxr input[type=text]:disabled{background:#F7F7F7!important;color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lpv{position:sticky;top:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lpaper{width:258px;box-sizing:border-box;padding:12px;border-radius:12px;background:#FFFFFF;box-shadow:0 0 0 1px #E3E3E3,0 2px 8px rgba(20,20,20,.06)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lpaper canvas{display:block;width:100%;height:auto}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-li{margin:12px 0 0;font-size:13px;line-height:18px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-li.bad-text{color:#B42318}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lbox{margin-top:12px;padding:10px 12px;border-radius:12px;background:#F3F3F3;font-size:13px;line-height:18px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lbox b{display:block;font-weight:500;color:#141414;font-size:14px;line-height:20px;margin-bottom:2px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lsz{display:flex;flex-direction:column;gap:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lszh{display:flex;justify-content:space-between;font-size:13px;line-height:18px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lszh span+span{color:#A3A3A3;font-size:12px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lsr{display:flex;align-items:center;gap:14px;height:40px;padding:0 14px;border-radius:10px;background:#F3F3F3;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lsr b{width:64px;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lsr span{color:#666666;font-variant-numeric:tabular-nums}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lsr.on{background:#F0F6FF;box-shadow:inset 0 0 0 1.5px #0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lsr.on span{color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lsz .g5-chk{margin-top:6px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lfoot{flex:none;padding:14px 24px;border-top:1px solid #F0F0F0;display:flex;align-items:center;gap:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lfoot .n5-grow{flex:1}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lfoot .n5-b{height:36px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-seg>button span{margin-left:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fld .dfield{display:flex!important;align-items:center;width:100%;box-sizing:border-box;height:40px;padding:0 12px!important;border:0!important;border-radius:10px!important;background:#FFFFFF!important;box-shadow:inset 0 0 0 1px #DCDCDC!important;font:400 14px/20px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fld .dfield:focus-within{box-shadow:inset 0 0 0 2px #0A6FDB!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fld input[type=number]{-moz-appearance:textfield;appearance:textfield}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fld input[type=number]::-webkit-outer-spin-button,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fld input[type=number]::-webkit-inner-spin-button,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmr>input::-webkit-inner-spin-button,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmr>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ldlg:focus{outline:none}

/* ---------- Карточки: полоса ПероAI, меню «Создать карточку» ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-aib{margin-top:16px;display:flex;align-items:center;gap:14px;height:44px;padding:0 8px 0 14px;border-radius:12px;background:#E8F1FC;color:#0A3F7A;font:400 14px/20px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-aib>svg{width:18px;height:18px;flex:none;stroke:#0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-aib b{font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-aibar{width:160px;height:6px;border-radius:3px;background:#CFE0F5;position:relative;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-aibar>i{position:absolute;left:0;top:0;bottom:0;border-radius:3px;background:#0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-aileft{font-size:13px;color:#24476E}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-aib .n5-grow{flex:1}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-aist{height:32px;padding:0 12px;border:0;border-radius:9px;background:#FFFFFF;box-shadow:0 0 0 1px #D6E4F7;color:#0A3F7A;font:400 13px/18px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #g5AiBand:empty{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pop-menu.g5-cmenu{width:320px;box-sizing:border-box;padding:6px!important;border:0!important;border-radius:14px!important;background:#FFFFFF!important;box-shadow:0 0 0 1px #E3E3E3,0 12px 32px rgba(20,20,20,.12)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmenu .g5-cr{display:block;width:100%;box-sizing:border-box;padding:12px 14px!important;border:0;border-radius:10px;background:transparent;text-align:left;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414;min-height:0!important;height:auto!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmenu button.g5-cr{cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmenu button.g5-cr:hover{background:#F7F7F7}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmenu .g5-cr>b{display:block;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmenu .g5-cr>small{display:block;font-size:13px;line-height:18px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmenu hr{height:1px;margin:4px 14px!important;border:0;background:#EFEFEF}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-crc{margin-top:10px;display:flex;align-items:center;gap:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-crc .n5-b.xs{height:32px;border-radius:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cnt{display:inline-flex;align-items:center;height:32px;border-radius:8px;box-shadow:inset 0 0 0 1px #DCDCDC}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cnt button{width:32px;height:32px;padding:0;border:0;background:none;color:#666666;font:400 16px/20px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cnt i{width:24px;text-align:center;font-style:normal;font-size:14px;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-chip{background:#E8F1FC;color:#0A5BB5}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmenu .g5-crc button.n5-b{width:auto!important;flex:none;display:inline-flex!important;justify-content:center;padding:0 12px!important;min-height:0!important;height:32px!important;border-radius:8px!important;background:#F3F3F3!important;font:400 14px/20px "Medeo Sans",sans-serif!important;color:#141414!important;margin:0!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmenu .g5-crc button.n5-b:hover{background:#ECECEC!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmenu .g5-cnt button{width:32px!important;height:32px!important;min-height:0!important;padding:0!important;margin:0!important;display:inline-flex!important;align-items:center;justify-content:center;border-radius:8px!important;background:none!important;color:#666666!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-cmenu .g5-cnt button:hover{color:#141414!important}

/* ---------- Отзывы и вопросы ---------- */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #g5FbNote:empty{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #g5FbNote .n5-band{margin-top:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fbc{padding:14px;border-radius:12px;background:#F3F3F3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fbc>.n5-ph{background:#FFFFFF}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fbc{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fbc>.n5-it{flex:1}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fbc>.n5-it>small{font-size:13px;line-height:18px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fbm{flex-basis:100%;display:flex;align-items:center;gap:8px;font-size:13px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fbt{flex-basis:100%;margin-top:-6px;white-space:pre-line}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fbt p{margin:6px 0 0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fll{display:flex!important;justify-content:space-between}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fbdone{padding:12px;border-radius:10px;background:#F7F7F7;line-height:21px;white-space:pre-line}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-qb{display:flex;flex-wrap:wrap;gap:6px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-qb:empty{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-qb button{height:30px;padding:0 10px;border:0;border-radius:8px;background:#F3F3F3;color:#141414;font:400 13px/18px "Medeo Sans",sans-serif;white-space:nowrap;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-qb button:hover{background:#ECECEC}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-qb button:disabled{opacity:.55;cursor:default}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sm{margin:0;font-size:13px;line-height:18px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tpr{display:flex;flex-direction:column;gap:6px;padding:12px 0;border-top:1px solid #F0F0F0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tpr .g5-tpt,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tpr textarea{width:100%;box-sizing:border-box;border:0!important;border-radius:10px!important;background:#FFFFFF!important;box-shadow:inset 0 0 0 1px #DCDCDC!important;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414;outline:none;padding:8px 12px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tpr .g5-tpt{height:36px;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tpr textarea{resize:vertical;min-height:64px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tpr .g5-tpt:focus,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tpr textarea:focus{box-shadow:inset 0 0 0 2px #0A6FDB!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tpr .g5-del{align-self:flex-end;visibility:visible;font-size:13px}

/* ---------- редактор карточки: страница под шапкой, одна колонка блоков + панель ПероAI 380 ---------- */
/* 3-01: закрытое окно (редактор и любое другое) не рисуется поверх страницы — классы ed-dlg/n3-ed/g5-ed остаются после close() */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog:not([open]){display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.ed-dlg.g5-ed[open]{display:block!important;overflow:auto!important;padding:0 40px 48px!important;background:#FFFFFF!important;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-hide{display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-edh{padding:16px 0 0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-back{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;color:#0A6FDB;font:400 14px/20px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-back svg{width:16px;height:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-edr{margin-top:8px;display:flex;align-items:center;gap:14px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-eth{width:40px;height:40px;flex:none;border-radius:10px;background:#F3F3F3;display:flex;align-items:center;justify-content:center;overflow:hidden}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-eth img{width:100%;height:100%;object-fit:cover}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-eth svg{width:18px;height:18px;stroke:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ett{flex:1;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ett h1{margin:0;font:500 26px/32px "Medeo Sans",sans-serif;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-est{display:flex;align-items:center;gap:12px;margin-top:2px;font-size:13px;line-height:18px;color:#666666;white-space:nowrap;overflow:hidden}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-edot{display:inline-flex;align-items:center;gap:6px;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-edot i{width:6px;height:6px;border-radius:50%;background:#A3A3A3;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-edot.warn i{background:#C26A00}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-edot.ok i{background:#1E7A45}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-edot.bad i{background:#B42318}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-edot.blue i{background:#0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-edr>.n5-b{flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-epero{background:#E8F1FC;color:#0A5BB5}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-epero:hover{background:#DCEAFB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-epero svg{stroke:#0A5BB5}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-edm{width:40px;padding:0;justify-content:center}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-edm svg{width:18px;height:18px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-epg{display:flex;align-items:center;gap:4px;flex:none;font-size:13px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-epg button{width:32px;height:32px;border:0;border-radius:8px;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-epg button:hover:not(:disabled){background:#F3F3F3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-epg button:disabled{color:#CFCFCF;cursor:default}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-epg svg{width:16px;height:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .n3-edw{margin-top:20px;display:grid!important;grid-template-columns:minmax(0,1fr) 380px;gap:20px;align-items:start;min-height:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .n3-edw:has(>.n3-pp[hidden]){grid-template-columns:minmax(0,1fr)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .n3-edw>#editForm{display:block!important;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .n3-edw>#editForm>.dlg-body{overflow:visible!important;padding:0!important;max-height:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .dlg-body>.notice,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .dlg-body>.missing{margin:0 0 16px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-edc{display:flex;flex-direction:column;gap:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-edc>section{margin:0!important;padding:18px 24px 22px!important;border:0!important;border-radius:16px!important;background:#FFFFFF!important;box-shadow:0 0 0 1px #E3E3E3!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-sh{display:flex;align-items:center;gap:12px;margin-bottom:14px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-sh h2{margin:0;font:600 16px/22px "Medeo Sans",sans-serif;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-sh h2 span{font-weight:400;color:#8A8A8A;font-size:14px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-sh .n5-grow{flex:1}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-sh .n5-link{font-size:14px;white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-dsrc{font-size:13px;color:#0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-dsrc a{color:inherit}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-src{margin:-4px 0 14px;font-size:13px;line-height:18px;color:#666666}
/* фото: 6 в ряд, 3:4, «Обложка», плитка «Добавить» */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .photos{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .photos .ph{position:relative;width:auto!important;height:auto!important;aspect-ratio:3/4;border:0!important;border-radius:12px!important;background:#F3F3F3;overflow:hidden;outline:0!important;box-shadow:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .photos .ph img{width:100%;height:100%;object-fit:cover}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .photos .ph .tag{position:absolute;left:8px;top:8px;height:22px;padding:0 8px!important;border-radius:6px!important;background:rgba(255,255,255,.9)!important;font:400 12px/22px "Medeo Sans",sans-serif!important;color:#141414!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .photos .ph.over{box-shadow:0 0 0 2px #0A6FDB!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-phadd{aspect-ratio:3/4;box-sizing:border-box;border:1px dashed #CFCFCF;border-radius:12px;background:#FAFAFA;color:#666666;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font:400 13px/18px "Medeo Sans",sans-serif;cursor:pointer;padding:0!important;margin:0!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-phadd:hover,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-phadd.over{border-color:#0A6FDB;color:#0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-phadd svg{width:18px;height:18px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-phn{margin:10px 0 0;font-size:13px;line-height:18px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-phn .n5-link{font-size:13px;margin-left:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed section:not(.url) .ph-url{display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .ph-url{margin-top:10px}
/* поля: подпись 13 серым, поле 40 белое с рамкой #E3E3E3, сетка 3 колонки */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .form-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .form-grid>.full{grid-column:1/-1!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field{display:flex!important;flex-direction:column;gap:6px;min-width:0;margin:0!important;font:400 13px/18px "Medeo Sans",sans-serif;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field>span:first-child{display:flex;align-items:center;gap:6px;font:400 13px/18px "Medeo Sans",sans-serif!important;color:#666666!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field .counter{margin-left:auto;color:#666666;font-size:13px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field>small{font-size:12px;line-height:16px;color:#8A8A8A}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field :is(input:not([type=checkbox]):not([type=hidden]),select,textarea),html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .dims input{width:100%!important;box-sizing:border-box;height:40px!important;padding:0 12px!important;border:0!important;border-radius:10px!important;background:#FFFFFF!important;box-shadow:0 0 0 1px #E3E3E3!important;font:400 14px/20px "Medeo Sans",sans-serif!important;color:#141414!important;outline:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field textarea{height:auto!important;min-height:80px;padding:10px 12px!important;line-height:21px!important;resize:vertical}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field :is(input,select,textarea):focus,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .dims input:focus{box-shadow:0 0 0 2px #0A6FDB!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field :is(input,textarea).need,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .dims input.need{background:#FFF8F7!important;box-shadow:0 0 0 1px #F2B8B5!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field.unsure :is(input,select,textarea),html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .unsure .dims input{background:#FFFBF3!important;box-shadow:0 0 0 1px #F0C67A!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field.will :is(input,select,textarea),html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field:has(>span>.src):not(.unsure) :is(input,textarea){background:#F5F9FE!important;box-shadow:0 0 0 1px #9DC1EC!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field.unsure>span:first-child::after{content:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field .src{padding:0!important;margin:0!important;background:none!important;color:#0A5BB5!important;font:400 13px/18px "Medeo Sans",sans-serif!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .field .src::before{content:"· изменил "}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-fh{font-size:12px;line-height:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-fh.bad{color:#B42318}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-fh.warn{color:#9A6400}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .with-btn{display:flex;gap:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .with-btn .icon-btn{width:40px;height:40px;flex:none;border:0!important;border-radius:10px!important;background:#F3F3F3!important;box-shadow:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .ed-cur{position:relative;display:block}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .ed-cur em{position:absolute;right:12px;top:10px;font-style:normal;color:#8A8A8A}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .dims{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .dims .field,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .dims>label{display:flex!important;flex-direction:column;gap:6px;font:400 13px/18px "Medeo Sans",sans-serif;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .check{margin-top:14px!important;display:flex;align-items:center;gap:10px;font-size:14px;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed details.opt{display:flex!important;flex-direction:column;margin-top:16px;border:0!important;padding:0!important;background:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed details.opt>summary{order:2;list-style:none;margin-top:14px;padding:0!important;border:0!important;background:none!important;color:#0A6FDB;font:400 14px/20px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed details.opt>summary::-webkit-details-marker{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed details.opt>summary .g5-more2,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed details.opt[open]>summary .g5-more1{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed details.opt[open]>summary .g5-more2{display:inline}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed details.opt>summary svg{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-only .field.g5-filled{display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-only details.opt>summary{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-swl{display:flex;align-items:center;gap:10px;font-size:13px;color:#666666;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .suggest-list{z-index:5}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed #editForm.n3-wait .g5-edc{opacity:.7;pointer-events:none}
/* панель ПероAI */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .n3-pp{position:sticky!important;top:16px;width:auto!important;height:min(860px,calc(100vh * var(--zi,1) - 65px - 40px))!important;max-height:none!important;display:flex!important;flex-direction:column;padding:0!important;border:0!important;border-radius:16px!important;background:#FFFFFF!important;box-shadow:0 0 0 1px #E3E3E3!important;overflow:hidden}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .n3-pp[hidden]{display:none!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-pph{height:52px;flex:none;box-sizing:border-box;display:flex;align-items:center;gap:8px;padding:0 12px 0 18px;border-bottom:1px solid #F2F2F2}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-pph b{font-size:15px;font-weight:600}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-pph>span{font-size:13px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-pph .n5-grow{flex:1}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppx{height:32px;padding:0 10px;border:0;border-radius:8px;background:#F3F3F3;color:#666666;font:400 13px/18px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppb{flex:1;min-height:0;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-bub{max-width:88%;padding:10px 12px;font-size:14px;line-height:20px;align-self:flex-start;background:#F3F3F3;color:#141414;border-radius:14px 14px 14px 4px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-bub.me{align-self:flex-end;background:#0A6FDB;color:#FFFFFF;border-radius:14px 14px 4px 14px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-bub.warn{background:#FFF4DB;color:#7A4E00}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-bub p{margin:6px 0 0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-bh{display:block;font-weight:500;margin-bottom:6px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-step{display:flex;align-items:center;gap:8px;padding:2px 0;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-step i{width:14px;font-style:normal;text-align:center;color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-step.ok,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-step.cur{color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-step.ok i{color:#1E7A45}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-step span{flex:1}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-step small{font-size:12px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-chkl{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-chkl button{height:26px;padding:0 8px;border:0;border-radius:6px;background:#FFFFFF;color:#141414;font:400 12px/16px "Medeo Sans",sans-serif;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ba{display:flex;gap:8px;margin-top:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ba .n5-b{background:#FFFFFF;height:30px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppl{display:flex;flex-direction:column;border-radius:12px;box-shadow:0 0 0 1px #E3E3E3;padding:4px 0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppl button{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 10px;border:0;background:none;font:400 14px/22px "Medeo Sans",sans-serif;color:#141414;text-align:left;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppl button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppl button small{flex:none;font-size:12px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppl button.on small{color:#0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppf{flex:none;padding:12px 16px 16px;border-top:1px solid #F2F2F2}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppf .g5-qb{margin-bottom:10px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppin{display:flex;align-items:center;gap:8px;padding:8px 8px 8px 12px;border-radius:12px;box-shadow:0 0 0 1px #E3E3E3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppin:focus-within{box-shadow:0 0 0 2px #0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppin input{flex:1;min-width:0;height:32px;border:0!important;background:none!important;box-shadow:none!important;padding:0!important;font:400 14px/20px "Medeo Sans",sans-serif;outline:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppin .n5-b{height:32px;border-radius:8px;padding:0 12px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppn{margin:8px 0 0;font-size:12px;line-height:16px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppoff{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px 32px;text-align:center}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppoff b{font:500 17px/24px "Medeo Sans",sans-serif;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppoff p{margin:0;font-size:13px;line-height:20px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .g5-ppoff .n5-b{margin-top:8px;height:36px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed #edChat .ec-me{align-self:flex-end;max-width:88%;padding:10px 12px;border-radius:14px 14px 4px 14px;background:#0A6FDB;color:#FFFFFF}
@media (max-width:1300px){html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .photos{grid-template-columns:repeat(4,minmax(0,1fr))}}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .ed-cur em{top:10px!important;line-height:20px!important;font-size:14px!important;height:20px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog#dialog.g5-ed .field :is(input,textarea).need,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog#dialog.g5-ed .dims input.need{background:#FFF8F7!important;box-shadow:0 0 0 1px #F2B8B5!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog#dialog.g5-ed .field.unsure :is(input,select,textarea),html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog#dialog.g5-ed .unsure .dims input{background:#FFFBF3!important;box-shadow:0 0 0 1px #F0C67A!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog#dialog.g5-ed .field.will :is(input,select,textarea),html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog#dialog.g5-ed .field:has(>span>.src):not(.unsure) :is(input,textarea){background:#F5F9FE!important;box-shadow:0 0 0 1px #9DC1EC!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog#dialog.g5-ed .field :is(input,select,textarea):focus,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog#dialog.g5-ed .dims input:focus{box-shadow:0 0 0 2px #0A6FDB!important}
/* ---- исправления по 2-r1 (этап 3) ---- */
/* 2-01/2-02: цена продавца или карточки ниже себестоимости — жёлтое предупреждение с цифрами */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-rgw{display:inline-flex;flex-direction:column;align-items:center;gap:4px;max-width:100%}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-rgw .g5-bc:empty{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-bc{display:block;font:400 12px/16px "Medeo Sans",sans-serif;color:#B7791F!important;white-space:normal;text-align:center;max-width:220px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-pwarn .g5-bc{text-align:left;max-width:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-pwarn input[name=price]{box-shadow:inset 0 0 0 1px #F3D58A!important;background:#FFF8E6!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cf .g5-bc{display:inline;text-align:left;max-width:none;font-size:14px;line-height:20px}
/* 2-06, 2-08: неверное число — красная рамка */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-in.bad,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n4-szp input.bad{box-shadow:0 0 0 2px #D92D20!important;color:#B42318!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cf .g5-cfl{margin-top:10px;padding:10px 12px;border-radius:10px;background:#F7F7F7;font:400 13px/20px "Medeo Sans",sans-serif;color:#141414;max-height:220px;overflow:auto}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cf .g5-cfl b{font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cf .g5-red{color:#B42318}
/* 2-12: нулевой остаток — серым, рамка светлая (как tovary-full) */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #g5PT .g5-in.z:not(.ch):not(:focus){color:#A3A3A3!important;box-shadow:inset 0 0 0 1px #E8E8E8!important}
/* 2-15: «₽ / сом» в поле по центру по высоте */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-ed .ed-cur em{top:50%!important;transform:translateY(-50%)}
/* 2-09: сообщение внизу не закрывает островок — встаёт над ним */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body.g5-isl-on .n5-tst,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body:has(#g5Isl) .n5-tst{bottom:100px}
/* 2-14: «Удалить» у записи себестоимости видно всегда */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-hist .g5-del{visibility:visible}
/* 2-17: в поиске одна рамка фокуса — у поля, у внутреннего input её нет */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-bar label input[type=search]:focus,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-bar label input[type=search]:focus-visible{outline:none!important;box-shadow:none!important}
/* Этап 8 (err-card): «WB не принял карточку» — строки полей с красной точкой и действием справа */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cf .g5-ers{margin-top:4px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cf .g5-er{display:flex;gap:12px;padding:12px 0;border-top:1px solid #F0F0F0;font:400 14px/20px "Medeo Sans",sans-serif;color:#141414;text-align:left}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cf .g5-er>i{width:8px;height:8px;margin-top:6px;border-radius:50%;background:#B42318;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cf .g5-er>div{flex:1;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cf .g5-er b{display:block;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cf .g5-er small{display:block;font-size:13px;line-height:18px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-cf .g5-er a{color:#0A6FDB;text-decoration:none;white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog .g5-errf{border-radius:12px;box-shadow:0 0 0 2px #B42318;transition:box-shadow .3s}
/* 8-04: плашка «откуда пришли» над таблицей не прилипает к подзаголовку */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content>#taskBar:first-child{margin-top:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #content .n5-b.g5-hl{box-shadow:0 0 0 2px #0A6FDB!important;transition:box-shadow .3s}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fll .g5-flr{display:inline-flex;gap:12px;align-items:center}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fll .g5-clr{font-size:13px}html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-ans .g5-cont{font-size:13px;text-align:left;padding:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fll .g5-clr[hidden]{display:none!important}

/* F-02: редактор карточки WB («Изменить карточку» из ⋮ Репрайсера и Товаров) — поверх шапки (шапка 95): затемнение закрывает и шапку,
   из-под окна в другой раздел не уйти, строка с названием карточки видна целиком; сообщения (#toast 100+) остаются над ним */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .ce-back{z-index:96}

/* ===== 6.62 · поток B (В-2, В-8, В-10, В-14, В-23, В-25, В-31, В-33, В-34, В-35, В-36, решение 36) ===== */
/* островок: «×» слева, разделитель, «Изменить карточку» неактивна при нескольких (М4) */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl.x{padding-left:6px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl .g5-isx{width:36px;height:36px;flex:none;border:0;border-radius:10px;background:transparent;color:#141414;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl .g5-isx svg{width:18px;height:18px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl .g5-isx:focus-visible{outline:2px solid #0A6FDB;outline-offset:1px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl .g5-isd{width:1px;height:20px;flex:none;background:#E8E8E8}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl.x .g5-il,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl.x .g5-isn{margin:0 8px 0 6px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl .n5-b.g5-off{color:#A3A3A3!important;cursor:default}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body.n5-pan-open .g5-isl{z-index:91}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pan.g5-pan560{width:560px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body.n5-pan-open:has(.n5-pan.g5-pan560) .g5-isl{left:calc((100% - 560px) / 2)}
/* Фильтр 560 (правило «Один Фильтр: панель 560»); подпись раздела со ссылкой «Выбрать все», серая подсказка */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-flt{width:560px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fih{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 4px 3px;font-size:13px;line-height:18px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fih .n5-link{font-size:13px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fih .n5-link:disabled{color:#A3A3A3;cursor:default}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fi label span small{font-size:14px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fin{margin:4px 4px 6px;padding:8px 10px;border-radius:8px;background:#F7F7F7;font-size:12px;line-height:16px;color:#666666}
/* метки выбранного под строкой инструментов (М3) */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tags{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:-4px 0 12px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tag{display:inline-flex;align-items:center;gap:6px;height:32px;max-width:640px;box-sizing:border-box;padding:0 6px 0 12px;border-radius:9px;background:#EEF4FD;color:#0A6FDB;font:400 14px/20px "Medeo Sans",sans-serif}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tag>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tag>button{width:22px;height:22px;flex:none;padding:0;border:0;border-radius:50%;background:transparent;color:#0A6FDB;display:flex;align-items:center;justify-content:center;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tag>button svg{width:14px;height:14px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-tags>.n5-link{margin-left:4px;font-size:14px}
/* таблица Товаров помещается в ширину (В-2): «Товар» может сузиться, при сжатии поля 12 и заголовки в 2 строки */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #g5PT .n5-c1{width:var(--g5c1,380px)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #g5PT .n5-l{width:calc(var(--g5c1,380px) + 52px)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #g5PT .n5-l.nock .n5-c1{width:calc(var(--g5c1,380px) + 52px)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #g5PT .n5-th .n5-c>span{white-space:normal;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) #g5PT.g5-tight .n5-c{padding:0 12px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #g5PT.g5-tight .g5-in{width:64px}
/* название — ссылка на WB (В-8): чёрный текст, синее подчёркивание при наведении */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-it>b>a.g5-tl{color:inherit;text-decoration:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-it>b>a.g5-tl:hover{text-decoration:underline;text-decoration-color:#0A6FDB;text-decoration-thickness:1.5px;text-underline-offset:3px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-it>b>a.g5-tl:focus-visible{outline:2px solid #0A6FDB;outline-offset:2px;border-radius:3px}
/* ⚙ колонки: галочка слева, меню не закрывается (В-14) */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pop-menu.g5-colm>button{justify-content:flex-start!important;gap:8px!important}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pop-menu.g5-colm .g5-ck{width:14px;flex:none;font-style:normal;color:#0A6FDB;visibility:hidden}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .pop-menu.g5-colm>button[aria-checked=true] .g5-ck{visibility:visible}
/* панель «Остатки для N товаров» (М4) */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .n5-pan.g5-pan560 .n5-panb{gap:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stw{overflow-x:auto}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sth,html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-str{display:grid;gap:12px;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sth{align-items:end;padding-bottom:8px;font-size:13px;line-height:16px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sth>span:not(:first-child){text-align:right;overflow-wrap:anywhere}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-str{align-items:start;padding:14px 0;border-top:1px solid #F0F0F0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-str.g5-stp{display:block;padding-bottom:4px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-str.g5-sts{border-top:0;padding:6px 0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-szl{align-self:center;padding-left:52px;color:#3D3D3D}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sit{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sit .n5-ph{width:40px;height:40px;grid-row:span 2}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sit .n5-it>b{-webkit-line-clamp:3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sit .n5-it>small{display:block;margin-top:2px;font-size:12px;line-height:16px;color:#666666;overflow-wrap:anywhere}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sit>small{grid-column:2;margin-top:2px;font-size:12px;line-height:16px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sti{display:flex;flex-direction:column;align-items:stretch;gap:4px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stf{height:40px;box-sizing:border-box;padding:0 12px;border-radius:10px;background:#FFFFFF;box-shadow:inset 0 0 0 1px #DCDCDC;display:flex;align-items:center;gap:4px;cursor:text}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stf input{flex:1;min-width:0;width:100%;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;text-align:right;font:400 14px/20px "Medeo Sans",sans-serif;font-variant-numeric:tabular-nums;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stf>span{color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stf.ch input{font-weight:600}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stf:focus-within{box-shadow:inset 0 0 0 1.5px #0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stf.bad{box-shadow:inset 0 0 0 1.5px #D92D20}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-sti>small{font-size:12px;line-height:16px;text-align:right;white-space:nowrap;color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-up{color:#1E7A45}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-dn{color:#B42318}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stt{align-items:center;font-weight:500;border-top:1px solid #E8E8E8}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stt>span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stt small{display:block;font-size:12px;line-height:16px;font-weight:400;color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-note.g5-sti2{display:flex;gap:10px;margin-top:18px;background:#F7F7F7;color:#3D3D3D}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-note.g5-sti2 svg{width:16px;height:16px;flex:none;margin-top:1px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-stn{flex:1;font-size:13px;color:#666666}
/* печать баркодов для нескольких (М5) */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-lmd .g5-lmb{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:16px 28px 0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-lmd .g5-lml{flex:1;min-height:0;overflow:auto;margin:0 -28px;padding:0 28px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) #dialog.g5-lmd .g5-lml>.g5-lmr:last-child{border-bottom:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmtop{display:flex;align-items:center;gap:16px;margin-bottom:8px;font-size:13px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmtop .g5-lnav{margin-left:auto}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmr{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;padding:16px 0 20px;border-bottom:1px solid #F0F0F0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmp{align-self:start;padding:8px;border-radius:12px;background:#FFFFFF;box-shadow:0 0 0 1px #E8E8E8,0 1px 2px rgba(20,20,20,.04)}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmp canvas{display:block;width:100%;height:auto}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmh{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;line-height:16px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmh em{font-style:normal;height:24px;padding:0 8px;border-radius:8px;background:#F3F3F3;color:#3D3D3D;line-height:24px;white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmh em.bad{background:#FDECEA;color:#B42318}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmt{display:block;margin-top:8px;font-size:15px;line-height:22px;font-weight:500}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lms{display:block;margin-top:2px;font-size:12px;line-height:16px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;margin:14px 0 12px;font-size:14px;line-height:20px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmg>span{min-width:0;overflow-wrap:anywhere}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmg small{display:block;font-size:12px;line-height:16px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmg i{font-style:normal;color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmg i.g5-red{color:#B42318}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmw{margin:0 0 8px;font-size:13px;line-height:18px;color:#B42318}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmw[hidden]{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmx .n5-link{font-size:14px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmc{flex:none;display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;padding:16px 0;border-top:1px solid #F0F0F0;font-size:14px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmc.g5-lmm{padding-top:0;border-top:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmc .g5-chk{display:inline-flex;align-items:center;gap:8px;cursor:pointer}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmi{height:32px;width:220px;box-sizing:border-box;padding:0 10px;border:0!important;border-radius:8px!important;box-shadow:inset 0 0 0 1px #DCDCDC!important;background:#FFFFFF!important;font:400 13px/18px "Medeo Sans",sans-serif;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmi:focus{box-shadow:inset 0 0 0 1.5px #0A6FDB!important;outline:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmf{font-size:13px;line-height:18px;color:#3D3D3D}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lmf b{font-weight:500;color:#141414}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lh .g5-lback{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;color:#0A6FDB;font:400 14px/20px "Medeo Sans",sans-serif;cursor:pointer;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-lh .g5-lback svg{width:16px;height:16px}
/* Отзывы: переключатель «Показывать оценки без текста N» (В-23), блок «ПероAI по вашему тексту» (В-10) */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-ntx{display:inline-flex;align-items:center;gap:10px;margin-left:6px;font-size:14px;line-height:20px;color:#141414;cursor:pointer;white-space:nowrap}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-ntx em{font-style:normal;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fbqb{display:flex;flex-direction:column;gap:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-fbqb:empty{display:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-pero{display:flex;flex-direction:column;gap:8px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-peh{display:flex;align-items:center;gap:6px;font-size:13px;line-height:18px;color:#0A6FDB}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-peh svg{width:14px;height:14px;flex:none}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-pen{margin:0;font-size:12px;line-height:16px;color:#666666}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-qb button svg{width:14px;height:14px;margin-right:6px;vertical-align:-2px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-qb button:disabled{opacity:1;color:#A3A3A3}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-isl.x .n5-b.sm{padding:0 10px}

/* правки по reports/10B: «Ответ» в Отзывах — перенос по словам и «…» в конце второй строки, не под ⋮; значок ↗ в подсказке; круглая ПероAI не закрывает последнюю строку */
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-ans{width:100%;min-width:0}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .g5-ans>small{align-self:stretch;max-width:100%;overflow-wrap:break-word}
.ftip .g5-ext{width:12px;height:12px;margin-left:6px;vertical-align:-1px}
html.ui2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) body:has(#peFab.pe-fab5) .workspace:has(#g5Prod,#g5Prot,#g5Cards,#g5Fb){padding-bottom:96px!important}
