/* Compact layer (visual audit 17.10.2026): the page chrome and the blocks above the tables take less screen,
   buttons in one row share one height, long explanations collapse to one line with the full text in the tooltip.
   Loaded after number-system.css; only sizes/spacing here — fonts, colours and number styles stay in their sources. */

/* 1. Header stack: strip + top bar + marketplace bar + sub-menu were ~237 px before the page title. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .channel-strip { padding:3px 24px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .topbar__in { height:68px;min-height:68px;padding-top:6px;padding-bottom:6px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .marketplace-switch__in { min-height:0;padding-top:6px;padding-bottom:6px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .marketplace-switch__group { padding:2px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .marketplace-switch__item { height:32px;min-height:32px;padding-top:0;padding-bottom:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .marketplace-switch .who { padding:4px 10px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .marketplace-switch .logout-form { height:auto; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .subnav a { padding-top:9px;padding-bottom:9px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] main.page { padding-top:20px; }
/* The mobile header wraps; a fixed desktop height would put the theme switch over the marketplace row. */
@media (max-width:760px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .topbar__in { height:auto;min-height:68px; }
}

/* 2. Page head: one height for every button in the row (the help button was 36 px, its neighbours 40 px). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .pagehead { margin-bottom:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .pagehead .sub { margin-top:2px;max-width:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .pagehead .row > :is(.btn,.btn-sm,a,button,form .btn),
html.look-flat.look-accent body.v2.v3[data-marketplace] .pagehead .row form > :is(.btn,.btn-sm,button),
html.look-flat.look-accent body.v2.v3[data-marketplace] .pagehead .row .inline > :is(.btn,.btn-sm,button),
html.look-flat.look-accent body.v2.v3[data-marketplace] .pagehead .row details.menu > summary { height:40px;min-height:40px;box-sizing:border-box;display:inline-flex;align-items:center; }   /* кнопки шапки — 40 на всех страницах (решение 27.10.2026; прежде 36 без периода и таблицы) */

/* 3. Explanations: text-clamp.js marks the long ones; one or two lines, the whole text in the tooltip and on a click. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .is-clamp { display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--clamp-lines,1);line-clamp:var(--clamp-lines,1);overflow:hidden;min-width:0;cursor:pointer;margin-bottom:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .is-clamp.is-open { display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .is-clamp:focus-visible { outline:2px solid var(--primary);outline-offset:2px;border-radius:4px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .page > p.hint { margin-top:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .periodbar { margin-bottom:16px; }

/* 4. KPI cards: no reserved empty lines, a shorter chart. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis { gap:16px;margin-bottom:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .card.kpi { padding:16px 20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis .kpi__title { min-height:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis .kpi__row { margin:4px 0 6px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis .kpi__sub { min-height:20px;margin-top:4px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis .kpi__sub:empty { display:none; }
/* a tile of the page template: the small line is laid over the free place under the number (12/16, as the page picture), it never makes the 228 px tile taller */
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .kpi__sub { position:absolute;left:20px;right:20px;top:76px;min-height:0;margin:0;font:500 12px/16px var(--font);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .kpi__sub b { font-weight:600;color:var(--text); }

/* 5. Blocks above the big tables (unit economics, promotions): tighter info bar and settings strip. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .infobar { padding:10px 16px;margin-bottom:10px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-strip { padding:8px 16px;margin-bottom:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-ready { margin-bottom:8px; }

/* 6. Profile: the tabs and the «Инструкция» button share one row (the button used to sit on a row of its own). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .profile-bar { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-bottom:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .profile-bar .profile-tabs { margin-bottom:0;min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .profile-bar > :not(.profile-tabs) { flex:0 0 auto; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis > .kpi { min-height:0; }
/* Promotion counterparts keep the same summary geometry despite different native hints/password tools. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .promo-overview > .kpi { min-height:128px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .promo-control .wbap-limits .chip { height:auto;min-height:24px;white-space:normal; }
@media (min-width:1000px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .promo-control__head { min-height:84px; }
}

/* 7. Rows of the working tables (ads control, campaigns, promotions): buttons and inputs inside a row are compact,
   the grey caption under an input is one small line (the whole text is in the cell tooltip).
   Advertising statuses keep the wrapping from halo.css, so a narrow column cannot overlap the next one. */
html.look-flat.look-accent body.v2.v3[data-marketplace] table[data-table] td > .hint { font-size:12px;line-height:16px;margin:2px 0 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] table[data-table] tbody td .btn-sm { height:30px;min-height:30px;padding:0 12px;font-size:13px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] table[data-table] tbody td .wbads-bidinput { height:30px;min-height:30px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] table[data-table] th .th-sub { display:block;font-weight:400;font-size:12px;line-height:16px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] table[data-table] tbody td input.wbads-bidinput--halo[type="text"] { color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] table[data-table] tbody td input.wbads-bidinput--own[type="text"] { font-weight:700;color:var(--text); }

/* 8. Long text inside a table cell is clamped by text-clamp.js: no extra margin there. */
html.look-flat.look-accent body.v2.v3[data-marketplace] td .is-clamp { margin:0; }

/* 9. Number tiles without a chart (promotions, WB promo): a low tile, a tight grid. */
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.kpis--4,.kpis--5) { gap:12px;margin-bottom:12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.kpis--4,.kpis--5) > .kpi { padding:10px 16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.kpis--4,.kpis--5) .kpi__title { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.kpis--4,.kpis--5) .kpi__row { margin:2px 0 0; }

/* 10. Campaign page (coinvest): the two top cards are tighter. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .infocards { gap:16px;margin-bottom:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .infocards .card { padding:14px 20px; }

/* 11. Six tiles of the WB promo page stand in one row (they were two rows of four). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--6 { display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--6 > .kpi { padding:10px 16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--6 .kpi__title { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--6 .kpi__row { margin:2px 0 0; }
@media (max-width:1100px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--6 { grid-template-columns:repeat(3,minmax(0,1fr)); } }

/* 12. Automation forms («Пароль» + the buttons): the field and the buttons stand on one line, the same top and the same height. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbap-ctl { align-items:start; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbap-ctl > .row { margin:0;align-items:flex-start; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbap-ctl :is(.row > button,.row > .btn,.secret-input) { margin:0;height:40px;min-height:40px;box-sizing:border-box; }

/* 13. THE RULE OF ALL TABLES (owner, 19.10.2026, no exceptions): text in ANY cell of ANY table of the project - a journal, a working table, a head,
   a nested table - wraps inside its cell (by words, and where a word does not fit by syllables, at the last by letters); it never stays in one line,
   never runs over the next column and never hides under it. A narrow column grows in height, the text is not cut off. */
html body :is(table,.tablewrap,.v3-float-head) :is(th,td),
html body :is(table,.tablewrap,.v3-float-head) :is(th,td) :is(span,div,a,b,i,strong,small,p,em,label,time,code,.t,.s,.cut,.nowrap) {
  white-space:normal !important;overflow-wrap:anywhere !important;word-break:normal !important;
  -webkit-hyphens:auto !important;hyphens:auto !important;text-overflow:clip !important;
}
html body :is(table,.tablewrap,.v3-float-head) :is(th,td) { min-width:0;overflow:hidden; }
/* A number, a date and a SKU are never broken by digits (owner, 12.10.2026 and 19.10.2026): the rule above is for text. Without this the fitted tables measured
   a column of figures at 40 px and showed «2 3 82» (19.10.2026, WB «Товары кампании» with every column on). The HEAD of a column of figures is not in this list any more (15.11.2026): a head
   wraps like all text and never sets the width of its column. */
html body table[data-table] :is(td.num,td[data-v3-number],td[data-v3-nobreak],td[data-col="sku"]),
html body table[data-table] :is(td.num,td[data-v3-number],td[data-v3-nobreak],td[data-col="sku"]) :is(span,div,a,b,i,strong,small,p,em,label,time,code,.t,.s,.cut,.nowrap) {
  overflow-wrap:normal !important;-webkit-hyphens:manual !important;hyphens:manual !important;
}

/* Text labels inside numeric cells still wrap; the neighbouring figures keep their no-break rule. */
html body table[data-table] td.num [data-v3-text],
html body table[data-table] td.num [data-v3-text] :is(span,div,a,b,i,strong,small,p,em,label,time,code) {
  overflow-wrap:anywhere !important;-webkit-hyphens:auto !important;hyphens:auto !important;
}

/* A phone (the fit of table-display.js is off below 640 px): with every word breakable by letters (the rule above) the browser squeezes a text column to 40 px and «Услуга» becomes «Эк-вай-ринг».
   A text column keeps a readable width, the table scrolls inside its card instead; a figure, a date, a SKU and a checkbox keep their own width. The rule of wrapping stays. */
@media (max-width:760px) {
  html body .tablewrap table:not([data-v3-fit]) :is(th,td):not(.num,[data-v3-number],[data-v3-nobreak],[data-col=pick],[data-col=sku],[data-col=actions],:empty) { min-width:88px; }
  html body .tablewrap table:not([data-v3-fit]) :is(th,td):is([data-col=name],[data-col=title],[data-col=offer],[data-col=product],[data-col=article],[data-col=group]) { min-width:140px; }
}

/* Only the hovered date has markers; SVG values, gaps, rings and gauges keep their coordinates. */
html.look-flat.look-accent body.v2.v3[data-marketplace] svg .pt { opacity:0;pointer-events:none;animation:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] svg .pt.on { opacity:1; }
html.look-flat.look-accent body.v2.v3[data-marketplace] svg circle.pt.on { r:7px; }

/* 14. «Обзор / Таблица» of the dashboard pages (dash-tabs.js): the buttons look like the other tabs. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .dash-tabs { margin:0 0 16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .dash-tabs button.table-tab { font:inherit;cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .dash-tabs button.table-tab.is-on { background:var(--accent-soft);color:var(--primary);border-color:var(--accent-line,var(--primary)); }

/* 15. THE PAGE TEMPLATE (owner, 21.10.2026): the shared components of templates/components/ - period line, tiles, «Требует внимания», tabs.
   Order of a page: head + «Инструкция» -> cabinet · period · «Обновлено» · «Обновить» -> «Требует внимания» -> tiles -> table. Rules: docs/rules/UI.md, «Единый шаблон страницы». */
/* The period uses the home page's surface, separate preset links and visible date fields (owner, 23.10.2026). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-period { display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-period form { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-period > .periodbar { flex:1 1 100%;width:100%;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .periodbar__presets { display:flex;align-items:center;flex-wrap:wrap;gap:5px;max-width:100%; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-period .periodbar__custom { margin:0 8px 0 auto; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-seg { display:inline-flex;height:40px;border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:hidden; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-seg__b { display:inline-flex;align-items:center;padding:0 13px;border-left:1px solid var(--line);font-weight:600;font-size:14px;color:var(--text);text-decoration:none;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-seg__b:first-child { border-left:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-seg__b:hover { background:var(--accent-soft); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-seg__b.is-on { background:var(--primary);color:var(--v3-on,#fff);border-color:var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-chip { display:inline-flex;align-items:center;gap:8px;height:40px;box-sizing:border-box;margin:0;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font:600 14px/20px var(--font);white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-chip select { height:38px;min-height:0;width:auto;margin:0 0 0 -4px;padding:0;border:0;background:transparent;font:inherit;color:inherit;box-shadow:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-ico { width:16px;height:16px;flex:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-period__end .btn-sm.tpl-refresh { display:inline-flex;align-items:center;gap:6px;height:40px;min-height:40px;box-sizing:border-box;margin:0;padding:0 14px;border:1px solid var(--line)!important;border-radius:10px;background:var(--surface)!important;color:var(--text)!important;font:600 14px/20px var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-period__end .btn-sm.tpl-refresh:hover:not(:disabled) { background:var(--accent-soft)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-chip__dot { width:8px;height:8px;border-radius:50%;background:var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-period__end { margin-left:auto;display:flex;align-items:center;gap:12px;flex-wrap:wrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-period .tpl-period__updated { width:auto;flex:0 1 auto;padding:0;margin:0;font-size:14px;color:var(--muted);white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-period .tpl-period__note { color:var(--v3-amber); }      /* «Обновлено 11:28 · загрузка данных не завершена»: a state of the data, not a row of «Требует внимания» (owner, 28.10.2026) */
@media (max-width:900px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-period .periodbar__custom { margin:0;padding-left:0;width:100%;flex-wrap:wrap; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-period__end { margin-left:0;width:100%;justify-content:space-between; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-seg { max-width:100%;overflow-x:auto; }
}
/* Other segmented mode controls remain scrollable on a phone. */
@media (max-width:560px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-seg { max-width:100%;overflow-x:auto;scrollbar-width:none; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-seg__b { flex:none; }
}
/* tiles: at most 6, two rows of three, one height; the change is a chip in the corner (the colour of the marketplace) and the ring with the mini chart; the first tile is the ДРР gauge (below) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles { grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:16px;margin-bottom:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles > .kpi { padding:18px 20px 10px;min-height:228px; }      /* 228 px: the title 18 from the top, the number 8 under it, the chart 10 from the bottom (the page picture) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .kpi__title { min-height:20px;display:flex;align-items:center;gap:6px;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .kpi__badge { font-size:12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .kpi__row { flex-wrap:nowrap;justify-content:space-between;align-items:baseline;margin:8px 0 8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .kpi__value { min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .delta { margin-left:auto;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .kpi__empty { min-height:70px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .kpi-chart--narrow { display:none; }
/* the narrow drawing (320) is chosen by the width of the TILE, not of the window (owner's audit, 2026-10-28): at 1159 the tile is 314 inside, the wide drawing (438) would be squeezed to 72 % - a ring of 66 px
   with 8 px captions; the narrow one gives 90 px and 12 px. From 374 px inside the wide drawing fits (1536: 440). Below 290 (a window of about 1000) the rule stays as it was (owner: «как сейчас»). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles > .kpi { container-type:inline-size;container-name:kpitile; }
@media (min-width:901px) {
  @container kpitile (min-width:290px) and (max-width:373px) {
    html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .kpi-chart--wide { display:none; }
    html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .kpi-chart--narrow { display:block; }
  }
}
@media (max-width:560px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .kpi-chart--wide { display:none; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .kpi-chart--narrow { display:block; }
}
html.look-flat.look-accent body.v2.v3[data-marketplace] .page .tpl-attn + .kpis--tiles { margin-top:0; }                  /* the card of «Требует внимания» does not add the 24 px of the generic card-to-card rule (design-v3.css:151) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .page:has(:is(.tpl-period,.tpl-tablecard,.tpl-tabs)) > .pagehead .row > :is(.btn,.btn-sm,a,button,form .btn),
html.look-flat.look-accent body.v2.v3[data-marketplace] .page:has(:is(.tpl-period,.tpl-tablecard,.tpl-tabs)) > .pagehead .row form > :is(.btn,.btn-sm,button),
html.look-flat.look-accent body.v2.v3[data-marketplace] .page:has(:is(.tpl-period,.tpl-tablecard,.tpl-tabs)) > .pagehead .row details.menu > summary { height:40px;min-height:40px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table[data-table] td[data-v3-signal=primary], html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table[data-table] td[data-v3-signal=primary] * { color:var(--primary)!important; }      /* WB: the main column in the lilac, not in the Ozon blue */
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .delta--good { color:var(--v3-ozon)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace=wildberries] .kpis--tiles .delta--good { color:var(--v3-wb)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles .delta--bad { color:var(--v3-red)!important; }
@media (max-width:900px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:520px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles { grid-template-columns:minmax(0,1fr); } }
/* «Требует внимания» (variant B of the owner, 22.10.2026): soft row-cards - every item is a card with the ground of its tone, the icon (red triangle / amber circle with «!» / green circle with a tick) + the bold figure before the name, the explanation small under the name, the link-button on the right; three cards, the rest under «ещё N ▾». The same tpl-attn* classes are used by the control pages of both markets. Colours: only the theme tokens. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn { margin-bottom:16px;padding:18px 20px 16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__title { margin:0 0 12px;font-size:17px;line-height:24px;font-weight:700;display:flex;align-items:center;gap:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__title .pill.pill--warn { display:inline-block;width:auto;min-width:0;height:20px;box-sizing:border-box;padding:0 8px;border:0!important;border-radius:10px;background:var(--v3-amber-bg)!important;color:var(--v3-amber)!important;font:700 12px/20px var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__list { list-style:none;margin:0;padding:0;display:grid;gap:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__list + .tpl-attn__list { margin-top:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__list[hidden] { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item { --tone:var(--v3-amber);--tone-bg:var(--v3-amber-bg);--tone-line:color-mix(in srgb,var(--v3-amber) 30%,transparent);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 20px;align-items:center;box-sizing:border-box;padding:12px 16px;border-radius:14px;background:var(--tone-bg);border:1px solid var(--tone-line);font-size:14px;line-height:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item--bad { --tone:var(--v3-red);--tone-bg:var(--v3-red-bg);--tone-line:var(--v3-red-line); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item--good { --tone:var(--v3-green);--tone-bg:color-mix(in srgb,var(--v3-green) 10%,var(--v3-surface));--tone-line:color-mix(in srgb,var(--v3-green) 30%,transparent); }       /* a growth is green (the picture's amber is for a thing to check) */
/* Dark attention is quiet: colour identifies the tone without filling the whole row brightly. */
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] .tpl-attn__item { --tone-bg:color-mix(in srgb,var(--tone) 4%,var(--v3-surface));--tone-line:color-mix(in srgb,var(--tone) 12%,var(--v3-surface)); }
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] .tpl-attn__value,
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] .tpl-attn__delta b { color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__main { min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__head { display:flex;align-items:baseline;gap:4px 10px;flex-wrap:wrap;min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__ico { width:20px;height:20px;flex:none;align-self:center;color:var(--tone); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__sr { position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap; }      /* label «Критично: / Важно: / Рост:» for readers: colour alone is not enough */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__value { font-size:20px;line-height:24px;font-weight:700;color:var(--tone);white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__name { font-size:15px;line-height:24px;font-weight:600;color:var(--text);overflow-wrap:anywhere;min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__delta { font-size:14px;color:var(--text);overflow-wrap:anywhere; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__delta b { color:var(--tone);font-weight:700; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__detail { display:block;margin:2px 0 0 30px;font-size:13px;line-height:18px;color:var(--muted);overflow-wrap:anywhere; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__lead { margin:0 0 12px;font-size:15px;line-height:24px;color:var(--text);overflow-wrap:anywhere; }      /* the line of the main thing under the title («Советы») */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item--plain .tpl-attn__name { flex:1 1 0;min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item--plain .tpl-attn__ico { align-self:flex-start;margin-top:2px; }
/* a notice without a figure: the icon stays at the first line, the text wraps beside it */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__act { display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;justify-content:flex-end; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__act { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item > details { grid-column:1 / -1;margin-top:8px; }      /* a fold under the item (the password of a blocked card) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item > .tpl-attn__budget { margin:4px 0 0 30px;font-size:13px;line-height:18px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__budget > summary { cursor:pointer;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__budget > p { margin:8px 0;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__budget .tpl-attn__act { justify-content:flex-start; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn.home-attention { margin:20px 0; }      /* the block of the home page keeps its own distance from the blocks around */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn.home-attention:not([open]) > summary { margin-bottom:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn.home-attention > summary { cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .home-attention-count { color:var(--muted);font:400 13px/20px var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__acts { display:inline-flex;flex-wrap:wrap;gap:8px 14px;align-items:center;justify-content:flex-end; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__acts form { display:inline;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__acts .linkbtn:not(.tpl-attn__btn) { padding:0;border:0;background:none;color:var(--primary);font:600 14px/20px var(--font);cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.tpl-attn__go,button.tpl-attn__btn) { display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 14px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--primary);font:600 13px/20px var(--font);text-decoration:none;white-space:nowrap;cursor:pointer;box-sizing:border-box; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item .btn { height:32px;min-height:32px;padding:0 14px;border-radius:10px;font:600 13px/20px var(--font);white-space:nowrap; }      /* coinvest items (ozon_ads, wb_ads): link-button size */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item .btn-secondary { background:var(--surface)!important;color:var(--primary)!important;border:1px solid var(--line); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item .btn-secondary:hover { background:var(--v3-band)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.tpl-attn__go,button.tpl-attn__btn):hover { background:var(--v3-band); }
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.tpl-attn__go,button.tpl-attn__btn,.tpl-attn__more,.tpl-attn__acts .linkbtn):focus-visible { outline:2px solid var(--primary);outline-offset:2px;border-radius:6px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__more { display:block;width:auto;margin:10px 0 0;padding:4px 0;border:0;background:none;text-align:left;color:var(--primary);font:600 14px/20px var(--font);cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__more[hidden] { display:none; }
@media (max-width:600px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn { padding:16px 14px 14px; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item { grid-template-columns:minmax(0,1fr);gap:10px;padding:12px; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__detail { margin-left:0; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__act { flex-direction:column-reverse;align-items:stretch; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__acts { display:flex;flex-direction:column;align-items:stretch; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__acts form { display:block; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__acts .linkbtn:not(.tpl-attn__btn) { text-align:left; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.tpl-attn__go,button.tpl-attn__btn,.tpl-attn__item .btn) { width:100%;height:36px; }
}
/* × of an item of «Требует внимания» (personal closing, owner 01.11.2026, modules/attention.py): the × of the help dialogs in the top right corner of the card; «Скрыто N · показать» at the bottom of the block, a closed item there is quiet (no tone) with «Вернуть» */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item--closable { position:relative;padding-right:44px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__close { position:absolute;top:6px;right:6px;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__x { display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;font-size:20px;cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__x { background:none;color:var(--muted); }      /* a submit button, but not the main one (design-v3.css, design-v3-native.css leave it out): no white-on-white × */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__x:hover { background:none;color:var(--text); }      /* no fill on hover (owner, 08.11.2026) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__x:focus-visible { outline:2px solid var(--primary);outline-offset:2px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__hidden { margin-top:10px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__hidden > summary { width:max-content;max-width:100%;cursor:pointer;color:var(--muted);font:600 13px/20px var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__hidden > summary:focus-visible { outline:2px solid var(--primary);outline-offset:2px;border-radius:6px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__hidden > .tpl-attn__list { margin-top:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item--off { --tone:var(--muted);--tone-bg:var(--surface);--tone-line:var(--line); }
@media (max-width:600px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__item--closable { padding-right:44px; } }
/* the buttons of the strip («Прочитано», «Отложить ▾») and of the floating list are compact (32 px / 13 px); a phone: «!» and the buttons in the first line, the text under them (notifications.css) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .urgent-strip :is(.urgent-strip__acts,.nb-card__actions,.nb-pop) .btn-sm { box-sizing:border-box;height:32px;min-height:32px;margin:0;padding:0 12px;border-radius:10px;font:600 13px/20px var(--font); }
/* the main button of a notice card (bell, strip, list): the text is the colour of the page background (UI.md, p. 6) - white on the pale violet of WB in the dark theme was unreadable */
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.urgent-strip__acts,.nb-card__actions,.nb-pop) .btn-sm:not(.btn-secondary) { color:var(--bg)!important; }
/* the tile «Реальный ДРР» (owner, 21.10.2026, variant Г): the first of the six tiles, the same size; two small lines in the corner instead of the change; the gauge on the place of the ring. Colours of the scale - tokens, both themes, the marketplace colour for the needle and the dot. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles > .kpi { position:relative; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpi__side { position:absolute;right:20px;top:16px;display:flex;flex-direction:column;align-items:flex-end;font:400 13px/20px var(--font);color:var(--muted);white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpi__side b { color:var(--text);font-weight:700; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .drr-gauge { --gm:var(--v3-ozon);--g0:#9cc0ff;--g1:#e6ebf2;--g2:#f4a7af;--g3:#e5606c; }
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace=wildberries] .drr-gauge { --gm:var(--v3-wb);--g0:#cbb0f2; }
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] .drr-gauge { --g0:#80b0ff;--g1:#4a4a4a;--g2:#8a4652;--g3:#ff8893; }
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace][data-marketplace=wildberries] .drr-gauge { --g0:#c7a3ff; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .drr-gauge .g0 { stop-color:var(--g0); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .drr-gauge .g1 { stop-color:var(--g1); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .drr-gauge .g2 { stop-color:var(--g2); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .drr-gauge .g3 { stop-color:var(--g3); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .drr-gauge .tick { stroke:var(--muted);stroke-opacity:.55; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .drr-gauge .goal { stroke:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .drr-gauge .second { fill:var(--v3-surface);stroke:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .drr-gauge .needle { stroke:var(--gm); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .drr-gauge .hub { fill:var(--v3-surface);stroke:var(--gm); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .drr-gauge .real { fill:var(--gm);stroke:var(--v3-surface); }
/* tabs above the card of the table (variant B, owner 21.10.2026): one solid switch 36 px, the active tab filled with the colour of the marketplace, «Кампании · 62»; the gap is here, not in a style attribute.
   The selector `.table-tabs.tpl-tabs > a.table-tab` is heavier than the common rule of design-v3-native.css:355 (it has !important too), so the tabs have no frames of their own. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tabs.tpl-tabs { display:flex!important;width:fit-content;max-width:100%;flex-wrap:nowrap;gap:0!important;height:40px;box-sizing:border-box;margin:8px 0 12px!important;padding:0!important;border:1px solid var(--line)!important;border-radius:10px;background:var(--surface)!important;overflow:hidden;vertical-align:top; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tabs.tpl-tabs > a.table-tab { box-sizing:border-box;display:inline-flex!important;align-items:center;height:38px!important;min-height:38px!important;max-height:38px!important;margin:0!important;padding:0 13px!important;border:0!important;border-left:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;color:var(--text)!important;font:600 14px/38px var(--font)!important;text-decoration:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tabs > a { white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tabs.tpl-tabs > a.table-tab:first-child { border-left:0!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tabs.tpl-tabs > a.table-tab:hover { background:var(--accent-soft)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tabs.tpl-tabs > a.table-tab.is-on { background:var(--primary)!important;color:var(--v3-on,#fff)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tabs.tpl-tabs > a.table-tab.is-empty:not(.is-on) { color:var(--muted)!important;font-weight:500!important; }      /* an empty tab is pale, «Здесь товаров нет» in its tooltip (owner, 06.11.2026) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-toggle--switch.is-on::after { content:"✕";margin-left:8px;font-weight:400; }      /* a switch that is on shows how to switch it off (owner, 06.11.2026) */
/* a phone: a long strip of tabs is scrolled inside its own row, the page itself never scrolls sideways */
@media (max-width:767px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tabs.tpl-tabs { overflow-x:auto!important;overflow-y:hidden;scrollbar-width:none; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tabs.tpl-tabs > a.table-tab { flex:none; }
}
/* the card under the tabs (variant B): the panel 12/20 with controls 36 px high, the grey header row straight under it - no padding of the card, no frame of the table inside */
html.look-flat.look-accent body.v2.v3[data-marketplace] .card.tpl-tablecard { padding:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard > :not(.v3-table-shell) { margin:16px 20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard > form.wbads-manual > :is(.wbads-bulkbar,.v3-table-shell) { margin:16px 20px; }          /* campaign page of WB: the products table sits in the card exactly as on Ozon (owner, 14.11.2026) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard > form.wbads-manual > .v3-table-shell { width:auto;min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard > .row:empty { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .v3-table-shell:not(.is-fullscreen) > .table-tools { gap:10px!important;padding:12px 20px!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .v3-table-shell:not(.is-fullscreen) > :is(.table-more,.bulkbar) { margin:12px 20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-more > .btn-sm { height:40px;min-height:40px;box-sizing:border-box; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .help-dialog .help-dialog__foot > .btn { height:40px;min-height:40px;box-sizing:border-box; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .v3-table-shell:not(.is-fullscreen) .tablewrap { border:0;border-radius:0 0 19px 19px;box-shadow:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .v3-table-shell:not(.is-fullscreen) .tablewrap th { border-radius:0; }
/* the cross of a window: a 40 x 40 button like every other, the cross itself readable (the generic V3 button rule made it 15 px; owner's audit, 2026-10-28) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .fbo-dialog > .fbo-dialog__close { width:40px;height:40px;min-height:40px;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--v3-band);color:var(--text);font-size:26px;font-weight:400;line-height:36px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .fbo-dialog > .fbo-dialog__close:hover { background:var(--accent-soft);color:var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools > .table-toggles { max-width:100%; }      /* the switches wrap inside the panel on a phone, the page does not scroll sideways */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .hint.table-filter-note { margin:6px 20px; }      /* «Включён фильтр: … Сбросить» has the 20 px of the card, like the panel under it */
/* «Все товары» of the home: the notes over the table are close lines, the explanations under it keep the 20 px of the card */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard.home-products > p.hint.hp-note-line { margin:0 20px 4px;line-height:18px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard.home-products > p.hint.hp-foot { margin:12px 20px 8px;line-height:18px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools .table-search { box-sizing:border-box;flex:0 1 320px;width:320px;max-width:100%;height:40px!important;min-height:40px!important;margin:0!important;padding:0 12px 0 36px;
  background:var(--surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.5-3.5'/></svg>") no-repeat 12px center!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools :is(.export-btn,.gear-btn,.filter-btn,.v3-table-view > summary,.cat-toggle,.table-toggles .table-toggle) { height:40px!important;min-height:40px!important;max-height:40px!important;font-weight:600!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools .export-btn--icon { width:40px!important;min-width:40px;padding:0!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools .filter-btn { padding:0 12px!important;border-color:transparent!important;background:var(--accent-soft)!important;color:var(--primary)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .pagehead .row details.menu > .menu__list { left:auto;right:0; }
/* the panel of the table in the card (owner's picture, 21.10.2026): the switches and the server «Статус: Все ▾» are chips of the panel (tables.js puts them there); the bars that stay (tabs of a filter, value chips) are 20 px in from the edge of the card */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tabs:not(.tpl-tabs) { margin:12px 20px 0!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools > details.tpl-status { position:relative;display:block;flex:none;width:auto;height:auto;margin:0;padding:0;background:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools > details.tpl-status > summary { box-sizing:border-box;height:40px;min-height:40px;padding:0 12px;border:0;border-radius:10px;background:var(--accent-soft);color:var(--primary);font:600 14px/40px var(--font);cursor:pointer;list-style:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools > details.tpl-status > summary::-webkit-details-marker { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools > details.tpl-status .menu__list { position:absolute;z-index:30;top:44px;left:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools:not(:has(> :not(.v3-table-modes))) { display:none; }      /* a table with nothing but «Вид таблицы» (a matrix of settings): no empty panel */
/* the fields of a filter bar (the shared look of the page picture): the search is ONE frame (the label) - the input inside has none; the select and the date in a chip have no frame of their own; fields and buttons are 40 px */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-notes__search.tpl-notes__search { height:40px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-notes__search.tpl-notes__search input { height:38px;min-height:0;border:0;background:transparent;box-shadow:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-fchip.tpl-fchip { height:40px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-fchip.tpl-fchip :is(select,input) { height:38px;min-height:0;width:auto;border:0;background:transparent;box-shadow:none;color:inherit;font:inherit;cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-fchip.tpl-fchip select { -webkit-appearance:none;appearance:none;padding:0 16px 0 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-fchip:has(> select)::after { content:"▾";margin-left:-14px;pointer-events:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-fchip input[type=date] { color-scheme:light; }
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] .tpl-fchip input[type=date] { color-scheme:dark; }
/* a switch of the mode made of buttons (not links): the same segments as the presets; a plain button of the page must not paint them */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-seg > button.tpl-seg__b:not(.is-on) { height:auto;min-height:0;margin:0;border-top:0;border-right:0;border-bottom:0;border-radius:0;background:transparent;color:var(--text);cursor:pointer; }

/* the table of the page template (variant B, owner 21.10.2026): the head 37 px 13/16, rows 43 px 15/20, first column 20 px in - only inside .tpl-tablecard */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table[data-table] th { height:auto;padding-top:10px;padding-bottom:10px;font:500 13px/16px var(--font); }
/* text left, figures centred (UI.md, section 7): halo.css centres every cell, here only the cells of figures (class num / data-v3-number), the checkbox column and an explicit .center keep the middle */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .tablewrap :is(th,td):not(.num,.center,.chk,[data-v3-number],[data-col=pick],[data-col=sku]) { text-align:left; }
/* the dates and short marks of the stock tables (the date «В таком остатке с», «Реклама» Да/Нет, «Заметки») are in the middle like the figures; the header as its data (owner's audit, 2026-10-28) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .tablewrap :is(table[data-table="fbs.stocks"],table[data-table="wb.fbs.stocks"],table[data-table="fbo.stocks"],table[data-table="wb.fbo.stocks"]) :is(th,td):is([data-col=zero_since],[data-col=last_ad_spend],[data-col=ad],[data-col=notes]) { text-align:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .tablewrap :is(table[data-table="fbs.stocks"],table[data-table="fbo.stocks"]) td[data-col=notes] .notes-btn.is-empty { margin-left:auto;margin-right:auto; }      /* the empty «+» of «Заметки» in the middle (td.notes-cell keeps a text note on the left) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table[data-table] td { height:auto;padding-top:11px;padding-bottom:11px;font-size:15px;line-height:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table > :is(thead,tbody,tfoot) > tr > :is(th,td):nth-child(1 of :not([hidden]):not([style*="display: none"]):not([style*="display:none"])) { padding-left:20px!important; }
/* the ⓘ of a tile title (button.tip): the generic V3 button rule (40 px, 15 px) must not grow the title row - checked against gauge-tile/D.png */
html.look-flat.look-accent body.v2.v3[data-marketplace] button.tip { height:auto;min-height:0;padding:0 2px;font-size:12px;line-height:1;background:none;border:0;box-shadow:none;color:var(--muted);display:inline; }
/* a tile without a chart: the ring + two facts on the right (owner's pictures of «Цены и акции», 21.10.2026; modules-mockup/03-prices .facts) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpi__ringrow { display:flex;align-items:center;gap:20px;margin-top:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpi__ringrow .kpi-ring { flex:none;width:116px;height:120px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpi__facts { flex:1;min-width:0;font-size:13px;line-height:20px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpi__facts div { display:flex;justify-content:space-between;gap:8px;padding:3px 0;border-top:1px solid var(--line); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpi__facts div:first-child { border-top:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpi__facts b { color:var(--text);font-weight:600; }
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] .kpi-chart :is(circle,text)[stroke="#b26a00"] { stroke:#ffc266; }
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] .kpi-chart text[fill="#b26a00"] { fill:#ffc266; }

/* ---- «Сортировщик» Ozon и WB, вариант А «Лента» (владелец, 22.10.2026; docs/ui-2026/sorter-tabs): вкладки «Сортировка» / «Корректировки» и
   «Сводка за период»; каждый блок — карточка во всю ширину, внутри одна строка; все поля, кнопки и вкладки — 40 px. Цвета — переменные темы. ---- */
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .pagehead .row .help-btn { height:40px;min-height:40px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .table-tabs.tpl-tabs { margin:0 0 16px!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .card.st-card { padding:16px 20px;margin:0 0 16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page :is(.btn,.btn-sm).btn-secondary { background:var(--surface)!important;border:1px solid var(--line);color:var(--text)!important; }
/* Theme changes must switch the background and its text together, without an unreadable intermediate shade. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page :is(.btn,.table-tab) { transition:box-shadow .15s,border-color .15s; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page :is(.st-card,.ff-strip) :where(input:not([type=checkbox]):not([type=radio]),select,.btn,.btn-sm) { box-sizing:border-box;height:40px;min-height:40px;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-card .btn-sm { padding:0 14px;border-radius:10px;font:600 15px/20px var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-line { display:flex;align-items:flex-end;gap:12px 16px;flex-wrap:wrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-field { display:flex;flex-direction:column;gap:4px;margin:0;font:600 13px/20px var(--font);color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-field :is(input,select) { width:160px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .card.st-period { display:block; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-period .st-line { align-items:center;width:100%; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-period .periodbar__custom { margin:0;padding-left:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-cabinet { margin:0 0 16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .period-downloads { display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px;width:max-content;max-width:100%;margin:0 0 0 auto; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .period-downloads .btn { width:100%;justify-content:center;gap:8px;padding:0 14px;white-space:nowrap;font:600 15px/20px var(--font); }
@media (max-width:1279px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-period .period-downloads:has(button:nth-of-type(3)) { width:100%; }
}
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-file { flex:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-file rect { fill:#1d7a46; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-file path { stroke:#fff;stroke-width:1.7;stroke-linecap:round;fill:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-file--pdf rect { fill:#c13946; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-file--extended_pdf rect { fill:#8a2430; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-result { display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 24px;margin:16px 0 0;padding-top:16px;border-top:1px solid var(--line);font-size:15px;line-height:24px;color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-k { color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-num { font:700 20px/24px var(--font);letter-spacing:0;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-num--total { font-size:24px;line-height:28px;color:var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-note { margin:8px 0 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-note--warn { font-size:13px;line-height:20px;color:var(--v3-amber); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 24px;align-items:center;margin-top:12px;font-size:14px;line-height:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress__text { grid-column:1;margin:0;font-size:14px;line-height:20px;color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress__text.is-stopped { color:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress__bar { grid-column:1;display:block;width:100%;height:6px;border:0;border-radius:3px;background:var(--band);overflow:hidden;appearance:none;-webkit-appearance:none;accent-color:var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress__bar::-webkit-progress-bar { background:var(--band);border-radius:3px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress__bar::-webkit-progress-value { background:var(--primary);border-radius:3px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress__bar::-moz-progress-bar { background:var(--primary);border-radius:3px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress__bar.is-waiting::-webkit-progress-value { background:var(--v3-amber); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress__bar.is-waiting::-moz-progress-bar { background:var(--v3-amber); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress__bar.is-stopped::-webkit-progress-value { background:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress__bar.is-stopped::-moz-progress-bar { background:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress__at { grid-column:2;grid-row:1 / span 2;color:var(--muted);white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-cells { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:14px;overflow:hidden; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-cells--pair { grid-template-columns:repeat(2,minmax(0,1fr)); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-cells > div { display:flex;flex-direction:column;gap:4px;min-width:0;padding:12px 16px;border-left:1px solid var(--line); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-cells > div:first-child { border-left:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-cells .st-k { font-size:13px;line-height:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-rate { display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-rate__label { margin:0;font:600 14px/20px var(--font);color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-rate input { width:112px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-rate input[type=date] { width:auto; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-rate dialog input { width:100%; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-rate dialog .hint { margin:0 0 12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-rate .hint { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-strip { padding:16px 20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-strip__form { gap:12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-strip__info { font-size:15px;line-height:24px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-strip__field { gap:8px;font:600 14px/20px var(--font);color:var(--muted);white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-strip__field input { width:80px;text-align:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-strip__check { height:40px;font-size:14px;font-weight:400;color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .tpl-form-row { gap:16px;margin-top:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .tpl-field { min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .tpl-field :is(input,select) { width:176px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .tpl-check { height:40px;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .tpl-form-row > #submit-btn.st-go { min-width:176px;margin:0 0 0 auto;opacity:1; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__title { display:flex;align-items:baseline;gap:8px;margin:0 0 12px;font:700 17px/24px var(--font);color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .tpl-tablecard > .gc__title { margin:16px 20px 12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page td[data-col=art] b { font-weight:500; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page tr.is-canceled :is(td[data-col=art],td[data-col=n]) { text-decoration:line-through; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page td[data-col=act] form { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__cnt { font:600 13px/20px var(--font);color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__form { display:grid;grid-template-columns:minmax(0,1.3fr) auto minmax(0,1.6fr) auto;gap:12px;align-items:start;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__field { display:flex;flex-direction:column;gap:4px;min-width:0;margin:0;font-size:13px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__label { font:600 13px/20px var(--font);color:var(--muted);white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__req { color:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__box { position:relative;display:block; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__icon { position:absolute;left:12px;top:12px;width:16px;height:16px;color:var(--muted);pointer-events:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__form :is(.gc__search,.gc__comment) input { box-sizing:border-box;width:100%;height:40px;min-height:40px;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__box input { padding-left:36px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__count { display:inline-flex;gap:4px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__count .btn { box-sizing:border-box;width:40px;min-width:40px;height:40px;min-height:40px;margin:0;padding:0;font-size:18px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__count input { box-sizing:border-box;width:64px;height:40px;min-height:40px;margin:0;padding:0 4px;text-align:center;font-weight:400; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-card .gc__form > .gc__go { height:40px;min-height:40px;margin:24px 0 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__form [aria-invalid=true] { border-color:var(--v3-red)!important;box-shadow:0 0 0 3px var(--v3-red-bg); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__error { font:500 13px/20px var(--font);color:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page :is(.gc__hint,.gc__msg) { margin:8px 0 0; }
@media (max-width:760px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .card.st-card,html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-strip { padding:16px; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-line { flex-direction:column;align-items:stretch; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-field :is(input,select) { width:100%; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-period .periodbar__custom { margin:0;padding-left:0;width:100%;flex-wrap:wrap; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .period-downloads,html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .period-downloads:has(button:nth-of-type(3)) { width:100%;margin:0; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .period-downloads .btn { padding:0 8px;font-size:12px;line-height:15px;white-space:normal; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .period-downloads :is(.st-file,.st-download-prefix) { display:none; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-cells > div { padding:10px 8px; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-cells .st-num { font-size:16px;line-height:22px; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-rate input,html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-rate .btn { flex:1 1 120px; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress { grid-template-columns:minmax(0,1fr); }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-progress__at { grid-column:1;grid-row:auto; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-strip__info { flex-basis:100%; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .ff-strip__form .btn { flex:1 1 auto; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .tpl-field,html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .tpl-field :is(input,select),html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .tpl-form-row > #submit-btn.st-go { width:100%; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__form { grid-template-columns:minmax(0,1fr) auto; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__form :is(.gc__search,.gc__comment) { grid-column:1 / -1; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .gc__form .gc__pieces { grid-column:1; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .sorter-page .st-card .gc__form > .gc__go { grid-column:2;margin-top:0; }
}
/* The header on a phone (owner, 22.10.2026): the wordmark, «Заметки», the bell and the theme switch stay in one line inside the screen. */
@media (max-width:760px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .topbar__in { column-gap:8px; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .logo { min-width:0;height:48px; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .logo .hm-wm { font-size:22px;line-height:28px; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .topbar__in > :is(.v3-notes,.nb,.v3-theme) { flex:none; }
}

/* the buttons of the header of the unit economics (Инструкция, Калькулятор цены, Будущие цены, Действия) wrap on a narrow screen and are never cut */
body.v2 .pagehead .row { max-width: 100%; }

/* The panel above EVERY table, one order (owner, 25.10.2026): row 1 (when there is one) - the filters, chips and switches; row 2, right above the table - the
   search on the left and ONE group on the right: «Excel», the gear, «Вид таблицы». Pure order, no change of the DOM: the page's own buttons keep their place
   after the search; an invisible break (::after) closes row 1 only on a panel that has row-1 items. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tools > .export-btn { order:1; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tools > .gear-btn { order:2; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tools > .v3-table-modes { order:3;margin-left:0!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tools:has(> :is(.table-filter,.table-toggles,.table-chips,.table-tabs,details.tpl-status,.cat-toggle)) > :is(.table-filter,.table-toggles,.table-chips,.table-tabs,details.tpl-status,.cat-toggle) { order:-3; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tools:has(> :is(.table-filter,.table-toggles,.table-chips,.table-tabs,details.tpl-status,.cat-toggle)) > .table-search { order:-1; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tools:has(> :is(.table-filter,.table-toggles,.table-chips,.table-tabs,details.tpl-status,.cat-toggle)) { row-gap:4px; }   /* the invisible break below is a row of its own: 4 + 4 px make the usual 8 px between the rows */
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tools:has(> :is(.table-filter,.table-toggles,.table-chips,.table-tabs,details.tpl-status,.cat-toggle))::after { content:"";order:-2;flex:0 0 100%;height:0; }

/* Page of a связка: one calm line of three facts instead of the three rings (owner, 25.10.2026). */
.group-facts { display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px;margin:0 0 12px;padding:10px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font:400 14px/20px var(--font); }
.group-facts__item { display:inline-flex;align-items:baseline;gap:6px;margin:0;padding:0;border:0;background:none;color:var(--muted);font:inherit; }
.group-facts__item b { color:var(--text);font-weight:700; }
.group-facts__item--ok b { color:var(--v3-green); }
.group-facts__item--warn b { color:var(--v3-amber); }
.group-facts__item--bad b { color:var(--v3-red); }
button.group-facts__item { cursor:pointer;border-radius:8px;padding:2px 8px;margin:-2px -8px; }
button.group-facts__item--warn { background:var(--v3-amber-bg); }
button.group-facts__item--bad { background:var(--v3-red-bg); }
button.group-facts__item:hover { text-decoration:underline; }

/* «Настройки связки» (Ozon and WB): an even grid of two columns by pairs - [ДРР | доп. расход], [объём | заметка] - then the flag and the button across the width
   (owner, 25.10.2026); one column on a narrow screen. */
.group-settings { display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 16px; }
.group-settings .field { margin:0;flex:0 0 auto; }
.group-settings .field > label { display:block;margin:0 0 6px;font:600 14px/20px var(--font); }
.group-settings .field > label.check { display:flex;align-items:center;min-height:40px;margin:0;font-weight:500; }
.group-settings .field input[type=text],.group-settings .field input[type=number],.group-settings .field-unit { width:150px;max-width:100%;box-sizing:border-box; }
.group-settings .field input[type=text],.group-settings .field input[type=number] { height:40px; }
.group-settings .field-unit input[type=text] { width:100%; }
.group-settings .field:has(textarea) { flex:1 1 240px;max-width:360px; }
.group-settings .field textarea { display:block;margin:0;width:100%;max-width:none;box-sizing:border-box;height:40px;min-height:40px;overflow:hidden;resize:none; }
/* WB renders the label first and the box after it: show it as the box with its caption, like the Ozon one */
.group-settings .field:has(> input[type=checkbox]) { display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:8px;min-height:40px; }
.group-settings .field:has(> input[type=checkbox]) > label { margin:0; }
.group-settings__wide { display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 16px;flex:0 1 auto; }
.group-settings__wide .field { flex:0 0 auto; }
.group-settings__save { flex:0 0 auto; }
.group-settings__save button { width:auto;min-width:0;height:40px;margin:0;padding:0 24px; }

/* The name of a связка with the pencil (owner, 25.10.2026): rename in place. */
h1.group-title { display:flex;align-items:center;gap:8px;flex-wrap:wrap; }
.group-title__pencil { flex:none;align-self:center;display:inline-flex;align-items:center;justify-content:center;margin:0;width:32px;height:32px;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--muted);font-size:15px;line-height:1;cursor:pointer; }
.group-title__pencil:hover { color:var(--text);border-color:var(--muted); }
.group-rename { display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0; }
.group-rename input[type=text] { height:40px;min-width:260px;font:600 20px/24px var(--font); }
/* The native-union name editor keeps its field and actions on one lower edge. */
.group-rename[data-union-rename-form] { align-items:flex-end; }
.group-rename[data-union-rename-form] > .field { flex:1 1 220px;min-width:0;max-width:440px;margin:0; }
.group-rename[data-union-rename-form] > .field > label { display:block; }
.group-rename[data-union-rename-form] input[type=text] { width:100%;min-width:0;max-width:none;box-sizing:border-box; }
.group-rename[data-union-rename-form] > .btn { flex:none;margin:0; }
/* Native-union signing keeps helper controls below the password, not below the action buttons. */
.fp-sign[data-union-sign] { max-width:none; }
.fp-sign[data-union-sign] .row:has(> .field) { display:grid;grid-template-columns:minmax(0,360px) auto auto;justify-content:start;align-items:start;gap:6px 12px; }
.fp-sign[data-union-sign] .row > .field { display:contents; }
.fp-sign[data-union-sign] .field > label { grid-column:1;grid-row:1;margin:0;line-height:20px; }
.fp-sign[data-union-sign] .field > input { grid-column:1;grid-row:2;width:100%;min-width:0;max-width:none;height:40px;margin:0;box-sizing:border-box; }
.fp-sign[data-union-sign] .field > .secret-tools { grid-column:1;grid-row:3;margin:0;flex-wrap:wrap; }
.fp-sign[data-union-sign] .row > .btn { grid-row:2;height:40px;min-height:40px;margin:0;white-space:nowrap; }
@media (max-width:760px) {
  .fp-sign[data-union-sign] .row:has(> .field) { display:flex;flex-wrap:wrap;align-items:flex-end; }
  .fp-sign[data-union-sign] .row > .field { display:block;flex:1 1 100%; }
}

/* «Изменить состав»: the two modes and the two columns of «Перенести между связками». */

/* «Версии»: what the edit was - which products, and where they went (owner, 25.10.2026). */
.ver-sec { margin:0 0 6px; }
.ver-sec:last-child { margin-bottom:0; }
.ver-sec--in b { color:var(--v3-green); }
.ver-sec--out b { color:var(--v3-amber); }
.ver-sec--remove b { color:var(--v3-red); }
.ver-item { color:var(--muted);font-size:14px;line-height:18px; }
.ver-note { margin:0 0 10px; }

/* «Перенести между связками»: both columns of one height with their own scroll, the moved products on top and lit, «Убрать из связки» apart from the arrows. */

/* «Изменить состав» → «Перенести между связками» (owner, 25.10.2026: audit). One grid of three columns (from | arrows | to) for the two lists AND the form under them.
   Fields are 40 px, the buttons 28/32/40, the gaps 8/12/16/24; the two lists have the same height and the same scrollbar. */
.xfer__lead { margin:0 0 12px;color:var(--muted);font-size:14px; }
.xfer { --xfer-mid:72px;display:grid;grid-template-columns:minmax(0,1fr) var(--xfer-mid) minmax(0,1fr);gap:12px 16px;align-items:start;margin:0; }
.xfer__col { display:flex;flex-direction:column;gap:8px;min-width:0;align-self:stretch; }
.xfer__col .combo { max-width:none;width:100%; }
.xfer__col .combo input[type=text],.xfer__col input[type=search] { width:100%;height:40px;min-height:40px;box-sizing:border-box;margin:0; }
.xfer__head { display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px;font-size:14px;line-height:20px;color:var(--muted); }
.xfer__head label { display:inline-flex;align-items:center;gap:8px;margin:0;font-weight:400;cursor:pointer; }
.xfer__list { list-style:none;margin:0;padding:0;height:min(420px,55vh);overflow-y:scroll;scrollbar-gutter:stable;border:1px solid var(--line);border-radius:10px;background:var(--surface); }
.xfer__item { display:flex;align-items:center;justify-content:space-between;gap:8px;height:60px;box-sizing:border-box;padding:0 8px 0 12px;border-bottom:1px solid var(--line); }
.xfer__item[hidden] { display:none; }
.xfer__item:last-child { border-bottom:0; }
.xfer__item label { display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0;height:100%;margin:0;font-weight:400;cursor:pointer; }
.xfer__item input[type=checkbox] { flex:none;margin:0; }
.xfer__text { display:flex;flex-direction:column;min-width:0;line-height:18px; }
.xfer__text b { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600; }
.xfer__text small { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px; }
.xfer__item.is-moved { background:var(--v3-amber-bg);box-shadow:inset 3px 0 0 var(--v3-amber); }
.xfer__item.is-gone { background:var(--v3-red-bg);opacity:.7; }
.xfer__item.is-gone .xfer__text { text-decoration:line-through; }
.xfer__text .xfer__cat { color:var(--muted);font-size:12px; }
.xfer__gcat { flex:none;height:20px;min-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;line-height:20px;color:var(--muted); }
.xfer__gcat .group-cat { display:inline-flex;align-items:baseline;gap:4px;max-width:100%;vertical-align:top;cursor:help; }
.xfer__fixed { position:relative;flex:none;display:flex;align-items:center;height:40px;padding-right:36px!important;box-sizing:border-box;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font:600 14px/20px var(--font); }
.xfer__flt,.xfer__new { flex:none;display:flex;align-items:center;gap:8px;height:40px;min-height:40px;box-sizing:border-box;margin:0;font-size:14px;font-weight:400; }
.xfer__flt { cursor:pointer; }
.xfer__flt input { margin:0; }
.xfer__newform { display:flex;flex-wrap:nowrap;align-items:center;gap:8px;width:100%; }
.xfer__newform[hidden],.xfer__new [hidden] { display:none; }
.xfer__newform input[type=text] { flex:1 1 auto;min-width:0;height:40px;box-sizing:border-box;margin:0; }
.xfer__warns { grid-column:1 / -1;display:flex;flex-direction:column;gap:8px; }
.xfer__warns:empty { display:none; }
.xfer__warn { margin:0;padding:8px 12px;border:1px solid var(--line);border-radius:10px;font-size:14px;line-height:20px;color:var(--text); }
.xfer__warn--warn { background:var(--v3-amber-bg);border-color:var(--v3-amber); }
.xfer__warn--bad { background:var(--v3-red-bg);border-color:var(--v3-red); }
.xfer__mid { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;align-self:center; }
.xfer__arrow { display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:40px;height:40px;padding:0 8px;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--primary);font:600 20px/1 var(--font);cursor:pointer; }
.xfer__arrow b { font-size:14px;font-weight:700; }
.xfer__arrow:hover:not(:disabled),.xfer__arrow:focus-visible { background:var(--primary);border-color:var(--primary);color:var(--v3-on,#fff); }
.xfer__arrow:focus-visible { outline:2px solid var(--primary);outline-offset:2px; }
.xfer__arrow:disabled { opacity:.4;cursor:not-allowed; }
.xfer__ar--narrow { display:none; }
.xfer__foot { grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) var(--xfer-mid) minmax(0,1fr);gap:12px 16px;align-items:end; }
.xfer__date { grid-column:1; }
.xfer__note { grid-column:3; }
.xfer__foot label { display:block;margin:0 0 6px;font:600 14px/20px var(--font); }
.xfer__foot input[type=date],.xfer__foot input[type=text] { width:100%;max-width:none;height:40px;box-sizing:border-box;margin:0; }
.xfer__summary { grid-column:1 / 3;margin:0;align-self:center; }
.xfer__save { grid-column:3;justify-self:end;height:40px;padding:0 24px; }
@media (max-width:900px) {
  .xfer { grid-template-columns:minmax(0,1fr); }
  .xfer__mid { flex-direction:row; }
  .xfer__ar--wide { display:none; }
  .xfer__ar--narrow { display:inline; }
  .xfer__foot { grid-template-columns:minmax(0,1fr); }
  .xfer__date,.xfer__note,.xfer__summary,.xfer__save { grid-column:1; }
  .xfer__save { justify-self:stretch; }
}
.comp-modes { margin:0 0 16px !important; }

/* «Убрать» / «✕ Убрать» of a связка (the editor, the table of the composition): a quiet small button (the text colour on a transparent fill with a frame, readable in both themes); under the cursor - a dark red fill and white text, no underline
   (the common hover of a button painted it solid blue under the red text). */
html.look-flat.look-accent body.v2.v3[data-marketplace] button.btn-remove { display:inline-flex;align-items:center;justify-content:center;flex:none;height:28px;min-height:28px;padding:0 10px;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--text);font:600 12px/16px var(--font);text-decoration:none;white-space:nowrap;cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] button.btn-remove:hover:not(:disabled),html.look-flat.look-accent body.v2.v3[data-marketplace] button.btn-remove:focus-visible { background:color-mix(in srgb,var(--v3-red) 82%,#000)!important;border-color:color-mix(in srgb,var(--v3-red) 82%,#000)!important;color:#fff!important;text-decoration:none!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] button.btn-remove:focus-visible { outline:2px solid var(--v3-red);outline-offset:2px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] button.btn-remove:disabled { opacity:.45;cursor:not-allowed; }


/* «Убрать» in the row of the table is not stuck to the edge. */
html.look-flat.look-accent body.v2.v3[data-marketplace] td.cell-remove { padding-right:16px;text-align:right;white-space:nowrap; }

/* The cards of «Связки» (owner, 25.10.2026: audit): the head in one row - the tick, the name (cut with «…», the whole name in the title) and the state; the meta row -
   the count and the date on the left, the two actions of one height on the right, apart; the three figures in three equal columns, one alignment. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__head { display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__head:not(:has(> input)) { grid-template-columns:minmax(0,1fr) auto; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__head h3 { margin:0;text-align:left;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__head .state { justify-self:end;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__meta { display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__stat { min-width:0;font-size:14px;line-height:28px;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__acts { display:flex;align-items:center;gap:8px;margin-left:auto; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__acts form { margin:0;display:inline-flex; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__act { display:inline-flex;align-items:center;justify-content:center;height:28px;min-height:28px;padding:0 10px;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);font:600 12px/16px var(--font);text-decoration:none;white-space:nowrap;cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__act:hover,html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__act:focus-visible { background:var(--accent-soft,var(--band));color:var(--text);text-decoration:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__act:focus-visible { outline:2px solid var(--primary);outline-offset:2px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__metrics { grid-template-columns:repeat(3,minmax(0,1fr));gap:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__metrics > div,html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__metrics > div:nth-child(2),html.look-flat.look-accent body.v2.v3[data-marketplace] .group-card__metrics > div:last-child { text-align:left; }

/* The list «Связки», the table and its toolbar (owner, 25.10.2026: audit). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .groups-toolbar { display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page :is(.groups-toolbar .table-tabs,.groups-search-tools > .table-tabs) { display:inline-flex;align-items:center;gap:8px;margin:0;padding:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page :is(.groups-toolbar .table-tabs,.groups-search-tools > .table-tabs) > .table-tab { height:40px;min-height:40px;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] td.num :is(input.gt-in) { width:100%;min-width:72px;max-width:120px;height:40px;box-sizing:border-box;text-align:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] td.num input.gt-min:disabled { visibility:hidden; }            /* «Разрешённый минимум» only where the flag «Ниже минимума» is on */
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-purchase { color:inherit;text-decoration:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-purchase:hover .state { text-decoration:underline; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-purchase__note { color:var(--muted);font-size:12px;white-space:nowrap; }

/* «Товары без связки»: the panel of actions is always on (owner, 25.10.2026): the counter, «Добавить в связку», «Создать новую связку»; the buttons wait for ticked products. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel { display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin:0 0 12px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel__count { display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;min-width:140px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel .group-actions__row { display:flex;align-items:center;flex:1 1 360px;gap:8px 12px;min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel .group-actions__row > label { margin:0;font-weight:600;font-size:14px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel :is(input[type=text],.combo input[type=text]) { height:40px;min-height:40px;box-sizing:border-box; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel button:disabled { opacity:.45;cursor:not-allowed; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel__two { font-size:14px;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-ungrouped.tpl-tablecard > form > .tablewrap,html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-ungrouped > .hint { margin-top:0; }

/* «Новая связка»: a short form that opens under the button. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-new { position:relative;display:inline-block; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-new__pop { display:flex;flex-direction:column;gap:8px;width:min(360px,86vw);padding:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-new__pop label { margin:0;font:600 14px/20px var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-new__pop input[type=text] { width:100%;height:40px;box-sizing:border-box; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-new__pop .hint { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-new__pop button { align-self:flex-start;height:40px;padding:0 24px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-refresh { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:0;padding:8px 20px; }

/* «Изменить состав»: ONE container (no card inside a card): the frame is the block itself, the pop-up inside has none of its own. */
html.look-flat.look-accent body.v2.v3[data-marketplace] section#composition-editor { margin:0 0 16px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface); }
html.look-flat.look-accent body.v2.v3[data-marketplace] section#composition-editor > .settings-pop { margin:0;padding:16px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none; }

/* ===== The module «Связки»: one scale (owner, 25.10.2026: audit I, K, L) =====
   Buttons: main 40 px / 15 px, compact 32 px / 14 px, radius 10; the fields outside a table 40 px (inside a table 32 px); the text 12 / 14 / 15 / 20 / 24 px (nothing
   below 12, no fractions); a segment 36 px; the section heads are one line of 36 px; the icon buttons 28 / 36 px with a title and an aria-label. */
html.look-flat.look-accent body.v2.v3[data-marketplace]:is(:has(.groups-page),:has(h1.group-title)) :is(.btn-sm,.xfer__save,.groups-new__pop button) { height:32px;min-height:32px;padding:0 14px;border-radius:10px;font-size:14px;line-height:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace]:is(:has(.groups-page),:has(h1.group-title)) :is(.btn:not(.btn-sm),button.xfer__save,.groups-new__pop button) { height:40px;min-height:40px;border-radius:10px;font-size:15px; }
html.look-flat.look-accent body.v2.v3[data-marketplace]:is(:has(.groups-page),:has(h1.group-title)) .group-card__metrics dt { font-size:12px;line-height:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace]:is(:has(.groups-page),:has(h1.group-title)) .group-card__metrics dd { font-size:14px;line-height:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace]:is(:has(.groups-page),:has(h1.group-title)) :is(.group-card__stat,.xfer__head,.ver-item,.group-card__meta) { font-size:14px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .crumbs__back { display:inline-flex;align-items:center;min-height:32px; }
html.look-flat.look-accent body.v2.v3[data-marketplace]:is(:has(.groups-page),:has(h1.group-title)) input[type=checkbox] { width:20px;height:20px;margin:2px;accent-color:var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace]:is(:has(.groups-page),:has(h1.group-title)) :is(.xfer__head label) { min-height:32px; }

/* the headings of the sections («Выбрать из товаров магазина»): one line of 36 px - the name with the arrow, the grey note on the right */
html.look-flat.look-accent body.v2.v3[data-marketplace] details.settings-drop:is(.tpl-gap) > summary { display:flex;align-items:center;gap:12px;flex-wrap:nowrap;min-height:36px;height:36px;padding:0;border:0;background:transparent;box-shadow:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] details.settings-drop:is(.tpl-gap) > summary::before { content:"▸";flex:none;width:16px;color:var(--muted);font-size:14px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] details.settings-drop[open]:is(.tpl-gap) > summary::before { content:"▾"; }
html.look-flat.look-accent body.v2.v3[data-marketplace] details.settings-drop:is(.tpl-gap) .settings-drop__btn { padding:0;border:0;background:none;box-shadow:none;height:auto;font:600 15px/20px var(--font);color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] details.settings-drop:is(.tpl-gap) .settings-drop__sum { flex:1 1 auto;min-width:0;margin-left:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;color:var(--muted);font-size:14px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] details.settings-drop.tpl-gap { margin:12px 0; padding:0; border:0; background:transparent; }


/* compact icon buttons: «✕» in a row of the editor 28 px, the arrows 36 px */
html.look-flat.look-accent body.v2.v3[data-marketplace] .xfer__item button.btn-remove { width:28px;min-width:28px;padding:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .xfer__item.is-gone button.btn-remove { width:auto;padding:0 10px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .xfer__arrow { min-width:36px;height:36px;border-radius:10px; }
.xfer__mid { gap:12px; }

/* segments: one height (36 px), one style of the active one */
html.look-flat.look-accent body.v2.v3[data-marketplace]:is(:has(.groups-page),:has(h1.group-title)) .table-tabs.tpl-tabs { height:36px;margin:0 0 12px!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace]:is(:has(.groups-page),:has(h1.group-title)) .table-tabs.tpl-tabs > a.table-tab { height:34px!important;min-height:34px!important;max-height:34px!important;font-size:14px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page :is(.groups-toolbar .table-tabs,.groups-search-tools > .table-tabs) > .table-tab { height:36px;min-height:36px;border-radius:10px;font-size:14px; }

/* the cards of the list: compact (two rows), the counters of one size */
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .group-card { gap:8px;padding:12px 16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .group-card__metrics { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .table-tab__n,html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .table-tab .count { min-width:24px;height:20px;padding:0 6px;box-sizing:border-box;border-radius:10px;font:600 12px/20px var(--font);text-align:center; }

/* contrast (WCAG AA 4.5:1): the grey text of the module is not lighter than the muted colour of the theme, the disabled text keeps 4.5 on its fill */
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.group-card__stat,.xfer__text small,.xfer__head,.ver-item,.group-purchase__note,.settings-drop__sum) { color:var(--muted); }
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] :is(.xfer__item.is-gone .xfer__text) { color:#ff8a80; }
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] .xfer__item.is-gone { background:rgba(255,80,80,.14);opacity:1; }

/* M1: «Настройки связки»: the button by its content (40 px), the values on the left with the unit at the end, the note of three rows without an inner scroll. */
.group-settings .field input[type=text],.group-settings .field input[type=number] { text-align:left; }
/* M2: «Версии»: the card has its bottom and its rounded corners, one line per product (the whole name in the title), the widths of the columns */
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-versions { padding:0 0 12px;overflow:hidden;border-radius:12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-versions .tablewrap { margin:0;border-radius:12px 12px 0 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-versions .ver-item { max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-versions th[data-col=date] { width:120px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-versions th[data-col=note] { width:25%; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-versions td[data-col=change] { max-width:0;width:auto; }
/* M4: the dark theme: the disabled text and the 12 px captions keep the contrast (4.5:1) on the dark fill */
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] :is(.xfer__arrow,.ungrouped-panel button,.xfer__save):disabled { opacity:.55;color:#c9d1dc; }
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] :is(.group-card__metrics dt,.xfer__text small,.ver-item,.group-purchase__note,.settings-drop__sum,.xfer__head) { color:#b4bdca; }
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] :is(.group-card,.xfer__list,.ungrouped-panel,.comp-editor,.group-facts) { border-color:rgba(255,255,255,.16); }

/* N1: «Инструкция» of the editor is a small «?» (28 px) right after the name of the section (inside the summary); the note on the right is whole */
/* N2: the combobox of a связка shows that it is a list: a chevron inside on the right, the list of 8 rows with its scroll, the chosen one marked */
html.look-flat.look-accent body.v2.v3[data-marketplace] .xfer__col .combo { position:relative; }
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.xfer__col .combo,.xfer__fixed)::after { content:"";position:absolute;right:14px;top:14px;width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);pointer-events:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .xfer__col .combo input[type=text] { padding-right:36px;cursor:pointer;text-overflow:ellipsis; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .xfer__col .combo .combo__list { max-height:288px;overflow-y:auto; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .xfer__col .combo .combo__list li { min-height:36px;display:flex;align-items:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .combo__list li.is-current { font-weight:600;color:var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .combo__list li.is-current::after { content:"✓";margin-left:auto;padding-left:8px; }
/* N3: the arrows are outlined with a contrast of 3:1 even when they wait, and saturated when active */
html.look-flat.look-accent body.v2.v3[data-marketplace] .xfer__arrow { border:2px solid var(--primary);color:var(--primary);background:var(--surface); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .xfer__arrow:disabled { opacity:1;border-color:var(--muted);color:var(--muted);background:transparent; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .xfer__arrow:not(:disabled) { background:var(--primary);color:var(--v3-on,#fff); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .xfer__arrow:not(:disabled):hover { filter:brightness(.9); }
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] .xfer__arrow:disabled { border-color:#9aa5b5;color:#9aa5b5; }
/* N4: the facts stand in the service row (left), «Обновлено» on the right: one row under the tabs */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-period .group-facts { margin:0;padding:0;border:0;border-radius:0;background:none;flex:1 1 auto; }
/* N6: the bottom form: the fields fill their columns (date - left, comment - right) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .xfer__foot :is(input[type=date],input[type=text]) { width:100%;max-width:none!important;min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .xfer__foot :is(.xfer__date,.xfer__note) { min-width:0; }
/* N7: «Товары без связки»: two rows - the counter; then «Добавить в связку» (left) and «Создать новую связку» (right); the fields take the free width, nothing is cut */
html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 24px;align-items:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel__count { grid-column:1 / -1;min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel .group-actions__row { flex:none;display:flex;align-items:center;gap:8px 12px;min-width:0;max-width:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel .group-actions__row > label { flex:none;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel .group-actions__row > :is(.group-picker,input[type=text]) { flex:1 1 auto;width:auto;min-width:0;max-width:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel .group-actions__row > :is(button,a) { flex:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-ungrouped.tpl-tablecard { padding-top:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-ungrouped > form.inline { margin:0; }
@media (max-width:900px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .ungrouped-panel { grid-template-columns:minmax(0,1fr); } }
/* N5: the common hints and statuses of the pages of the module: 14 px (13 is not on the scale) */
html.look-flat.look-accent body.v2.v3[data-marketplace]:is(:has(.groups-page),:has(h1.group-title)) :is(.hint,.state) { font-size:14px; }


/* «Изменить состав» is a mode of the page (owner, 2026-10-25): the one table gives way to two windows «Откуда» / «Куда»; the bar above the table opens it */
body.comp-editing [data-comp-hide],body.comp-editing .comp-bar { display:none!important; }
.comp-bar { display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px; }
.comp-bar .btn,.comp-bar button { margin-top:0; }
.comp-bar__hint { color:var(--muted);font-size:14px; }
.comp-bar__remove { margin-left:auto; }
.comp-editor__head { display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px; }
.comp-editor__head h2 { margin:0;font:600 18px/24px var(--font); }
.comp-actions { display:flex;gap:12px;align-items:center;margin-top:14px; }
.comp-actions button { margin-top:0; }
.xfer__cap { font:600 14px/20px var(--font);color:var(--text); }
.xfer__actions { grid-column:3;justify-self:end;display:flex;gap:12px;align-items:center; }
.xfer__actions button { margin:0;height:40px;padding:0 24px; }
.xfer__actions .xfer__save { grid-column:auto; }
@media (max-width:900px) { .xfer__actions { grid-column:1;justify-self:stretch; } .xfer__actions button { flex:1 1 0; } }

/* The list «По связкам» (owner, 25.10.2026): ONE row on top - «По товарам | По связкам», «Все связки · N | Товары без связки · N» on the left, «Карточки | Таблицей» and «Обновлено» on the right;
   one row of filters (the status and the chips); then the search. Ozon and WB the same. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .groups-topbar { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:0 0 12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .groups-topbar :is(.groups-topbar__l,.groups-topbar__r) { display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .groups-topbar__r { margin-left:auto;justify-content:flex-end; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .groups-topbar .mode-switch { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .groups-topbar .table-tabs.tpl-tabs { margin:0!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .groups-topbar .tpl-period { margin:0;gap:8px 12px;flex-wrap:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .groups-topbar .tpl-period__end { margin-left:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .groups-topbar .tpl-period .tpl-period__updated { font-size:12px;line-height:16px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .groups-toolbar { margin:0 0 8px;padding:20px 20px 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .groups-toolbar .table-tabs { display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0!important;padding:0!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .groups-chips { margin-left:8px!important; }
.group-card__buy { min-height:20px;font-size:14px;line-height:20px; }
/* Keep the comparison, metadata and metrics aligned when HALO link names wrap. */
html.look-flat.look-accent body.v2.v3[data-marketplace] [data-unions-page] .group-card__buy { margin-top:auto; }
html.look-flat.look-accent body.v2.v3[data-marketplace] [data-unions-page] .group-card__meta { margin-top:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] [data-unions-page] :is(.group-card__buy,[data-col="comparison"]) .state--off { color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] [data-union-reconcile] { display:grid;gap:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] [data-union-reconcile] > .groups-topbar { margin-bottom:0; }
.group-buy { white-space:nowrap;font-weight:600; }
.group-buy--bad { color:var(--v3-red); }
.group-buy--ok { color:var(--v3-green); }
.group-buy--none { color:var(--muted);font-weight:400; }
td[data-col="purchase"] .group-buy { font-weight:400; }
@media (max-width:640px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-page .groups-topbar__r { margin-left:0;justify-content:flex-start; } }
/* «Новая связка» in the panel of the table: on the right, before «Excel · ⚙ · Вид таблицы» (the search stays on the left; owner, 25.10.2026) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tools > .groups-new { order:1;margin-left:auto; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tools:has(> .groups-new) > .export-btn.export-btn.export-btn { margin-left:0!important; }
/* Список связок (владелец, 26.10.2026): строка поиска и кнопок — на одной линии с чипами и таблицей (внутри карточки таблица уже отступает на 20px). Ширины колонок и перенос текста — стандартные (tables.js, table-display.js), своих правил у #group-table нет. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-list.tpl-tablecard .v3-table-shell:not(.is-fullscreen) > .table-tools { padding:12px 0!important; }

/* «Юнит-экономика» (owner, 26.10.2026): the same compact top on every page, Ozon and WB. ONE row: «По товарам | По связкам» (and the cabinet of WB) on the left, «Обновлено» and
   «Обновить» on the right; «Требует внимания» as narrow plates in one row; the three figures as ONE strip (the figure with «из N», a small ring, two lines of notes). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-topbar { display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-topbar .mode-switch { flex:none;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-topbar .tpl-period { flex:1 1 auto;min-width:0;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-topbar .tpl-period .tpl-period__updated,html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-tabsrow .tpl-period .tpl-period__updated { font-size:12px;line-height:16px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-tabsrow { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:0 0 12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-tabsrow .table-tabs.tpl-tabs { margin:0!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-tabsrow .tpl-period { flex:0 1 auto;min-width:0;margin:0 0 0 auto; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles { grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:12px;margin:0 0 12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles > .kpi { display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto auto;align-items:center;column-gap:14px;row-gap:2px;min-height:0;padding:10px 16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles .kpi__title { grid-column:2;grid-row:1;min-height:0;margin:0;font-size:14px;line-height:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles .kpi__row { grid-column:2;grid-row:2;justify-content:flex-start;align-items:baseline;gap:6px;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles .kpi__value { font-size:24px;line-height:30px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles .kpi__value small { font-size:14px;line-height:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles .kpi__ringrow { display:contents; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles .kpi-ring { grid-column:1;grid-row:1 / span 3;justify-self:center;width:64px;height:auto;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles .kpi-ring text:nth-of-type(n+2) { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles .kpi__facts { grid-column:2;grid-row:3;display:flex;flex-wrap:wrap;gap:0 12px;margin:0;font-size:12px;line-height:16px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles .kpi__facts > div { display:inline-flex;align-items:baseline;gap:4px;margin:0;padding:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles .kpi__facts b { font-weight:600;color:var(--text); }
/* «Требует внимания» на страницах юнит-экономики (владелец, 26.10.2026): плитки, как «Соинвест: открутка» (components/_attention_tile.html): подпись с ⓘ, значение, одна строка, «Открыть →» справа вверху.
   Всегда по три в ряд (одна-две плитки — треть ширины, пустых ячеек нет), больше трёх — следующий ряд. Цвет уровня — полоса слева и цвет значения. Заголовок — строкой над плитками, внешняя рамка блока снята.
   Селекторы не слабее перебиваемых (halo.css .kpi*, design-v3*.css .card / .kpi / a, compact.css:174, 792-803, 849-855). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .tpl-attn { display:block;margin:0 0 16px;padding:0;background:none!important;border:0!important;box-shadow:none!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .tpl-attn__title { margin:0 0 8px;font-size:15px;line-height:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:12px;margin:0;padding:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn { --tone:var(--v3-amber);position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:0;box-sizing:border-box;min-width:0;min-height:112px;margin:0;padding:14px 20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn.kpi--attn-bad { --tone:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn.kpi--attn-good { --tone:var(--v3-green); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn.kpi--attn-info { --tone:var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn::before { content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--tone); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn .kpi__title { display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin:0;font-size:14px;line-height:20px; }   /* the height of the title slot is set by number-system.css (!important) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn .kpi__name { min-width:0;overflow-wrap:anywhere; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn .kpi__go { flex:none;font:600 13px/20px var(--font);color:var(--primary);text-decoration:none;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn .kpi__go:hover { text-decoration:underline; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn .kpi__go:focus-visible { outline:2px solid var(--primary);outline-offset:2px;border-radius:4px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn .kpi__row { display:flex;justify-content:flex-start;align-items:baseline;gap:6px;margin:6px 0 4px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn .kpi__value { color:var(--tone); }   /* the size is the portal standard of number-system.css (24/28, !important) - not set here */
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn .kpi__sub { position:static;margin:0;font:400 13px/18px var(--font);color:var(--muted);white-space:normal;overflow:visible;text-overflow:clip; }
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] .econ-top .kpis--attn > .kpi.kpi--attn .kpi__value { color:var(--text); }
@media (max-width:900px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles, html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--attn { grid-template-columns:minmax(0,1fr); } }
/* «Подписать и запланировать» (владелец, 26.10.2026): пароль слева, кнопка справа — одна строка; на узком экране кнопка переносится под поле. Высоту кнопок общие правила держат через !important — здесь так же. */
#send .fp-sign__go { display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 16px;margin-top:14px; }
#send .fp-sign__go .field { flex:1 1 280px;max-width:360px;margin:0; }
#send .fp-sign__go button.btn { flex:none;white-space:nowrap!important;height:40px!important;min-height:40px!important;padding:0 22px!important; }
/* The page of a product: a panel with nothing but «Excel · ⚙ · Вид» above a small table is thin and on the right; the copy mark stands in the line of the title */
html.look-flat.look-accent body.v2.v3[data-marketplace]:has(.econ-top) .tpl-tablecard .v3-table-shell:not(.is-fullscreen) > .table-tools:not(:has(.table-search,.table-chips,.table-tabs,.table-toggles,details.tpl-status,.table-filter)) { justify-content:flex-end;padding:6px 20px!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .pagehead h1[data-copy-id] { display:flex;align-items:center;gap:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .pagehead h1[data-copy-id] .copy-id-btn { flex:none;align-self:center;position:static;transform:none; }
/* The calculator: the fields 40 px, the two zones of the result of one height */
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-two .field :is(input[type=text],input[type=number],select) { height:40px;box-sizing:border-box; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-zones .calc-zones > .calc-zone { height:100%;box-sizing:border-box; }

/* Плашка «Цена на площадке: совпадает у N из M» (владелец, 26.10.2026): общая высота кнопок (40px) растягивала жёлтую плашку, текст уезжал вверх. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .group-facts button.group-facts__item { display:inline-flex!important;align-items:center!important;height:auto!important;min-height:0!important;line-height:20px;padding:4px 10px!important;margin:0!important; }

/* «Параметры юнит-экономики» Ozon/WB (владелец, 26.10.2026): поля обычной ширины в строку, как «Настройки» связки; «Источники данных» — кнопки в одну строку. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields:not([hidden]):not(.tpl03-fields--one) { display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px 20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields .field { flex:0 0 auto;width:220px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields .field.tpl03-fields__wide { flex:1 1 100%;width:auto;max-width:440px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields .field :is(input,select,textarea) { max-width:100%;box-sizing:border-box; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields .field textarea { height:72px;min-height:72px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields .econ-example.tpl03-fields__wide { flex:1 1 100%;max-width:none; }
.sources__act { white-space:nowrap;text-align:left; }
.sources__act > form, .sources__act > details.fileform { display:inline-block;vertical-align:middle;margin:0; }
.sources__act > details.fileform { margin-left:14px; }
.sources__act details[open] { display:block;margin:8px 0 0;white-space:normal; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields:not([hidden]):not(.tpl03-fields--one) { align-items:flex-start; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields .field.tpl03-fields__wide { flex:0 0 100%;width:100%;max-width:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields .field.tpl03-fields__wide textarea { max-width:440px;width:100%; }

/* ===== Юнит-экономика, третий круг правок (владелец, 26.10.2026). Селекторы не ниже по специфичности, чем у перебиваемых (design-v3-native.css:355/382/639, design-v3.css:150, design-v3-compact.css:285/463-469/793-803). ===== */

/* Карточки «Тарифы и новые цены» без колец: подпись с ⓘ, крупное число, 1-2 строки текста (как плитки «Соинвест: открутка»). Две карточки (WB) — две равные колонки. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles:has(> .kpi:nth-child(2):last-child) { grid-template-columns:repeat(2,minmax(0,1fr)); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles > .kpi.kpi--compact { display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:0;min-height:112px;padding:14px 20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles > .kpi.kpi--compact .kpi__title { min-height:20px;font-size:14px;line-height:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles > .kpi.kpi--compact .kpi__row { justify-content:flex-start;align-items:baseline;gap:6px;margin:6px 0 4px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles > .kpi.kpi--compact .kpi__value { font-size:28px;line-height:34px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles > .kpi.kpi--compact .kpi__value small { font-size:14px;line-height:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles > .kpi.kpi--compact .kpi__sub { position:static;margin:0;font:400 13px/18px var(--font);color:var(--muted);white-space:normal;overflow:visible;text-overflow:clip; }
@media (max-width:900px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-top .kpis--tiles:has(> .kpi:nth-child(2):last-child) { grid-template-columns:minmax(0,1fr); } }


/* Панель таблицы «Будущих цен» в одну строку: [Подорожает | Подешевеет | Без изменений] [чипы] поиск …… Показано N из N · Выделять изменение > [N] % · Excel · ⚙ · Вид. Узкий экран — перенос. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline { row-gap:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline::after { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline > .table-chips--inline { flex:0 0 auto;margin:0!important;padding:0!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-chips--inline .table-toggles { gap:0;flex-wrap:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-chips--inline .table-toggles .table-toggle { margin:0 0 0 -1px!important;border-radius:0!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-chips--inline .table-toggles .table-toggle:first-child { margin-left:0!important;border-radius:10px 0 0 10px!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-chips--inline .table-toggles .table-toggle:last-child { border-radius:0 10px 10px 0!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-chips--inline .table-toggles .table-toggle.is-on { position:relative;z-index:1; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline > .table-search { flex:1 1 180px;width:auto;min-width:140px;max-width:260px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tools-shown.tools-shown { order:0;margin:0 0 0 auto;font-size:12px;line-height:16px;color:var(--muted);white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline > .export-btn.export-btn.export-btn { margin-left:0!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] form.draft-big { order:0;display:inline-flex;flex-wrap:wrap;max-width:100%;align-items:center;gap:6px;margin:0;padding:0;font-size:13px;line-height:20px;color:var(--muted);white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] form.draft-big label { margin:0;font-weight:500;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] form.draft-big input[type=number] { box-sizing:border-box;width:64px;height:40px;padding:0 8px;text-align:center; }
@media (max-width:900px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline > .table-search { flex-basis:100%;max-width:none; } html.look-flat.look-accent body.v2.v3[data-marketplace] .tools-shown.tools-shown { margin-left:0; } }

/* «Своя цена» сохраняется сама: поле в строке, рядом короткая отметка; без скрипта остаются обычные кнопки строки */
html.look-flat.look-accent body.v2.v3[data-marketplace] td[data-col="edit"] form.own-price { display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .own-price__st { font-size:12px;line-height:16px;white-space:nowrap;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .own-price__st:empty { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .own-price__st--ok { color:var(--v3-green); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .own-price__st--bad { color:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .own-price-auto :is(.own-price__btn,.own-price__clear) { display:none!important; }

/* «Закупка» жирным в таблицах товаров, связки, истории и в поле карточки товара (владелец, 26.10.2026). «42 из 42» в списке связок не трогаем: это другая таблица (groups.*). */
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(table[data-table^="economics."],table[data-table^="wb.economics."]) td[data-col="purchase"],
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(table[data-table^="economics."],table[data-table^="wb.economics."]) td[data-col="purchase"] input.purchase-input,
html.look-flat.look-accent body.v2.v3[data-marketplace] .tablewrap input.purchase-input[data-field="purchase"],
html.look-flat.look-accent body.v2.v3[data-marketplace] .card input[name="purchase"] { font-weight:700!important; }

/* «Параметры юнит-экономики» Ozon/WB на одной странице без вкладок (владелец, 26.10.2026): секции-карточки в две равные колонки, «Выкладка» и «Источники данных» на всю ширину, одна панель «Сохранить» внизу. Поля — как раньше (.tpl03-fields, 220 px). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-settings { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;margin:0 0 16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-settings__sec { margin:0;padding:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-settings__sec--wide { grid-column:1 / -1; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-settings__h { margin:0 0 16px;font-size:17px;line-height:24px;font-weight:700; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-settings__sources { margin:0 0 16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-settings-head { margin:24px 0 12px; }
@media (max-width:900px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .econ-settings { grid-template-columns:minmax(0,1fr); } }

/* «Будущие цены»: панель таблицы — первая строка чипы + «Показано N из N» справа, вторая — поиск, «Выделять изменение», справа Excel · ⚙ · Вид (владелец, 26.10.2026; проверено прототипом на альфе). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline { gap:8px 10px!important;align-items:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline > .table-chips--inline, html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline > .table-toggles { order:-3!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline > .tools-shown { order:-3!important;margin-left:auto!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline::after { content:"";order:-2!important;flex:0 0 100%!important;height:0!important;display:block!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline > .table-search { order:-1!important;flex:0 1 320px!important;width:320px!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline > .draft-big { order:0!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline > .export-btn.export-btn.export-btn { order:1!important;margin-left:auto!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools.table-tools--oneline > :is(.gear-btn,.v3-table-modes) { order:2!important; }

/* «Своя цена» в «Будущих ценах»: сообщение о сохранении не раздвигает таблицу */
.own-price__st { display:block;max-width:170px;font-size:12px;line-height:16px;white-space:normal; }
.own-price__st:empty { display:none; }
#compare form.own-price { display:inline-flex!important;flex-direction:row;align-items:center;gap:4px; }
#compare form.own-price input.own-price__in { width:84px!important;min-width:0;flex:none; }
#compare .own-price__st--ok { color:var(--v3-green);font-weight:700; }

/* Блок «Подписать и запланировать» («Будущие цены»): во всю ширину карточки, кнопка в одну строку, текст без рваных строк (владелец, 26.10.2026; проверено прототипом на альфе). */
#send .fp-sign { max-width:none!important; }
#send .fp-sign__row { max-width:none!important;width:auto!important; }
#send .fp-sign small { display:block;line-height:20px; }
#send .fp-sign small b { display:inline!important;font-weight:700; }
#send .fp-sign__row button.btn { white-space:nowrap!important;height:40px!important;min-height:40px!important;padding:0 22px!important;align-self:center; }
#send .field { max-width:360px; }

/* «Будущие цены» WB: таблица как на Ozon — без второй карточки внутри карточки и без розовой заливки ячеек убытка (владелец, 26.10.2026; проверено прототипом на альфе). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-late .late-card { padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-late table td.cell-loss { background:transparent; }      /* БЕЗ !important: с ним ячейка убытка не подсвечивалась при наведении на строку (владелец, 27.10.2026) */

/* Значок «30.10»/«!» на кнопке «Будущие цены» — мягкий янтарный, не ярче палитры «Соинвест: открутка» (владелец, 26.10.2026; проверено прототипом на альфе). */
.fp-badge.fp-badge--warn, .fp-badge { background:#fff6e6!important;color:#a35c00!important;border:1px solid #f3d9a8!important;font-weight:600!important; }

/* Закупка в таблицах «Будущие цены» WB — жирным и цветом текста, как на Ozon (владелец, 26.10.2026). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-late table td[data-col="purchase"] b { font-weight:700!important;color:var(--text)!important; }


/* ---- Пакет правок «Юнит-экономика» Ozon и WB (владелец, 26.10.2026) ---- */
/* «Проверка цен перед выкладкой», Ozon и WB одинаково: одна линия «пароль · Показать пароль · Отмена · Подписать и отправить» с равной высотой; предупреждение в таблице целиком. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-signbar__go { flex-wrap:nowrap;gap:12px;align-items:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-signbar__go > input { width:260px;max-width:100%;margin:0;height:40px;min-height:40px;box-sizing:border-box; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-signbar__go > :is(.btn,button) { margin:0;height:40px;min-height:40px;box-sizing:border-box;padding:0 18px;white-space:nowrap;font:600 15px/20px var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-signbar__go > .secret-tools { margin:0;min-height:0;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-signbar__go > .secret-tools .linkbtn { font-size:14px;font-weight:600; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-signbar__opts > b { font-size:14px;font-weight:600; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-signbar__hint { margin:0;padding:0 20px 12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] table[data-table="promotions.push_review"] td[data-col="warn"] { white-space:normal;min-width:240px;max-width:440px; }
@media (max-width:900px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-signbar__go { flex-wrap:wrap; } }
/* «Цены не меняются» над таблицей «Будущих цен»: строка сверху, а не под таблицей. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .tpl03-foot.tpl03-foot--top { border-top:0;border-bottom:1px solid var(--line); }
/* «Что поднять сейчас»: пароль и «Отправить N цен» в одну линию одной высоты. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .late-card__go { flex-wrap:wrap;gap:12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .late-card__go .secret-input { width:200px;height:36px;min-height:36px;margin:0;box-sizing:border-box; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .late-card__go .btn { height:36px;min-height:36px;margin:0;box-sizing:border-box; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .late-card__go .secret-tools { margin:0;min-height:0;white-space:nowrap; }
/* Тарифы Ozon: кнопки одного размера, текст строк одного размера. */
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.tariff-head__check,.tariff-row__act) :is(.btn,button,label.btn) { display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:32px;min-height:32px;margin:0;padding:0 14px;font:600 13px/16px var(--font);white-space:nowrap;cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tariff-row :is(.tariff-row__name,.tariff-row__now,.tariff-row__next,.tariff-row__state) { font-size:14px;line-height:20px; }
/* «Действия» «Будущих цен» WB: текущий пункт выбора даты (только эти пункты, меню площадок не задето). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .menu__list .menu__item.menu__item--date.is-on { color:var(--primary);font-weight:700; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .late-card__st { font-size:14px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .late-card__st.is-bad { color:var(--v3-red); }
/* Всплывающее «Своя цена … сохранена»: «Отменить» в одной строке с надписью. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .toast .toast__undo { margin:0;height:auto;min-height:0;padding:0;flex:none;white-space:nowrap;font:600 14px/20px var(--font);background:none;color:#93c5fd; }

/* «История»: первые строки и кнопка «Загрузить историю» (владелец, 26.10.2026). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard > .lazy-more { display:flex;align-items:center;gap:12px;flex-wrap:wrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .lazy-more .btn { margin:0;height:36px;min-height:36px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-lazy-note { display:inline-flex;align-items:center;gap:0; }

/* Убыток в таблицах «Юнит-экономики» (data-table economics.* и wb.economics.*, не весь сайт) — красный ШРИФТ без заливки ячейки, на Ozon и WB одинаково (владелец, 26.10.2026). Столбец чисел без «главного» знака (WB: «Прибыль по цене WB», «Прибыль сейчас / до» в «Что поднять сейчас»)
   красился в цвет текста правилом design-v3.css:49 (!important, 8 классов) и красные метки .v--bad / .cell-loss пропадали; ниже — на класс выше (дубль [data-marketplace]), только для меток убытка: положительные числа и «главные» столбцы не задеты. */
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] table:is([data-table^="economics."],[data-table^="wb.economics."]) td[data-v3-number]:is(.v--bad,.cell-loss,.negative),
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] table:is([data-table^="economics."],[data-table^="wb.economics."]) td[data-v3-number]:is(.v--bad,.cell-loss,.negative) *,
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] table:is([data-table^="economics."],[data-table^="wb.economics."]) td[data-v3-number] :is(.v--bad,.cell-loss,.negative) { color:var(--v3-red)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] table:is([data-table^="economics."],[data-table^="wb.economics."]) td.cell-loss { background:transparent; }
/* «Защищён до» / «Цена защиты» (06.11.2026), Ozon и WB одинаково: срок красным (.v--bad, правило выше), «· 30 дн.», «нет защиты» и цена истёкшей защиты — серым. */
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] table:is([data-table^="economics."],[data-table^="wb.economics."]) td[data-v3-number] :is(.prot-days,.prot-none) { color:var(--v3-muted)!important; }
/* Узкие столбцы (владелец, 07.11.2026): срок в две строки (дата и мелко «N дн.»), заголовки в две строки, подпись шаблона «шаблон 06.11» в одну; вместе с остальными столбцами влезают в 1440 px без прокрутки. */
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] table:is([data-table^="economics."],[data-table^="wb.economics."]) td[data-v3-number] .prot-cell { display:block; }
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] table:is([data-table^="economics."],[data-table^="wb.economics."]) td[data-v3-number] .prot-sub { display:block;font-size:12px;line-height:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] table:is([data-table^="economics."],[data-table^="wb.economics."]) td[data-v3-number] .v--bad .prot-sub { color:var(--v3-red)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] table:is([data-table^="economics."],[data-table^="wb.economics."]) :is(th,td)[data-col=min_until] { width:76px;min-width:76px;padding-left:8px;padding-right:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] table:is([data-table^="economics."],[data-table^="wb.economics."]) :is(th,td)[data-col=min_price] { width:84px;min-width:84px;padding-left:8px;padding-right:8px; }

/* «По связкам» → «Таблицей» приходит отдельным ответом (владелец, 26.10.2026): пока её нет, её место занято (min-height в самой странице) и в нём кружок с надписью — страница не прыгает. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-table-slot { position:relative; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-table-slot > .groups-table-slot__busy { display:flex;align-items:center;justify-content:center;margin:0;padding:48px 20px;font:500 14px/20px var(--font);color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-table-slot.is-arriving > .groups-table-slot__body { visibility:hidden; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-table-slot.is-arriving > .groups-table-slot__busy { position:absolute;left:0;right:0;top:0; }

/* ---- Правки владельца 27.10.2026 ---- */
/* Наведение на строку подсвечивает ВСЮ строку, Ozon и WB, все таблицы модуля, обе темы: ни фон ячейки убытка/закреплённой колонки, ни цветной столбец не перебивают подсветку. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tablewrap table[data-table] tbody tr:hover > td,
html.look-flat.look-accent body.v2.v3[data-marketplace] .tablewrap table[data-table] tbody tr:focus-within > td { background-color:var(--v3-band); }
/* Блок «Тарифы Ozon» / «Тарифы WB»: все кнопки одной высоты и ширины, одна сетка (панель «Проверил, новых нет» и «Загрузить файл» не разные по размеру). */
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.tariff-head__check,.tariff-row__act,.tariff-row__btns) :is(.btn,button,label.btn) { display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:190px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0 12px!important;font:600 13px/16px var(--font)!important;white-space:nowrap!important;cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.tariff-head__check,.tariff-row__act,.tariff-row__btns) form { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tariff-head__check :is(.btn,button,label.btn) { height:40px!important;min-height:40px!important; }   /* кнопки блока «Тарифы» вне таблицы — 40; в строках таблицы остаются 34 */
/* Кнопка на плитке «Требует внимания» («Проверил, новых нет»). */
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpi__act { margin:10px 0 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn__act .kpi__act { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpi__act .btn { margin:0;height:34px;min-height:34px; }

/* Перенос между связками (владелец, 27.10.2026): «Отмена» и «Сохранить перенос» (а также «Обновить состав» и «Отмена» во вкладке добавления) — один ряд, одна высота, одна ширина.
   Прежде «Отмена» (.btn-sm) брала 32 px из правила списка связок, а «Сохранить» — 40 px и свою ширину по тексту. Правило на класс выше (дубль [data-marketplace], .xfer__actions/.comp-actions дважды). */
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] :is(.xfer__actions.xfer__actions,.comp-actions.comp-actions) > button { flex:0 0 auto;box-sizing:border-box;width:auto;min-width:200px;height:40px;min-height:40px;margin:0;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] .comp-actions.comp-actions { justify-content:flex-end; }
/* «Создать связку и перенести» длиннее «Сохранить перенос» (владелец, 27.10.2026, надпись не вмещалась в 200 px): кнопка растёт по тексту, не уже 200 px; обе кнопки одной высоты.
   На узком экране надпись при нужде переносится на вторую строку, а ряд растягивается по высоте (align-items:stretch), чтобы «Отмена» и «Сохранить» остались одинаковы. */
@media (max-width:900px) { html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] :is(.xfer__actions.xfer__actions,.comp-actions.comp-actions) { align-items:stretch; }
  html.look-flat.look-accent body.v2.v3[data-marketplace][data-marketplace] :is(.xfer__actions.xfer__actions,.comp-actions.comp-actions) > button { flex:1 1 auto;width:auto;min-width:0;height:auto;min-height:40px;padding:8px 12px;line-height:20px;white-space:normal; } }

/* «Новая связка» над таблицей связок (владелец, 27.10.2026): окошко с названием выпадало вправо за край карточки (кнопка стоит справа, окошко привязано к её левому краю, 360 px) —
   текст и поле «вылезали». Окошко привязано к ПРАВОМУ краю кнопки, не шире экрана, текст переносится; на узком экране кнопка стоит слева — окошко вправо от неё. Ozon и WB, обе темы. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-new .groups-new__pop { left:auto;right:0;box-sizing:border-box;width:min(360px,calc(100vw - 32px));max-width:calc(100vw - 32px);overflow-wrap:anywhere; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-new .groups-new__pop :is(label,.hint,p) { overflow-wrap:anywhere;white-space:normal; }
@media (max-width:640px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .groups-new .groups-new__pop { left:0;right:auto; } }

/* Колонка галочек стоит первой и получала левый отступ карточки (20 px) при 2-8 px справа: галочка сидела правее центра на 9 px (владелец, 27.10.2026, «По связкам»).
   Колонка из одних галочек — отступы поровну; тот же отступ у всех таблиц с галочками. */
html.look-flat.look-accent body.v2.v3[data-marketplace] table > :is(thead,tbody,tfoot) > tr > :is(th,td)[data-col=pick]:nth-child(1 of :not([hidden]):not([style*="display: none"]):not([style*="display:none"])) { padding-left:8px!important;padding-right:8px!important; }

/* Единственная кнопка в ячейке таблицы («Убрать», «Сохранить», «Открыть»…) стоит по центру строки (владелец, 27.10.2026): общее правило halo.css `button { margin-top:14px }`
   сдвигало её на 7 px ниже центра (так же, как карандаш у названия связки). Отступ сверху нужен кнопке под полем, но не единственной в ячейке. Ozon и WB, обе темы. */
html.look-flat.look-accent body.v2.v3[data-marketplace] table td > :is(button,a.btn,summary):only-child,
html.look-flat.look-accent body.v2.v3[data-marketplace] table td > form:only-child > :is(button,a.btn):only-child { margin-top:0;vertical-align:middle; }

/* Окно настроек таблицы: кнопки «Сбросить» и «Готово» - 40 px, как все кнопки (STANDARD.md, Б); сообщения страницы - один вид у «ok», «warning», «error» */
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-panel__actions .btn-sm { height:40px;min-height:40px;box-sizing:border-box; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .v3-table-shell:has(table[data-table^="economics.union"]) .table-panel__actions .btn-sm { height:40px;min-height:40px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .v3-table-shell:has(table[data-table^="economics.union"]) .table-panel__actions .btn-sm:not(.btn-secondary) { color:var(--v3-on); }
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.ok,.warning,.error) { font-size:14px;line-height:20px;padding:10px 16px;border-radius:14px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .savebar :is(button,select) { height:40px;min-height:40px;border-radius:10px;box-sizing:border-box; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .menu__form .wbap-form .field { flex:1 1 100%; }
/* простая плитка (без графика): две строки данных под числом, без кольца */
html.look-flat.look-accent body.v2.v3[data-marketplace] .kpis--tiles > .kpi.kpi--compact .kpi__facts--plain { margin-top:6px; }
/* WB «Минимальная цена», вкладка «Файл»: полоса из четырёх шагов и панель только текущего шага (вариант Б, владелец 27.10.2026) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .card.file-steps { padding:0;margin-top:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .file-steps__bar { display:flex;margin:0;padding:0;list-style:none;border-bottom:1px solid var(--line); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .file-steps__item { flex:1 1 0;min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .file-steps__item a { display:flex;align-items:center;gap:10px;height:56px;padding:0 20px;color:var(--muted);font:500 15px/20px var(--font);text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .file-steps__item b { flex:none;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--v3-band);color:var(--muted);font:600 13px/16px var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .file-steps__item.is-done b { background:var(--ok-bg);color:var(--v3-green); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .file-steps__item.is-on a { color:var(--text);border-bottom-color:var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .file-steps__item.is-on b { background:var(--primary);color:var(--surface); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .file-steps__panel { padding:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .file-steps__panel h3 { margin:0 0 4px;font:700 17px/24px var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .file-steps__panel .hint { margin:0 0 16px;max-width:720px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .file-steps__panel .row { align-items:center;gap:12px; }
@media (max-width:900px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .file-steps__item a { padding:0 12px;font-size:13px; } }
