.izc-outreach-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 0 40px;
}
.izc-logo--text {
  font-weight: 800;
  font-size: 1.15rem;
  color: #0392f9;
  letter-spacing: 0.02em;
}
/* Сброс конфликтов чужих CMS со таблицами калькулятора */
.izc-outreach-page table {
  display: table !important;
  width: 100% !important;
  border-collapse: collapse !important;
}
.izc-outreach-page thead { display: table-header-group !important; }
.izc-outreach-page tbody { display: table-row-group !important; }
.izc-outreach-page tr { display: table-row !important; }
.izc-outreach-page th,
.izc-outreach-page td {
  display: table-cell !important;
  visibility: visible !important;
}

.izc-outreach-page {
  background: #f0f4f8;
  box-sizing: border-box;
}
.izc-outreach-page .izc-widget.izc-theme-classic {
  --izc-bg: #f0f4f8;
  --izc-surface: #fff;
  --izc-surface-2: #f8fafc;
  --izc-border: #d1dae6;
  --izc-text: #1a2030;
  --izc-muted: #5c6b82;
  --izc-brand: #0392f9;
  --izc-accent: #e53935;
  --izc-green: #16a34a;
  --izc-t2: #facc15;
  --izc-t3: #dc2626;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--izc-text);
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  width: 100%;
  max-width: none;
}
.izc-outreach-page .izc-widget .izc-wrap::before,
.izc-outreach-page .izc-widget .izc-wrap::after {
  display: none !important;
}
.izc-outreach-page .izc-widget .izc-wrap {
  background: #fff !important;
  border: 1px solid #d1dae6 !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  padding: 20px 16px 24px !important;
}
.izc-outreach-page .izc-logo-text,
.izc-outreach-page .izc-logo.izc-logo--text {
  color: #0392f9 !important;
}
.izc-outreach-page .izc-heading {
  color: #1a2030 !important;
}
.izc-outreach-page .izc-howto {
  background: #eff6ff !important;
  border: 2px solid #93c5fd !important;
  color: #1e3a5f !important;
}
.izc-outreach-page .izc-widget .obj-field input {
  border: 2px solid #0392f9 !important;
  background: #fff !important;
  color: #1a2030 !important;
}
.izc-outreach-page .izc-widget td input:focus,
.izc-outreach-page .izc-widget td select:focus,
.izc-outreach-page .izc-widget .obj-field input:focus {
  background: #fff !important;
  color: #1a2030 !important;
  border-color: #0392f9 !important;
  box-shadow: 0 0 0 3px rgba(3, 146, 249, 0.2) !important;
}
.izc-outreach-page .izc-widget .izc-card {
  background: #fff !important;
  border-color: #d1dae6 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
.izc-outreach-page .izc-widget .izc-card:first-of-type .izc-card-title {
  background: #0392f9 !important;
  color: #fff !important;
}
.izc-outreach-page .izc-widget table th {
  background: #f8fafc !important;
  color: #5c6b82 !important;
  border-color: #d1dae6 !important;
}
.izc-outreach-page .izc-widget table td {
  background: #fff !important;
  color: #1a2030 !important;
  border-color: #d1dae6 !important;
}
.izc-outreach-page .izc-widget table td input,
.izc-outreach-page .izc-widget table td select {
  background: #fff !important;
  color: #1a2030 !important;
  border-color: #0392f9 !important;
  box-shadow: none !important;
}
.izc-outreach-page .izc-row-pipe-ts td,
.izc-outreach-page .izc-row-pipe-sub td {
  background: #fffbeb !important;
}
.izc-outreach-page .izc-btn-green {
  background: #16a34a !important;
  color: #fff !important;
}
.izc-outreach-page .izc-btn-blue,
.izc-outreach-page .izc-btn-generate {
  background: #0392f9 !important;
  color: #fff !important;
}
.izc-outreach-page .izc-btn-outline {
  background: #fff !important;
  color: #0392f9 !important;
  border: 2px solid #0392f9 !important;
}
.izc-outreach-page .izc-widget .save-row {
  justify-content: center !important;
}
.izc-outreach-page .izc-widget .note-box {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #92400e !important;
}
.izc-outreach-page .izc-widget #izc-block-sum .izc-card-title--t2 {
  background: #facc15 !important;
  color: #1a2030 !important;
}
.izc-outreach-page .izc-widget #izc-block-spec .izc-card-title--t3 {
  background: #dc2626 !important;
  color: #fff !important;
}
.izc-outreach-page .izc-widget .sum-table th,
.izc-outreach-page .izc-widget .spec-table th {
  background: #f8fafc !important;
  color: #5c6b82 !important;
}
.izc-outreach-page .izc-widget .sum-table td,
.izc-outreach-page .izc-widget .spec-table td {
  background: #fff !important;
  color: #1a2030 !important;
}
.izc-outreach-page .izc-widget .sum-table td {
  font-weight: 700;
  text-align: center;
}
.izc-outreach-page .izc-widget .spec-table td.col-product strong {
  color: #0392f9 !important;
}
.izc-outreach-page .izc-widget .spec-table .izc-qty strong {
  color: #e53935 !important;
}
.izc-outreach-page .izc-widget tbody tr {
  animation: none !important;
}
/* ИЗОКОМ — классический вид (как «Калькулятор 95-70 первый» + режимы 95/115/ГВС) */
.izc-host {
  margin: 16px 0 28px;
  position: relative;
}

.izc-host--home {
  margin: 12px 0 32px;
  min-height: 280px;
}

.izc-host--product,
.izc-host--download {
  margin: 12px 0 32px;
  min-height: 280px;
}

.izc-widget {
  --izc-bg: #f0f4f8;
  --izc-surface: #fff;
  --izc-surface-2: #f8fafc;
  --izc-border: #d1dae6;
  --izc-text: #1a2030;
  --izc-muted: #5c6b82;
  --izc-brand: #0392f9;
  --izc-accent: #e53935;
  --izc-green: #16a34a;
  --izc-t2: #facc15;
  --izc-t3: #dc2626;
  --izc-radius: 10px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--izc-text);
  line-height: 1.45;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.izc-widget.izc-ready,
.izc-widget.izc-standalone {
  opacity: 1;
}

.izc-wrap {
  padding: 20px 16px 24px;
  background: var(--izc-bg);
  border: 1px solid var(--izc-border);
  border-radius: var(--izc-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}

.izc-howto {
  background: #eff6ff;
  border: 2px solid #93c5fd;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #1e3a5f;
}

.izc-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.izc-logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--izc-brand);
  letter-spacing: 0.02em;
}

.izc-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.izc-heading {
  font-size: 1.2rem;
  font-weight: 800;
  flex: 1;
  min-width: 200px;
  margin: 0;
  line-height: 1.3;
  color: var(--izc-text);
}

.izc-widget .obj-field {
  width: 100%;
  max-width: none;
  margin-bottom: 16px;
}

.izc-widget .obj-field label {
  display: block;
  font-size: 0.8rem;
  color: var(--izc-muted);
  margin-bottom: 4px;
}

.izc-widget .obj-field input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--izc-brand);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--izc-text);
}

.izc-widget .obj-field input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(3, 146, 249, 0.2);
}

.izc-mode-section {
  margin-bottom: 16px;
}

.izc-mode-label {
  display: block;
  font-size: 0.75rem;
  color: var(--izc-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.izc-mode-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.izc-heat-side {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--izc-text);
}

.izc-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.izc-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.izc-switch-track {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--izc-t2);
  transition: background 0.2s;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}

.izc-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.izc-switch input:checked + .izc-switch-track::after {
  transform: translateX(20px);
}

.izc-switch--heat input:checked + .izc-switch-track {
  background: var(--izc-t3);
}

.izc-switch--gvs input:not(:checked) + .izc-switch-track {
  background: #e3e5e5;
}

.izc-switch--gvs input:checked + .izc-switch-track {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.izc-card {
  background: var(--izc-surface);
  border: 1px solid var(--izc-border);
  border-radius: var(--izc-radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.izc-card-title {
  background: var(--izc-brand);
  color: #fff;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

.izc-card-title--t2 {
  background: var(--izc-t2);
  color: #1a2030;
}

.izc-card-title--t3 {
  background: var(--izc-t3);
  color: #fff;
}

.izc-widget .table-wrap {
  overflow-x: auto;
}

.izc-widget table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.izc-widget th {
  background: var(--izc-surface-2);
  border: 1px solid var(--izc-border);
  padding: 8px 10px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--izc-muted);
}

.izc-widget td {
  border: 1px solid var(--izc-border);
  padding: 6px 10px;
  vertical-align: middle;
  background: #fff;
}

.izc-widget td input,
.izc-widget td select {
  width: 100%;
  padding: 7px 8px;
  border: 1px solid var(--izc-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.85rem;
  background: #fff !important;
  color: var(--izc-text) !important;
  box-shadow: none;
}

.izc-widget td input:focus,
.izc-widget td select:focus,
.izc-widget .obj-field input:focus {
  outline: none;
  border-color: var(--izc-brand) !important;
  background: #fff !important;
  color: var(--izc-text) !important;
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.18) !important;
}

.izc-widget td input::selection,
.izc-widget .obj-field input::selection {
  background: rgba(3, 105, 161, 0.2);
  color: var(--izc-text);
}

.izc-widget .col-n {
  width: 36px;
  text-align: center;
  font-weight: 600;
  color: var(--izc-muted);
}

/* Таблица №3 — компактная колонка «№» (только цифра) */
.izc-widget .spec-table th.col-n,
.izc-widget .spec-table td.col-n {
  width: 2.25rem !important;
  max-width: 2.75rem !important;
  min-width: 2rem !important;
  padding: 6px 4px !important;
  text-align: center !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  font-size: 0.75rem !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.izc-widget .spec-table th.col-n {
  font-size: 0.65rem !important;
}

.izc-spec-n {
  display: inline-block;
  min-width: 1ch;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  color: var(--izc-muted);
}

.izc-widget .spec-table td.col-n .calc-hint,
.izc-widget .spec-table td.col-n strong {
  display: none !important;
}

.izc-row-pipe-ts td,
.izc-row-pipe-sub td {
  background: #fffbeb !important;
}

.izc-widget .actions {
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.izc-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.izc-btn-green {
  background: var(--izc-green);
  color: #fff;
}

.izc-btn-blue,
.izc-btn-generate {
  background: var(--izc-brand);
  color: #fff;
}

.izc-btn-green:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.28);
}

.izc-btn-blue:hover,
.izc-btn-generate:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(3, 146, 249, 0.28);
}

.izc-btn-generate:disabled {
  opacity: 0.65;
  cursor: wait;
}

.izc-btn-outline {
  background: #fff;
  color: var(--izc-brand);
  border: 2px solid var(--izc-brand);
  padding: 14px 28px;
  font-size: 1rem;
}

.izc-btn-outline:hover {
  background: #eff6ff;
  box-shadow: 0 4px 14px rgba(3, 146, 249, 0.2);
}

.izc-widget .hint {
  font-size: 0.75rem;
  color: var(--izc-muted);
  padding: 8px 16px 12px;
  margin: 0;
}

.izc-widget .table-wrap,
.izc-widget table {
  width: 100%;
}

.izc-widget .spec-table,
.izc-widget .sum-table {
  width: 100%;
  table-layout: auto;
}

.izc-widget .calc-hint {
  color: var(--izc-accent);
  font-size: 0.78rem;
  font-weight: 600;
}

.izc-hidden {
  display: none !important;
}

.izc-card.izc-visible,
#izc-block-sum.izc-visible,
#izc-block-spec.izc-visible {
  display: block !important;
}

/*
 * Референс «Вид калькулятора.jpg»:
 * цветная полоса — только .izc-card-title (синяя / жёлтая / красная);
 * таблица — белая, текст и цифры тёмные; кол-во в спецификации — красным.
 */
.izc-widget .izc-card {
  background: #fff;
}

.izc-widget .izc-card:first-of-type .izc-card-title {
  background: var(--izc-brand);
  color: #fff;
}

#izc-block-sum .izc-card-title--t2 {
  background: var(--izc-t2);
  color: #1a2030;
}

#izc-block-spec .izc-card-title--t3 {
  background: var(--izc-t3);
  color: #fff;
}

#izc-block-sum.izc-card,
#izc-block-spec.izc-card {
  padding: 0;
}

#izc-block-sum .izc-card-title--t2,
#izc-block-spec .izc-card-title--t3 {
  margin: 0;
}

#izc-block-sum .table-wrap,
#izc-block-spec .table-wrap {
  padding: 0;
  margin: 0;
  width: 100%;
}

#izc-block-sum .sum-table,
#izc-block-spec .spec-table {
  width: 100%;
  margin: 0;
  display: table;
  border-collapse: collapse;
  background: #fff;
}

.izc-widget .sum-table th,
.izc-widget .sum-table td,
.izc-widget .spec-table th,
.izc-widget .spec-table td {
  background: #fff !important;
  color: #1a2030 !important;
  border: 1px solid var(--izc-border) !important;
}

.izc-widget .sum-table th,
.izc-widget .spec-table th {
  background: #f8fafc !important;
  color: #5c6b82 !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.izc-widget .sum-table td {
  font-weight: 700;
  text-align: center;
}

.izc-widget .spec-table td.col-product {
  text-align: left;
}

.izc-widget .spec-table td.col-product strong {
  color: var(--izc-brand);
  font-weight: 700;
}

.izc-widget .spec-table .izc-qty strong {
  color: var(--izc-accent);
  font-weight: 700;
}

.izc-ref-ui .save-row {
  justify-content: center;
}

/* Сброс глобальных отступов сайта (style_3) внутри калькулятора */
.engineering-section .izc-widget table,
.engineering-section--embed .izc-widget table,
.izc-host .izc-widget table {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: transparent !important;
  display: table !important;
  border-collapse: collapse !important;
}

.engineering-section .izc-widget table th,
.engineering-section .izc-widget table td,
.engineering-section--embed .izc-widget table th,
.engineering-section--embed .izc-widget table td,
.izc-host .izc-widget table th,
.izc-host .izc-widget table td {
  display: table-cell !important;
}

.engineering-section .izc-widget #izc-block-sum .sum-table th,
.engineering-section .izc-widget #izc-block-sum .sum-table td,
.engineering-section .izc-widget #izc-block-spec .spec-table th,
.engineering-section .izc-widget #izc-block-spec .spec-table td,
.engineering-section--embed .izc-widget #izc-block-sum .sum-table th,
.engineering-section--embed .izc-widget #izc-block-sum .sum-table td,
.engineering-section--embed .izc-widget #izc-block-spec .spec-table th,
.engineering-section--embed .izc-widget #izc-block-spec .spec-table td {
  padding: 8px 10px !important;
}

.engineering-section .izc-widget .izc-card:first-of-type table th,
.engineering-section--embed .izc-widget .izc-card:first-of-type table th {
  color: var(--izc-muted) !important;
  background: var(--izc-surface-2) !important;
}

/* Сброс тёмных обёрток с продуктовых страниц (tvk-engineering-fx / tvk-tech-global) */
.izc-host--product,
.izc-host--download {
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.izc-widget .spec-table td,
.izc-widget .spec-table th {
  text-align: center;
  vertical-align: middle;
}

.izc-widget .spec-table td.col-product {
  text-align: left;
}

.izc-widget .note-box {
  margin: 12px 16px 16px;
  padding: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #92400e;
}

.izc-widget .save-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  padding: 16px;
}

.izc-widget .btn-remove,
.izc-widget .izc-pipe-del {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  line-height: 1;
}

.izc-widget .btn-add-line {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 4px;
}

.izc-row-actions {
  white-space: nowrap;
  text-align: center;
}

.izc-drum-note {
  font-size: 0.72rem;
  color: var(--izc-muted);
}

.profanity-warn {
  outline: 2px solid #dc2626;
  background: #fef2f2;
}

.profanity-tip {
  font-size: 0.72rem;
  color: #b91c1c;
  margin: -4px 0 8px;
  display: none;
}

.profanity-tip.visible {
  display: block;
}

.izc-pdf-busy {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.izc-pdf-busy.visible {
  display: flex;
}

.izc-print-doc {
  display: none;
}

/* Outreach / вставка на чужой сайт */
.izc-outreach-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 0 40px;
}

.izc-outreach-page .izc-widget {
  --izc-brand: #0392f9;
}

html.izc-outreach-html,
html.izc-outreach-html body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #e8f6ff 0%, #cfe9f8 48%, #b8daf2 100%);
  min-height: 100%;
  color: #0c2340;
}

.izc-outreach-page table {
  display: table !important;
  width: 100% !important;
  border-collapse: collapse !important;
}

.izc-outreach-page thead {
  display: table-header-group !important;
}

.izc-outreach-page tbody {
  display: table-row-group !important;
}

.izc-outreach-page tr {
  display: table-row !important;
}

.izc-outreach-page th,
.izc-outreach-page td {
  display: table-cell !important;
  visibility: visible !important;
}

/* —— Референс «Вид калькулятора.jpg» —— */
.izc-host--ref {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
  background: #fff;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Full-bleed только на главной (100vw ломает product/download в .content-stack) */
body.home-page .engineering-section .izc-host--ref {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: clamp(12px, 2vw, 24px);
  padding-right: clamp(12px, 2vw, 24px);
}

.engineering-section .izc-host--ref,
.engineering-section--embed .izc-host--ref {
  margin-top: 8px;
  margin-bottom: 24px;
}

/* Встраивание на страницах труб / download — как на главной, без тёмной рамки */
.engineering-section--embed,
.product-page .engineering-section,
.content-stack .engineering-section {
  width: 100%;
  margin: clamp(16px, 2.5vw, 24px) 0 clamp(20px, 3vw, 28px);
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.product-page .content-stack {
  overflow: visible;
}

.product-page .engineering-section .section-heading h2,
.content-stack .engineering-section .section-heading h2 {
  color: var(--text-primary, #f1f5f9);
}

.product-page .engineering-section .section-heading .eyebrow,
.content-stack .engineering-section .section-heading .eyebrow {
  color: var(--accent, #e53935);
}

.content-stack .engineering-section .izc-host--ref,
.product-page .engineering-section .izc-host--ref,
.download-page .izc-host--ref {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  background: transparent !important;
  min-height: 0;
}

.product-page .izc-host--ref:empty {
  min-height: 120px;
}


.engineering-section--embed .section-heading h2 {
  color: var(--text-primary, #f1f5f9);
}

.engineering-section--embed .section-heading .eyebrow {
  color: rgba(229, 57, 53, 0.95);
}

.engineering-section--embed .izc-section-heading {
  padding: 0 clamp(12px, 2vw, 20px);
  margin-bottom: 12px;
}

.izc-ref-ui .izc-wrap,
.izc-widget.izc-theme-classic .izc-wrap,
.izc-widget.izc-standalone.izc-theme-classic .izc-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(16px, 2vw, 24px);
  background: #fff !important;
  border: 1px solid var(--izc-border) !important;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.izc-widget.izc-theme-classic .izc-wrap::before,
.izc-widget.izc-standalone .izc-wrap::before {
  display: none !important;
}

.izc-widget.izc-theme-classic .izc-card table th,
.izc-widget.izc-standalone .izc-card table th {
  background: #f8fafc !important;
  color: #5c6b82 !important;
  border-color: var(--izc-border) !important;
}

.izc-widget.izc-theme-classic .izc-card table td,
.izc-widget.izc-standalone .izc-card table td {
  background: #fff !important;
  color: #1a2030 !important;
  border-color: var(--izc-border) !important;
}

.izc-widget.izc-theme-classic .izc-card table td input,
.izc-widget.izc-theme-classic .izc-card table td select,
.izc-widget.izc-standalone .izc-card table td input,
.izc-widget.izc-standalone .izc-card table td select {
  background: #fff !important;
  color: #1a2030 !important;
  border-color: var(--izc-brand) !important;
  box-shadow: none !important;
}

.izc-ref-ui .izc-card-title {
  background: var(--izc-brand);
  color: #fff;
}

.izc-ref-ui .izc-widget td input,
.izc-ref-ui .izc-widget td select {
  border-color: var(--izc-brand);
}

/* —— Full-width host (все страницы) —— */
.izc-host,
.izc-host--home,
.izc-host--product,
.izc-host--download {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.izc-premium .izc-wrap {
  width: 100%;
  max-width: none;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(12, 74, 110, 0.06), 0 12px 32px rgba(12, 74, 110, 0.08);
}

.izc-premium {
  --izc-brand: #0369a1;
  --izc-brand-deep: #0c4a6e;
}

.izc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.izc-premium .izc-mode-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 0;
  background: transparent;
  border: none;
}

.izc-segment {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  padding: 4px;
  border-radius: 10px;
  background: rgba(12, 74, 110, 0.06);
  border: 1px solid rgba(12, 74, 110, 0.12);
  gap: 0;
}

.izc-segment-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  border-radius: 8px;
  background: linear-gradient(135deg, #0c4a6e, #0369a1);
  box-shadow: 0 2px 8px rgba(3, 105, 161, 0.35);
  z-index: 0;
  pointer-events: none;
  width: 0;
  transform: translateX(0);
}

.izc-segment-btn {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  color: var(--izc-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.izc-segment-btn.is-active {
  color: #fff;
}

.izc-segment-btn:focus-visible {
  outline: 2px solid var(--izc-brand);
  outline-offset: 2px;
}

.izc-premium .izc-card {
  width: 100%;
}

.izc-premium .table-wrap {
  width: 100%;
  overflow-x: auto;
}

.izc-premium .spec-table tbody tr.izc-spec-row {
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.izc-premium .spec-table tbody tr.izc-spec-row:hover td {
  background: rgba(3, 105, 161, 0.06) !important;
  box-shadow: inset 3px 0 0 var(--izc-brand);
}

.izc-premium .sum-table td {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.izc-premium .izc-qty strong {
  font-variant-numeric: tabular-nums;
}

.izc-widget.izc-theme-light td input:focus,
.izc-widget.izc-theme-light td select:focus,
.izc-widget.izc-theme-light .inp-start:focus,
.izc-widget.izc-theme-light .inp-end:focus,
.izc-widget.izc-theme-light .inp-len:focus,
.izc-outreach-page .izc-widget.izc-theme-light td input:focus,
.izc-outreach-page .izc-widget.izc-theme-light td select:focus {
  background: #fff !important;
  color: #0f172a !important;
  border-color: #0369a1 !important;
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.18) !important;
}

.izc-widget.izc-theme-light .obj-field input:focus {
  background: #fff !important;
  color: #0f172a !important;
}

@media (max-width: 640px) {
  .izc-heading {
    font-size: 1rem;
  }
  .izc-mode-bar {
    gap: 12px;
  }
  .izc-segment {
    width: 100%;
    justify-content: stretch;
  }
  .izc-segment-btn {
    flex: 1;
    padding: 10px 8px;
    font-size: 0.75rem;
  }
}
