/* Главная страница (B6): тарифы и калькулятор. Подключается только на ней. */
.hero { margin-bottom: 16px; }
.hero h1 { font-size: 26px; }
.lead { font-size: 17px; color: var(--muted); max-width: 60ch; }
.hero .row .btn { min-width: 150px; }
.feat { margin: 0; padding-left: 20px; }
.feat li { margin-bottom: 4px; }
section > h2 { margin-top: 8px; }
.plans { margin-bottom: 12px; }
.plan h3 { margin: 0 0 6px; font-size: 18px; }
.plan .price { font-size: 22px; margin: 0 0 4px; }
.plan .price strong { font-weight: 800; }
.btn[disabled], .btn.pay { background: var(--line); color: var(--muted); cursor: not-allowed; border: 0; }
.btn[disabled]:hover { background: var(--line); }
.plan .hint { margin-top: 8px; }
.calcform .sub { margin: 4px 0 8px; font-size: 16px; }
.calcform .row2 .field { min-width: 0; }
.field { position: relative; }
.suggest { position: absolute; left: 0; right: 0; z-index: 20; margin: 2px 0 0; padding: 4px 0; list-style: none; max-height: 280px; overflow-y: auto; background: var(--card); border: 1px solid var(--field-line); border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.suggest[hidden] { display: none; }
.suggest button { display: block; width: 100%; text-align: left; font: inherit; color: var(--ink); background: none; border: 0; padding: 8px 12px; min-height: 44px; cursor: pointer; }
.suggest button:hover, .suggest button:focus-visible { background: var(--soft); }
.suggest .muted { display: block; font-size: 13px; overflow-wrap: anywhere; }
.suggest .empty { padding: 8px 12px; color: var(--muted); }
.cands { border: 0; padding: 0; margin: 10px 0 0; min-width: 0; }
.cand { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; overflow-wrap: anywhere; }
.cand input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex: none; }
#calc-result { margin-top: 14px; outline: none; }
.errs { margin: 0; padding-left: 18px; }
.result h3 { margin: 0 0 6px; font-size: 18px; }
.result .total th, .result .total td { font-size: 18px; border-top: 2px solid var(--line); }
.result .total th { color: var(--ink); }
.pos { color: var(--good); font-weight: 800; }
.neg { color: var(--bad); font-weight: 800; }
.result .tbl td:first-child { overflow-wrap: anywhere; }
@media (max-width: 520px) { .hero h1 { font-size: 22px; } .hero .row .btn { flex: 1 1 140px; } }

/* Калькулятор Wildberries и переключатель площадки (B9a) */
.mp-switch { display: flex; gap: 0; margin: 4px 0 14px; border: 2px solid var(--field-line); border-radius: 10px; overflow: hidden; width: max-content; max-width: 100%; }
.mp-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; font-weight: 700; text-decoration: none; color: var(--brand-dark); background: var(--field); }
.mp-tab + .mp-tab { border-left: 2px solid var(--field-line); }
.mp-tab.on { background: var(--soft); color: var(--brand-dark); box-shadow: inset 0 -3px 0 var(--brand); }
.mp-tab:hover { background: var(--soft); }
.sublbl { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.calcform [data-schemes][hidden] { display: none !important; }
.calcform-wb .field legend.lbl { padding: 0; }
.adv { margin: 4px 0 8px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px 4px; }
.adv > summary { color: var(--brand-dark); }
.adv .adv-note { margin: 0 0 10px; }
.calcform-wb select { max-width: 100%; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 10px; }
.kpi { background: var(--soft); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.kpi-l { display: block; font-size: 13px; color: var(--muted); }
.kpi-v { display: block; font-size: 24px; font-weight: 800; overflow-wrap: anywhere; line-height: 1.2; }
.size-row { margin: 0 0 8px; }
.wb-services td { font-size: 14px; }
@media (max-width: 520px) { .row3 { gap: 8px; } .kpi-v { font-size: 20px; } .mp-tab { padding: 8px 14px; } }

/* B9b: допущения по умолчанию одной строкой вместо жёлтых плашек */
.typical-line { margin: 12px 0 0; color: var(--muted, #5b6472); font-size: 0.95rem; }
