.ie-vc {
  display: grid;
  gap: 22px;
  --ie-vc-border: #dbe4f2;
  --ie-vc-border-strong: #bfd0e7;
  --ie-vc-text: #0f2744;
  --ie-vc-muted: #5c6d86;
  --ie-vc-surface: #ffffff;
  --ie-vc-background: #f4f8fd;
  --ie-vc-primary: #14558f;
  --ie-vc-primary-dark: #0f3f6b;
  --ie-vc-primary-soft: #edf5ff;
  --ie-vc-accent: #1b66a9;
  --ie-vc-accent-hover: #134d80;
  --ie-vc-danger: #b63a3a;
  --ie-vc-danger-border: #e3b4b4;
  --ie-vc-danger-surface: #fff5f5;
  --ie-vc-radius: 22px;
  --ie-vc-shadow: 0 8px 24px rgba(15, 39, 68, 0.08);
  --ie-vc-fs-100: 1rem;
  --ie-vc-fs-300: 1.12rem;
  --ie-vc-fs-400: 1.2rem;
  --ie-vc-fs-500: 1.36rem;
  --ie-vc-fs-600: 1.55rem;
  --ie-vc-fs-ui: clamp(1.3rem, 1.16rem + 0.4vw, 1.5rem);
  --ie-vc-fs-display: clamp(2.15rem, 2.9vw, 2.7rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ie-vc-text);
  box-shadow: none;
}

.ie-vc *,
.ie-vc *::before,
.ie-vc *::after {
  box-sizing: border-box;
}

.ie-vc__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--ie-vc-border);
  border-radius: var(--ie-vc-radius);
  background: #ffffff;
  box-shadow: var(--ie-vc-shadow);
  min-inline-size: 0;
}

.ie-vc__panel {
  width: 100%;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--ie-vc-border);
  border-radius: var(--ie-vc-radius);
  background: #ffffff;
  box-shadow: var(--ie-vc-shadow);
  min-inline-size: 0;
}



.ie-vc__title-form,
.ie-vc__result-title {
  padding: 0 14px 0 14px;
  width: fit-content;
  font-size: var(--ie-vc-fs-600);
  font-weight: 700;
  color: var(--ie-vc-text);
  border-bottom: none;
  margin-bottom: 0;
}

.ie-vc__radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.ie-vc__radio {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.ie-vc__radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ie-vc__radio-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 55px;
  padding: 0 28px;
  border: 1px solid var(--ie-vc-border-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  font-size: var(--ie-vc-fs-ui);
  font-weight: 700;
  color: var(--ie-vc-text);
  box-shadow: 0 10px 24px rgba(15, 39, 68, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.ie-vc__radio-label::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #8ca4c0;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ie-vc__radio input:checked+.ie-vc__radio-label {
  border-color: rgba(20, 85, 143, 0.25);
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  color: var(--ie-vc-primary-dark);
  box-shadow: 0 16px 28px rgba(20, 85, 143, 0.14);
  transform: translateY(-1px);
}

.ie-vc__radio input:checked+.ie-vc__radio-label::before {
  border-color: var(--ie-vc-primary);
  background: var(--ie-vc-primary);
}

.ie-vc__radio input:focus-visible+.ie-vc__radio-label {
  outline: 3px solid rgba(20, 85, 143, 0.16);
  outline-offset: 3px;
}

.ie-vc__panel--error {
  border-color: var(--ie-vc-danger-border);
  background: var(--ie-vc-danger-surface);
  box-shadow: 0 12px 28px rgba(182, 58, 58, 0.08);
}

.ie-vc__panel--level.ie-vc__panel--error .ie-vc__title-form,
.ie-vc__panel--level.ie-vc__panel--error .ie-vc__label,
.ie-vc__panel[data-ie-vc-test-panel].ie-vc__panel--error .ie-vc__title-form {
  color: var(--ie-vc-danger);
}

.ie-vc__panel--error .ie-vc__radio-label {
  border-color: #d99c9c;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(182, 58, 58, 0.08),
    0 10px 24px rgba(182, 58, 58, 0.08);
}

.ie-vc__panel--error .ie-vc__radio-label::before {
  border-color: #d68d8d;
}

.ie-vc__p-error {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  align-self: stretch;
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--ie-vc-danger-border);
  border-radius: 16px;
  background: #ffffff;
  font-size: var(--ie-vc-fs-500) !important;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ie-vc-danger);
}

.ie-vc__p-error::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--ie-vc-danger);
  color: #ffffff;
  font-size: var(--ie-vc-fs-500);
  font-weight: 800;
}

.ie-vc__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.45fr);
  gap: 0 24px;
  align-items: end;
}

.ie-vc__field {
  display: grid;
  gap: 12px;
}

.ie-vc__field--error .ie-vc__label {
  color: var(--ie-vc-danger);
}

.ie-vc__label {
  display: block;
  font-size: var(--ie-vc-fs-300);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ie-vc-muted);
}

.ie-vc__control {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 55px;
  padding: 0 24px;
  border: 1px solid var(--ie-vc-border);
  border-radius: 18px;
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 14px 28px rgba(15, 39, 68, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ie-vc__control:focus-within {
  border-color: rgba(20, 85, 143, 0.45);
  box-shadow:
    0 0 0 4px rgba(20, 85, 143, 0.08),
    0 18px 32px rgba(15, 39, 68, 0.08);
  transform: translateY(-1px);
}

.ie-vc__control--error,
.ie-vc__control--error:focus-within {
  border-color: var(--ie-vc-danger-border);
  box-shadow:
    0 0 0 4px rgba(182, 58, 58, 0.08),
    0 18px 32px rgba(182, 58, 58, 0.08);
}

.ie-vc__input {
  flex: 1 1 auto;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  font-size: var(--ie-vc-fs-display);
  font-weight: 700;
  line-height: 1;
  color: var(--ie-vc-text);
  appearance: textfield;
}

.ie-vc__input:focus {
  outline: none;
}

.ie-vc__time {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ie-vc__time-field {
  display: grid;
  gap: 8px;
}

.ie-vc__control--time {
  min-width: 100%;
}

[data-ie-vc-field-error] {
  grid-column: 1 / -1;
}

.ie-vc__p-error[hidden] {
  display: none;
}

.ie-vc__suffix {
  flex: 0 0 auto;
  padding-left: 14px;
  border-left: 1px solid #e1e9f3;
  font-size: var(--ie-vc-fs-300);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ie-vc-primary);
}

.ie-vc__submit {
  width: fit-content;
  min-height: 66px !important;
  padding: 16px 28px !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: linear-gradient(135deg, var(--ie-vc-primary-dark) 0%, var(--ie-vc-accent) 100%) !important;
  color: #ffffff;
  font-size: var(--ie-vc-fs-300);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(15, 63, 107, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ie-vc__submit:hover,
.ie-vc__submit:focus {
  filter: brightness(1.02);
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(15, 63, 107, 0.3);
}

.ie-vc__result {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid #cce0f2;
  border-radius: 22px;
  background: #f7fbff;
}

.ie-vc__result[data-ie-vc-state="error"] {
  border-color: #f0c8c8;
  background: #fff6f6;
}


.ie-vc__result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.ie-vc__result-metric {
  padding: 18px;
  border: 1px solid var(--ie-vc-border);
  border-radius: 18px;
  background: #ffffff;
}

.ie-vc__result-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: var(--ie-vc-fs-display);
  font-weight: 800;
  color: var(--ie-vc-primary-dark);
}

.ie-vc__result-unit {
  font-size: var(--ie-vc-fs-500);
  font-weight: 700;
  color: var(--ie-vc-primary);
}

.ie-vc__result-note {
  margin: 16px 0 0;
  font-size: var(--ie-vc-fs-500);
  line-height: 1.5;
  color: var(--ie-vc-text);
}

.ie-vc__result-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.ie-vc__pdf-button {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--ie-vc-primary);
  border-radius: 16px;
  background: #ffffff;
  color: var(--ie-vc-primary-dark);
  font-size: var(--ie-vc-fs-500);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.ie-vc__pdf-button:hover,
.ie-vc__pdf-button:focus {
  background: var(--ie-vc-primary);
  color: #ffffff;
}

.ie-vc__pdf-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #ffffff;
  color: var(--ie-vc-primary-dark);
}

.ie-vc__result-section {
  margin-top: 22px;
}

.ie-vc__result-subtitle {
  margin: 0 0 14px;
  font-size: var(--ie-vc-fs-400);
  font-weight: 700;
  color: var(--ie-vc-primary-dark);
}

.ie-vc__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ie-vc-border);
  border-radius: 18px;
  background: #ffffff;
}

.ie-vc__zones-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.ie-vc__zones-table tr > :nth-child(2),
.ie-vc__zones-table tr > :nth-child(3) {
  padding-left: 0 !important;
}

.ie-vc__zones-table th,
.ie-vc__zones-table td {
  padding: 14px 16px !important;
  border-bottom: 1px solid #e4ebf5;
  text-align: left;
  font-size: var(--ie-vc-fs-500);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ie-vc__zones-table th {
  font-size: var(--ie-vc-fs-300);
  font-weight: 800;
  text-transform: uppercase;
  background: #f8fbff;
  letter-spacing: 0.08em;
  color: var(--ie-vc-muted);
}

.ie-vc__zones-table tbody tr:last-child td {
  border-bottom: 0;
}

.ie-vc__zones-table tbody tr.ie-vc__zones-row--colored td {
  background: var(--ie-vc-zone-row-color, #ffffff);
  border-bottom-color: var(--ie-vc-zone-row-color, #e4ebf5);
}

.ie-vc__zones-table tbody tr.ie-vc__zones-row--colored td:first-child {
  font-weight: 800;
  color: var(--ie-vc-text);
}

.ie-vc__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;
}

.post-password-form{
  text-align: center;
    max-width: 800px;
    margin: 40px auto;
}

.post-password-form label{
display: flex;
justify-content: center;
gap: 12px;
margin: 20px 0;
}
.post-password-form label input{
width: 80% !important;
}
@media (max-width: 767px) {
  .ie-vc {
    padding: 0;
    border-radius: 0;
    --ie-vc-fs-ui: var(--ie-vc-fs-400);
    --ie-vc-fs-display: 1.55rem;
  }

  .ie-vc__panel {
    padding: 20px 18px;
  }

  .ie-vc__title-form {
    font-size: var(--ie-vc-fs-400);
  }

  .ie-vc__grid,
  .ie-vc__time,
  .ie-vc__result-grid {
    grid-template-columns: 1fr;
  }

  .ie-vc__radio-group {
    gap: 10px;
  }

  .ie-vc__radio,
  .ie-vc__radio-label {
    width: 100%;
  }

  .ie-vc__result-actions {
    justify-content: stretch;
  }

  .ie-vc__pdf-button {
    width: 100%;
  }

  .ie-vc__control,
  .ie-vc__control--time {
    min-height: 68px;
  }

  .ie-vc__submit,
  .ie-vc__suffix {
    font-size: var(--ie-vc-fs-100);
  }
  .post-password-form label{
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
gap: 12px;
margin-bottom: 20px;
}
}
