/* Target Heart Rate Calculator - Pixel-perfect Theme */

.thrc-page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 15px 40px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
}

/* TOP BAR: BREADCRUMBS & PRINT / SAVED */
.thrc-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
}

.thrc-breadcrumbs {
  color: #0844a4;
}

.thrc-breadcrumbs a {
  color: #0844a4;
  text-decoration: none;
}

.thrc-breadcrumbs a:hover {
  text-decoration: underline;
}

.thrc-breadcrumbs .sep {
  color: #888888;
  margin: 0 4px;
}

.thrc-breadcrumbs .current {
  color: #555555;
}

.thrc-top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.thrc-saved-btn {
  background: none;
  border: none;
  color: #0844a4;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.thrc-saved-btn:hover {
  text-decoration: underline;
}

.thrc-saved-badge {
  font-weight: bold;
}

.thrc-print-link {
  color: #0844a4;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}

.thrc-print-link:hover {
  text-decoration: underline;
}

/* MAIN LAYOUT: TWO COLUMNS */
.thrc-main-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 25px;
  align-items: start;
}

.thrc-content-col {
  min-width: 0;
}

.thrc-page-title {
  color: #003366;
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 16px 0;
  line-height: 1.25;
}

/* CALCULATOR BOX - EXACT CLONE OF IMAGE 1 */
.thrc-calc-box {
  background-color: #f7f7f7;
  border: 1px solid #d6d6d6;
  border-radius: 3px;
  padding: 16px 20px 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.thrc-form-table {
  width: 100%;
  border-collapse: collapse;
}

.thrc-form-table td {
  padding: 7px 6px;
  vertical-align: middle;
  font-size: 13.5px;
}

.thrc-label-col {
  width: 170px;
  color: #333333;
  white-space: nowrap;
}

.thrc-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  background-color: #e0e0e0;
  color: #555555;
  border-radius: 50%;
  font-size: 10.5px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 3px;
  text-decoration: none;
  border: 1px solid #c0c0c0;
  vertical-align: middle;
}

.thrc-help-btn:hover {
  background-color: #003366;
  color: #ffffff;
  border-color: #003366;
}

/* Radio Group */
.thrc-radio-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.thrc-radio-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 13.5px;
  color: #333333;
}

.thrc-radio-item input[type="radio"] {
  margin: 0;
  cursor: pointer;
}

/* Inputs */
.thrc-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.thrc-input-text {
  width: 85px;
  height: 27px;
  padding: 2px 6px;
  font-size: 13.5px;
  border: 1px solid #7f9db9;
  border-radius: 2px;
  background-color: #ffffff;
  color: #000000;
  outline: none;
  box-sizing: border-box;
}

.thrc-input-text:focus {
  border-color: #003366;
  box-shadow: 0 0 3px rgba(0, 51, 102, 0.4);
}

.thrc-unit-label {
  color: #444444;
  font-size: 13px;
}

.thrc-optional-hint {
  color: #666666;
  font-size: 12.5px;
  margin-left: 2px;
}

/* Settings Toggle */
.thrc-settings-row {
  text-align: center;
  padding: 10px 0 6px;
}

.thrc-settings-toggle {
  background: none;
  border: none;
  color: #0844a4;
  font-size: 13.5px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.thrc-settings-toggle:hover {
  color: #002d5a;
}

.thrc-settings-panel {
  display: none;
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  padding: 12px 16px;
  margin: 8px 0 14px;
}

.thrc-settings-panel.open {
  display: block;
}

.thrc-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.thrc-settings-item label {
  display: block;
  font-size: 12.5px;
  font-weight: bold;
  color: #444444;
  margin-bottom: 4px;
}

.thrc-settings-item select {
  width: 100%;
  height: 28px;
  font-size: 12.5px;
  border: 1px solid #cccccc;
  border-radius: 2px;
  padding: 2px 6px;
  background-color: #ffffff;
}

/* Buttons Row */
.thrc-buttons-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.thrc-btn-calc {
  background: #3e8e41;
  color: #ffffff;
  border: 1px solid #2d6b2f;
  border-radius: 3px;
  padding: 6px 18px 6px 14px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: background 0.15s ease;
}

.thrc-btn-calc:hover {
  background: #347637;
}

.thrc-btn-calc .thrc-play-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #ffffff;
}

.thrc-btn-clear {
  background: #999999;
  color: #ffffff;
  border: 1px solid #777777;
  border-radius: 3px;
  padding: 6px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.thrc-btn-clear:hover {
  background: #808080;
}

/* RESULTS SECTION */
.thrc-results-card {
  background-color: #ffffff;
  border: 1px solid #c9daf8;
  border-top: 4px solid #003366;
  border-radius: 4px;
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.thrc-results-title {
  color: #003366;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.thrc-results-actions {
  display: flex;
  gap: 10px;
}

.thrc-action-pill {
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 3px 10px;
  font-size: 12px;
  color: #0844a4;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.thrc-action-pill:hover {
  background-color: #e2e8f0;
}

/* Primary Highlight Box */
.thrc-summary-callout {
  background-color: #eef7ee;
  border: 1px solid #c3e6c5;
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.thrc-summary-callout .thrc-main-stat {
  font-size: 16px;
  color: #1b5e20;
  margin-bottom: 6px;
}

.thrc-summary-callout .thrc-main-stat strong {
  font-size: 20px;
  color: #0f3e13;
}

.thrc-summary-callout .thrc-target-stat {
  font-size: 14.5px;
  color: #2e7d32;
  margin-bottom: 4px;
}

.thrc-summary-callout .thrc-target-stat strong {
  font-size: 17px;
  color: #1b5e20;
}

.thrc-summary-sub {
  font-size: 13px;
  color: #555555;
  margin-top: 4px;
}

/* VISUAL HEART RATE ZONE METER */
.thrc-gauge-wrapper {
  margin: 20px 0 16px;
}

.thrc-gauge-title {
  font-size: 13px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.thrc-zone-bar-track {
  display: flex;
  height: 26px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
}

.thrc-zone-bar-seg {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: opacity 0.2s;
  position: relative;
}

.thrc-zone-bar-seg:hover {
  opacity: 0.9;
}

.thrc-zone-z1 { background-color: #64b5f6; } /* Zone 1: Light Blue */
.thrc-zone-z2 { background-color: #4caf50; } /* Zone 2: Green */
.thrc-zone-z3 { background-color: #fbc02d; color: #333333 !important; text-shadow: none !important; } /* Zone 3: Yellow */
.thrc-zone-z4 { background-color: #ff9800; } /* Zone 4: Orange */
.thrc-zone-z5 { background-color: #f44336; } /* Zone 5: Red */

.thrc-gauge-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11.5px;
  color: #666666;
}

/* Detailed Zones Table */
.thrc-table-wrap {
  overflow-x: auto;
  margin: 16px 0 18px;
}

.thrc-zones-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.thrc-zones-table th {
  background-color: #e9edf2;
  color: #003366;
  font-weight: bold;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  text-align: left;
}

.thrc-zones-table td {
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  color: #333333;
}

.thrc-zones-table tr:nth-child(even) {
  background-color: #f9fbfd;
}

.thrc-zone-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: bold;
  color: #ffffff;
}

.thrc-zone-tag.z1 { background-color: #1976d2; }
.thrc-zone-tag.z2 { background-color: #388e3c; }
.thrc-zone-tag.z3 { background-color: #f57f17; }
.thrc-zone-tag.z4 { background-color: #e65100; }
.thrc-zone-tag.z5 { background-color: #d32f2f; }

/* Formulas Comparison Grid */
.thrc-comparison-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 12px 14px;
  margin-top: 14px;
}

.thrc-comparison-title {
  font-size: 13px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 8px;
}

.thrc-comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.thrc-comp-item {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 6px 8px;
  text-align: center;
}

.thrc-comp-name {
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 2px;
}

.thrc-comp-val {
  font-size: 14px;
  font-weight: bold;
  color: #003366;
}

/* RIGHT SIDEBAR - EXACT CLONE OF IMAGE 1 */
.thrc-sidebar-col {
  width: 300px;
}

/* Search Form */
.thrc-side-search-form {
  display: flex;
  gap: 5px;
  margin-bottom: 18px;
}

.thrc-side-search-wrap {
  flex: 1;
  position: relative;
}

.thrc-side-search-input {
  width: 100%;
  height: 28px;
  padding: 2px 8px;
  font-size: 13px;
  border: 1px solid #7f9db9;
  border-radius: 2px;
  box-sizing: border-box;
}

.thrc-side-search-input:focus {
  border-color: #003366;
  outline: none;
}

.thrc-search-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #003366;
  border-top: none;
  z-index: 100;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.thrc-search-dropdown-item {
  padding: 7px 10px;
  font-size: 12.5px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
}

.thrc-search-dropdown-item:hover {
  background-color: #e9edf2;
  color: #003366;
}

.thrc-side-search-btn {
  background-color: #2c5f88;
  color: #ffffff;
  border: 1px solid #1a4263;
  border-radius: 2px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
}

.thrc-side-search-btn:hover {
  background-color: #234d70;
}

/* Fitness and Health Calculators Side Card */
.thrc-side-card {
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 20px;
}

.thrc-side-card-title {
  background-color: #2c5f88;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  padding: 7px 12px;
}

.thrc-side-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 12.5px;
  padding: 4px 6px;
  background-color: #fbfbfb;
}

.thrc-side-card-grid a {
  color: #0844a4;
  text-decoration: none;
  padding: 5px 8px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thrc-side-card-grid a:hover {
  text-decoration: underline;
}

.thrc-side-card-grid a.active-link {
  font-weight: bold;
  color: #003366;
}

.thrc-side-card-footer {
  border-top: 1px solid #e2e8f0;
  padding: 7px 10px;
  font-size: 12px;
  color: #64748b;
  background-color: #ffffff;
  text-align: center;
}

.thrc-side-card-footer a {
  color: #0844a4;
  text-decoration: none;
  margin: 0 2px;
}

.thrc-side-card-footer a:hover {
  text-decoration: underline;
}

/* RICH SEO / AEO / GEO CONTENT SECTION */
.thrc-seo-section {
  background: #ffffff;
  border: 1px solid #dbe7f2;
  border-top: 4px solid #003366;
  border-radius: 6px;
  padding: 24px 28px;
  margin: 28px 0 32px;
  color: #333333;
  line-height: 1.65;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.thrc-seo-section h2 {
  color: #003366;
  font-size: 21px;
  font-weight: bold;
  border-bottom: 2px solid #dbe7f2;
  padding-bottom: 8px;
  margin: 24px 0 12px;
}

.thrc-seo-section h2:first-child {
  margin-top: 0;
}

.thrc-seo-section h3 {
  color: #1a5276;
  font-size: 16px;
  font-weight: bold;
  margin: 18px 0 8px;
}

.thrc-seo-section h4 {
  color: #2e7d32;
  font-size: 14px;
  font-weight: bold;
  margin: 12px 0 6px;
}

.thrc-seo-section p {
  font-size: 13.5px;
  color: #333333;
  margin-bottom: 12px;
  line-height: 1.65;
}

.thrc-seo-section strong {
  color: #0f172a;
}

.thrc-seo-section ul,
.thrc-seo-section ol {
  margin: 8px 0 14px 22px;
  font-size: 13.5px;
  line-height: 1.65;
}

.thrc-seo-section li {
  margin-bottom: 6px;
}

.seo-aeo-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #003366;
  border-radius: 5px;
  padding: 14px 16px;
  margin: 12px 0 16px;
}

.seo-aeo-card h4 {
  margin-top: 0;
  color: #003366;
  font-size: 14.5px;
}

.geo-insight-box {
  background: #f0f7ff;
  border: 1px solid #cce3f6;
  border-left: 4px solid #1a5276;
  border-radius: 4px;
  padding: 14px 18px;
  margin: 16px 0;
}

.geo-insight-box h4 {
  margin-top: 0;
  color: #1a5276;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.seo-formula-box {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 10px 14px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  color: #0f172a;
  margin: 10px 0 14px;
  overflow-x: auto;
}

/* SAVED CALCULATIONS MODAL / DRAWER */
.thrc-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.thrc-modal-overlay.active {
  display: flex !important;
}

.thrc-modal-dialog {
  background: #ffffff;
  border-radius: 6px;
  width: 90%;
  max-width: 550px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
}

.thrc-print-modal-dialog {
  max-width: 780px;
  width: 94%;
  max-height: 90vh;
}

.thrc-print-toolbar {
  padding: 10px 16px;
  background-color: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.thrc-print-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.thrc-print-btn-action:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.thrc-print-btn-action.thrc-btn-print-now {
  background: #2e7d32;
  border-color: #256029;
  color: #ffffff;
}

.thrc-print-btn-action.thrc-btn-print-now:hover {
  background: #256029;
}

.thrc-print-sheet {
  padding: 20px;
  overflow-y: auto;
  font-family: Arial, Helvetica, sans-serif;
  color: #1e293b;
  font-size: 13px;
  background: #ffffff;
  line-height: 1.5;
}

.thrc-print-footer-tip {
  padding: 10px 16px;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: #64748b;
}

.thrc-print-footer-tip strong {
  color: #334155;
}

.thrc-modal-header {
  padding: 12px 16px;
  background-color: #003366;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.thrc-modal-title {
  font-size: 16px;
  font-weight: bold;
}

.thrc-modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.thrc-modal-body {
  padding: 16px;
  overflow-y: auto;
  font-size: 13.5px;
}

.thrc-saved-item {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.thrc-saved-meta {
  color: #64748b;
  font-size: 11.5px;
  margin-bottom: 3px;
}

.thrc-saved-summary {
  font-weight: bold;
  color: #003366;
}

.thrc-saved-actions {
  display: flex;
  gap: 6px;
}

.thrc-saved-act-btn {
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0844a4;
}

.thrc-saved-act-btn.del {
  color: #dc2626;
  border-color: #fca5a5;
}

.thrc-saved-act-btn:hover {
  background-color: #f1f5f9;
}

.thrc-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #003366;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 13.5px;
  z-index: 10000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

.thrc-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* RTL SUPPORT */
[dir="rtl"] {
  direction: rtl;
}

[dir="rtl"] .thrc-help-btn {
  margin-left: 0;
  margin-right: 3px;
}

[dir="rtl"] .thrc-btn-calc .thrc-play-arrow {
  border-left: none;
  border-right: 8px solid #ffffff;
}

[dir="rtl"] .thrc-zones-table th,
[dir="rtl"] .thrc-zones-table td {
  text-align: right;
}

[dir="rtl"] .thrc-seo-section {
  text-align: right;
}

[dir="rtl"] .thrc-seo-section ul,
[dir="rtl"] .thrc-seo-section ol {
  margin-left: 0;
  margin-right: 22px;
}

[dir="rtl"] .seo-aeo-card {
  border-left: none;
  border-right: 3px solid #003366;
}

[dir="rtl"] .geo-insight-box {
  border-left: none;
  border-right: 4px solid #1a5276;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .thrc-main-grid {
    grid-template-columns: 1fr;
  }
  .thrc-sidebar-col {
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .thrc-calc-box {
    padding: 12px 14px;
  }
  .thrc-label-col {
    width: 120px;
    font-size: 12.5px;
  }
  .thrc-radio-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .thrc-settings-grid {
    grid-template-columns: 1fr;
  }
  .thrc-results-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* PRINT STYLES */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 10pt !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  header, footer, .thrc-top-bar, .thrc-buttons-row, .thrc-sidebar-col, .thrc-results-actions, .thrc-toast, .thrc-print-toolbar, .thrc-print-footer-tip, .thrc-modal-close, .thrc-modal-header {
    display: none !important;
  }

  /* When printing from modal */
  body.thrc-printing-modal .thrc-page-container {
    display: none !important;
  }
  body.thrc-printing-modal .thrc-modal-overlay {
    position: static !important;
    display: block !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  body.thrc-printing-modal .thrc-modal-dialog {
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  body.thrc-printing-modal .thrc-print-sheet {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    width: 100% !important;
  }

  /* When printing standard page without modal */
  body:not(.thrc-printing-modal) .thrc-modal-overlay {
    display: none !important;
  }
  body:not(.thrc-printing-modal) .thrc-main-grid {
    display: block !important;
  }
  body:not(.thrc-printing-modal) .thrc-page-container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  body:not(.thrc-printing-modal) .thrc-calc-box,
  body:not(.thrc-printing-modal) .thrc-results-card {
    border: 1px solid #cccccc !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
}
