.sst-venting-calculator,
.sst-venting-home-entry {
  --sst-venting-ink: #183348;
  --sst-venting-blue: #0b6e9a;
  --sst-venting-border: #d7e5ec;
  color: var(--sst-venting-ink);
  box-sizing: border-box;
}

.sst-venting-calculator *,
.sst-venting-home-entry * {
  box-sizing: border-box;
}

.sst-venting-calculator {
  max-width: 1180px;
  margin: 0 auto 56px;
  padding: 0 18px;
}

.sst-venting-breadcrumb {
  margin: 0 0 16px;
  color: #577082;
  font-size: 13px;
}

.sst-venting-breadcrumb a {
  color: var(--sst-venting-blue);
  text-decoration: none;
}

.sst-venting-breadcrumb a:hover,
.sst-venting-breadcrumb a:focus-visible {
  text-decoration: underline;
}

.sst-venting-hero {
  position: relative;
  isolation: isolate;
  min-height: 260px;
  padding: 46px clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--sst-venting-ink);
  background: #eaf4f8;
  border-radius: 14px;
}

.sst-venting-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .88) 35%, rgba(255, 255, 255, .54) 55%, rgba(255, 255, 255, 0) 82%);
  content: "";
}

.sst-venting-hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
}

.sst-venting-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sst-venting-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
}

.sst-venting-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.sst-venting-title {
  margin: 0 0 12px;
  color: inherit;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
}

.sst-venting-intro {
  max-width: 580px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.sst-venting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .8fr);
  gap: 24px;
  margin-top: 26px;
}

.sst-venting-technical {
  margin-top: 24px;
}

.sst-venting-technical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sst-venting-info-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--sst-venting-border);
  border-radius: 10px;
  background: #fff;
}

.sst-venting-info-card h3 {
  margin: 0 0 10px;
  color: var(--sst-venting-ink);
  font-size: 17px;
  line-height: 1.45;
}

.sst-venting-info-card p {
  margin: 0;
  color: #415a69;
  font-size: 14px;
  line-height: 1.8;
}

.sst-venting-form,
.sst-venting-results,
.sst-venting-notes {
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--sst-venting-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(17, 49, 67, .06);
}

.sst-venting-section-title {
  margin: 0 0 20px;
  color: var(--sst-venting-ink);
  font-size: 22px;
  line-height: 1.3;
}

.sst-venting-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sst-venting-field {
  min-width: 0;
}

.sst-venting-label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
}

.sst-venting-unit {
  color: #577082;
  font-weight: 400;
}

.sst-venting-input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 8px 12px;
  border: 1px solid #a9c0cd;
  border-radius: 6px;
  background: #fff;
  color: var(--sst-venting-ink);
  font-size: 16px;
}

.sst-venting-input:focus-visible,
.sst-venting-button:focus-visible,
.sst-venting-reset:focus-visible,
.sst-venting-home-link:focus-visible,
.sst-venting-header-link:focus-visible,
.sst-venting-consult-link:focus-visible {
  outline: 3px solid #f0ad47;
  outline-offset: 2px;
}

.sst-venting-hint {
  margin: 18px 0;
  color: #587181;
  font-size: 13px;
  line-height: 1.6;
}

.sst-venting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sst-venting-button,
.sst-venting-reset {
  min-height: 44px;
  margin: 0;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.sst-venting-button {
  border: 1px solid var(--sst-venting-blue);
  background: var(--sst-venting-blue);
  color: #fff;
}

.sst-venting-reset {
  border: 1px solid var(--sst-venting-border);
  background: #fff;
  color: var(--sst-venting-ink);
}

.sst-venting-button:disabled,
.sst-venting-reset:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.sst-venting-status {
  margin: 0 0 16px;
  color: #577082;
  line-height: 1.6;
}

.sst-venting-result-list {
  margin: 0;
}

.sst-venting-result {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--sst-venting-border);
}

.sst-venting-result dt,
.sst-venting-result dd {
  margin: 0;
}

.sst-venting-result dd {
  color: var(--sst-venting-blue);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sst-venting-result-primary dd {
  font-size: 22px;
}

.sst-venting-notes {
  margin-top: 24px;
  box-shadow: none;
}

.sst-venting-notes p {
  margin: 0 0 12px;
  color: #415a69;
  line-height: 1.8;
}

.sst-venting-notes p:last-child {
  margin-bottom: 0;
}

.sst-venting-consult {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  padding: 24px clamp(20px, 3vw, 32px);
  border-radius: 12px;
  background: #eaf4f8;
}

.sst-venting-consult .sst-venting-section-title {
  margin-bottom: 8px;
}

.sst-venting-consult p {
  margin: 0;
  color: #415a69;
  line-height: 1.7;
}

.sst-venting-consult-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--sst-venting-blue);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.sst-venting-home-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1180px;
  margin: 32px auto;
  padding: 28px clamp(24px, 4vw, 48px);
  border-radius: 12px;
  background: #eaf4f8;
}

.sst-venting-home-copy {
  flex: 1 1 260px;
}

.sst-venting-home-icon {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--sst-venting-blue);
}

.sst-venting-home-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sst-venting-home-title {
  margin: 0 0 8px;
  color: var(--sst-venting-ink);
  font-size: 27px;
}

.sst-venting-home-description {
  margin: 0;
  color: #415a69;
  line-height: 1.7;
}

.sst-venting-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 6px;
  background: var(--sst-venting-blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.sst-venting-header-item {
  min-width: 0;
  max-width: 100%;
}

.sst-venting-header-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 44px;
  padding: 7px 9px;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.sst-venting-calculator [hidden] {
  display: none !important;
}

.sst-venting-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 26px 0 18px;
}

.sst-venting-tab {
  min-width: 0;
  min-height: 44px;
  padding: 12px;
  margin: 0;
  border: 1px solid var(--sst-venting-border);
  border-radius: 6px;
  background: #fff;
  color: var(--sst-venting-ink);
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
  cursor: pointer;
}

.sst-venting-tab[aria-selected="true"] {
  background: var(--sst-venting-blue);
  color: #fff;
  border-color: var(--sst-venting-blue);
}

.sst-venting-tab:focus-visible,
.sst-venting-panel:focus-visible {
  outline: 3px solid #f0ad47;
  outline-offset: 2px;
}

.sst-venting-panel {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sst-venting-converter {
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid var(--sst-venting-border);
  border-radius: 12px;
  background: #fff;
}

.sst-venting-converter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.sst-venting-converter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.sst-venting-converter-row .sst-venting-label {
  grid-column: 1 / -1;
  margin: 0;
}

.sst-venting-converter-row .sst-venting-button {
  padding: 8px 12px;
}

@media (max-width: 900px) {
  .sst-venting-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sst-venting-tabs,
  .sst-venting-converter-grid,
  .sst-venting-converter-row,
  .sst-venting-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .sst-venting-panel .sst-venting-button,
  .sst-venting-panel .sst-venting-reset {
    width: 100%;
  }

  .sst-venting-technical-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sst-venting-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sst-venting-hero {
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #f0f7fa;
  }

  .sst-venting-hero::after {
    display: none;
  }

  .sst-venting-hero-media {
    position: relative;
    z-index: 0;
    inset: auto;
    flex: 0 0 180px;
    height: 180px;
  }

  .sst-venting-hero-media img {
    object-position: right center;
  }

  .sst-venting-hero-copy {
    padding: 22px 22px 24px;
  }

  .sst-venting-title {
    font-size: clamp(27px, 7vw, 36px);
  }

  .sst-venting-intro {
    font-size: 14px;
  }

  .sst-venting-header-link {
    padding: 6px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .sst-venting-home-entry {
    gap: 14px;
    padding: 22px 18px;
  }

  .sst-venting-home-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .sst-venting-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .sst-venting-calculator {
    padding: 0 12px;
  }

  .sst-venting-result {
    align-items: flex-start;
  }
}
