/* TryHard — редизайн «Клодыч» (04.10.2026). Подключается после app.css. Откат: убрать <link ui.css> и вернуть app.js из тега pre-redesign */
@font-face{font-family:Onest;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/onest-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Onest;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/onest-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/jetbrainsmono-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/jetbrainsmono-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F}
:root{
  --ease:cubic-bezier(.2,.8,.2,1)
}
/* 22.10.2026 — шрифт Montserrat (решение Никиты по макетам карточки счёта: «сдержанно и минималистично»); Onest остаётся запасным */
@font-face{font-family:Montserrat;font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/montserrat-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Montserrat;font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/montserrat-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
html,body{font-family:Onest,system-ui,-apple-system,"Segoe UI",sans-serif;}
html.ui2,html.ui2 body{font-family:Montserrat,Onest,system-ui,-apple-system,"Segoe UI",sans-serif}   /* тестовый режим интерфейса (feat:ui) — пока только админам */
/* ═══ Новый интерфейс (html.ui2): карточка счёта по макету 22.10 — шапка, стадии строкой, «Сейчас», факты, спойлеры ═══ */
.ui2 .drawer .pane.inv2{width:min(1140px,100%)}
.inv2 .i2h{display:grid;grid-template-columns:minmax(0,1fr) auto 40px;gap:20px;align-items:start;}
.inv2 .i2h>.t{grid-column:1;min-width:0}.inv2 .i2h>.i2s{grid-column:2}.inv2 .i2h>.ix{align-self:start;}
.inv2 .ib{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.inv2 .i2sp summary b{white-space:nowrap}
.inv2 .f2 .lbl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inv2 .lbl{text-transform:uppercase;font-weight:500}
.inv2 .i2h h2{font-weight:500;letter-spacing:-.01em;line-height:1.2}
.inv2 .i2h .meta{display:flex;gap:8px 10px;flex-wrap:wrap;align-items:center}
.inv2 .i2h .meta i{width:3px;height:3px;border-radius:50%;display:block}
.inv2 .i2s{display:flex;flex-direction:column;align-items:flex-end;gap:6px;text-align:right}
.inv2 .i2s .amt{font-weight:300;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1.1}

.inv2 .i2s .chips0{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;margin-top:2px}
.inv2 .i2stage{display:flex;align-items:center;gap:16px;}
.inv2 .i2line{display:flex;align-items:center;flex:1}
.inv2 .i2line .d{width:8px;height:8px;border-radius:50%;background:var(--acc);flex:none}

.inv2 .i2line .d.now{background:transparent;border:1.5px solid var(--acc);width:7px;height:7px;box-shadow:0 0 10px var(--acc-soft2)}
.inv2 .i2line .d.rej{background:var(--bad)}.inv2 .i2line .d.fx{background:var(--warn)}
.inv2 .i2line .s{height:1px;flex:1;}.inv2 .i2line .s.on{background:var(--acc);opacity:.6}
.inv2 .i2lbls{white-space:nowrap;letter-spacing:.02em}
.inv2 .i2lbls .cur{font-weight:500}

.inv2 .il{display:flex;flex-direction:column;}
.inv2 .i2now{display:flex;align-items:center;gap:14px;}
.inv2 .i2now .tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.inv2 .i2now .tx b{font-weight:500}

.inv2 .i2now>button{white-space:nowrap;flex:none}
.inv2 .i2more{position:relative;flex:none}
.inv2 .i2menu{position:absolute;right:0;top:48px;z-index:6;min-width:250px;display:flex;flex-direction:column;gap:2px;padding:6px;}
.inv2 .i2menu button{text-align:left;background:transparent!important;border:0!important;box-shadow:none!important;font-weight:500!important;padding:9px 12px;width:100%;white-space:normal}

.inv2 #ax:empty{display:none}
.inv2 .i2facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;}
.inv2 .f2{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere;}
.inv2 .f2.wide{grid-column:1/-1}
.inv2 .i2sp summary .chev{width:16px;transition:transform .2s;display:inline-block;text-align:center;line-height:1}
.inv2 .i2sp[open] summary .chev{transform:rotate(90deg)}
.inv2 .i2sp summary b{font-weight:500;}
.inv2 .i2sp summary .sub{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.inv2 .i2sp .dlvcard,.inv2 .i2sp .itbox,.inv2 .i2sp .mrtab{margin-top:0}
.inv2 .i2sp .dlvcard>.tzckh>b,.inv2 .i2sp .itbox>.ith>b{display:none}

/* «тоном, не линиями» (референс Bedalizza, 22.10): без рамок и разделителей, глубина — оттенками, текст мягче, скругления больше */
.ui2 .drawer .pane.inv2{border:0!important;}

.inv2 .ib{border-top:0}
.inv2 .il{border-right:0;}

.inv2 .i2now{border:0;}
.inv2 .i2sp{border:0;}
.inv2 .i2sp[open] summary{border-bottom:0}

.inv2 .i2menu{border:0;}

.inv2 .i2mb{border:0!important;box-shadow:none!important}

.inv2 .i2s .tag,.inv2 .i2s .sx{border:0!important;border-radius:999px;}

.inv2 .itabs{border-bottom:0;gap:4px}

.inv2 .ir .cin input,.inv2 .ir .chatl{border:0!important}
.inv2 .i2line .s{background:rgba(255,255,255,.1)}
.inv2 .i2line .d.todo{background:rgba(255,255,255,.12)}
@media (max-width:760px){.inv2 .i2h{grid-template-columns:minmax(0,1fr) 36px;}.inv2 .i2s{grid-column:1/-1;align-items:flex-start;text-align:left}.inv2 .i2facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
.mono{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:12.5px;color:var(--ink2)}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes fade{from{opacity:0}}
@keyframes zoom{from{opacity:0;transform:translateY(14px) scale(.965)}}
@keyframes drop{from{opacity:0;transform:translateY(-12px) scale(.98)}}
@keyframes growx{from{transform:scaleX(0)}}
@keyframes grow{from{transform:scaleY(0)}}
@keyframes ping{0%{transform:scale(1);opacity:.7}100%{transform:scale(2.8);opacity:0}}
@keyframes pulse{0%{box-shadow:0 0 0 0 var(--acc-soft2)}70%{box-shadow:0 0 0 9px rgba(0,0,0,0)}100%{box-shadow:0 0 0 0 rgba(0,0,0,0)}}
@keyframes blink{50%{opacity:.35}}
@keyframes glow{0%,100%{box-shadow:0 0 0 3px rgba(240,100,30,.22)}50%{box-shadow:0 0 0 6px rgba(240,100,30,.05)}}
@keyframes uline{from{transform:scaleX(.2);opacity:0}}
@keyframes pop{from{transform:translateY(20px) scale(.96);opacity:0}}

button{border-radius:var(--r-s);transition:transform .12s,box-shadow .2s,background .2s,border-color .2s,color .2s,filter .2s}
button:hover{box-shadow:0 4px 14px -8px rgba(20,50,49,.25)}
button:active{transform:scale(.97)}
button.pri{border-color:transparent;}
button.pri:hover{filter:brightness(1.07);}
button.danger:hover{color:var(--bad)}
input:focus,select:focus,textarea:focus{box-shadow:0 0 0 4px var(--acc-soft)}
.banner{font-size:12.5px;background:#2D2413;color:#F6CD83}
.banner.as{background:var(--acc-soft);color:var(--acc-d)}

/* ── меню: тёмное ── */
.layout{grid-template-columns:260px minmax(0,1fr)}
.side{color:var(--sb-ink);}
.side .brand{color:var(--sb-ink);}
.side .brand small{color:var(--sb-mute)}
.brand .logo{border-radius:11px;box-shadow:0 8px 18px -8px var(--acc)}
.brand .logo svg{width:18px;height:18px;stroke:#171821;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.sbsearch{display:flex;align-items:center;gap:10px;width:100%;height:42px;padding:0 10px 0 12px;text-align:left;font-weight:500;font-size:13.5px;margin-bottom:8px;box-shadow:none}
.sbsearch:hover{border-color:var(--acc);background:var(--sb-field);color:var(--sb-ink2);box-shadow:none}
.sbsearch svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;flex:none}
kbd{font-family:"JetBrains Mono",monospace;font-size:10.5px;padding:2px 6px;border-radius:6px;border:1px solid var(--sb-line);margin-left:auto;color:var(--sb-mute)}
.side nav{gap:1px}
.ngrp{text-transform:uppercase;}
.nav{position:relative}

.nav.on .cnt{background:var(--sb-field);}

.nav.soon,.nav.soon:hover{color:#91939D;background:none}.nav.soon .ic{color:#A3A5AE}
.nav .cnt-s{background:var(--sb-hover);color:var(--sb-mute)}
.nsep{display:none}
.nav.orange{background:rgba(234,88,12,.12);color:#FDBA8C}.nav.orange .ic{color:#FB923C}.nav.orange:hover{background:rgba(234,88,12,.2);color:#FED7AA}.nav.orange.on{background:rgba(234,88,12,.24);color:#FFEDD5}.nav.orange.on::before{background:#FB923C}

.side-foot .who{color:var(--sb-ink)}
.side-foot select{background:var(--sb-field);border-color:var(--sb-line);color:var(--sb-ink2)}

.side-foot button:hover{background:var(--sb-hover);color:var(--sb-ink);box-shadow:none}
.online{background:var(--sb-field);color:var(--sb-ink2)}
.on-h{color:var(--sb-mute)}.on-row{color:var(--sb-ink2)}.on-row.live{color:var(--sb-ink)}.on-row .dot{background:#3A3C4A}
.on-row.live .dot{background:#2BC37A;box-shadow:0 0 0 3px rgba(43,195,122,.18)}
.on-rec summary{color:var(--sb-mute)}.on-t,.dev{color:var(--sb-mute)}
.side::-webkit-scrollbar{width:6px}.side::-webkit-scrollbar-thumb{background:#2A2B37;border-radius:3px}

/* ── шапка страницы ── */
.body main{padding:22px 32px 48px}
.ptop{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:22px}
.ptop .crumbs{font-weight:500}
.ptop h1{margin:2px 0 0;line-height:1.15}
.ptop .psub{font-size:14px;margin-top:4px}
.ptop .sp{flex:1}
.ptop button{height:40px;display:inline-flex;align-items:center;gap:8px}
.ptop button svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2.3;stroke-linecap:round}
h2{font-size:17px;letter-spacing:-.01em}

/* ── главная ── */
.hello{display:none}
.tiles{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.tile{border-radius:16px;padding:16px 18px;animation:rise .55s var(--ease) both;transition:transform .2s var(--ease),box-shadow .2s,border-color .2s}
.tile:nth-child(2){animation-delay:.05s}.tile:nth-child(3){animation-delay:.1s}.tile:nth-child(4){animation-delay:.15s}.tile:nth-child(5){animation-delay:.2s}
.tile:hover{transform:translateY(-3px);box-shadow:var(--sh-h);border-color:#3E4047}
.tile .v{font-size:28px;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.tile .l{font-size:13px;color:var(--mute);font-weight:500}
.todo{gap:12px}
.titem{border-radius:16px;animation:rise .55s var(--ease) both;transition:transform .2s var(--ease),box-shadow .2s,border-color .2s}
.titem:hover{transform:translateY(-3px);box-shadow:var(--sh-h);}
.titem .tn{font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.titem.zero{animation:none}
.bankbar{border-radius:16px;animation:rise .5s var(--ease) both}
.hrow{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);margin-top:18px}
@media (max-width:1100px){.hrow{grid-template-columns:minmax(0,1fr)}}
.hcard2{border-radius:20px;padding:22px;animation:rise .6s var(--ease) both;min-width:0}
.hcard2 h3{margin:0 0 14px;font-size:16px;display:flex;align-items:center;gap:10px}
.hcard2 h3 .pill{margin-left:auto}
.week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:end;height:160px}
.wd{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;height:100%;min-width:0}
.wd .bar{width:100%;max-width:42px;border-radius:9px;background:#202328;transform-origin:bottom;animation:grow 1s var(--ease) both;min-height:6px}
.wd.pay .bar{background:var(--acc)}
.wd .dn{font-size:12px;color:var(--mute);font-weight:500;white-space:nowrap}
.wd.pay .dn{color:var(--acc);font-weight:700}
.wd.today .dn{color:var(--ink);font-weight:700}
.wd .amt{font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;min-height:14px;white-space:nowrap}
.paynote{display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:12px;background:var(--acc-soft);color:var(--acc-d);font-size:13.5px;font-weight:600;margin-top:16px}
.paynote svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;flex:none}
.pill{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;background:var(--line2);color:var(--ink2)}
.pill.ac{background:var(--acc-soft);color:var(--acc-d)}

/* ── статусы и приоритет ── */
.tag{height:24px;padding:0 10px;font-size:12px}
.t-ok{background:var(--ok-bg);color:var(--ok)}.t-warn{background:#13192C;color:#9CAEF2}.t-bad{background:var(--warn-bg);color:var(--warn)}.t-info,.t-vio{background:var(--acc-soft);color:var(--acc-d)}
.pb{font-size:11px;padding:2px 8px}.pb-fire{background:#342116;color:#FEA87B}.pb-urgent{background:var(--warn-bg);color:var(--warn)}
.pd{display:inline-block;width:9px;height:9px;border-radius:50%;flex:none;vertical-align:middle}
.pd-fire{background:var(--fire);animation:glow 1.6s ease-in-out infinite}.pd-urgent{background:#E9A21F}.pd-normal{background:transparent}

/* ── таблица: крест-подсветка ── */
.card{border-radius:18px;animation:rise .5s var(--ease) both}
.wrap{overflow-x:auto;overflow-y:visible}
.xclip{min-width:100%;width:max-content}
.tbl{border-collapse:separate;border-spacing:0}
.tbl th{padding:0 14px;z-index:3}
.tbl td{vertical-align:middle;position:relative;}
.tbl td>*{position:relative;z-index:1}

.tbl tr.row td:hover::after{content:"";position:absolute;left:0;right:0;top:-3000px;height:6000px;pointer-events:none;}
.tbl tr.row.sel td{background:var(--acc-soft)}
.tbl td.num{font-weight:700}

.prog{display:flex;flex-direction:column;gap:5px;}
.prog .tr{display:flex;gap:3px}
.prog i{display:block;height:5px;flex:1;border-radius:3px;background:#27282E}
.prog i.on{background:var(--acc)}
.prog i.now{background:var(--acc);animation:blink 1.4s ease-in-out infinite}
.prog i.x{background:#E8857C}.prog i.ok{background:#2E9E62}.prog i.fx{background:#E9A21F;animation:blink 1.4s ease-in-out infinite}
.prog .pl{font-size:11.5px;color:var(--mute);display:flex;justify-content:space-between;gap:8px;white-space:nowrap}
.prog .pl b{font-weight:600;color:var(--ink)}
.qhead{border-bottom-color:var(--line2)}

/* ── реестр: шапка, вкладки, канбан ── */

.filters input[type=search]{border:1px solid #393B41;background-color:#171821;border-radius:11px}

/* ── карточка счёта: окно по центру ── */
.drawer{justify-content:center;align-items:center;padding:24px;background:rgba(16,17,30,.42);backdrop-filter:blur(4px);animation:fade .22s both}
.drawer .pane{width:min(1100px,100%);height:auto;max-height:calc(100vh - 48px);border-radius:24px;padding:0;display:flex;flex-direction:column;overflow:hidden;animation:zoom .36s var(--ease) both}
.drawer .pane>.boot{padding:80px}
.ih{padding:22px 26px 16px;display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap}
.ih .t{flex:1 1 360px;min-width:0}
.ih .chips0{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.ih h2{margin:8px 0 4px;font-size:24px;letter-spacing:-.02em;line-height:1.2}
.ih .meta{font-size:13.5px;color:var(--mute);display:flex;gap:8px 10px;flex-wrap:wrap;align-items:center}
.ih .meta i{width:3px;height:3px;border-radius:50%;background:#585B63;display:block}
.ih .sum{text-align:right}
.ih .amt{font-size:32px;font-weight:700;letter-spacing:-.035em;font-variant-numeric:tabular-nums;line-height:1}
.ih .vat{font-size:12.5px;color:var(--mute);margin-top:6px}
.ix{width:38px;height:38px;padding:0;border-radius:11px;border:0;background:#1D1E23;display:grid;place-items:center;transition:background .15s,transform .2s}
.ix:hover{background:#282A2F;transform:rotate(90deg);box-shadow:none}
.ix svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round}
.stp{padding:2px 26px 18px;border-bottom:1px solid var(--line2);overflow-x:auto}
.track{position:relative;display:grid;grid-template-columns:repeat(8,minmax(78px,1fr));min-width:640px}
.rail{position:absolute;left:6.25%;right:6.25%;top:13px;height:3px;border-radius:2px;}
.railf{position:absolute;left:0;top:0;bottom:0;border-radius:2px;transform-origin:left;animation:growx 1s var(--ease) .12s both}
.st{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:0 2px}
.nd{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#171821;border:2px solid #3F4147;color:#FFFFFF}
.nd svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}

.st.now .nd{animation:pulse 1.8s infinite}
.st.now .nd::after{content:"";width:9px;height:9px;border-radius:50%;}
.st.rej .nd{background:#D9372A;border-color:#D9372A}
.st.fx .nd{border-color:#E9A21F;animation:none}.st.fx .nd::after{content:"";width:9px;height:9px;border-radius:50%;background:#E9A21F}
.st .sl{font-size:12.5px;font-weight:600;line-height:1.2}
.st.todo .sl{color:var(--mute);font-weight:500}
.st .sp2{font-size:11.5px;color:var(--mute);line-height:1.25;max-width:120px}
.st.now .sp2{color:var(--acc-d);font-weight:600}
.ib{flex:1;overflow:auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:0}
@media (max-width:900px){.ib{grid-template-columns:minmax(0,1fr)}}
.il{padding:18px 26px 22px;border-right:1px solid var(--line2);min-width:0}
.ir{padding:8px 26px 22px;display:flex;flex-direction:column;gap:12px;min-width:0}
.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fact{padding:10px 14px;border-radius:12px;background:#191B1E;font-size:12px;color:var(--mute);min-width:0;overflow-wrap:anywhere}
.fact b{display:block;font-size:14px;color:var(--ink);margin-top:2px;font-weight:600}
.fact.wide{grid-column:1/-1}
.fact.warnf{background:#2A1C12;color:#FBAC7E}.fact.warnf b{color:#FEAC7C}
.fact a{font-weight:600}
.il .route{margin:14px 0 6px;background:#191B1E}
.il .acts,.ifoot .acts{margin:0}
.itabs{display:flex;gap:2px;border-bottom:1px solid var(--line2)}
.itabs button{position:relative;height:42px;padding:0 12px;border:0;background:none;border-radius:0;font-size:13.5px;color:var(--mute);box-shadow:none}
.itabs button:hover{background:none;color:var(--ink);box-shadow:none}

.itabs button.on::after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:2.5px;border-radius:2px;animation:uline .3s ease both}
.itabs .n{font-size:11px;padding:0 7px;border-radius:99px;background:#1F2126;margin-left:4px;font-weight:600}
.chat{margin:4px 0 0;gap:10px;animation:fade .25s both}
.cmsg{border-radius:16px 16px 16px 5px;padding:9px 13px;font-size:13.5px;max-width:88%}
.cmsg.me{border-radius:16px 16px 5px 16px}
.cmsg.me small{color:rgba(255,255,255,.75)}
.cin{border:1px solid #393B41;border-radius:14px;padding:5px 5px 5px 12px;margin-top:6px;transition:border-color .2s,box-shadow .2s}
.cin:focus-within{border-color:var(--acc);box-shadow:0 0 0 4px var(--acc-soft)}
.cin input{border:0;padding:6px 0;box-shadow:none!important}
.cin button{padding:7px 14px}
.hist{border-top:0;margin-top:0;animation:fade .25s both}
.ifoot{padding:14px 26px 18px;border-top:1px solid var(--line2);background:#171821}
.ifoot .acts{display:flex;gap:8px;flex-wrap:wrap}
.ifoot .acts button{height:40px}
.ifoot .acts button.pri{order:-1}
#ax:empty{display:none}
#ax .card{margin:0 0 10px!important;animation:none}
.note{border-radius:12px}

/* ── окно подтверждения ── */
.modal{background:rgba(16,17,30,.42);backdrop-filter:blur(4px);animation:fade .2s both}
.mbox{border-radius:22px;animation:zoom .3s var(--ease) both;padding:24px 24px 20px}
.mt{font-size:17px;font-weight:700;letter-spacing:-.01em}
.msum{background:#191B1E}

/* ── быстрый поиск ── */
.cw{position:fixed;inset:0;z-index:35;display:flex;justify-content:center;align-items:flex-start;padding:12vh 16px 16px;background:rgba(16,17,30,.42);backdrop-filter:blur(4px);animation:fade .2s both}
.cmd{position:relative;width:min(640px,100%);background:#171821;border-radius:20px;box-shadow:0 40px 110px -20px rgba(14,15,40,.55);overflow:hidden;animation:drop .3s var(--ease) both}
.cmdi{display:flex;align-items:center;gap:12px;padding:0 18px;height:62px;border-bottom:1px solid var(--line2);color:var(--mute)}
.cmdi svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;flex:none}
.cmdi input{border:0;outline:0;flex:1;font-size:17px;background:transparent;padding:0;box-shadow:none!important}
.cmdi kbd{border-color:#393B41;color:var(--mute)}
.cl{max-height:420px;overflow:auto;padding:8px}
.cg{font-size:10.5px;text-transform:uppercase;letter-spacing:.09em;color:var(--mute);padding:10px 12px 4px;font-weight:700}
.ci{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:6px 12px;border:0;background:none;border-radius:11px;text-align:left;font-size:14px;font-weight:500;box-shadow:none}
.ci:hover,.ci.on{background:var(--acc-soft);color:var(--ink);box-shadow:none}
.ci .gi{width:30px;height:30px;border-radius:9px;background:#1D1E23;display:grid;place-items:center;color:var(--ink2);flex:none}
.ci:hover .gi,.ci.on .gi{background:#171821;color:var(--acc)}
.ci .gi svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ci .tx{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ci small{color:var(--mute);font-size:12.5px;white-space:nowrap}
.cf{display:flex;gap:16px;padding:10px 18px;border-top:1px solid var(--line2);font-size:12px;color:var(--mute)}
.cempty{padding:22px;text-align:center;color:var(--mute);font-size:13.5px}

.toast{border-radius:14px;animation:pop .3s var(--ease) both}
.login .card{border-radius:22px}

@media (max-width:900px){
  .side{width:280px}
  .body main{padding:16px 14px 32px}
  
  .drawer{padding:0;align-items:flex-end}
  .drawer .pane{max-height:94vh;border-radius:22px 22px 0 0;padding:0}
  .ih,.il,.ir,.ifoot{padding-left:16px;padding-right:16px}
  .stp{padding-left:16px;padding-right:16px}
}
.clamp{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tbl td{white-space:nowrap}.tbl td .ctr{white-space:normal}

.body main{max-width:1560px}
.tbl td:has(.ctr){min-width:200px;max-width:320px;white-space:normal}
.tbl td .mono{white-space:normal;overflow-wrap:anywhere}
.tbl td,.tbl th{padding-left:12px;padding-right:12px}
.prog{min-width:130px}
.tbl td:has(.tag+.tag){white-space:normal;min-width:110px}
/* центр перекрестия — ячейка под курсором */

.ci small{max-width:45%;overflow:hidden;text-overflow:ellipsis}
/* таблицы: своя прокрутка (вправо и вниз) в пределах экрана — полоса прокрутки всегда видна, шапка закреплена */
.wrap{max-height:calc(100vh - 230px);overflow:auto}
.xclip{overflow:clip}
.tbl th{position:sticky;top:0}
@media (max-width:1599px){.hide-l{display:table-cell}}
.wrap::-webkit-scrollbar{height:10px;width:10px}.wrap::-webkit-scrollbar-thumb{background:#41444B;border-radius:6px;border:2px solid #262626}.wrap::-webkit-scrollbar-track{background:#1B1D21}

/* предупреждение о дубле при внесении */
.duptop{display:flex;align-items:center;gap:10px;background:#2C1514;color:#F58E85;border:1px solid #553E3C;border-radius:12px;padding:10px 14px;margin:0 0 14px;font-size:13.5px;text-decoration:none!important;animation:rise .4s var(--ease) both}
.duptop:hover{border-color:#D9372A;color:#F58E85}
.duptop .ic{display:grid;color:#F4A19A}.duptop .ic svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.duptop .dgo{margin-left:auto;font-weight:700;white-space:nowrap}
.dupw{border:1.5px solid #E5574B;background:#23110F;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:8px;animation:rise .4s var(--ease) both;box-shadow:0 10px 26px -18px rgba(217,55,42,.6)}
.duph{display:flex;gap:10px;align-items:flex-start;color:#F58E85}
.duph .ic{width:34px;height:34px;border-radius:10px;background:#D9372A;color:#FFFFFF;display:grid;place-items:center;flex:none}
.duph .ic svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.2}
.duph b{display:block;font-size:14.5px}.duph small{display:block;color:#E6ADA8;font-size:12.5px;margin-top:2px}
.dupi{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;width:100%;text-align:left;background:#171821;border:1px solid #4F3A37;border-radius:12px;padding:10px 12px;font-weight:400;color:var(--ink)}
.dupi:hover{border-color:#D9372A;background:#171821;color:var(--ink);transform:translateY(-1px);box-shadow:0 10px 22px -16px rgba(217,55,42,.6)}
.dupi .dw{font-size:11.5px;font-weight:700;color:#FFFFFF;background:#D9372A;border-radius:99px;padding:3px 9px;white-space:nowrap}
.dupi .dn{min-width:0}.dupi .dn small{display:block;color:var(--mute);font-size:12px;margin-top:2px}
.dupi .da{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-variant-numeric:tabular-nums;white-space:nowrap}
.dupi .dgo{font-weight:700;color:#F69F97;white-space:nowrap}
.dupok{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:#F58E85;padding:4px 2px;cursor:pointer}
.dupok input{width:17px;height:17px;accent-color:#D9372A}
@media (max-width:720px){.dupi{grid-template-columns:minmax(0,1fr) auto}.dupi .dw{grid-column:1/-1;justify-self:start}.dupi .dgo{display:none}}
/* галка «без НДС» и другие чекбоксы внутри формы — не растягивать на всю ширину */
.frow input[type=checkbox],.frow input[type=radio]{width:17px;height:17px;padding:0;border:0;background:none;box-shadow:none!important;flex:none;accent-color:var(--acc);margin:0}
.vatr{flex-wrap:wrap}
.frow label.chk2{display:inline-flex;align-items:center;gap:7px;width:auto;margin:0;font-size:13.5px;font-weight:600;color:var(--ink2);white-space:nowrap;cursor:pointer;text-transform:none;letter-spacing:0}
/* платёжные дни */
.pgh{display:flex;align-items:center;gap:10px;padding:12px 16px 8px;border-top:1px solid var(--line2);font-size:13.5px}
.pgh:first-of-type{border-top:0}
.pgh b{font-weight:700}.pgh span{margin-left:auto;color:var(--mute);font-weight:600;font-variant-numeric:tabular-nums}
.pgh.pday b{color:var(--acc-d)}.pgh.pday b::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--acc);margin-right:8px;vertical-align:1px}
.pgh.off b{color:#FFCC7A}.pgh.late b{color:var(--bad)}
.pdc button{display:inline-flex;align-items:center;gap:6px}
.pdc button i{width:6px;height:6px;border-radius:50%;background:var(--acc);display:block}
.pdc .sub{font-size:12px;color:var(--mute)}
/* живой чат в карточке */
.chatl{display:flex;flex-direction:column;gap:10px;max-height:min(52vh,460px);overflow:auto;padding-right:4px}
.cmsg.fresh{animation:rise .35s var(--ease) both}
.livehint{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--mute);margin-top:2px}
.livedot{width:7px;height:7px;border-radius:50%;background:#2BC37A;position:relative;display:inline-block}
.livedot::after{content:"";position:absolute;inset:0;border-radius:50%;background:#2BC37A;animation:ping 2s infinite}
.itabs button.newmsg .n{background:var(--fire);color:#FFFFFF;animation:glow 1.6s ease-in-out infinite}
.newn{display:inline-grid;place-items:center;min-width:22px;height:20px;padding:0 6px;border-radius:99px;background:var(--acc);color:#FFFFFF;font-size:11.5px;font-weight:700;margin-right:4px}
/* столбцы реестра под себя */
.tbl th .rz{position:absolute;top:0;right:-3px;width:8px;height:100%;cursor:col-resize;z-index:4}
.tbl th .rz::after{content:"";position:absolute;top:10px;bottom:10px;left:3px;width:2px;border-radius:2px;background:transparent;transition:background .15s}
.tbl th:hover .rz::after{background:#41444B}.tbl th .rz:hover::after{background:var(--acc)}
body.resizing,body.resizing *{cursor:col-resize!important;user-select:none}
.tbl td.sub .clamp,.tbl td .clamp{max-width:none}
.tbl td[style*="max-width"]{white-space:normal;overflow:hidden;text-overflow:ellipsis}
#fcols{display:inline-flex;align-items:center;gap:7px}#fcols svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
.colsl{list-style:none;margin:0 0 10px;padding:0;max-height:52vh;overflow:auto;border:1px solid var(--line);border-radius:12px}
.colsl li{display:flex;align-items:center;gap:10px;padding:7px 10px;border-bottom:1px solid var(--line2);background:#171821;cursor:grab}
.colsl li:last-child{border-bottom:0}
.colsl li.drag{opacity:.5;background:var(--acc-soft)}
.colsl .grip{color:#B3B7C3;font-size:12px;letter-spacing:-2px}
.colsl label{flex:1;display:flex;align-items:center;gap:8px;font-size:14px;cursor:pointer;margin:0}
.colsl input{width:16px;height:16px;accent-color:var(--acc)}
.colsl .mv button{padding:2px 8px;font-size:12px;border-radius:7px;margin-left:2px}
.clamp{max-width:none}
td .clamp{min-width:160px}
td:not([style]) .clamp{max-width:320px}
/* ── мобилка (проход 04.10) ── */
@media (max-width:900px){
  .layout{grid-template-columns:minmax(0,1fr)}
  .ptop{margin-bottom:14px}
  #padd{position:fixed;right:16px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:12;height:52px;padding:0 20px;border-radius:99px;box-shadow:0 14px 30px -10px var(--acc)}
  .mtop{gap:10px}
}
@media (max-width:720px){
  .body main{padding:14px 12px 90px}
  .banner{font-size:11.5px;padding:6px 12px;line-height:1.35}
  .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tile{padding:12px 14px}.tile .v{font-size:20px}.tile .l{font-size:12px}
  .todo{grid-template-columns:minmax(0,1fr);gap:8px}
  .titem{padding:12px 14px}
  .hcard2{padding:16px;border-radius:18px}
  .week{height:130px;gap:4px}.wd .amt{font-size:9.5px}.wd .dn{font-size:10.5px}
  .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
  .filters>*{width:100%!important;min-width:0!important}
  .filters input[type=search]{grid-column:1/-1}
  .filters .sp{display:none}
  
  
  .wrap{max-height:calc(100vh - 150px)}
  .tbl td,.tbl th{padding-left:10px;padding-right:10px}
  .qhead{padding:12px}
  .pgh{padding:10px 12px 6px;flex-wrap:wrap}
  .bankbar{padding:12px 14px;gap:10px}
  .ih h2{font-size:20px}.ih .amt{font-size:24px}.ih .sum{text-align:left}
  .ih{gap:10px}.ih .ix{position:absolute;top:14px;right:14px}.drawer .pane{position:relative}
  .facts{grid-template-columns:minmax(0,1fr)}
  .ifoot .acts button{flex:1 1 calc(50% - 8px);min-width:0;white-space:normal;line-height:1.2}
  .mbox{padding:18px 16px 14px;border-radius:20px}
  .cw{padding:8vh 10px 10px}
  .colsl .mv{display:none}
}
/* мобилка: строки таблиц — карточками */
@media (max-width:720px){
  .tbl thead{display:none}
  .tbl,.tbl tbody,.tbl tr,.tbl td{display:block;width:auto!important;min-width:0!important;max-width:none!important}
  .xclip{width:auto;overflow:visible}
  .wrap{overflow-x:hidden}
  .tbl tr.row{position:relative;padding:12px 12px 10px;border-bottom:1px solid var(--line2)}
  .tbl tr.row:last-child{border-bottom:0}
  .tbl td{border:0!important;display:flex;justify-content:space-between;align-items:baseline;gap:12px;white-space:normal;text-align:right!important;font-size:13px}
  .tbl td::before{content:attr(data-l);color:var(--mute);font-size:12px;font-weight:500;text-align:left;flex:none}
  .tbl td.c-contractor{display:block;text-align:left!important;font-size:15px;padding-bottom:6px!important}
  .tbl td.c-contractor::before{display:none}
  .tbl td.c-progress{display:block}.tbl td.c-progress::before{display:none}
  .tbl td.c-amount{font-size:15px}
  .tbl td:has(.chk){position:absolute;right:12px;top:12px;padding:0!important}.tbl td:has(.chk)::before{display:none}
  .tbl tr.row:has(.chk) td.c-contractor{padding-right:34px!important}
  .tbl td.hide-m{display:none}.tbl td.c-progress.hide-m,.tbl td.c-object.hide-m{display:flex}.tbl td.c-progress.hide-m{display:block}
  
  
  .tbl td .clamp{min-width:0;text-align:right}
  .prog{min-width:0}
}
@media (max-width:720px){
  .stp{padding:4px 10px 12px;overflow:visible}
  .track{grid-template-columns:repeat(8,minmax(0,1fr));min-width:0}
  .nd{width:22px;height:22px}.nd svg{width:11px;height:11px}
  .st.now .nd::after,.st.fx .nd::after{width:7px;height:7px}
  .rail{top:10px}
  .st .sl{line-height:1.15;word-break:break-word}
  .st .sp2{display:none}.st.now .sp2{display:block;font-size:9.5px}
  .ib{overflow-x:hidden}
  .il,.ir{padding-left:14px;padding-right:14px;border-right:0}
  .ih{padding:16px 14px 10px}
  .ifoot{padding:10px 12px 12px}
}
@media (max-width:720px){.st .sl{font-size:0}.st .sl::after{content:attr(data-s);font-size:9.5px;white-space:nowrap}}
/* ширины столбцов по умолчанию, чтобы таблица влезала (свою ширину можно задать в «Столбцах») */
.tbl td.c-descr,.tbl td.c-comment{white-space:normal;max-width:300px;min-width:180px}
.tbl td.c-descr .clamp,.tbl td.c-comment .clamp{max-width:none;min-width:0}
.tbl td.c-contractor{white-space:normal;max-width:270px;min-width:180px}
.tbl td.c-status{white-space:normal;min-width:110px;max-width:150px}
.tbl td.c-status .tag{margin:1px 0}
.tbl td.c-object,.tbl td.c-category,.tbl td.c-section,.tbl td.c-au{white-space:normal;max-width:180px}
.tbl td.c-date .sub{white-space:nowrap}

/* ── задачи ── */
.tabsl{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.tabsl>button[data-v]{border-radius:99px;padding:7px 14px;font-size:13.5px}
.tabsl>button[data-v].on{background:var(--acc-soft);border-color:var(--acc-soft2);color:var(--acc-d)}
.tabsl>button[data-v] .n{font-size:11.5px;background:var(--acc);color:#FFFFFF;border-radius:99px;padding:1px 7px;margin-left:4px}
.tabsl .sp{flex:1}
.tabsl #tznew{display:inline-flex;align-items:center;gap:7px}.tabsl #tznew svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.3;stroke-linecap:round}
.tbl tr.tzr.late td:first-child{box-shadow:inset 3px 0 0 var(--bad)}
.mbox.wide{width:min(680px,100%)}
.tzf .frow{margin-top:12px}
.pchips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;border:1px solid var(--line);border-radius:11px;padding:6px}
.pchip{display:inline-flex;align-items:center;gap:6px;background:var(--acc-soft);color:var(--acc-d);border-radius:99px;padding:3px 4px 3px 10px;font-size:13px;font-weight:600}
.pchip button{border:0;background:transparent;padding:0 6px;font-size:15px;line-height:1;color:var(--acc-d);box-shadow:none}
.pchip button:hover{background:rgba(23,24,33,.6);box-shadow:none}
.pchips .padd{border:0;width:auto!important;flex:1;min-width:140px;padding:4px 6px;background:transparent}
.invres{display:flex;flex-direction:column;margin-top:4px}
.tzpeople{display:flex;gap:18px;flex-wrap:wrap;padding:0 26px 14px;border-bottom:1px solid var(--line2)}
.tzp{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}
.tzp>.sub:first-child{font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;font-weight:700}
.tzpn{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.tzpn .av{width:24px;height:24px;font-size:9.5px}
.tztext{white-space:pre-wrap;line-height:1.55;font-size:14.5px;background:#191B1E;border-radius:12px;padding:12px 14px;margin:0 0 12px}
.tzck{border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-bottom:12px}
.tzckh{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.tzbar{height:5px;border-radius:3px;background:#1F2126;margin-bottom:8px;overflow:hidden}.tzbar i{display:block;height:100%;background:var(--acc);border-radius:3px;transition:width .3s}
.tzci{display:flex;gap:10px;align-items:flex-start;padding:6px 2px;font-size:14px;cursor:pointer}
.tzci input{width:17px;height:17px;margin-top:1px;accent-color:var(--acc);flex:none}
.tzci.on span{text-decoration:line-through;color:var(--mute)}
.tzrep{background:var(--ok-bg);border-radius:12px;padding:12px 14px;margin-bottom:12px;font-size:14px}.tzrep b{display:block;color:var(--ok);margin-bottom:4px;font-size:13px}
.tzfiles{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.tzfile{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:10px;padding:6px 10px;font-size:13px;background:#171821}
.tzfile svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
.tzlink{display:flex;align-items:center;gap:8px;font-size:13.5px;margin:6px 0 12px}.tzlink svg{width:16px;height:16px;stroke:var(--acc);fill:none;stroke-width:2}
.tzpane .ih .sum .sub{text-align:right}
@media (max-width:720px){.tzpeople{padding:0 14px 12px;gap:10px}.tabsl .viewsw{order:5}}
.av{width:28px;height:28px;border-radius:50%;display:inline-grid;place-items:center;font-size:10.5px;font-weight:700;flex:none;letter-spacing:.02em;vertical-align:middle}
.a1{background:#163332;color:#a0eeeb}.a2{background:#253A30;color:#88F2BD}.a3{background:#3B2619;color:#FEAA7C}.a4{background:#172135;color:#88A5F1}.a5{background:#193433;color:#8dedea}.a6{background:#24262B;color:#B0B3BC}
.tbl td .av{width:24px;height:24px;font-size:9.5px;margin-right:4px}
.macts.mcol{flex-direction:column}.macts.mcol button{width:100%}
/* ── Заявки материалов ── */
.note.ok-n{background:var(--ok-bg);border-color:transparent;color:var(--ok)}
.note.bad-n{background:var(--bad-bg);border-color:transparent;color:var(--bad)}
.mrtab{border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-bottom:12px}
.mrtab .tzckh{justify-content:flex-start;gap:10px}
.mrtab .tzckh .sp{flex:1}
.mrr{display:grid;grid-template-columns:22px minmax(0,1fr) auto 96px;gap:10px;align-items:center;padding:7px 2px;border-top:1px solid var(--line);font-size:14px}
.mrr:first-of-type{border-top:0}
.mrr input[type=checkbox]{width:17px;height:17px;accent-color:var(--acc)}
.mrr .mrk{text-align:center}
.mrr .mrnm{min-width:0;overflow-wrap:anywhere}
.mrr .mrq2{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--ink2)}
.mrr>div:last-child{text-align:right}
.mrr.canc .mrnm b,.mrr.canc .mrq2{text-decoration:line-through;color:var(--mute)}
.mrbulk{flex-wrap:wrap;align-items:center}
.mrbulk button{padding:5px 10px;font-size:13px}
.mrinv{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:7px 0;border-top:1px solid var(--line);font-size:14px}
.mrinv:first-of-type{border-top:0}
.mrinv .tag{margin-left:auto}
.ix.sm{width:26px;height:26px;font-size:15px;line-height:1}
.mris{display:flex;flex-direction:column;gap:6px}
.mri{display:grid;grid-template-columns:minmax(0,1fr) 84px 78px minmax(0,.7fr) 34px;gap:6px;align-items:center}
.mri input{min-width:0}
.mri .mrx{width:34px;padding:0;font-size:18px}
.mri .mrc{padding:6px 8px;font-size:12px;grid-column:5;width:auto;white-space:nowrap}
.mri.lock{grid-template-columns:minmax(0,1fr) 84px 78px minmax(0,.7fr) auto}
.mri.lock input,.mri.canc input{background:var(--bg);color:var(--ink2)}
.mri.cx input,.mri.canc input{text-decoration:line-through;color:var(--mute)}
.mri .mrlk{grid-column:1/-1;margin-top:-2px}
.mri.cx .mrlk::after{content:' · будет отменена';color:var(--bad)}
/* справочник в форме заявки: подсказки под «Что нужно» и строка «= 150 лист · на объекте уже …» */
.mri{position:relative}
.mri .mrh{grid-column:1/-1;margin-top:-3px;font-size:12.5px;line-height:1.35;min-height:0}
.mri .mrh:empty{display:none}
.mrsg{position:absolute;left:0;top:40px;z-index:6;width:min(560px,100%);max-height:290px;overflow:auto;padding:4px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--sh-h)}
.mrsg button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:100%;padding:8px 10px;border:0;border-radius:8px;background:none;text-align:left;font:inherit;color:var(--ink);cursor:pointer;white-space:normal}
.mrsg button b{font-weight:600}
.mrsg button .sub{font-size:12px}
.mrsg button:hover,.mrsg button.on{background:var(--acc-soft)}
/* сверка заявка ↔ счета: в карточке заявки — строки позиций, в карточке счёта — под позицией (.itc) */
.cmpr{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:10px;padding:8px 2px;border-top:1px solid var(--line);font-size:13.5px;align-items:start}
.cmpr:first-of-type{border-top:0}
.cmpn{min-width:0;overflow-wrap:anywhere}
.cmpq{font-variant-numeric:tabular-nums;color:var(--ink2)}
.cmps{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.cmps button,.itc button{padding:4px 9px;font-size:12.5px;width:auto}
.cmph{margin-top:10px;font-weight:600}
.itc{margin-top:4px;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}
@media (max-width:760px){.cmpr{grid-template-columns:minmax(0,1fr)}}
/* доставка и приёмка по строкам (этап 3): галочка · позиция · количество · единица */
.dli{display:flex;flex-direction:column;gap:4px;max-height:320px;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:6px 8px}
.dli .dlir{display:grid;grid-template-columns:20px minmax(0,1fr) 84px 44px;gap:8px;align-items:center;padding:4px 0;margin:0;font-size:13.5px;font-weight:400;cursor:pointer}
.dli .dlir input[type=checkbox]{width:17px;height:17px;margin:0;accent-color:var(--acc)}
.dli .dlir .nm{min-width:0;overflow-wrap:anywhere}
.dli .dlir .dlq{width:84px;min-width:0;padding:5px 8px;font-size:13px;text-align:right}
.dlir.done{opacity:.55}
.dlvls{margin-top:4px;line-height:1.4}
.mattabs{margin-bottom:0}
/* карточка объекта (этап 4) и спецификация */
.ib.one{grid-template-columns:minmax(0,1fr)}
.objtabs{margin:12px 0 10px}
.objlinks{flex-wrap:wrap;gap:8px}
.objlinks button,.tzckh button{display:inline-flex;align-items:center;gap:7px;width:auto}
.objlinks button svg,.tzckh button svg{width:16px;height:16px;flex:none}
.tot td{border-top:2px solid var(--line)}
.mri .mro{grid-column:1/-1;min-height:34px;font-size:13px;margin-top:-2px}
.spimp{max-height:55vh;overflow:auto;display:flex;flex-direction:column;gap:6px}
.spir{display:grid;grid-template-columns:20px minmax(0,2.2fr) 72px 64px 84px minmax(0,1fr);gap:6px;align-items:center}
.spir input{min-width:0;padding:5px 8px;font-size:13px}
.spir input[type=checkbox]{width:17px;height:17px;accent-color:var(--acc)}
.spir.sph span{font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--mute)}
.spir .spi{min-width:0;overflow-wrap:anywhere;display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.spimp label.chk2{padding:3px 0}
@media (max-width:760px){.spir{grid-template-columns:20px minmax(0,1fr) 64px 56px}.spir .sps,.spir .spi{grid-column:2/-1}}
.ok-t{color:var(--ok,#1f8a4c)}
.mrinvres{max-height:340px;overflow:auto;display:flex;flex-direction:column;gap:4px;margin-top:8px}
@media (max-width:760px){
  .mri,.mri.lock{grid-template-columns:minmax(0,1fr) 70px 64px 34px;border:1px solid var(--line);border-radius:12px;padding:8px}
  .mri .mrn{grid-column:1/-1}
  .mri .mrl{grid-column:1/-1;order:5}
  .mri .mrc{grid-column:4}
  .mri .mrh{order:6}
  .mrsg{top:46px;left:8px;width:calc(100% - 16px)}
  .mrr{grid-template-columns:22px minmax(0,1fr) auto}
  .mrr>div:last-child{grid-column:2/-1;text-align:left}
}
.tabsl #mrnew,#mrinvadd,#mradd{display:inline-flex;align-items:center;gap:7px}
.tabsl #mrnew svg,#mrinvadd svg,#mradd svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.3;stroke-linecap:round}
/* ── Ассистент ── */
.aifab{position:fixed;right:22px;bottom:22px;z-index:60;display:inline-flex;align-items:center;gap:8px;padding:11px 16px 11px 13px;border-radius:99px;font-weight:600;font-size:14px;cursor:pointer;transition:transform .15s var(--ease)}
.aifab:hover{transform:translateY(-2px)}
.aifab svg{width:19px;height:19px;fill:none;stroke-width:1.8;stroke-linejoin:round}
body.ai-open .aifab{display:none}
.aip{position:fixed;right:18px;bottom:18px;top:18px;width:440px;max-width:calc(100vw - 36px);z-index:70;border-radius:20px;box-shadow:0 24px 60px -20px rgba(20,20,40,.35);display:flex;flex-direction:column;overflow:hidden;animation:aiin .2s var(--ease)}
@keyframes aiin{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.aiw{display:flex;flex-direction:column;height:100%;min-height:0}
.aicard{padding:0;height:calc(100vh - 190px);min-height:460px;overflow:hidden}
.aih{display:flex;align-items:center;gap:8px;padding:14px 14px 12px 16px;border-bottom:1px solid var(--line)}
.aii{display:inline-flex;width:28px;height:28px;border-radius:9px;align-items:center;justify-content:center;background:var(--acc-soft);flex:none}
.aii svg{width:17px;height:17px;stroke:var(--acc);fill:none;stroke-width:1.8;stroke-linejoin:round}
.aii.big{width:48px;height:48px;border-radius:14px}.aii.big svg{width:26px;height:26px}
.aih .sp{flex:1}
.ail{flex:1;overflow:auto;padding:14px 16px;display:flex;flex-direction:column;gap:10px;min-height:0}
.aiempty{margin:auto 0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:10px}
.aiempty .chips{margin-top:6px}
.aiempty .chips button{font-size:12.5px}
.aim{display:flex}
.aim>div{max-width:92%;background:var(--bg);border:1px solid var(--line);border-radius:14px 14px 14px 4px;padding:9px 12px;font-size:14px;line-height:1.45}
.aim.me{justify-content:flex-end}
.aim.me>div{background:var(--acc);border-color:var(--acc);color:#FFFFFF;border-radius:14px 14px 4px 14px}
.aitx{white-space:pre-wrap}
.aitb{display:flex;flex-direction:column;gap:2px;margin-top:8px}
.air{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:2px 8px;text-align:left;background:var(--card,#171821);border:1px solid var(--line);border-radius:10px;padding:6px 9px;font-size:13px;cursor:pointer}
.air:hover{border-color:var(--acc-soft2)}
.air b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.air .am{font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.air span.sub:nth-of-type(2){grid-column:1/3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aigr{display:flex;flex-direction:column;gap:5px;margin-top:8px}
.aig{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(40px,1fr) auto;gap:8px;align-items:center;font-size:13px}
.aig .k{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aig .bar{height:7px;border-radius:9px;background:var(--line);overflow:hidden}.aig .bar i{display:block;height:100%;background:var(--acc);border-radius:9px}
.aig .v{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}
.aiact{display:flex;gap:10px;align-items:center;margin-top:8px;flex-wrap:wrap}
.aiact .lnk{background:none;border:0;padding:0;color:var(--acc);font-weight:600;cursor:pointer}
.aiact .sm{padding:6px 12px;font-size:13px}
.aiin{display:flex;gap:8px;padding:12px 14px;border-top:1px solid var(--line)}
.aiin input{flex:1;min-width:0}
.aimic{width:42px;padding:0;display:inline-flex;align-items:center;justify-content:center;flex:none}
.aimic svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round}
.aimic.on{background:var(--bad);border-color:var(--bad);color:#FFFFFF;animation:aipulse 1.2s infinite}
@keyframes aipulse{0%,100%{box-shadow:0 0 0 0 rgba(220,38,38,.45)}50%{box-shadow:0 0 0 8px rgba(220,38,38,0)}}
@media (max-width:760px){.aifab{right:14px;padding:12px}.aifab span{display:none}.aip{inset:0;width:auto;max-width:none;border-radius:0}.aicard{height:calc(100vh - 150px)}}
/* ── Авансовые ── */
.tabsl #aonew,#aoadd{display:inline-flex;align-items:center;gap:7px}
.tabsl #aonew svg,#aoadd svg,.aof svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.1;stroke-linecap:round}
.aors{display:flex;flex-direction:column;gap:6px}
.aor{display:grid;grid-template-columns:22px 150px 72px minmax(0,1fr) 120px 40px 34px;gap:6px;align-items:center}
.aor input{min-width:0}
.aor .aon{color:var(--mute);text-align:center;font-size:13px}
.aof{display:inline-flex;align-items:center;justify-content:center;height:38px;border:1px dashed var(--acc-soft2);border-radius:10px;color:var(--acc);cursor:pointer;background:var(--acc-soft)}
.aor .mrx{width:34px;padding:0;font-size:18px}
.aofl{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12.5px}
.aofl:empty{display:none}
.aorow{grid-template-columns:22px minmax(0,1fr) auto 0}
@media (max-width:760px){.aor{grid-template-columns:22px 1fr 70px 40px 34px;border:1px solid var(--line);border-radius:12px;padding:8px}.aor .aonum{grid-column:2/4}.aor .aoa{grid-column:4/6}.aor .aod{grid-column:2}.aor .aot{grid-column:3}}
.manl{text-align:center;margin:12px 0 2px;font-size:14px}
/* ── Доставка ── */
.dlvcard .tzckh{justify-content:flex-start;gap:8px;flex-wrap:wrap}
.dlvl{font-size:14px;line-height:1.5;margin:4px 0 6px}
.dlvu{font-size:13.5px;margin:6px 0 4px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.chips.mc button small{margin-left:4px}
.ksb .seg{display:inline-flex}.ksb input[type=file]{display:block;margin-bottom:4px}
/* ── Леруа ── */
.tabsl .lmbtns{display:inline-flex;gap:8px;flex-wrap:nowrap}
.tabsl #lmnew,.tabsl #lmdir{display:inline-flex;align-items:center;gap:7px;height:38px;box-sizing:border-box;white-space:nowrap}.tabsl #lmnew svg,.tabsl #lmdir svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.1;stroke-linecap:round}
.lmb{padding:9px 0;border-top:1px solid var(--line)}.lmb:first-of-type{border-top:0}
.lmbh{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:14px}

/* ── PWA / пуши ── */
.sfb{display:flex;gap:6px}.sfb button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.sfb button svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.side-foot a.instl{color:var(--sb-mute);font-size:12px;padding:0 4px;text-decoration:none}.side-foot a.instl:hover{color:var(--sb-ink)}
.pwan{display:flex;align-items:center;gap:12px;margin:0 0 16px;max-width:760px;border-color:transparent}
.pwan>svg{width:22px;height:22px;flex:none;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pwan>div{flex:1;min-width:0}.pwan .sub{font-size:13px;margin-top:2px}.pwan button{flex:none}
.instc{max-width:720px}.instc h3{margin:18px 0 6px}.instc h3:first-child{margin-top:0}.instc ol{margin:0 0 6px;padding-left:20px;line-height:1.6}
.ntg{display:flex;flex-direction:column;gap:2px;margin:6px 0 10px}.ntg label{display:flex;align-items:flex-start;gap:9px;padding:7px 4px;border-radius:8px;cursor:pointer;font-size:14px}
.ntg label:hover{background:var(--bg2,#171921)}.ntg label.lock{opacity:.6;cursor:default}.ntg label small{display:block;color:var(--mute,#8A8FA3);font-size:12px}
.ntg input{margin-top:3px}.nsdev{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.tag svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2;vertical-align:-1px;margin-right:3px}
/* чёлка и полоска iPhone */
@media (max-width:760px){
  .mtop{padding-top:calc(10px + env(safe-area-inset-top))}
  
  #main{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
  .aifab{bottom:calc(14px + env(safe-area-inset-bottom))}
  .aip{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
  .toast{bottom:calc(20px + env(safe-area-inset-bottom))}
  .pwan{flex-wrap:wrap}.pwan button{width:100%}
}
.instc{padding:20px 22px}@media (max-width:760px){.instc{padding:16px}}

.brand .logo{background:#0B0D14;overflow:hidden;padding:0}.brand .logo img{width:100%;height:100%;object-fit:cover;display:block}

/* ═════ Тема «Spektrum»: белый фон, цвета разделов, кнопки-капсулы ═════ */
:root{--g-blue:linear-gradient(90deg,#1fd8f2 0%,#2a9cf3 45%,#2468f0 100%);--g-pink:linear-gradient(90deg,#FF4FA0 0%,#5cf0eb 50%,#2A7CF2 100%);--g-orange:linear-gradient(90deg,#ffb52b 0%,#ff8a3a 35%,#3b86f3 100%);--g-green:linear-gradient(90deg,#3be0a0 0%,#13b58f 55%,#0f9a86 100%);--g-violet:linear-gradient(90deg,#7bfffb 0%,#55f5f0 50%,#46e5e0 100%);--g-amber:linear-gradient(90deg,#ffd24a 0%,#f7a21b 100%)}

/* цвета разделов в меню */
.nav[data-tab] .ic{color:var(--sc,var(--sb-mute))}

.nav[data-tab=pay],.nav[data-tab=bank],.nav[data-tab=inbank],.nav[data-tab=cal],.nav[data-tab=paycal]{--sc:#8cfffb}

/* «Что ждёт меня» — иконка в цвете раздела */

.titem[data-go^=approve]{--tb:#eafffe;}
.titem[data-go=pay],.titem[data-go=bank],.titem[data-go=inbank]{--tb:#ecfffe;}
.titem[data-go=base]{--tb:#eaefff;}.titem[data-go=fix]{--tb:#fff0e6;}
.titem[data-go=pm],.titem[data-go=mine]{--tb:#e8f0ff;}
.titem[data-go=dlv]{--tb:#e2f7f1;}.titem[data-go^=mr]{--tb:#e3f2ff;}
.titem[data-go^=tasks]{--tb:#ffebf3;}.titem[data-go^=lm]{--tb:#eaf7e2;}.titem[data-go^=ao]{--tb:#fff5df;}
/* плитки на главной — цветная полоска */
.tiles .tile{border-top:3px solid var(--tl,#2A8AF3)}
.tiles .tile:nth-child(1) .v{color:#a4eae8}

.tiles .tile:nth-child(4) .v{color:#81F9E1}
.tiles .tile:nth-child(5) .v{color:#FDCF7C}

/* ═════ Тёмная тема (06.10.2026). Светлые исходники: git-история ═════ */
:root{--sh:0 1px 2px rgba(0,0,0,.3);--sh-h:0 16px 34px -18px rgba(0,0,0,.7)}

.card,.tile,.titem,.hcard2{border-color:var(--line);}

.mtop{border-bottom-color:var(--line)}

input::placeholder,textarea::placeholder{color:#6E7286}

button:hover{color:#fff;}

.tbl tr:hover td{background:#1E1F2A}
.drawer .pane,.mbox,.aip{color:var(--ink)}
.toast{background:#262838;color:#fff}

::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#2C2E3B;border-radius:8px}::-webkit-scrollbar-track{background:transparent}
.titem .ic{background:color-mix(in srgb,var(--tc,#6dfffa) 16%,transparent);color:color-mix(in srgb,var(--tc,#6dfffa) 55%,#fff)}

/* ═════ Стиль «дашборд» (06.10.2026): нейтральный графит, сочные цветные карточки со свечением ═════ */
:root{
  --c-red:#EB5545;--c-blue:#5defea;--c-amber:#F9B43B;--c-green:#3DC97A;--c-teal:#21B8C9;--c-pink:#E9508C;
  --ok:#5BD58F;--ok-bg:#1F3A2B;--warn:#F9C35B;--warn-bg:#3B3020;--bad:#FF7A6B;--bad-bg:#3D2220;--fire:#EB5545;--sb-ink:#F2F2F4;--sb-ink2:#A6A6B0;--sb-mute:#7D7D88;--sb-line:#2E2E33;--sb-field:#2B2B30;--sb-hover:#2B2B30;--sb-act:transparent;--sb-acc:#fff;
  --r:16px;--r-s:10px}

.nav.on{font-weight:700}

/* главные кнопки — сплошной цвет со свечением */

button{background:#2E2E33;border-color:transparent;color:#E6E6EA}
button:hover{background:#38383E;border-color:transparent}
button.danger{border-color:transparent}
button.danger:hover{background:#3D2220}

/* плитки на главной — сочные карточки со свечением */
.tiles .tile{border:0!important;color:#fff;--tl:var(--c-blue);}

.tiles .tile:nth-child(1){--tl:var(--c-blue)}.tiles .tile:nth-child(2){--tl:var(--c-red)}.tiles .tile:nth-child(3){--tl:var(--c-amber)}.tiles .tile:nth-child(4){--tl:var(--c-green)}.tiles .tile:nth-child(5){--tl:var(--c-teal)}
.tiles .tile:nth-child(3) .v,.tiles .tile:nth-child(3) .l{color:#2A1E05!important}
.tiles .tile:hover{transform:translateY(-3px)}
/* «Что ждёт меня» — тёмные карточки с цветной полоской слева */
.titem{position:relative;overflow:hidden;}
.titem::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;}
.titem.zero::before{background:#3A3A40}
.titem .ic{border-radius:10px}
.titem.zero .ic{background:#34343A!important;}
.titem[data-go^=approve]{--tc:var(--c-blue)}.titem[data-go=pay],.titem[data-go=bank],.titem[data-go=inbank]{--tc:#5cf6f1}
.titem[data-go=base]{--tc:var(--c-teal)}.titem[data-go=fix]{--tc:var(--c-red)}.titem[data-go=pm],.titem[data-go=mine]{--tc:var(--c-blue)}
.titem[data-go=dlv]{--tc:var(--c-green)}.titem[data-go^=mr]{--tc:var(--c-teal)}.titem[data-go^=tasks]{--tc:var(--c-red)}.titem[data-go^=lm]{--tc:var(--c-green)}.titem[data-go^=ao]{--tc:var(--c-amber)}
/* статусы — сплошные цветные плашки */

/* таблицы */

/* баннер банка и уведомлений */

.bankbar{position:relative;overflow:hidden;margin-top:14px}
.bankbar::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;}

.tiles{margin-bottom:6px}
/* градиенты вместо сплошных цветов; плитки — как «Что ждёт меня» */
:root{--gr-red:linear-gradient(135deg,#FF7A63,#E0354F);--gr-amber:linear-gradient(135deg,#FFD66B,#F29A0B);--gr-green:linear-gradient(135deg,#5BE38F,#15A34A);--gr-teal:linear-gradient(135deg,#3EDCF2,#0E97B0);--gr-violet:linear-gradient(135deg,#9bfffc,#3aede7);--gr-gray:linear-gradient(135deg,#45454C,#34343A)}
.tiles .tile{box-shadow:none!important;position:relative;overflow:hidden;}
.tiles .tile::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--tg)}
.tiles .tile::after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:var(--tg);opacity:.12;filter:blur(8px)}

.tiles .tile .l{opacity:1}
.tiles .tile:nth-child(2){--tg:var(--gr-red)}.tiles .tile:nth-child(3){--tg:var(--gr-amber)}.tiles .tile:nth-child(4){--tg:var(--gr-green)}.tiles .tile:nth-child(5){--tg:var(--gr-teal)}
.titem{--tg:var(--gr-blue)}
.titem::before{background:var(--tg)}

.titem[data-go=pay],.titem[data-go=bank],.titem[data-go=inbank]{--tg:var(--gr-violet)}
.titem[data-go=base],.titem[data-go^=mr]{--tg:var(--gr-teal)}
.titem[data-go=fix],.titem[data-go^=tasks]{--tg:var(--gr-red)}
.titem[data-go=dlv],.titem[data-go^=lm]{--tg:var(--gr-green)}
.titem[data-go^=ao]{--tg:var(--gr-amber)}
.titem.zero{--tg:var(--gr-gray)!important}
.bankbar::before{background:var(--gr-violet)}

.tag.t-ok{background:var(--gr-green);}.tag.t-bad{background:var(--gr-amber);color:#2A1E05}.tag.t-warn{background:var(--gr-blue);color:#fff}.tag.t-vio{background:var(--gr-violet);color:#fff}

.tiles .tile::after{display:none}
/* реестр: перекрестие светлее, ячейка под курсором — мятная */

.tbl tr.row td:hover{color:#fff}

/* левое меню: у каждого раздела свой цвет букв */
.nav{--sg:linear-gradient(90deg,#C9C9D2,#A6A6B0)}

.nav:not(.on) .ic{color:var(--sc,#8A8A94)!important}

.nav.on .nt{filter:brightness(1.25) saturate(1.2)}
.nav.on .ic{opacity:1}

.nav[data-tab=home]{--sc:#F2F2F4;--sg:linear-gradient(90deg,#FFFFFF,#D6D6DE)}
.nav[data-tab=add]{--sc:#3EDCF2;--sg:linear-gradient(90deg,#6BE6F7,#2BB8D6)}
.nav[data-tab=approve],.nav[data-tab=pre]{--sc:#8ffffb;--sg:linear-gradient(90deg,#a5fffc,#73f5f1)}
.nav[data-tab=calendar],.nav[data-tab=pay],.nav[data-tab=bank],.nav[data-tab=inbank]{--sc:#9bfffc;--sg:linear-gradient(90deg,#b3fffc,#7cf7f3)}
.nav[data-tab=base]{--sc:#5FD3E6;--sg:linear-gradient(90deg,#7FE0EE,#3FBFD6)}
.nav[data-tab=fix]{--sc:#FF8A75;--sg:linear-gradient(90deg,#FF9D8A,#F2604E)}
.nav[data-tab=msgs]{--sc:#6FB8FF;--sg:linear-gradient(90deg,#8DC8FF,#4D9CF5)}
.nav[data-tab=assist]{--sc:#FF7EB3;--sg:linear-gradient(90deg,#FF9CC4,#E9508C)}
.nav[data-tab=pm],.nav[data-tab=reg],.nav[data-tab=mine]{--sc:#7FA8FF;--sg:linear-gradient(90deg,#9DBCFF,#6390F5)}
.nav[data-tab=objects],.nav[data-tab=contractors],.nav[data-tab=history]{--sc:#9DB3D0;--sg:linear-gradient(90deg,#B7C8DE,#8AA0BE)}
.nav[data-tab=dlv]{--sc:#5BE38F;--sg:linear-gradient(90deg,#7DEBA7,#33C26F)}
.nav[data-tab=mr]{--sc:#3EDCF2;--sg:linear-gradient(90deg,#6BE6F7,#24B5CF)}
.nav[data-tab=tasks]{--sc:#FF8A75;--sg:linear-gradient(90deg,#FFA08E,#F0604F)}
.nav[data-tab=lm]{--sc:#8EE36B;--sg:linear-gradient(90deg,#A8EC8A,#6CCB45)}
.nav[data-tab=ao]{--sc:#FFC94D;--sg:linear-gradient(90deg,#FFD873,#F2A81B)}
.nav[data-tab=staff]{--sc:#a7fffc;--sg:linear-gradient(90deg,#bdfffd,#85f5f1)}
.nav[data-tab=how]{--sc:#FFA24D;--sg:linear-gradient(90deg,#FFB873,#F2861B)}
.nav[data-tab=install]{--sc:#A6A6B0}
.tbl tr.row td:hover::after{z-index:2;background:rgba(255,255,255,.06)}
.tbl tr.row td:hover::after{display:none!important}

/* меню: подписи серые, цветные только иконки */
.nav .nt{background:none!important;-webkit-background-clip:border-box;background-clip:border-box;filter:none!important;}
.nav:not(.on){color:#A6A6B0}

/* ═════ Акцент — мятно-бирюзовый ═════ */

button.pri:hover{box-shadow:0 10px 26px -8px rgba(34,201,166,.85)}

/* плитка «К оплате» и «Согласовать» — остаются синими */
.tiles .tile:nth-child(1){--tg:linear-gradient(135deg,#85fffb,#46e5e0)}
.titem[data-go^=approve],.titem[data-go=pm],.titem[data-go=mine]{--tg:linear-gradient(135deg,#85fffb,#46e5e0)}
/* карточка счёта — мятная рамка со свечением */

.mbox{box-shadow:0 0 30px -8px rgba(46,214,180,.4),0 24px 60px -20px rgba(0,0,0,.8)}
/* прогресс счёта — от красного к зелёному */
.rail{container-type:inline-size;background:#2E2E34}
.railf{background:linear-gradient(90deg,#FF5A4E 0%,#FF8A3D 25%,#F9C33B 50%,#A6DB45 75%,#2FD27A 100%);background-size:100cqw 100%;background-repeat:no-repeat}
.track .st:nth-child(2){--sc:#FF5A4E}.track .st:nth-child(3){--sc:#FF7344}.track .st:nth-child(4){--sc:#FF8F3D}.track .st:nth-child(5){--sc:#FBAE3A}
.track .st:nth-child(6){--sc:#F2CB3B}.track .st:nth-child(7){--sc:#C3D841}.track .st:nth-child(8){--sc:#7FD754}.track .st:nth-child(9){--sc:#2FD27A}
.st.done .nd{background:var(--sc,var(--acc));border-color:var(--sc,var(--acc))}
.st.done .nd svg{stroke:#14140F}
.st.now .nd{border-color:var(--sc,var(--acc));box-shadow:0 0 12px -2px var(--sc)}
.st.now .nd::after{background:var(--sc,var(--acc))}
/* чат — тёмно-серые облачка, ник мятный, текст белый */
.cmsg,.cmsg.me{background:#303036;color:#fff}

.cmsg small{color:#8C8C96!important}
/* горящий счёт — искры в правом нижнем углу */
.ir.fire-bg{position:relative;}
.ir.fire-bg::after{content:"";position:absolute;background:url(/fx/fire.gif) right bottom/cover no-repeat;mix-blend-mode:screen;pointer-events:none;border-bottom-right-radius:18px}
.ir.fire-bg{isolation:auto}
.ir.fire-bg::after{z-index:0;}
.ir.fire-bg>*{position:relative;z-index:1}
.ir.fire-bg::after{height:auto;aspect-ratio:460/258;left:auto;background-size:100% 100%;transform:scaleX(-1);border-radius:0 0 0 18px;-webkit-mask-composite:source-in;mask-composite:intersect}
.ir.fire-bg{overflow:hidden}
.ir.fire-bg::after{width:125%;right:-38%;opacity:.95;-webkit-mask-image:linear-gradient(to top,#000 50%,transparent),linear-gradient(to left,#000 70%,transparent);mask-image:linear-gradient(to top,#000 50%,transparent),linear-gradient(to left,#000 70%,transparent)}
.ir.fire-bg::after{bottom:0}
/* горящий счёт — красная рамка со свечением */
.drawer .pane:has(.ir.fire-bg){border-color:rgba(255,90,70,.7);box-shadow:0 0 0 1px rgba(255,90,70,.15),0 0 38px -6px rgba(255,80,50,.55),0 30px 80px -20px rgba(0,0,0,.8)!important}
/* мобилка: карточка счёта аккуратнее */
body:has(.drawer:not([hidden]) .pane) .aifab{display:none}
@media (max-width:760px){
  .ih{position:relative;padding:16px 16px 10px;gap:6px}
  .ih .t{flex:1 1 100%;padding-right:46px}
  .ih .sum{text-align:left;flex:1 1 100%}
  .ih .amt{font-size:26px}
  .ih .ix{position:absolute;top:12px;right:12px;width:34px;height:34px}
  .ih .meta{font-size:12.5px;gap:4px 8px}
  .stp{padding-top:2px;padding-bottom:8px}
  .ifoot{padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important}
  .ifoot .acts{gap:6px!important}
  
  .ifoot .acts button.pri{flex:1 1 100%!important;height:44px!important;font-size:14px}
  .ir.fire-bg::after{width:110%;right:-35%;opacity:.7}
}
/* мобилка: вся карточка прокручивается целиком, кнопки прилипают снизу */
@media (max-width:760px){
  .drawer .pane{max-height:92vh;max-height:92dvh;overflow-y:auto;-webkit-overflow-scrolling:touch}
  .drawer .pane .ib{overflow:visible;flex:none;display:block}
  .drawer .pane .ifoot{position:sticky;bottom:0;z-index:5;box-shadow:0 -10px 24px -10px rgba(0,0,0,.6)}
  .drawer .pane .ir{padding-bottom:20px}
  
}
@media (max-width:760px){.drawer .pane,.drawer .pane:has(.ir.fire-bg),.mbox{border:0!important;box-shadow:0 -10px 30px -10px rgba(0,0,0,.7)!important}}
.ir.fire-bg::after{display:none!important}

/* реестр: оплачено — зелёная сумма; срочный — лайм→жёлтый; горящий — оранжевый→красный (приглушённо) */

.tbl tr.row.rt-urg:hover td,.tbl tr.row.rt-fire:hover td{background:rgba(255,255,255,.03)}
.tbl tr.row.rt-urg:hover td:first-child{background:linear-gradient(#B5E33C,#F2C23C) no-repeat 0 0/3px 100%,rgba(255,255,255,.03)}
.tbl tr.row.rt-fire:hover td:first-child{background:linear-gradient(#FF9A3C,#E8433A) no-repeat 0 0/3px 100%,rgba(255,255,255,.03)}
.tbl tr.row.rt-urg,.tbl tr.row.rt-fire{background:none}
.tbl tr.row.rt-urg td{background:linear-gradient(90deg,rgba(170,225,60,.10) 15%,rgba(245,200,40,.03) 85%) fixed}
.tbl tr.row.rt-fire td{background:linear-gradient(90deg,rgba(255,140,40,.11) 15%,rgba(230,55,50,.035) 85%) fixed}
.tbl tr.row.rt-urg td:first-child{background:linear-gradient(#B5E33C,#F2C23C) no-repeat 0 0/3px 100%,linear-gradient(90deg,rgba(170,225,60,.10) 15%,rgba(245,200,40,.03) 85%) fixed}
.tbl tr.row.rt-fire td:first-child{background:linear-gradient(#FF9A3C,#E8433A) no-repeat 0 0/3px 100%,linear-gradient(90deg,rgba(255,140,40,.11) 15%,rgba(230,55,50,.035) 85%) fixed}
.tbl tr.row.rt-urg:hover td,.tbl tr.row.rt-fire:hover td{filter:none}
.tbl tr.row.rt-urg:hover,.tbl tr.row.rt-fire:hover{filter:brightness(1.25)}
.tbl tr.row.rt-urg td,.tbl tr.row.rt-fire td{background-repeat:no-repeat!important;background-size:var(--tw,100%) 100%!important;background-position:calc(var(--x,0px) * -1) 0!important;background-attachment:scroll!important}

.tbl tr.row.rt-urg td:hover,.tbl tr.row.rt-fire td:hover{background-image:none!important}

.tbl tr.row.rt-fire td{background-image:linear-gradient(90deg,rgba(255,140,40,.015) 0%,rgba(255,120,45,.05) 45%,rgba(232,60,50,.16) 100%)!important}
.tbl tr.row.rt-urg td:first-child,.tbl tr.row.rt-fire td:first-child{box-shadow:none}

.tbl tr.row.rt-fire td:last-child{box-shadow:inset -3px 0 0 #E8433A}
/* оплаченные — весь текст зелёный (кроме объекта, № счёта и плашек) */
.tbl tr.row.rt-paid td,.tbl tr.row.rt-paid td .ctr,.tbl tr.row.rt-paid td .sub,.tbl tr.row.rt-paid td .clamp,.tbl tr.row.rt-paid td small{color:#4ADE80}

/* ═════ статусы счетов ═════ */

.tag.sx.s-rej::before{font-weight:800;color:#FF5A4E;opacity:1}

.tbl tr.row.rt-cancel td,.tbl tr.row.rt-cancel td *{text-decoration:line-through;text-decoration-color:rgba(255,154,144,.6)}
.tbl tr.row.rt-cancel td .tag{text-decoration:none}
.tbl tr.row.rt-cancel td{color:#8C8C96}

.tag.t-ok{color:#0B1F12}
.vip{background:linear-gradient(90deg,#FFE08A,#F5B92E);-webkit-background-clip:text;background-clip:text;color:transparent!important;font-weight:700;text-decoration:inherit}
/* выпадающий список с галочками */
.msel{position:relative}
.msel .msb{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;font-weight:500}
.msel .msb span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msel .msb svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;flex:none}

.msel .msp{position:absolute;z-index:40;top:calc(100% + 6px);left:0;min-width:260px;max-width:340px;border-radius:14px;padding:8px}
.msel .msq{width:100%;margin-bottom:6px}
.msel .msl{overflow:auto;display:flex;flex-direction:column}
.msel .mso{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;cursor:pointer;font-size:14px;color:var(--ink)}

.msel .mso input{width:16px;height:16px;flex:none}
.msel .msf{display:flex;gap:8px;justify-content:flex-end;padding-top:8px;margin-top:6px;border-top:1px solid #323237}
.msel .msf button{height:34px;padding:0 14px}
.dlab{display:inline-flex;align-items:center;gap:0;padding-left:12px}
.dlab span{font-size:13px;font-weight:600}
.dlab input{padding-left:8px}
.msel .msl{max-height:360px}
/* ═════ один уровень «Срочный»: оранжевый ═════ */

.tbl tr.row.rt-urg td:last-child{box-shadow:none}

@media (max-width:760px){.drawer .pane:has(.ir.urg-bg){border:0!important;}}

/* ═════════════ V2 · «минимализм и дорого» — меню и реестр (06.10.2026). Откат: удалить блок до конца файла ═════════════ */
:root{
  --v-ink:#EDEDF0;
  --bg:var(--v-bg);--line:var(--v-hair);--line2:var(--v-hair2);--ink:var(--v-ink);--ink2:var(--v-ink2);--mute:var(--v-mute);--sb:var(--v-side)}

body{font-feature-settings:"cv11","ss01","tnum";-webkit-font-smoothing:antialiased;letter-spacing:-.005em}

/* ── меню ── */
.side{padding:18px 12px 14px!important}
.side .brand{padding:4px 10px 18px}
.side .brand .logo{width:30px;height:30px;border-radius:9px;}
.sbsearch{border:1px solid var(--v-hair)!important;border-radius:10px!important;}
.ngrp{font-size:10.5px!important;letter-spacing:.12em!important;padding:18px 12px 6px!important;font-weight:600!important}
.nav{font-size:13.5px!important;padding:7px 10px!important;border-radius:8px!important;font-weight:500;transition:background .15s,color .15s}
.nav .nt{color:inherit!important;font-weight:500!important}
.nav .ic{opacity:1!important}
.nav .ic svg{width:17px;height:17px;stroke-width:1.7}

.nav:hover .ic{color:#9A9AA4!important}

.nav.on .nt{font-weight:600!important}
.nav.on .ic{color:var(--v-acc)!important}
.nav.on::before{display:block!important;content:"";position:absolute;left:-12px;top:9px;bottom:9px;width:2px;border-radius:0 2px 2px 0;}
.nav .cnt{background:transparent!important;font-weight:500!important;font-size:12px;min-width:auto;padding:0 2px}

.nav .cnt.hot{background:rgba(255,128,40,.14)!important;color:#FF9A5C!important;padding:0 7px}
.side-foot{border-top:1px solid var(--v-hair)!important}
.side-foot button{border:1px solid var(--v-hair)!important;}

/* ── шапка страницы ── */
.ptop .crumbs{font-size:12px;letter-spacing:.02em}
.ptop h1{font-size:30px;font-weight:650;letter-spacing:-.03em;}

/* ── фильтры ── */
.filters{gap:8px!important}
.filters input,.filters select,.msel .msb,.dlab{height:36px!important;box-shadow:none!important}
.filters input:focus,.msel .msb:hover,.dlab:focus-within{border-color:rgba(255,255,255,.14)!important;background:rgba(255,255,255,.04)!important}

.dlab input{height:34px!important;border:0!important;background:transparent!important}
.filters button{height:36px;font-weight:500}
.filters button:hover{color:#fff!important;background:rgba(255,255,255,.07)!important}
.msel .msp{border:1px solid rgba(255,255,255,.08)!important;box-shadow:0 24px 60px -18px rgba(0,0,0,.9)!important;}
.msel .mso:hover{background:rgba(255,255,255,.04)!important}
.sumline{font-size:12.5px!important;letter-spacing:.01em}
.sumline b{font-weight:600}

/* ── таблица ── */
.tbl th{font-size:11px!important;font-weight:600!important;letter-spacing:.08em!important;text-transform:uppercase;height:40px!important;border-bottom:1px solid var(--v-hair)!important}
.tbl td{border-bottom:1px solid var(--v-hair2)!important;padding:13px 14px!important;}
.tbl tr.row:last-child td{border-bottom:0!important}

.tbl td.c-date{font-variant-numeric:tabular-nums;font-size:13px}
.tbl td.c-date .sub{color:#4E4E58}
.tbl .ctr{color:#F4F4F6!important;font-weight:600!important;letter-spacing:-.01em}
.objm{font-weight:500!important}
.tbl td .sub .mono,.tbl .ctr+.sub .mono{font-size:12px}
.tbl td.c-descr,.tbl td.c-descr *{font-size:13px}
.tbl td.c-amount{color:#FFFFFF!important;font-weight:600!important;letter-spacing:-.01em}
.tbl td.c-rest{color:#B4B4BC!important;font-weight:500}
.tbl td.c-category{color:#8A8A94}

/* статусы — тихие: тонкая подложка, цветная точка */
.tag.sx{height:24px!important;padding:0 10px 0 9px!important;border-radius:7px!important;font-size:12px!important;font-weight:500!important;letter-spacing:0;background:rgba(255,255,255,.05)!important;color:#C9C9D0!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
.tag.sx::before{width:6px!important;height:6px!important;opacity:1!important}
.tag.sx.s-pend{color:#A1A1AA!important}.tag.sx.s-pend::before{background:#71717A!important}
.tag.sx.s-unpaid::before{background:#F47280!important}

.tag.sx.s-part{color:#abfffc!important;box-shadow:inset 0 0 0 1px rgba(123,255,251,.2)}.tag.sx.s-part::before{background:#7bfffb!important}
.tag.sx.s-paid{color:#7FE3A6!important;box-shadow:inset 0 0 0 1px rgba(74,222,128,.16)}.tag.sx.s-paid::before{background:#4ADE80!important}
.tag.sx.s-rej::before{content:""!important;width:6px!important;height:6px!important;border-radius:50%!important;background:#FF5A4E!important;font-size:0!important}
.tag.sx.s-cancel{background:rgba(255,255,255,.03)!important;color:#77777F!important}.tag.sx.s-cancel::before{background:#55555E!important}
.pb.pb-urgent,.pb.pb-fire{font-weight:600;border-radius:7px}

/* строки: оплаченные — мягкий шалфей, срочные — тонкий тёплый отсвет */
.tbl tr.row.rt-paid td,.tbl tr.row.rt-paid td .ctr,.tbl tr.row.rt-paid td .objm,.tbl tr.row.rt-paid td.c-amount,.tbl tr.row.rt-paid td.c-date{color:#8FD9AE!important}
.tbl tr.row.rt-paid td .mono,.tbl tr.row.rt-paid td.c-descr,.tbl tr.row.rt-paid td.c-descr *,.tbl tr.row.rt-paid td .sub{color:rgba(143,217,174,.55)!important}
.tbl tr.row.rt-paid td:first-child{box-shadow:inset 2px 0 0 rgba(74,222,128,.7)!important}

.tbl tr.row.rt-part td.c-amount{color:#abfffc!important}

.side .nav[data-tab]:hover .ic{color:#9A9AA4!important}

.tbl td.c-date,.tbl td.c-amount,.tbl td.c-rest{white-space:nowrap!important;max-width:none!important}
.tbl td.c-date{min-width:92px}
.filters input[type=search]{padding-left:34px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6B76' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:11px 50%!important;background-size:15px!important}
/* V2.1 — светлее и живее (не так мрачно) */
:root{--v-side:#1C1C21;--v-card:rgba(255,255,255,.045);--v-hair:rgba(255,255,255,.08);--v-hair2:rgba(255,255,255,.055);--v-ink2:#B4B4BE;--v-mute:#7E7E8A;}

.nav .ic,.side .nav[data-tab] .ic{color:#7C7C88!important}

.filters input,.filters select,.msel .msb,.dlab,.filters button{border-color:rgba(255,255,255,.1)!important}
.tag.sx.s-pend{background:rgba(255,255,255,.08)!important}

.tag.sx.s-part{background:rgba(123,255,251,.16)!important}
.tag.sx.s-paid{background:rgba(74,222,128,.13)!important}

/* V2.2 — ещё светлее, иконки меню пастельные */
:root{--v-bg:#1F1F25;--card:#2A2A31}
html,body{background:var(--v-bg)}
main{background-attachment:fixed!important}
.side{border-right-color:rgba(255,255,255,.07)!important}

.side .nav[data-tab]:hover .ic{opacity:.9!important}
.side .nav[data-tab].on .ic{opacity:1!important}

/* ═════════════ V3 · стекло на размытом градиенте (06.10.2026). Откат: удалить блок до конца файла ═════════════ */

main,html body main{background:transparent!important}
.layout,#app{background:transparent!important}
/* меню — стекло */
.side{backdrop-filter:blur(22px) saturate(1.3);-webkit-backdrop-filter:blur(22px) saturate(1.3);border-right:1px solid var(--g-line2)!important}
.nav{color:rgba(235,240,255,.78)!important}
.side .nav[data-tab] .ic{color:rgba(225,235,255,.65)!important;opacity:1!important}
.nav:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
.nav.on{color:#fff!important;}

.nav .cnt{color:rgba(225,235,255,.6)!important}
.ngrp{color:rgba(225,235,255,.45)!important}
.sbsearch,.side-foot button{background:rgba(255,255,255,.06)!important;border-color:var(--g-line2)!important;color:rgba(235,240,255,.7)!important}
.side-foot{border-top-color:var(--g-line2)!important}
/* шапка */
.ptop h1{color:#fff;}
.ptop .crumbs,.ptop .psub{color:rgba(235,240,255,.7)!important}
/* стеклянные карточки */
.card,.tile,.titem,.hcard2,.bankbar,.pwan{background:var(--g-panel)!important;backdrop-filter:blur(20px) saturate(1.25);-webkit-backdrop-filter:blur(20px) saturate(1.25);border:1px solid var(--g-line)!important;box-shadow:0 20px 50px -25px rgba(8,10,30,.6)!important}
/* фильтры — прозрачные с белой тонкой рамкой */
.filters input,.filters select,.msel .msb,.dlab,.filters button,.more{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.28)!important;color:#EEF2FF!important;border-radius:8px!important}
.filters input::placeholder{color:rgba(235,240,255,.6)!important}

.msel .msp{border-color:var(--g-line)!important;backdrop-filter:blur(24px)}
.sumline{color:rgba(235,240,255,.72)!important}.sumline b{color:#fff!important}
/* таблица */
.tbl th{backdrop-filter:blur(14px);color:rgba(230,236,255,.6)!important;border-bottom-color:var(--g-line2)!important}
.tbl td{border-bottom-color:rgba(255,255,255,.07)!important;color:rgba(235,240,255,.85)}
.tbl td.c-date{color:rgba(235,240,255,.72)}
.tbl td.c-descr,.tbl td.c-descr *{color:rgba(225,232,255,.66)!important}
.tbl td .sub .mono,.tbl .ctr+.sub .mono{color:rgba(225,232,255,.55)!important}
.objm{color:#fff!important}
.tbl tr.row:hover td{background:rgba(255,255,255,.07)!important}
.tbl tr.row td.xcol{background:rgba(255,255,255,.045)!important}
.tbl tr.row:hover td.xcol{background:rgba(255,255,255,.1)!important}

/* главные кнопки — сочный зелёный как на референсе, остальные стеклянные */
button.pri{border-radius:8px!important}

button:not(.pri){background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.22);color:#EEF2FF}
button.danger{background:linear-gradient(180deg,#D2493A,#B83A2D)!important;color:#fff!important;border:0!important}
.aifab{backdrop-filter:blur(18px);box-shadow:0 12px 30px -12px rgba(8,10,30,.7)!important}
/* модалки и карточка счёта — тёмное стекло */
.drawer .pane,.mbox,.aip{backdrop-filter:blur(26px) saturate(1.3);-webkit-backdrop-filter:blur(26px) saturate(1.3);border:1px solid var(--g-line)!important}
input,select,textarea{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.22);color:#EEF2FF}
.mtop{backdrop-filter:blur(20px)}
.filters .dlab input{border:0!important;background:transparent!important;box-shadow:none!important}.dlab span{color:rgba(235,240,255,.65)!important}

.mtop{background:rgba(20,20,22,.7)!important}
:root{--g-panel:rgba(20,24,24,.5);--g-panel2:rgba(16,20,22,.72);--g-line:rgba(255,255,255,.16);--g-line2:rgba(255,255,255,.09)}

.msel .msp,.drawer .pane,.mbox,.aip{background:rgba(20,24,26,.9)!important}
.ptop h1{text-shadow:0 2px 24px rgba(0,0,0,.45)}
.ptop .crumbs,.sumline{text-shadow:0 1px 8px rgba(0,0,0,.4)}

.filters label.who{color:#F2F2F4!important;text-shadow:0 1px 6px rgba(0,0,0,.5)}
.sumline .tag,.sumline span{background:rgba(0,0,0,.35)!important;color:#EDEDF0!important}
.filters input,.filters select,.msel .msb,.dlab,.filters button{background:rgba(14,16,16,.45)!important}
.side{background:rgba(10,12,12,.82)!important}
.tbl th{background:rgba(26,30,30,.82)!important}
/* V3.3 — акцент шампанское/золото; срочные — коралл; «В оплату» — песок */
:root{--acc:#D9B76A;--acc-h:#E6C77E;--acc-soft:rgba(217,183,106,.14);--acc-soft2:rgba(217,183,106,.24);--acc-x:rgba(217,183,106,.08);--acc-d:#EED9A6;--v-acc:#E2C57F;--gr-acc:linear-gradient(135deg,#F3DC9C,#C99D4C);--gr-blue:var(--gr-acc)}
button.pri{background:linear-gradient(135deg,#F1D998,#C69A48)!important;color:#241A06!important;font-weight:700!important;border:0!important;box-shadow:0 10px 24px -12px rgba(201,157,76,.85),inset 0 1px 0 rgba(255,255,255,.35)!important}
button.pri:hover{background:linear-gradient(135deg,#F7E3AD,#D2A855)!important;color:#1C1404!important}
button.pri svg{stroke:#241A06!important}
.aifab{background:linear-gradient(135deg,rgba(243,220,156,.92),rgba(201,157,76,.92))!important;color:#241A06!important;border:1px solid rgba(255,240,200,.45)!important}.aifab svg{stroke:#241A06!important}
.nav.on{background:rgba(217,183,106,.13)!important;box-shadow:inset 0 0 0 1px rgba(217,183,106,.28)!important}
.nav.on::before{background:#E2C57F!important;box-shadow:0 0 12px rgba(226,197,127,.9)!important}
.side .nav[data-tab].on .ic,.nav.on .cnt{color:#E8CC88!important}
.msel.on .msb{border-color:rgba(226,197,127,.7)!important;background:rgba(217,183,106,.12)!important;color:#F0D99E!important}
.msel .mso input{accent-color:#D9B76A}
.tbl tr.row td:hover{background:rgba(217,183,106,.14)!important;box-shadow:inset 0 0 0 1px rgba(236,206,140,.75)!important}
.itabs button.on,.tabsl button.on{color:#EED9A6!important}
.itabs button.on::after{background:#D9B76A!important}
a{color:#E8CC88}
.drawer .pane{border-color:rgba(226,197,127,.45)!important;box-shadow:0 0 0 1px rgba(226,197,127,.1),0 0 36px -8px rgba(217,183,106,.35),0 30px 80px -20px rgba(0,0,0,.8)!important}
.cmsg b{color:#E8CC88!important}
/* срочные — коралл */

.drawer .pane:has(.ir.urg-bg){border-color:rgba(255,107,94,.7)!important;box-shadow:0 0 0 1px rgba(255,107,94,.15),0 0 38px -6px rgba(255,90,80,.5),0 30px 80px -20px rgba(0,0,0,.8)!important}
/* «В оплату» / «в банке» — холодный песок */
.tag.sx.s-pay{background:rgba(214,206,186,.13)!important;color:#E4DCC6!important;box-shadow:inset 0 0 0 1px rgba(214,206,186,.22)!important}.tag.sx.s-pay::before{background:#CFC4A6!important}
/* фикс: у срочных при наведении градиент не пересобирается в каждой ячейке */
.tbl tr.row.rt-urg td,.tbl tr.row.rt-urg:hover td,.tbl tr.row.rt-urg td.xcol,.tbl tr.row.rt-urg:hover td.xcol,.tbl tr.row.rt-urg td:hover{
  background-image:linear-gradient(90deg,rgba(255,95,85,0) 0%,rgba(255,95,85,.06) 50%,rgba(255,80,90,.15) 100%)!important;
  background-size:var(--tw,100%) 100%!important;background-position:calc(var(--x,0px) * -1) 0!important;background-repeat:no-repeat!important}
.tbl tr.row.rt-urg td{background-color:transparent!important}
.tbl tr.row.rt-urg:hover td{background-color:rgba(255,255,255,.05)!important}
.tbl tr.row.rt-urg td.xcol{background-color:rgba(255,255,255,.035)!important}
.tbl tr.row.rt-urg:hover td.xcol{background-color:rgba(255,255,255,.08)!important}
.tbl tr.row.rt-urg td:hover{background-color:rgba(217,183,106,.14)!important}
.tbl td{transition:none!important}

.side .brand .logo{box-shadow:none!important}
/* «Оплатить в ближайший платёжный день» — зелёная */
button[data-a="ceoPay"],button[data-label="Оплатить в ближайший платёжный день"]{background:linear-gradient(135deg,#5FD08A,#2E9E5B)!important;color:#06200F!important;font-weight:700!important;border:0!important;box-shadow:0 10px 24px -12px rgba(46,158,91,.85),inset 0 1px 0 rgba(255,255,255,.3)!important}
button[data-a="ceoPay"]:hover,button[data-label="Оплатить в ближайший платёжный день"]:hover{background:linear-gradient(135deg,#72DC9A,#36AD66)!important}
/* ═════ V3.4 — «Как устроено» без своей подложки; главная в общем стиле; фильтры в одну строку ═════ */
.side .nav.orange:not(.on){background:transparent!important;color:#B9B9C3!important;box-shadow:none!important}
.side .nav.orange:not(.on):hover{background:rgba(255,255,255,.06)!important;color:#fff!important}
/* главная: плитки — нейтральное стекло, белые цифры; цвет только у срочных */
.tiles .tile{--tg:none;background:var(--g-panel)!important;padding-left:18px!important}
.tiles .tile::before{display:none!important}
.tiles .tile .v,.tiles .tile:nth-child(n) .v{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:#F4F1EA!important;-webkit-text-fill-color:#F4F1EA!important;font-weight:650;letter-spacing:-.02em}
.tiles .tile .l,.tiles .tile:nth-child(n) .l{color:rgba(235,230,220,.62)!important}
.tiles .tile:nth-child(2) .v{color:#FF8F86!important;-webkit-text-fill-color:#FF8F86!important}
.tiles .tile:hover{border-color:rgba(226,197,127,.45)!important}
/* «Что ждёт меня» — без радуги */
.titem::before{display:none!important}
.titem{padding-left:16px!important}
.titem .ic,.titem[data-go] .ic{background:rgba(255,255,255,.07)!important;color:#E9E3D4!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)!important}
.titem:not(.zero) .tn{color:#F4F1EA}
.titem.zero{opacity:.55}
.titem.zero .ic{color:rgba(235,230,220,.45)!important}
.titem:hover{border-color:rgba(226,197,127,.45)!important}
.titem:hover .ic{background:rgba(217,183,106,.16)!important;color:#F0D99E!important}
.titem[data-go="fix"]:not(.zero) .tn,.titem[data-go^="tasks"]:not(.zero) small{color:#FF8F86}
.bankbar::before{display:none!important}
.bankbar .ic,.bankbar>span:first-child{background:rgba(217,183,106,.16)!important;color:#F0D99E!important}
.bankbar svg{stroke:#F0D99E!important}
.pwan>svg{stroke:#E2C57F!important}
.hcard2 .pill,.hcard2 .pill.ac{background:rgba(217,183,106,.14)!important;color:#EED9A6!important}
/* фильтры — в одну строку */
.filters{flex-wrap:nowrap!important;align-items:center}
.filters input[type=search]{flex:1 1 200px;min-width:150px}
.msel .msb{min-width:0!important;width:150px;max-width:190px}
.dlab{flex:none}.dlab input{width:118px}
.filters .fic{width:36px;padding:0!important;display:inline-grid!important;place-items:center;flex:none}
.filters .fic svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2}
.filters label.who{flex:none;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
@media (max-width:1280px){.msel .msb{width:132px}.dlab input{width:110px}}
@media (max-width:760px){.filters{flex-wrap:wrap!important}}
.drop{background:rgba(255,255,255,.03)!important;border:1.5px dashed rgba(226,197,127,.45)!important;color:#EDE6D6!important}
.drop:hover,.drop.on{background:rgba(217,183,106,.08)!important;border-color:rgba(236,206,140,.8)!important}
.drop .ic{background:rgba(217,183,106,.15)!important;color:#F0D99E!important}
.drop .ic svg{stroke:#F0D99E}

/* ═══ Чат: «Общий» + каналы объектов ═══ */
.chatw{display:grid;grid-template-columns:300px 1fr;gap:14px;height:calc(100dvh - 190px);min-height:460px}
.chatw .card{background:rgba(22,26,26,.62)!important;border:1px solid var(--g-line)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);display:flex;flex-direction:column;min-height:0;animation:none}
.chs{display:flex;align-items:center;gap:8px;margin:12px;padding:0 12px;height:38px;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid var(--g-line2)}
.chs svg{width:16px;height:16px;stroke:var(--mute);fill:none;stroke-width:1.8;flex:none}
.chs input{flex:1;background:none;border:0;outline:0;color:var(--ink);font-size:14px;padding:0;height:auto;box-shadow:none}
.chlist{flex:1;overflow-y:auto;padding:0 8px 10px}
.chsec{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--mute);padding:14px 10px 6px}
.chempty{padding:14px 10px}
.chi{display:flex;align-items:center;gap:11px;width:100%;text-align:left;background:none;border:0;border-radius:12px;padding:9px 10px;color:var(--ink);cursor:pointer;height:auto;min-height:0;box-shadow:none}
.chi:hover{background:rgba(255,255,255,.05)}
.chi.on{background:rgba(217,183,106,.12);box-shadow:inset 2px 0 0 var(--acc)}
.chav{flex:none;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;font-size:12.5px;font-weight:650;letter-spacing:.02em;color:#E9E4D6;background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.04));border:1px solid var(--g-line2)}
.chav.gen{background:linear-gradient(135deg,#F3DC9C,#C99D4C);color:#241A06;border:0}
.chav svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}
.chav.sm{width:24px;height:24px;border-radius:8px;font-size:10px}
.chm{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.chn{font-size:14px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:5px}
.chn svg{width:13px;height:13px;stroke:var(--mute);fill:none;stroke-width:1.8;flex:none}
.chp{font-size:12.5px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chp b{font-weight:500;color:var(--ink2)}.chp i{font-style:normal;opacity:.8}
.chi.unr .chn{color:#fff}.chi.unr .chp{color:var(--ink2)}
.chi.muted{opacity:.62}
.chr{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:5px;min-width:34px}
.chr time{font-size:11px;color:var(--mute)}
.chb{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:linear-gradient(135deg,#F3DC9C,#C99D4C);color:#241A06;font-size:11.5px;font-weight:700;display:grid;place-items:center}
.chb.at{background:#FF6B5E;color:#fff}
.chi.muted .chb{background:rgba(255,255,255,.16);color:var(--ink)}
.chdot{width:7px;height:7px;border-radius:50%;background:rgba(217,183,106,.55)}
.chh{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--g-line2)}
.cht{display:flex;flex-direction:column;min-width:0}.cht b{font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cht small{font-size:12px;color:var(--mute)}
.chh .sp{flex:1}
.chback{display:none}
.chseg{background:rgba(255,255,255,.05)!important}.chseg button{padding:6px 12px!important;font-size:13px;height:auto;min-height:0}
.chseg button.on{background:rgba(217,183,106,.16)!important;color:var(--acc)!important}
.chmute{width:36px;height:36px;padding:0;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.05);border:1px solid var(--g-line2);color:var(--ink2)}
.chmute svg,.chback svg,.chsend svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}
.chfeed{flex:1;overflow-y:auto;padding:14px 18px 8px;display:flex;flex-direction:column;gap:3px;scroll-behavior:auto}
.chmore{align-self:center;margin:4px 0 10px;background:rgba(255,255,255,.06);border:1px solid var(--g-line2);color:var(--ink2);border-radius:20px;padding:6px 14px;font-size:12.5px;height:auto;min-height:0}
.chday{display:flex;justify-content:center;margin:12px 0 8px}
.chday span{font-size:11.5px;color:var(--ink2);background:rgba(255,255,255,.06);border:1px solid var(--g-line2);padding:3px 11px;border-radius:20px}
.cm{position:relative;align-self:flex-start;max-width:min(74%,620px);background:#2A2C2E;border:1px solid rgba(255,255,255,.06);border-radius:4px 16px 16px 16px;padding:8px 12px 9px;margin-top:6px}
.cm.cont{margin-top:1px;border-radius:16px}
.cm.me{align-self:flex-end;background:linear-gradient(160deg,rgba(217,183,106,.24),rgba(217,183,106,.13));border-color:rgba(217,183,106,.28);border-radius:16px 4px 16px 16px}
.cm.me.cont{border-radius:16px}
.cm.ment-me{box-shadow:0 0 0 1px rgba(255,107,94,.55),0 0 18px rgba(255,107,94,.12)}
.cmh{display:flex;align-items:baseline;gap:8px;margin-bottom:2px}
.cmh b{font-size:12.5px;font-weight:600;color:#E8CC88}.cm.me .cmh b{color:#F3DC9C}
.cmh time{font-size:11px;color:var(--mute)}
.cmb{font-size:14px;line-height:1.45;color:#F2F2F4;white-space:pre-wrap;word-break:break-word}
.cmb a{color:#9FD3C7}
.ment{color:#F3DC9C;font-weight:600}.ment.me{color:#fff;background:rgba(255,107,94,.32);border-radius:5px;padding:0 3px}
.cmdel{position:absolute;top:4px;left:-30px;width:24px;height:24px;padding:0;border-radius:8px;display:none;place-items:center;background:rgba(255,255,255,.06);border:0;color:var(--mute);min-height:0}
.cmdel svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2}
.cm.me:hover .cmdel{display:grid}.cmdel:hover{color:#FF6B5E}
.cev{display:flex;align-items:center;gap:10px;align-self:stretch;padding:6px 10px;margin:2px 0;border-radius:12px;cursor:pointer;color:var(--ink2);transition:background .15s}
.cev:hover{background:rgba(255,255,255,.045)}
.cei{flex:none;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.06);color:var(--ink2)}
.cei svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.9}
.cev.k-ok .cei{color:#7FD6A8;background:rgba(127,214,168,.12)}
.cev.k-no .cei{color:#FF8A7E;background:rgba(255,107,94,.13)}
.cev.k-pay .cei{color:#E8CC88;background:rgba(217,183,106,.15)}
.cev.k-dlv .cei{color:#8FC9D9;background:rgba(143,201,217,.12)}
.cet{flex:1;min-width:0;font-size:13px;line-height:1.35}
.cet b{font-weight:550;color:var(--ink)}
.cet small{display:block;font-size:12px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cev time{flex:none;font-size:11px;color:var(--mute)}
.cm.fresh,.cev.fresh{animation:chin .35s var(--ease,ease) both}
@keyframes chin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.chempty0{margin:auto;display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--mute);text-align:center;padding:30px}
.chempty0 svg{width:34px;height:34px;stroke:rgba(217,183,106,.6);fill:none;stroke-width:1.5;margin-bottom:4px}
.chempty0 b{color:var(--ink);font-weight:600}
.chin{position:relative;display:flex;align-items:flex-end;gap:10px;padding:12px 14px;border-top:1px solid var(--g-line2)}
.chin textarea{flex:1;resize:none;min-height:42px;max-height:160px;padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid var(--g-line);color:var(--ink);font:inherit;font-size:14px;line-height:1.4;outline:0}
.chin textarea:focus{border-color:rgba(217,183,106,.5);box-shadow:0 0 0 3px rgba(217,183,106,.12)}
.chsend{width:42px;height:42px;min-height:0;padding:0;border-radius:13px;display:grid;place-items:center;flex:none}
.chro{padding:8px 4px}
.mpop{position:absolute;left:14px;bottom:calc(100% - 4px);width:min(320px,calc(100% - 28px));background:rgba(20,22,22,.96);border:1px solid var(--g-line);border-radius:14px;padding:6px;box-shadow:0 18px 40px rgba(0,0,0,.45);backdrop-filter:blur(16px);z-index:5}
.mpop button{display:flex;align-items:center;gap:10px;width:100%;border-radius:10px;padding:7px 8px;color:var(--ink);font-size:13.5px;text-align:left;height:auto;min-height:0}

@media (max-width:760px){
  .chatw{height:calc(100dvh - 150px);min-height:0}
  .chatw .chf{display:none}.chatw.open .chl{display:none}.chatw.open .chf{display:flex}
  .chback{display:grid;width:34px;height:34px;padding:0;place-items:center;border-radius:10px;background:none;border:0;color:var(--ink);min-height:0;margin-left:-6px}
  
  
  .chfeed{padding:10px 10px 6px}
  .chin{padding:10px}
  .cm.me .cmdel{display:grid;left:-28px;opacity:.6}
}
.chatw button.chi{background:none!important;border:0!important;font-weight:400}
.chatw button.chi:hover{background:rgba(255,255,255,.05)!important}
.chatw button.chi.on{background:rgba(217,183,106,.12)!important}
.chatw .cmdel,.chatw .chback,.mpop button{background:none!important;border:0!important}
.chatw .cmdel{background:rgba(255,255,255,.06)!important}
.chatw .chmute{background:rgba(255,255,255,.05)!important;border:1px solid var(--g-line2)!important}
.chatw .chmore{background:rgba(255,255,255,.06)!important;border:1px solid var(--g-line2)!important}
.mpop button.on,.mpop button:hover{background:rgba(217,183,106,.14)!important}
body.inchat .aifab{display:none!important}
.chatw button.chquiet{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:10px;padding:9px 10px;background:none!important;border:0!important;border-top:1px solid var(--g-line2)!important;border-radius:0;color:var(--mute);font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:500;min-height:0;height:auto}
.chatw button.chquiet:hover{color:var(--ink2)}
.chquiet svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;transition:transform .2s}
.chquiet.open svg{transform:rotate(180deg)}
.chn svg:first-of-type{stroke:var(--acc)}
.chatw .chmute.on{color:var(--acc)!important;border-color:rgba(217,183,106,.45)!important;background:rgba(217,183,106,.12)!important}

/* ═══ Красное на золоте: тёмная подложка, чтобы не сливалось ═══ */
.cdh{background:rgba(12,14,14,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid var(--g-line2);border-radius:12px;padding:9px 14px!important;margin:0 0 10px!important;align-items:center!important}
.cdh b{color:#F2F2F4}
.cdh span{color:var(--ink2)}
.cday.today .cdh{box-shadow:inset 3px 0 0 var(--acc)}
.cday.late .cdh{background:rgba(22,8,8,.78);border-color:rgba(255,90,78,.35);box-shadow:inset 3px 0 0 #FF5A4E}
.cday.late .cdh b,.cday.late .cdh span b{color:#FF7A6E!important}
.pb.pb-urgent,.pb.pb-fire{background:rgba(26,8,7,.82)!important;color:#FF8A7E!important;box-shadow:inset 0 0 0 1px rgba(255,98,86,.6)!important}
.tbl tr.row.rt-urg td:first-child{box-shadow:inset 3px 0 0 #FF5A4E!important}
.tag.sx.s-unpaid{background:rgba(30,8,10,.78)!important;color:#FF9DA8!important;box-shadow:inset 0 0 0 1px rgba(244,114,128,.45)!important}
.tag.sx.s-rej{background:rgba(26,8,7,.78)!important;color:#FF8A80!important;box-shadow:inset 0 0 0 1px rgba(255,90,78,.4)}

/* ═══ Платёжный календарь (обязательные платежи) ═══ */
.pch{display:flex;align-items:center;gap:12px;margin:0 0 16px;flex-wrap:wrap}
.pch .sp{flex:1}
.pcm{display:flex;align-items:center;gap:10px;background:rgba(12,14,14,.72);backdrop-filter:blur(14px);border:1px solid var(--g-line2);border-radius:14px;padding:5px 6px}
.pcm b{font-size:17px;font-weight:600;min-width:150px;text-align:center}
.pcm .fic{width:34px;height:34px;padding:0;display:grid;place-items:center;border-radius:10px;min-height:0}
.pcm .fic svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2}
.pcm .pcnext svg{transform:rotate(180deg)}
.pcm .pcnow{height:34px;min-height:0;padding:0 12px;font-size:12.5px;border-radius:10px;color:var(--acc)!important}
.pch .pri svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.2;margin-right:6px;vertical-align:-3px}
.pcsum{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.pct{background:rgba(14,16,16,.66);backdrop-filter:blur(16px);border:1px solid var(--g-line2);border-radius:16px;padding:14px 18px;display:flex;flex-direction:column;gap:3px}
.pct small{font-size:12px;color:var(--mute)}
.pct b{font-size:24px;font-weight:650;letter-spacing:-.01em;color:#F4F4F6}
.pct span{font-size:12.5px;color:var(--ink2)}
.pct.ok b{color:#7FD6A8}
.pct.bad{border-color:rgba(255,90,78,.4);box-shadow:inset 3px 0 0 #FF5A4E}.pct.bad span{color:#FF8A7E;font-weight:600}
.pckinds{padding:14px 18px!important;margin-bottom:18px;background:rgba(14,16,16,.66)!important}
.pcbar{display:flex;height:10px;border-radius:6px;overflow:hidden;gap:2px;background:rgba(255,255,255,.05)}
.pcbar i{display:block;height:100%}
.pclg{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:11px;font-size:12.5px;color:var(--ink2)}
.pclg span{display:inline-flex;align-items:center;gap:7px}.pclg b{color:var(--ink);font-weight:600}
.pcd{flex:none;width:9px;height:9px;border-radius:50%;display:inline-block}
.k1{background:#D9B76A}.k2{background:#7FB8D6}.k3{background:#E58C7A}.k4{background:#92e0dd}.k5{background:#E3A857}.k6{background:#6FCFB4}.k7{background:#8C8C96}
.pcl{background:rgba(22,26,26,.62)!important;}
.pcr{display:grid;align-items:center;gap:14px;cursor:pointer;transition:background .15s}
.pcr:first-child{border-top:0}
.pcr:hover{background:rgba(255,255,255,.04)}
.pctt{min-width:0}.pctt b{display:block;font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pctt small{display:block;font-size:12.5px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcrep{width:18px;color:var(--mute)}.pcrep svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8}
.pca{font-size:15.5px;font-weight:650;text-align:right;white-space:nowrap}.pca small{display:block;font-size:11px;font-weight:400;color:var(--mute)}
.pcs{display:flex;justify-content:flex-end}
.pcr.paid .pctt b,.pcr.paid .pca{color:#7FD6A8}
.pcr.paid{opacity:.82}

.pcr.late .pca{color:#FF8A7E}
button.pcpay{height:32px;min-height:0;padding:0 14px;font-size:12.5px;border-radius:10px;}

.cday.done .cdh b{color:#7FD6A8}
.pcempty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:46px 20px;text-align:center;background:rgba(14,16,16,.6);border-radius:18px;border:1px solid var(--g-line2)}
.pcempty svg{width:34px;height:34px;stroke:rgba(217,183,106,.65);fill:none;stroke-width:1.5}
.pcempty span{color:var(--mute);font-size:13px}
.pcf .frow{margin-top:10px}
.pcf2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pcf .seg{width:100%;display:flex}.pcf .seg button{flex:1}
.pchint{margin-top:6px;color:var(--acc)!important;min-height:16px}
.pcacts{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid var(--g-line2)}
.pcacts button{height:34px;min-height:0;font-size:12.5px;padding:0 12px}
button.pcdel{color:#FF8A7E!important}
.pcinfo{display:flex;flex-direction:column;gap:9px}.pcinfo div{display:flex;justify-content:space-between;gap:16px}.pcinfo span{color:var(--mute)}.pcinfo b{text-align:right}
@media (max-width:760px){
  .pcsum{grid-template-columns:1fr 1fr}.pcsum .pct:first-child{grid-column:1/-1}
  .pct b{font-size:19px}
  
  
  .pcm b{min-width:120px;font-size:15px}
  .pcf2{grid-template-columns:1fr}
}
.pcl{padding:0!important}
.pcr{grid-template-columns:62px auto 1fr auto auto 160px;padding:10px 16px 10px 8px;border-top:1px solid transparent}
.pcr.first{border-top:1px solid var(--g-line)}
.pcl .pcr:first-child{border-top:0}
.pcdt{display:flex;flex-direction:column;align-items:center;line-height:1.05;align-self:start;padding-top:2px}
.pcdt b{font-size:21px;font-weight:650;color:#F2F2F4}
.pcdt span{font-size:11px;color:var(--mute);margin-top:3px;white-space:nowrap}
.pcdt.td b,.pcdt.td span{color:var(--acc)}
.pcdt.lt b,.pcdt.lt span{color:#FF7A6E}
.pcr.late{box-shadow:inset 3px 0 0 #FF5A4E}
.pcok{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:#7FD6A8}
.pcok svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.4}
.cday.late .pcl{margin-top:0}
@media (max-width:760px){
  .pcr{grid-template-columns:44px auto 1fr auto;gap:8px 10px;padding:10px 12px 10px 4px}
  .pcr .pcrep{display:none}.pcr .pcs{grid-column:3/-1;justify-content:flex-start}
  .pcdt b{font-size:18px}
}
button.pcpay{background:rgba(255,255,255,.04)!important;border:1px solid rgba(127,214,168,.3)!important;color:#9BE6BF!important;font-weight:550}
button.pcpay:hover{background:rgba(95,211,154,.2)!important;border-color:rgba(127,214,168,.6)!important}

/* ═══ Главная: карточка «Деньги» ═══ */
.mcard{margin:18px 0 6px;padding:18px 20px!important}
.mbal{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--g-line2)}
.mbl{display:flex;flex-direction:column;gap:3px;flex:1;min-width:220px}
.mbl small{font-size:12px;color:var(--mute);letter-spacing:.02em}
.mbl b{font-size:30px;font-weight:650;letter-spacing:-.01em;color:#F3DC9C;font-variant-numeric:tabular-nums}
.mbl b.hid{color:#E9E4D6;letter-spacing:.12em}
.mbl span{font-size:12.5px;color:var(--ink2)}
.mbb{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
button.fic2{display:inline-flex;align-items:center;gap:7px;height:36px;min-height:0;padding:0 14px;border-radius:11px;font-size:13px;font-weight:550}
.fic2 svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8}
.mbb .pri{height:36px;min-height:0;padding:0 14px;font-size:13px}
.mbreq{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--acc);padding:0 6px}
.mbreq svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8}
.mrows{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px 0}
button.mrow{display:flex;align-items:center;gap:10px;text-align:left;height:auto;min-height:0;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.04)!important;border:1px solid var(--g-line2)!important}
button.mrow:hover{background:rgba(217,183,106,.08)!important;border-color:rgba(217,183,106,.3)!important}
.mrow span{flex:1;font-size:13px;color:var(--ink2);font-weight:500}
.mrow b{font-size:15px;font-weight:650;white-space:nowrap}.mrow b i{font-style:normal;color:var(--mute);font-weight:500}
.mrow svg{width:15px;height:15px;stroke:var(--mute);fill:none;stroke-width:2;transform:rotate(-90deg)}
.msec{display:flex;justify-content:space-between;align-items:baseline;padding:4px 2px 8px;font-size:13px;font-weight:600}
.msec small{font-weight:400;color:var(--mute);margin-left:6px}

.mpi{grid-template-columns:110px 1fr auto;border-top:1px solid var(--g-line2);font-size:13.5px}
.mpi:first-child{border-top:0}
.mpd{color:var(--mute)}.mpt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mpi.late .mpd,.mpi.late b{color:#FF7A6E}
.mcard .paynote{margin-top:12px}
.mlist{display:flex;flex-direction:column;max-height:60vh;overflow:auto;margin:6px -4px 0}
button.mli{display:flex;justify-content:space-between;gap:14px;text-align:left;height:auto;min-height:0;padding:10px 12px;border-radius:12px;background:none!important;border:0!important;border-bottom:1px solid var(--g-line2)!important}
button.mli:hover{background:rgba(255,255,255,.05)!important}
.mli span{display:flex;flex-direction:column;gap:2px;min-width:0}
.mli small{font-size:12px;color:var(--mute);font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mli .mls{align-items:flex-end;flex:none}.mli .mls .pb{margin-bottom:2px}
.mtot{text-align:right;padding:12px 4px 0;color:var(--ink2)}.mtot b{color:var(--ink);font-size:16px}
@media (max-width:760px){
  .mrows{grid-template-columns:1fr}
  .mbl b{font-size:24px}
  .mpi{grid-template-columns:84px 1fr auto}
}
.mcard{max-width:none}

/* ═══ Админка ═══ */
.admtabs{margin-bottom:14px}
.admf{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.admf input[type=search]{max-width:340px}
.admf .sp{flex:1}
.admf .pri svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.2;margin-right:6px;vertical-align:-3px}
.admt tr.row{cursor:pointer}
.admt tr.closed td{opacity:.5}
.rtag{display:inline-block;margin:2px 4px 2px 0;padding:2px 8px;border-radius:7px;font-size:12px;background:rgba(255,255,255,.07);color:var(--ink2);white-space:nowrap}
.rtag.adm{background:rgba(217,183,106,.16);color:var(--acc)}
.warn-t{color:#FFB86B}
button.sw{width:40px;height:22px;min-height:0;padding:0;border-radius:12px;position:relative;background:rgba(255,255,255,.12)!important;border:0!important}
button.sw i{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#C9C9CF;transition:left .18s}
button.sw.on{background:linear-gradient(135deg,#F3DC9C,#C99D4C)!important}
button.sw.on i{left:21px;background:#241A06}
.mbox.wide{width:min(760px,calc(100vw - 32px))}
.admform .frow{margin-top:12px}
.adm2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.adm3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.adm3 .msel .msb,.adm2 .msel .msb{width:100%!important}
.admroles{display:flex;flex-wrap:wrap;gap:6px}
.rchk{cursor:pointer}.rchk input{display:none}
.rchk span{display:inline-block;padding:6px 11px;border-radius:10px;font-size:13px;background:rgba(255,255,255,.05);border:1px solid var(--g-line2);color:var(--ink2);transition:all .15s}
.rchk input:checked+span{background:rgba(217,183,106,.16);border-color:rgba(217,183,106,.5);color:#F3DC9C}
.admacc{display:flex;width:100%}.admacc button{flex:1}

.admkey{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid var(--g-line2)}
.admkey>div{flex:1;display:flex;flex-direction:column;gap:2px;min-width:180px}
.admkey button{height:34px;min-height:0;font-size:12.5px;padding:0 12px}
.admlink{margin-top:12px}
.admlr{display:flex;gap:8px;margin-top:8px}.admlr input{flex:1;font-family:ui-monospace,monospace;font-size:12px}
.admlr button{height:38px;min-height:0}
.admset{padding:18px 20px!important;max-width:720px}
.admwd{display:flex;gap:14px;flex-wrap:wrap;margin:6px 0}
.admset textarea{width:100%;resize:vertical}
.admlog{display:flex;flex-direction:column}
.admlog>div{padding:10px 16px;border-top:1px solid var(--g-line2);font-size:13.5px;display:flex;flex-direction:column;gap:2px}
.admlog>div:first-child{border-top:0}
@media (max-width:760px){.adm2,.adm3{grid-template-columns:1fr}}
.admform .msel{width:100%;display:block}
.admform .msel .msb{width:100%!important;justify-content:space-between}
.admform .msp{position:static!important;width:100%!important;margin-top:6px;max-height:230px;box-shadow:none!important}
.admacc button:not(.on){background:transparent!important;color:var(--mute)!important}
.admacc button.on{background:rgba(217,183,106,.16)!important;color:#F3DC9C!important}
.admacc button[data-ac="Закрыт"].on{background:rgba(255,90,78,.16)!important;color:#FF8A7E!important}
.admform .msel .msb{max-width:none!important}
.admform .msel .msp{max-height:none!important;max-width:none!important;min-width:0!important;overflow:visible}
.admform .msel .msl{max-height:200px!important}

/* выпадающие списки (select) — тёмные, как всё остальное */
:root{color-scheme:dark}
select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C6C8D1' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;padding-right:36px!important;cursor:pointer}
select option,select optgroup{background:#1A1D1D;color:#ECECEF}
select option:checked{background:#3A3D4A;color:#ECEDF2}
select option:disabled{color:#6E6E78}
select:not(#_z){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C6C8D1' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:16px!important}

/* ═══ Меню по ролям: «Ещё» ═══ */
.side button.nmore-t{width:100%;text-align:left;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--mute)!important;margin-top:6px;font-weight:500}
.side button.nmore-t>svg:last-child{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;margin-left:auto;transition:transform .2s}
.side button.nmore-t.open>svg:last-child{transform:rotate(180deg)}
.side button.nmore-t:hover{color:var(--ink)!important;background:rgba(255,255,255,.04)!important}
.nmore{margin-left:8px;padding-left:6px;border-left:1px solid var(--g-line2)}
.nmore .nav{opacity:.85}

/* ═══ Капсулы на мобильной главной ═══ */
.caps{display:none}
@media (max-width:760px){
  .caps{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 16px}
  .caps ~ .tiles{display:none}
  .cap{position:relative;display:flex;flex-direction:column;gap:10px;min-height:96px;padding:14px 14px 12px;border-radius:20px;text-decoration:none;color:var(--ink);background:rgba(16,18,18,.66);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--g-line2);-webkit-tap-highlight-color:transparent;transition:transform .12s}
  .cap:active{transform:scale(.97)}
  .cic{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.07);color:var(--ink2)}
  .cic svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}
  .ct{display:flex;flex-direction:column;gap:2px}
  .ct b{font-size:15px;font-weight:600;line-height:1.2}
  .ct small{font-size:12px;color:var(--mute)}
  .cn{position:absolute;top:12px;right:12px;min-width:26px;height:26px;padding:0 8px;border-radius:13px;display:grid;place-items:center;font-size:13.5px;font-weight:700;background:linear-gradient(135deg,#F3DC9C,#C99D4C);color:#241A06}
  .cap.hot.has{border-color:rgba(217,183,106,.45);background:linear-gradient(160deg,rgba(217,183,106,.2),rgba(16,18,18,.7))}
  .cap.hot.has .cic{background:rgba(217,183,106,.2);color:#F3DC9C}
  .cap.urg.has .cn{background:#FF5A4E;color:#fff}
  .cap.urg.has .cic{color:#FF8A7E;background:rgba(255,90,78,.14)}
}

/* крестик в окнах */
.mbox{position:relative}
.mbox>button.mx{position:absolute;top:14px;right:14px;width:32px;height:32px;min-height:0;padding:0;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.06)!important;border:1px solid var(--g-line2)!important;color:var(--ink2)!important;z-index:2}
.mbox>button.mx:hover{background:rgba(255,255,255,.12)!important;color:#fff!important}
.mbox>button.mx svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2}
.mbox>.mt{padding-right:40px}

/* «Обновить» */
button.pref{display:inline-flex;align-items:center;gap:7px;height:36px;min-height:0;padding:0 14px;border-radius:11px;font-size:13px;font-weight:550;background:rgba(14,16,16,.55)!important;border:1px solid var(--g-line)!important;color:var(--ink2)!important;align-self:center}
button.pref:hover{color:#fff!important;border-color:rgba(217,183,106,.4)!important}
.pref svg,.mref svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2}
.spin svg{animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.mtop .mref{margin-left:auto;width:38px;height:38px;min-height:0;padding:0;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.06)!important;border:1px solid var(--g-line2)!important;color:var(--ink)!important}
@media (max-width:760px){button.pref{display:none}}

/* настройка меню */
.side button.ncfg{display:flex;align-items:center;gap:8px;width:calc(100% - 8px);margin:10px 4px 0;height:32px;min-height:0;padding:0 10px;background:transparent!important;border:1px dashed var(--g-line2)!important;border-radius:10px;color:var(--mute)!important;font-size:12.5px;font-weight:500}
.side button.ncfg:hover{color:var(--ink)!important;border-color:rgba(217,183,106,.4)!important}
.ncfg svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8}
.mcfg{display:flex;flex-direction:column;gap:4px;max-height:58vh;overflow:auto}
.mci{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:11px;background:rgba(255,255,255,.04);border:1px solid var(--g-line2);user-select:none}
.mci.off{opacity:.5}
.mci.drag{opacity:.35}.mci.over{border-color:rgba(217,183,106,.6)}
.mcg{cursor:grab;color:var(--mute);display:grid}.mcg svg{width:16px;height:16px;fill:currentColor;stroke:none}
.mci .ic svg{width:17px;height:17px;stroke:var(--ink2);fill:none;stroke-width:1.8}
.mcn{flex:1;font-size:14px}
.mci button{width:30px;height:30px;min-height:0;padding:0;display:grid;place-items:center;border-radius:9px;background:transparent!important;border:0!important;color:var(--ink2)!important}
.mci button:disabled{opacity:.25}
.mci button svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
.mci [data-up] svg{transform:rotate(180deg)}
.mci .mce{color:var(--acc)!important}.mci.off .mce{color:var(--mute)!important}
button.mcres{margin-top:10px;background:none!important;border:0!important;color:var(--mute)!important;font-size:12.5px;padding:4px 0;min-height:0;height:auto;text-decoration:underline}
.mci .ic{display:grid;place-items:center}

/* ═══ Телефон: экран зафиксирован ═══ */
/* корень не трогаем (overflow/overscroll на html/body ломают прокрутку в Яндекс Браузере на Android) — горизонталь режем на #app */
html,body{-webkit-text-size-adjust:100%;text-size-adjust:100%}
#app{overflow-x:clip;max-width:100%}
*{touch-action:manipulation}
html.lock,html.lock body{overflow:hidden}
.drawer .pane,.mbox,.chfeed,.chlist,.side,.msl,.mcfg,.mlist,.wrap{overscroll-behavior:contain}
.layout,.body,main{max-width:100vw}
@media (max-width:760px){
  input,select,textarea{font-size:16px!important}
}

/* «Мои решения» */
.dcard{margin:14px 0 6px;padding:18px 20px!important}
.dcard h3 .pill{margin-left:8px}
.dlist{display:flex;flex-direction:column}
.drow{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:14px;padding:10px 4px;border-top:1px solid var(--g-line2);cursor:pointer;border-radius:10px}
.drow:first-child{border-top:0}
.drow:hover{background:rgba(255,255,255,.035)}
.dm{min-width:0;display:flex;flex-direction:column;gap:2px}.dm b{font-size:14px;font-weight:600}
.dm small,.dr small{font-size:12px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dr{display:flex;flex-direction:column;align-items:flex-end;gap:3px}.dr b{font-size:14.5px;white-space:nowrap}
.dtag{font-size:11.5px;font-weight:600;padding:2px 8px;border-radius:7px;white-space:nowrap}
.dtag.ok{background:rgba(127,214,168,.13);color:#8FE0B5}.dtag.no{background:rgba(255,90,78,.14);color:#FF8A7E}.dtag.reg{background:rgba(255,255,255,.07);color:var(--ink2)}.dtag.pay{background:rgba(217,183,106,.15);color:#F0D99E}
button.dundo{height:34px;min-height:0;padding:0 13px;font-size:12.5px;border-radius:10px;background:rgba(255,90,78,.08)!important;border:1px solid rgba(255,90,78,.4)!important;color:#FF8A7E!important}
button.dundo:hover{background:rgba(255,90,78,.18)!important}
button.dall{margin-top:8px;background:none!important;border:0!important;color:var(--acc)!important;font-size:13px;padding:6px 4px;min-height:0;height:auto}
button.pref.pico{padding:0;width:36px;justify-content:center}
.mtop .mhome{margin-left:auto}.mtop .mhome+.mref{margin-left:6px}
@media (max-width:760px){
  .drow{grid-template-columns:1fr auto;gap:8px 10px}
  .drow .dundo{grid-column:1/-1;width:100%}
}
@media (max-width:760px){
  .cap.wide{grid-column:1/-1;flex-direction:row;align-items:center;min-height:0;padding:12px 14px}
  .cap.wide .cn{position:static;margin-left:auto}
}
.mrow em{font-style:normal;font-size:12px;font-weight:600;color:var(--ink2);background:rgba(255,255,255,.07);padding:3px 9px;border-radius:8px;white-space:nowrap}
.mrow b{color:#F2F2F4}
button.mrow.mweek{width:100%;margin-top:0}
.mrow span small{font-weight:400;color:var(--mute);margin-left:4px}
@media (max-width:760px){.mrow{flex-wrap:wrap}.mrow span{flex-basis:100%}.mrow em{margin-right:auto}}

/* мобилка: шапка всегда сверху (под «чёлкой»), список без вложенной прокрутки, чат по высоте экрана */
@media (max-width:760px){
  .wrap{max-height:none!important;overflow-y:visible!important;overflow-x:auto}
  .mtop{position:sticky!important;top:0}
  .chatw{grid-template-columns:minmax(0,1fr)!important}
  .chatw .chl,.chatw .chf{min-width:0;max-width:100%}
  .chfeed{overflow-x:hidden}
  .cev{min-width:0}.cet{min-width:0}
  .cm{max-width:calc(100% - 34px)}
  .chin textarea{min-width:0}
  body.inchat #ptop{display:none}
  body.inchat main{padding-top:8px;padding-bottom:8px!important}
  body.inchat #main{padding-bottom:0!important}
}
@media (max-width:760px){
  .mtop>b{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mtop .mhome{margin-left:0}
  .chh{gap:8px;padding:8px 10px}
  .cht{flex:1;min-width:0}.cht small{display:none}.cht b{font-size:15px}
  .chh .sp{display:none}
  .chseg button{padding:5px 8px!important;font-size:12px}
  .chh .chmute{width:32px;height:32px;flex:none}
  .chh .chav{width:30px;height:30px;border-radius:9px;font-size:11px}
}
@media (max-width:760px){.chh .chav{display:none}.chh .chback{margin-left:-4px}}

/* ═══ Мобилка: счёт — компактная карточка (контрагент · сумма / объект · остаток / состав / дата · статус) ═══ */
@media (max-width:760px){
  .wrap .tbl tr.row[data-amt]{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"ctr ctr amt" "obj obj rest" "dsc dsc dsc" "dt pr st";column-gap:10px;row-gap:5px;padding:13px 14px 12px!important;margin:0 0 8px;border-radius:16px;border:1px solid var(--g-line2)!important;background:rgba(18,20,20,.62)!important;position:relative}
  .wrap .tbl tr.row[data-amt] td{display:none!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:13px;text-align:left!important;min-width:0!important;width:auto!important;max-width:none!important}
  .wrap .tbl tr.row[data-amt] td::before,.wrap .tbl tr.row[data-amt] td::after{display:none!important;content:none!important}
  .wrap .tbl tr.row[data-amt] td.c-contractor{display:block!important;grid-area:ctr;font-size:15px;font-weight:600;line-height:1.25}
  .wrap .tbl tr.row[data-amt] td.c-contractor .sub{font-size:11.5px;margin-top:2px}
  .wrap .tbl tr.row[data-amt] td.c-amount{display:block!important;grid-area:amt;text-align:right!important;font-size:15.5px;font-weight:700;white-space:nowrap}
  .wrap .tbl tr.row[data-amt] td.c-object{display:block!important;grid-area:obj;font-size:12.5px}
  .wrap .tbl tr.row[data-amt] td.c-rest{display:block!important;grid-area:rest;text-align:right!important;font-size:12px;color:var(--mute);white-space:nowrap}
  .wrap .tbl tr.row[data-amt] td.c-rest::before{content:"остаток "!important;display:inline!important;font-size:11px;color:var(--mute)}
  .wrap .tbl tr.row[data-amt] td.c-descr{display:block!important;grid-area:dsc;font-size:12.5px;color:var(--ink2)}
  .wrap .tbl tr.row[data-amt] td.c-descr .clamp{-webkit-line-clamp:2;text-align:left}
  .wrap .tbl tr.row[data-amt] td.c-date{display:flex!important;grid-area:dt;align-items:center;gap:6px;font-size:12px;color:var(--mute);white-space:nowrap}
  .wrap .tbl tr.row[data-amt] td.c-date .sub{display:inline;margin:0}
  .wrap .tbl tr.row[data-amt] td.c-status{display:flex!important;grid-area:st;justify-content:flex-end;flex-wrap:wrap;gap:4px}
  .wrap .tbl tr.row[data-amt] td.c-priority{display:flex!important;grid-area:pr;align-items:center}
  .wrap .tbl tr.row[data-amt] td.c-priority:empty{display:none!important}
  .wrap .tbl tr.row[data-amt] td:has(.chk){display:block!important;position:absolute;right:12px;top:12px}
  .wrap .tbl tr.row[data-amt]:has(.chk) td.c-amount{margin-right:30px}
  .wrap .tbl tr.row[data-amt].rt-urg{box-shadow:inset 3px 0 0 #FF5A4E;background:linear-gradient(90deg,rgba(18,20,20,.62) 40%,rgba(255,110,70,.16))!important}
  .wrap .tbl tr.row[data-amt].rt-paid{box-shadow:inset 3px 0 0 #5FD39A}
  .wrap .tbl tr.row[data-amt].sel{border-color:rgba(217,183,106,.6)!important}
  .wrap .tbl tbody{display:block}
  .card:has(>.wrap>.tbl){background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible}
}

/* ═══ Реестр: поиск, сортировка, быстрые фильтры-«чипы» ═══ */
.regtop{display:flex;gap:10px;align-items:center;margin-bottom:10px}
.rsearch{flex:1;display:flex;align-items:center;gap:10px;height:44px;padding:0 14px;border-radius:14px;background:rgba(14,16,16,.55);border:1px solid var(--g-line);backdrop-filter:blur(14px)}
.rsearch:focus-within{border-color:rgba(217,183,106,.55);box-shadow:0 0 0 3px rgba(217,183,106,.12)}
.rsearch svg{width:18px;height:18px;stroke:var(--mute);fill:none;stroke-width:2;flex:none}
.rsearch input{flex:1;min-width:0;height:100%;background:none!important;border:0!important;outline:0;box-shadow:none!important;padding:0!important;color:var(--ink);font-size:15px}
#fsort{height:44px;border-radius:14px;max-width:220px;background-color:rgba(14,16,16,.55)!important;border:1px solid var(--g-line)!important;color:var(--ink)!important;padding-left:14px}
button.ftog{height:44px;border-radius:14px;display:none;position:relative}
button.ftog b{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:linear-gradient(135deg,#F3DC9C,#C99D4C);color:#241A06;font-size:11.5px;display:grid;place-items:center}
button.ftog.open{border-color:rgba(217,183,106,.5)!important;color:var(--acc)!important}
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 12px;margin-bottom:2px;-webkit-overflow-scrolling:touch}
.chips::-webkit-scrollbar{display:none}
button.chip{flex:none;display:inline-flex;align-items:center;gap:7px;height:36px;min-height:0;padding:0 14px;border-radius:12px;font-size:13.5px;font-weight:550;white-space:nowrap;background:rgba(14,16,16,.5)!important;border:1px solid var(--g-line)!important;color:var(--ink2)!important}
button.chip span{font-size:12px;font-weight:600;color:var(--mute)}
button.chip.on{background:rgba(217,183,106,.16)!important;border-color:rgba(217,183,106,.6)!important;color:#F3DC9C!important}
button.chip.on span{color:#E8CC88}
button.chip.urg span{color:#FF8A7E}
.filters #fq{display:none}
@media (max-width:760px){
  .regtop{gap:8px}
  #fsort{flex:none;width:44px;padding:0!important;color:transparent!important;background-position:center!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23C6C8D1' stroke-width='2'%3E%3Cpath d='M7 4v16M3 16l4 4 4-4M17 20V4M13 8l4-4 4 4'/%3E%3C/svg%3E")!important;background-size:20px!important}
  #fsort option{color:#ECECEF}
  button.ftog{display:inline-flex;align-items:center;gap:6px;padding:0 12px}
  button.ftog span{display:none}
  #regf{display:none!important}
  #regf.open{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
  #regf.open .msel .msb{width:100%!important;max-width:none!important}
}

/* приветствие — компактно, в одну строку */
#ptop h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
@media (max-width:760px){#ptop h1{font-size:clamp(17px,5.6vw,24px)!important;line-height:1.25}#ptop>div{min-width:0;max-width:100%}}
@media (min-width:761px){#ptop h1{font-size:26px!important}}
.chips{flex-wrap:nowrap!important}
.rsearch{min-width:0}
@media (max-width:760px){
  #fsort:not(#_z){flex:none;width:44px;min-width:44px;padding:0!important;color:transparent!important;background-position:center!important;background-size:20px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23C6C8D1' stroke-width='2'%3E%3Cpath d='M7 4v16M3 16l4 4 4-4M17 20V4M13 8l4-4 4 4'/%3E%3C/svg%3E")!important}
  button.ftog{flex:none;width:auto;min-width:44px;justify-content:center}
}

/* «Мои действия» — лента по дням */
.hday{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink2);margin:16px 4px 8px;font-weight:600}
.hlist{padding:4px 0!important;background:rgba(18,20,20,.62)!important}
.hrow{display:flex;align-items:flex-start;gap:12px;padding:11px 16px;border-top:1px solid var(--g-line2);cursor:pointer}
.hrow:first-child{border-top:0}
.hrow:hover{background:rgba(255,255,255,.04)}
.hrow .cei{flex:none;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.06);color:var(--ink2);margin-top:1px}
.hrow .cei svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.9}
.hrow .cei.k-ok{color:#7FD6A8;background:rgba(127,214,168,.12)}.hrow .cei.k-no{color:#FF8A7E;background:rgba(255,107,94,.13)}.hrow .cei.k-pay{color:#E8CC88;background:rgba(217,183,106,.15)}
.hm{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.hm b{font-size:14px;font-weight:600}
.hm span{font-size:13.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm small{font-size:12px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm small.hba{color:var(--ink2);opacity:.75}
.hrow time{flex:none;font-size:12px;color:var(--mute);margin-top:3px}

/* ═══ Мобилка: любые таблицы — аккуратными карточками ═══ */
@media (max-width:760px){
  .wrap .tbl tr.row:not([data-amt]){display:block!important;padding:12px 14px!important;margin:0 0 8px;border-radius:16px;border:1px solid var(--g-line2)!important;background:rgba(18,20,20,.62)!important;position:relative}
  .wrap .tbl tr.row:not([data-amt]) td{display:flex!important;justify-content:space-between;align-items:baseline;gap:12px;padding:3px 0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:13px;text-align:right!important;min-height:0;height:auto}
  .wrap .tbl tr.row:not([data-amt]) td::before{content:attr(data-l)!important;display:block!important;color:var(--mute);font-size:12px;font-weight:500;text-align:left;flex:none}
  .wrap .tbl tr.row:not([data-amt]) td:first-child{display:block!important;text-align:left!important;font-size:15px;font-weight:600;padding-bottom:6px!important}
  .wrap .tbl tr.row:not([data-amt]) td:first-child::before{display:none!important}
  .wrap .tbl tr.row:not([data-amt]) td:empty,.wrap .tbl tr.row:not([data-amt]) td.hide-m{display:none!important}
  .wrap .tbl tr.row:not([data-amt]) td > *{max-width:70%}
  .wrap .tbl tr.row:not([data-amt]) td:first-child > *{max-width:none}
  .wrap .tbl tr.row:not([data-amt]) td .clamp{text-align:right}
  .wrap .tbl tr.row:not([data-amt]):hover{background:rgba(24,26,26,.7)!important}
  .wrap .tbl tr.row:not([data-amt]) td.xcol{background:none!important;outline:0!important;box-shadow:none!important}
}
@media (max-width:760px){
  .ifoot .acts button{height:auto!important;min-height:42px;white-space:normal!important;line-height:1.2;padding:8px 10px!important;font-size:13px}
}
.htabs .hc{background:rgba(217,183,106,.2)!important;color:#F3DC9C!important}

@media (max-width:760px){
  .side{padding-top:calc(16px + env(safe-area-inset-top))!important;padding-bottom:calc(14px + env(safe-area-inset-bottom))!important}
}

/* «Где оплаты» */
.stk{display:flex;flex-direction:column;gap:8px;max-height:62vh;overflow:auto;overscroll-behavior:contain}
.stg{border:1px solid var(--g-line2);border-radius:14px;background:rgba(255,255,255,.03)}
.stg summary{list-style:none;display:flex;align-items:center;gap:12px;padding:12px 14px;cursor:pointer}
.stg summary::-webkit-details-marker{display:none}
.stg[open] summary{border-bottom:1px solid var(--g-line2)}
.stt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.stt b{font-size:14.5px}.stt small{font-size:12px;color:var(--mute)}
.stn{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.stn b{font-size:18px;color:#F3DC9C}.stn small{font-size:12px;color:var(--ink2);white-space:nowrap}
.stn em{font-style:normal;font-size:11px;color:#FF8A7E;font-weight:600}
.stl{padding:4px 6px 8px}
button.mli.urg{box-shadow:inset 3px 0 0 #FF5A4E}
.stl button.mli{width:100%}
.mli small i.late{font-style:normal;color:#FF8A7E}

/* «Утренняя сводка» */
.mgreet{font-size:15px;color:var(--ink2);margin:-4px 0 14px}
.mgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.mtile{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border-radius:18px;background:rgba(16,18,18,.66);backdrop-filter:blur(16px);border:1px solid var(--g-line2);cursor:pointer;transition:border-color .15s,transform .12s}
.mtile:hover{border-color:rgba(217,183,106,.4)}.mtile:active{transform:scale(.99)}
.mth{display:flex;align-items:center;gap:10px}.mth b{font-size:14px;font-weight:600;color:var(--ink2)}
.mth .cic{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.07);color:var(--ink2)}
.mth .cic svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8}
.mtv{font-size:24px;font-weight:650;color:#F4F4F6;letter-spacing:-.01em}
.mtv .hid{letter-spacing:.12em}
.mts{font-size:12.5px;color:var(--mute);line-height:1.4}
.mts .late{color:#FF8A7E;font-weight:600}
.mtb{margin-top:auto;padding-top:4px;font-size:13px;font-weight:600;color:var(--acc)}
.mtile.hot{border-color:rgba(217,183,106,.45);background:linear-gradient(160deg,rgba(217,183,106,.16),rgba(16,18,18,.7))}
.mtile.hot .cic{background:rgba(217,183,106,.2);color:#F3DC9C}
.mtile.bad{border-color:rgba(255,90,78,.35)}
@media (max-width:760px){.mgrid{grid-template-columns:1fr}.mtv{font-size:21px}}

/* PDF и «Сводка оплат» */

.sbars{grid-template-columns:repeat(12,minmax(0,1fr));}

table.heat tr.hsum td{border-top:1px solid var(--g-line)}

/* PDF и «Сводка оплат» */
button.pdfb{display:inline-flex;align-items:center;gap:5px;height:28px;min-height:0;padding:0 10px;border-radius:8px;font-size:12px;font-weight:600;background:rgba(217,183,106,.1)!important;border:1px solid rgba(217,183,106,.35)!important;color:#F0D99E!important;vertical-align:middle}
button.pdfb svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2}
.sumc{padding:16px 18px!important;margin-bottom:14px;background:rgba(18,20,20,.62)!important}
.smh{display:flex;align-items:baseline;gap:12px;margin-bottom:12px}.smh b{font-size:14.5px}
.sbars{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:2px;height:180px;align-items:end}
.sb{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;cursor:default}
.sb i{display:block;width:70%;max-width:42px;background:#D9B76A;border-radius:4px 4px 0 0}
.sb:hover i{background:#F0D99E}
.sbv{font-size:10.5px;color:var(--ink2);white-space:nowrap}
.sbl{font-size:11px;color:var(--mute);white-space:nowrap}
.hwrap{overflow-x:auto;overscroll-behavior:contain}
table.heat{border-collapse:separate;border-spacing:2px;width:100%;font-size:12px}
table.heat th{font-weight:500;color:var(--mute);padding:4px 6px;text-align:center;white-space:nowrap}
table.heat th:first-child{text-align:left}
table.heat td{padding:7px 6px;text-align:center;border-radius:5px;color:var(--ink);white-space:nowrap;background:rgba(255,255,255,.025)}
table.heat td.ho{text-align:left;font-weight:600;max-width:200px;overflow:hidden;text-overflow:ellipsis;position:sticky;left:0;background:rgba(20,22,22,.95)}
table.heat td.ht{font-weight:700;color:#F3DC9C;background:none}
table.heat tr[data-obj]{cursor:pointer}
table.heat tr[data-obj]:hover td.ho{color:#F3DC9C}
table.heat tr.hsum td{font-weight:700;background:none}
@media (max-width:760px){.sbars{height:140px}.sbv{display:none}}
.sb .trk{flex:1;min-height:0;width:100%;display:flex;align-items:flex-end;justify-content:center}
.sb .trk i{width:70%}
/* Оплаты: блок «Срочные — в первую очередь» */
.pgurg{margin:0 0 6px;border-bottom:1px solid var(--line2);background:linear-gradient(180deg,rgba(255,120,90,.10),rgba(255,120,90,.03));border-radius:12px 12px 0 0}
.pgh.urgh{border-top:0}.pgh.urgh b{color:#FF9A85;display:flex;align-items:center;gap:8px}.pgh.urgh b svg{width:16px;height:16px}
.pgs{padding:6px 16px 4px;font-size:12px;font-weight:600;color:var(--mute);text-transform:none}.pgs.late{color:var(--bad)}.pgs.pday{color:var(--acc-d)}.pgs.off{color:#FFCC7A}
.pgh.urgh b svg{stroke:currentColor;fill:none;stroke-width:2}
.pgnone{padding:10px 16px;font-size:12.5px;color:var(--mute);border-bottom:1px solid var(--line2)}/* Бухгалтер: «Отметить оплаты» в реестре */
.mkbar{position:sticky;top:0;z-index:3;background:var(--card,#1d2124);border-radius:12px 12px 0 0}
.mklist{max-height:46vh;overflow:auto;display:flex;flex-direction:column;gap:6px;margin-top:4px}
.mkrow{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line2);border-radius:10px;background:rgba(255,255,255,.03)}
.mkrow span{flex:1;min-width:0;display:flex;flex-direction:column}.mkrow span b{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mkrow small{color:var(--mute);font-size:12px}
.mkrow input{width:130px;flex:none;text-align:right}
/* Карточка контрагента */
td.gbtn{white-space:nowrap}td.gbtn .pdfb+.pdfb{margin-left:6px}
.cval{padding:8px 0;font-size:14px}
.upl{margin-top:8px;cursor:pointer;display:inline-flex}
#cfile{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:32px}
@media (max-width:760px){.mkrow input{width:110px}}
/* Ассистент: подсказки-примеры — переносом, «таблетками», без обрезки */
.aiempty .chips{flex-wrap:wrap!important;justify-content:center;overflow:visible;gap:8px;padding:0 4px;mask-image:none;-webkit-mask-image:none}
.aiempty .chips button{flex:none;white-space:nowrap;border-radius:999px;padding:7px 13px;height:auto;min-height:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;line-height:1.25}
/* Реестр на телефоне: поиск всегда целой строкой, кнопки — под ним */
@media (max-width:760px){.regtop{flex-wrap:wrap}.regtop .rsearch{flex:1 1 100%;order:-1}}
.mkbar{flex-wrap:wrap}.mkbar .cnt{flex:1 1 240px}
/* «Отметить оплату»: заголовки групп */
#apl .pgh{flex-wrap:wrap;row-gap:2px}#apl .pgh b{flex:1 1 auto;min-width:0}#apl .pgh span{flex:none}
#apl .pgs{padding:0 16px 8px;font-weight:500;line-height:1.35}
#apl .pgh+.pgs+.wrap,#apl .pgs+.wrap{margin-top:0}
/* Отметить оплату / старые оплаты */
.aptop{display:flex;justify-content:flex-end;margin:-4px 0 10px}
td.rbtn,th.rbtn{width:1%;white-space:nowrap;text-align:right}
button.sm{height:32px;padding:0 14px;font-size:13px;border-radius:10px}
@media (max-width:760px){.aptop{justify-content:stretch}.aptop button{flex:1;justify-content:center}td.rbtn{display:block;width:auto;text-align:left;padding-top:6px!important}td.rbtn::before{display:none!important}td.rbtn button{width:100%}td.rbtn:has(button+button){display:flex;gap:8px;white-space:normal}td.rbtn:has(button+button) button{flex:1 1 0;width:auto;min-width:0}}
@media (max-width:760px){
  .wrap .tbl tr.row[data-amt]:has(td.rbtn){grid-template-areas:"ctr ctr amt" "obj obj rest" "dsc dsc dsc" "dt pr st" "btn btn btn"!important}
  .wrap .tbl tr.row[data-amt] td.rbtn{display:block!important;grid-area:btn;padding:6px 0 0!important;border:0!important}
  .wrap .tbl tr.row[data-amt] td.rbtn button{width:100%;height:38px}
  .wrap .tbl tr.row[data-amt] td.rbtn:has(button+button){display:flex!important;gap:8px;white-space:normal}
  .wrap .tbl tr.row[data-amt] td.rbtn:has(button+button) button{flex:1 1 0;width:auto;min-width:0}
}
/* шестерёнка «Как к вам обращаться» у приветствия */
.greetb{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-left:8px;vertical-align:middle;border-radius:9px;border:1px solid var(--g-line,rgba(255,255,255,.12));background:rgba(255,255,255,.04);color:var(--mute);cursor:pointer;padding:0;opacity:.75}
.greetb:hover{opacity:1;color:var(--acc,#d9b76a)}.greetb svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
/* приветствие: текст обрезается многоточием, шестерёнка всегда видна */
h1.hgreet{display:flex;align-items:center;min-width:0;max-width:100%}
h1.hgreet .hit{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
h1.hgreet .greetb{flex:none}
/* экраны с кнопками в строке («Старые оплаты», «Отметить оплату»): таблица по ширине экрана, кнопки всегда видны */
@media (min-width:761px){
  .wrap.fitw .xclip{width:100%}
  .wrap.fitw .tbl{width:100%;table-layout:auto}
  .wrap.fitw .tbl td.c-descr,.wrap.fitw .tbl td.c-object{white-space:normal;min-width:120px}
  .wrap.fitw .tbl td.c-contractor{white-space:normal;min-width:160px}
  .wrap.fitw .tbl .rz{display:none}
}
/* «Список счетов» — страница по ссылке */
.lsl{display:flex;flex-direction:column}
.lsr{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;background:none!important;border:0!important;border-bottom:1px solid var(--line2)!important;border-radius:0!important;padding:12px 16px;height:auto;min-height:0;color:var(--ink)!important;cursor:pointer}
.lsr:hover{background:rgba(255,255,255,.03)!important}
.lsr .n{color:var(--mute);font-variant-numeric:tabular-nums}
.lsr .t,.lsr .a{display:flex;flex-direction:column;gap:3px;min-width:0}.lsr .a{text-align:right}
.lsr .t b{overflow-wrap:anywhere}.lsr small{color:var(--mute);font-size:12.5px;font-weight:400}
.lst{display:flex;justify-content:space-between;padding:14px 16px;font-size:15px}.lst b{font-size:17px}
@media (max-width:760px){.lsr{grid-template-columns:24px minmax(0,1fr);padding:12px}.lsr .a{grid-column:2;text-align:left;flex-direction:row;gap:8px;align-items:baseline}}
/* «Скопировать ссылку» рядом с крестиком карточки */
#dshare{margin-right:8px;flex:none}
@media (max-width:760px){.ih #dshare{position:absolute;top:14px;right:60px;margin:0}}
/* Заявки: по объектам */
.mrobj{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.mrobj button{height:34px;min-height:0;padding:0 14px;border-radius:999px;font-size:13px}
.mrobj button.on{background:rgba(255,255,255,.14)!important;border-color:transparent!important;color:var(--ink)!important}
.mrobj .n{opacity:.6;margin-left:4px;font-variant-numeric:tabular-nums}
.tbl tr.ogh td{background:rgba(255,255,255,.035);padding:10px 14px!important;font-size:13.5px;border-bottom:1px solid var(--line2)}
@media (max-width:760px){.tbl tr.ogh{display:block;padding:12px 4px 4px;background:none}.tbl tr.ogh td{display:block;background:none;padding:0!important;border:0;font-size:15px;text-align:left!important;justify-content:flex-start!important}.tbl tr.ogh td::before{display:none!important}.mrobj{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.mrobj button{flex:none}}
/* Заявки для снабжения: «Мой день», позиции в строке, сводная закупка */
.mrday{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
.mrday button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;height:auto;min-height:0;padding:12px 14px;border-radius:14px;text-align:left}
.mrday button b{font-size:22px;line-height:1.1}.mrday button span{font-size:12.5px;color:var(--mute)}
.mrday .bad b{color:#FF7A6B}.mrday .warn b{color:#F2C14E}.mrday .vio b{color:#9bfffc}
.mrday button.on{border-color:transparent!important;background:rgba(255,255,255,.14)!important}
.mrday .clr{grid-column:1/-1;justify-self:start;padding:6px 12px;flex-direction:row}
.mrbar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding:0;background:none;border:0}
.mrbar button{display:inline-flex;align-items:center;gap:6px}
.mrexp{display:block;margin-top:6px;height:auto;min-height:0;padding:3px 8px;font-size:11.5px;border-radius:8px}
.tbl tr.mrsub td{background:rgba(255,255,255,.03);padding:10px 14px!important}
.mrsl{display:flex;flex-direction:column;gap:4px}
.mrsi{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:6px 4px;border-bottom:1px solid var(--line2);cursor:pointer;white-space:normal}
.mrsi .q{color:var(--ink2);white-space:nowrap}
.mrsa{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}.mrsa button{height:34px;min-height:0;padding:0 12px}
.mrpl{max-height:55vh;overflow:auto;display:flex;flex-direction:column;gap:2px}
.mrpo{padding:10px 0 4px;font-size:14px}
.mrpi{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:6px 0;border-bottom:1px solid var(--line2)}
.mrpi .sub{grid-column:1/-1;font-size:12px}.mrpi .q{white-space:nowrap;color:var(--ink2)}
@media (max-width:760px){.mrday{grid-template-columns:repeat(2,minmax(0,1fr))}.tbl tr.mrsub td::before{display:none!important}.tbl td.ck:empty{display:none}}
.tbl tr.mrsub td{text-align:left!important}
.mrsub .chk{position:static!important;margin:0!important;transform:none!important}
.mrsi{grid-template-columns:auto minmax(0,1fr) auto 96px}
@media (min-width:761px){.mrsl,.mrsa{max-width:calc(100vw - 360px);position:sticky;left:14px}}
@media (max-width:760px){
  .tbl tr.mrsub{display:block!important;position:static!important;padding:6px 10px 12px!important;background:rgba(255,255,255,.03)}
  .tbl tr.mrsub td{display:block!important;padding:0!important;position:static!important}
  .mrsi{grid-template-columns:auto minmax(0,1fr) auto;font-size:13.5px}.mrsi .tag{grid-column:2/4;justify-self:start}
}
/* История оплат */
.phseg{display:flex;margin:0 0 12px;max-width:440px;padding:4px;gap:4px;border-radius:14px;background:rgba(14,16,16,.55);border:1px solid var(--g-line)}
.phseg button{flex:1;min-height:0;height:38px;padding:0 10px;border-radius:10px;white-space:nowrap;font-size:14px;font-weight:600;background:transparent!important;border:0!important;color:var(--ink2)!important;box-shadow:none!important}
.phseg button.on{background:rgba(217,183,106,.16)!important;color:#F3DC9C!important}
.phchips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.phchips .chip{height:34px;padding:0 12px}
.hrow.phr{margin-top:0;display:flex;align-items:center}
@media (max-width:600px){.phseg button{font-size:13px;padding:0 6px}}
.phday{display:flex;justify-content:space-between;gap:10px;align-items:baseline;flex-wrap:wrap}
.phday b{color:var(--ink);font-weight:650;letter-spacing:0;text-transform:none}
.phday span:last-child{text-transform:none;letter-spacing:0;font-size:12.5px}
.phempty{padding:18px 10px}
.pha{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:3px;text-align:right;max-width:46%}
.pha b{font-size:14px;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}
.pha small{font-size:11.5px;color:var(--mute);white-space:nowrap}
.phs{font-size:11.5px;font-weight:600;padding:2px 8px;border-radius:7px;white-space:nowrap}
.phs.ok{color:#7FD6A8;background:rgba(127,214,168,.12)}
.phs.wait{color:#E8CC88;background:rgba(217,183,106,.14)}
.phs.no{color:#FF8A7E;background:rgba(255,107,94,.12)}
.phm{color:var(--mute)}
@media (max-width:600px){.hrow.phr{padding:11px 12px;gap:10px}.phs{font-size:11px;padding:2px 6px}}
.phchips .chip svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.9}
.phpick{display:flex;gap:10px;flex-wrap:wrap;margin:-4px 0 12px}
.phpick[hidden]{display:none}
.phpick label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink2)}
.phpick input{height:38px;min-height:0;padding:0 10px;border-radius:10px;width:auto}
.phtot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 16px;margin:4px 0 4px;border-radius:12px;background:rgba(217,183,106,.08);border:1px solid rgba(217,183,106,.25);font-size:13.5px}
.phtot b{font-size:15px}
/* ── Почта ── */
.mlwrap{display:grid;grid-template-columns:200px minmax(280px,380px) minmax(0,1fr);gap:14px;height:calc(100vh - 150px);min-height:480px}
.mlside,.mllist,.mlread{min-width:0;min-height:0}
.mlside{display:flex;flex-direction:column;gap:10px}
.mlnew{width:100%;justify-content:center}
.mlf{display:flex;flex-direction:column;gap:2px;overflow:auto}
.mlf a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;color:var(--ink2);text-decoration:none;font-size:14px}
.mlf a svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;flex:none}
.mlf a span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mlf a b{font-size:12px;color:#F3DC9C}
.mlf a:hover{background:rgba(255,255,255,.05)}
.mlf a.on{background:rgba(217,183,106,.14);color:#F3DC9C}
.mlacct{margin-top:auto;font-size:12px;color:var(--mute);display:flex;flex-direction:column;gap:3px;padding:8px 10px;word-break:break-all}
.mlacct a{color:var(--mute)}
.mllist{display:flex;flex-direction:column;background:rgba(14,16,16,.45);border:1px solid var(--g-line);border-radius:16px;overflow:hidden}
.mlbar{display:flex;gap:8px;align-items:center;padding:10px;border-bottom:1px solid var(--g-line2)}
.mlbar .rsearch{flex:1;margin:0}
.mlfs{display:none}
.mll{overflow:auto;flex:1}
.mlr{display:flex;gap:8px;padding:10px 12px 10px 8px;border-bottom:1px solid var(--g-line2);cursor:pointer}
.mlr:hover{background:rgba(255,255,255,.04)}
.mlr.on{background:rgba(217,183,106,.10)}
.mldot{flex:none;width:7px;height:7px;border-radius:50%;margin-top:7px;background:transparent}
.mlr.new .mldot{background:#E8CC88}
.mlrm{flex:1;min-width:0}
.mlr1{display:flex;gap:8px;align-items:baseline}
.mlr1 b{flex:1;min-width:0;font-size:13.5px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink2)}
.mlr.new .mlr1 b{font-weight:700;color:var(--ink)}
.mlr1 time{flex:none;font-size:11.5px;color:var(--mute)}
.mlr2{display:flex;gap:5px;align-items:center;font-size:13px;color:var(--mute);margin-top:2px}
.mlr2 span:not(.mlic){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mlr.new .mlr2 span{color:var(--ink2)}
.mlic svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:1.9;display:block}
.mlic.st{color:#E8CC88}.mlic.st svg{fill:currentColor}
.mlmore{margin:10px auto;display:block}
.mlfound{padding:8px 12px}
.mlread{overflow:auto;background:rgba(14,16,16,.45);border:1px solid var(--g-line);border-radius:16px;padding:14px 18px}
.mlempty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--mute)}
.mlempty svg{stroke:currentColor;fill:none;stroke-width:1.4;opacity:.6}
.mlrh{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.mlback{display:none}
.mlacts{display:flex;gap:6px;flex-wrap:wrap;align-items:center;width:100%}
.mlacts button{display:inline-flex;align-items:center;gap:6px;min-height:0;height:34px;padding:0 12px;font-size:13px}
.mlacts button svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.9}
.mlacts .fic{padding:0;width:34px;justify-content:center}
.mlacts #mstar{margin-left:auto}
.mlacts #mstar.on{color:#E8CC88}.mlacts #mstar.on svg{fill:currentColor}
.mlsubj{margin:6px 0 8px;font-size:19px;line-height:1.3;word-break:break-word}
.mlhdr{display:flex;flex-direction:column;gap:2px;font-size:13.5px;padding-bottom:10px;border-bottom:1px solid var(--g-line2);margin-bottom:10px;word-break:break-word}
.mlatts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.mlattw{display:flex;align-items:stretch;border:1px solid var(--g-line);border-radius:10px;overflow:hidden;max-width:100%}
.mlatt{display:flex;align-items:center;gap:8px;padding:7px 10px;text-decoration:none;color:var(--ink);min-width:0}
.mlatt svg,.mlattdl svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;flex:none}
.mlatt span{display:flex;flex-direction:column;min-width:0}
.mlatt b{font-size:13px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}
.mlatt small{font-size:11px;color:var(--mute)}
.mlattdl{display:flex;align-items:center;padding:0 10px;border-left:1px solid var(--g-line);color:var(--ink2)}
.mlatt:hover,.mlattdl:hover{background:rgba(255,255,255,.05)}
.mlimgs{font-size:12.5px;color:var(--mute);margin-bottom:8px}
.mlbody iframe{width:100%;border:0;border-radius:10px;background:#fff;display:block;min-height:120px}
.mltext{white-space:pre-wrap;word-break:break-word;font-size:14px;line-height:1.55}
.mltext a{color:#E8CC88}
.mlthh{margin:18px 2px 8px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink2);font-weight:600}
.mlthr{display:flex;gap:10px;align-items:baseline;padding:9px 14px;border-top:1px solid var(--g-line2);cursor:pointer;font-size:13px}
.mlthr:first-child{border-top:0}
.mlthr:hover{background:rgba(255,255,255,.04)}
.mlthr.on{background:rgba(217,183,106,.10)}
.mlthr.out .mlthd{color:#9ECBF0}
.mlthd{flex:none;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.mlths{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--mute)}
.mlthr time{flex:none;font-size:11.5px;color:var(--mute)}
.mlc textarea{width:100%;min-height:220px;font:inherit;line-height:1.5}
.mlc .lnk{display:inline-block;margin:-4px 0 8px;font-size:13px}
.mlcf{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 8px}
.mlcfb{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-size:13px;color:var(--ink2);padding:6px 10px;border:1px dashed var(--g-line);border-radius:10px}
.mlcfb svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.9}
.mlcfl{display:flex;flex-wrap:wrap;gap:6px}
.mlcfi{font-size:12px;padding:4px 8px;border-radius:8px;background:rgba(255,255,255,.06)}
.mlcfi a{margin-left:6px;color:#FF8A7E;text-decoration:none}
.mlsetup{max-width:560px;padding:22px 24px}
.mlsetup h2{margin:6px 0 6px}
.mlsi svg{width:34px;height:34px;stroke:#E8CC88;fill:none;stroke-width:1.5}
.mlsteps{padding-left:20px;margin:12px 0 16px;display:flex;flex-direction:column;gap:8px;font-size:13.5px;line-height:1.5}
.mlsteps a{color:#E8CC88}
@media (max-width:1100px){.mlwrap{grid-template-columns:minmax(260px,340px) minmax(0,1fr)}.mlside{display:none}.mlfs{display:block;max-width:130px;height:38px;min-height:0;padding:0 8px;border-radius:10px}}
@media (max-width:760px){
  .mlwrap{display:block;height:auto;min-height:0}
  .mllist{border-radius:14px}
  .mll{overflow:visible}
  .mlread{display:none;padding:10px 12px}
  .mlwrap.reading .mllist{display:none}
  .mlwrap.reading .mlread{display:block}
  .mlback{display:inline-flex;flex:none}
  .mlacts button span{display:none}
  .mlacts button{padding:0;width:36px;justify-content:center}
  .mlsubj{font-size:17px}
}
.mlnew2{display:none}
@media (max-width:1100px){.mlnew2{display:inline-flex}}
.mlwrap svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.9;flex:none}
.mlnew{display:inline-flex;align-items:center;gap:8px;height:40px;min-height:0;padding:0 14px;font-size:14px}
.mlnew svg{width:16px;height:16px}
.mlwrap .fic{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;min-height:0;padding:0;flex:none}
.mlempty svg{width:40px;height:40px}
.mlwrap .mlback,.mlwrap .mlnew2{display:none}
@media (max-width:1100px){.mlwrap .mlnew2{display:inline-flex}}
@media (max-width:760px){.mlwrap .mlback{display:inline-flex}.mlbar .rsearch input{min-width:0}}
/* Леруа: шаги заявки */
.lmsteps{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 10px}
.lmsteps span{font-size:11.5px;padding:3px 8px;border-radius:7px;background:rgba(255,255,255,.05);color:var(--mute);white-space:nowrap}
.lmsteps span.done{color:#7FD6A8;background:rgba(127,214,168,.10)}
.lmsteps span.cur{color:#F3DC9C;background:rgba(217,183,106,.18);font-weight:650}
/* переключатель режима админа */
.wmode{display:flex;gap:3px;padding:3px;margin:0 0 10px;border-radius:11px;background:rgba(14,16,16,.55);border:1px solid var(--g-line)}
.wmode button{flex:1;min-height:0;height:32px;padding:0 8px;font-size:13px;font-weight:600;border-radius:8px;background:transparent!important;border:0!important;color:var(--ink2)!important;box-shadow:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wmode button.on{background:rgba(217,183,106,.18)!important;color:#F3DC9C!important}
/* переключатели вверху меню (22.10): режим работы и тестовый режим материалов */
.side .sbsearch+.wmode,.side .wmode+.wmode{margin:0 0 8px}
.wmode.tmode .tml{flex:1.2;display:flex;align-items:center;padding:0 8px;font-size:12px;color:var(--ink2);white-space:nowrap}
.wmode.tmode button.on{background:rgba(106,255,250,.22)!important;color:#c2fffd!important}
/* Сводная закупка — чек-лист */
.mbtop{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.mbtop label{display:flex;align-items:center;gap:6px;cursor:pointer}
.mbchips{flex-wrap:wrap!important}
.mbsum{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:4px 2px 10px;font-size:14px}
.mbsum>span{color:var(--ink2)}
.mbl{padding:0;overflow:hidden}
.mbg{border-top:1px solid var(--g-line2)}.mbg:first-child{border-top:0}
.mbh{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 14px;background:rgba(255,255,255,.035);font-size:12.5px;color:var(--ink2)}
.mbh .mono{font-weight:650;color:#F3DC9C;text-decoration:none}
.mball{min-height:0;height:28px;padding:0 10px;font-size:12px}
.mbi{display:flex;align-items:center;gap:12px;padding:9px 14px;border-top:1px solid var(--g-line2)}
.mbc{flex:none;width:26px;height:26px;min-height:0;padding:0;border-radius:50%;border:2px solid rgba(255,255,255,.28)!important;background:transparent!important;display:grid;place-items:center;color:#0d0f10}
.mbc svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:3}
.mbc:hover{border-color:#7FD6A8!important}
.mbi.st-bought .mbc,.mbi.st-replace .mbc{background:#7FD6A8!important;border-color:#7FD6A8!important}
.mbi.st-no .mbc{background:#FF8A7E!important;border-color:#FF8A7E!important}
.mbn{flex:1;min-width:0;font-size:14px;line-height:1.35}
.mbn b{font-weight:550;word-break:break-word}
.mbi.st-bought .mbn b,.mbi.st-no .mbn b,.mbi.st-replace .mbn b{color:var(--mute);text-decoration:line-through}
.mbq{flex:none;font-size:13.5px;color:var(--ink2);white-space:nowrap;min-width:60px;text-align:right}
.mba{flex:none;display:flex;align-items:center;gap:6px}
.mbs{font-size:11.5px;color:var(--mute)}
.mbi.st-ordered .mbs{color:#9ECBF0}
.mbo{min-height:0;height:28px;padding:0 10px;font-size:12px;border-radius:8px}
.mbo.on{color:#9ECBF0!important;border-color:rgba(158,203,240,.5)!important}
.mbm{min-height:0;height:28px;width:30px;padding:0;font-size:16px;border-radius:8px}
@media (max-width:600px){.mbi{flex-wrap:wrap;gap:8px 10px;padding:10px 12px}.mbn{flex:1 1 calc(100% - 120px)}.mbq{min-width:0}.mba{width:100%;justify-content:flex-end;padding-left:36px}.mbi .mbs{margin-right:auto}}
.mbl .mbi .mbn b{font-size:14px!important;font-weight:550!important;color:var(--ink)!important;font-family:inherit!important;letter-spacing:0!important;line-height:1.35!important}
.mbl .mbi.st-bought .mbn b,.mbl .mbi.st-no .mbn b,.mbl .mbi.st-replace .mbn b{color:var(--mute)!important}
.mbx{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 14px 10px 52px;font-size:13px;border-top:1px solid var(--g-line2);background:rgba(255,255,255,.02)}
.mbcart{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:9px;background:rgba(217,183,106,.16);color:#F3DC9C;font-weight:650;text-decoration:none}
.mbcart:hover{background:rgba(217,183,106,.26)}
.mbct{color:var(--ink2);word-break:break-word}.mbct a{color:#E8CC88}
@media (max-width:600px){.mbx{padding-left:14px}}
.mbi.selm{cursor:pointer}
.mbi.sel{background:rgba(217,183,106,.10)}
.mbsel{flex:none;width:24px;height:24px;border-radius:7px;border:2px solid rgba(255,255,255,.3);display:grid;place-items:center;color:#0d0f10}
.mbi.sel .mbsel{background:#E8CC88;border-color:#E8CC88}
.mbsel svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:3}
.mbbar{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;gap:12px;margin-top:12px;padding:10px 14px;border-radius:14px;background:rgba(20,22,22,.92);border:1px solid rgba(217,183,106,.4);box-shadow:0 8px 30px rgba(0,0,0,.4);backdrop-filter:blur(8px)}
.mbtext{width:100%;font:14px/1.5 inherit;font-family:inherit}
.mbchk{display:flex;align-items:center;gap:8px;font-size:13.5px;cursor:pointer}
/* форма счёта: категории и разделы — переносом на новые строки, а не обрезкой */
.chips.mc{flex-wrap:wrap!important;overflow:visible!important}
/* загрузка файлов: прогресс поверх экрана (21.10.2026) */
.upov{position:fixed;inset:0;z-index:9000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(16,17,30,.42);backdrop-filter:blur(3px)}
.upov[hidden]{display:none!important}
.upbox{width:min(360px,100%);display:flex;flex-direction:column;gap:10px;padding:18px 20px;border-radius:18px;background:var(--card,#171821);color:var(--ink,#fff);border:1px solid var(--line,rgba(255,255,255,.12));box-shadow:0 24px 60px -20px rgba(0,0,0,.6)}
.upbar{height:8px;border-radius:99px;background:var(--line,rgba(255,255,255,.12));overflow:hidden}
.upbar i{display:block;height:100%;width:0;border-radius:99px;background:var(--acc,#5bd6d2);transition:width .25s var(--ease,ease)}
.upbox .ups{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* материалы: позиции счёта и справочник (21.10.2026) */
.itbox{margin-top:14px;display:flex;flex-direction:column;gap:8px}
.ith{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.ith .sub{font-weight:600}
.itnone{margin-top:12px}
.itt td,.itt th{font-size:12.5px;padding:7px 10px}
.itt td.itn{white-space:normal;min-width:200px}
.itt td.itr{white-space:normal;min-width:150px}
.itt tr.it-svc td{opacity:.6}
.itm{min-width:30px;height:28px;padding:0 8px;border-radius:8px;font-size:16px;line-height:1}
.itacts{margin:2px 0 0;flex-wrap:wrap}
.mpl{margin-top:8px;max-height:320px;overflow:auto;display:flex;flex-direction:column;gap:6px}
.mpi{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;width:100%;padding:9px 12px;border-radius:10px}
.mpi.on{outline:2px solid var(--acc,#5bd6d2);outline-offset:0}
.murs{display:flex;flex-direction:column;gap:6px}
.mur{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mur input{width:110px}
.mur .mub{min-width:40px}
.mtools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.mtools input{flex:1 1 260px;min-width:0}
.itacts button,.mtools button{display:inline-flex;align-items:center;gap:7px}
.itacts button svg,.mtools button svg{width:16px;height:16px;flex:none;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
/* ═══ 22.10 поздно — КАРТОЧКА СЧЁТА, ВЕРСИЯ 3 (одобрена Никитой: «уже красавчик»). Палитра референсов airwork / Bedalizza:
   фон серо-лавандовый градиент + точки и кольца, окно плоский графит #33353E на глубокой тени, БЕЗ цветной кнопки (главная — светлая),
   синий только у неоновой линии стадий и кнопки отправки в чате. Шрифты меньше. Всё под html.ui2 — пока только админам. ═══ */
.ui2 .drawer:has(.pane.inv2){background:#8E8FA3;background-image:radial-gradient(1200px 700px at 10% -10%,#B2B3C4 0%,rgba(178,179,196,0) 60%),linear-gradient(160deg,#A3A4B6 0%,#8A8B9F 50%,#696A7E 100%);backdrop-filter:none}
.ui2 .drawer:has(.pane.inv2)::before,.ui2 .drawer:has(.pane.inv2)::after{content:"";position:absolute;pointer-events:none}
.ui2 .drawer:has(.pane.inv2)::before{left:26px;top:22px;width:120px;height:70px;background-image:radial-gradient(circle,rgba(40,42,60,.28) 1.6px,transparent 2px);background-size:18px 18px}
.ui2 .drawer:has(.pane.inv2)::after{right:-60px;top:-70px;width:150px;height:150px;border-radius:50%;border:16px solid rgba(255,255,255,.10)}
.ui2 .drawer .pane.inv2{background:#33353E!important;color:#C6C8D1;border-radius:26px;box-shadow:0 80px 120px -40px rgba(20,22,40,.7),0 30px 50px -30px rgba(20,22,40,.55)!important;font-size:13px}
.inv2 .i2h{padding:28px 32px 6px}
.inv2 .lbl{font-size:10.5px;letter-spacing:.08em;color:#74768A}
.inv2 .i2h h2{font-size:20px;margin:7px 0 5px;color:#F3F3F6}
.inv2 .i2h .meta{font-size:12.5px;color:#9C9EAB}.inv2 .i2h .meta i{background:#5A5C68}
.inv2 .i2s .amt{font-size:26px;color:#F3F3F6}.inv2 .i2s .vat{font-size:11.5px;color:#74768A}
.inv2 .i2s .tag,.inv2 .i2s .sx,.inv2 .i2s .tag.t-ok,.inv2 .i2s .s-unpaid{background:#3F414C!important;color:#C6C8D1!important;font-size:11.5px;font-weight:500;height:26px;display:inline-flex;align-items:center;gap:7px;padding:0 11px}
.inv2 .i2s .tag::before,.inv2 .i2s .sx::before{content:"";width:6px;height:6px;border-radius:50%;background:#63fffa;box-shadow:0 0 8px rgba(99,255,250,.9)}
.inv2 .i2s .tag.t-ok::before{background:#5BD0A0;box-shadow:none}.inv2 .i2s .s-unpaid::before{background:#F58E85;box-shadow:none}
.inv2 .i2stage{padding:6px 32px 14px}
.inv2 .i2wire{display:block;width:100%;max-width:560px;height:22px;flex:1}
.inv2 .i2wire .rest{stroke:#4A4C58;stroke-width:1;fill:none}
.inv2 .i2wire .wire{stroke:url(#i2neon);stroke-width:2;fill:none;stroke-linecap:round;filter:url(#i2glow);stroke-dasharray:1;stroke-dashoffset:1;animation:i2draw 1.6s var(--ease) .15s forwards}
.inv2 .i2wire .wire2{stroke:url(#i2neon);stroke-width:1;fill:none;stroke-linecap:round;opacity:.9;stroke-dasharray:1;stroke-dashoffset:1;animation:i2draw 1.6s var(--ease) .15s forwards}
@keyframes i2draw{to{stroke-dashoffset:0}}
.inv2 .i2wire .d{fill:#A9B7FF}.inv2 .i2wire .d.todo{fill:#4E505C}
.inv2 .i2wire .d.now{fill:#fff;filter:url(#i2glow);animation:i2beat 2.2s ease-in-out infinite}
.inv2 .i2wire .d.rej{fill:#F58E85}.inv2 .i2wire .d.fx{fill:#FFCC7A}
@keyframes i2beat{0%,100%{r:3.4}50%{r:4.4}}
.inv2 .i2lbls{font-size:11px;color:#74768A}.inv2 .i2lbls .cur{color:#F3F3F6}
.inv2 .il{padding:10px 32px 26px;gap:14px}
.inv2 .i2now{background:#3A3C46;border-radius:18px;padding:16px 18px;box-shadow:0 20px 40px -24px rgba(0,0,0,.55)}
.inv2 .i2now .tx b{font-size:14px;color:#F3F3F6}.inv2 .i2now .tx span{font-size:12px;color:#9C9EAB}
.inv2 .i2now>button,.inv2 .i2mb,.inv2 .i2sp .stgb button,.inv2 .ir button{border-radius:12px;height:40px;font-size:13px;font-weight:500!important;transition:transform .15s var(--ease),background .15s,box-shadow .15s}
.inv2 .i2now>button:hover,.inv2 .i2mb:hover{transform:translateY(-1px)}.inv2 .i2now>button:active{transform:scale(.98)}
.inv2 button.pri{background:#ECEDF2!important;color:#1F2129!important;box-shadow:0 14px 30px -12px rgba(0,0,0,.6)!important;font-weight:500!important;border:0!important}
.inv2 button.pri:hover{background:#fff!important}
.inv2 .i2now>button.danger{background:#454754!important;color:#FFA59C!important;border:0!important;box-shadow:none!important}
.inv2 .i2mb{background:rgba(255,255,255,.06)!important;color:#E6E8EF!important}.inv2 .i2mb:hover{background:rgba(255,255,255,.1)!important}
.inv2 .i2menu{background:rgba(44,46,56,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:14px;box-shadow:0 30px 60px -20px rgba(0,0,0,.7);animation:i2drop .16s var(--ease)}
@keyframes i2drop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.inv2 .i2menu button{font-size:12.5px;color:#E6E8EF!important;height:auto;border-radius:9px}.inv2 .i2menu button:hover{background:rgba(255,255,255,.07)!important}.inv2 .i2menu button.danger{color:#FF8F86!important}
.inv2 .i2facts{grid-template-columns:repeat(4,minmax(0,1fr));padding:2px 4px}
.inv2 .f2{font-size:12.5px}.inv2 .f2>span:last-child{color:#D4D6DE}.inv2 .f2 a{color:#c6fffd}
.inv2 .i2sp{background:#383A44;border-radius:16px;transition:transform .2s var(--ease),background .2s,box-shadow .2s}
.inv2 .i2sp:not([open]):hover{background:#3E404B;transform:translateY(-2px);box-shadow:0 18px 34px -20px rgba(0,0,0,.6)}
.inv2 .i2sp summary{padding:0 16px;height:50px;display:flex;align-items:center;gap:12px}
.inv2 .i2sp summary b{font-size:13px;color:#E6E8EF}.inv2 .i2sp summary .sub{font-size:12px;color:#9C9EAB}.inv2 .i2sp summary .chev{color:#74768A;font-size:14px}
.inv2 .i2sp .stgb{padding:0 14px 14px}
.inv2 .ir{background:#2D2F38;border-radius:0 26px 26px 0;padding:24px 24px 22px}
.inv2 .itabs button{font-size:12.5px;color:#9C9EAB;height:32px;border-radius:9px}.inv2 .itabs button.on{background:rgba(255,255,255,.07);color:#F3F3F6}.inv2 .itabs button .n{color:#74768A}
.inv2 .ir .chatl{background:transparent!important}
.inv2 .ir .cin input{background:#383A44!important;border-radius:12px;height:42px;font-size:12.5px;color:#F3F3F6}.inv2 .ir .cin input::placeholder{color:#74768A}
.inv2 .ir .cin button.pri{background:#2F55FF!important;color:#fff!important;box-shadow:0 10px 24px -8px rgba(47,85,255,.8)!important;height:42px}
.inv2 .note{border-radius:14px;border:0}
@media (max-width:760px){.inv2 .i2facts{grid-template-columns:repeat(2,minmax(0,1fr))}.ui2 .drawer:has(.pane.inv2)::before,.ui2 .drawer:has(.pane.inv2)::after{display:none}.ui2 .drawer .pane.inv2{border-radius:22px 22px 0 0}}
.inv2 .ix{background:rgba(255,255,255,.06)!important;border:0!important;box-shadow:none!important;color:#C6C8D1;border-radius:12px}.inv2 .ix:hover{background:rgba(255,255,255,.1)!important}
.inv2 .itabs button{border:0!important;box-shadow:none!important;background:transparent;padding:0 12px}.inv2 .itabs button.on::after{display:none}
.inv2 .i2sp summary .sub b,.inv2 .i2sp summary .sub span,.inv2 .i2sp summary .sub .acc-t{color:#D4D6DE!important;font-weight:500}
.inv2 .chips0 .tag,.inv2 .chips0 .sx{border:0!important}
/* содержимое спойлеров карточки (позиции, доставка, маршрут) — в тон версии 3 */
.inv2 .i2sp .itbox{margin-top:0;gap:10px}.inv2 .i2sp .itbox>.ith{display:none}
.inv2 .i2sp .note{background:#3A3C46;color:#C6C8D1;font-size:12.5px;padding:10px 14px;border-radius:12px;border:0}
.inv2 .i2sp .note.warn-n{background:rgba(255,170,80,.10);color:#FFB45C}.inv2 .i2sp .note.ok-n{background:rgba(91,208,160,.10);color:#93DDB9}
.inv2 .i2sp .note a,.inv2 .i2sp .note a b{color:#c6fffd}
.inv2 .i2sp .xclip{overflow-x:auto;border-radius:12px}
.inv2 .i2sp .tbl th{border-bottom:1px solid rgba(255,255,255,.05);height:34px;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:#74768A;font-weight:500;position:static;padding:0 10px}
.inv2 .i2sp .tbl td{padding:9px 10px;border-bottom:1px solid rgba(255,255,255,.04);font-size:12.5px;color:#D4D6DE;white-space:normal}
.inv2 .i2sp .tbl td.num{font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.inv2 .i2sp .tbl td.sub,.inv2 .i2sp .tbl .sub{color:#9C9EAB;font-weight:400}.inv2 .i2sp .tbl .mono{color:#74768A;font-size:11px}
.inv2 .i2sp .tbl tbody tr:last-child td{border-bottom:0}.inv2 .i2sp .tbl tr:hover td{background:rgba(255,255,255,.025)}
.inv2 .i2sp .lnk,.inv2 .i2sp a.lnk,.inv2 .i2sp a{color:#c6fffd;font-weight:500}.inv2 .i2sp .lnk.bad-t{color:#FFA59C}
.inv2 .i2sp .tag{background:#3F414C;color:#C6C8D1;border:0;border-radius:999px;height:22px;font-size:11px;padding:0 9px;font-weight:500}
.inv2 .i2sp .tag.t-ok{background:rgba(91,208,160,.14);color:#93DDB9}.inv2 .i2sp .tag.t-warn{background:rgba(255,170,80,.14);color:#FFB45C}.inv2 .i2sp .tag.t-bad{background:rgba(245,142,133,.14);color:#FFA59C}
.inv2 .i2sp .stgb .acts button,.inv2 .i2sp .stgb .itacts button,.inv2 .i2sp .stgb .tzckh button,.inv2 .i2sp .stgb .dlvcard button{height:34px;border-radius:10px;font-size:12.5px;padding:0 13px;background:rgba(255,255,255,.06)!important;color:#E6E8EF!important;border:0!important;box-shadow:none!important}
.inv2 .i2sp .stgb .acts button.pri,.inv2 .i2sp .stgb .itacts button.pri,.inv2 .i2sp .stgb .dlvcard button.pri{background:#ECEDF2!important;color:#1F2129!important}
.inv2 .i2sp .stgb button.itm{background:transparent!important;color:#9C9EAB!important;height:28px;padding:0 6px}
.inv2 .i2sp .cmpr{border-top:1px solid rgba(255,255,255,.04);font-size:12.5px}
.inv2 .i2sp .dli{border:0;background:#33353E;border-radius:12px}
.inv2 .i2sp .mrtab .tzckh b{font-size:13px;color:#E6E8EF}
.inv2 .i2sp .frow label,.inv2 .i2sp label{color:#9C9EAB;font-size:11px}
.inv2 .i2sp input,.inv2 .i2sp select,.inv2 .i2sp textarea{background:#33353E!important;border:0!important;border-radius:10px;color:#F3F3F6;font-size:12.5px}
.inv2 .i2sp .tbl thead,.inv2 .i2sp .tbl th{background:transparent!important}
.inv2 .i2sp .mrtab{border:0!important;background:transparent!important;padding:2px 2px 0;box-shadow:none!important}
/* телефон (≤760): шапка в два ряда (крестик не налезает на сумму), «Сейчас» — текст во всю ширину, кнопки под ним */
@media (max-width:760px){
.inv2 .i2h{grid-template-columns:minmax(0,1fr) 36px;grid-template-rows:auto auto;padding:20px 18px 4px;}
.inv2 .i2h>.t{grid-row:1}

.inv2 .i2h>.i2s{grid-row:2;align-items:flex-start;text-align:left;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.inv2 .i2s .amt{font-size:24px}.inv2 .i2s .chips0{flex-basis:100%;justify-content:flex-start}
.inv2 .i2h .meta{display:block;line-height:1.5}.inv2 .i2h .meta i{display:inline-block;margin:0 7px;vertical-align:middle}
.inv2 .i2stage{padding:4px 18px 10px}.inv2 .i2lbls{display:none}.inv2 .i2wire{max-width:none}
.inv2 .il{padding:8px 18px 20px}
.inv2 .i2now{flex-wrap:wrap;padding:14px 16px;gap:10px}
.inv2 .i2now .tx{flex:1 1 100%}
.inv2 .i2now>button,.inv2 .i2more{flex:1 1 auto}.inv2 .i2more .i2mb{width:100%}.inv2 .i2menu{min-width:min(260px,80vw)}
.inv2 .i2facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.inv2 .ib{grid-template-columns:minmax(0,1fr)}
.inv2 .ir{border-radius:0;padding:16px 18px 20px}
.inv2 .i2sp summary{height:auto;min-height:46px;padding:8px 14px;flex-wrap:wrap}.inv2 .i2sp summary .sub{flex-basis:100%;padding-left:30px;white-space:normal}
}
@media (max-width:760px){.inv2 .itabs{flex-wrap:wrap;gap:2px}.inv2 .itabs button{padding:0 8px;font-size:12px}}
/* «Скопировать ссылку» (#dshare, вставляется скриптом перед крестиком) — своя колонка, а не поверх крестика */
.inv2 .i2h{grid-template-columns:minmax(0,1fr) auto auto auto}
.inv2 .i2h>.ix{grid-row:1;grid-column:auto;justify-self:end;position:static;margin:0}
.inv2 .i2h>#dshare{grid-column:3;margin-right:-12px}.inv2 .i2h>#dx{grid-column:4}
@media (max-width:760px){
.inv2 .i2h{grid-template-columns:minmax(0,1fr) 36px 36px;gap:10px 8px}
.inv2 .i2h>.t{grid-column:1}.inv2 .i2h>#dshare{grid-column:2;margin:0}.inv2 .i2h>#dx{grid-column:3}.inv2 .i2h>.i2s{grid-column:1/-1}
.inv2 .i2h>.ix{width:36px;height:36px}
.inv2 .i2now{position:relative}.inv2 .i2more{position:static}
.inv2 .i2menu{left:12px;right:12px;top:calc(100% - 6px);min-width:0;width:auto}
}
/* заглушка «технические работы» + переключатель «Техработы» (красный, когда включён) */
.login.maint .card{text-align:left}.login.maint h2{letter-spacing:-.01em}
.wmode.tmode.maint-on button.on{background:rgba(245,142,133,.2)!important;color:#FFA59C!important}
/* ═══ 23.10 — фон на всех экранах как у страницы с карточкой счёта (Никита: «делай фон везде как на странице с карточкой»). Только html.ui2 (тестовый режим). ═══ */

html.ui2 body{background:transparent!important}
html.ui2 main,html.ui2 .layout,html.ui2 #app,html.ui2 .body{background:transparent!important}
html.ui2 .layout{position:relative;z-index:1}
/* ═══ 23.10 — бар слева и тонкий бар сверху (Никита: «как в прошлый раз»), в цветах карточки счёта: графит, без золота. Только html.ui2. ═══ */
html.ui2 .mtop{display:none!important}
html.ui2 .layout.u2{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}
html.ui2 .layout.u2 .body{min-width:0;display:flex;flex-direction:column}
html.ui2 .layout.u2 main{flex:1}
html.ui2 .u2side{position:sticky;top:0;height:100vh;overflow:auto;background:#2D2F38!important;backdrop-filter:none!important;border:0!important;box-shadow:none!important;padding:0 0 16px!important;display:flex;flex-direction:column;gap:0}
html.ui2 .u2brand{display:flex;align-items:center;gap:10px;height:52px;padding:0 18px;flex:none}
html.ui2 .u2brand .logo{width:28px;height:28px;overflow:hidden;flex:none}
html.ui2 .u2brand .logo img{width:28px;height:28px;display:block}
html.ui2 .u2brand b{font-size:14px;font-weight:600;color:#F3F3F6;white-space:nowrap}
html.ui2 .u2side .wmode{margin:6px 14px 8px;border:0!important;padding:3px}
html.ui2 .u2side .wmode button{color:#9C9EAB!important;font-weight:500;font-size:12px;height:28px;}
html.ui2 .u2side .wmode button.on{color:#F3F3F6!important}
html.ui2 .u2side nav{padding:4px 10px;display:flex;flex-direction:column;gap:1px}
html.ui2 .u2side .nav{height:36px;padding:0 10px;color:#C6C8D1!important;font-size:13px;font-weight:500;gap:11px;background:transparent!important;box-shadow:none!important}
html.ui2 .u2side .nav:hover{color:#F3F3F6!important}
html.ui2 .u2side .nav .ic,html.ui2 .u2side .nav[data-tab] .ic{color:#9C9EAB!important}
html.ui2 .u2side .nav.on{color:#F3F3F6!important;box-shadow:none!important}
html.ui2 .u2side .nav.on::before{display:none!important}
html.ui2 .u2side .nav.on .ic,html.ui2 .u2side .nav[data-tab].on .ic,html.ui2 .u2side .nav.on .cnt{color:#F3F3F6!important}
html.ui2 .u2side .nav .cnt{background:rgba(255,255,255,.07);color:#C6C8D1;font-size:11px;padding:1px 7px}
html.ui2 .u2side .ngrp{color:#74768A!important}
html.ui2 .u2side .nmore-t,html.ui2 .u2side .ncfg{color:#9C9EAB!important;background:transparent!important;border:0!important}
html.ui2 .u2top{position:sticky;top:0;z-index:12;display:flex;align-items:center;gap:8px;height:52px;padding:0 20px;background:rgba(45,47,56,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:#C6C8D1}
html.ui2 .u2ic{width:34px;height:34px;border:0!important;background:transparent!important;color:#9C9EAB;display:grid;place-items:center;cursor:pointer;flex:none;padding:0;box-shadow:none!important;text-decoration:none}

html.ui2 .u2ic svg,html.ui2 .u2search svg,html.ui2 .u2add svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html.ui2 .u2burger{display:none}
html.ui2 .u2search{display:flex;align-items:center;gap:10px;height:34px;width:min(420px,40vw);padding:0 12px;border:0!important;background:rgba(255,255,255,.06)!important;color:#9C9EAB!important;font:inherit;font-size:12.5px;box-shadow:none!important}
html.ui2 .u2search span{flex:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .u2search kbd{font:inherit;font-size:10.5px;color:#74768A;background:rgba(255,255,255,.06);padding:2px 6px;border-radius:6px;border:0}
html.ui2 .u2add{display:inline-flex;align-items:center;gap:7px;height:34px;font-size:12.5px;text-decoration:none;margin-right:4px}

html.ui2 .u2me{position:relative;}
html.ui2 .u2me summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer;height:34px;padding:0 4px 0 10px;}
html.ui2 .u2me summary::-webkit-details-marker{display:none}

html.ui2 .u2me .nm{font-size:12.5px;font-weight:500;color:#F3F3F6;white-space:nowrap}
html.ui2 .u2me .av{width:28px;height:28px;background:#ECEDF2;color:#1F2129;font-size:12px;font-weight:600;display:grid;place-items:center}
html.ui2 .u2menu{position:absolute;right:0;top:42px;width:290px;max-height:75vh;overflow:auto;padding:12px;background:rgba(44,46,56,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 30px 60px -20px rgba(0,0,0,.7);display:flex;flex-direction:column;gap:8px;z-index:40}
html.ui2 .u2mh{color:#74768A;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;padding:4px 2px 0}
html.ui2 .u2menu select{width:100%;height:32px;background:rgba(255,255,255,.06)!important;border:0!important;color:#F3F3F6!important;font-size:12.5px}
html.ui2 .u2menu .online{background:rgba(255,255,255,.04)!important;border:0!important;padding:8px 10px;margin:0}
html.ui2 .u2menu .wmode{background:rgba(255,255,255,.05)!important;border:0!important;padding:3px;margin:0}
html.ui2 .u2menu .wmode button{color:#9C9EAB!important;font-size:12px;height:28px;font-weight:500}
html.ui2 .u2menu .wmode button.on{background:rgba(255,255,255,.1)!important;color:#F3F3F6!important}
html.ui2 .u2menu .wmode.tmode .tml{color:#74768A;font-size:11px}
html.ui2 .u2menu .wmode.tmode.maint-on button.on{background:rgba(245,142,133,.2)!important;color:#FFA59C!important}
html.ui2 .u2menu .side-foot{border-top:1px solid rgba(255,255,255,.06)!important;padding:10px 0 0!important;margin:0!important;background:transparent!important}
html.ui2 .u2menu .sfb{display:flex;gap:6px}
html.ui2 .u2menu .sfb button{flex:1;height:32px;border-radius:9px!important;background:rgba(255,255,255,.06)!important;border:0!important;color:#C6C8D1!important;font-size:12.5px;box-shadow:none!important;display:inline-flex;align-items:center;justify-content:center;gap:6px}
html.ui2 .u2menu .sfb button svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8}
html.ui2 .u2menu .instl{color:#74768A;font-size:11.5px;display:block;margin-top:8px}
@media (max-width:900px){
  html.ui2 .layout.u2{grid-template-columns:minmax(0,1fr)}
  html.ui2 .u2side{position:fixed;left:0;top:0;bottom:0;width:260px;z-index:30;transform:translateX(-100%);transition:transform .25s cubic-bezier(.2,.8,.2,1);height:100dvh}
  html.ui2 .layout.u2.nav-open .u2side{transform:none}
  html.ui2 .layout.u2 .veil{display:none;position:fixed;inset:0;z-index:25;background:rgba(20,22,30,.5)}
  html.ui2 .layout.u2.nav-open .veil{display:block}
  html.ui2 .u2burger{display:grid}
  html.ui2 .u2top{padding:0 10px;gap:4px}
  html.ui2 .u2search span,html.ui2 .u2search kbd,html.ui2 .u2me .nm,html.ui2 .u2add span{display:none}
  html.ui2 .u2add{margin-right:0}
  
}
/* 23.10 — поиск в верхнем баре: настоящее поле, результаты списком под ним (без Ctrl+K) */
html.ui2 .u2search{position:relative;cursor:text}
html.ui2 .u2search input{flex:1;min-width:0;height:100%;background:transparent!important;border:0!important;outline:0;box-shadow:none!important;color:#F3F3F6!important;font:inherit;font-size:12.5px;padding:0!important}
html.ui2 .u2search input::placeholder{color:#9C9EAB}
html.ui2 .u2search input::-webkit-search-cancel-button{filter:invert(.6)}
html.ui2 .u2search:focus-within{background:rgba(255,255,255,.09)!important;box-shadow:0 0 0 1px rgba(255,255,255,.12)!important}
html.ui2 .u2res{position:absolute;left:0;top:40px;width:max(100%,460px);max-height:min(70vh,520px);overflow:auto;padding:8px;background:rgba(44,46,56,.95);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 30px 60px -20px rgba(0,0,0,.75);z-index:50}
html.ui2 .u2res .g{color:#74768A;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;padding:8px 10px 4px}
html.ui2 .u2res button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:8px 10px;border:0!important;background:transparent!important;color:#C6C8D1!important;box-shadow:none!important;cursor:pointer;font:inherit}
html.ui2 .u2res button.on,html.ui2 .u2res button:hover{color:#F3F3F6!important}
html.ui2 .u2res .ic{width:30px;height:30px;background:rgba(255,255,255,.06);display:grid;place-items:center;flex:none}
html.ui2 .u2res .ic svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html.ui2 .u2res .t{min-width:0;display:flex;flex-direction:column;gap:2px}
html.ui2 .u2res .t b{font-weight:500;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .u2res .t small{color:#9C9EAB;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .u2res .z{color:#9C9EAB;font-size:12.5px;padding:12px 10px}
@media (max-width:900px){
  html.ui2 .u2search{width:auto!important;padding:0 10px!important;justify-content:flex-start!important}
  html.ui2 .u2res{position:fixed;left:10px;right:10px;width:auto}
}
@media (max-width:900px){html.ui2 .u2search{flex:1 1 0;min-width:0}html.ui2 .u2top .u2add,html.ui2 .u2top .u2ic,html.ui2 .u2top .u2me{flex:none}html.ui2 .u2top .u2add{width:34px}}
@media (max-width:900px){html.ui2 .u2top .sp{display:none}}
/* 23.10 — верхний бар как на рефе: чат, уведомления, обновить | имя и аватар | выход (с подтверждением) */
html.ui2 .u2div{width:1px;height:20px;background:rgba(255,255,255,.1);margin:0 6px;flex:none}
html.ui2 .u2me{margin-left:0}
@media (min-width:901px){html.ui2 .u2menu .side-foot .sfb{display:none}}
@media (max-width:900px){html.ui2 .u2top .u2div,html.ui2 .u2top [data-ref]{display:none}}   /* «Выйти» — единственная, в верхней полосе: видна и на телефоне */
/* 23.10 — кнопки бара без формы (Никита: «полукруглые — прошлый век, только подсветка при наведении») */
html.ui2 .u2add{background:transparent!important;color:#C6C8D1!important;padding:0 10px;font-weight:500;transition:background .15s,color .15s}
html.ui2 .u2add:hover{color:#F3F3F6!important}
html.ui2 .u2ic,html.ui2 .u2me summary{transition:background .15s,color .15s}
html.ui2 .u2ic:hover,html.ui2 .u2me summary:hover{color:#F3F3F6}

/* 23.10 — подсветка без скруглений (бар сверху и бар слева) */
html.ui2 .u2add,html.ui2 .u2ic,html.ui2 .u2me summary,html.ui2 .u2side .nav,html.ui2 .u2side .wmode,html.ui2 .u2side .wmode button,html.ui2 .u2res button{border-radius:0!important}
html.ui2 .u2me .av{border-radius:50%!important}
/* 23.10 — подсветка градиентом, без рамок и без краёв: тает к краям */
html.ui2 .u2ic:hover{background:radial-gradient(closest-side,rgba(255,255,255,.16),rgba(255,255,255,0))!important;box-shadow:none!important}
html.ui2 .u2add:hover,html.ui2 .u2me summary:hover{background:radial-gradient(ellipse closest-side,rgba(255,255,255,.13),rgba(255,255,255,0))!important;box-shadow:none!important}
html.ui2 .u2side .nav:hover{background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,0) 85%)!important}
html.ui2 .u2side .nav.on{background:linear-gradient(90deg,rgba(255,255,255,.13),rgba(255,255,255,0) 90%)!important}
html.ui2 .u2side .wmode{background:transparent!important}
html.ui2 .u2side .wmode button.on{background:radial-gradient(ellipse closest-side,rgba(255,255,255,.14),rgba(255,255,255,0))!important}
html.ui2 .u2res button:hover,html.ui2 .u2res button.on{background:linear-gradient(90deg,rgba(255,255,255,.09),rgba(255,255,255,0) 90%)!important}
/* ═══ 23.10 — главная (новый интерфейс, только компьютер): «Что случилось» + «Лента», как News / Timeline на референсе ═══ */
html.ui2 .u2home{display:grid;grid-template-columns:minmax(300px,380px) minmax(0,640px);}
html.ui2 .u2col{display:flex;flex-direction:column;min-width:0}
html.ui2 .u2h{align-items:center;gap:10px;letter-spacing:-.01em}
html.ui2 .u2h .fl{width:8px;height:14px;background:var(--c);clip-path:polygon(0 0,100% 0,70% 50%,100% 100%,0 100%);flex:none}
html.ui2 .u2h small{margin-left:auto;font-size:12px;color:#9C9EAB;font-weight:400}
html.ui2 .u2t{display:block;padding:16px 18px;color:#C6C8D1;text-decoration:none;transition:background .15s}

html.ui2 .u2zero{color:#9C9EAB;font-size:13px}
/* что случилось */
html.ui2 .u2ev{display:flex;gap:14px;align-items:flex-start}
html.ui2 .u2ev .av,html.ui2 .u2t .lg{width:38px;height:38px;flex:none;display:grid;place-items:center;font-size:12px;font-weight:600;color:#fff;background:var(--c);box-shadow:inset 0 0 0 2px rgba(255,255,255,.18)}
html.ui2 .u2ev .tx{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
html.ui2 .u2ev b{color:#F3F3F6;font-weight:500;font-size:13px}
html.ui2 .u2ev .wh{color:#D4D6DE;font-size:12.5px;line-height:1.4}
html.ui2 .u2ev .ob{color:#9C9EAB;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .u2ev .ft{display:flex;justify-content:space-between;margin-top:8px;font-size:11px;color:#74768A}
html.ui2 .u2ev .rd{color:#b8fffd;letter-spacing:.06em;text-transform:uppercase;font-size:10.5px}
/* лента */
html.ui2 .u2line .u2t{padding:14px 18px 12px}
html.ui2 .u2t .hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
html.ui2 .u2t .tg{display:inline-flex;align-items:center;gap:7px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#C6C8D1}
html.ui2 .u2t .tg i{width:7px;height:7px;background:var(--c);box-shadow:0 0 8px var(--c)}
html.ui2 .u2t .tm{font-size:11px;color:#74768A}
html.ui2 .u2t .bd{display:flex;align-items:center;gap:14px;margin:0 -18px;padding:6px 18px;text-decoration:none}
html.ui2 .u2t .bd .tx{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
html.ui2 .u2t .bd b{color:#F3F3F6;font-weight:500;font-size:14px}
html.ui2 .u2t .bd .tx span{color:#9C9EAB;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ui2 .u2t .bd em{font-style:normal;color:#F3F3F6;font-size:16px;font-weight:300;white-space:nowrap;font-variant-numeric:tabular-nums}
html.ui2 .u2t .ft{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.05);font-size:12px;color:#9C9EAB}
html.ui2 .u2t .ft .hot{color:#FF9B90;font-weight:500}
html.ui2 .u2go{background:transparent!important;border:0!important;box-shadow:none!important;color:#b8fffd!important;font:inherit;font-size:12.5px;font-weight:500;padding:4px 10px!important;border-radius:0!important;cursor:pointer;white-space:nowrap}
html.ui2 .u2go:hover{background:radial-gradient(ellipse closest-side,rgba(184,255,253,.18),rgba(184,255,253,0))!important;color:#fff!important}

/* 23.10 — карточки главной: градиент, острые углы, чуть прозрачные, размытие сзади */
html.ui2 .u2t{border-radius:0!important;backdrop-filter:blur(16px) saturate(1.2);-webkit-backdrop-filter:blur(16px) saturate(1.2);}

html.ui2 .u2t .bd:hover{background:linear-gradient(90deg,rgba(255,255,255,.05),rgba(255,255,255,0))!important}
html.ui2 .u2ev .av,html.ui2 .u2t .lg{border-radius:0}
html.ui2 #u2feed{display:flex;flex-direction:column;}   /* «Что случилось» — отступы между карточками, как в ленте */
/* 23.10 — фон «вечерняя улица» (Никита: город грустный); картинка тёмная — затемнение по краям слабее */

/* 23.10 — живой фон: видео из гифки Никиты (только компьютер); затемнение краёв — слоем поверх видео */

/* 23.10 — фон обратно серо-сиреневый градиент, как у страницы с карточкой (Никита: картинки «красиво, но не то») */

/* 23.10 — серый градиент поверх еле заметной анимированной улицы: видео в оттенках серого, градиент сверху почти непрозрачный (≈85%) */

#u2bgv{display:block!important;position:fixed;inset:0;width:100vw;height:100vh;object-fit:cover;z-index:-2;pointer-events:none;}
#u2bgo{display:block!important;position:fixed;inset:0;z-index:-1;pointer-events:none;}
@media (max-width:900px),(prefers-reduced-motion:reduce){#u2bgv,#u2bgo{display:none!important}}
/* 23.10 — рисунок улицы контрастнее: видео контрастнее, градиент поверх чуть прозрачнее (≈80%) */

/* 23.10 — улица видна чётко, но почти без цвета (серые оттенки), серый слой поверх лёгкий (≈40%) */

/* 23.10 — фон чуть светлее */
#u2bgv{filter:grayscale(.92) contrast(1.05) brightness(1.25)!important}
#u2bgo{background:linear-gradient(160deg,rgba(190,191,206,.42) 0%,rgba(166,167,186,.42) 50%,rgba(135,136,156,.45) 100%)!important}
html.ui2{background:linear-gradient(160deg,rgba(190,191,206,.50) 0%,rgba(166,167,186,.50) 50%,rgba(135,136,156,.52) 100%),url(/bg/eco.jpg?v=2) center/cover no-repeat fixed!important;background-blend-mode:normal,luminosity!important;background-color:#A3A4B6!important}
/* 23.10 — блоки главной темнее и мягким градиентом (сверху светлее → вниз глубже) */
html.ui2 .u2t{background:linear-gradient(160deg,rgba(46,48,60,.88) 0%,rgba(32,34,44,.86) 55%,rgba(24,26,34,.84) 100%)!important;box-shadow:0 20px 44px -24px rgba(10,12,24,.75),inset 0 1px 0 rgba(255,255,255,.07)!important}
html.ui2 a.u2t:hover,html.ui2 .u2t:hover{background:linear-gradient(160deg,rgba(56,58,72,.90) 0%,rgba(38,40,52,.88) 55%,rgba(28,30,40,.86) 100%)!important}
/* 23.10 — заголовки «Новости» / «Лента событий» на тёмной стеклянной плашке, как блоки, чтобы не сливались с фоном */

   /* 23.10 — колонки «Новости» и «Лента событий» разнесены */
/* 23.10 — «Новости» и «Лента событий» — два больших блока одинаковой высоты; заголовок внутри блока; карточки внутри — светлее, без своей тени */
html.ui2 .u2home{align-items:stretch}
html.ui2 .u2col{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.15) transparent}
html.ui2 .u2h{top:0;z-index:2;}

html.ui2 .u2col{max-height:none}   /* 23.10 — высоту блоков задаёт u2Fit(): 5 карточек видно, остальное прокруткой */
/* 23.10 — большие блоки светлее: матовое стекло (прозрачность + размытие), без темноты; карточки внутри — лёгкая тёмная вуаль, чтобы белый текст читался */

/* 23.10 — большие блоки обратно тёмные (Никита: светлые некрасиво), колонки ближе — дальше добавим виджеты */
html.ui2 .u2home{gap:24px}

/* 23.10 — главная прижата к бару слева: «Новости» сразу у меню, «Лента событий» рядом */
html.ui2 .layout.u2 main:has(.u2home){max-width:none!important;margin:0!important;padding:16px 20px 24px 16px!important}
html.ui2 .u2home{padding:0!important;justify-content:start}
/* 23.10 — без общего блока: заголовок тёмным текстом над колонкой, карточки — сами по себе тёмное стекло; прокрутка у списка (видно 5) */
html.ui2 .u2col{height:auto!important;overflow:visible!important;gap:10px}
html.ui2 .u2h{position:static!important;margin:0 0 2px!important;}
html.ui2 .u2list{display:flex;flex-direction:column;gap:10px;overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(31,33,41,.35) transparent;padding-right:2px}
html.ui2 #u2feed{gap:10px}
html.ui2 .u2col .u2t{background:linear-gradient(160deg,rgba(46,48,60,.88) 0%,rgba(32,34,44,.86) 55%,rgba(24,26,34,.84) 100%)!important;backdrop-filter:blur(16px) saturate(1.2)!important;-webkit-backdrop-filter:blur(16px) saturate(1.2)!important;box-shadow:0 18px 40px -26px rgba(10,12,24,.75),inset 0 1px 0 rgba(255,255,255,.07)!important}
html.ui2 .u2col a.u2t:hover,html.ui2 .u2col .u2t:hover{background:linear-gradient(160deg,rgba(56,58,72,.90) 0%,rgba(38,40,52,.88) 55%,rgba(28,30,40,.86) 100%)!important}
/* 23.10 — заголовок на тёмной стеклянной плашке по размеру текста (как ярлык над колонкой) — читается на любом участке фона */

   /* 23.10 — заголовок полоской во всю ширину колонки */
/* 23.10 — колонки в общем блоке с серой квадратной рамкой; внутри лёгкое затемнение и размытие, заголовок — текстом без полоски */
html.ui2 .u2col{padding:14px 14px 14px!important;background:rgba(36,38,50,.22)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;box-shadow:none!important}
html.ui2 .u2h{align-self:stretch!important;display:flex!important;padding:2px 4px 6px!important;background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;color:#F3F3F6!important;font-size:17px;font-weight:600;text-shadow:0 1px 3px rgba(10,12,24,.45)!important}
html.ui2 .u2col{border:0!important}   /* 23.10 — рамку убрали, оставили лёгкое затемнение и размытие */
/* 23.10 — карточка счёта — всплывающее окно поверх текущей страницы: страница видна сзади, слегка затемнена и размыта (раньше подложка была непрозрачной и выглядела как новая страница) */
html.ui2 .drawer:has(.pane.inv2){background-image:none!important;}
html.ui2 .drawer:has(.pane.inv2)::before,html.ui2 .drawer:has(.pane.inv2)::after{display:none!important}
/* 23.10 — живой фон и на телефоне (кадр по центру: машина и поезд); не показываем только при «уменьшить движение» */
@media (max-width:900px){#u2bgv,#u2bgo{display:block!important}#u2bgv{object-position:50% 55%}}
@media (prefers-reduced-motion:reduce){#u2bgv,#u2bgo{display:none!important}}
/* 23.10 — карточка счёта в стиле главной: тёмное стекло градиентом, острые углы, блоки внутри — светлее, без скруглений; подложка плотнее, чтобы окно не сливалось со страницей */
html.ui2 .drawer:has(.pane.inv2){background:rgba(18,20,28,.52)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}
html.ui2 .drawer .pane.inv2{border-radius:0!important;border:0!important;background:linear-gradient(160deg,rgba(46,48,60,.94) 0%,rgba(32,34,44,.93) 55%,rgba(24,26,34,.92) 100%)!important;backdrop-filter:blur(18px) saturate(1.2)!important;-webkit-backdrop-filter:blur(18px) saturate(1.2)!important;box-shadow:0 40px 90px -30px rgba(5,6,14,.9),inset 0 1px 0 rgba(255,255,255,.08)!important}
html.ui2 .inv2 .ir{border-radius:0!important;background:rgba(0,0,0,.16)!important}
html.ui2 .inv2 .i2now,html.ui2 .inv2 .i2sp,html.ui2 .inv2 .note,html.ui2 .inv2 .ir .cin input,html.ui2 .inv2 .i2menu,html.ui2 .inv2 .itabs button{border-radius:0!important}
html.ui2 .inv2 .i2now,html.ui2 .inv2 .i2sp{background:rgba(255,255,255,.045)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important}
html.ui2 .inv2 .i2sp:not([open]):hover{background:rgba(255,255,255,.08)!important;transform:none!important}
html.ui2 .inv2 .ir .cin input{background:rgba(255,255,255,.06)!important}
html.ui2 .inv2 button.pri,html.ui2 .inv2 .i2mb,html.ui2 .inv2 .ix,html.ui2 .inv2 .i2now>button,html.ui2 .inv2 .ir .cin #msgs{border-radius:0!important}
html.ui2 .inv2 .i2s .tag,html.ui2 .inv2 .i2s .sx{border-radius:0!important}
/* 23.10 — главная: обе колонки по центру рабочего поля */
@media (min-width:901px){
  html.ui2 .layout.u2 main:has(.u2home){padding-left:20px!important;padding-right:20px!important}
  html.ui2 .u2home{grid-template-columns:minmax(300px,380px) minmax(0,600px)!important;justify-content:center!important}
}
/* 23.10 — широкий экран: «Новости» — левый верхний угол у меню (видно 3, светофор открыт); «Лента событий» — справа во всю высоту экрана, зафиксирована */
@media (min-width:1200px){
  html.ui2 .u2home{display:block!important}
  html.ui2 .u2home .u2news{position:fixed;left:248px;top:68px;width:380px;height:auto!important;z-index:5}
  html.ui2 .u2home .u2line{position:fixed;width:560px;height:auto!important;display:flex;flex-direction:column;z-index:5}
  html.ui2 .u2home .u2line .u2list{flex:1;min-height:0;height:auto!important}
}
/* 23.10 — ассистент на главной: маленький чат, сразу открыт, левый нижний угол под «Новостями»; стиль как у карточек */
@media (min-width:1200px){
  html.ui2.u2ai-dock #aip{left:248px;right:auto;width:380px;max-width:none;z-index:6;border:0!important;border-radius:0!important;background:linear-gradient(160deg,rgba(46,48,60,.92) 0%,rgba(32,34,44,.9) 55%,rgba(24,26,34,.88) 100%)!important;backdrop-filter:blur(16px) saturate(1.2);-webkit-backdrop-filter:blur(16px) saturate(1.2);box-shadow:0 20px 44px -24px rgba(10,12,24,.75),inset 0 1px 0 rgba(255,255,255,.07)!important;color:#C6C8D1;animation:none}
  html.ui2.u2ai-dock #aip .aih{border-bottom:1px solid rgba(255,255,255,.06);padding:10px 12px 10px 14px}
  html.ui2.u2ai-dock #aip .aih b{color:#F3F3F6;font-weight:600}
  html.ui2.u2ai-dock #aip .aii{background:rgba(255,255,255,.08);border-radius:0}
  html.ui2.u2ai-dock #aip .aii svg{stroke:#c6fffd}
  html.ui2.u2ai-dock #aip .aim>div{background:rgba(255,255,255,.06);border:0;border-radius:0;color:#E6E8EF;}
  html.ui2.u2ai-dock #aip .aim.me>div{background:rgba(99,255,250,.35);color:#fff}
  html.ui2.u2ai-dock #aip .aiin{border-top:1px solid rgba(255,255,255,.06);padding:10px 12px}
  html.ui2.u2ai-dock #aip .aiin input{background:rgba(255,255,255,.07)!important;border:0!important;border-radius:0!important;color:#F3F3F6!important;}
  html.ui2.u2ai-dock #aip button{border-radius:0!important}
  html.ui2.u2ai-dock #aip .aiempty{gap:6px}html.ui2.u2ai-dock #aip .aiempty .chips button{background:rgba(255,255,255,.06)!important;border:0!important;color:#C6C8D1!important;}
  html.ui2.u2ai-dock body.ai-open #aifab{display:none!important}
}
/* 23.10 — «Лента событий» с отступами от краёв; ассистент — маленькое окно внизу слева (светофор открыт) */
@media (min-width:1200px){
  html.ui2 .u2home .u2line{right:16px!important;top:68px!important;bottom:16px!important}
  html.ui2.u2ai-dock #aip{top:auto!important;bottom:16px!important;}
}
/* 23.10 — ассистент выше (до светофора слева) и шрифт мельче */
@media (min-width:1200px){
  html.ui2.u2ai-dock #aip{height:410px!important;font-size:12px}
  html.ui2.u2ai-dock #aip .aih b{font-size:13px}html.ui2.u2ai-dock #aip .aih .sub{font-size:11px}
  html.ui2.u2ai-dock #aip .aim>div{font-size:12px;line-height:1.4;padding:7px 10px}
  html.ui2.u2ai-dock #aip .aiempty{font-size:12px}html.ui2.u2ai-dock #aip .aiempty b{font-size:13px}html.ui2.u2ai-dock #aip .aiempty .aii.big{width:36px;height:36px}
  html.ui2.u2ai-dock #aip .aiempty .chips button{font-size:11.5px!important;padding:4px 10px}
  html.ui2.u2ai-dock #aip .aiin input{font-size:12px!important;height:32px}html.ui2.u2ai-dock #aip .aiin button{font-size:12px;height:32px}
  html.ui2.u2ai-dock #aip .air,html.ui2.u2ai-dock #aip .aig{font-size:11.5px}
}
/* 23.10 — ассистент на главной: в пустом окне только заголовок и описание, без значка и кнопок-примеров */
@media (min-width:1200px){html.ui2.u2ai-dock #aip .aiempty>:not(b):not(.sub){display:none!important}}

/* ═══════════════════════════════════════════════════════════════════════════════════════════
   23.10 — НОВЫЙ СТИЛЬ НА ВСЕ РАЗДЕЛЫ (Никита: «перенеси весь дизайн на все разделы, с анимацией, всплывающие окна»).
   Как на главной: раздел — в полупрозрачном размытом блоке; внутри — тёмное стекло градиентом, острые углы, без рамок,
   подсветка градиентом; кнопки без формы, главная — светлая; окна поверх страницы; мягкое появление. Только html.ui2.
   ═══════════════════════════════════════════════════════════════════════════════════════════ */
html.ui2{--card:#2B2D37;--bg:#23252E;--ink:#F3F3F6;--ink2:#C6C8D1;--mute:#9C9EAB;--line:rgba(255,255,255,.07);--line2:rgba(255,255,255,.045);
  --acc:#b8fffd;--acc-h:#b8fffd;--acc-d:#b8fffd;--acc-soft:rgba(87,216,212,.12);--acc-soft2:rgba(87,216,212,.2);   /* 29.10: акцент — тёплый, как в карточке счёта (было #a8fffc) */--acc-x:rgba(255,255,255,.04);--acc-ink:#1F2129;
  --v-acc:#a8fffc;--g-line:rgba(255,255,255,.07);--g-line2:rgba(255,255,255,.045);--g-panel:rgba(36,38,50,.5);--g-panel2:rgba(28,30,40,.7);
  --ok:#93DDB9;--ok-bg:rgba(91,208,160,.14);--warn:#FFB45C;--warn-bg:rgba(255,170,80,.14);--bad:#FFA59C;--bad-bg:rgba(245,142,133,.14);
  --u2g:linear-gradient(160deg,rgba(46,48,60,.88) 0%,rgba(32,34,44,.86) 55%,rgba(24,26,34,.84) 100%);--u2h:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,0) 85%)}
/* раздел — в полупрозрачном размытом блоке (как колонки главной) */
html.ui2 .layout.u2 main:not(:has(.u2home)){max-width:none!important;margin:16px!important;padding:20px 22px 28px!important;min-height:calc(100vh - 52px - 32px);background:rgba(36,38,50,.22)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#C6C8D1}
html.ui2 .ptop{color:#F3F3F6}
html.ui2 .ptop .crumbs{font-size:11px;letter-spacing:.06em;text-transform:uppercase}
html.ui2 .ptop h1{color:#F3F3F6!important;font-weight:600;font-size:22px;text-shadow:0 1px 3px rgba(10,12,24,.35)}
html.ui2 main h2,html.ui2 main h3,html.ui2 main .qhead{color:#F3F3F6!important;text-shadow:0 1px 3px rgba(10,12,24,.3)}
html.ui2 main .sub,html.ui2 main small{color:#9C9EAB}
html.ui2 main a:not(.nav):not(.u2t):not(.tile):not(.titem){color:#c6fffd}
/* поверхности: тёмное стекло, острые углы, без рамок */
html.ui2 main .card,html.ui2 main .tile,html.ui2 main .hcard,html.ui2 main .hcard2,html.ui2 main .mrtab,html.ui2 main .bankbar,html.ui2 main .titem,html.ui2 main .mtile,html.ui2 main .note,html.ui2 main .chfeed,html.ui2 main .chlist,html.ui2 main .chatw,html.ui2 main .admform,html.ui2 main .dlvcard,html.ui2 main .itbox,html.ui2 main .howh,html.ui2 main .hcard{background:var(--u2g)!important;border:0!important;border-radius:0!important;box-shadow:0 18px 40px -26px rgba(10,12,24,.7),inset 0 1px 0 rgba(255,255,255,.06)!important;color:#C6C8D1;backdrop-filter:blur(14px) saturate(1.15);-webkit-backdrop-filter:blur(14px) saturate(1.15)}
html.ui2 main .note{background:rgba(255,255,255,.06)!important;box-shadow:none!important;backdrop-filter:none}
html.ui2 main .note.warn-n{background:rgba(255,170,80,.13)!important;color:#FFB45C}html.ui2 main .note.ok-n{background:rgba(91,208,160,.12)!important;color:#93DDB9}html.ui2 main .note.bad-n{background:rgba(245,142,133,.13)!important;color:#FFA59C}
html.ui2 main a.tile:hover,html.ui2 main a.titem:hover,html.ui2 main .tile:hover{background:var(--u2h),var(--u2g)!important;transform:none}
html.ui2 main .tile .v,html.ui2 main .tiles .tile .v{color:#F3F3F6!important;background:none!important;-webkit-text-fill-color:currentColor!important;font-weight:300!important}
html.ui2 main .tile .l{color:#9C9EAB!important}
html.ui2 main .titem .ic,html.ui2 main .bankbar .ic,html.ui2 main .bankbar>span:first-child{background:rgba(255,255,255,.07)!important;color:#C6C8D1!important;border-radius:0!important}
html.ui2 main .titem .ic svg,html.ui2 main .bankbar svg{stroke:#C6C8D1!important}
/* таблицы */
html.ui2 main .tbl{background:transparent!important}
html.ui2 main .tbl th{background:rgba(30,32,42,.92)!important;color:#9C9EAB!important;border-bottom:1px solid rgba(255,255,255,.07)!important;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:500}
html.ui2 main .tbl td{border-bottom:1px solid rgba(255,255,255,.045)!important;color:#C6C8D1;background:transparent!important}
html.ui2 main .tbl td.num,html.ui2 main .tbl .ctr{color:#F3F3F6!important}
html.ui2 main .tbl td.c-descr,html.ui2 main .tbl td.c-descr *,html.ui2 main .tbl td.c-date{color:#9C9EAB!important}
html.ui2 main .tbl tr.row:hover td{background:rgba(255,255,255,.035)!important}
html.ui2 main .tbl tr.row td:hover{background:rgba(255,255,255,.08)!important;box-shadow:none!important;color:#F3F3F6}
html.ui2 main .tbl tr.row td:hover::after{background:rgba(255,255,255,.025)!important}
html.ui2 main .tbl tr.row td.xcol{background:rgba(255,255,255,.025)!important}
html.ui2 main .tbl tr.row.sel td{background:rgba(168,255,252,.1)!important}
html.ui2 main .tbl tr.row.rt-paid td{opacity:.75}
html.ui2 main .tbl tr.row.rt-urg td{background-image:linear-gradient(90deg,rgba(255,140,100,0),rgba(255,140,100,.05) 50%,rgba(255,120,90,.1))!important}
html.ui2 main .tbl tr.row.rt-fire td{background-image:linear-gradient(90deg,rgba(255,100,80,0),rgba(255,100,80,.07) 50%,rgba(255,90,70,.16))!important}
/* статусы — плоские, без скруглений */
html.ui2 .tag,html.ui2 .tag.sx,html.ui2 .pill{border-radius:0!important;border:0!important;background:rgba(255,255,255,.07)!important;color:#C6C8D1!important;font-weight:500}
html.ui2 .tag.t-ok,html.ui2 .tag.sx.s-paid{background:rgba(91,208,160,.14)!important;color:#93DDB9!important}
html.ui2 .tag.sx.s-unpaid,html.ui2 .tag.t-bad{background:rgba(245,142,133,.14)!important;color:#FFA59C!important}
html.ui2 .tag.sx.s-pay,html.ui2 .tag.t-warn{background:rgba(255,170,80,.14)!important;color:#FFB45C!important}
html.ui2 .tag.sx.s-part,html.ui2 .tag.t-info,html.ui2 .tag.t-vio{background:rgba(168,255,252,.14)!important;color:#c6fffd!important}
/* кнопки: без формы, подсветка градиентом; главная — светлая; опасная — красный текст */
html.ui2 main button:where(:not(.nav):not(.tab):not(.u2go):not(.ix)),html.ui2 .drawer .pane:not(.inv2) button:where(:not(.ix)),html.ui2 .mbox button{border-radius:0!important;border:0!important;box-shadow:none!important;background:rgba(255,255,255,.07)!important;color:#E6E8EF!important;font-weight:500;transition:background .15s,color .15s}
html.ui2 main button:where(:not(.nav):not(.tab):not(.u2go):not(.ix)):hover,html.ui2 .drawer .pane:not(.inv2) button:where(:not(.ix)):hover,html.ui2 .mbox button:hover{background:linear-gradient(90deg,rgba(255,255,255,.16),rgba(255,255,255,.06))!important;color:#fff!important}
html.ui2 button.pri,html.ui2 main button.pri,html.ui2 .mbox button.pri,html.ui2 .drawer .pane button.pri{background:#ECEDF2!important;color:#1F2129!important;font-weight:600!important}

html.ui2 button.pri svg{stroke:#1F2129!important}
html.ui2 button.pri:disabled{background:rgba(255,255,255,.12)!important;color:#74768A!important}
html.ui2 button.danger,html.ui2 main button.danger,html.ui2 .mbox button.danger{background:rgba(245,142,133,.14)!important;color:#FFA59C!important}
html.ui2 .lnk{color:#c6fffd!important;background:none!important}html.ui2 .lnk.bad-t{color:#FFA59C!important}
html.ui2 .pref,html.ui2 .greetb{border-radius:0!important;border:0!important;background:rgba(36,38,50,.55)!important;color:#E6E8EF!important;box-shadow:none!important;backdrop-filter:blur(10px)}
html.ui2 .pref:hover,html.ui2 .greetb:hover{background:linear-gradient(90deg,rgba(255,255,255,.16),rgba(36,38,50,.55))!important}
html.ui2 .ix{border-radius:0!important;border:0!important;background:rgba(255,255,255,.07)!important;color:#C6C8D1!important}
/* поля, фильтры, чипы */
html.ui2 main input:where(:not([type=checkbox]):not([type=radio])),html.ui2 main select,html.ui2 main textarea,html.ui2 .drawer .pane:not(.inv2) input:where(:not([type=checkbox]):not([type=radio])),html.ui2 .drawer .pane:not(.inv2) select,html.ui2 .drawer .pane:not(.inv2) textarea,html.ui2 .mbox input:where(:not([type=checkbox]):not([type=radio])),html.ui2 .mbox select,html.ui2 .mbox textarea,html.ui2 main .msel .msb,html.ui2 main .dlab,html.ui2 main .rsearch{background:rgba(255,255,255,.07)!important;border:0!important;border-radius:0!important;color:#F3F3F6!important;box-shadow:none!important;backdrop-filter:none!important}

html.ui2 input::placeholder,html.ui2 textarea::placeholder{color:#74768A!important}
html.ui2 main input:focus,html.ui2 main select:focus,html.ui2 main textarea:focus,html.ui2 .mbox input:focus,html.ui2 .drawer .pane input:focus{background:rgba(255,255,255,.11)!important;outline:0;box-shadow:inset 0 -2px 0 #a8fffc!important}
html.ui2 main select option{background:#2B2D37;color:#F3F3F6}
html.ui2 main .chips button,html.ui2 main .chip,html.ui2 main .rbtn,html.ui2 main .seg button,html.ui2 main .tabsl button,html.ui2 main .viewsw button,html.ui2 main .htabs button,html.ui2 main .filters button{border-radius:0!important;border:0!important;background:rgba(36,38,50,.55)!important;color:#C6C8D1!important}
html.ui2 main .chips button.on,html.ui2 main .chip.on,html.ui2 main .rbtn.on,html.ui2 main .seg button.on,html.ui2 main .tabsl button.on,html.ui2 main .viewsw button.on,html.ui2 main .htabs button.on,html.ui2 main .msel.on .msb,html.ui2 main .fic.on,html.ui2 main .ftog.open{background:#ECEDF2!important;color:#1F2129!important}
html.ui2 main .chips button.on small,html.ui2 main .chips button.on .n{color:#1F2129!important;opacity:.7}
html.ui2 main .tabsl button.on::after,html.ui2 main .itabs button.on::after{display:none!important}
html.ui2 main .seg{border-radius:0!important;border:0!important;background:transparent!important}
html.ui2 main .sumline{color:#E6E8EF;text-shadow:0 1px 3px rgba(10,12,24,.4)}html.ui2 main .sumline b{color:#fff}
html.ui2 main .empty{color:#C6C8D1}
html.ui2 input[type=checkbox],html.ui2 input[type=radio]{accent-color:#a8fffc}
/* всплывающие окна: страница видна сзади, окно — тёмное стекло, острые углы */
html.ui2 .drawer:not(:has(.pane.inv2)),html.ui2 .modal{background:rgba(18,20,28,.52)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}
html.ui2 .drawer .pane:not(.inv2),html.ui2 .mbox{border-radius:0!important;border:0!important;background:linear-gradient(160deg,rgba(46,48,60,.95) 0%,rgba(32,34,44,.94) 55%,rgba(24,26,34,.93) 100%)!important;backdrop-filter:blur(18px) saturate(1.2);-webkit-backdrop-filter:blur(18px) saturate(1.2);box-shadow:0 40px 90px -30px rgba(5,6,14,.9),inset 0 1px 0 rgba(255,255,255,.08)!important;color:#C6C8D1}
html.ui2 .drawer .pane:not(.inv2) h2,html.ui2 .mbox h2,html.ui2 .mbox .mt{color:#F3F3F6!important}
html.ui2 .drawer .pane:not(.inv2) .ir{background:rgba(0,0,0,.16)!important;border:0!important}
html.ui2 .drawer .pane:not(.inv2) .card,html.ui2 .drawer .pane:not(.inv2) .mrtab,html.ui2 .drawer .pane:not(.inv2) .note,html.ui2 .drawer .pane:not(.inv2) .stg{background:rgba(255,255,255,.045)!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html.ui2 .drawer .pane:not(.inv2) .tbl th{background:rgba(30,32,42,.95)!important;color:#9C9EAB!important}
html.ui2 .drawer .pane:not(.inv2) .tbl td{background:transparent!important;color:#C6C8D1;border-bottom:1px solid rgba(255,255,255,.045)!important}
html.ui2 .toast{border-radius:0!important;border:0!important;background:linear-gradient(160deg,rgba(46,48,60,.95),rgba(24,26,34,.93))!important;color:#F3F3F6!important;backdrop-filter:blur(14px);box-shadow:0 20px 44px -20px rgba(5,6,14,.8)!important}
html.ui2 .cmd,html.ui2 .mpop,html.ui2 .msel .msp{border-radius:0!important;border:0!important;background:linear-gradient(160deg,rgba(46,48,60,.96),rgba(24,26,34,.95))!important;backdrop-filter:blur(16px);box-shadow:0 30px 60px -20px rgba(5,6,14,.85)!important;color:#C6C8D1}
/* кнопка «Ассистент» на остальных экранах — в общем стиле, не золото */
html.ui2 .aifab{border-radius:0!important;border:0!important;background:linear-gradient(160deg,rgba(46,48,60,.92),rgba(24,26,34,.9))!important;color:#F3F3F6!important;backdrop-filter:blur(14px);box-shadow:0 18px 40px -20px rgba(5,6,14,.8)!important}
html.ui2 .aifab svg{stroke:#c6fffd!important}
html.ui2 .aip{border-radius:0!important;border:0!important;background:linear-gradient(160deg,rgba(46,48,60,.95),rgba(24,26,34,.93))!important;backdrop-filter:blur(16px);color:#C6C8D1}
html.ui2 .aip .aim>div{border-radius:0!important;border:0!important;background:rgba(255,255,255,.06)!important;color:#E6E8EF}html.ui2 .aip .aim.me>div{background:rgba(99,255,250,.35)!important;color:#fff}
/* анимации: раздел и карточки мягко появляются, окна всплывают */
@keyframes u2up{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes u2pop{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
@keyframes u2fade{from{opacity:0}to{opacity:1}}
html.ui2 #main>*{animation:u2up .38s cubic-bezier(.2,.8,.2,1) both}
html.ui2 #main>*:nth-child(2){animation-delay:.04s}html.ui2 #main>*:nth-child(3){animation-delay:.08s}html.ui2 #main>*:nth-child(4){animation-delay:.12s}html.ui2 #main>*:nth-child(5){animation-delay:.16s}html.ui2 #main>*:nth-child(n+6){animation-delay:.2s}
html.ui2 .u2home .u2t{animation:u2up .4s cubic-bezier(.2,.8,.2,1) both}
html.ui2 .u2home .u2list>.u2t:nth-child(2){animation-delay:.05s}html.ui2 .u2home .u2list>.u2t:nth-child(3){animation-delay:.1s}html.ui2 .u2home .u2list>.u2t:nth-child(4){animation-delay:.15s}html.ui2 .u2home .u2list>.u2t:nth-child(n+5){animation-delay:.2s}
html.ui2 .drawer .pane,html.ui2 .mbox{animation:u2pop .32s cubic-bezier(.2,.8,.2,1) both!important}
html.ui2 .drawer,html.ui2 .modal{animation:u2fade .22s ease both!important}

@media (prefers-reduced-motion:reduce){html.ui2 #main>*,html.ui2 .u2home .u2t,html.ui2 .drawer .pane,html.ui2 .mbox,html.ui2 .drawer,html.ui2 .modal,html.ui2 .toast{animation:none!important}}
/* телефон: блок раздела с небольшими полями */
@media (max-width:900px){html.ui2 .layout.u2 main:not(:has(.u2home)){margin:8px!important;padding:14px 12px 24px!important;}}

/* 23.10 — авто-переопределение старого золота в новом стиле (сгенерировано из правил ui.css: текст → #c6fffd, подложки → нейтральные, золотые значки → светлые) */
html.ui2 button.pri{background:#ECEDF2!important;color:#1F2129!important}
html.ui2 button.pri:hover{background:#ECEDF2!important;color:#1F2129!important}
html.ui2 .msel.on .msb{border-color:rgba(255,255,255,.12)!important;background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 .msel .mso input{accent-color:#a8fffc!important}
html.ui2 .tbl tr.row td:hover{background:rgba(255,255,255,.09)!important;box-shadow:none!important}
html.ui2 .itabs button.on,html.ui2 .tabsl button.on{color:#c6fffd!important}
html.ui2 .itabs button.on::after{background:rgba(255,255,255,.09)!important}
html.ui2 .drawer .pane{border-color:rgba(255,255,255,.12)!important;box-shadow:none!important}
html.ui2 .cmsg b{color:#c6fffd!important}
html.ui2 .tbl tr.row.rt-urg td:hover{background:rgba(255,255,255,.09)!important}
html.ui2 .tiles .tile:hover{border-color:rgba(255,255,255,.12)!important}
html.ui2 .titem:hover{border-color:rgba(255,255,255,.12)!important}
html.ui2 .titem:hover .ic{background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 .bankbar .ic,html.ui2 .bankbar>span:first-child{background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 .bankbar svg{stroke:#c6fffd!important}
html.ui2 .pwan>svg{stroke:#c6fffd!important}
html.ui2 .hcard2 .pill,html.ui2 .hcard2 .pill.ac{background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 .drop{border-color:rgba(255,255,255,.14)!important}
html.ui2 .drop:hover,html.ui2 .drop.on{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.12)!important}
html.ui2 .drop .ic{background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 .drop .ic svg{stroke:#c6fffd!important}
html.ui2 .chi.on{background:rgba(255,255,255,.09)!important}
html.ui2 .chav.gen{background:#ECEDF2!important;color:#1F2129!important}
html.ui2 .chb{background:#ECEDF2!important;color:#1F2129!important}
html.ui2 .chdot{background:rgba(255,255,255,.09)!important}
html.ui2 .chseg button.on{background:rgba(255,255,255,.09)!important}
html.ui2 .cm.me{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.12)!important}
html.ui2 .cmh b{color:#c6fffd!important}
html.ui2 .cm.me .cmh b{color:#c6fffd!important}
html.ui2 .ment{color:#c6fffd!important}
html.ui2 .cev.k-pay .cei{color:#c6fffd!important;background:rgba(255,255,255,.09)!important}
html.ui2 .chempty0 svg{stroke:#c6fffd!important}
html.ui2 .chin textarea:focus{border-color:rgba(255,255,255,.12)!important;box-shadow:none!important}
html.ui2 .mpop button.on,html.ui2 .mpop button:hover{background:rgba(255,255,255,.09)!important}
html.ui2 .chatw button.chi.on{background:rgba(255,255,255,.09)!important}
html.ui2 .chatw .chmute.on{border-color:rgba(255,255,255,.12)!important;background:rgba(255,255,255,.09)!important}
html.ui2 .k1{background:rgba(255,255,255,.09)!important}
html.ui2 .pcempty svg{stroke:#c6fffd!important}
html.ui2 .mbl b{color:#c6fffd!important}
html.ui2 button.mrow:hover{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.12)!important}
html.ui2 .rtag.adm{background:rgba(255,255,255,.09)!important}
html.ui2 button.sw.on{background:#ECEDF2!important;color:#1F2129!important}
html.ui2 .rchk input:checked+span{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.12)!important;color:#c6fffd!important}
html.ui2 .admacc button.on{background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 select option:checked{color:#c6fffd!important}
html.ui2 .cn{background:#ECEDF2!important;color:#1F2129!important}
html.ui2 .cap.hot.has{border-color:rgba(255,255,255,.12)!important;background:rgba(255,255,255,.09)!important}
html.ui2 .cap.hot.has .cic{background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 button.pref:hover{border-color:rgba(255,255,255,.12)!important}
html.ui2 .mci.over{border-color:rgba(255,255,255,.12)!important}
html.ui2 .dtag.pay{background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 .wrap .tbl tr.row[data-amt].sel{border-color:rgba(255,255,255,.12)!important}
html.ui2 .rsearch:focus-within{border-color:rgba(255,255,255,.12)!important;box-shadow:none!important}
html.ui2 button.ftog b{background:#ECEDF2!important;color:#1F2129!important}
html.ui2 button.ftog.open{border-color:rgba(255,255,255,.12)!important}
html.ui2 button.chip.on{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.12)!important;color:#c6fffd!important}
html.ui2 button.chip.on span{color:#c6fffd!important}
html.ui2 .hrow .cei.k-pay{color:#c6fffd!important;background:rgba(255,255,255,.09)!important}
html.ui2 .htabs .hc{background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 .stn b{color:#c6fffd!important}
html.ui2 .mtile:hover{border-color:rgba(255,255,255,.12)!important}
html.ui2 .mtile.hot{border-color:rgba(255,255,255,.12)!important;background:rgba(255,255,255,.09)!important}
html.ui2 .mtile.hot .cic{background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 button.pdfb{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.14)!important;color:#c6fffd!important}
html.ui2 .sb i{background:rgba(201,211,255,.42)!important;border-radius:0!important}
html.ui2 .sb:hover i{background:rgba(255,255,255,.09)!important}
html.ui2 table.heat td.ht{color:#c6fffd!important}
html.ui2 table.heat tr[data-obj]:hover td.ho{color:#c6fffd!important}
html.ui2 .greetb:hover{color:#c6fffd!important}
html.ui2 .phseg button.on{background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 .phs.wait{color:#c6fffd!important;background:rgba(255,255,255,.09)!important}
html.ui2 .phtot{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.14)!important}
html.ui2 .mlf a b{color:#c6fffd!important}
html.ui2 .mlf a.on{background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 .mlr.on{background:rgba(255,255,255,.09)!important}
html.ui2 .mlr.new .mldot{background:rgba(255,255,255,.09)!important}
html.ui2 .mlic.st{color:#c6fffd!important}
html.ui2 .mlacts #mstar.on{color:#c6fffd!important}
html.ui2 .mltext a{color:#c6fffd!important}
html.ui2 .mlthr.on{background:rgba(255,255,255,.09)!important}
html.ui2 .mlsi svg{stroke:#c6fffd!important}
html.ui2 .mlsteps a{color:#c6fffd!important}
html.ui2 .lmsteps span.cur{color:#c6fffd!important;background:rgba(255,255,255,.09)!important}
html.ui2 .wmode button.on{background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 .mbh .mono{color:#c6fffd!important}
html.ui2 .mbcart{background:rgba(255,255,255,.09)!important;color:#c6fffd!important}
html.ui2 .mbcart:hover{background:rgba(255,255,255,.09)!important}
html.ui2 .mbct a{color:#c6fffd!important}
html.ui2 .mbi.sel{background:rgba(255,255,255,.09)!important}
html.ui2 .mbi.sel .mbsel{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.12)!important}
html.ui2 .mbbar{border-color:rgba(255,255,255,.14)!important}
/* 23.10 — острые углы везде в разделах и окнах (точки-индикаторы остаются круглыми) */
html.ui2 main *:not([class*=dot]):not(.on-row .dot),html.ui2 .drawer .pane:not(.inv2) *:not([class*=dot]),html.ui2 .mbox *:not([class*=dot]){border-radius:0!important}
html.ui2 main .cm,html.ui2 main .cm.me{border:0!important}
html.ui2 main .cm.me{background:rgba(99,255,250,.28)!important}
html.ui2 main .cm:not(.me){background:rgba(255,255,255,.06)!important}
html.ui2 main .cmh b,html.ui2 main .cmsg b,html.ui2 main .ment{color:#c6fffd!important}
html.ui2 main .vip,html.ui2 span.vip{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:#c6fffd!important;-webkit-text-fill-color:currentColor!important}
html.ui2 main .chdot{background:#b8fffd!important}
html.ui2 main .drop{border:1.5px dashed rgba(255,255,255,.22)!important}
/* 23.10 — обычные кнопки в разделах — тёмная полупрозрачная подложка (на светлом размытом фоне читаются лучше) */
html.ui2 main button:where(:not(.nav):not(.tab):not(.u2go):not(.ix):not(.pri):not(.danger)),html.ui2 .mbox button:where(:not(.pri):not(.danger)){background:rgba(30,32,42,.55)!important}
html.ui2 main button:where(:not(.nav):not(.tab):not(.u2go):not(.ix):not(.pri):not(.danger)):hover,html.ui2 .mbox button:where(:not(.pri):not(.danger)):hover{background:linear-gradient(90deg,rgba(255,255,255,.14),rgba(30,32,42,.55))!important}
html.ui2 main .card button:where(:not(.pri):not(.danger)),html.ui2 main .mrtab button:where(:not(.pri):not(.danger)),html.ui2 .drawer .pane:not(.inv2) button:where(:not(.ix):not(.pri):not(.danger)){background:rgba(255,255,255,.07)!important;backdrop-filter:none}
html.ui2 .layout.u2 main div.card,html.ui2 .layout.u2 main .card#regt{border-radius:0!important}   /* телефон: список реестра тоже с острыми углами */
/* 23.10 — главная на телефоне: сверху «Лента событий», под ней «Новости», по 5 карточек, страница листается целиком */
@media (max-width:900px){
  html.ui2 .layout.u2 main:has(.u2home){padding:12px 10px 90px!important;margin:0!important}
  html.ui2 .u2home{display:flex!important;flex-direction:column;gap:14px;padding:0!important}
  html.ui2 .u2home .u2line{order:-1}
  html.ui2 .u2home .u2col{position:static!important;width:auto!important;height:auto!important;padding:12px!important}
  html.ui2 .u2home .u2list{height:auto!important;overflow:visible!important;padding-right:0}
  html.ui2 .u2home .u2list>.u2t:nth-child(n+6){display:none}
  html.ui2 .u2h{font-size:16px}
  html.ui2 .u2t{padding:12px 14px!important}
  html.ui2 .u2t .bd{gap:10px;margin:0 -14px;padding:6px 14px}
  html.ui2 .u2t .bd b{font-size:13px}html.ui2 .u2t .bd em{font-size:14px}
  html.ui2 .u2t .ft{flex-wrap:wrap;gap:6px}
  html.ui2 .u2ev .av,html.ui2 .u2t .lg{width:32px;height:32px;font-size:11px}
}
/* 23.10 — поля и поиск в разделах (вне карточек) — тёмная полупрозрачная подложка, чтобы читались на светлом размытом фоне */
html.ui2 main input:where(:not([type=checkbox]):not([type=radio])),html.ui2 main select,html.ui2 main textarea,html.ui2 main .msel .msb,html.ui2 main .dlab,html.ui2 main .rsearch{background:rgba(30,32,42,.55)!important;backdrop-filter:blur(8px)!important}
html.ui2 main .rsearch input{background:transparent!important;backdrop-filter:none!important}
html.ui2 main .card input:where(:not([type=checkbox]):not([type=radio])),html.ui2 main .card select,html.ui2 main .card textarea,html.ui2 main .mrtab input,html.ui2 main .chatw input,html.ui2 main .chatw textarea{background:rgba(255,255,255,.07)!important;backdrop-filter:none!important}
html.ui2 main input:focus,html.ui2 main select:focus,html.ui2 main textarea:focus{background:rgba(30,32,42,.75)!important}
/* 23.10 — телефон: верхняя полоса прибита к верху экрана (на айфоне «пружина» прокрутки больше её не утаскивает), с учётом выреза */
@media (max-width:900px){
  html.ui2 .u2top{position:fixed!important;top:0;left:0;right:0;z-index:20;}
  
  
  html.ui2 body{overscroll-behavior-y:none}
}
/* 23.10 — сортировка в реестре (телефон): значок светлый, подложка тёмная; активные чипы/вкладки — светлые (поверх общего правила кнопок) */
html.ui2 main #fsort,html.ui2 main #fsort:not(#_z){background-color:rgba(30,32,42,.55)!important;border:0!important;border-radius:0!important}
@media (max-width:760px){html.ui2 main #fsort:not(#_z){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23E6E8EF' stroke-width='2'%3E%3Cpath d='M7 4v16M3 16l4 4 4-4M17 20V4M13 8l4-4 4 4'/%3E%3C/svg%3E")!important}}
html.ui2 main button.chip.on,html.ui2 main .chips button.on,html.ui2 main .tabsl button.on,html.ui2 main .seg button.on,html.ui2 main .viewsw button.on,html.ui2 main .htabs button.on,html.ui2 main button.rbtn.on,html.ui2 main button.fic.on,html.ui2 main button.ftog.open{background:#ECEDF2!important;color:#1F2129!important;backdrop-filter:none!important}
html.ui2 main button.chip.on *,html.ui2 main .chips button.on *,html.ui2 main .tabsl button.on *{color:#1F2129!important}
/* главная кнопка — светлая и внутри рядов вкладок/чипов («Новая задача», «Новая заявка») */
html.ui2 .layout main button.pri,html.ui2 .layout main .tabsl button.pri,html.ui2 .layout main .chips button.pri{background:#ECEDF2!important;color:#1F2129!important;backdrop-filter:none!important}
html.ui2 .layout main button.pri:hover{background:#fff!important;color:#000!important}
html.ui2 .layout main button.pri svg{stroke:#1F2129!important}
/* главная: сам блок не анимируем — transform от анимации ломает закреплённые колонки (fixed считается от блока, а не от экрана); карточки внутри анимируются */
html.ui2 #main>.u2home{animation:none!important;transform:none!important}
/* 23.10 — телефон: верхняя полоса непрозрачная, в цвет бара (и область часов/выреза над ней); меню под аватаром — во всю ширину под полосой, непрозрачное, сдвигает экран вниз (JS) */
@media (max-width:900px){
  html.ui2 .u2top{background:#2D2F38!important;backdrop-filter:none!important}
  html.ui2 .u2menu{position:fixed!important;left:0!important;right:0!important;width:auto!important;max-height:none!important;background:#2D2F38!important;backdrop-filter:none!important;box-shadow:0 14px 24px -18px rgba(0,0,0,.6)!important;padding:12px 14px 14px!important;animation:u2drop .2s ease both}
  html.ui2 .layout.u2 .body{transition:padding-top .2s ease}
}
@keyframes u2drop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media (max-width:900px){html.ui2 .u2menu select{height:42px!important;line-height:normal;padding:0 12px!important;}html.ui2 .u2menu .wmode,html.ui2 .u2menu .online,html.ui2 .u2menu .sfb button{border-radius:0!important}}
/* 23.10 — телефон: область над верхней полосой (часы, вырез) — тёмная. Safari красит её фоном корня страницы, поэтому корень тёмный,
   а серый градиент с улицей переносим на body (видео-фон и так лежит поверх) */
@media (max-width:900px){
  html.ui2{background:#2D2F38!important;background-image:none!important}
  html.ui2 body{background:linear-gradient(160deg,rgba(190,191,206,.50) 0%,rgba(166,167,186,.50) 50%,rgba(135,136,156,.52) 100%),url(/bg/eco.jpg?v=2) center/cover no-repeat!important;background-blend-mode:normal,luminosity!important;background-color:#A3A4B6!important;min-height:100vh}
}
/* 23.10 — главная: переключатель «Лента событий / Новости». На компьютере скрыт (блоки рядом), на телефоне виден один блок */
html.ui2 .u2sw{display:none}
@media (max-width:900px){
  html.ui2 .u2home .u2sw{display:flex;order:-2;position:sticky;z-index:6;background:linear-gradient(160deg,rgba(46,48,60,.94),rgba(30,32,42,.94));backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
  html.ui2 .layout.u2 main .u2sw button{flex:1;height:46px!important;margin:0!important;padding:0 10px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:rgba(226,227,236,.55)!important;font-size:15px!important;font-weight:500!important;position:relative;transition:color .2s,background .2s}
  html.ui2 .layout.u2 main .u2sw button.on{color:#F3F3F6!important;background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.02))!important}
  html.ui2 .layout.u2 main .u2sw button.on::after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:2px;background:#ECEDF2}
  html.ui2 .u2home[data-sw=line] .u2news,html.ui2 .u2home[data-sw=news] .u2line{display:none!important}
  html.ui2 .u2home .u2h{display:none!important}
}
/* 23.10 — телефон: верхняя полоса опущена ниже (на 10px дальше от часов) и чуть выше; всё, что под ней, сдвинуто на столько же */
@media (max-width:900px){
  html.ui2 .u2top{height:calc(62px + env(safe-area-inset-top))!important;padding-top:calc(10px + env(safe-area-inset-top))!important}
  html.ui2 .layout.u2 .body{padding-top:calc(62px + env(safe-area-inset-top))}
  html.ui2 .u2menu{top:calc(62px + env(safe-area-inset-top))!important}
  html.ui2 .u2home .u2sw{top:calc(62px + env(safe-area-inset-top))}
  html.ui2 .u2side{padding-top:calc(10px + env(safe-area-inset-top))!important}
}
/* 23.10 — телефон: страница — отдельный слой, чтобы светлый фон body рисовался ПОД видео, а не закрывал его */
@media (max-width:900px){html.ui2 body{isolation:isolate}}
/* 23.10 — фоновое видео чуть цветнее (Никита: «не прям чб») — обесцвечивание .92 → .5 */
html.ui2 #u2bgv{filter:grayscale(.5) contrast(1.05) brightness(1.25)!important}
/* 23.10 — телефон: картинка улицы сдвинута так, чтобы машина и дорога стояли по центру экрана */
@media (max-width:900px){html.ui2 img#u2bgv{object-position:58% 55%!important}}
/* 23.10 — приветствие при открытии (новый интерфейс): пять точек прыгают волной (по гифке-рефу Никиты), под ними «Добрый вечер, Имя», плавное исчезание.
   Не зависит от html.ui2 — появляется раньше, чем приложение узнаёт, что интерфейс новый */
#u2hi{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:opacity .85s cubic-bezier(.4,0,.2,1);animation:hiIn .35s ease both}
#u2hi .hiin{display:flex;flex-direction:column;align-items:center;transition:transform .85s cubic-bezier(.4,0,.2,1),filter .85s ease,opacity .85s ease}
#u2hi .hidots{display:flex;gap:11px;height:52px;align-items:flex-end;padding-bottom:6px}
#u2hi .hidots i{display:block;width:17px;height:17px;border-radius:50%;transform-origin:50% 100%;
  background:var(--c);box-shadow:0 7px 12px -4px color-mix(in srgb,var(--c) 55%,transparent);
  animation:hiHop 1.2s cubic-bezier(.45,0,.55,1) infinite;animation-delay:calc(var(--i) * .1s)}
#u2hi .hidots i:nth-child(1){--i:0;--c:#1E8FF8}
#u2hi .hidots i:nth-child(2){--i:1;--c:#20A3F7}
#u2hi .hidots i:nth-child(3){--i:2;--c:#22B5F7}
#u2hi .hidots i:nth-child(4){--i:3;--c:#24C6F7}
#u2hi .hidots i:nth-child(5){--i:4;--c:#27D5F8}
@keyframes hiHop{
  0%,72%,100%{transform:translateY(0) scale(1,1)}
  8%{transform:translateY(0) scale(1.22,.78)}
  22%{transform:translateY(-24px) scale(.84,1.18)}
  34%{transform:translateY(-32px) scale(1,1)}
  48%{transform:translateY(-14px) scale(.86,1.14)}
  58%{transform:translateY(0) scale(1.26,.74)}
  66%{transform:translateY(0) scale(.96,1.04)}
}
#u2hi .hitx{min-height:34px;font-size:25px;font-weight:500;letter-spacing:.01em;text-align:center;padding:0 24px;line-height:1.3}
#u2hi .hitx span{display:inline-block;opacity:0;transform:translateY(12px);filter:blur(8px)}
#u2hi.named .hitx span{animation:hiWord .8s cubic-bezier(.2,.8,.2,1) both;}
#u2hi .hitx .nm{font-weight:700}
@keyframes hiWord{to{opacity:1;transform:none;filter:blur(0)}}
@keyframes hiIn{from{opacity:0}to{opacity:1}}
#u2hi.out{opacity:0;pointer-events:none}
#u2hi.out .hiin{transform:translateY(-10px) scale(.96);filter:blur(6px);opacity:0}
@media (max-width:600px){#u2hi .hitx{font-size:21px}}
/* 23.10 — приветствие: вместо точек логотип Spektrum (вектор). Грани слетаются из осколков и собираются в «С» (≈1 с),
   контур прорисовывается, осколки выскакивают и парят, пока идёт загрузка; приветствие проявляется после сборки.
   Стили точек (.hidots) оставлены — можно вернуть под логотип */
#u2hi .hiin{gap:30px}
#u2hi .hilogo{display:block;width:150px;height:auto;overflow:visible;}
#u2hi .hf{stroke-width:1.5;stroke-linejoin:round;transform-box:fill-box;transform-origin:center;opacity:0;
  animation:hiFace .85s cubic-bezier(.2,.9,.25,1.12) both;animation-delay:calc(var(--d) + .15s)}
@keyframes hiFace{from{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--r)) scale(.25)}55%{opacity:1}to{opacity:1;transform:none}}
#u2hi .ho{fill:none;stroke:#577897;stroke-width:4;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;opacity:.85;animation:hiLine .7s ease-out 1s both}
@keyframes hiLine{to{stroke-dashoffset:0}}
#u2hi .hk{stroke:#577897;stroke-width:3;stroke-linejoin:round;transform-box:fill-box;transform-origin:center;opacity:0;
  animation-name:hiFragIn,hiFloat;animation-duration:.55s,2.4s;animation-timing-function:cubic-bezier(.2,.9,.3,1.3),ease-in-out;
  animation-iteration-count:1,infinite;animation-fill-mode:both,none;animation-delay:calc(1.05s + var(--i) * .07s),calc(1.65s + var(--i) * .07s)}
@keyframes hiFragIn{from{opacity:0;transform:translate(-90px,0) rotate(-50deg) scale(0)}to{opacity:1;transform:none}}
@keyframes hiFloat{0%,100%{transform:none}50%{transform:translate(7px,-9px) rotate(14deg)}}
#u2hi.named .hitx span{animation-delay:calc(var(--d) + 1.1s)}
@media (max-width:600px){#u2hi .hilogo{width:128px}#u2hi .hiin{gap:26px}}
/* 23.10 — приветствие на графите (Никита: «на графитовом, а не светлом»): фон в тон верхней полосы, текст светлый */
#u2hi{background:radial-gradient(900px 600px at 50% 40%,rgba(255,255,255,.06),rgba(255,255,255,0) 70%),linear-gradient(160deg,#363841 0%,#2D2F38 50%,#22232A 100%)}
#u2hi .hitx{color:#ECEDF2}
#u2hi .hilogo{filter:drop-shadow(0 10px 18px rgba(0,0,0,.45))}
/* 28.10 — таблица счетов (реестр, «Мои счета» и др.): столбец с галочками узкий. Таблица во всю ширину (.tbl{width:100%}),
   у столбцов с данными ширина задана, и на широком мониторе весь запас уходил в столбец галочек. Только компьютер — на телефоне таблица карточками */
@media (min-width:901px){
  .tbl th.ck,.tbl:has(th.ck) tr>td:first-child{width:44px;min-width:44px;max-width:44px;padding-left:12px;padding-right:8px;box-sizing:border-box}
}
/* 28.10 — новый интерфейс: выпадающий список (объекты, контрагенты, статусы) уходил под таблицу. Анимация появления делает каждый блок
   раздела отдельным слоем, и нижний блок (таблица) ложится поверх верхнего (фильтры). Пока в блоке открыт список — блок поднимается над соседями */
html.ui2 #main>*:has(.msp:not([hidden])){position:relative;z-index:50}
/* 28.10 — заглушка техработ в виде приветствия (Никита): графит, логотип собирается из осколков, держится, разлетается — по кругу.
   Не зависит от html.ui2: у сотрудников во время техработ класс нового интерфейса ещё не ставится */
.u2mt{position:fixed;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;padding:24px;
  background:radial-gradient(900px 600px at 50% 40%,rgba(255,255,255,.06),rgba(255,255,255,0) 70%),linear-gradient(160deg,#363841 0%,#2D2F38 50%,#22232A 100%);
  font-family:Montserrat,Onest,system-ui,-apple-system,"Segoe UI",sans-serif;animation:hiIn .5s ease both}
.u2mt .hiin{display:flex;flex-direction:column;align-items:center;gap:30px;text-align:center;max-width:420px}
.u2mt .hilogo{display:block;width:150px;height:auto;overflow:visible;filter:drop-shadow(0 10px 18px rgba(0,0,0,.45))}
.u2mt .hf{stroke-width:1.5;stroke-linejoin:round;transform-box:fill-box;transform-origin:center;opacity:0;
  animation:mtFace 5.2s infinite both;animation-delay:var(--d)}
@keyframes mtFace{
  0%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--r)) scale(.25);animation-timing-function:cubic-bezier(.2,.9,.25,1.12)}
  20%{opacity:1;transform:none}
  74%{opacity:1;transform:none;animation-timing-function:cubic-bezier(.55,0,.75,.2)}
  92%,100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--r)) scale(.25)}}
.u2mt .ho{fill:none;stroke:#577897;stroke-width:4;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;opacity:.85;animation:mtLine 5.2s ease-in-out infinite both}
@keyframes mtLine{0%,18%{stroke-dashoffset:1;opacity:.85}32%,70%{stroke-dashoffset:0;opacity:.85}82%,100%{stroke-dashoffset:0;opacity:0}}
.u2mt .hk{stroke:#577897;stroke-width:3;stroke-linejoin:round;transform-box:fill-box;transform-origin:center;animation:hiFloat 2.4s ease-in-out infinite;animation-delay:calc(var(--i) * .3s)}
.u2mt .mtx{display:flex;flex-direction:column;gap:10px}
.u2mt .mtx b{font-size:24px;font-weight:600;color:#ECEDF2;letter-spacing:.01em}
.u2mt .mtx span{font-size:14px;line-height:1.5;color:rgba(236,237,242,.6)}
.u2mt #mrefresh{border:0;border-radius:0;background:rgba(255,255,255,.06);color:#ECEDF2;font:inherit;font-size:14px;font-weight:500;padding:11px 22px;cursor:pointer;transition:background .2s}
.u2mt #mrefresh:hover{background:linear-gradient(90deg,rgba(255,255,255,.14),rgba(255,255,255,.04))}
@media (max-width:600px){.u2mt .hilogo{width:128px}.u2mt .mtx b{font-size:20px}.u2mt .hiin{gap:26px}}
@media (prefers-reduced-motion:reduce){.u2mt .hf{animation:none;opacity:1;transform:none}.u2mt .ho{animation:none;stroke-dashoffset:0}.u2mt .hk{animation:none}}
/* 28.10 — страница входа в новом стиле (как заглушка техработ): логотип собирается один раз, осколки парят; поле и кнопка с острыми углами */
.u2mt.u2once .hf{animation:hiFace .85s cubic-bezier(.2,.9,.25,1.12) both;animation-delay:calc(var(--d) + .15s)}
.u2mt.u2once .ho{animation:hiLine .7s ease-out 1s both}
.u2login form{display:flex;flex-direction:column;gap:12px;width:min(320px,86vw)}
.u2login input{height:48px;padding:0 16px;border:0;border-radius:0;background:rgba(255,255,255,.07);color:#ECEDF2;font:inherit;font-size:15px;outline:none;transition:background .2s}
.u2login input::placeholder{color:rgba(236,237,242,.4)}
.u2login input:focus{background:rgba(255,255,255,.11);box-shadow:inset 0 -2px 0 #ECEDF2}
.u2login button.pri{height:48px;font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s}

.u2login .err{min-height:18px;font-size:13px;color:#FF9A8F;text-align:center}
.u2login .err:empty{min-height:0}
.u2login button.pri{border-radius:0!important;box-shadow:none!important;background:#ECEDF2!important;color:#22242E!important;border:0!important}
.u2login button.pri:hover{background:#fff!important}

/* ═══ 28.10 — блоки Г и Д проверки (дизайн, компьютер и телефон) ═══ */
/* Г6: тост по центру — анимация нового дизайна сбивала центрирование */
@keyframes u2toast{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
html.ui2 .toast{animation:u2toast .25s cubic-bezier(.2,.8,.2,1) both}
/* Г7: ноутбук (≤ 900 по высоте) — «Лента событий» не уходит под ассистента */
@media (min-width:1200px){html.ui2 .u2home .u2news .u2list{max-height:calc(100vh - 68px - 410px - 32px - 52px)!important}}
/* Г8: на странице «Ассистент» плавающая кнопка не нужна (лежала на «Спросить»);
   Г15: и не лезет поверх открытого бокового меню, меню под аватаром и результатов поиска */
body:has(#aimain) #aifab,body:has(.layout.nav-open) #aifab,body:has(details.u2me[open]) #aifab,body:has(#u2res:not([hidden])) #aifab{opacity:0!important;pointer-events:none!important}
/* Г9: точки и круги, которые «радиус 0» сделал квадратными */
html.ui2 main .u2t .tg i,html.ui2 .u2t .tg i,html.ui2 .spin,html.ui2 main .hstep span{border-radius:50%!important}
/* Г10: остатки скруглений — верхняя и боковая полосы, меню, карточка счёта, ассистент */
html.ui2 .u2search,html.ui2 .u2res,html.ui2 .u2res .ic,html.ui2 .u2menu,html.ui2 .u2menu select,html.ui2 .u2menu .online,html.ui2 .u2menu .wmode,html.ui2 .u2menu .wmode button,html.ui2 .u2brand .logo,html.ui2 .u2side .nav .cnt{border-radius:0!important}
html.ui2 .inv2 .tag,html.ui2 .inv2 button:not(.ix),html.ui2 .inv2 input,html.ui2 .inv2 select,html.ui2 .inv2 textarea,html.ui2 .inv2 .dli,html.ui2 .inv2 .xclip,html.ui2 .inv2 .i2menu,html.ui2 .inv2 .i2menu button{border-radius:0!important}
html.ui2 #aip,html.ui2 #aip *:not(.dot){border-radius:0!important}
/* Г12: «Контрагенты» — длинное название переносится, таблица в ширину экрана */
html.ui2 .tbl:has([data-card]) td:first-child{white-space:normal;min-width:180px;max-width:260px}
/* Г17: хлебные крошки и подписи вне карточек — читаемые на сером фоне */
html.ui2 .ptop .crumbs{color:rgba(243,243,246,.82)!important;text-shadow:0 1px 2px rgba(0,0,0,.35)}
html.ui2 .ptop .psub,html.ui2 #main>.sub,html.ui2 #main>p.sub,html.ui2 #main>.sumline,html.ui2 #main>p.sumline{color:rgba(243,243,246,.86)!important;text-shadow:0 1px 2px rgba(0,0,0,.35)}
/* Д: телефон */
@media (max-width:900px){
  /* Д1, Д7: результаты поиска — под верхней полосой (она теперь 62px + вырез), с прокруткой, нижняя строка не обрезается */
  html.ui2 .u2res{top:calc(62px + env(safe-area-inset-top))!important;max-height:calc(100vh - 62px - env(safe-area-inset-top) - 16px)!important;overflow:auto!important}
  /* Д2: раздел по высоте экрана — от новой высоты полосы, без лишней прокрутки */
  html.ui2 .layout.u2 main:not(:has(.u2home)){min-height:calc(100vh - 62px - env(safe-area-inset-top) - 16px)!important}
  /* Д8: кнопка «+» в верхней полосе — без лишних полей */
  html.ui2 .u2add{padding:0!important;width:34px!important;justify-content:center}
  /* Д4: быстрые кнопки срока в форме задачи переносятся, а не обрезаются */
  html.ui2 .mbox .chips{flex-wrap:wrap!important}
  /* Д6: суммы не рвутся посередине («…78 ₽» на новой строке) */
  html.ui2 main .tile b,html.ui2 main .pcs b,html.ui2 main .mon b,html.ui2 main [class*=sum] b{white-space:nowrap}
}
@media (max-width:720px){
  /* Д3, Д5: в карточках-строках ячейки с длинным текстом или несколькими значениями — подпись сверху, значение по левому краю, ничего не вылезает */
  html.ui2 .tbl tr.row:not([data-amt]) td:is(.c-descr,.c-contractor,:has(> :nth-child(2))){flex-wrap:wrap!important;justify-content:flex-start!important;align-items:baseline;column-gap:8px;row-gap:4px;text-align:left!important}
  html.ui2 .tbl tr.row:not([data-amt]) td:is(.c-descr,.c-contractor,:has(> :nth-child(2)))::before{flex-basis:100%}
  html.ui2 .tbl tr.row:not([data-amt]) td:is(.c-descr,.c-contractor,:has(> :nth-child(2))) > *{max-width:100%!important;text-align:left!important}
  html.ui2 .tbl tr.row:not([data-amt]) td > .sub{flex-basis:100%}
}
/* 28.10 (Никита: «бегунок внизу неудобно, подгоняет пусть размер в рамку»): таблицы счетов всегда по ширине рамки.
   Поля уже, заголовки и метка статуса переносятся, длинные слова/номера — тоже (только если иначе не влезает).
   На узких экранах скрываем второстепенные столбцы: < 1440 — «Категория», < 1300 — ещё «Приоритет» (срочные строки и так подсвечены).
   Если всё равно не влезло — не обрезаем молча, а даём прокрутку */
@media (min-width:761px){
  html.ui2 .wrap.fitw .tbl th,html.ui2 .wrap.fitw .tbl td{padding-left:9px!important;padding-right:9px!important}
  html.ui2 .wrap.fitw .tbl th{white-space:normal!important}
  html.ui2 .wrap.fitw .tbl td.c-object{min-width:80px!important}
  html.ui2 .wrap.fitw .tbl td.c-contractor{min-width:120px!important}
  html.ui2 .wrap.fitw .tbl td.c-descr{min-width:100px!important}
  html.ui2 .wrap.fitw .tbl td.c-status,html.ui2 .wrap.fitw .tbl td.c-date{min-width:0!important}
  html.ui2 .wrap.fitw .tbl td.c-status .tag{white-space:normal!important}
  html.ui2 .wrap.fitw .tbl td.c-object,html.ui2 .wrap.fitw .tbl td.c-contractor,html.ui2 .wrap.fitw .tbl td.c-descr,
  html.ui2 .wrap.fitw .tbl td.c-object *,html.ui2 .wrap.fitw .tbl td.c-contractor *,html.ui2 .wrap.fitw .tbl td.c-descr *{overflow-wrap:anywhere}
  html.ui2 .wrap.fitw .xclip{overflow:visible!important}
}
@media (min-width:761px) and (max-width:1439px){html.ui2 .wrap.fitw .tbl th[data-col=category],html.ui2 .wrap.fitw .tbl td.c-category{display:none!important}}
@media (min-width:761px) and (max-width:1299px){html.ui2 .wrap.fitw .tbl th[data-col=priority],html.ui2 .wrap.fitw .tbl td.c-priority{display:none!important}}

/* 28.10 — цвет «внимание» (ждёт действия): из светло-янтарного, похожего на золото старого дизайна, в оранжевый — как метка «Действия» на главной */
html.ui2 .warn{color:#FFC47E!important;background:rgba(255,170,80,.12)!important}
html.ui2 .warn .ic{color:#FFB45C!important}
html.ui2 .warn .sub{color:rgba(255,214,170,.8)!important}
html.ui2 .hm.by{fill:#FFB45C!important}html.ui2 .hl.by{fill:#FFB45C!important}

/* ───────── Карточка счёта (29.10, макет «волна»). Unbounded — крупное, Onest — остальное ───────── */
@font-face{font-family:Unbounded;font-style:normal;font-weight:300 600;font-display:swap;src:url(/fonts/unbounded-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Unbounded;font-style:normal;font-weight:300 600;font-display:swap;src:url(/fonts/unbounded-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
html.ui2 .drawer:has(.pane.inv3){background:radial-gradient(60% 50% at 18% 12%,rgba(99,255,250,.22),transparent 70%),radial-gradient(45% 40% at 85% 85%,rgba(255,134,80,.14),transparent 70%),rgba(14,15,24,.62)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}
html.ui2 .drawer .pane.inv2.inv3{--i3ink:#f3fafa;--i3ink2:#C3C1D6;--i3mute:#8F8DA9;--i3faint:#5B5975;--i3line:rgba(168,230,228,.12);--i3v:#63fffa;--i3p:#57d8d4;--i3o:#FF8650;--i3ok:#62E3A8;--i3warn:#FFB45C;
  position:relative;width:min(1180px,100%);max-height:calc(100vh - 48px);display:grid;grid-template-columns:minmax(0,1fr) 360px;align-items:start;overflow:visible;
  background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;font-family:Onest,system-ui,sans-serif;color:var(--i3ink)}
.inv3 .i3main{position:relative;z-index:1;min-width:0;max-height:calc(100vh - 48px);overflow:auto;scrollbar-width:none;padding:24px 30px 22px;display:flex;flex-direction:column;gap:14px;
  background:linear-gradient(165deg,rgba(37,58,57,.95),rgba(22,22,35,.95));box-shadow:0 50px 90px -40px rgba(0,0,0,.95),inset 0 0 0 1px rgba(168,230,228,.10)}
.inv3 .i3main::-webkit-scrollbar{display:none}
.inv3 .i3main::before{content:"";position:absolute;left:-80px;top:-120px;width:520px;height:340px;pointer-events:none;background:radial-gradient(closest-side,rgba(87,216,212,.20),rgba(99,255,250,.09) 55%,transparent);filter:blur(10px)}
.inv3 .i3main>*{position:relative}
.inv3 .i3h{display:flex;gap:16px;align-items:flex-start;padding-right:0}
.inv3 .i3h .t{flex:1;min-width:0}
.inv3 .i3thumb{flex:none;position:relative;display:block;width:44px;height:56px;background:linear-gradient(#f3fafa,#d7e8e7);box-shadow:0 12px 26px -10px rgba(0,0,0,.85),0 0 0 1px rgba(255,255,255,.12);transition:transform .25s var(--ease)}
.inv3 .i3thumb::before{content:"";position:absolute;left:7px;right:7px;top:9px;height:2px;background:#9A97B4;box-shadow:0 5px 0 #C8C6DA,0 10px 0 #C8C6DA,0 15px 0 #C8C6DA,0 26px 0 #9A97B4}
.inv3 .i3thumb i{position:absolute;left:-5px;bottom:7px;font-style:normal;font-size:8.5px;font-weight:600;letter-spacing:.06em;color:#fff;background:linear-gradient(90deg,var(--i3p),var(--i3o));padding:1px 4px}
.inv3 .i3thumb:hover{transform:translateY(-2px) rotate(-2deg)}
.inv3 .e3,.inv3 .l3{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--i3mute)}
.inv3 .i3h h2{margin:4px 0 6px!important;font-family:Unbounded,Onest,sans-serif;font-weight:400;font-size:19px;letter-spacing:-.015em;line-height:1.2;color:var(--i3ink)!important}
.inv3 .s3{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;color:var(--i3ink2);font-size:12.5px}
.inv3 .o3{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 11px 0 8px;font-size:12.5px;font-weight:500;color:#fff;white-space:nowrap;
  background:linear-gradient(90deg,rgba(99,255,250,.30),rgba(87,216,212,.18));box-shadow:inset 0 0 0 1px rgba(170,255,252,.35),0 0 18px -6px rgba(120,255,251,.7)}
.inv3 .o3 svg{width:14px;height:14px;fill:none;stroke:#b3fffc;stroke-width:2;stroke-linejoin:round}
.inv3 .cs3{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.inv3 .c3{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;font-size:11.5px;font-weight:500;white-space:nowrap}
.inv3 .c3.urg{color:#FFD2B8;background:linear-gradient(90deg,rgba(255,134,80,.22),rgba(87,216,212,.16));box-shadow:inset 0 0 0 1px rgba(255,134,80,.35)}
.inv3 .c3.urg i{width:6px;height:6px;border-radius:50%;background:var(--i3o);box-shadow:0 0 10px var(--i3o)}
.inv3 .c3.wrn{color:#FFDCB2;background:rgba(255,180,92,.09);box-shadow:inset 0 0 0 1px rgba(255,180,92,.32)}
.inv3 .c3.bad{color:#FFC0C0;background:rgba(255,107,107,.10);box-shadow:inset 0 0 0 1px rgba(255,107,107,.4)}
.inv3 .am3{text-align:right;flex:none;padding-top:30px}
.inv3 .am3 b{display:block;font-family:Unbounded,Onest,sans-serif;font-weight:300;font-size:25px;letter-spacing:-.02em;line-height:1.1}
.inv3 .am3 small{color:var(--i3mute);font-size:12px}
.inv3 .av3{display:flex;justify-content:flex-end;margin-top:10px}
.inv3 .av3 span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:600;color:#fff;margin-left:-7px;box-shadow:0 0 0 2px #253c3b}
.inv3 .i3top{position:absolute;right:0;top:-46px;z-index:3;display:flex;gap:6px}
.inv3 .i3top .ix{width:38px;height:38px;display:grid;place-items:center;background:rgba(255,255,255,.07)!important;border:0;color:var(--i3ink2)}
.inv3 .i3top .ix.i3share{width:auto;padding:0 13px 0 11px;display:inline-flex;align-items:center;gap:7px;font-size:12px}
.inv3 #dshare{display:none!important}   /* ссылку даёт «Поделиться» */
.inv3 .i3top svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
/* волна */
.inv3 .w3{position:relative;height:150px;margin:0 0 0 -30px;flex:none}
.inv3 .w3 canvas{display:block;width:100%;height:100%}
.inv3 .w3st{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;background:none!important;border:0!important;padding:0!important;box-shadow:none!important;min-height:0!important;height:auto!important}
.inv3 .w3st .dot{width:9px;height:9px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.08),0 0 14px rgba(190,255,253,.9)}
.inv3 .w3st.fut .dot{width:7px;height:7px;background:transparent;box-shadow:inset 0 0 0 1.5px rgba(168,230,228,.45)}
.inv3 .w3st.rej .dot{width:14px;height:14px;background:#FF6B6B;box-shadow:0 0 18px rgba(255,107,107,.9)}
.inv3 .w3st.cur .dot{width:16px;height:16px;background:radial-gradient(circle,#fff 0 30%,var(--i3p) 31% 60%,var(--i3o));box-shadow:0 0 22px rgba(255,120,160,.95)}
.inv3 .w3st.cur::before,.inv3 .w3st.cur::after{content:"";position:absolute;left:50%;top:8px;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;border:1.5px solid rgba(255,140,170,.8);animation:w3pulse 2.1s var(--ease) infinite}
.inv3 .w3st.cur::after{animation-delay:1.05s}
@keyframes w3pulse{from{transform:scale(1);opacity:.6}to{transform:scale(3.2);opacity:0}}
.inv3 .w3st .nm{position:absolute;top:18px;width:98px;left:50%;margin-left:-49px;text-align:center;line-height:1.25}
.inv3 .w3st .nm b{display:block;font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:500;color:var(--i3ink2)}
.inv3 .w3st.fut .nm{opacity:.45;transition:opacity .2s var(--ease)}
.inv3 .w3st.fut:hover .nm{opacity:1}
.inv3 .w3st.fut .nm b{color:var(--i3faint)}
.inv3 .w3st.cur .nm b{color:#fff}
.inv3 .w3st .nm small{display:block;font-size:11px;color:var(--i3mute);margin-top:2px}
.inv3 .w3st .cm{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);width:20px;height:18px;display:grid;place-items:center;transition:opacity .2s var(--ease);
  background:linear-gradient(135deg,rgba(99,255,250,.55),rgba(87,216,212,.4));box-shadow:0 0 12px rgba(120,255,251,.6)}
.inv3 .w3st .cm svg{width:11px;height:11px;fill:none;stroke:#fff;stroke-width:2;stroke-linejoin:round}
.inv3 .w3st.bubon .cm{opacity:0}
.inv3 .w3st .tip{position:absolute;bottom:22px;left:50%;transform:translate(-50%,6px);opacity:0;pointer-events:none;white-space:nowrap;background:rgba(34,56,55,.95);
  padding:9px 12px;font-size:12px;color:var(--i3ink2);box-shadow:0 18px 40px -16px rgba(0,0,0,.8);transition:opacity .25s var(--ease),transform .25s var(--ease);z-index:3;text-align:left}
.inv3 .w3st .tip b{color:var(--i3ink);font-weight:500}
.inv3 .w3st .tip .tc{display:block;margin-top:5px;color:var(--i3ink)}
.inv3 .w3st:hover .tip,.inv3 .w3st:focus-visible .tip{opacity:1;transform:translate(-50%,0)}
.inv3 .w3st.tl .tip{left:-12px;transform:translate(0,6px)}
.inv3 .w3st.tr .tip{left:auto;right:-12px;transform:translate(0,6px)}
.inv3 .w3st.tl:hover .tip,.inv3 .w3st.tl:focus-visible .tip,.inv3 .w3st.tr:hover .tip,.inv3 .w3st.tr:focus-visible .tip{transform:translate(0,0)}
.inv3 .w3bub{position:absolute;transform:translate(-26px,-100%);z-index:2;background:linear-gradient(135deg,rgba(99,255,250,.32),rgba(87,216,212,.22));backdrop-filter:blur(12px);
  padding:8px 12px;font-size:12px;color:var(--i3ink);white-space:nowrap;box-shadow:inset 0 0 0 1px rgba(170,255,252,.22),0 14px 30px -14px rgba(0,0,0,.8)}
.inv3 .w3bub small{display:block;color:var(--i3mute);font-size:10.5px;margin-top:1px}
.inv3 .w3bub .lnk{background:none!important;border:0;padding:0;min-height:0;height:auto;color:#8EA2FF;font-size:10.5px;text-decoration:underline;text-underline-offset:3px;box-shadow:none!important}
.inv3 .w3bub::after{content:"";position:absolute;left:26px;bottom:-38px;width:1px;height:38px;background:linear-gradient(rgba(170,255,252,.5),transparent)}
.inv3 .w3bub.lft{transform:translate(calc(-100% + 26px),-100%)}
.inv3 .w3bub.lft::after{left:auto;right:26px}
.inv3 .w3bub.pop{animation:w3in .35s var(--ease)}
@keyframes w3in{from{opacity:0;margin-top:6px}to{opacity:1;margin-top:0}}
.inv3 .i3info{display:none}
/* «Сейчас» — сам кнопка действий */
.inv3 .n3{padding:11px 14px;background:rgba(255,180,92,.08);box-shadow:inset 0 0 0 1px rgba(255,180,92,.25);font-size:12.5px;color:#FFE2C2}
.inv3 .now3{width:100%;display:flex;align-items:center;gap:18px;padding:16px 18px!important;min-height:76px;height:auto!important;border:0!important;border-radius:0!important;text-align:left;cursor:pointer;font:inherit;color:var(--i3ink)!important;
  background:linear-gradient(100deg,rgba(99,255,250,.20),rgba(87,216,212,.12) 45%,rgba(255,134,80,.10)),rgba(34,56,55,.88)!important;box-shadow:inset 0 0 0 1px rgba(170,255,252,.16),0 30px 60px -30px rgba(0,0,0,.9)!important;
  transition:transform .2s var(--ease),filter .25s var(--ease)}
.inv3 .now3:hover{filter:brightness(1.1)}
.inv3 .now3:active{transform:scale(.98)}
.inv3 .now3 .tx{flex:1;min-width:0;display:flex;flex-direction:column}
.inv3 .now3 .l3{color:#b8fffd}
.inv3 .now3 b{display:block;font-size:15.5px;font-weight:600;letter-spacing:-.01em;margin:3px 0 2px;color:var(--i3ink2)}
.inv3 .now3 .tx>span:not(.l3){color:var(--i3ink2);font-size:13px}
.inv3 .now3>svg{flex:none;width:18px;height:18px;fill:none;stroke:var(--i3ink2);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s var(--ease)}
.inv3 .now3:hover>svg{transform:translateX(3px)}
.inv3 .now3.mine{background:linear-gradient(90deg,var(--i3v),var(--i3p) 55%,var(--i3o))!important;box-shadow:0 16px 34px -16px rgba(87,216,212,.75)!important}
.inv3 .now3.mine b{color:#fff;margin-top:0}
.inv3 .now3.mine .tx>span{color:rgba(255,255,255,.86)}
.inv3 .now3.mine>svg{stroke:#fff}
.inv3 .now3 .tx>.s1{margin-top:2px;font-size:13.5px!important;font-weight:500;color:#fff!important}
.inv3 .now3 .tx>.s1 em{font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;margin-left:10px;padding-left:10px;box-shadow:inset 1px 0 0 rgba(255,255,255,.35)}
.inv3 .now3 .tx>.s2{margin-top:4px;font-size:12px!important;opacity:.72}
.inv3 .now3.done{background:linear-gradient(100deg,rgba(98,227,168,.16),rgba(98,227,168,.05)),rgba(34,56,55,.88)!important;box-shadow:inset 0 0 0 1px rgba(98,227,168,.35)!important}
.inv3 .now3.bad{background:linear-gradient(100deg,rgba(255,107,107,.18),rgba(255,107,107,.05)),rgba(34,56,55,.88)!important;box-shadow:inset 0 0 0 1px rgba(255,107,107,.4)!important}
.inv3 .c3.ok{color:#C4F2DD;background:rgba(98,227,168,.10);box-shadow:inset 0 0 0 1px rgba(98,227,168,.35)}
/* кнопки доставки — в меню «Сейчас», в спойлере не дублируем */
.inv3 #dlvb .acts{display:none!important}
/* факты, данные, спойлеры */
.inv3 .f3{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--i3line);border-bottom:1px solid var(--i3line)}
.inv3 .f3>div,.inv3 .kv3>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.inv3 .f3>div{padding:13px 16px 12px}
.inv3 .f3>div+div{border-left:1px solid var(--i3line)}
.inv3 .v3{color:var(--i3ink2);font-size:13px;overflow-wrap:anywhere}
.inv3 .v3 a{color:#8EA2FF}
.inv3 .kv3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 20px;padding-top:4px}
.inv3 .sp3n{padding:10px 16px;background:rgba(255,255,255,.035);font-size:12.5px;color:var(--i3mute)}
.inv3 .d3{background:rgba(255,255,255,.035)!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.inv3 .d3>summary{padding:12px 16px!important;display:flex;align-items:center;gap:12px}
.inv3 .d3>summary b{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:var(--i3ink2)}
.inv3 .d3>summary .sub{color:var(--i3mute);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
/* правая панель: слоем поверх, с тенью */
.inv3 .i3side{position:relative;z-index:2;margin:30px 0 -18px -22px;max-height:calc(100vh - 96px);overflow:auto;display:flex;flex-direction:column;
  background:linear-gradient(170deg,rgba(38,62,61,.96),rgba(24,38,38,.96))!important;box-shadow:0 40px 80px -30px rgba(0,0,0,.95),inset 0 0 0 1px rgba(168,230,228,.10)!important;border:0!important;border-radius:0!important}
html.ui2 .drawer .pane.inv3 .i3side{background:linear-gradient(170deg,rgba(38,62,61,.95),rgba(24,38,38,.95))!important}   /* старое .inv2 .ir делало панель почти прозрачной */
.inv3 .i3share:hover{transform:none!important}   /* общий .ix:hover поворачивает кнопку на 90° — это для крестика */
/* документы — плитки с иконкой, как карточки на главной */
.inv3 .dl3{display:flex;flex-direction:column;gap:8px}
.inv3 .dc3{display:flex;align-items:center;gap:12px;padding:10px 12px;background:rgba(255,255,255,.04);color:var(--i3ink)!important;text-decoration:none!important;transition:background .2s var(--ease),transform .2s var(--ease)}
.inv3 .dc3:hover{background:rgba(255,255,255,.08)}
.inv3 .dc3:active{transform:scale(.98)}
.inv3 .dc3 .di{flex:none;width:38px;height:38px;display:grid;place-items:center;font:600 10px/1 Onest,system-ui,sans-serif;letter-spacing:.04em;color:#fff;background:linear-gradient(135deg,#6E7385,#4A4E5E)}
.inv3 .dc3 .di.i{background:linear-gradient(135deg,var(--i3v),var(--i3p))}
.inv3 .dc3 .di.u{background:linear-gradient(135deg,var(--i3p),var(--i3o))}
.inv3 .dc3 .di.a{background:linear-gradient(135deg,#FF8650,#FFB45C)}
.inv3 .dc3 .di.f{background:linear-gradient(135deg,#3FB98A,#62E3A8)}
.inv3 .dc3 .di.d{background:linear-gradient(135deg,#5B6CFF,#63fffa)}
.inv3 .dc3 .di.p{background:linear-gradient(135deg,#8F8DA9,#5B5975)}
.inv3 .dc3 .dt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.inv3 .dc3 .dt b{font-weight:500;font-size:13px;color:var(--i3ink)}
.inv3 .dc3 .dt small{font-size:11.5px;color:var(--i3mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inv3 .dc3>svg{flex:none;width:16px;height:16px;fill:none;stroke:var(--i3mute);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.inv3 .dc3.add{background:none;box-shadow:inset 0 0 0 1px rgba(168,230,228,.22)}
.inv3 .dc3.add .di{background:none;box-shadow:inset 0 0 0 1px rgba(170,255,252,.35);font-size:18px;font-weight:400;color:#b8fffd}
.inv3 .i3side .itabs{display:flex;gap:4px;padding:0 18px;border-bottom:1px solid var(--i3line);background:none!important}
.inv3 .i3side .itabs button{position:relative;background:none!important;border:0!important;box-shadow:none!important;padding:16px 8px 14px!important;height:auto!important;font-size:12.5px;color:var(--i3mute)!important;border-radius:0!important}
.inv3 .i3side .itabs button .n{color:var(--i3faint);margin-left:4px;background:none!important}
.inv3 .i3side .itabs button.on{color:var(--i3ink)!important}
.inv3 .i3side .itabs button.on::after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:2px;background:linear-gradient(90deg,var(--i3v),var(--i3p),var(--i3o));box-shadow:0 0 12px rgba(87,216,212,.8)}
.inv3 .i3side [data-ip]{padding:16px 18px}
.inv3 .tl3{position:relative;margin:0;padding:0 0 0 22px;list-style:none}
.inv3 .tl3::before{content:"";position:absolute;left:4px;top:6px;bottom:6px;width:1px;background:linear-gradient(var(--i3p),rgba(99,255,250,.5) 30%,rgba(168,230,228,.12))}
.inv3 .tl3 li{position:relative;padding:0 0 16px}
.inv3 .tl3 li::before{content:"";position:absolute;left:-21px;top:6px;width:7px;height:7px;border-radius:50%;background:#a8fffc;box-shadow:0 0 10px rgba(168,255,252,.8)}
.inv3 .tl3 li:first-child::before{background:var(--i3o);box-shadow:0 0 12px var(--i3o)}
.inv3 .tl3 b{display:block;font-weight:400;color:var(--i3ink);font-size:13px}
.inv3 .tl3 small{display:block;color:var(--i3mute);font-size:11.5px;margin-top:2px}
.inv3 .tl3 .e{color:var(--i3mute)}
.inv3 .i3dock{display:none}
/* позиции счёта: строки таблицы на тёмном */
.inv3 .itt{width:100%}
/* веер «Действие» */
#fan{position:fixed;inset:0;z-index:9500}
#fan .fbg{position:absolute;inset:0;background:radial-gradient(circle,rgba(20,18,36,.35),rgba(10,10,20,.72));backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;transition:opacity .25s var(--ease)}
#fan.in .fbg{opacity:1}
#fan .fi{position:absolute;width:0;height:0;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;min-height:0!important;display:block;z-index:2}
#fan .fi .fc{position:absolute;left:0;top:0;width:58px;height:58px;margin:-29px 0 0 -29px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(160deg,rgba(58,56,84,.97),rgba(30,30,46,.97));
  box-shadow:inset 0 0 0 1px rgba(170,255,252,.25),0 14px 30px -10px rgba(0,0,0,.9);transform:translate(0,0) scale(.3);opacity:0;transition:transform .42s var(--ease) var(--d),opacity .3s var(--ease) var(--d),box-shadow .2s var(--ease)}
#fan .fi .fc svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#fan .fi .fl{position:absolute;left:0;top:0;width:max-content;max-width:96px;text-align:center;line-height:1.2;font:500 11.5px/1.2 Onest,system-ui,sans-serif;color:#fff;padding:3px 7px;background:rgba(20,20,32,.85);
  transform:translate(calc(-50% + var(--lx,0px)),36px) translate(0,0);opacity:0;transition:transform .42s var(--ease) var(--d),opacity .3s var(--ease) var(--d)}
#fan.in .fi .fc{transform:translate(var(--x),var(--y)) scale(1);opacity:1}
#fan.in .fi .fl{transform:translate(calc(-50% + var(--lx,0px)),36px) translate(var(--x),var(--y));opacity:1}
#fan .fi:hover .fc,#fan .fi:focus-visible .fc{box-shadow:inset 0 0 0 1px rgba(190,255,253,.7),0 0 26px rgba(87,216,212,.65)}
#fan .fi.pri .fc{width:68px;height:68px;margin:-34px 0 0 -34px;background:linear-gradient(135deg,#63fffa,#57d8d4 55%,#FF8650);box-shadow:0 0 30px rgba(87,216,212,.7)}
#fan .fi.pri .fl{transform:translate(calc(-50% + var(--lx,0px)),41px) translate(var(--x),var(--y))}
#fan .fi.danger .fc{background:linear-gradient(160deg,rgba(90,30,44,.97),rgba(50,20,30,.97));box-shadow:inset 0 0 0 1px rgba(255,107,107,.55),0 14px 30px -10px rgba(0,0,0,.9)}
#fan .fi.danger .fc svg{stroke:#FF8A8A}
#fan .fi.danger .fl{color:#FFB3B3}
#fan .fi.o .fl{transform:translate(calc(-50% + var(--lx,0px)),calc(-100% - 34px)) translate(0,0)}
#fan.in .fi.o .fl{transform:translate(calc(-50% + var(--lx,0px)),calc(-100% - 34px)) translate(var(--x),var(--y))}
#fan.sheet .shp{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:6px;padding:12px 12px calc(12px + env(safe-area-inset-bottom,0px))}
#fan.sheet .shb{display:flex;align-items:center;gap:12px;height:52px!important;min-height:0!important;padding:0 16px!important;border:0!important;border-radius:0!important;font:500 14px/1 Onest,system-ui,sans-serif;color:#fff!important;text-align:left;
  background:linear-gradient(160deg,rgba(58,56,84,.97),rgba(30,30,46,.97))!important;box-shadow:inset 0 0 0 1px rgba(170,255,252,.18),0 14px 30px -14px rgba(0,0,0,.9)!important;
  transform:translateY(24px);opacity:0;transition:transform .38s var(--ease) var(--d),opacity .28s var(--ease) var(--d)}
#fan.sheet .shb svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#fan.sheet .shb.pri{height:58px!important;font-weight:600;background:linear-gradient(100deg,#63fffa,#57d8d4 55%,#FF8650)!important;box-shadow:0 0 30px -6px rgba(87,216,212,.7)!important}
#fan.sheet .shb.danger{color:#FF9A9A!important;background:linear-gradient(160deg,rgba(70,26,38,.97),rgba(44,18,28,.97))!important;box-shadow:inset 0 0 0 1px rgba(255,107,107,.4)!important}
#fan.sheet .shb.cx{justify-content:center;margin-top:4px;background:#ECEDF2!important;color:#1A1A26!important}
#fan.sheet .shb:active{transform:scale(.98)}
#fan.sheet.in .shb{transform:none;opacity:1}
#fan.sheet.out .shb{opacity:0;transform:translateY(16px);transition-delay:0s;transition-duration:.18s}
#fan .fx{position:absolute;width:46px!important;height:46px!important;min-height:0!important;margin:-23px 0 0 -23px;padding:0!important;border-radius:50%!important;border:0!important;display:grid;place-items:center;background:#ECEDF2!important;color:#1A1A26!important;z-index:3;
  transform:rotate(-90deg) scale(.6);opacity:0;transition:transform .35s var(--ease),opacity .25s var(--ease)}
#fan .fx svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.2}
#fan.in .fx{transform:none;opacity:1}
#fan.out .fbg,#fan.out .fi .fc,#fan.out .fi .fl,#fan.out .fx{opacity:0;transition-delay:0s;transition-duration:.18s}
@media (prefers-reduced-motion:reduce){#fan .fi .fc,#fan .fi .fl,#fan .fx,#fan.sheet .shb{transition:opacity .2s linear!important}.inv3 .w3st.cur::before,.inv3 .w3st.cur::after{animation:none;opacity:0}}
/* широкий экран: история — отдельной панелью слева, чуть поверх карточки (как обсуждение справа) */
.inv3 .i3left{display:none}
@media (min-width:1360px){
  html.ui2 .drawer .pane.inv2.inv3{width:min(1480px,100%);grid-template-columns:290px minmax(0,1fr) 360px}
  .inv3 .i3left{display:flex;flex-direction:column;position:relative;z-index:2;margin:30px -22px -18px 0;max-height:calc(100vh - 96px);overflow:auto;scrollbar-width:thin;
    background:linear-gradient(190deg,rgba(38,62,61,.95),rgba(24,38,38,.95));box-shadow:0 40px 80px -30px rgba(0,0,0,.95),inset 0 0 0 1px rgba(168,230,228,.10)}
  .inv3 .i3left .lh{position:relative;flex:none;padding:16px 18px 14px;font-size:12.5px;color:var(--i3ink);border-bottom:1px solid var(--i3line)}
  .inv3 .i3left .lh::after{content:"";position:absolute;left:18px;width:58px;bottom:-1px;height:2px;background:linear-gradient(90deg,var(--i3v),var(--i3p),var(--i3o));box-shadow:0 0 12px rgba(87,216,212,.8)}
  .inv3 .i3left .lh .n{color:var(--i3faint);margin-left:6px}
  .inv3 .i3left .lb{padding:16px 18px}
  .inv3 .i3side [data-it=hist]{display:none!important}   /* история уже слева */
  .inv3 .w3{margin-left:-6px}   /* волна начинается после нахлёста панели истории */
}
/* просмотр файла поверх приложения (PDF, фото) */
#fv{position:fixed;inset:0;z-index:9700;display:flex;flex-direction:column;background:#14141F;color:#f3fafa;font-family:Onest,system-ui,sans-serif;animation:fvIn .25s cubic-bezier(.2,.8,.2,1)}
@keyframes fvIn{from{opacity:0}to{opacity:1}}
#fv .fvh{flex:none;display:flex;align-items:center;gap:6px;padding:calc(8px + env(safe-area-inset-top,0px)) max(10px,env(safe-area-inset-right,0px)) 8px max(14px,env(safe-area-inset-left,0px));background:linear-gradient(90deg,rgba(99,255,250,.22),rgba(87,216,212,.14) 55%,rgba(255,134,80,.10)),#1d2e2d}
#fv .fvh b{flex:1;min-width:0;font-weight:500;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#fv .fvz{display:flex;gap:6px}
#fv .fvh button{flex:none;width:40px;height:40px;min-height:0;padding:0;border:0;border-radius:0;display:grid;place-items:center;background:rgba(255,255,255,.08);color:#f3fafa;font:400 20px/1 Onest,system-ui,sans-serif;box-shadow:none}
#fv .fvh button:active{transform:scale(.96)}
#fv .fvh button[data-fvx]{background:#ECEDF2;color:#1A1A26}
#fv .fvh svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#fv .fvb{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;padding:8px 8px calc(16px + env(safe-area-inset-bottom,0px))}
#fv .fvp{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:max-content;min-width:100%}
#fv .fvp canvas{display:block;margin:0 auto;background:#fff;box-shadow:0 10px 30px -12px rgba(0,0,0,.8)}
#fv .fvi{display:block;max-width:100%;margin:0 auto}
#fv .fvl{padding:40px 20px;text-align:center;color:#C3C1D6;font-size:14px;line-height:1.5}
/* телефон: одна колонка, всё на ступень мельче, внизу — поле сообщения */
@media (max-width:760px){
  html.ui2 .drawer:has(.pane.inv3){padding:0!important;align-items:stretch}
  html.ui2 .drawer .pane.inv2.inv3{display:flex;flex-direction:column;width:100%;max-height:none;height:100%;overflow-y:auto;overflow-x:hidden;padding-bottom:76px;background:linear-gradient(170deg,rgba(37,58,57,.97),rgba(18,18,30,.98))!important}
  html.ui2 .drawer .pane.inv2.inv3{align-items:stretch;animation:none!important;transform:none!important}   /* иначе transform от анимации появления уносит поле сообщения и шапку вместе с прокруткой */
  .inv3 .i3main{width:100%;min-width:0;max-height:none;overflow:visible;padding:calc(56px + env(safe-area-inset-top,0px)) 16px 16px;gap:14px;background:none;box-shadow:none}
  .inv3 .i3main::before{display:none}
  .inv3 .i3top{position:fixed;top:0;left:0;right:0;justify-content:flex-end;padding:calc(8px + env(safe-area-inset-top,0px)) 12px 8px;background:linear-gradient(rgba(29,46,45,.97),rgba(29,46,45,.8));backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}   /* на айфоне — ниже строки статуса */
  .inv3 .i3top .ix.i3share{width:38px;padding:0;justify-content:center}
  .inv3 .i3top .ix.i3share span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .inv3 .i3h{flex-wrap:wrap;gap:12px}
  .inv3 .i3h .t{flex:1 1 calc(100% - 56px)}
  .inv3 .i3thumb{width:32px;height:40px}
  .inv3 .i3thumb::before{left:6px;right:6px;top:6px;box-shadow:0 4px 0 #C8C6DA,0 8px 0 #C8C6DA,0 12px 0 #C8C6DA,0 18px 0 #9A97B4}
  .inv3 .i3h h2{font-size:14px}
  .inv3 .s3{font-size:11.5px}
  .inv3 .o3{height:22px;font-size:11px;padding:0 9px 0 7px}
  .inv3 .c3{height:21px;font-size:10.5px;padding:0 8px}
  .inv3 .am3{flex:1 1 100%;text-align:left;padding-top:0;display:flex;align-items:flex-end;justify-content:space-between;gap:10px;flex-wrap:wrap}
  .inv3 .am3 b{font-size:21px}
  .inv3 .am3 small{font-size:10.5px}
  .inv3 .av3{margin:0}.inv3 .av3 span{width:22px;height:22px;font-size:8px;margin-left:-6px}
  .inv3 .w3{height:70px;margin:-4px -16px 0}
  .inv3 .w3st .nm{display:none}
  .inv3 .i3info{display:flex;flex-direction:column;gap:2px;margin-top:-6px;font-size:11px;color:var(--i3mute)}
  .inv3 .i3info b{color:var(--i3ink);font-weight:500;font-size:11.5px}
  .inv3 .i3info .c{color:var(--i3ink)}
  .inv3 .w3st.bubon .dot{box-shadow:0 0 0 3px rgba(87,216,212,.35),0 0 14px rgba(190,255,253,.9)}
  .inv3 .now3{padding:12px 13px!important;gap:12px}
  .inv3 .now3 b{font-size:13px}
  .inv3 .now3.mine b{font-size:13.5px}
  .inv3 .now3 .tx>span:not(.l3){font-size:11.5px}
  .inv3 .now3 .tx>.s1{font-size:12.5px!important}
  .inv3 .now3 .tx>.s2{font-size:11px!important}
  .inv3 .e3,.inv3 .l3{font-size:9.5px}
  .inv3 .f3{grid-template-columns:1fr 1fr}
  .inv3 .f3>div{padding:11px 12px 10px}
  .inv3 .f3>div:nth-child(3){border-left:0}
  .inv3 .f3>div:nth-child(n+3){border-top:1px solid var(--i3line)}
  .inv3 .v3{font-size:12px}
  .inv3 .kv3{grid-template-columns:1fr 1fr}
  .inv3 .sp3n{font-size:11.5px;padding:9px 12px}
  .inv3 .i3side{margin:0 16px;max-height:none;overflow:visible}
  .inv3 .i3side .itabs{padding:0 6px}
  .inv3 .i3side .itabs button{font-size:11.5px}
  .inv3 .i3dock{position:fixed;left:0;right:0;bottom:0;z-index:5;display:flex;gap:8px;padding:12px 14px calc(14px + env(safe-area-inset-bottom,0px));background:linear-gradient(rgba(22,22,35,.6),rgba(22,22,35,.97) 40%);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
  .inv3 .i3dock input{flex:1;min-width:0;height:44px!important;min-height:0!important;background:rgba(255,255,255,.07)!important;border:0!important;border-radius:0!important;padding:0 14px!important;color:var(--i3ink)!important;font:inherit;font-size:16px!important;box-shadow:none!important}
  .inv3 .i3dock button{flex:none;width:48px!important;height:44px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;display:grid;place-items:center;background:linear-gradient(135deg,var(--i3v),var(--i3p) 55%,var(--i3o))!important;box-shadow:none!important}
  .inv3 .i3dock button svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:2;stroke-linejoin:round}
  .inv3 [data-ip=chat] .cin,.inv3 [data-ip=chat] .livehint{display:none!important}
  /* позиции: название строкой, под ним количество и сумма */
  .inv3 .itt thead{display:none}
  .inv3 .itt,.inv3 .itt tbody{display:block}
  .inv3 .itt tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;padding:9px 0;border-top:1px solid var(--i3line)}
  .inv3 .xclip{overflow:visible!important}
  .inv3 .itt td{display:block!important;padding:0!important;border:0!important;background:none!important;text-align:left!important}
  .inv3 .itt td::before{display:none!important}
  .inv3 .itt td:first-child{display:none!important}
  .inv3 .itt td.itn{grid-column:1/-1;font-size:12.5px;color:var(--i3ink)}
  .inv3 .itt td.num{font-size:12px;color:var(--i3ink2)}
  .inv3 .itt td.num:nth-child(4){display:none!important}   /* цена — лишняя на узком экране: количество слева, сумма справа */
  .inv3 .itt td.num:nth-child(5){text-align:right!important}
  .inv3 .itt td.itr,.inv3 .itt td:last-child:not(.num):not(.itr){grid-column:1/-1;font-size:11.5px}
}

/* ───────── Реестр (29.10): фон — родной полупрозрачный графит приложения («диз1»), выделение — нашими цветами, но тускло. Устройство прежнее; новое — строки через одну светлее,
   яркий градиент на всю строку при наведении, без подсветки крестом, ширина столбцов мышью (в браузере). Только внутри .reg3 ───────── */
html.ui2 .reg3 #regt.card{background:rgba(30,32,42,.55)!important;box-shadow:none!important;border:0!important;border-radius:0!important;overflow:hidden}
html.ui2 .reg3 .mkbar{background:rgba(255,255,255,.03)!important;border-radius:0!important;padding:12px 14px!important;gap:12px;align-items:center}
html.ui2 .reg3 .mkbar .cnt{color:#8F8DA9;font-size:12px}
html.ui2 .reg3 .mkbar .rwreset{margin-left:auto;background:none!important;border:0!important;box-shadow:none!important;color:#8F8DA9!important;font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:0 4px!important;height:auto!important;min-height:0!important}
/* 4 блока сверху */
.reg3 .sum3{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.reg3 .sum3[hidden]{display:none}
.reg3 .tile3{position:relative;display:block;text-align:left;border:0!important;border-radius:0!important;padding:14px 16px 13px;font:inherit;color:#f3fafa;background:rgba(30,32,42,.55)!important;box-shadow:none!important;transition:filter .2s,box-shadow .25s}
.reg3 button.tile3{cursor:pointer}
.reg3 button.tile3:hover{filter:brightness(1.12)}
.reg3 .tile3.on{background:linear-gradient(90deg,rgba(99,255,250,.20),rgba(87,216,212,.14) 55%,rgba(255,134,80,.12)),rgba(30,32,42,.55)!important;box-shadow:inset 0 0 0 1px rgba(255,170,200,.16)!important}
.reg3 .tile3 .lbl{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:#8F8DA9}
.reg3 .tile3 b{display:block;margin-top:6px;font-family:Unbounded,Onest,sans-serif;font-weight:300;font-size:20px;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f3fafa}
.reg3 .tile3.urg b{color:#FFD2B8}
.reg3 .tile3 small{display:block;margin-top:3px;color:#8F8DA9;font-size:11.5px}
/* шапка таблицы */
html.ui2 .reg3 #regt .tbl thead th{background:rgba(44,46,58,.94)!important;color:#8F8DA9!important;font-family:Onest,system-ui,sans-serif;font-weight:500!important;font-size:10px!important;letter-spacing:.08em!important;text-transform:uppercase;border:0!important;position:sticky;top:0;z-index:2}
/* строки: через одну светлее, без крестика */
html.ui2 .reg3 #regt .tbl tr.row td{background:transparent!important;background-image:none!important;border:0!important;color:#C3C1D6!important;opacity:1!important;font-family:Onest,system-ui,sans-serif}
html.ui2 .reg3 #regt .tbl tbody tr.row:nth-child(even){background:rgba(255,255,255,.035)}
html.ui2 .reg3 #regt .tbl tr.row td.xcol{background:transparent!important;outline:0!important}
html.ui2 .reg3 #regt .tbl tr.row{transition:background .18s cubic-bezier(.2,.8,.2,1)}
/* наведение — вся строка ярким градиентом, как «Ждёт вашего решения» */
html.ui2 .reg3 #regt .tbl tr.row:hover{background:linear-gradient(90deg,rgba(99,255,250,.20),rgba(87,216,212,.14) 55%,rgba(255,134,80,.12))!important}
html.ui2 .reg3 #regt .tbl tr.row:hover td,html.ui2 .reg3 #regt .tbl tr.row:hover td *{color:#fff!important}
html.ui2 .reg3 #regt .tbl tr.row:hover td{background:transparent!important}
/* отмеченный галочкой (для «Сформировать список») — заметно: сиреневая заливка и полоска слева, сильнее чередования */
html.ui2 .reg3 #regt .tbl tbody tr.row.sel,html.ui2 .reg3 #regt .tbl tbody tr.row.sel:nth-child(even){background:linear-gradient(90deg,rgba(99,255,250,.34),rgba(87,216,212,.20) 60%,rgba(87,216,212,.10))!important}
html.ui2 .reg3 #regt .tbl tbody tr.row.sel td:first-child{box-shadow:inset 3px 0 0 #a8fffc,inset 16px 0 20px -16px rgba(168,255,252,.8)!important}
html.ui2 .reg3 #regt .tbl tbody tr.row.sel td{color:#f3fafa!important}
/* срочные — тёплая полоска слева, оплаченные — зелёная */
html.ui2 .reg3 #regt .tbl tr.row.rt-urg td:first-child,html.ui2 .reg3 #regt .tbl tr.row.rt-fire td:first-child{box-shadow:inset 3px 0 0 rgba(255,134,80,.75)!important}
html.ui2 .reg3 #regt .tbl tr.row.rt-paid td:first-child{box-shadow:inset 3px 0 0 rgba(98,227,168,.6)!important}
html.ui2 .reg3 #regt .tbl tr.row.rt-paid .ctr{color:#C4F2DD}
/* ячейки */
html.ui2 .reg3 #regt .tbl td.c-contractor .ctr{color:#f3fafa;font-weight:500}
html.ui2 .reg3 #regt .tbl td .sub{color:#8F8DA9}
html.ui2 .reg3 #regt .tbl td.c-amount{font-family:Unbounded,Onest,sans-serif;font-weight:300;letter-spacing:-.01em;color:#f3fafa}
html.ui2 .reg3 .objm{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:2px 9px 2px 7px;font-size:11.5px;font-weight:500;color:#fff!important;line-height:1.35;
  background:linear-gradient(90deg,rgba(99,255,250,.16),rgba(87,216,212,.10));box-shadow:inset 0 0 0 1px rgba(170,255,252,.18)}
html.ui2 .reg3 .objm::before{content:"";flex:none;width:11px;height:11px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB3E6' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6.2-6.5-11a6.5 6.5 0 0 1 13 0c0 4.8-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E") center/contain no-repeat}
/* статус — точкой с текстом */
html.ui2 .reg3 .tag.sx{background:none!important;box-shadow:none!important;padding:0!important;color:#C3C1D6!important;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
html.ui2 .reg3 .tag.sx::before{content:"";width:7px;height:7px;border-radius:50%;flex:none;background:#8F8DA9!important}
html.ui2 .reg3 .tag.sx.s-unpaid::before{background:#FFB45C!important;box-shadow:0 0 8px rgba(255,180,92,.7)}
html.ui2 .reg3 .tag.sx.s-pay::before{background:#63fffa!important;box-shadow:0 0 8px rgba(99,255,250,.8)}
html.ui2 .reg3 .tag.sx.s-part::before{background:#FF8650!important;box-shadow:0 0 8px rgba(255,134,80,.8)}
html.ui2 .reg3 .tag.sx.s-paid::before{background:#62E3A8!important;box-shadow:0 0 8px rgba(98,227,168,.7)}
html.ui2 .reg3 .tag.sx.s-pend::before{background:#57d8d4!important;box-shadow:0 0 8px rgba(87,216,212,.7)}
html.ui2 .reg3 .tag.sx.s-rej::before,html.ui2 .reg3 .tag.sx.s-cancel::before{background:#FF6B6B!important}
html.ui2 .reg3 #regt .tbl tr.row:hover .tag.sx{background:none!important;box-shadow:none!important}
html.ui2 .reg3 #regt .tbl tr.row:hover .tag.sx::before{background:#fff!important;box-shadow:none}
/* приоритет — тёплая плашка */
html.ui2 .reg3 .pb.pb-urgent,html.ui2 .reg3 .pb.pb-fire{background:rgba(255,134,80,.10)!important;color:#FFD2B8!important;box-shadow:inset 0 0 0 1px rgba(255,134,80,.22)!important;border-radius:0!important}
/* ширина столбцов мышью */
/* пока ширины не трогали — раскладка прежняя (по содержимому); потянули — точные ширины в пикселях */
html.ui2 .reg3 .wrap.fitw.rw.rwf .tbl{table-layout:fixed!important;width:100%!important}
html.ui2 .reg3 .wrap.fitw.rw.rwf .tbl td{min-width:0!important}
html.ui2 .reg3 #regt .tbl th{position:sticky}
.reg3 .rz3{position:absolute;top:0;right:0;width:9px;height:100%;cursor:col-resize;z-index:3;touch-action:none}
.reg3 .rz3::after{content:"";position:absolute;top:9px;bottom:9px;right:3px;width:1px;background:rgba(168,230,228,.22);transition:background .2s}
.reg3 th:hover .rz3::after,.reg3 .rz3.drag::after{background:#57d8d4;box-shadow:0 0 8px #57d8d4}
.reg3 .tbl tr th:last-child .rz3{display:none}
body.resizing{cursor:col-resize!important;user-select:none}
@media (max-width:760px){
  .reg3 .sum3{display:flex;overflow-x:auto;scrollbar-width:none;margin:0 -12px 10px;padding:0 12px;gap:8px}
  .reg3 .sum3::-webkit-scrollbar{display:none}
  .reg3 .tile3{flex:none;width:180px;padding:11px 12px}
  .reg3 .tile3 b{font-size:14.5px}
  .reg3 .tile3 .lbl{font-size:9.5px}
  .reg3 .tile3 small{font-size:10.5px}
  .reg3 .rz3,html.ui2 .reg3 .mkbar .rwreset{display:none!important}
  /* телефон: карточки через одну светлее, срочные — тёплая полоска, оплаченные — зелёная */
  html.ui2 .reg3 #regt .wrap .tbl tr.row[data-amt]{background:rgba(30,32,42,.55)!important}
  html.ui2 .reg3 #regt .wrap .tbl tbody tr.row[data-amt]:nth-child(even){background:rgba(44,46,58,.6)!important}
  html.ui2 .reg3 #regt .wrap .tbl tr.row[data-amt].rt-urg,html.ui2 .reg3 #regt .wrap .tbl tr.row[data-amt].rt-fire{box-shadow:inset 3px 0 0 rgba(255,134,80,.75)!important}
  html.ui2 .reg3 #regt .wrap .tbl tr.row[data-amt].rt-paid{box-shadow:inset 3px 0 0 rgba(98,227,168,.6)!important}
  html.ui2 .reg3 #regt .wrap .tbl tr.row[data-amt]:hover{background:rgba(30,32,42,.55)!important;box-shadow:none}
  html.ui2 .reg3 #regt .wrap .tbl tr.row[data-amt]:active{background:linear-gradient(90deg,rgba(99,255,250,.20),rgba(87,216,212,.14) 55%,rgba(255,134,80,.12))!important}
  html.ui2 .reg3 #regt .wrap .tbl tr.row[data-amt]:hover td,html.ui2 .reg3 #regt .wrap .tbl tr.row[data-amt]:hover td *{color:inherit!important}
}
/* перенос только между словами: «Митино-2» и названия не рвём посреди слова */
html.ui2 .reg3 #regt .tbl td,html.ui2 .reg3 #regt .tbl td *{overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
html.ui2 .reg3 #regt .objm{white-space:normal}
html.ui2 .reg3 #regt .tag.sx,html.ui2 .reg3 #regt .pb{white-space:nowrap!important}
html.ui2 .reg3 #regt .wrap.fitw .tbl td,html.ui2 .reg3 #regt .wrap.fitw .tbl th{min-width:0!important}   /* старые «не уже 120–160 px» распирали таблицу за рамку */
@media (max-width:760px){
  html.ui2 .reg3 #regt .wrap .tbl tbody tr.row[data-amt].sel,html.ui2 .reg3 #regt .wrap .tbl tbody tr.row[data-amt].sel:nth-child(even){background:linear-gradient(90deg,rgba(99,255,250,.34),rgba(87,216,212,.20) 60%,rgba(87,216,212,.10))!important;box-shadow:inset 3px 0 0 #a8fffc!important}
}
/* галочки в реестре — наш стиль: пустой квадрат с тонкой рамкой, отмечено — сиреневая заливка с белой галочкой; крупнее системных */
html.ui2 .reg3 #regt input.chk{appearance:none;-webkit-appearance:none;width:19px;height:19px;margin:0;padding:0;border:0!important;border-radius:0!important;vertical-align:middle;cursor:pointer;
  background:rgba(255,255,255,.04)!important;box-shadow:inset 0 0 0 1.5px rgba(206,245,244,.55)!important;transition:background .15s,box-shadow .15s}
html.ui2 .reg3 #regt input.chk:hover{box-shadow:inset 0 0 0 1.5px #fff!important}
html.ui2 .reg3 #regt input.chk:checked{box-shadow:none!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/72% no-repeat,linear-gradient(135deg,#63fffa,#57d8d4)!important}
html.ui2 .reg3 #regt input.chk:focus-visible{outline:2px solid #ECEDF2;outline-offset:2px}
@media (max-width:760px){
  /* у галочки (это первая ячейка) не рисуем полоску срочного/выбранного — она у края карточки */
  html.ui2 .reg3 #regt .wrap .tbl tr.row[data-amt] td:first-child{box-shadow:none!important}
  html.ui2 .reg3 #regt input.chk{width:26px;height:26px}
}
/* 30.10 — главная генерального директора (Асхат, 99% с телефона): вкладки «Действия · Мои решения · Лента событий»;
   карточка счёта на решение — всё сразу (объект, состав, кто внёс и согласовал, срок, файл) и кнопки решения; галочки и панель решения по выбранным */
html.ui2 .u2home.ap .u2sw{display:flex}
html.ui2 .u2home.ap .u2h{display:none!important}
html.ui2 .u2home.ap[data-sw=line] .u2news,html.ui2 .u2home.ap[data-sw=line] .u2dec,html.ui2 .u2home.ap[data-sw=dec] .u2news,html.ui2 .u2home.ap[data-sw=dec] .u2line,html.ui2 .u2home.ap[data-sw=news] .u2line,html.ui2 .u2home.ap[data-sw=news] .u2dec{display:none!important}
html.ui2 .u2home.ap .u2line .u2list>.u2t,html.ui2 .u2home.ap .u2dec .u2list>.u2t{display:block}
html.ui2 .u2aph{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 10px;font-size:13px;color:#C6C8D1}
html.ui2 .u2aph b{color:#F3F3F6;font-weight:600}
html.ui2 .layout.u2 main .u2aph button{height:34px!important;padding:0 14px!important;font-size:13px!important;color:#F3F3F6!important}
html.ui2 .u2note{padding:2px 2px 10px;font-size:12.5px;line-height:1.45;color:#B4B6C4}
html.ui2 .u2ap .hd{gap:10px;justify-content:flex-start}
html.ui2 .u2ap .hd .tm{margin-left:auto}
html.ui2 .u2ck{display:inline-grid;place-items:center;width:30px;height:30px;margin:-6px -2px -6px -6px;cursor:pointer;flex:none}
html.ui2 .u2ck input{position:absolute;opacity:0;width:1px;height:1px}
html.ui2 .u2ck i{width:20px;height:20px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1.5px rgba(206,245,244,.55);transition:background .15s,box-shadow .15s}
html.ui2 .u2ck:hover i{box-shadow:inset 0 0 0 1.5px #fff}
html.ui2 .u2ck input:checked+i{box-shadow:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/72% no-repeat,linear-gradient(135deg,#63fffa,#57d8d4)}
html.ui2 .u2ck input:focus-visible+i{outline:2px solid #ECEDF2;outline-offset:2px}
html.ui2 .u2urg{font-size:11px;font-weight:600;color:#FFB45C;letter-spacing:.02em}
html.ui2 .u2col .u2t.u2ap.urg{box-shadow:inset 3px 0 0 #FFB45C,0 18px 40px -26px rgba(10,12,24,.75)!important}
html.ui2 .u2col .u2t.u2ap.on{box-shadow:inset 3px 0 0 #7cfffb,inset 0 0 0 1px rgba(124,255,251,.45),0 18px 40px -26px rgba(10,12,24,.75)!important;background:linear-gradient(160deg,rgba(56,96,95,.9) 0%,rgba(36,60,59,.88) 60%,rgba(28,28,42,.86) 100%)!important}
html.ui2 .u2inf{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 14px;margin:10px 0 0;padding:10px 0 0;border-top:1px solid rgba(255,255,255,.05);font-size:12.5px;line-height:1.4}
html.ui2 .u2inf>div{display:contents}
html.ui2 .u2inf dt{color:#8A8C9C;white-space:nowrap}
html.ui2 .u2inf dd{margin:0;color:#DADBE3;min-width:0;overflow-wrap:anywhere}
html.ui2 .u2inf .cl dd{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html.ui2 .u2inf .hot dd,html.ui2 .u2inf .hot dt,html.ui2 .u2inf b.hot{color:#FF9B90}
html.ui2 .u2inf dd i{font-style:normal;color:#A9ABBA}
html.ui2 .u2inf a{color:#c6fffd!important;text-decoration:none;border-bottom:1px solid rgba(198,255,253,.35)}
html.ui2 .u2hot{display:grid;grid-template-columns:repeat(4,auto);justify-content:start;gap:8px;margin-top:12px}
html.ui2 .layout.u2 main .u2hot button,html.ui2 .layout.u2 main .u2bb button{height:38px!important;padding:0 14px!important;margin:0!important;font-size:13px!important;font-weight:500!important;white-space:nowrap;color:#F3F3F6!important;background:rgba(255,255,255,.08)!important;border:0!important}
html.ui2 .layout.u2 main .u2hot button:hover,html.ui2 .layout.u2 main .u2bb button:hover{background:rgba(255,255,255,.16)!important}
html.ui2 .layout.u2 main .u2hot button.pri,html.ui2 .layout.u2 main .u2bb button.pri{background:#ECEDF2!important;color:#1F2129!important}
html.ui2 .layout.u2 main .u2hot button:active,html.ui2 .layout.u2 main .u2bb button:active,html.ui2 .layout.u2 main .u2aph button:active{transform:scale(.98)}
html.ui2 .u2bar{position:sticky;bottom:0;z-index:7;margin-top:10px;padding:12px 14px;background:linear-gradient(160deg,rgba(52,92,91,.97),rgba(34,32,50,.97));box-shadow:0 -12px 30px -14px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.08);animation:u2up .25s cubic-bezier(.2,.8,.2,1) both}
html.ui2 .u2bt{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:14px;color:#DADBE3}
html.ui2 .u2bt b{color:#F3F3F6;font-weight:600}
html.ui2 .layout.u2 main .u2bt button{height:30px!important;padding:0 10px!important;font-size:12.5px!important;background:none!important;color:#C6C8D1!important;border:0!important;text-decoration:underline;text-underline-offset:3px}
html.ui2 .u2bb{display:grid;grid-template-columns:repeat(4,auto);justify-content:start;gap:8px}
html.ui2 .u2dc .ft{justify-content:flex-end}
@media (max-width:900px){
  html.ui2 .u2home.ap .u2col{padding:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  html.ui2 .u2home.ap .u2list{display:flex;flex-direction:column;gap:10px}
  html.ui2 .u2home.ap .u2aph{padding:2px 4px 0}
  html.ui2 .u2home.ap .u2note{padding:2px 4px 0}
  html.ui2 .layout.u2 main .u2home.ap .u2sw button{font-size:14px!important;padding:0 6px!important}
  html.ui2 .u2hot,html.ui2 .u2bb{grid-template-columns:1fr 1fr;justify-content:stretch}
  html.ui2 .layout.u2 main .u2hot button,html.ui2 .layout.u2 main .u2bb button{height:44px!important;padding:0 8px!important;font-size:13.5px!important;white-space:normal;line-height:1.15}
  html.ui2 .u2inf{grid-template-columns:auto minmax(0,1fr);font-size:13px;gap:5px 12px}
  html.ui2 .u2bar{position:fixed;left:0;right:0;bottom:0;margin:0;padding:12px 12px calc(12px + env(safe-area-inset-bottom))}
  html.ui2 .u2home.ap.sel .u2line{padding-bottom:150px!important}
  html.ui2:has(.u2home.ap.sel) #aifab,html.ui2:has(.u2home.ap.sel) .fab{display:none!important}
}
html.ui2 .u2ap .bd em{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
html.ui2 .u2ap .bd em small{font-size:11px;color:#8A8C9C;font-weight:400}
html.ui2 .layout.u2 main .u2hot button small{display:block;font-size:11.5px;font-weight:400;opacity:.75;margin-top:1px}
html.ui2 .u2aph{padding:8px 8px 8px 14px;background:linear-gradient(160deg,rgba(46,48,60,.9),rgba(30,32,42,.9));backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
html.ui2 .u2note{padding:12px 14px;background:linear-gradient(160deg,rgba(46,48,60,.9),rgba(30,32,42,.9));backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
@media (max-width:900px){html.ui2 .u2home.ap .u2aph{padding:6px 6px 6px 12px}html.ui2 .u2home.ap .u2note{padding:12px}}
/* 30.10 — главная генерального директора на телефоне: вместо букв контрагента — листок счёта с ярлыком типа файла (как в карточке счёта), по нажатию открывается сам счёт */
html.ui2 .u2pdf{flex:none;position:relative;display:block;width:34px;height:44px;margin-left:4px;background:linear-gradient(#f3fafa,#d7e8e7);box-shadow:0 10px 20px -10px rgba(0,0,0,.85),0 0 0 1px rgba(255,255,255,.12);transition:transform .25s cubic-bezier(.2,.8,.2,1)}
html.ui2 .u2pdf::before{content:"";position:absolute;left:6px;right:6px;top:8px;height:2px;background:#9A97B4;box-shadow:0 4px 0 #C8C6DA,0 8px 0 #C8C6DA,0 12px 0 #C8C6DA,0 20px 0 #9A97B4}
html.ui2 .u2pdf i{position:absolute;left:-5px;bottom:6px;font-style:normal;font-size:8.5px;font-weight:600;letter-spacing:.06em;color:#fff;background:linear-gradient(90deg,#57d8d4,#FF8650);padding:1px 4px}
html.ui2 .u2pdf:active{transform:translateY(-2px) rotate(-2deg)}
html.ui2 .u2pdf.none{opacity:.3}
html.ui2 .u2ap .bd{cursor:pointer}
/* 30.10 — кнопки решения компактнее (Никита): «Оплатить сегодня · В платёжный день» / «Оплатить в дату · В реестр» / «Отклонить» во всю ширину */
@media (max-width:900px){
  html.ui2 .u2hot,html.ui2 .u2bb{gap:6px}
  html.ui2 .u2hot{margin-top:10px}
  html.ui2 .layout.u2 main .u2hot button,html.ui2 .layout.u2 main .u2bb button{height:38px!important;font-size:13px!important}
  html.ui2 .layout.u2 main .u2hot button small{font-size:10.5px;margin-top:0}
  html.ui2 .u2hot .u2no,html.ui2 .u2bb .u2no{grid-column:1/-1}
}
html.ui2 .layout.u2 main .u2hot button.u2no,html.ui2 .layout.u2 main .u2bb button.u2no{color:#FF9B90!important;background:rgba(255,122,138,.10)!important}
html.ui2 .layout.u2 main .u2hot button.u2no:hover,html.ui2 .layout.u2 main .u2bb button.u2no:hover{background:rgba(255,122,138,.18)!important}
/* 30.10 — карточка счёта на решение (Никита): объект плашкой и «Срочный» как в реестре; контрагент · №; сумма и НДС; состав; комментарии по цепочке с именами; кто внёс и когда; значок обсуждения */
html.ui2 .u2ap .hd .u2chat{margin-left:auto}
html.ui2 .layout.u2 main .u2ap .u2chat{display:inline-flex;align-items:center;gap:5px;height:30px!important;padding:0 8px!important;margin:-6px -8px -6px auto!important;background:none!important;border:0!important;color:#c6fffd!important;font-size:13px!important;font-weight:500}
html.ui2 .u2ap .u2chat svg{width:17px;height:17px;stroke:#c6fffd}
html.ui2 .u2ap .pb.pb-urgent{padding:2px 8px;font-size:11px;font-weight:600;background:rgba(255,134,80,.10)!important;color:#FFD2B8!important;box-shadow:inset 0 0 0 1px rgba(255,134,80,.22)!important;border-radius:0!important}
html.ui2 .u2ap .bd{align-items:flex-start}
html.ui2 .u2t.u2ap .bd .tx{gap:5px}
html.ui2 .u2t.u2ap .bd .tx span{white-space:normal;overflow:visible;color:inherit;font-size:inherit}
html.ui2 .u2ap .objm{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:2px 9px 2px 7px;font-size:11.5px!important;font-weight:500;color:#fff!important;line-height:1.35;background:linear-gradient(90deg,rgba(99,255,250,.16),rgba(87,216,212,.10));box-shadow:inset 0 0 0 1px rgba(170,255,252,.18)}
html.ui2 .u2ap .objm::before{content:"";flex:none;width:11px;height:11px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB3E6' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6.2-6.5-11a6.5 6.5 0 0 1 13 0c0 4.8-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E") center/contain no-repeat}
html.ui2 .u2t.u2ap .bd b{font-size:14.5px;line-height:1.3}
html.ui2 .u2t.u2ap .bd .no{color:#9C9EAB!important;font-weight:400}
html.ui2 .u2t.u2ap .bd .am{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
html.ui2 .u2t.u2ap .bd .am em{font-size:18px;font-weight:400;color:#F3F3F6}
html.ui2 .u2t.u2ap .bd .am small{font-size:11.5px;color:#8A8C9C}
html.ui2 .u2sost{margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.05);font-size:13px;line-height:1.4;color:#DADBE3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html.ui2 .u2cm{display:flex;flex-direction:column;gap:5px;margin-top:8px;font-size:12.5px;line-height:1.4;color:#C6C8D1}
html.ui2 .u2cm b{color:#F3F3F6;font-weight:500}
html.ui2 .u2cm .u,html.ui2 .u2cm .u b{color:#FFB89A}
html.ui2 .u2au{margin-top:8px;font-size:12px;color:#8A8C9C}
html.ui2 .u2col .u2t.u2ap.urg{background:linear-gradient(90deg,rgba(255,134,80,.13),rgba(255,134,80,.03) 55%,rgba(255,134,80,0)),linear-gradient(160deg,rgba(46,48,60,.88) 0%,rgba(32,34,44,.86) 55%,rgba(24,26,34,.84) 100%)!important;box-shadow:inset 3px 0 0 rgba(255,134,80,.75),0 18px 40px -26px rgba(10,12,24,.75)!important}
html.ui2 .u2col .u2t.u2ap.urg.on{background:linear-gradient(160deg,rgba(56,96,95,.9) 0%,rgba(36,60,59,.88) 60%,rgba(28,28,42,.86) 100%)!important;box-shadow:inset 3px 0 0 #7cfffb,inset 0 0 0 1px rgba(124,255,251,.45)!important}
html.ui2 .u2ap .u2chat svg{fill:none!important;stroke-width:1.8}
/* 30.10 — карточка на решение, раскладка Никиты: верх — галочка, файл (или папка файлов), справа обсуждение и крестик «Отклонить»;
   объект и «Срочный» / сумма с НДС справа; контрагент · № от даты; состав; комментарии на подложке; автор; 4 кнопки, основная — «В платёжный день» переливом волны */
html.ui2 .u2ap{--wv:#63fffa;--wp:#57d8d4;--wo:#FF8650}
html.ui2 .u2tp{display:flex;align-items:center;gap:10px;position:relative}
html.ui2 .u2tp .sp{flex:1}
html.ui2 .u2tp .u2pdf{margin-left:2px}
html.ui2 .u2ck{width:32px;height:32px;margin:-4px -4px -4px -6px}
html.ui2 .u2ck i{width:22px;height:22px;border:1.5px solid transparent;box-shadow:none;background:linear-gradient(#262834,#262834) padding-box,linear-gradient(135deg,var(--wv),var(--wp),var(--wo)) border-box;transition:box-shadow .2s,background .2s}
html.ui2 .u2ck:hover i{box-shadow:0 0 0 3px rgba(87,216,212,.15)}
html.ui2 .u2ck input:checked+i{border-color:transparent;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat,linear-gradient(135deg,var(--wv),var(--wp),var(--wo)) border-box;box-shadow:0 0 14px rgba(87,216,212,.45)}
html.ui2 .layout.u2 main .u2ap .u2x{display:grid;place-items:center;width:32px;height:32px!important;padding:0!important;margin:-4px -8px -4px 0!important;background:none!important;border:0!important;color:#9C9EAB!important}
html.ui2 .u2ap .u2x svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
html.ui2 .layout.u2 main .u2ap .u2x:active,html.ui2 .layout.u2 main .u2ap .u2x:hover{color:#FF9B90!important;background:rgba(255,122,138,.10)!important}
html.ui2 .layout.u2 main .u2ap .u2chat{margin:-4px 0!important}
html.ui2 .u2fw{position:relative;display:inline-block}
html.ui2 .layout.u2 main .u2ap .u2fold{position:relative;display:block;width:42px;height:34px!important;padding:0!important;margin:0 0 0 2px!important;border:0!important;background:linear-gradient(180deg,#f3fafa,#d7e8e7)!important;box-shadow:0 10px 20px -10px rgba(0,0,0,.85)!important;clip-path:polygon(0 18%,38% 18%,46% 0,100% 0,100% 100%,0 100%)}
html.ui2 .u2ap .u2fold::before{content:"";position:absolute;left:0;right:0;top:30%;height:2px;background:#B9B6CF}
html.ui2 .u2ap .u2fold b{position:absolute;right:5px;bottom:4px;font-size:10px;font-weight:700;color:#fff;background:linear-gradient(90deg,var(--wp),var(--wo));padding:0 5px;line-height:15px}
html.ui2 .u2fpop{position:absolute;left:0;top:calc(100% + 8px);z-index:9;display:flex;gap:12px;padding:12px;background:linear-gradient(160deg,rgba(52,54,68,.98),rgba(34,36,46,.98));box-shadow:0 18px 40px -12px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.08)}
html.ui2 .u2fpop[hidden]{display:none}
html.ui2 .u2fi{display:flex;flex-direction:column;align-items:center;gap:6px;width:64px;text-decoration:none!important;border:0!important}
html.ui2 .u2fi>span:last-child{font-size:11px;color:#DADBE3;text-align:center;line-height:1.25;overflow-wrap:anywhere}
html.ui2 .u2md{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;margin-top:12px;cursor:pointer}
html.ui2 .u2ob{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
html.ui2 .u2ap .u2ob .objm{align-self:center}
html.ui2 .u2ap .pb.u2rm{padding:2px 8px;font-size:11px;font-weight:600;background:rgba(255,180,92,.08);color:#FFD9A8;box-shadow:inset 0 0 0 1px rgba(255,180,92,.22);border-radius:0}
html.ui2 .u2sm{grid-column:2;grid-row:1/3;display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}
html.ui2 .u2sm em{font-style:normal;font-size:18px;font-weight:400;color:#F3F3F6;white-space:nowrap;font-variant-numeric:tabular-nums}
html.ui2 .u2sm small{font-size:11.5px;color:#8A8C9C;white-space:nowrap}
html.ui2 .u2ct{grid-column:1;font-size:13px;line-height:1.35;color:#9C9EAB;min-width:0;overflow-wrap:anywhere}
html.ui2 .u2ct b{font-size:14.5px;font-weight:500;color:#F3F3F6}
html.ui2 .u2cm{margin-top:10px;padding:9px 11px;background:rgba(255,255,255,.045);box-shadow:inset 2px 0 0 rgba(124,255,251,.55)}
html.ui2 .u2au{margin-top:9px}
@media (max-width:900px){
  html.ui2 .u2hot{margin-top:12px;gap:6px}
  html.ui2 .layout.u2 main .u2hot button,html.ui2 .layout.u2 main .u2bb button{height:36px!important;font-size:12.5px!important;font-weight:500!important;background:rgba(255,255,255,.06)!important;color:#E6E7EE!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)!important}
  html.ui2 .layout.u2 main .u2hot button small{font-size:10px;opacity:.85}
}
html.ui2 .layout.u2 main .u2hot button.u2main,html.ui2 .layout.u2 main .u2bb button.u2main{background:linear-gradient(90deg,#63fffa,#57d8d4 55%,#FF8650)!important;color:#fff!important;box-shadow:0 8px 20px -10px rgba(87,216,212,.7)!important}
html.ui2 .layout.u2 main .u2hot button.u2main small{color:#fff;opacity:.85}
html.ui2 .layout.u2 main .u2hot button:active{transform:scale(.97)}
html.ui2 .u2col .u2t.u2ap{position:relative}
html.ui2 .u2col .u2t.u2ap.on,html.ui2 .u2col .u2t.u2ap.urg.on{background:linear-gradient(160deg,rgba(52,92,91,.92) 0%,rgba(36,60,59,.9) 60%,rgba(30,28,42,.88) 100%)!important;box-shadow:inset 0 0 0 1px rgba(87,216,212,.28),0 18px 40px -26px rgba(10,12,24,.75)!important}
html.ui2 .u2col .u2t.u2ap.on::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#63fffa,#57d8d4,#FF8650)}
html.ui2 .u2fi{width:88px}html.ui2 .u2fi>span:last-child{overflow-wrap:normal;word-break:normal;hyphens:auto}
/* 30.10 — вариант 1 (Никита: «много пустоты сверху»): объект и «Срочный» в верхней строке рядом с файлом; ниже контрагент слева, сумма справа */
html.ui2 .u2tp{gap:8px;align-items:center}
html.ui2 .u2tp .u2ob{flex:1;min-width:0;gap:5px}
html.ui2 .u2tp .u2ob .objm{min-width:0;max-width:100%}
html.ui2 .u2tp .u2pdf{width:26px;height:34px;margin-left:0}
html.ui2 .u2tp .u2pdf::before{left:5px;right:5px;top:6px;height:1.5px;box-shadow:0 3.5px 0 #C8C6DA,0 7px 0 #C8C6DA,0 10.5px 0 #C8C6DA,0 16px 0 #9A97B4}
html.ui2 .u2tp .u2pdf i{left:-4px;bottom:4px;font-size:7px;padding:0 3px}
html.ui2 .layout.u2 main .u2tp .u2fold{width:34px;height:28px!important;margin:0!important}
html.ui2 .u2tp .u2fold b{right:3px;bottom:3px;font-size:9px;line-height:13px;padding:0 4px}
html.ui2 .u2fpop .u2pdf{width:34px;height:44px}
html.ui2 .u2fpop .u2pdf::before{left:6px;right:6px;top:8px;height:2px;box-shadow:0 4px 0 #C8C6DA,0 8px 0 #C8C6DA,0 12px 0 #C8C6DA,0 20px 0 #9A97B4}
html.ui2 .u2fpop .u2pdf i{left:-5px;bottom:6px;font-size:8.5px;padding:1px 4px}
html.ui2 .u2md{margin-top:10px;align-items:start}
html.ui2 .u2md .u2ct{grid-column:1;grid-row:1}
html.ui2 .u2md .u2sm{grid-column:2;grid-row:1}
/* 30.10 — галочка крупнее (26 px) и с отметкой-анимацией: сжатие и пружина, перелив волны заливает от центра, галочка прорисовывается, одно кольцо свечения */
html.ui2 .u2ck{width:38px;height:38px;margin:-6px -5px -6px -8px}
html.ui2 .u2ck i{position:relative;display:grid;place-items:center;width:26px;height:26px;border:1.5px solid transparent;background:linear-gradient(#262834,#262834) padding-box,linear-gradient(135deg,#63fffa,#57d8d4,#FF8650) border-box!important;box-shadow:none!important}
html.ui2 .u2ck i::before{content:"";position:absolute;inset:-1.5px;background:linear-gradient(135deg,#63fffa,#57d8d4,#FF8650);transform:scale(0);transition:transform .22s cubic-bezier(.2,.8,.2,1)}
html.ui2 .u2ck i svg{position:relative;width:72%;height:72%;fill:none;stroke:#fff;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:22;stroke-dashoffset:22;transition:stroke-dashoffset .24s ease .08s}
html.ui2 .u2ck input:checked+i{background:linear-gradient(#262834,#262834) padding-box,linear-gradient(135deg,#63fffa,#57d8d4,#FF8650) border-box!important;box-shadow:0 0 14px rgba(87,216,212,.45)!important}
html.ui2 .u2ck input:checked+i::before{transform:scale(1)}
html.ui2 .u2ck input:checked+i svg{stroke-dashoffset:0}
html.ui2 .u2ck.pop i{animation:u2ckpop .38s cubic-bezier(.2,.8,.2,1)}
html.ui2 .u2ck.pop i::after{content:"";position:absolute;inset:-2px;animation:u2ckring .45s ease-out forwards}
@keyframes u2ckpop{0%{transform:scale(1)}30%{transform:scale(.82)}70%{transform:scale(1.08)}100%{transform:scale(1)}}
@keyframes u2ckring{from{box-shadow:0 0 0 0 rgba(87,216,212,.6)}to{box-shadow:0 0 0 12px rgba(87,216,212,0)}}
@media (prefers-reduced-motion:reduce){html.ui2 .u2ck i::before,html.ui2 .u2ck i svg{transition:none}html.ui2 .u2ck.pop i,html.ui2 .u2ck.pop i::after{animation:none}}
/* 30.10 — выбранный счёт «живой» (Никита: как дым на волне в карточке счёта): за содержимым плывут три облачка цветов волны, по краю бежит перелив, полоска слева остаётся.
   Облачка двигаются только трансформацией (без пересчёта страницы) — телефону легко и при 20 выбранных; невыбранные стоят на паузе */
@property --u2ang{syntax:'<angle>';inherits:false;initial-value:0deg}
html.ui2 .u2ap>*:not(.u2smk){position:relative;z-index:1}
html.ui2 .u2ap>.u2tp{z-index:3}
html.ui2 .u2smk{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;opacity:0;transition:opacity .5s ease}
html.ui2 .u2smk i{position:absolute;border-radius:50%;will-change:transform;animation:u2smk1 7s ease-in-out infinite alternate;animation-play-state:paused}
html.ui2 .u2smk i:nth-child(1){left:-15%;top:-20%;width:75%;height:85%;background:radial-gradient(closest-side,rgba(99,255,250,.38),rgba(99,255,250,0))}
html.ui2 .u2smk i:nth-child(2){left:35%;top:20%;width:70%;height:75%;background:radial-gradient(closest-side,rgba(87,216,212,.30),rgba(87,216,212,0));animation-name:u2smk2;animation-duration:8.5s}
html.ui2 .u2smk i:nth-child(3){left:55%;top:55%;width:60%;height:60%;background:radial-gradient(closest-side,rgba(255,134,80,.24),rgba(255,134,80,0));animation-name:u2smk3;animation-duration:6.5s}
@keyframes u2smk1{from{transform:translate(0,0) scale(1)}to{transform:translate(22%,18%) scale(1.18)}}
@keyframes u2smk2{from{transform:translate(0,0) scale(1.1)}to{transform:translate(-26%,-14%) scale(.9)}}
@keyframes u2smk3{from{transform:translate(0,0) scale(.9)}to{transform:translate(-20%,-24%) scale(1.2)}}
html.ui2 .u2ap.on .u2smk{opacity:1}
html.ui2 .u2ap.on .u2smk i{animation-play-state:running}
html.ui2 .u2col .u2t.u2ap.on,html.ui2 .u2col .u2t.u2ap.urg.on{background:linear-gradient(160deg,rgba(40,64,63,.94) 0%,rgba(32,30,46,.92) 60%,rgba(24,24,34,.9) 100%)!important;box-shadow:0 18px 40px -22px rgba(99,255,250,.45)!important}
html.ui2 .u2col .u2t.u2ap.on::before{z-index:2}
html.ui2 .u2col .u2t.u2ap.on::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;padding:1.5px;background:conic-gradient(from var(--u2ang),rgba(99,255,250,.15),#63fffa 18%,#57d8d4 32%,#FF8650 44%,rgba(255,134,80,.12) 58%,rgba(99,255,250,.15) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);animation:u2ring 4s linear infinite}
@keyframes u2ring{to{--u2ang:360deg}}
@media (prefers-reduced-motion:reduce){html.ui2 .u2smk i,html.ui2 .u2col .u2t.u2ap.on::after{animation:none}}
/* 30.10 — свайп левого меню на телефоне: пока ведут пальцем, затемнение проявляется вместе с меню */
@media (max-width:900px){html.ui2 .layout.u2.nav-drag .veil{display:block;opacity:0}html.ui2 .layout.u2.nav-drag .u2side{will-change:transform}}
/* 30.10 — лента на телефоне: показываем всё, что пришло (раньше обрезали до 5), внизу «Показать ещё» */
@media (max-width:900px){
  html.ui2 .u2home .u2news .u2list>.u2t:nth-child(n+6){display:block}
  html.ui2 .layout.u2 main .u2news .u2more{display:block;width:100%;height:44px!important;margin:10px 0 0!important;border:0!important;background:linear-gradient(160deg,rgba(46,48,60,.9),rgba(30,32,42,.9))!important;color:#c6fffd!important;font-size:14px!important;font-weight:500}
  html.ui2 .layout.u2 main .u2news .u2more:disabled{color:#9C9EAB!important}
}

/* 03.11 «Заявки» карточками: поиск, вкладки, сортировка, группы по объектам */
.mrtop{display:flex;gap:10px;align-items:center;margin:0 0 12px;flex-wrap:wrap}
.mrsrch{flex:1 1 320px;display:flex;align-items:center;gap:8px;padding:0 12px;background:rgba(30,32,42,.55);border:1px solid var(--line);min-height:42px}
.mrsrch svg{width:18px;height:18px;flex:none;stroke:var(--mute);fill:none;stroke-width:1.8}
.mrsrch input{flex:1;border:0!important;background:transparent!important;box-shadow:none!important;padding:10px 0!important;min-width:0;font-size:15px}
.mrtop button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:42px;min-height:42px;padding:0 16px;white-space:nowrap}
.mrtop button svg{width:16px!important;height:16px!important;flex:none}
.mrtabs .n:empty{display:none}
.mrtabs{margin:0 0 10px}
.mrtools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 14px}
.mrtools select{width:auto;min-width:170px;max-width:100%}
.mrg{margin:0 0 18px}
.mrg-h{font-weight:600;font-size:15px;margin:0 0 8px;padding:0 2px}
.mrgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:10px}
.mrk{display:flex;flex-direction:column;gap:7px;padding:12px 14px;background:rgba(30,32,42,.62);border:1px solid var(--line);border-left:3px solid transparent;cursor:pointer;min-width:0;transition:background .15s}
.mrk:hover,.mrk:focus{background:rgba(44,46,60,.8);outline:none}
.mrk.late{border-left-color:#FF7A6B}
.mrk.stop{border-left-color:#E0354F}
.mrk-h{display:flex;justify-content:space-between;gap:8px;align-items:baseline;font-size:12.5px;color:var(--mute)}
.mrk-h .mono{font-size:12.5px}
.mrk-due{white-space:nowrap;font-weight:500}
.mrk-due.warn-t{color:#FFD66B}
.mrk-b{display:flex;gap:6px;flex-wrap:wrap}
.mrk-t{font-weight:600;font-size:14.5px;line-height:1.35;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mrk-c{font-size:12.5px;color:var(--mute);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mrk-p{height:4px;background:rgba(255,255,255,.08);overflow:hidden}
.mrk-p i{display:block;height:100%;background:var(--gr-green)}
.mrk-f{display:flex;align-items:center;gap:6px;font-size:12.5px;min-width:0}
.mrk-f .av{flex:none}
.mrk-a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mrk-f .sp{flex:1}
.mrk-take{margin-top:2px;width:100%}
@media (max-width:700px){
  .mrtop{gap:8px}
  .mrsrch{flex-basis:100%}
  .mrtop button{flex:1}
  .mrtabs{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .mrtabs button{flex:none}
  .mrtools select{flex:1;min-width:0}
  .mrgrid{grid-template-columns:1fr}
}

/* 03.11 — заявки на компьютере (снабжение): объекты слева, таблица, панель выбранных справа */
.mrd{display:grid;grid-template-columns:230px minmax(0,1fr);gap:14px;align-items:start}
.mrd.pan{grid-template-columns:210px minmax(0,1fr) 420px}
.mrd.pan .c-what,.mrd.pan .c-inv,.mrd.pan .c-cr,.mrd.pan .c-an{display:none}
.mrdo{padding:10px;display:flex;flex-direction:column;gap:2px;position:sticky;top:12px;max-height:calc(100vh - 40px);overflow:auto}
.mrdoh{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink2);padding:4px 8px 8px}
.mrdo button{display:flex;align-items:center;gap:6px;width:100%;min-height:36px;height:auto;padding:6px 10px;border:0;border-radius:10px;background:transparent;text-align:left;font-weight:500;justify-content:flex-start}
.mrdo button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mrdo button b{font-weight:600;color:var(--ink2);font-size:13px}
.mrdo button i{font-style:normal;font-size:11px;padding:1px 6px;border-radius:999px;background:var(--acc);color:#111;font-weight:600}
.mrdo button i.bad{background:var(--bad);color:#fff}
.mrdo button:hover{background:var(--line2)}
.mrdo button.on{background:var(--line);box-shadow:inset 3px 0 0 var(--acc)}
.mrdm{padding:14px 16px;min-width:0}
.mrdh{display:flex;align-items:baseline;gap:12px;margin:0 0 10px}
.mrdh h2{margin:0;font-size:20px;font-weight:600}
.mrdf{display:flex;align-items:center;gap:8px;margin:10px 0}
.mrdsc{flex-wrap:wrap;gap:6px}
.mrdsc .chip span{opacity:.6;margin-left:3px}
.mrdw{overflow-x:auto}
.mrdt{width:100%;border-collapse:collapse;font-size:13.5px}
.mrdt th{text-align:left;font-weight:500;color:var(--ink2);font-size:12px;padding:8px 8px;border-bottom:1px solid var(--line);white-space:nowrap;user-select:none}
.mrdt th.srt{cursor:pointer}.mrdt th.srt:hover,.mrdt th.on{color:var(--ink)}
.mrdt td{padding:8px 8px;border-bottom:1px solid var(--line2);vertical-align:middle}
.mrdt .nw{white-space:nowrap}
.mrdt .c-obj{max-width:150px;overflow:hidden;text-overflow:ellipsis}
.mrdl,.mrdu{font-style:normal;font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;padding:1px 5px;border-radius:5px;margin-left:4px;vertical-align:1px}
.mrdl{background:rgba(255,90,90,.16);color:var(--bad)}
.mrdu{background:var(--bad);color:#fff}
.mrdt .tag{max-width:170px;overflow:hidden;text-overflow:ellipsis}
.mrdt .ck,.mrdt .ex{width:28px;padding-right:0}
.mrdt .what{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mrdr{cursor:pointer;transition:background .12s}
.mrdr:hover{background:rgba(255,255,255,.035)}
.mrdr.sel{background:rgba(120,140,255,.10)}
.mrdr.stop{box-shadow:inset 3px 0 0 var(--bad)}
.mrdr .av{width:22px;height:22px;font-size:10px;vertical-align:middle}
.mrdx{width:24px;height:24px;min-height:24px;padding:0;border:0;background:transparent;color:var(--ink2);font-size:13px}
.mrdx:hover{color:var(--ink)}
.mrdr button.sm{height:28px;min-height:28px;padding:0 12px;font-size:12.5px}
.mrsec{display:inline-block;font-size:11.5px;font-weight:600;padding:2px 7px;border-radius:6px;background:var(--line);margin:0 4px 0 0;white-space:nowrap}
.mrdp{display:inline-block;width:46px;height:5px;border-radius:3px;background:var(--line);vertical-align:middle;overflow:hidden;margin-right:4px}
.mrdp i{display:block;height:100%;background:var(--acc)}
.mrdg td{font-weight:600;font-size:13px;padding:14px 8px 6px;color:var(--ink);border-bottom:1px solid var(--line)}
.mrdsub td{background:rgba(0,0,0,.18);padding:6px 10px 10px 64px}
.mrdi{display:flex;flex-direction:column}
.mrdil{display:grid;grid-template-columns:24px minmax(0,1fr) 110px 110px;gap:10px;align-items:center;padding:5px 0;border-bottom:1px dashed var(--line2)}
.mrdcm{margin-top:6px}
.mrdhint{margin-top:10px;font-size:12px}
.mrdp2{padding:14px;position:sticky;top:12px;max-height:calc(100vh - 40px);display:flex;flex-direction:column;gap:10px;min-width:0}
.mrph{display:flex;align-items:flex-start;gap:10px}.mrph>div{flex:1}
.mrpn{display:flex;flex-wrap:wrap;gap:6px}
.mrpc{display:inline-flex;align-items:center;gap:4px;font-family:"JetBrains Mono",monospace;font-size:12px;padding:2px 4px 2px 8px;border-radius:999px;background:var(--line)}
.mrpc button{width:18px;height:18px;min-height:18px;padding:0;border:0;background:transparent;color:var(--ink2);font-size:14px;line-height:1}
.mrpa{display:flex;flex-wrap:wrap;gap:6px}
.mrpa button{height:34px;min-height:34px;padding:0 12px;font-size:13px}
.mrpl2{overflow:auto;min-height:0;flex:1;margin:0 -4px;padding:0 4px}
.mrps{font-weight:600;font-size:13px;margin:12px 0 4px;padding-bottom:4px;border-bottom:1px solid var(--line)}
.mrpi2{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line2);font-size:13px;cursor:pointer}
.mrpi2 .q{white-space:nowrap;font-weight:600}
.mrpi2.dn{opacity:.55}
@media (max-width:1350px){.mrd.pan{grid-template-columns:200px minmax(0,1fr) 340px}.mrdt .what{max-width:200px}}
/* форма заявки: раздел */
#mrsec button{min-height:32px}
#mrsec button.on{background:#ECEDF2!important;color:#1F2129!important;border-color:#ECEDF2!important}

.mrdr.done{background:rgba(59,213,160,.07);box-shadow:inset 3px 0 0 #3BD5A0}
.mrdr.done:hover{background:rgba(59,213,160,.12)}
.mrdr.done .mrdp i{background:#3BD5A0}
.mrdr.cnc{opacity:.5}
.mrpsel{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:6px 0 2px;border-bottom:1px solid var(--line)}
.mrpsel label{display:inline-flex;align-items:center;gap:6px;cursor:pointer}

/* 03.11 — заявки на ПК в стиле реестра: полосы, градиент при наведении, выделение — фиолетовый градиент с полосой слева, статус точкой */
.rspin svg{animation:spin .7s linear infinite}
.mrd .mrdm,.mrd .mrdo,.mrd .mrdp2{background:rgba(30,32,42,.55)!important;box-shadow:none!important;border:0!important}
html.ui2 .mrd .card,html.ui2 .mrdo button{border-radius:0!important}
.mrdo button.on{background:linear-gradient(90deg,rgba(99,255,250,.24),rgba(87,216,212,.14) 55%,rgba(255,134,80,.10))!important;box-shadow:inset 3px 0 0 #a8fffc!important;color:#f3fafa}
.mrdt{border-collapse:separate;border-spacing:0;font-family:Onest,system-ui,sans-serif}
.mrdt thead th{background:rgba(44,46,58,.94)!important;color:#8F8DA9!important;font-weight:500!important;font-size:10px!important;letter-spacing:.08em;text-transform:uppercase;border:0!important;position:sticky;top:0;z-index:2;padding:11px 8px}
.mrdt thead th.srt:hover,.mrdt thead th.on{color:#f3fafa!important}
.mrdt td{border:0!important;color:#C3C1D6;padding:12px 8px}
.mrdt td.mono{color:#f3fafa;font-weight:500}
.mrdt tbody tr.mrdr{transition:background .18s cubic-bezier(.2,.8,.2,1);box-shadow:none!important}
.mrdt tbody tr.mrdr:nth-child(even){background:rgba(255,255,255,.035)}
.mrdt tbody tr.mrdr:hover{background:linear-gradient(90deg,rgba(99,255,250,.20),rgba(87,216,212,.14) 55%,rgba(255,134,80,.12))!important}
.mrdt tbody tr.mrdr:hover td{color:#fff}
.mrdt tbody tr.mrdr.sel,.mrdt tbody tr.mrdr.sel:nth-child(even){background:linear-gradient(90deg,rgba(99,255,250,.34),rgba(87,216,212,.20) 60%,rgba(87,216,212,.10))!important}
.mrdt tbody tr.mrdr.sel td{color:#f3fafa}
.mrdt tbody tr.mrdr.sel td:first-child{box-shadow:inset 3px 0 0 #a8fffc,inset 16px 0 20px -16px rgba(168,255,252,.8)}
.mrdt tbody tr.mrdr.stop td:first-child{box-shadow:inset 3px 0 0 rgba(255,107,92,.85)}
.mrdt tbody tr.mrdr.done{background:rgba(98,227,168,.05)}
.mrdt tbody tr.mrdr.done td:first-child{box-shadow:inset 3px 0 0 rgba(98,227,168,.6)}
.mrdt tbody tr.mrdr.done td.mono{color:#C4F2DD}
.mrdt tbody tr.mrdr.cnc{opacity:.45}
.mrdt .mrdg td{background:transparent!important;color:#f3fafa;font-size:12px;letter-spacing:.04em;padding:16px 8px 6px}
.mrdt .mrdsub td{background:rgba(0,0,0,.22)!important}
.mrdt .objm{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:2px 9px 2px 7px;font-size:11.5px;font-weight:500;color:#fff!important;line-height:1.35;background:linear-gradient(90deg,rgba(99,255,250,.16),rgba(87,216,212,.10));box-shadow:inset 0 0 0 1px rgba(170,255,252,.18);border-radius:0;overflow:hidden;text-overflow:ellipsis}
.mrdt .objm::before{content:"";flex:none;width:11px;height:11px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB3E6' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6.2-6.5-11a6.5 6.5 0 0 1 13 0c0 4.8-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E") center/contain no-repeat}
html .mrd .mrdt td .tag{background:none!important;box-shadow:none!important;border:0!important;padding:0!important;height:auto!important;color:#C3C1D6!important;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:12.5px}
html .mrd .mrdt td .tag::before{content:"";width:7px;height:7px;border-radius:50%;flex:none;background:#8F8DA9!important}
html .mrd .mrdt td .tag.t-ok::before{background:#62E3A8!important;box-shadow:0 0 8px rgba(98,227,168,.7)}
html .mrd .mrdt td .tag.t-info::before{background:#63fffa!important;box-shadow:0 0 8px rgba(99,255,250,.8)}
html .mrd .mrdt td .tag.t-vio::before{background:#57d8d4!important;box-shadow:0 0 8px rgba(87,216,212,.8)}
html .mrd .mrdt td .tag.t-warn::before{background:#FFB45C!important;box-shadow:0 0 8px rgba(255,180,92,.7)}
html .mrd .mrdt td .tag.t-bad::before{background:#FF6B5C!important;box-shadow:0 0 8px rgba(255,107,92,.8)}
html .mrd .mrdt td .tag.t-bad{color:#FFB8AE!important}
.mrdt .mrsec{background:rgba(255,255,255,.07);border-radius:0;color:#e4f2f2}

/* 11.11 — «Корзина» в реестре: переключатель, итог «к оплате», строки в корзине (зелёным), страница корзины */
.mkbar .cartm{margin-left:auto;height:34px;min-height:34px;padding:0 14px;font-size:13px;white-space:nowrap}
.mkbar .cartm.on{background:linear-gradient(90deg,rgba(98,227,168,.30),rgba(98,227,168,.14))!important;color:#E9FFF5!important;box-shadow:inset 0 0 0 1px rgba(98,227,168,.55)!important}
.mkbar .cartm b{color:#fff}
.mkbar #selsum b{color:#f3fafa}
.tbl tbody tr.row.incart td{background:rgba(98,227,168,.10)}
html.ui2 .reg3 #regt .tbl tbody tr.row.incart,html.ui2 .reg3 #regt .tbl tbody tr.row.incart:nth-child(even){background:linear-gradient(90deg,rgba(98,227,168,.22),rgba(98,227,168,.08) 60%,rgba(98,227,168,.04))!important}
html.ui2 .reg3 #regt .tbl tbody tr.row.incart td:first-child{box-shadow:inset 3px 0 0 #62E3A8!important}
.cartv .lsr.ctr{grid-template-columns:34px minmax(0,1fr) auto 30px;width:100%;cursor:pointer}
.cartv .ctx{flex:none;width:30px;height:30px;min-height:30px;padding:0;opacity:.6}
.cartv .ctx:hover{opacity:1}
.cartv .ctx svg{width:14px;height:14px}
@media (max-width:760px){.mkbar{flex-wrap:wrap}.mkbar .cartm{margin-left:0}}

/* 11.11 — заявки у прорабов, РП, РН: «Свои / По моим объектам / Счета по моим заявкам» */
.mrd.mrmy{display:block}
.mrmy .mrmy-b{padding:12px 14px;background:rgba(30,32,42,.55)!important;box-shadow:none!important;border:0!important}
html.ui2 .mrmy .mrmy-b{border-radius:0!important}
.mrmy .mrg-h{margin:16px 0 8px}
.mrmy .mrg-h:first-child{margin-top:4px}
.mrmy .mrtools{margin:8px 0}
.mrmy td.num{font-weight:600;color:#f3fafa}
.mrmy .mrk.done{border-left-color:rgba(98,227,168,.7);background:rgba(98,227,168,.06)}
.mrmy .mrk.cnc{opacity:.5}
.mrmy .mrk .objm{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;font-size:11.5px;font-weight:500;color:#fff;background:linear-gradient(90deg,rgba(99,255,250,.16),rgba(87,216,212,.10));box-shadow:inset 0 0 0 1px rgba(170,255,252,.18)}
.mrmy .mrk .mrk-b .tag{font-size:11.5px}
.mrmy .mrtabs{flex-wrap:wrap;overflow:visible}
/* 11.11 «Заявки у других»: телефон */
.mrmy .mrtabs .ts{display:none}
.mrmy .mrsrch input,html.ui2 main .mrmy .mrsrch input{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;outline:none}
.mrmy .mrg-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.mrmy .mrg-h .mrg-o{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mrmy .mrg-h .sub{flex:none;font-weight:400;font-size:12.5px}
.mrmy .mrk-f .objm{min-width:0;max-width:62%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}
.mrmy .mrk-m{flex:none;white-space:nowrap;color:var(--mute);font-size:12px}
.mrmy .mrk-ih b{min-width:0;font-size:14.5px;color:#f3fafa;line-height:1.3;overflow-wrap:anywhere}
.mrmy .mrk-ih .mrk-due{font-weight:600;color:#f3fafa}
.mrmy .mrk-c .mono{font-size:12px}
@media (max-width:899px){
  .mrmy .mrtop{flex-wrap:nowrap;gap:8px;margin-bottom:10px}
  .mrmy .mrsrch{flex:1 1 auto;min-width:0}
  .mrmy .mrsrch input{min-width:0}
  .mrmy .mrtop button{flex:none;padding:0 14px}
  .mrmy .mrtabs{display:flex;flex-wrap:nowrap;gap:4px;margin:0 0 10px}
  .mrmy .mrtabs button{flex:1 1 0;min-width:0;padding:0 6px;height:40px;white-space:nowrap;justify-content:center;font-size:13.5px}
  .mrmy .mrtabs .tl{display:none}
  .mrmy .mrtabs .ts{display:inline}
  .mrmy .mrtabs .n{font-size:11.5px;opacity:.75}
  .mrmy .mrtools{margin:0 0 10px}
  .mrmy .mrtools select{width:100%}
  .mrmy .mrmy-b{padding:0!important;background:none!important}
  .mrmy .mrgrid{grid-template-columns:1fr;gap:8px}
  .mrmy .mrg-h{margin:14px 2px 8px;font-size:14.5px}
  .mrmy .mrg-h:first-child{margin-top:4px}
  .mrmy .mrk{padding:12px 13px;gap:8px}
  .mrmy .empty{padding:28px 12px}
}

/* 12.11: PDF — полноценный просмотрщик PDF.js во встроенном окне на всю площадь */
#fv .fvb.fvpdf{padding:0;overflow:hidden;display:flex}
#fv .fvf{flex:1;width:100%;height:100%;border:0;display:block;background:#14141F}

/* 12.11 (Никита: «кликаю — не выбирает»): в окнах (.mbox) выбранные чипы не подсвечивались — общий тёмный фон кнопок окна перебивал .on.
   Выбор работал, но был не виден (кто принимает доставку и т.п.). Подсветка — как на странице: светлая. */
html.ui2 .mbox .chips button.on,html.ui2 .mbox button.chip.on,html.ui2 .mbox .seg button.on{background:#ECEDF2!important;color:#1F2129!important;backdrop-filter:none!important}
html.ui2 .mbox .chips button.on *,html.ui2 .mbox button.chip.on *,html.ui2 .mbox .seg button.on *{color:#1F2129!important;opacity:1}

/* 12.11 (Никита): Доставки — состав счёта в таблице («Что»): описание при загрузке + до трёх распознанных строк */
.tbl td.dlsost{white-space:normal!important;min-width:200px;max-width:300px;font-size:13px;line-height:1.35}
.dlsost .ds-d{font-weight:500}
.dlsost .ds-l{list-style:none;margin:3px 0 0;padding:0;color:var(--mut,#9a9cab)}
.dlsost .ds-l li{margin:1px 0;overflow:hidden;text-overflow:ellipsis}
.dlsost .ds-l li::before{content:"· "}
.dlsost .ds-q{white-space:nowrap;opacity:.85}
.dlsost .ds-m{font-style:italic;opacity:.8}
.dlsost .ds-m::before{content:""!important}
html.ui2 main .tbl td.dlsost .ds-l{color:#B9BBC8}
.tbl td.dlsost ~ td[data-l="Кто"]{white-space:normal!important;min-width:110px;max-width:150px}

/* Эколектрика | Lab (01.12.2026): фон — синяя «сеть» владельца. Без обесцвечивания, приглушён серо-голубой вуалью */
#u2bgv,html.ui2 #u2bgv{filter:saturate(.85) brightness(1.15)!important}
#u2bgo{background:linear-gradient(160deg,rgba(150,172,190,.34) 0%,rgba(120,146,166,.34) 50%,rgba(92,116,138,.38) 100%)!important}
