/* ============================================================
   TOOLSPOT — BMR CALCULATOR STYLESHEET
   ============================================================ */

:root {
  --tool-orange: #f97316;
  --tool-orange-soft: rgba(249, 115, 22, 0.12);
  --tool-orange-glow: rgba(249, 115, 22, 0.25);
  --tool-orange-hover: #ea580c;
}

body.light {
  --tool-orange: #ea580c;
  --tool-orange-soft: rgba(234, 88, 12, 0.08);
  --tool-orange-glow: rgba(234, 88, 12, 0.15);
  --tool-orange-hover: #c2410c;
}

/* ── ANALYSIS & OUTCOME HERO ── */
.result-hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.result-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 70% 30%, var(--tool-orange-soft) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.result-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.result-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-3);
  letter-spacing: 0.5px;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: var(--tool-orange-soft);
  border: 1px solid var(--tool-orange-glow);
  color: var(--tool-orange);
}

.result-val {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--tool-orange);
  margin: 6px 0;
  letter-spacing: -0.5px;
  z-index: 1;
  text-align: center;
  text-shadow: 0 0 20px var(--tool-orange-soft);
}

body.light .result-val {
  color: var(--tool-orange-hover);
  text-shadow: none;
}

.result-val span {
  font-size: 15px;
  color: var(--text-3);
  font-weight: 500;
}

.result-subtitle {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
  z-index: 1;
  text-align: center;
}

.hero-gauge-container {
  margin: 16px 0 8px;
  z-index: 1;
}

.speedometer-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.gauge-axis {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5;
}

body.light .gauge-axis {
  stroke: rgba(0, 0, 0, 0.08) !important;
}

.gauge-ticks text {
  fill: rgba(255, 255, 255, 0.35);
  font-size: 8px;
  font-weight: 600;
}

body.light .gauge-ticks text {
  fill: rgba(0, 0, 0, 0.4) !important;
}

.gauge-pointer path {
  fill: var(--text);
}

.pointer-bubble {
  fill: var(--text);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.pointer-bubble-text {
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  font-weight: 800;
  fill: #000000;
}

body.light .pointer-bubble-text {
  fill: #ffffff !important;
}

/* Speedometer Gauge Arc fills */
.seg-low { fill: #3b82f6; }
.seg-normal { fill: #10b981; }
.seg-elevated { fill: #f59e0b; }
.seg-high { fill: #ef4444; }

/* ── MODE & SEX TABS (Glassmorphic) ── */
.mode-toggle {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  z-index: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.mode-toggle::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0.06) 100%);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 8px;
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1), background 0.28s, border-color 0.28s;
  z-index: 0;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

/* Toggles Choices */
#unit-toggle.mode-toggle::before {
  width: calc(50% - 6px);
}
#unit-toggle.mode-toggle.active-metric::before {
  transform: translateX(0);
}
#unit-toggle.mode-toggle.active-imperial::before {
  transform: translateX(calc(100% + 4px));
}

#sex-toggle.mode-toggle::before {
  width: calc(50% - 6px);
}
#sex-toggle.mode-toggle.active-male::before {
  transform: translateX(0);
}
#sex-toggle.mode-toggle.active-female::before {
  transform: translateX(calc(100% + 4px));
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(236, 72, 153, 0.06) 100%);
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.mode-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  background: transparent !important;
  border: none;
  padding: 10px 16px;
  color: var(--text-2);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.28s, transform 0.2s;
  text-align: center;
  box-shadow: none !important;
}

.mode-btn:hover {
  color: var(--text);
}

.mode-btn.active {
  color: var(--tool-orange) !important;
  text-shadow: 0 0 10px var(--tool-orange-glow);
}

#sex-toggle.active-female .mode-btn.active {
  color: #f472b6 !important;
  text-shadow: 0 0 10px rgba(236, 72, 153, 0.25);
}

.mode-btn:active {
  transform: scale(0.97);
}

/* Light mode overrides for toggles */
body.light .mode-toggle {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}

body.light .mode-toggle::before {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.12) 0%, rgba(234, 88, 12, 0.04) 100%);
  border-color: rgba(234, 88, 12, 0.2);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.06);
}

body.light #sex-toggle.active-female::before {
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.12) 0%, rgba(219, 39, 119, 0.04) 100%);
  border-color: rgba(219, 39, 119, 0.2);
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.06);
}

body.light .mode-btn {
  color: #475569;
}

body.light .mode-btn:hover {
  color: #0f172a;
}

body.light .mode-btn.active {
  color: var(--tool-orange) !important;
  text-shadow: none;
}

body.light #sex-toggle.active-female .mode-btn.active {
  color: #db2777 !important;
}

/* ── Header Input Box Refinement for Sliders ── */
.input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.input-header label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}

body.light .input-header label {
  color: #334155;
}

.input-header .inp-box {
  width: 110px;
  height: 32px;
  border-radius: 8px;
}

.input-header .inp-box input {
  padding: 6px 10px;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  color: var(--text);
  -moz-appearance: textfield;
}

.input-header .inp-box input::-webkit-outer-spin-button,
.input-header .inp-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-header .inp-box .inp-suf {
  padding-right: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  white-space: nowrap;
}

/* ── BODY FAT OPTIONAL TOGGLE SWITCH ── */
.bf-toggle-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 12px 16px;
}

body.light .bf-toggle-container {
  background: rgba(15, 23, 42, 0.015);
  border-color: rgba(15, 23, 42, 0.05);
}

.bf-toggle-label {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

input:checked + .switch-slider {
  background-color: var(--tool-orange);
  border-color: var(--tool-orange-hover);
}

input:checked + .switch-slider:before {
  transform: translateX(20px);
}

body.light .switch-slider {
  background-color: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Custom Orange Slider */
.orange-slider::-webkit-slider-thumb {
  border-color: var(--tool-orange) !important;
  box-shadow: 0 0 0 4px var(--tool-orange-soft), 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.orange-slider::-moz-range-thumb {
  border-color: var(--tool-orange) !important;
  box-shadow: 0 0 0 4px var(--tool-orange-soft) !important;
}

/* ── BMR METABOLIC CARD COMPARISONS ── */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.comp-method-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.comp-method-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.comp-method-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.comp-method-card.active-card {
  background: linear-gradient(135deg, var(--tool-orange-soft) 0%, rgba(249, 115, 22, 0.01) 100%);
  border: 1px solid rgba(249, 115, 22, 0.2);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.comp-method-card.active-card::before {
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.3), transparent);
}

.comp-method-card.active-card:hover {
  border-color: rgba(249, 115, 22, 0.35);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(249, 115, 22, 0.02) 100%);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.12);
}

.comp-method-card.disabled-card {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

body.light .comp-method-card {
  background: rgba(0, 0, 0, 0.015);
  border-color: rgba(0, 0, 0, 0.05);
}

body.light .comp-method-card:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light .comp-method-card.active-card {
  background: linear-gradient(135deg, var(--tool-orange-soft) 0%, rgba(234, 88, 12, 0.01) 100%);
  border-color: rgba(234, 88, 12, 0.25);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.04);
}

.method-name {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-2);
}

body.light .method-name {
  color: #475569;
}

.comp-method-card.active-card .method-name {
  color: var(--tool-orange);
}

.method-val {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 4px 0;
}

body.light .method-val {
  color: #0f172a;
}

.comp-method-card.active-card .method-val {
  color: var(--tool-orange);
}

.method-desc {
  font-family: 'Figtree', sans-serif;
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.4;
  margin: 0;
}

body.light .method-desc {
  color: #64748b;
}

/* ── DAILY ENERGY REQUIREMENTS (TDEE) LIST ── */
.activity-levels-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.activity-level-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 12px 16px;
  transition: all 0.2s ease;
}

.activity-level-row:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
}

body.light .activity-level-row {
  background: rgba(15, 23, 42, 0.01);
  border-color: rgba(15, 23, 42, 0.04);
}

body.light .activity-level-row:hover {
  background: rgba(15, 23, 42, 0.025);
  border-color: rgba(15, 23, 42, 0.08);
}

.act-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.act-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

body.light .act-title {
  color: #0f172a;
}

.act-desc {
  font-family: 'Figtree', sans-serif;
  font-size: 11px;
  color: var(--text-2);
}

body.light .act-desc {
  color: #475569;
}

.act-val-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.act-kcal {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--tool-orange);
}

.act-factor {
  font-family: 'Figtree', sans-serif;
  font-size: 10px;
  color: var(--text-3);
  font-weight: 600;
}

/* ── DAILY TARGET GOAL & MACROS TABS ── */
.goal-tab-headers {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 20px;
  z-index: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.goal-tab-headers::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(33.333% - 6px);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0.06) 100%);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 8px;
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1), background 0.28s, border-color 0.28s;
  z-index: 0;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.goal-tab-headers.active-maintenance::before {
  transform: translateX(0);
}

.goal-tab-headers.active-fat-loss::before {
  transform: translateX(calc(100% + 4px));
}

.goal-tab-headers.active-muscle-gain::before {
  transform: translateX(calc(200% + 8px));
}

body.light .goal-tab-headers {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}

body.light .goal-tab-headers::before {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.12) 0%, rgba(234, 88, 12, 0.04) 100%);
  border-color: rgba(234, 88, 12, 0.2);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.06);
}

.goal-tab-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  background: transparent !important;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.28s, transform 0.2s;
  text-align: center;
  box-shadow: none !important;
}

body.light .goal-tab-btn {
  color: #475569;
}

.goal-tab-btn:hover {
  color: var(--text);
}

body.light .goal-tab-btn:hover {
  color: #0f172a;
}

.goal-tab-btn.active {
  color: var(--tool-orange) !important;
  text-shadow: 0 0 10px var(--tool-orange-glow);
}

body.light .goal-tab-btn.active {
  color: var(--tool-orange) !important;
  text-shadow: none;
}

.goal-cal-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

body.light .goal-cal-summary-row {
  background: rgba(15, 23, 42, 0.01);
  border-color: rgba(15, 23, 42, 0.04);
}

.goal-cal-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-2);
}

.goal-cal-val {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
}

body.light .goal-cal-val {
  color: #0f172a;
}

.macro-split-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.macro-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.macro-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-family: 'Figtree', sans-serif;
}

.macro-name {
  font-weight: 600;
  color: var(--text-2);
}

.macro-name span {
  font-size: 10px;
  color: var(--text-3);
  margin-left: 4px;
}

.macro-grams {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text);
}

body.light .macro-grams {
  color: #0f172a;
}

.macro-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

body.light .macro-track {
  background: rgba(0, 0, 0, 0.05);
}

.macro-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fill-protein {
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
}

.fill-carbs {
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.fill-fat {
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

/* ── HISTORY TABLE & STYLES ── */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body.light .table-responsive {
  border-color: rgba(0, 0, 0, 0.06);
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.history-table th {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-3);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.history-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  vertical-align: middle;
}

.history-table tbody tr:last-child td {
  border-bottom: none;
}

.history-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.history-table td strong {
  color: var(--text);
}

body.light .history-table th {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
  background: rgba(0, 0, 0, 0.01);
}

body.light .history-table td {
  border-bottom-color: rgba(0, 0, 0, 0.04);
  color: #334155;
}

body.light .history-table tr:hover td {
  background: rgba(0, 0, 0, 0.01);
}

body.light .history-table td strong {
  color: #0f172a;
}

.delete-entry-btn {
  background: transparent !important;
  border: none !important;
  color: #ef4444 !important;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.2s;
  box-shadow: none !important;
}

.delete-entry-btn:hover {
  background: rgba(239, 68, 68, 0.1) !important;
}

/* ── Panel Title UI Standard Overrides ── */
.panel-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.4) !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
}

body.light .panel-title {
  color: #64748b !important;
}

.panel-subtitle-text {
  font-family: 'Figtree', sans-serif;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 16px;
}

body.light .panel-subtitle-text {
  color: #475569;
}

.cell-val span {
  font-size: 11px;
  color: var(--text-3);
  display: block;
  margin-top: 3px;
}

/* ── PRINT & THEME BUTTON OVERRIDES ── */
@media (max-width: 768px) {
  .action-row {
    flex-direction: column;
  }
}

.rb-btn-primary {
  background: rgba(249, 115, 22, 0.1) !important;
  border-color: rgba(249, 115, 22, 0.25) !important;
  color: var(--tool-orange) !important;
}

.rb-btn-primary:hover {
  background: rgba(249, 115, 22, 0.16) !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
  color: var(--text) !important;
}

body.light .rb-btn-primary {
  background: rgba(234, 88, 12, 0.08) !important;
  border-color: rgba(234, 88, 12, 0.2) !important;
  color: var(--tool-orange) !important;
}

body.light .rb-btn-primary:hover {
  background: rgba(234, 88, 12, 0.12) !important;
  border-color: rgba(234, 88, 12, 0.35) !important;
  color: #0f172a !important;
}

/* Screen default for print-only header */
.print-only-header {
  display: none !important;
}

/* Print Only report guidelines */
@media print {
  .print-only-header {
    display: block !important;
    margin-bottom: 16px;
  }

  body[data-page="tool"] .bg-scene,
  body[data-page="tool"] #ts-header,
  body[data-page="tool"] #ts-footer,
  body[data-page="tool"] #ts-cookie,
  body[data-page="tool"] #ts-share,
  body[data-page="tool"] #ts-toast,
  body[data-page="tool"] .breadcrumb,
  body[data-page="tool"] .tool-header p,
  body[data-page="tool"] .tool-header h1 span,
  body[data-page="tool"] #tool-disclaimer,
  body[data-page="tool"] .tool-left,
  body[data-page="tool"] .result-hero::after,
  body[data-page="tool"] .hero-gauge-container,
  body[data-page="tool"] .comparison-panel,
  body[data-page="tool"] .action-panel,
  body[data-page="tool"] .log-panel,
  body[data-page="tool"] .explanatory-content,
  body[data-page="tool"] #tool-faq {
    display: none !important;
  }
}
