.osp-tz3,
.osp-tz3 * { box-sizing: border-box; }

.osp-tz3 {
  --tz-ink: #202833;
  --tz-blue: #264795;
  --tz-sky: #2f95d9;
  --tz-gold: #e3a412;
  --tz-line: #d8e0e9;
  --tz-muted: #5c6976;
  color: var(--tz-ink);
  font-family: "DINPro", Arial, sans-serif;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto 55px;
  font-size: 16px;
  line-height: 1.45;
}

.osp-tz3 h2 {
  font-size: 27px;
  line-height: 1.15;
  font-weight: 700;
  margin: 10px 0 0;
  color: var(--tz-ink);
}

.osp-tz3 p { margin: 0; }

.osp-tz3-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--tz-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.osp-tz3-kicker span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: none;
  color: #fff;
  background: var(--tz-blue);
  font-size: 11px;
  letter-spacing: 0;
}

.osp-tz3-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px;
  align-items: stretch;
}

.osp-tz3-parameters,
.osp-tz3-visual,
.osp-tz3-results,
.osp-tz3-contact {
  min-width: 0;
  border: 1px solid var(--tz-line);
  border-radius: 6px;
}

.osp-tz3-parameters { padding: 28px; background: #fff; }
.osp-tz3-intro { color: var(--tz-muted); margin-top: 12px !important; max-width: 52ch; }
.osp-tz3-fields-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 27px; }
.osp-tz3-section-label + .osp-tz3-fields-two { margin-top: 0; }
.osp-tz3-section-label { border-top: 1px solid var(--tz-line); padding-top: 18px; margin: 24px 0 14px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--tz-blue); }
.osp-tz3-dimensions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.osp-tz3-field { min-width: 0; font-size: 14px; line-height: 1.35; font-weight: 700; }
.osp-tz3 .osp-tz3-field input[type=text],
.osp-tz3 .osp-tz3-field input[type=tel],
.osp-tz3 .osp-tz3-field input[type=email],
.osp-tz3 .osp-tz3-field select {
  display: block;
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 1px solid #b8c5d2;
  border-radius: 4px;
  background: #fff;
  color: var(--tz-ink);
  padding: 9px 12px;
  margin: 7px 0 0;
  font: 500 15px/1.3 "DINPro", Arial, sans-serif;
  transition: border-color .16s, box-shadow .16s;
}
.osp-tz3 .osp-tz3-field input:focus,
.osp-tz3 .osp-tz3-field select:focus { border-color: var(--tz-blue); box-shadow: 0 0 0 3px rgba(38, 71, 149, .13); outline: none; }
.osp-tz3 .osp-tz3-field input.is-invalid { border-color: #b84b41; }

.osp-tz3-choice { display: flex; flex-wrap: wrap; gap: 7px; border: 0; padding: 0; margin: 0 0 13px; min-width: 0; }
.osp-tz3-choice legend { display: block; width: 100%; padding: 0; margin-bottom: 7px; font-size: 14px; font-weight: 700; }
.osp-tz3-choice label { position: relative; display: block; cursor: pointer; }
.osp-tz3-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.osp-tz3-choice span { display: block; min-width: 112px; text-align: center; border: 1px solid #b8c5d2; border-radius: 4px; background: #fff; color: var(--tz-ink); padding: 10px 12px; font-size: 14px; font-weight: 600; transition: background .16s, border-color .16s, color .16s; }
.osp-tz3-choice input:checked + span { background: var(--tz-blue); border-color: var(--tz-blue); color: #fff; }
.osp-tz3-choice input:focus-visible + span { outline: 3px solid rgba(47, 149, 217, .35); outline-offset: 2px; }
.osp-tz3-footnote { color: var(--tz-muted); font-size: 13px; line-height: 1.5; padding-top: 3px; }
.osp-tz3-work-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.osp-tz3-work-list label { display: flex; align-items: center; gap: 12px; min-height: 39px; border-top: 1px solid var(--tz-line); cursor: pointer; font-size: 14px; font-weight: 500; }
.osp-tz3-work-list label:first-child { border-top: 0; }
.osp-tz3-work-list input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--tz-blue); }
.osp-tz3-work-list input:focus-visible { outline: 3px solid rgba(47, 149, 217, .35); outline-offset: 2px; }

.osp-tz3-visual { display: flex; flex-direction: column; align-self: start; position: sticky; top: 108px; overflow: hidden; background: #f6f9fc; }
.osp-tz3-visual-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; padding: 28px 28px 18px; }
.osp-tz3-view-tabs { display: flex; flex-wrap: wrap; gap: 3px; background: #e8eef5; padding: 3px; border-radius: 5px; }
.osp-tz3-view-tabs button { min-height: 36px; border: 0; border-radius: 3px; background: transparent; color: var(--tz-muted); padding: 6px 10px; cursor: pointer; font: 700 13px "DINPro", Arial, sans-serif; }
.osp-tz3-view-tabs button:hover { color: var(--tz-blue); }
.osp-tz3-view-tabs button.is-active { color: #fff; background: var(--tz-blue); }
.osp-tz3-view-tabs button:focus-visible { outline: 3px solid var(--tz-sky); outline-offset: 2px; }
.osp-tz3-drawing-wrap { display: flex; flex: 1 1 auto; align-items: center; min-height: 350px; margin: 0 18px; border: 1px solid #dce6ee; background-color: #fff; background-image: linear-gradient(#eaf0f5 1px, transparent 1px), linear-gradient(90deg, #eaf0f5 1px, transparent 1px); background-size: 22px 22px; overflow: hidden; }
.osp-tz3-drawing-wrap svg { display: block; width: 100%; height: auto; max-height: 440px; aspect-ratio: 680 / 420; }
.osp-tz3-visual-data { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 17px 28px 18px; color: var(--tz-blue); font-size: 15px; font-weight: 700; }
.osp-tz3-visual-scope { margin-top: -8px; padding: 0 28px 20px; color: var(--tz-muted); font-size: 12px; line-height: 1.4; }
.osp-tz3-visual-note { padding: 0 28px 21px; color: var(--tz-muted); font-size: 12px; }

.osp-tz3-results { padding: 27px 28px 24px; background: #f2f6fa; margin-top: 20px; }
.osp-tz3-price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 22px; background: #fff; border: 1px solid var(--tz-line); border-radius: 4px; overflow: hidden; }
.osp-tz3-price { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 120px; padding: 19px 18px; border-right: 1px solid var(--tz-line); }
.osp-tz3-price:last-child { border-right: 0; }
.osp-tz3-price > span { color: var(--tz-muted); font-size: 13px; line-height: 1.3; }
.osp-tz3-price strong { display: block; color: var(--tz-ink); font-size: 25px; line-height: 1.15; overflow-wrap: anywhere; }
.osp-tz3-price strong small { font-size: 15px; }
.osp-tz3-price > small { color: var(--tz-muted); font-size: 11px; line-height: 1.35; }
.osp-tz3-price-total { background: var(--tz-blue); }
.osp-tz3-price-total > span,
.osp-tz3-price-total strong,
.osp-tz3-price-total > small { color: #fff; }
.osp-tz3-results-note { margin-top: 14px !important; color: var(--tz-muted); font-size: 12px; }

.osp-tz3-contact { padding: 28px; margin-top: 20px; background: #fff; }
.osp-tz3-contact-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px 28px; }
.osp-tz3-contact-head > p { max-width: 420px; color: var(--tz-muted); font-size: 14px; }
.osp-tz3-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; margin-top: 25px; }
.osp-tz3-consent { display: flex; align-items: flex-start; gap: 11px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--tz-line); color: var(--tz-ink); font-size: 14px; line-height: 1.4; }
.osp-tz3-consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--tz-blue); cursor: pointer; }
.osp-tz3-consent input:focus-visible { outline: 3px solid rgba(47, 149, 217, .35); outline-offset: 2px; }
.osp-tz3-consent label { cursor: pointer; }
.osp-tz3-consent a { color: var(--tz-blue); text-decoration: underline; }
.osp-tz3-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 25px; margin-top: 18px; }
.osp-tz3 .osp-tz3-submit input[type=submit] { display: inline-block; width: auto; min-height: 48px; margin: 0; padding: 11px 22px; border: 0; border-radius: 4px; background: var(--tz-blue); color: #fff; font: 700 15px "DINPro", Arial, sans-serif; white-space: normal; text-align: center; }
.osp-tz3 .osp-tz3-submit input[type=submit]:hover { background: #1c3673; }
.osp-tz3-submit-row > p { flex: 1 1 250px; max-width: 540px; color: var(--tz-muted); font-size: 12px; }
.osp-tz3-submit-row a { color: var(--tz-blue); text-decoration: underline; }

@media (max-width: 1100px) {
  .osp-tz3-grid { grid-template-columns: minmax(0, 1fr); }
  .osp-tz3-visual { position: static; }
  .osp-tz3-drawing-wrap { min-height: 300px; }
  .osp-tz3-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .osp-tz3-price:nth-child(2) { border-right: 0; }
  .osp-tz3-price:nth-child(-n+2) { border-bottom: 1px solid var(--tz-line); }
}

@media (max-width: 680px) {
  .osp-tz3 { margin-bottom: 35px; }
  .osp-tz3 h2 { font-size: 22px; }
  .osp-tz3-parameters, .osp-tz3-contact, .osp-tz3-results { padding: 20px 16px; }
  .osp-tz3-visual-heading { padding: 20px 16px 16px; }
  .osp-tz3-fields-two, .osp-tz3-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .osp-tz3-dimensions { gap: 8px; }
  .osp-tz3-dimensions .osp-tz3-field { font-size: 12px; }
  .osp-tz3 .osp-tz3-dimensions input[type=text] { padding: 7px 8px; font-size: 14px; }
  .osp-tz3-drawing-wrap { min-height: 220px; margin: 0 10px; }
  .osp-tz3-visual-data { padding: 14px 16px 18px; }
  .osp-tz3-visual-scope { padding: 0 16px 18px; }
  .osp-tz3-visual-note { padding: 0 16px 18px; }
  .osp-tz3-price { min-height: 105px; padding: 15px 12px; }
  .osp-tz3-price strong { font-size: 20px; }
}

@media (max-width: 400px) {
  .osp-tz3-dimensions { grid-template-columns: minmax(0, 1fr); }
  .osp-tz3-visual-data { flex-direction: column; align-items: flex-start; }
  .osp-tz3-price-grid { grid-template-columns: minmax(0, 1fr); }
  .osp-tz3-price { border-right: 0; border-bottom: 1px solid var(--tz-line); }
  .osp-tz3-price:last-child { border-bottom: 0; }
}
