/* «Юнит-экономика» (раздел «Юнитка», js/unitpage.js; макет Радима принят Андреем 13.11 — docs/unit_economics_maket/maket.css ветки
   claude/unit-economics-design-7737ae, без служебного макета). Поверх стилей сайта (app.css, goods.css…): только то, чего в кабинете
   нет. Цвета статей — проверены validate_palette.js (скил dataviz): жёлтый — закупка, синий — площадка, оранжевый — реклама,
   фиолетовый — налог, аквамарин — «осталось». «Мягкий слой» (Андрей 12.11: «помягче и посовременнее») — только под классом раздела
   .ue и его окнами .ue-pop, .ue-win: остальной кабинет не меняется (смягчение всего кабинета — слово Андрея). */
.ue,.ue-pop,.ue-win,#pickModal{--c1:#2f4fd0;--seg-1:#eda100;--seg-2:#2a78d6;--seg-3:#eb6834;--seg-4:#6250d6;--seg-5:#1baf7a;
  --good:#0a6f5c;--warn:#8a6410;--bad:#a3261b;--sep:#dfe3ee;--soft-line:#eceef4;--soft-fill:#f5f6fb;--soft-edge:rgba(16,24,40,.05);
  --soft-sh:0 1px 2px rgba(16,24,40,.04),0 12px 32px -16px rgba(16,24,40,.14);--soft-pop:0 28px 70px -18px rgba(16,24,40,.34),0 2px 10px rgba(16,24,40,.06)}

/* ───────── плашки: «Чистая прибыль» ведёт ───────── */
.ue .rhero.rstat em{white-space:normal}
.ue .rhero{gap:12px}
.ue .rhero .rh{border-color:var(--soft-edge);border-radius:18px;box-shadow:var(--soft-sh);padding:16px 18px}
.ue .rhero .rh.mid em,.ue .rhero .rh.mid b{color:var(--warn)}
@media(min-width:1000px){.ue .rhero.rstat{grid-template-columns:1.45fr repeat(4,minmax(0,1fr))}}
.ue .rhero.rstat .rh.lead{background:linear-gradient(155deg,#f2f4fd 0%,#fff 64%)}
.ue .rhero.rstat .rh.lead.ok{background:linear-gradient(155deg,#e8f6f0 0%,#fff 64%)}
.ue .rhero.rstat .rh.lead.bad{background:linear-gradient(155deg,#fdeceb 0%,#fff 64%)}
.ue .rhero .rh.lead b{font-size:28px;letter-spacing:-.025em}
.ue .rhero .rh[data-ask]:hover{transform:translateY(-1px)}
@media(max-width:560px){
  .ue .rhero.rstat{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ue .rhero.rstat .rh.lead{grid-column:1/-1}
  .ue .rhero .rh b{font-size:19px}
  .ue .rhero .rh.lead b{font-size:26px}
}

/* ───────── полосы, кнопки, период ───────── */
.ue-strip{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid var(--soft-edge);border-left:3px solid var(--c1);
  border-radius:16px;box-shadow:var(--soft-sh);padding:10px 14px;font-size:13px;color:var(--ink-2);margin:0 0 14px;cursor:pointer}
.ue-strip>span{flex:1 1 320px;min-width:0}
.ue-ask{display:inline-flex;align-items:center;gap:5px;border:0;background:var(--brand-soft);color:var(--brand-ink);border-radius:999px;
  padding:6px 13px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap;margin-left:auto}
.ue-ask::before{content:'✦'}
.ue-ask:hover{background:#e2e8fc}
.ue-acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;align-items:center}
.ue-acts .btn-big{width:auto;padding-left:28px;padding-right:28px}
.ue .cardc{border-color:var(--soft-edge);padding:22px;box-shadow:var(--soft-sh)}
.ue .cardc .ch2{gap:10px;flex-wrap:wrap;align-items:center}
.ue .cardc .ch2 .tbtn{height:30px;border:1px solid var(--soft-line);background:#fff;border-radius:999px;padding:0 12px;font:inherit;font-size:12.5px;
  font-weight:700;cursor:pointer;color:var(--ink-2)}
.ue .tbtn.on{border-color:transparent;background:var(--brand-soft);color:var(--brand-ink)}
.ue .rtool .tbtn,.ue .rtool input[type=search]{border-radius:999px;border-color:var(--soft-line)}
.ue .seg{border-radius:999px;background:#eff1f6;padding:3px}
.ue .seg button{border-radius:999px}
.ue .seg.sm button{padding:5px 12px}
.ue-per{display:inline-flex;align-items:center;gap:7px;height:36px;border:1px solid var(--soft-line);background:#fff;border-radius:999px;padding:0 12px;
  font:inherit;font-size:13px;font-weight:700;color:var(--ink);cursor:pointer;white-space:nowrap}
.ue-per:hover{border-color:var(--brand)}
.ue-per svg{color:var(--muted);flex:0 0 16px}
.ue-per .chev{font-style:normal;font-size:10px;color:var(--faint)}
.ue .cardc .ch2 .ue-per{height:30px;font-size:12.5px;padding:0 10px}
.ue-perw{display:contents}
.ue-sk{background:linear-gradient(90deg,#eceef5 25%,#f6f7fb 37%,#eceef5 63%);background-size:400% 100%;animation:ue-sh 1.5s ease infinite;
  border-radius:18px;height:74px}
.ue-skb{height:260px}
@keyframes ue-sh{0%{background-position:100% 50%}100%{background-position:0 50%}}

/* ───────── календарь и меню — поверх, на телефоне нижним листом ───────── */
.ue-cal{position:fixed;z-index:80;width:450px;max-width:calc(100vw - 16px);display:grid;grid-template-columns:150px 1fr;background:#fff;
  border:1px solid var(--soft-edge);border-radius:24px;box-shadow:var(--soft-pop);overflow:hidden}
.ue-calp{display:flex;flex-direction:column;gap:2px;padding:12px;background:#f6f7fb;border-right:1px solid #eef0f5}
.ue-calp button{text-align:left;border:0;background:none;padding:8px 12px;border-radius:999px;font:inherit;font-size:13px;font-weight:600;
  color:var(--ink-2);cursor:pointer}
.ue-calp button:hover:not(:disabled){background:#eceff9}
.ue-calp button:disabled{color:#c4c8d4;cursor:default}
.ue-calp button.on{background:var(--brand-soft);color:var(--brand-ink);font-weight:800}
.ue-calm{padding:12px 14px}
.ue-calh{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.ue-calh b{font-size:14px}
.ue-calh .nav{width:30px;height:30px;border:1px solid var(--soft-line);background:#fff;border-radius:50%;font-size:16px;cursor:pointer;line-height:1}
.ue-calh .nav:disabled{opacity:.35;cursor:default}
.ue-calg{display:grid;grid-template-columns:repeat(7,1fr);row-gap:2px}
.ue-calg .wd{font-style:normal;font-size:11px;color:var(--faint);text-align:center;padding:4px 0;font-weight:600}
.ue-calg button{height:34px;border:0;background:none;border-radius:999px;font:inherit;font-size:13px;color:var(--ink);cursor:pointer;
  font-variant-numeric:tabular-nums}
.ue-calg button:hover:not(:disabled){background:#eceff9}
.ue-calg button:disabled{color:#c4c8d4;cursor:default}
.ue-calg button.in{background:#eef1fd;border-radius:0}
.ue-calg button.edge{background:var(--brand);color:#fff;font-weight:800;border-radius:999px}
.ue-calg button.ue-gap{text-decoration:underline dotted #d24b3e;text-underline-offset:4px}
.ue-calf{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:10px;flex-wrap:wrap}
.ue-calf span{flex:1 1 100%;font-size:12.5px;color:var(--muted);font-weight:600}
.ue-calf button{width:auto;margin:0;padding:9px 18px;font-size:13px}
.ue-menu{position:fixed;z-index:80;width:300px;max-width:calc(100vw - 16px);max-height:min(76vh,560px);overflow:auto;background:#fff;
  border:1px solid var(--soft-edge);border-radius:22px;box-shadow:var(--soft-pop);padding:14px}
.ue-mt{display:block;margin-bottom:6px;font-size:14px}
.ue-mr{display:flex;align-items:center;gap:6px;padding:5px 4px;border-radius:12px;font-size:13px}
.ue-mr span{flex:1;min-width:0}
.ue-mr.ue-mg{font-weight:800;margin-top:6px;background:#f6f7fb}
.ue-mr.ue-mc{padding-left:20px;font-weight:500;color:var(--ink-2)}
.ue-mv{width:26px;height:26px;border:1px solid var(--soft-line);background:#fff;border-radius:50%;font-size:10px;cursor:pointer;padding:0;color:var(--ink-2)}
.ue-mv:hover:not(:disabled){border-color:var(--brand);color:var(--brand-ink)}
.ue-mv:disabled{opacity:.3;cursor:default}
.ue-mf{display:flex;gap:8px;justify-content:flex-end;margin-top:12px;position:sticky;bottom:-14px;background:#fff;padding:8px 0 12px}
.ue-mf button{width:auto;padding:8px 16px;font-size:13px;margin:0}
.ue-cfg{width:30px;height:30px;display:inline-grid;place-items:center;border:1px solid var(--soft-line);background:#fff;border-radius:50%;
  color:var(--ink-2);cursor:pointer;padding:0}
.ue-cfg:hover{border-color:var(--brand);color:var(--brand-ink)}
.ue-dg{cursor:grab}
.ue-dg:hover{background:#eef1fa}
.ue-drag{opacity:.4}
.ue-dl{box-shadow:inset 3px 0 0 var(--brand)}
.ue-dr{box-shadow:inset -3px 0 0 var(--brand)}
.ue-dg:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
@media(max-width:560px){
  .ue-cal{left:8px!important;right:8px;bottom:8px;top:auto!important;width:auto;grid-template-columns:1fr;border-radius:22px 22px 18px 18px}
  .ue-calp{flex-direction:row;flex-wrap:wrap;border-right:0;border-bottom:1px solid #eef0f5}
  .ue-menu{left:8px!important;right:8px;top:auto!important;bottom:8px;width:auto;max-height:78vh}
  .ue .cardc{padding:16px}
}

/* ───────── «Структура выручки» ───────── */
.ue-tbl{overflow-x:auto}
.ue-money{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}
.ue-money th{font-size:11.5px;color:var(--faint);font-weight:600;text-align:left;padding:7px 8px;border-bottom:1px solid var(--soft-line)}
.ue-money th.num,.ue-money td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.ue-money td{padding:9px 8px;border-bottom:1px solid #f1f3f8;vertical-align:middle}
.ue-money td.nm{font-weight:600}
.ue-nmw{display:flex;gap:8px;align-items:flex-start}
.ue-nmt{min-width:0}
.ue-nmt small{display:inline;margin:0 0 0 6px;font-size:11.5px;color:var(--faint);font-weight:500}
.ue-sw{display:inline-block;width:11px;height:11px;border-radius:3px;flex:0 0 11px;background:var(--seg-2);margin-top:3px}
.ue-sw[data-g=rev]{background:var(--c1)} .ue-sw[data-g=cost]{background:var(--seg-1)} .ue-sw[data-g=plat]{background:var(--seg-2)}
.ue-sw[data-g=ads]{background:var(--seg-3)} .ue-sw[data-g=tax]{background:var(--seg-4)} .ue-sw[data-g=left]{background:var(--seg-5)}
.ue-money td.bar{width:34%;min-width:70px}
.ue-hbar{height:8px;border-radius:999px;background:var(--seg-2)}
.ue-hbar[data-g=rev]{background:#b5c0ea} .ue-hbar[data-g=cost]{background:var(--seg-1)} .ue-hbar[data-g=plat]{background:var(--seg-2)}
.ue-hbar[data-g=ads]{background:var(--seg-3)} .ue-hbar[data-g=tax]{background:var(--seg-4)} .ue-hbar[data-g=left]{background:var(--seg-5)}
.ue-hbar[data-neg]{background:#e9a39b}
.ue-money tr.ue-grp{cursor:pointer}
.ue-money tr.ue-grp:hover td{background:#f6f8fd}
.ue-money tr.ue-grp:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.ue-money tr.ue-sub td{background:#fbfcfe;font-weight:500;color:var(--ink-2);padding-top:6px;padding-bottom:6px}
.ue-money tr.ue-sub td.nm{padding-left:34px}
.ue-money tr.ue-sub .ue-sw{width:7px;height:7px;flex-basis:7px;border-radius:50%;margin-top:5px}
.ue-money tr.ue-sub .ue-hbar{height:5px}
.ue-money tr.ue-tot td{font-weight:800;background:#eef7f3}
.ue-money tr.ue-tot td.num{color:var(--good)}
.ue-money tr.ue-tot.neg td{background:#fdf0ef}
.ue-money tr.ue-tot.neg td.num{color:var(--bad)}
.ue-tg{border:0;background:#eef0f6;color:#4a5270;width:19px;height:19px;border-radius:50%;font-size:10px;cursor:pointer;line-height:19px;padding:0;
  flex:0 0 19px;display:inline-block;text-align:center}
@media(max-width:560px){.ue-money td.bar,.ue-money th.bar{display:none}.ue-nmt small{display:block;margin:2px 0 0}}

/* ───────── «Динамика прибыли» ───────── */
.ue-weeks{position:relative;display:flex;align-items:flex-end;gap:12px;height:240px;margin-top:8px;padding-top:6px;border-bottom:1px solid var(--soft-line)}
.ue-wk{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:0;cursor:pointer}
.ue-wk i{display:block;width:100%;max-width:64px;border-radius:12px 12px 6px 6px;background:linear-gradient(180deg,#d9dff5,#c6cfee)}
.ue-wk i[data-neg]{background:linear-gradient(180deg,#f3c3bd,#e9a39b)}
.ue-wk:hover i{background:linear-gradient(180deg,#b3bfec,#9cabe3)}
.ue-wk.now i{background:linear-gradient(180deg,#5a76ea,var(--brand))}
.ue-wk.sel i{box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(47,79,208,.5)}
.ue-wk.none b{color:var(--faint)}
.ue-wk b{font-size:11.5px;margin-bottom:4px;color:var(--muted);font-variant-numeric:tabular-nums}
.ue-wk.now b,.ue-wk:hover b{color:var(--ink)}
.ue-wk:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.ue-weeks.dense{gap:3px}
.ue-weeks.dense .ue-wk i{border-radius:7px 7px 3px 3px}
.ue-weeks.dense .ue-wk b{display:none}
.ue-weeks.dense .ue-wk.now b,.ue-weeks.dense .ue-wk:hover b{display:block}
.ue-wkl{display:flex;gap:12px;margin-top:6px}
.ue-weeks.dense+.ue-wkl{gap:3px}
.ue-wkl span{flex:1;text-align:center;font-size:11px;color:var(--faint);font-weight:600;white-space:nowrap;min-width:0}
.ue-tip{position:absolute;top:2px;width:230px;background:rgba(24,27,40,.95);color:#fff;border-radius:14px;padding:10px 14px;font-size:12px;line-height:1.5;
  box-shadow:0 14px 34px -10px rgba(16,24,40,.4);pointer-events:none;z-index:5}
.ue-tip b{display:block;margin-bottom:2px;font-size:12.5px}
.ue-tm{color:#c4c9dc;margin-top:3px}
@media(max-width:560px){
  .ue-weeks,.ue-wkl{gap:4px}
  .ue-wk b{display:none}
  .ue-wkl span{overflow:hidden;visibility:hidden;font-size:10px}
  .ue-wkl span:first-child,.ue-wkl span:last-child{visibility:visible;overflow:visible}
}

/* ───────── таблицы товаров и калькулятора: группы колонок ───────── */
.ue-tag{display:inline-block;font-size:10.5px;font-weight:800;border-radius:999px;padding:1px 8px;background:#f1f3f6;color:#4a5270;margin-left:6px;
  vertical-align:1px}
.ue-nm{display:inline-flex;flex-wrap:wrap;align-items:center;gap:2px}
.ue .u10t th.srt button{border:0;background:none;font:inherit;color:inherit;cursor:pointer;padding:0;font-weight:inherit}
.ue .u10t th.srt button:hover,.ue .u10t th.srt button.on{color:var(--brand-ink)}
.ue .u10t th.g0,.ue .u10t td.g0{border-left:1px solid #eaedf5}
.ue .u10t th.bnd{border-bottom-color:transparent;border-radius:12px 12px 0 0;color:var(--ink);text-align:left;padding-left:12px}
.ue .u10t th.bnd.b-sale{background:#eef1fd} .ue .u10t th.bnd.b-fact{background:#e7f6ef} .ue .u10t th.bnd.b-ads{background:#fdeee8}
.ue .u10t th.bnd.b-exp{background:#fcf3df} .ue .u10t th.bnd.b-own{background:#efecfb}
.ue .u10t th.bnd::before{width:8px;height:8px;border-radius:50%}
.ue .u10t th.b-sale::before{background:#2f4fd0} .ue .u10t th.b-fact::before{background:#1f9d6b} .ue .u10t th.b-ads::before{background:#eb6834}
.ue .u10t th.b-own::before{background:#6250d6}
.ue-gt td{border-bottom:1px solid #f1f3f8}
.ue-gt tbody td{padding-top:9px;padding-bottom:9px}
.ue-gt td.c-fin,.ue-gt td.c-mg{background:#fbfdfc}
.ue-gt td.c-mg>div{display:inline-block;border-radius:999px;padding:2px 10px}
.ue .u10t td.c-mg [data-lv="0"]{background:rgba(210,75,62,.17)}
.ue .u10t td.c-mg [data-lv="6"]{background:rgba(31,157,107,.2)}
.ue .u10t td.c-fin .up{color:var(--sok);font-weight:700}
.ue .u10t tbody tr.ue-row{cursor:pointer}
.ue .u10t tbody tr.ue-row:hover td{background:#f6f8fd}
.ue .u10t tbody tr.ue-row:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.ue .u10t tbody tr.neg td{background:#fffbfb}
.ue .u10t tbody tr.neg:hover td{background:#fff4f3}
.ue .u10t tbody tr.neg td.u10p::before{content:'';position:absolute;left:5px;top:10px;bottom:10px;width:3px;border-radius:3px;background:#e56f63}
.ue .u10t tbody tr.tot td{font-weight:800;border-top:6px solid #fff;background:#f5f7fb;background-clip:padding-box;border-bottom:0}
.ue-pf{min-width:96px}
.ue-pf span{display:block}
.ue-pf i{display:block;height:5px;border-radius:999px;margin:4px 0 0 auto}
.ue-pf i[data-s=pos]{background:#8fd0b3}
.ue-pf i[data-s=neg]{background:#e9a39b}
.ue-ph{width:44px;height:44px;flex:0 0 44px;border-radius:13px;object-fit:cover;background:#f1f3f6}
.ue .u10t tbody tr.ue-cat td{background:#f4f6fb;font-weight:800;cursor:pointer;border-top:6px solid #fff;background-clip:padding-box}
.ue .u10t tbody tr.ue-cat:hover td{background:#edf0fa;background-clip:padding-box}
.ue .u10t tbody tr.ue-cat.ue-catneg td{background:#fdf1f0;background-clip:padding-box}
.ue .u10t tbody tr.ue-cat:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.ue .u10t tbody tr.ue-child td.u10p .u10pn{padding-left:28px}
.ue-tgall{margin-left:10px;border:1px solid var(--soft-line);background:#fff;border-radius:999px;padding:3px 10px;font:inherit;font-size:11.5px;
  font-weight:700;color:var(--ink-2);cursor:pointer}
.ue-prow .ue-promos{text-align:left;font-size:12px;color:var(--ink-2);white-space:normal;padding:2px 0 2px 56px}
.ue-pr{display:flex;gap:12px;flex-wrap:wrap}
.ue-pr .bad{color:var(--bad)}
.ue-promo{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;font-size:13px;margin:0 0 10px;cursor:pointer}
.ue-promo em{font-style:normal;color:var(--muted)}
.ue-promo.bad b{color:var(--bad)}
@media(max-width:560px){.ue-ph{width:34px;height:34px;flex-basis:34px;border-radius:10px}.ue-prow .ue-promos{padding-left:8px}}

/* ───────── «Калькулятор цены» ───────── */
.ue-sum{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 8px;font-size:13px;color:var(--ink-2);font-weight:600;min-height:32px}
.ue-sum b{font-size:15px}
.ue-sum b.ok{color:var(--good)} .ue-sum b.bad{color:var(--bad)}
.ue-sum .tbtn{height:30px;border:1px solid var(--soft-line);background:#fff;border-radius:999px;padding:0 12px;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
.ue-sumi{display:contents}
.ue-qk{display:inline-flex;gap:6px;align-items:center;margin-left:auto;font-size:12.5px;color:var(--muted);font-weight:600;flex-wrap:wrap;max-width:100%}
.ue-pc{display:inline-flex;align-items:center;gap:2px;height:30px;padding:0 9px;border:1px solid var(--soft-line);border-radius:999px;background:#fff}
.ue-pc:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.ue-pc input{width:56px;border:0;outline:0;background:none;font:inherit;font-size:12.5px;font-weight:700;text-align:right;color:var(--ink)}
.ue-pc input.err{color:var(--bad)}
.ue-pc i{font-style:normal;font-size:12.5px;color:var(--muted);font-weight:700}
.ue-pin{display:inline-flex;align-items:center;gap:4px}
.ue-pin input{width:92px;border:1px solid var(--soft-line);border-radius:12px;padding:7px 9px;font:inherit;font-size:14px;font-weight:700;text-align:right;background:#fff}
.ue-pin input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 4px rgba(47,79,208,.14)}
.ue-step{width:30px;height:30px;border:1px solid var(--soft-line);background:#fff;border-radius:50%;font-size:16px;font-weight:800;cursor:pointer;line-height:1}
.ue-step:hover{border-color:var(--brand);color:var(--brand-ink)}
.ue-ct th.l{text-align:left} .ue-ct th.r{text-align:right}
.ue-ct td.c-price,.ue-ct td.c-mg{text-align:left}
.ue-ct td small{display:block;font-size:11px;color:var(--faint);margin-top:3px;font-weight:700}
.ue-ct td small.bad{color:var(--bad)}
.ue-rwrap{min-width:150px;text-align:left}
.ue-ruler{position:relative;height:10px;border-radius:999px;margin:10px 10px 4px;cursor:pointer;touch-action:none;user-select:none;outline:none;
  background:linear-gradient(90deg,#efb3ac 0 20%,#f6cfca 20% 36%,#f6e3b4 36% 54%,#d3ebdf 54% 70%,#a9d9c2 70% 100%)}
.ue-ruler::before{content:'';position:absolute;left:-10px;right:-10px;top:-12px;bottom:-12px}
.ue-ruler b{position:absolute;top:3.5px;height:3px;background:rgba(18,20,28,.4);border-radius:999px;pointer-events:none}
.ue-ruler i{position:absolute;box-sizing:border-box;border-radius:50%;pointer-events:none}
.ue-ruler i.now{width:12px;height:12px;margin-left:-6px;top:-1px;background:#fff;border:2px solid #12141c;opacity:.85}
.ue-ruler i.new{width:20px;height:20px;margin-left:-10px;top:-5px;background:#fff;border:3px solid var(--brand);box-shadow:0 2px 8px rgba(16,24,40,.28)}
.ue-ruler.moved i.new{background:var(--brand);border-color:#fff;box-shadow:0 0 0 1.5px var(--brand),0 3px 10px rgba(47,79,208,.45)}
.ue-ruler.drag i.new{transform:scale(1.2)}
.ue-ruler:focus-visible i.new{box-shadow:0 0 0 4px rgba(47,79,208,.3),0 2px 8px rgba(16,24,40,.28)}
.ue-cq{display:inline-flex;gap:4px;align-items:center}
.ue-cq button{height:24px;min-width:24px;border:1px solid var(--soft-line);background:#fff;border-radius:999px;padding:0 9px;font:inherit;font-size:11.5px;
  font-weight:800;cursor:pointer;color:var(--ink-2)}
.ue-cm{font-weight:800}
.ue-cm.bad{color:var(--bad)}
@media(max-width:560px){.ue-qk{margin-left:0;width:100%}.ue-rwrap{min-width:122px}.ue-ruler{margin:10px 8px 4px}}

/* ───────── окно «одна проданная штука» ───────── */
.ue-dh{display:flex;gap:14px;align-items:center;margin:4px 0}
.ue-dh .ue-ph,.ue-dh .uth{width:56px;height:56px;flex-basis:56px;border-radius:18px}
.ue-sb{display:flex;gap:2px;height:9px;margin:14px 0 4px}
.ue-sb i{display:block;border-radius:999px;min-width:3px;flex:1 1 0}
.ue-sb i[data-g=cost]{background:var(--seg-1)} .ue-sb i[data-g=plat]{background:var(--seg-2)} .ue-sb i[data-g=ads]{background:var(--seg-3)}
.ue-sb i[data-g=tax]{background:var(--seg-4)} .ue-sb i[data-g=left]{background:var(--seg-5)}
.ue-cmp{width:100%;border-collapse:collapse;font-size:13px;margin:10px 0 4px}
.ue-cmp th{font-size:11.5px;color:var(--faint);font-weight:600;text-align:left;padding:6px 8px;border-bottom:1px solid var(--soft-line)}
.ue-cmp th.num,.ue-cmp td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.ue-cmp td{padding:7px 8px;border-bottom:1px solid #f1f3f8}
.ue-cmp td .ue-sw{width:9px;height:9px;margin:0 8px 0 0;vertical-align:-1px}
.ue-cmp tr.t td{font-weight:800;border-top:1px solid var(--soft-line)}
.ue-cmp td.bad{color:var(--bad)}
.ue-note{margin:10px 0 0;font-size:12.5px;color:var(--muted);line-height:1.5}

@media(prefers-reduced-motion:reduce){.ue *,.ue-pop *{transition:none!important;animation-duration:.01ms!important}}
