/* Page template, group 03-prices (owner approved modules-mockup/03-prices, 21.10.2026). Only this group's pages; shared components live in design-v3-compact.css section 15. */

/* ---- the page head, a menu with a form, notes under a table ---- */
html.look-flat.look-accent body.v2.v3[data-marketplace] .pagehead .menu__list .menu__form { padding:10px 14px;border-top:1px solid var(--line);white-space:normal; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .pagehead .menu__list .menu__form form { display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .pagehead .menu__list .menu__form input[type=text] { flex:1 1 160px;min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .tpl03-foot { margin:0;padding:12px 20px;border-top:1px solid var(--line); }

/* ---- «Автоматика: …» plate of the period line and its panel (promotion pages) ---- */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-auto { position:relative;margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-auto > summary { list-style:none;cursor:pointer; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-auto > summary::-webkit-details-marker { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-dot--good { background:var(--v3-green); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-dot--bad { background:var(--v3-red); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-dot--muted { background:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-auto__panel { position:absolute;z-index:30;top:42px;left:0;width:min(760px,calc(100vw - 32px));max-height:min(80vh,720px);overflow:auto;padding:16px 20px;box-shadow:0 8px 24px #14243c1f; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-auto__panel > * + * { margin-top:12px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-auto__panel .promo-control__actions { display:flex;flex-wrap:wrap;gap:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-auto__panel .promo-control__actions form { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-rule { display:grid;gap:8px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-rule__row { display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:12px;align-items:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-rule__row label, html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-rule__check { margin:0;font-size:14px;font-weight:500; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-rule .btn { justify-self:start; }
@media (max-width:640px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-auto__panel { position:static;width:auto;margin-top:8px; } html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-rule__row { grid-template-columns:1fr; } }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-stack { padding:16px 20px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-stack > .tablewrap { margin-top:8px; }

/* ---- calendar of promotions: the strip scrolls sideways, colours are the tokens of the marketplace (no own colours) ---- */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-gantt { min-width:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-gantt .wbap-gantt { min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-gantt .wbap-gantt__inner { min-width:max(100%,calc(var(--wbap-day-count) * 40px)); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-gantt .wbap-day { flex:1 0 40px;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-gantt .wbap-bar--running { background:var(--primary);color:var(--v3-on,#fff)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-gantt .wbap-bar--running :is(b,i) { color:var(--v3-on,#fff)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-gantt .wbap-bar--soon { background:var(--accent-soft);color:var(--primary)!important;box-shadow:inset 0 0 0 1px var(--primary); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-gantt .wbap-bar--soon :is(b,i) { background:transparent;color:var(--primary)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-gantt .wbap-bar--ended { background:var(--v3-band);color:var(--muted)!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-gantt .wbap-today-key { display:inline-block;width:2px;height:12px;background:var(--v3-red);vertical-align:-2px;margin-right:6px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-gantt .wbap-today { background:var(--v3-red); }

/* ---- settings pages: fields of one tab in a grid, the footer with «Изменено» and the buttons ---- */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields[hidden] { display:none; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields--one { grid-template-columns:1fr;gap:10px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields__wide { grid-column:1 / -1; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields .field { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields .check { display:flex;gap:8px;align-items:center;margin:0;font-weight:500; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-formfoot { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 20px;margin-top:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-formfoot__btns { display:flex;gap:8px; }
@media (max-width:900px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-fields { grid-template-columns:1fr; } }

/* ---- calculator: the result in one card, the zones framed, the parameters as chips ---- */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-zones .calc-zones { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-zones .calc-zone { border:1px solid var(--line);border-radius:16px;padding:14px 16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-chips { display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-chips .chip { display:inline-flex;gap:6px;align-items:center;min-height:32px;padding:0 12px;border-radius:10px;background:var(--v3-band);font-size:13px;color:var(--muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-chips .chip b { color:var(--text);font-weight:600; }
@media (max-width:700px) { html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-zones .calc-zones { grid-template-columns:1fr; } }

/* ---- the sign bar under a table of a check screen: switches on the left, password and buttons on the right ---- */
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-signbar { display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;padding:12px 20px;border-top:1px solid var(--line); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-signbar__opts { display:grid;gap:6px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-signbar .check { display:flex;gap:8px;align-items:center;margin:0;font-weight:500;font-size:14px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-signbar__go { display:flex;gap:8px;align-items:center;flex-wrap:wrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl03-signbar__go input { width:260px;max-width:100%; }

/* ---- «Новый товар» WB (владелец, 30.10.2026, макет «вариант А»): ход снижения прямо в строке таблицы ---- */
html.look-flat .nw-ready { color:var(--text); }
html.look-flat .nw-run { color:var(--primary); }
html.look-flat .nw-why { font:400 13px/18px var(--font);color:var(--muted);margin-top:2px;max-width:340px;white-space:normal; }
html.look-flat .nw-how { margin:0 0 12px;max-width:980px; }
html.look-flat .nw-prog { display:grid;gap:4px;min-width:0; }
html.look-flat .nw-prog__n { font:400 15px/20px var(--font);font-variant-numeric:tabular-nums; }
html.look-flat .nw-prog__t { font:400 13px/18px var(--font);color:var(--muted); }
html.look-flat .nw-prog .bar { margin:0;height:6px;background:var(--v3-soft,var(--line)); }
html.look-flat .nw-prog .bar i { background:var(--primary); }
html.look-flat .nw-prog .nw-bar--stop i { background:var(--v3-red); }
html.look-flat .nw-prog .nw-bar--done i { background:var(--v3-green); }
html.look-flat.look-accent body.v2.v3[data-marketplace] table[data-table] :is(th,td).nw-act { min-width:152px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] table[data-table] td.nw-act { padding-right:20px!important; }
html.look-flat.look-accent body.v2.v3[data-marketplace] table[data-table] td.nw-act a:not(.btn) { color:var(--link)!important; }

/* ---- WB «Ручная загрузка минимальной цены» (владелец, 06.11.2026, макет А docs/ui-2026/min-price/A.html): кнопка в панели таблицы и 4 шага в ряд (.wbap-steps--4 из halo.css) ---- */
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual-link { display:inline-flex;align-items:center; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .tpl-tablecard .table-tools .min-manual-link .btn { height:40px;min-height:40px;font-weight:600; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual__head { display:flex;align-items:flex-start;justify-content:space-between;gap:24px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual__head h2 { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual__head p { margin:4px 0 0;max-width:760px;font-size:14px;line-height:20px;color:var(--v3-muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual__back { padding-top:4px;font-weight:500;white-space:nowrap;text-decoration:none;color:var(--link); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .wbap-steps { margin-top:16px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .wbap-step { background:var(--v3-band);border:1px solid transparent; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .wbap-step.is-now { background:var(--v3-surface);border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 12%,transparent); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .wbap-step.is-next { opacity:.72; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .wbap-step.is-done::before { background:var(--v3-green);color:var(--v3-on); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .wbap-step.is-now::before { background:var(--primary);color:var(--v3-on); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .wbap-step.is-next::before { background:var(--v3-muted);color:var(--v3-on); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .wbap-step b { font-size:16px;line-height:24px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .wbap-step__go { flex-direction:column;align-items:stretch;gap:6px; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .wbap-step__go form { margin:0; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .wbap-step__go .btn { width:100%; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .min-badge { align-self:flex-start;margin:0 40px 6px 0;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:500;line-height:16px;white-space:nowrap; }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .min-badge--done { color:var(--v3-green);background:color-mix(in srgb,var(--v3-green) 12%,transparent); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .min-badge--now { color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,transparent); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .min-badge--next { color:var(--v3-muted);background:var(--v3-surface); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .min-path { font-size:13px;line-height:18px;color:var(--v3-muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .min-k { font-weight:500;color:var(--v3-text); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .min-ok { font-size:14px;line-height:20px;font-weight:500;color:var(--v3-green); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .min-ok--old { color:var(--v3-amber); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .min-sub { font-size:13px;line-height:18px;color:var(--v3-muted); }
html.look-flat.look-accent body.v2.v3[data-marketplace] .min-manual .min-link { font-size:14px;line-height:20px;font-weight:500;white-space:nowrap;text-decoration:none;color:var(--primary); }
