/* Thermal / Fan calculators — shared UI for multiple calculator pages */

.calc-tool {
  --brand: var(--primary-color);
  --brand-2: #0b3057;
  --primary: var(--primary-color);
  --primary-600: #124985;
  --bg: #f5f7fb;
  --card: #ffffff;
  --muted: #6b7785;
  --border: #e3e8ef;
  --shadow: 0 10px 30px rgba(14, 59, 110, 0.12);
  --success: #1aa36f;
  --warn: #d97706;
  max-width: 1080px;
  margin: 0 auto;
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #1a2b3b;
  box-sizing: border-box;
}

.calc-tool *,
.calc-tool *::before,
.calc-tool *::after {
  box-sizing: border-box;
}

.calc-tool .header-hero {
  text-align: center;
}

.calc-tool .header-hero h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 1.8rem;
  color: var(--brand-2);
}

.calc-tool .subtle,
.calc-tool .muted {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Wizard (Thermal Solutions) */
.calc-tool .wizard {
  margin: 10px auto 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
}

.calc-tool .wizard-track {
  position: relative;
  height: 6px;
  background: #eff3f7;
  border-radius: 6px;
  overflow: hidden;
  margin: 4px 2px 10px;
}

.calc-tool #wizardBar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color), #165ba3);
  transition: width 0.35s ease;
}

.calc-tool .wizard-steps {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.calc-tool .wizard-steps li {
  flex: 1;
  text-align: center;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 10px;
  color: #64748b;
  border: 1px dashed transparent;
  cursor: pointer;
  user-select: none;
}

.calc-tool .wizard-steps li.active {
  color: var(--primary-color);
  font-weight: 700;
  border-color: #b8c9db;
  background: #f0f5fa;
}

.calc-tool .wizard-steps li.done {
  color: var(--success);
}

.calc-tool .wizard-steps li.disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.2);
}

/* Cards & titles */
.calc-tool .card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 24px;
  margin-top: 18px;
}

.calc-tool .card .card {
  box-shadow: none;
  background: #f8fafc;
}

.calc-tool h2.section {
  color: var(--brand-2);
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.calc-tool h2.section:not(:first-child) {
  margin-top: 0.8rem;
}

.calc-tool h3 {
  color: var(--brand);
  margin: 14px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.calc-tool h2.section + label,
.calc-tool h2.section + .unit-row,
.calc-tool h2.section + .grid,
.calc-tool h2.section + .result {
  margin-top: 0;
}

.calc-tool .page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.calc-tool .page-title h2.section {
  margin-bottom: 0;
}

/* Form controls */
.calc-tool label {
  font-weight: 600;
  color: #334155;
  margin: 10px 0 6px;
  display: block;
}

.calc-tool input[type="number"],
.calc-tool input[type="text"],
.calc-tool select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  outline: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.calc-tool input:focus,
.calc-tool select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(14, 59, 110, 0.15);
}

.calc-tool .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 14px 18px;
}

.calc-tool .unit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.calc-tool .result {
  background: #f4f7fb;
  border: 1px dashed #c5d3e3;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  font-weight: 700;
  color: var(--primary-color);
}

/* Buttons */
.calc-tool .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.calc-tool .btn-row button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-height: 40px;
  min-width: 0;
  padding: 0 20px;
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-family: "Open Sans", sans-serif;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.calc-tool .btn-row button:hover,
.calc-tool .btn-row button:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  outline: none;
  filter: none;
}

.calc-tool .btn-row button.secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.calc-tool .btn-row button.secondary:hover,
.calc-tool .btn-row button.secondary:focus {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Email result compose panel */
.calc-email-panel {
  position: fixed;
  inset: 0;
  z-index: 10080;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.calc-email-panel.is-visible {
  display: flex;
}

.calc-email-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.calc-email-panel__dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(2, 22, 50, 0.28);
  padding: 20px 20px 16px;
  font-family: "Open Sans", system-ui, sans-serif;
}

.calc-email-panel__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.calc-email-panel__dialog h3 {
  margin: 0 36px 6px 0;
  font-size: 20px;
  color: #0b3057;
}

.calc-email-panel__hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: #64748b;
}

.calc-email-panel__dialog label {
  display: block;
  margin: 10px 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #475569;
}

.calc-email-panel__dialog input,
.calc-email-panel__dialog textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d0dae6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: #1e293b;
  background: #fff;
}

.calc-email-panel__dialog input[readonly] {
  background: #f8fafc;
}

.calc-email-panel__dialog textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.45;
  font-family: "Open Sans", system-ui, sans-serif;
}

.calc-email-panel__preview {
  min-height: 180px;
  max-height: min(42vh, 360px);
  overflow: auto;
  padding: 14px 16px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  line-height: 1.5;
  font-family: "Open Sans", system-ui, sans-serif;
  color: #334155;
}

.calc-email-panel__preview:focus {
  outline: 2px solid rgba(11, 48, 87, 0.25);
  outline-offset: 1px;
}

.calc-email-panel__preview strong {
  color: #0b3057;
}

.calc-email-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.calc-email-panel__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--primary-color, #0b3057);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.calc-email-panel__btn.primary {
  background: var(--primary-color, #0b3057);
  color: #fff;
}

.calc-email-panel__btn.secondary {
  background: #fff;
  color: var(--primary-color, #0b3057);
}

.calc-email-panel__btn.ghost {
  background: #f1f5f9;
  border-color: #d0dae6;
  color: #334155;
}

.calc-email-panel__status {
  min-height: 18px;
  margin: 10px 0 0;
  font-size: 13px;
  color: #0b3057;
  font-weight: 600;
}

body.calc-email-open {
  overflow: hidden;
}

@media (max-width: 575px) {
  .calc-email-panel__actions {
    flex-direction: column;
  }

  .calc-email-panel__btn {
    width: 100%;
  }
}

/* Tables */
.calc-tool table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.calc-tool th,
.calc-tool td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.calc-tool thead th {
  background: #f4f7fb;
  color: #0f2b47;
  font-size: 16px;
}

.calc-tool tbody tr:nth-child(even) {
  background: #fbfdff;
}

.calc-tool tbody tr:hover {
  background: #f0f5fa;
}

.calc-tool table tr:last-child td {
  border-bottom: none;
}

.calc-tool .tbl {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-variant-numeric: tabular-nums lining-nums;
}

.calc-tool .tbl th,
.calc-tool .tbl td {
  border-bottom: 1px solid var(--border);
  padding: 8px 10px;
  text-align: right;
}

.calc-tool .tbl th:first-child,
.calc-tool .tbl td:first-child {
  text-align: center;
}

.calc-tool .tbl th[style*="text-align:left"],
.calc-tool .tbl td[style*="text-align:left"] {
  text-align: left;
}

/* Notes, pills, solutions */
.calc-tool .note {
  font-size: 0.92rem;
  color: #134063;
  background: #f0f5fa;
  border: 1px solid #c5d3e3;
  border-radius: 10px;
  padding: 10px 12px;
}

.calc-tool .note.type4-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-weight: 700;
  color: var(--brand-2);
}

.calc-tool .note.type4-note .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.calc-tool .note.type4-note .icon path {
  fill: currentColor;
}

.calc-tool .pill {
  background: #f0f5fa;
  border: 1px solid #c5d3e3;
  color: var(--primary-color);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
}

.calc-tool .solution-card {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px 22px;
}

/* Result model/notes cells in solution tables only */
.calc-tool #solutionModels tbody td.solution-model-value,
.calc-tool #tecuModels tbody td.solution-model-value {
  font-size: 1.5em;
  font-weight: 700;
}

.calc-tool .solution-title {
  color: var(--brand-2);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  margin: 12px 0 8px;
}

.calc-tool .solution-card .solution-title {
  margin-top: 0;
}

.calc-tool .or-divider {
  text-align: center;
  margin: 24px 0;
  font-weight: 700;
  color: var(--brand-2);
}

/* Guide / diagram blocks */
.calc-tool .guide {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: center;
}

.calc-tool .guide figure {
  margin: 0;
}

.calc-tool .guide img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(14, 59, 110, 0.15);
  cursor: zoom-in;
}

.calc-tool .guide figcaption {
  font-size: 0.9rem;
  color: #4b5563;
  margin-top: 8px;
}

.calc-tool .guide ul {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  line-height: 1.7;
}

.calc-tool .config-diagram img {
  max-width: 100%;
  height: auto;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Tabs / page break */
.calc-tool .page2-tabs {
  position: sticky;
  bottom: 8px;
  align-self: flex-start;
  display: flex;
  gap: 10px;
}

.calc-tool .tab-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(14, 59, 110, 0.25);
}

.calc-tool .page-break {
  break-before: page;
}

/* Toast */
.calc-tool .toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-size: 0.95rem;
  z-index: 9999;
}

.calc-tool .toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.calc-tool .toast .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  margin-right: 8px;
  vertical-align: middle;
}

/* Solution popup (shared with product-selection-tool.css) */
.pst-popup__dialog.calc-popup-dialog {
  max-width: 860px;
  max-height: min(90vh, 900px);
}

.pst-popup__dialog.calc-popup-dialog.calc-tool {
  margin: 0;
  max-width: 860px;
}

.pst-popup__dialog.calc-popup-dialog .page-title {
  margin-bottom: 0.75rem;
  padding-right: 40px;
}

.pst-popup__dialog.calc-popup-dialog .card,
.pst-popup__dialog.calc-popup-dialog #step4 {
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.pst-popup__dialog.calc-popup-dialog .solution-card {
  box-shadow: none;
}

/* Hide number spinners in heat-load tables */
.calc-tool #tables input[type="number"]::-webkit-outer-spin-button,
.calc-tool #tables input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-tool #tables input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.calc-tool #partialInsulationCard {
  box-shadow: none;
  background: #f8fafc;
}

/* Heater & Hygrostat Need Calculator */
#hhc-tool .hhc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 14px 18px;
}

#hhc-tool .hhc-field-hint {
  display: block;
  margin-top: 6px;
}

#hhc-result-popup .hhc-kv {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 8px 16px;
}

#hhc-result-popup .hhc-kv li {
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

#hhc-result-popup .hhc-kv li strong {
  display: block;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 4px;
  font-weight: 700;
}

#hhc-result-popup .hhc-kv li > span {
  display: block;
  color: #0f172a;
}

#hhc-result-popup .hhc-kv li.hhc-highlight {
  grid-column: 1 / -1;
  border: 2px solid var(--primary-color);
  background: #f0f5fa;
}

#hhc-result-popup .hhc-kv li.hhc-highlight strong {
  font-size: 1rem;
  color: var(--brand-2);
}

#hhc-result-popup .hhc-kv li.hhc-highlight > span {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-2);
}

#hhc-result-popup .hhc-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  align-items: start;
}

#hhc-result-popup .hhc-labelsm {
  font-size: 0.8rem;
  color: #475569;
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

#hhc-result-popup .hhc-solution-pill {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  font-size: 1.15rem;
  font-weight: 800;
}

#hhc-result-popup .hhc-kv li.hhc-strategy span {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
}

@media (max-width: 980px) {
  #hhc-tool .hhc-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 720px) {
  #hhc-tool .hhc-grid,
  #hhc-result-popup .hhc-kv,
  #hhc-result-popup .hhc-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .calc-tool .guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .calc-tool .wizard-steps {
    flex-wrap: wrap;
  }

  .calc-tool .wizard-steps li {
    flex: 1 1 calc(50% - 8px);
    font-size: 0.85rem;
    padding: 8px;
  }

  .calc-tool .header-hero h2 {
    font-size: 1.4rem;
  }

  .calc-tool .btn-row {
    flex-direction: column;
  }

  .calc-tool .btn-row button {
    width: 100%;
  }

  .calc-tool .grid,
  .calc-tool .unit-row {
    grid-template-columns: 1fr;
  }

  .pst-popup__dialog.calc-popup-dialog {
    max-width: 100%;
  }
}

/* Thermal Solutions Calculator */
.calc-tool .calc-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.calc-tool .calc-table-wrap > table {
  min-width: 100%;
}

.calc-tool .tsc-load-table th:first-child,
.calc-tool .tsc-load-table td:first-child {
  width: 1%;
  white-space: nowrap;
}

.calc-tool .tsc-load-table input[type="number"] {
  min-width: 64px;
}

.calc-tool .config-diagram {
  margin: 16px 0 8px;
  text-align: center;
}

.calc-tool .config-diagram img {
  display: block;
  width: 100%;
  max-width: 1052px;
  margin: 0 auto;
}

.calc-tool .config-diagram-caption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.calc-tool .grid.tsc-insulation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.calc-tool .grid.tsc-insulation-grid label {
  margin: 0;
}

.calc-tool .grid.tsc-insulation-grid input {
  margin-top: 6px;
}

.calc-tool .tsc-option-row .tsc-option {
  flex: 1 1 0%;
  min-width: min(220px, 100%);
}

.calc-tool #solutionModels,
.calc-tool #tecuModels {
  table-layout: fixed;
}

.calc-tool #solutionModels td,
.calc-tool #tecuModels td {
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .calc-tool .grid.tsc-insulation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-tool #solutionModels tbody td.solution-model-value,
  .calc-tool #tecuModels tbody td.solution-model-value {
    font-size: 1.25em;
  }
}

@media (max-width: 575.98px) {
  .calc-tool .header-hero h2 {
    font-size: 1.3rem;
    margin-bottom: 4px;
  }

  .calc-tool .wizard {
    padding: 12px;
  }

  .calc-tool .wizard-steps li {
    font-size: 0.8rem;
    padding: 7px 6px;
  }

  .calc-tool .card {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .calc-tool .card .card {
    padding: 14px 12px;
  }

  .calc-tool h2.section {
    font-size: 1.1rem;
  }

  .calc-tool .result {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
  }

  .calc-tool .tsc-load-table th,
  .calc-tool .tsc-load-table td {
    padding: 6px;
    font-size: 0.85rem;
  }

  .calc-tool .tsc-load-table input[type="number"] {
    min-width: 44px;
    padding: 8px 6px;
  }

  .calc-tool .tsc-load-table.tsc-cols-4 th,
  .calc-tool .tsc-load-table.tsc-cols-4 td {
    padding: 6px 4px;
  }

  .calc-tool .tsc-load-table.tsc-cols-4 thead th {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .calc-tool .solution-card {
    padding: 14px 12px;
  }

  .calc-tool #solutionModels th,
  .calc-tool #solutionModels td,
  .calc-tool #tecuModels th,
  .calc-tool #tecuModels td {
    padding: 8px 6px;
  }

  .calc-tool #solutionModels thead th,
  .calc-tool #tecuModels thead th {
    font-size: 0.85rem;
  }

  .calc-tool #solutionModels tbody td.solution-model-value,
  .calc-tool #tecuModels tbody td.solution-model-value {
    font-size: 1.05em;
  }

  .calc-tool .note.type4-note {
    align-items: flex-start;
    text-align: left;
    font-size: 0.85rem;
  }
}

@media (max-width: 399.98px) {
  .calc-tool .grid.tsc-insulation-grid {
    grid-template-columns: 1fr;
  }

  .calc-tool .card {
    padding: 16px 10px;
  }

  .calc-tool .tsc-load-table.tsc-cols-4 td:first-child {
    font-size: 0.78rem;
  }

  .calc-tool .tsc-load-table.tsc-cols-4 input[type="number"] {
    min-width: 36px;
    padding: 7px 4px;
  }
}

@media print {
  @page {
    margin: 14mm 12mm;
  }

  html,
  body {
    background: #fff !important;
    color: #0f172a !important;
    height: auto !important;
    overflow: visible !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body.pst-popup-open {
    overflow: visible !important;
  }

  .calc-tool .no-print,
  .calc-tool .wizard,
  .product-page-nav,
  .site-utility-bar,
  .site-header,
  .footer-widgets,
  .site-footer,
  .preloader,
  .scroll-to-top,
  .primary-mobile-nav,
  .off-canvas-layer,
  .calc-tool .toast,
  #content,
  .pst-popup__backdrop,
  .pst-popup__close,
  .no-print {
    display: none !important;
  }

  #page {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  .pst-popup {
    display: none !important;
  }

  .pst-popup.is-visible {
    display: block !important;
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .pst-popup.is-visible .pst-popup__dialog.calc-popup-dialog,
  .pst-popup.is-visible .pst-popup__dialog.calc-tool {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    animation: none !important;
    transform: none !important;
  }

  .pst-print-brand {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0 0 16px;
    padding: 0 0 12px;
    border-bottom: 2px solid #0e3b6e;
  }

  .pst-print-logo {
    display: block !important;
    max-width: 200px !important;
    max-height: 52px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 8px !important;
    object-fit: contain;
  }

  .pst-popup.is-visible #step4 {
    display: block !important;
  }

  .pst-popup.is-visible .calc-tool .result,
  .pst-popup.is-visible .result {
    break-inside: avoid;
    page-break-inside: avoid;
    background: #f4f7fb !important;
    border: 1px solid #c5d3e3 !important;
  }

  .pst-popup.is-visible .calc-tool .solution-card,
  .pst-popup.is-visible .solution-card {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }

  .pst-popup.is-visible .calc-tool table,
  .pst-popup.is-visible table {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .pst-popup.is-visible .calc-tool .note,
  .pst-popup.is-visible .note {
    break-inside: avoid;
    page-break-inside: avoid;
    background: #f0f5fa !important;
    border: 1px solid #c5d3e3 !important;
  }

  .calc-tool .page-break {
    break-before: auto;
  }

  .calc-email-panel {
    display: none !important;
  }
}
