/* Page template, group 05-promotion (owner approved modules-mockup/05-promotion, 21.10.2026). Only this group's pages; shared components live in design-v3-compact.css section 15. */
/* «Аналитика продвижения HALO»: the table and the window of a связка (the page itself is the shared template components) */
html.look-flat.look-accent body.v2.v3[data-marketplace] table.adg-t td.delta--good { color:var(--primary)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] table.adg-t td.delta--bad { color:var(--v3-red)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] table.adg-t td .linkbtn { text-align:left; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window .adg-win__head { margin:0 0 16px;padding-right:48px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window .adg-win__title { margin:0;font-size:24px;line-height:32px;font-weight:700;padding:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-win__st { font-weight:600; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-win__st--bad { color:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-win__st--on { color:var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-win__st--ok { color:var(--v3-green); }
@media (max-width:760px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window .adg-win__head { flex-direction:column;padding-right:40px; } }
/* «Соинвест: открутка» (list, mass setup, general settings) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .tpl-tablecard .tablewrap table td .bar { margin-top:4px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-fill > summary { height:36px;display:inline-flex;align-items:center;gap:6px;cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-fill > .coinvest-fill__pop { width:min(980px,calc(100vw - 48px));right:0;left:auto;padding:16px 20px;text-align:left; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-fill__pop h2 { margin:0 0 12px;font-size:17px;line-height:24px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-bar { display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 20px;border-top:1px solid var(--line);background:var(--v3-band,var(--band));border-radius:0 0 19px 19px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-bar[hidden] { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-bar .hint { margin:0;font-size:13px; }
/* general settings: a row = name + small line on the left, the control on the right (the rows of the approved picture) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-settings > .coinvest-srow { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;margin:0;padding:14px 20px;border-top:1px solid var(--line); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-settings > .coinvest-srow:first-child { border-top:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-settings > .coinvest-bar { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-srow__name { display:flex;align-items:center;gap:6px;margin:0;font-weight:600;font-size:15px;line-height:24px;color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-srow__sub { font-size:13px;line-height:20px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-srow__ctl { display:flex;align-items:center;gap:8px;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-srow__ctl--wrap { flex-wrap:wrap;justify-content:flex-end; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-srow__ctl input { width:148px;height:36px;margin:0;text-align:right; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-srow__ctl input[type=date] { text-align:left; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-srow__unit { color:var(--muted);font-size:13px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-excluded > :is(.coinvest-excl-add,.coinvest-tags,.coinvest-excluded-all,p) { margin:16px 20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-excl-add { display:flex;gap:12px;align-items:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-excl-add textarea { flex:0 1 520px;height:36px;min-height:36px;max-height:120px;margin:0;resize:vertical;padding:6px 12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-tags { display:flex;flex-wrap:wrap;gap:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-tags form { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-tag { display:inline-flex;align-items:center;height:36px;box-sizing:border-box;padding:0 10px;border:0;border-radius:10px;background:var(--v3-band,var(--band));color:var(--text);font:500 14px/20px var(--font);white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest button.coinvest-tag { cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest button.coinvest-tag:hover { background:var(--accent-soft); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-excluded-all > summary { cursor:pointer;color:var(--primary);font-weight:600;font-size:14px; }
@media (max-width:760px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-settings > .coinvest-srow { grid-template-columns:minmax(0,1fr); gap:10px; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-srow__ctl--wrap { justify-content:flex-start; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-excl-add { flex-direction:column;align-items:stretch; }
}
/* the mass-setup table: inputs the size of the picture, 36 px */
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .ads-bulk table[data-table="ads.bulk"] input.purchase-input { height:36px;max-width:112px;text-align:right; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .ads-bulk table[data-table="ads.bulk"] input.purchase-input--time { width:96px; }
/* «Соинвест»: the page of a campaign - the strip of four figures (the numbers are the size of the tiles: 24/28, 700), the mode switch, the panes under the tabs */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline { display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;margin:0 0 16px;padding:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline > div { min-width:0;padding:16px 20px;border-left:1px solid var(--line); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline > div:first-child { border-left:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline__t { display:flex;align-items:center;gap:6px;font-size:13px;line-height:20px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline__v { display:block;margin-top:6px;font:700 24px/28px var(--font);white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline__v small { margin-left:6px;font:500 12px/16px var(--font);color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline__v--ok { color:var(--v3-green); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline__v--bad { color:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline__s { margin-top:2px;font-size:13px;line-height:20px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline .meter { display:block;height:6px;margin-top:4px;border-radius:3px;background:var(--v3-band,var(--band));overflow:hidden; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline .meter > i { display:block;height:100%;border-radius:3px;background:var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline .meter--warn > i { background:var(--v3-amber); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline .meter--hot > i { background:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-mode button.tpl-seg__b { margin:0;border:0;border-left:1px solid var(--line);border-radius:0;background:transparent;font-family:inherit;cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-mode button.tpl-seg__b:first-child { border-left:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-mode button.tpl-seg__b.is-on { background:var(--primary);color:var(--v3-on,#fff); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-mode button.tpl-seg__b:disabled { cursor:default;opacity:.7; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-pane { padding:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest [data-pane][hidden] { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-addpop > .coinvest-addpop__pop { width:min(640px,calc(100vw - 48px)); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .coinvest-addpop__pop textarea { width:100%;min-height:96px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .coinvest .table-tools > form[data-coinvest-tools] { margin:0 8px 0 0; }
@media (max-width:900px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline { grid-template-columns:repeat(2,minmax(0,1fr)); } html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline > div:nth-child(3) { border-left:0; } }
/* the mode of HALO as a pill with a line under it, rows without management in grey, the master switch as a segment */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode { display:inline-flex;align-items:center;gap:6px;height:26px;box-sizing:border-box;padding:0 10px;border-radius:13px;font:700 13px/26px var(--font);white-space:nowrap;vertical-align:middle;background:var(--v3-band,var(--band));color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode::before { content:"";width:8px;height:8px;border-radius:50%;background:currentColor;flex:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode--auto { background:color-mix(in srgb,var(--v3-green) 14%,var(--surface));color:var(--v3-green); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode--held { background:color-mix(in srgb,var(--v3-amber) 16%,var(--surface));color:var(--v3-amber); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode--off { background:var(--v3-band,var(--band));color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode--sm { height:22px;padding:0 8px;font-size:12px;line-height:22px;margin-right:4px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode__next { display:block;margin-top:4px;font-size:13px;line-height:18px;color:var(--muted);white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode__next--warn { color:var(--v3-amber); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode__next--bad { color:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] table tr.is-muted > td, html.look-flat.look-accent body.v2.v3[data-marketplace] table tr.is-muted > td :is(a,.t,.s,.num) { color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode-seg form { display:inline-flex;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode-seg button.tpl-seg__b { margin:0;border:0;border-left:1px solid var(--line);border-radius:0;background:transparent;font-family:inherit;cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode-seg .tpl-seg__b:disabled { cursor:default;opacity:.55; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode-seg > .tpl-seg__b:first-child, html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode-seg > form:first-child .tpl-seg__b { border-left:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode-seg--warn .tpl-seg__b.is-on { background:var(--v3-amber);border-color:var(--v3-amber); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard > form.wbads-bulkform { display:contents; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tools > .wbads-bulkmenu { margin:0 8px 0 auto; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tools > .wbads-bulkmenu ~ .export-btn.export-btn.export-btn { margin-left:0!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-bulkmenu > summary { height:40px;display:inline-flex;align-items:center;gap:6px;cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-bulkmenu > .wbads-bulkmenu__pop { display:grid;gap:10px;width:min(360px,calc(100vw - 48px));right:0;left:auto;padding:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-bulkmenu__pop label { margin:0;font-size:13px;color:var(--muted); }
.table-tools > .ads-campaign-filters { flex:0 0 100%;max-width:100%;display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;white-space:normal; }
.ads-campaign-filters > .table-chips { display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px; }
.ads-campaign-filters__fields > label { display:grid;gap:4px;width:190px;max-width:100%;margin:0; }
.ads-campaign-filters__fields select { box-sizing:border-box;width:100%;height:40px;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-filters > .table-toggles { align-self:end;flex-wrap:wrap; }
.ads-campaign-filters__result { min-width:0;max-width:100%; }
.table-tools > .ads-campaign-filters__result > button { box-sizing:border-box;height:40px;min-height:40px;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .table-tools:has(> .ads-campaign-filters)::after { display:none; }
@media (max-width:460px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-filters .table-toggles { flex-wrap:wrap;gap:8px; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-filters .table-chips--inline .table-toggle { margin:0!important;border-radius:10px!important; }
}
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode--good { background:color-mix(in srgb,var(--v3-green) 14%,var(--surface));color:var(--v3-green); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode--warn { background:color-mix(in srgb,var(--v3-amber) 16%,var(--surface));color:var(--v3-amber); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode--muted { background:var(--v3-band,var(--band));color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode--lg { height:32px;padding:0 14px;border-radius:16px;font-size:15px;line-height:32px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .pagehead h1 .tpl-mode--lg { vertical-align:4px;margin-left:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] [data-pane][hidden] { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-sline__mode { margin-top:6px; }
@media (min-width:901px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline.wbads-sline { grid-template-columns:1.3fr 1fr 1fr; } }          /* three figures since the advice of the limit is gone */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard > form.wbads-manual { display:contents; }
/* «Настройки управления рекламой»: the tabs are the blocks of the settings, a row = name + recommendation on the left, the field on the right (the picture of 21.10.2026) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-state { display:inline-flex;align-items:center;gap:8px;height:40px;box-sizing:border-box;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-weight:600;font-size:14px;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-state > i { width:8px;height:8px;border-radius:50%;background:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-state--on > i { background:var(--v3-green); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-settings > .wbads-rows { margin:0;padding:0;border:0;display:block; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-settings .wbads-rows > .wbads-row { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;margin:0;padding:14px 20px;border:0;border-top:1px solid var(--line);border-radius:0;background:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-settings > .wbads-rows > .wbads-row:first-child { border-top:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-settings .wbads-row__text > label { display:inline-flex;align-items:center;gap:6px;margin:0;font-weight:600;font-size:15px;line-height:24px;color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-settings .wbads-row__text .hint { margin:0;font-size:13px;line-height:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-settings .wbads-row__input { display:flex;align-items:center;gap:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-settings .wbads-row__input input[type=text] { width:110px;height:36px;text-align:right; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-settings > .wbads-adv { margin:0;padding:12px 20px;border:0;border-top:1px solid var(--line);background:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-settings > .wbads-adv > summary { cursor:pointer;color:var(--primary);font-weight:600;font-size:14px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-pad { margin:16px 20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-savebar { margin-top:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-savebar .coinvest-bar { display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 20px;background:var(--v3-band,var(--band));border-radius:19px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-savebar__v { margin-left:auto!important;font-size:13px; }
@media (max-width:760px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-settings .wbads-rows > .wbads-row { grid-template-columns:minmax(0,1fr);gap:10px; } }
/* choices as a segment (the new campaign): the control is a radio or a checkbox in a label that looks like the segment of the period */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-choice > .tpl-seg__b { gap:6px;cursor:pointer;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-choice > .tpl-seg__b > input { position:absolute;opacity:0;width:0;height:0;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-choice > .tpl-seg__b:has(input:checked) { background:var(--primary);color:var(--v3-on,#fff); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-choice > .tpl-seg__b:has(input:focus-visible) { outline:2px solid var(--primary);outline-offset:-2px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-choice > .tpl-seg__b:has(input:disabled) { cursor:default;opacity:.55; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-row__input input#name { width:360px;max-width:100%;text-align:left; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-row__input input#topup { width:150px; }   /* the hint «не пополнять» is shown whole (05.11.2026) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard > .coinvest-bar { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-protect > summary { cursor:pointer;list-style:none; }
/* the segment of the mode / of the campaign: the button that is not the chosen one is plain text (design-v3.css:207 paints every submit button white, design-v3-native.css:540 greys it in the dark theme) */
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.tpl-mode-seg,.coinvest-mode).tpl-seg button.tpl-seg__b.tpl-seg__b:not(.is-on),
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] :is(.tpl-mode-seg,.coinvest-mode).tpl-seg button.tpl-seg__b.tpl-seg__b:not(.is-on) { color:var(--text)!important;background:transparent!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] :is(.tpl-mode-seg,.coinvest-mode).tpl-seg button.tpl-seg__b.tpl-seg__b.is-on,
html.look-flat.look-accent[data-theme=dark] body.v2.v3[data-marketplace] :is(.tpl-mode-seg,.coinvest-mode).tpl-seg button.tpl-seg__b.tpl-seg__b.is-on { color:var(--v3-on,#fff)!important;background:var(--primary)!important; }
/* the pill of the mode is one line, never broken into syllables (the common rule of the table cells breaks words) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode, html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode__next { word-break:keep-all!important;overflow-wrap:normal!important;hyphens:none!important;flex:none;white-space:nowrap!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] table td[data-col="mode"] { min-width:max-content; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard > .coinvest-bar, html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard > form > .coinvest-bar { display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 20px;margin:0;background:var(--v3-band,var(--band));border-top:1px solid var(--line);border-radius:0 0 19px 19px; }
/* the window of a связка: 1240 px as in the picture (the tiles inside are the size of the tiles of the page) */
html.look-flat.look-accent body.v2.v3[data-marketplace] dialog.adg-window.fbo-dialog--wide { width:min(1240px,calc(100vw - 32px));max-width:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window .fbo-dialog__close:focus:not(:focus-visible) { outline:none;box-shadow:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-win__notes { margin:12px 0 0; }
/* the filters of the history: chips in the toolbar of the table, each is a list that applies at once */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-filterchips { display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard > .tpl-filterchips { margin:16px 20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-chipsel { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-chipsel select { height:36px;width:auto;max-width:240px;margin:0;padding:0 28px 0 12px;border:0;border-radius:10px;background-color:var(--accent-soft);color:var(--primary);font:600 14px/20px var(--font);cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-chipsel input { height:36px;width:150px;margin:0;padding:0 12px;border:0;border-radius:10px;background-color:var(--accent-soft);color:var(--primary);font:600 14px/20px var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-chipsel input::placeholder { color:var(--primary);opacity:.75; }
/* the table of «Аналитика продвижения HALO»: the state is text, on the left (UI.md, §7) */
html.look-flat.look-accent body.v2.v3[data-marketplace] table.adg-t :is(th,td)[data-col="state"] { text-align:left!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] table.adg-t td[data-col="state"] .state { display:inline;text-align:left; }
/* the line under the pill of the mode wraps by words inside a table cell: the column is as wide as the pill, not as the longest line */
html.look-flat.look-accent body.v2.v3[data-marketplace] table td .tpl-mode__next { white-space:normal!important; }
/* a folded block under the main table (the offers of the limit): the card of the table with one summary line, closed until it is opened */
html.look-flat.look-accent body.v2.v3[data-marketplace] details.tpl-fold > summary { display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;font-size:17px;line-height:24px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] details.tpl-fold > summary::-webkit-details-marker { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] details.tpl-fold > summary::before { content:"▸";color:var(--muted);font-size:14px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] details.tpl-fold[open] > summary::before { content:"▾"; }
html.look-flat.look-accent body.v2.v3[data-marketplace] details.tpl-fold[open] > summary { margin-bottom:0; }
/* a one-line message of an empty tab: the margins of the card, like every empty table (the table itself is not drawn) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard > p.hint { margin:16px 20px; }
/* the strip of the status of a campaign: its cells stand in one row, whatever their number (four on Ozon, three on WB) */
@media (min-width:901px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline.wbads-sline:has(> div:nth-child(4)) { grid-template-columns:1.3fr 1fr 1fr 1fr; } }
/* history: the name of a campaign is plain text like the other cells (it is the link of the cell that is coloured) */
html.look-flat.look-accent body.v2.v3[data-marketplace] table.wbads-history td.cell2 .t { font-weight:400; }
/* «Товары не под управлением»: the count of the ads is plain text; the panel under the card that the script emptied is not drawn; the products of a row are buttons of a table row (30 px) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-unm-adsum, html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-unm-adsum b { font-weight:400; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-unm-bar:not(:has(*)) { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] table.ads-unm td button.ads-unm-chip { display:inline-flex;align-items:center;min-height:30px;max-width:100%;box-sizing:border-box;margin:0 6px 6px 0;padding:4px 12px;white-space:normal!important;overflow-wrap:anywhere;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--v3-band,var(--band));color:var(--text);font:600 14px/20px var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] table.ads-unm td button.ads-unm-chip:hover { background:var(--accent-soft);color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] table.ads-unm td button.ads-unm-chip--coinvest { border-style:dashed; }
/* a hint sign after the name of a field keeps a gap */
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-row__text > label + .tip { margin-left:6px; }
/* a switch in a row of the settings stands on the middle line of the row with its caption (it had its own margin 14/6 and sat 4 px low) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-row__input > .wbads-switch { margin:0; }
/* two cards of the table standard one under another (the settings of a new campaign and its products) keep the gap of the page */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard + .tpl-tablecard, html.look-flat.look-accent body.v2.v3[data-marketplace] .page > .card.tpl-tablecard + .card.tpl-tablecard { margin-top:16px; }   /* design-v3.css puts 24 between two cards of the page */
/* «Товары не под управлением» (Ozon, WB): six tabs are scrolled inside their own row at any width - they were cut off at 1159 and 1000 px */
html.look-flat.look-accent body.v2.v3[data-marketplace]:has(#ads-unm-products) .table-tabs.tpl-tabs { overflow-x:auto!important;overflow-y:hidden;scrollbar-width:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace]:has(#ads-unm-products) .table-tabs.tpl-tabs > a.table-tab { flex:none; }
/* the figures and the caption under them centred, as every figure of the table (owner, 30.10.2026: «скачет то по центру, то по левому краю») */
html.look-flat.look-accent body.v2.v3[data-marketplace] table.wbads-campaigns :is(th,td):is([data-col=bids],[data-col=target]) { text-align:center!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] table.wbads-campaigns td[data-col=bids] .wbads-cellbar { display:inline-flex; flex-direction:column; align-items:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] table.wbads-campaigns td[data-col=bids] .hint { text-align:center; white-space:pre-line!important; }          /* !important: the compact rule of hints keeps them on one line */

/* The table of campaigns of «Управление рекламой», Ozon and WB (owner, 16.11.2026, вид «Б», docs/ui-2026/ads-campaigns-table-2026-11-16): status is a dot, the mode - a round sign and the action,
   «ДРР связки» carries one label against the target, «Сегодня» - the spend and its share of the limit, «Потолок» - the number and the label «разгон». Colours are tokens only.
   !important + the longer selector: design-v3.css paints every figure cell with the colour of the text (and the main column blue) - the labels inside keep their own. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] .wbads-dot { display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:var(--muted);vertical-align:1px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] .wbads-dot--ok { background:var(--v3-green); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] .wbads-dot--bad { background:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] .wbads-dot--warn { background:var(--v3-amber); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] .wbads-mode { display:flex;align-items:flex-start;gap:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] .wbads-ic { flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--v3-band);color:var(--muted);font:700 13px/1 var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] .wbads-ic--down { background:var(--v3-red-bg);color:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] .wbads-ic--up { background:var(--ok-bg);color:var(--v3-green); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] .wbads-act { display:block;font-size:14px;line-height:22px;color:var(--text);white-space:normal; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] .wbads-act--warn { color:var(--v3-amber); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] .wbads-act--bad { color:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td.wbads-halo .tpl-mode--turbo-chip { display:block;margin:2px 0 0;height:auto;padding:1px 7px;border:1px solid currentColor;border-radius:999px;background:transparent;color:var(--v3-amber);font:400 12px/16px var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td.wbads-halo .tpl-mode--turbo-chip.tpl-mode--bad { color:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td.wbads-halo .tpl-mode--turbo-chip::before { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td[data-col=group_drr], html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td[data-col=group_drr] > div { color:var(--text)!important;font-weight:400!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td .wbads-chip { display:inline-block;margin-top:4px;padding:2px 8px;border-radius:999px;background:var(--v3-band);color:var(--muted)!important;font:600 12px/16px var(--font)!important;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td .wbads-chip--ok { background:var(--ok-bg);color:var(--v3-green)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td .wbads-chip--below { background:var(--accent-soft);color:var(--primary)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td .wbads-chip--warn { background:var(--v3-amber-bg);color:var(--v3-amber)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td .wbads-chip--bad { background:var(--v3-red-bg);color:var(--v3-red)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td[data-col=target], html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td[data-col=platform_drr], html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td[data-col=metric_platform_drr] { color:var(--muted)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] .wbads-today { display:inline-flex;flex-direction:column;align-items:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td .wbads-today__s { font-size:12px;line-height:16px;color:var(--muted)!important;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td .wbads-today__s--warn { color:var(--v3-amber)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] .wbads-today .wbads-nolimit { margin-top:4px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td .wbads-tag { display:inline-block;margin-top:4px;padding:1px 7px;border:1px solid currentColor;border-radius:999px;color:var(--v3-amber)!important;font:400 12px/16px var(--font)!important;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard table.wbads-campaigns[data-table] td[data-col=bids] { white-space:nowrap!important; }

/* «Разгон» кампании (владелец, 05.11.2026, макет А): метки режима, полоска над графиками страницы кампании WB и Ozon, метка в списке */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode--turbo { background:color-mix(in srgb,var(--primary) 14%,var(--surface));color:var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-mode--bad { background:var(--v3-red-bg);color:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-halo .tpl-mode--turbo-chip { display:flex;width:fit-content;max-width:100%;margin:4px 0 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-strip { margin:0 0 16px;padding:12px 20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-strip--bad { border-color:var(--v3-red-line);background:var(--v3-red-bg); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-strip__row { display:flex;align-items:center;gap:16px;min-height:36px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-strip__row .tpl-mode { flex:none;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-strip__text { flex:1;min-width:0;font-size:14px;line-height:20px;color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-strip__act { display:flex;align-items:center;gap:8px;flex:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-strip__act form { display:inline-flex;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-strip__act .btn { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-strip__more { margin-top:12px;padding-top:14px;border-top:1px solid var(--line); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-strip__more[hidden] { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-split { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-sub { margin:0 0 8px;font-size:13px;line-height:20px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-enable__go { display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-enable__go .btn { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-days { display:inline-flex;align-items:center;gap:8px;margin:0;font-size:14px;color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-days input { width:64px;margin:0;text-align:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-what { margin:10px 0 0;padding:0 0 0 18px;font-size:14px;line-height:22px;color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-what li { margin:2px 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-what b { display:inline;font-size:inherit; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-days-t { display:grid;border-radius:12px;overflow:hidden;font-size:15px;line-height:20px;font-variant-numeric:tabular-nums; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-days-t__row { display:grid;grid-template-columns:72px minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr);align-items:center;border-bottom:1px solid var(--line); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-days-t__row:last-child { border-bottom:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-days-t__row > span { padding:6px 10px;text-align:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-days-t__head { background:var(--v3-band);color:var(--muted);font-size:13px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-days-t__head > span:is(:first-child,:last-child) { text-align:left; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-days-t__row > .d { text-align:left;color:var(--muted);font-size:13px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-days-t__row > .n { --number-weight:var(--number-table-weight); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-days-t__row > .s { text-align:left;font-size:12px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-days-t__row > .is-muted { color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-days-t__row > .is-bad { color:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-plan { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-plan li { display:flex;flex-direction:column;align-items:center;gap:2px;margin:0;padding:8px 6px;border-radius:12px;background:var(--v3-band);text-align:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-plan span, html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-plan small { font-size:12px;line-height:16px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-plan b { font:700 20px/24px var(--font);color:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-plan li.is-on { background:color-mix(in srgb,var(--primary) 12%,var(--surface));box-shadow:inset 0 0 0 1.5px var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-plan li.is-on b { color:var(--primary); }
@media (max-width:900px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-strip__row { flex-wrap:wrap; } html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-strip__text { flex-basis:100%;order:3; } html.look-flat.look-accent body.v2.v3[data-marketplace] .turbo-split { grid-template-columns:minmax(0,1fr);gap:16px; } }
/* «Лимит дня» of a campaign, Ozon and WB (owner, 06.11.2026): the mark where HALO pauses (лимит − 15 %); the tile opens «Настроить» on the limit field */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline .meter:has(> b) { position:relative;overflow:visible; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline .meter > b { position:absolute;top:-3px;width:2px;height:12px;margin-left:-1px;border-radius:1px;background:var(--text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline > [data-wbads-limit-open] { cursor:pointer;border-radius:20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-sline > [data-wbads-limit-open]:hover { box-shadow:inset 0 0 0 1px var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-sline__edit { margin:0 0 0 auto;padding:0;height:auto;min-height: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] .wbads-sline__edit:focus-visible, html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-advice:focus-visible { outline:2px solid var(--primary);outline-offset:2px;border-radius:6px; }
/* «совет 245» under the field «Лимит в день» of a product: puts the number into the field, «Сохранить лимиты» saves it (owner, 06.11.2026) */
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-advice { display:block;margin:2px auto 0;padding:0;height:auto;min-height:0;border:0;background:none;color:var(--muted);font:400 12px/16px var(--font);cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-advice:hover { color:var(--primary);text-decoration:underline; }

/* Campaign detail */
.wbads-detail { min-width: 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-detail .tpl-tablecard { min-width: 0; padding: 0; }
.wbads-detail__head { flex-wrap: wrap; gap: 12px 20px; }
.wbads-detail__head > div:first-child { flex: 1 1 380px; min-width: 0; overflow-wrap: anywhere; }
.wbads-detail__actions { flex-wrap: wrap; }
.wbads-detail .wbads-products :is(th, td)[data-col=offer] { min-width: 180px; }
.wbads-detail .wbads-products td[data-col=offer] .t { overflow-wrap: anywhere; }
.wbads-detail .wbads-products td { vertical-align: middle; }
/* the card of a campaign that was created but not started: the request, the sum and «Запустить», then the table of its products */
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-detail .wbads-ready-launch { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 20px; margin: 0 0 16px; }
.wbads-ready-launch__text { flex: 1 1 20rem; min-width: 0; }
.wbads-ready-launch__text h2 { margin: 0 0 4px; }
.wbads-ready-launch__text .hint { margin: 0; }
.wbads-ready-launch__act { display: flex; align-items: center; gap: 12px 16px; flex: 0 1 auto; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.wbads-ready-launch__act form { margin: 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-detail .wbads-ready-table { margin: 0 0 16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-detail .tpl-sline__t { flex-wrap: wrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-detail .tpl-sline__v { white-space: normal; }
@media (max-width: 720px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-detail .tpl-sline.wbads-sline { grid-template-columns: minmax(0, 1fr); }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-detail .tpl-sline.wbads-sline > div { border-left: 0; }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-detail .tpl-sline.wbads-sline > div + div { border-top: 1px solid var(--line); }
}

/* The advertising workspace above the native table. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-head .ads-ctl-heading,
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-status {
  display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;
}
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-head .ads-ctl-heading h1 { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-status { margin-top:4px;font:400 13px/20px var(--font);color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-status > span:not(.tip)::before { content:"·";margin-right:10px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-status > strong { font-weight:600; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-mode__items :is(form,.menu__item) { width:100%; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .card.ads-ctl-overview { padding:0;margin-bottom:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-overview .tpl-period { margin:0;padding:0;border-bottom:1px solid var(--line); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-overview .tpl-period > .periodbar { border:0;border-radius:0;background:transparent;box-shadow:none;padding:9px 20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-overview .tpl-period .periodbar__custom { margin-right:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-overview .tpl-period__cabinet { margin:10px 20px 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-overview .periodbar__caption { margin-right:6px;white-space:nowrap;font-size:13px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-overview__head { display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding:9px 20px 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-overview__head h2 { margin:0;font:700 17px/24px var(--font); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-overview .ads-ctl-summary { gap:0;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-summary > .card.kpi {
  padding:10px 20px 12px;min-height:82px;border:0;border-radius:0;background:transparent;box-shadow:none;
}
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-summary > .card.kpi + .card.kpi { border-inline-start:1px solid var(--line); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-summary .kpi__row { margin:3px 0 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-summary .kpi__sub { position:static;margin-top:3px;white-space:normal;overflow:visible; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-trends .kpis--tiles { grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;margin:8px 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-trends .kpis--tiles > .card.kpi {
  display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-content:center;align-items:center;
  gap:4px 16px;padding:12px 16px;min-height:0;background:var(--v3-band);
}
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-trends .kpi :is(.kpi__title,.kpi__row) { grid-column:1;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-trends .kpi__row { align-self:start; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-trends .kpi__title { align-self:end; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-trends .kpi > .kpi-chart { grid-area:1 / 2 / span 2; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-trends .kpi > .kpi-chart--wide { display:block; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-trends .kpi > .kpi-chart--narrow { display:none; }

html.look-flat.look-accent body.v2.v3[data-marketplace] .card.tpl-attn--ads-overview { margin:0;padding:10px 20px;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn--ads-overview:has(.tpl-attn__item--overview-info:only-child):not(:has(.tpl-attn__more,.tpl-attn__hidden)) { padding:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn--ads-overview:has(.tpl-attn__item--overview-info:only-child):not(:has(.tpl-attn__more,.tpl-attn__hidden)) > .tpl-attn__title { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn--ads-overview .tpl-attn__item--overview-info { padding:8px 42px 8px 20px;border:0;border-radius:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn--ads-overview .tpl-attn__item--overview-info > .tpl-attn__budget { grid-column:auto;justify-self:end;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-attn--ads-overview .tpl-attn__item--overview-info > .tpl-attn__budget[open] { grid-column:1 / -1;justify-self:start; }

@media (max-width:760px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-summary > .card.kpi + .card.kpi { border-inline-start:0;border-top:1px solid var(--line); }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-overview .ads-ctl-summary { grid-template-columns:minmax(0,1fr); }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-ctl-trends .kpis--tiles > .card.kpi { display:flex; }
}

/* The campaign summary ends above the existing tabs and table. */
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign .wbads-detail__head { margin-bottom:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign .ads-campaign-parameters,
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-report [data-help-open] { background:var(--accent-soft)!important;color:var(--primary)!important;border-color:transparent; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-detail .ads-campaign-state {
  grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px;
}
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-state > div { padding:13px 18px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-state .tpl-sline__v { margin-top:4px;font-size:21px;line-height:27px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-state .wbads-sline__mode { margin-top:4px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-state .tpl-mode--lg { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-state .tpl-sline__s { margin-top:3px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-state :is(.ads-campaign-turbo-link,.ads-campaign-state__money) {
  display:flex;align-items:center;justify-content:space-between;gap:4px 8px;flex-wrap:wrap;
}
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-turbo-link { margin-top:3px;color:var(--muted);font-size:13px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-state .linkbtn { font-size:13px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-state .meter { margin-bottom:3px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-trends .kpi__sub {
  position:static;grid-column:1;margin:0;white-space:normal;
}
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-trends .kpi > .kpi-chart { grid-area:1 / 2 / span 3; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-turbo .turbo-strip { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-turbo .turbo-strip__row { flex-wrap:wrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-report__bar,
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-report__bar :is(.ads-campaign-report__period,.ads-campaign-report__meta) {
  display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;
}
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-report__bar { justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--line); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-report__period > .periodbar__presets { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-report__range { font-size:13px;font-weight:600; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-report__meta .tpl-period {
  display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0;
}
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-report__meta .tpl-period :is(.tpl-chip,.tpl-period__cabinet,.tpl-period__end) { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-report__dates > .menu__list {
  width:min(520px,calc(100vw - 64px));max-width:none;right:auto;left:0;padding:10px;
}
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-report__dates .tpl-period { margin:0;padding:0;border:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-report__dates .periodbar { gap:8px;padding:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-report__dates .periodbar__custom { flex-wrap:wrap;margin:0; }
@media (max-width:760px) {
  html.look-flat.look-accent body.v2.v3[data-marketplace] .wbads-detail .ads-campaign-state { grid-template-columns:minmax(0,1fr); }
  html.look-flat.look-accent body.v2.v3[data-marketplace] .ads-campaign-report__dates > .menu__list { position:static;margin-top:8px; }
}
.adg-window .adg-win__period { margin:0 0 16px; }
.adg-window .adg-win__period .periodbar + .periodbar { margin-top:8px; }
.adg-window .adg-win__split { margin:16px 0; }
.adg-window .adg-win__splithead { justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;flex-wrap:wrap; }
/* окно связки, 16.11.2026: строки «Период» и «Сравнить с» стоят ровно друг под другом (подпись и кнопка одной ширины), «было» под цифрами товаров */
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window .adg-win__period .periodbar__caption { flex:0 0 88px;margin-right:4px;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window .adg-win__period .periodbar__custom button { min-width:104px;justify-content:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window table[data-table] td .adg-was, html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window table[data-table] td .adg-was * { display:block;font-size:12px!important;line-height:16px!important;font-weight:400!important;color:var(--muted)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window table[data-table] td .adg-was { margin-top:2px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window table[data-table] td .adg-was b { font-weight:600!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window table[data-table] td .adg-was b.adg-was--good { color:var(--v3-green)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window table[data-table] td .adg-was b.adg-was--bad { color:var(--v3-red)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window table[data-table] td[data-v3-signal], html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window table[data-table] td[data-v3-signal] > a { color:var(--text)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window table[data-table] td[data-col=offer] .rep-product .s a { color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window .adg-win__period input[type=date] { width:156px;flex:0 0 156px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window .adg-win__period .periodbar__custom { margin-right:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .adg-window table[data-table] th[data-col=offer] { min-width:280px; }
