body.themh-home.tool-offerwise {
  background: #f2f2f2;
  color: #111111;
}

body.themh-home.tool-offerwise .site-frame,
body.themh-home.tool-offerwise .tool-page {
  background: #f2f2f2;
}

body.themh-home.tool-offerwise .tool-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px 20px 24px;
}

body.themh-home.tool-offerwise .tools-shell {
  width: min(1320px, calc(100% - 40px));
  margin: 16px auto 0;
}

body.themh-home.tool-offerwise .tools-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.78fr);
  gap: 14px;
  align-items: stretch;
}

body.themh-home.tool-offerwise .tools-hero-card,
body.themh-home.tool-offerwise .peer-panel {
  border: 4px solid #f2f2f2;
  border-radius: 24px;
  background: #f2f2f2;
  box-shadow:
    4px 4px 10px rgba(165, 165, 165, 0.28),
    -4px -4px 10px rgba(242, 242, 242, 0.9);
}

body.themh-home.tool-offerwise .tools-hero-card {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.themh-home.tool-offerwise .tools-kicker {
  margin: 0 0 10px;
  color: #8b93a8;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.themh-home.tool-offerwise .tools-hero-card h1 {
  margin: 0;
  color: #111111;
  font-family: "Inter", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 800;
}

body.themh-home.tool-offerwise .tools-lead {
  margin: 14px 0 0;
  max-width: 56ch;
  color: #4c4944;
  font-family: "Poppins", sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
}

body.themh-home.tool-offerwise .shortcuts-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

body.themh-home.tool-offerwise .shortcut-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: var(--offerwise-home-border);
  background: #f2f2f2;
  color: #111111;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--offerwise-home-shadow);
}

body.themh-home.tool-offerwise .shortcut-chip i {
  font-size: 0.8rem;
}

body.themh-home.tool-offerwise .peer-panel {
  overflow: hidden;
}

body.themh-home.tool-offerwise .peer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--home-line);
  color: #111111;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  cursor: pointer;
}

body.themh-home.tool-offerwise .peer-header span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.themh-home.tool-offerwise .peer-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: var(--offerwise-home-border);
  background: #f2f2f2;
  color: #7f8797;
  font-family: "Poppins", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: var(--offerwise-home-shadow);
}

body.themh-home.tool-offerwise .peer-content {
  padding: 16px 20px 20px;
}

body.themh-home.tool-offerwise .peer-stats {
  display: grid;
  gap: 12px;
}

body.themh-home.tool-offerwise .peer-stat {
  padding: 12px;
  border-radius: 16px;
  border: var(--offerwise-home-border);
  background: #f2f2f2;
  box-shadow: var(--offerwise-home-shadow);
}

body.themh-home.tool-offerwise .stat-label {
  display: block;
  margin-bottom: 10px;
  color: #667085;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.themh-home.tool-offerwise .stat-bars {
  display: grid;
  gap: 8px;
}

body.themh-home.tool-offerwise .stat-bar {
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #111111;
  color: #f2f2f2;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
}

body.themh-home.tool-offerwise .peer-note {
  margin: 12px 0 0;
  color: #667085;
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
}

body.themh-home.tool-offerwise .peer-note i {
  margin-right: 6px;
}

body.themh-home.tool-offerwise .peer-content.collapsed {
  display: none;
}

body.themh-home.tool-offerwise .rotated {
  transform: rotate(180deg);
}

body.themh-home.tool-offerwise .tool-page > * + * {
  margin-top: 14px;
}

body.themh-home.tool-offerwise .tool-page :is(.action-bar, .instructions-panel, .suggestions-panel, .validation-bar, .stats-card, .panel-card, .card, .results-card, .chart-box, .scenarios-bar) {
  border: 4px solid #f2f2f2;
  border-radius: 24px;
  background: #f2f2f2;
  box-shadow:
    4px 4px 10px rgba(165, 165, 165, 0.28),
    -4px -4px 10px rgba(242, 242, 242, 0.9);
}

body.themh-home.tool-offerwise .factors-panel .panel-header h2 {
  margin: 0;
  color: #111111;
  font-family: "Inter", sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em;
}

body.themh-home.tool-offerwise #factorCategories {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

body.themh-home.tool-offerwise .category-priority-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

body.themh-home.tool-offerwise .category-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 4px solid #f2f2f2;
  border-radius: 999px;
  background: #f2f2f2;
  color: #111111;
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  cursor: pointer;
  box-shadow:
    4px 4px 10px rgba(165, 165, 165, 0.22),
    -4px -4px 10px rgba(242, 242, 242, 0.9);
}

body.themh-home.tool-offerwise .category-pill.selected {
  border-color: #111111;
  background: #111111;
  color: #f2f2f2;
  font-weight: 800;
  box-shadow: var(--offerwise-home-shadow);
}

body.themh-home.tool-offerwise .category-pill-text {
  white-space: nowrap;
  background: transparent !important;
  color: inherit;
  position: relative;
  z-index: 1;
}

body.themh-home.tool-offerwise .factor-category {
  border: 4px solid #f2f2f2;
  border-radius: 24px;
  background: #f2f2f2;
  box-shadow:
    4px 4px 10px rgba(165, 165, 165, 0.24),
    -4px -4px 10px rgba(242, 242, 242, 0.92);
  overflow: hidden;
}

body.themh-home.tool-offerwise .factor-category.is-hidden {
  display: none;
}

body.themh-home.tool-offerwise .category-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 16px;
  border: 0;
  background: #f2f2f2;
  color: #111111;
  font-family: "Poppins", sans-serif;
  text-align: left;
  cursor: pointer;
}

body.themh-home.tool-offerwise .category-title {
  color: #111111;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

body.themh-home.tool-offerwise .header-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.themh-home.tool-offerwise .category-weight {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 4px solid #f2f2f2;
  background: #f2f2f2;
  color: #111111;
  font-size: 0.72rem;
  font-weight: 700;
}

body.themh-home.tool-offerwise .category-weight.selected {
  background: #111111;
  border-color: #111111;
  color: #f2f2f2;
  box-shadow: var(--offerwise-home-shadow);
}

body.themh-home.tool-offerwise .category-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 4px solid #f2f2f2;
  background: #f2f2f2;
  color: #7d7d7d;
}

body.themh-home.tool-offerwise .category-toggle svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.themh-home.tool-offerwise .category-content {
  padding: 0 18px 18px;
}

body.themh-home.tool-offerwise .category-content.collapsed {
  display: none;
}

body.themh-home.tool-offerwise .category-warning-hint {
  margin-top: 12px;
  color: #9f5b00;
  font-size: 0.8rem;
  font-weight: 600;
}

body.themh-home.tool-offerwise .category-warning-hint:not(.show) {
  display: none;
}

body.themh-home.tool-offerwise .factor-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--home-line);
}

body.themh-home.tool-offerwise .factor-row:first-child {
  border-top: 0;
  padding-top: 0;
}

body.themh-home.tool-offerwise .factor-name {
  color: #111111;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.25;
}

body.themh-home.tool-offerwise .factor-controls {
  display: grid;
  gap: 10px;
}

body.themh-home.tool-offerwise .offers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 12px;
}

body.themh-home.tool-offerwise .offers-row.compare-offers {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin: 0;
}

body.themh-home.tool-offerwise .compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

body.themh-home.tool-offerwise .compare-header h3 {
  margin: 0;
  color: #111111;
  font-family: "Inter", sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em;
}

body.themh-home.tool-offerwise .winner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

body.themh-home.tool-offerwise .winner-header h3 {
  margin: 0;
  color: #111111;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: -0.04em;
}

body.themh-home.tool-offerwise .auto-save-badge,
body.themh-home.tool-offerwise .winner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 4px solid #f2f2f2;
  background: #f2f2f2;
  color: #111111;
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  box-shadow:
    4px 4px 10px rgba(165, 165, 165, 0.22),
    -4px -4px 10px rgba(242, 242, 242, 0.9);
}

body.themh-home.tool-offerwise .winner-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 14px;
  font-family: "Inter", sans-serif;
}

body.themh-home.tool-offerwise .winner-name {
  color: #111111;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

body.themh-home.tool-offerwise .winner-score {
  color: #111111;
  font-size: 1.2rem;
  font-weight: 500;
}

body.themh-home.tool-offerwise .offer-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1 1 180px;
  min-height: 44px;
  padding: 10px 18px;
  border: 4px solid #f2f2f2;
  border-radius: 999px;
  background: #f2f2f2;
  color: #111111;
  font-family: "Poppins", sans-serif;
  font-size: 0.84rem;
  font-weight: 400;
  box-shadow:
    4px 4px 10px rgba(165, 165, 165, 0.22),
    -4px -4px 10px rgba(242, 242, 242, 0.9);
  cursor: pointer;
  text-align: left;
}

body.themh-home.tool-offerwise .offer-check.selected {
  background: #f2f2f2;
  border-color: #111111;
  color: #111111;
}

body.themh-home.tool-offerwise .offer-check.current-offer {
  --offer-accent: #111111;
}

body.themh-home.tool-offerwise .offer-check.offer-a {
  --offer-accent: #68B57D;
}

body.themh-home.tool-offerwise .offer-check.offer-b {
  --offer-accent: #2D6CDF;
}

body.themh-home.tool-offerwise .offer-checkmark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--offer-accent, #111111) !important;
  background: transparent;
  flex: 0 0 auto;
  position: relative;
  box-sizing: border-box;
}

body.themh-home.tool-offerwise .offer-check.selected .offer-checkmark {
  background: var(--offer-accent, #111111) !important;
  border-color: var(--offer-accent, #111111) !important;
}

body.themh-home.tool-offerwise .offer-check-text {
  background: transparent;
  color: inherit;
  white-space: nowrap;
}

body.themh-home.tool-offerwise .offer-check.is-locked {
  opacity: 0.45;
  cursor: not-allowed;
}

body.themh-home.tool-offerwise .chart-box .chart-section {
  border-top: 0;
}

body.themh-home.tool-offerwise .chart-container.large-chart {
  position: relative;
  min-height: 420px;
  margin-top: 12px;
}

body.themh-home.tool-offerwise .chart-container.large-chart canvas {
  width: 100% !important;
  height: 420px !important;
  display: block;
}

body.themh-home.tool-offerwise .offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border: 4px solid #f2f2f2;
  border-radius: 999px;
  background: #f2f2f2;
  color: #111111;
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  box-shadow:
    4px 4px 10px rgba(165, 165, 165, 0.22),
    -4px -4px 10px rgba(242, 242, 242, 0.9);
  cursor: pointer;
}

body.themh-home.tool-offerwise .offer-pill-text {
  white-space: nowrap;
}

body.themh-home.tool-offerwise .offer-pill.is-inactive {
  opacity: 0.45;
  cursor: not-allowed;
}

body.themh-home.tool-offerwise .compare-box {
  padding-top: 18px;
  padding-bottom: 18px;
}

body.themh-home.tool-offerwise .offer-pill-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: #111111;
  color: #f2f2f2;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
}

body.themh-home.tool-offerwise .weight-control {
  width: 100%;
}

body.themh-home.tool-offerwise .weight-input {
  display: none;
}

body.themh-home.tool-offerwise .weight-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  overflow: hidden;
  border: var(--offerwise-home-border);
  border-radius: 999px;
  background: #f2f2f2;
  box-shadow: var(--offerwise-home-shadow);
}

body.themh-home.tool-offerwise .weight-segment {
  width: 100%;
  min-height: 30px;
  border: 0;
  border-right: 1px solid rgba(153, 153, 153, 0.35);
  border-radius: 0;
  background: transparent;
  color: #b1b1b1;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

body.themh-home.tool-offerwise .weight-segment.filled {
  background: #111111;
  color: #f2f2f2;
}

body.themh-home.tool-offerwise .weight-segment:last-child {
  border-right: 0;
}

body.themh-home.tool-offerwise .weight-segment:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

body.themh-home.tool-offerwise .weight-segment:hover {
  transform: translateY(-1px);
}

body.themh-home.tool-offerwise .ranking-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

body.themh-home.tool-offerwise .factor-offer-pill {
  flex: 0 0 auto;
}

body.themh-home.tool-offerwise .factor-offer-pill.selected {
  border-color: #f2f2f2;
  color: #111111;
  background: #f2f2f2;
  box-shadow:
    4px 4px 10px rgba(165, 165, 165, 0.28),
    -4px -4px 10px rgba(242, 242, 242, 0.92);
  font-weight: 800;
}

body.themh-home.tool-offerwise .factor-offer-pill.is-inactive {
  opacity: 0.45;
  cursor: not-allowed;
}

body.themh-home.tool-offerwise .rank-placeholder {
  padding: 10px 12px;
  border: var(--offerwise-home-border);
  border-radius: 16px;
  background: #f2f2f2;
  color: #7d7d7d;
  font-size: 0.8rem;
  text-align: center;
  box-shadow: var(--offerwise-home-shadow);
}

body.themh-home.tool-offerwise .tool-page .action-bar {
  padding: 0;
  gap: 12px;
  margin-bottom: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.themh-home.tool-offerwise .tool-page .validation-bar {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.themh-home.tool-offerwise .tool-page .validation-message,
body.themh-home.tool-offerwise .tool-page .validation-details {
  background: transparent;
}

body.themh-home.tool-offerwise .tool-page :is(.btn, .btn-primary, .btn-secondary, .btn-outline, .btn-ghost, .btn-dark, .btn-light, .btn-success) {
  border-radius: 999px;
  background: #f2f2f2;
  border: 4px solid #f2f2f2;
  color: #111111;
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  box-shadow:
    4px 4px 10px rgba(165, 165, 165, 0.22),
    -4px -4px 10px rgba(242, 242, 242, 0.95);
}

body.themh-home.tool-offerwise .tool-page :is(.btn-primary, .btn-dark, .btn-success) {
  background: #111111;
  border-color: #111111;
  color: #f2f2f2;
}

body.themh-home.tool-offerwise .tool-page :is(.btn:hover, .btn-primary:hover, .btn-secondary:hover, .btn-outline:hover, .btn-ghost:hover, .btn-dark:hover, .btn-light:hover, .btn-success:hover) {
  transform: translateY(-1px);
}

body.themh-home.tool-offerwise .tool-page :is(input[type="text"], input[type="number"], input[type="email"], select, textarea, .form-input, .tax-input, .search-input, .path-dropdown, #blockSiteInput) {
  border: var(--offerwise-home-border);
  background: #f2f2f2;
  border-radius: 18px;
  color: #111111;
  box-shadow: var(--offerwise-home-shadow);
}

body.themh-home.tool-offerwise .tool-page :is(.top-panels-row, .dashboard-grid) {
  gap: 14px;
}

body.themh-home.tool-offerwise .action-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

body.themh-home.tool-offerwise .action-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 20px;
  border: 0 !important;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none !important;
  transform: none;
}

body.themh-home.tool-offerwise .action-buttons .btn-secondary {
  background: var(--blue) !important;
  color: #f2f2f2 !important;
}

body.themh-home.tool-offerwise .action-buttons .btn-success {
  background: var(--green) !important;
  color: #f2f2f2 !important;
}

body.themh-home.tool-offerwise .action-buttons .btn:hover {
  transform: translateY(-2px);
}

body.themh-home.tool-offerwise .charts-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.themh-home.tool-offerwise .charts-panel > .chart-box {
  margin: 0;
}

body.themh-home.tool-offerwise .tool-page :is(.summary-table th, .summary-table td) {
  background: #f2f2f2;
  border-color: var(--home-line);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #111111;
}

body.themh-home.tool-offerwise .summary-box .summary-header h4 {
  font-family: "Inter", sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em;
}

body.themh-home.tool-offerwise .summary-table .summary-category-row td {
  background: #ececec;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}

body.themh-home.tool-offerwise .summary-table .summary-factor-name {
  padding-left: 18px;
  color: #3a3a3a;
  font-weight: 400;
}

body.themh-home.tool-offerwise .summary-table .summary-category-total td {
  background: #e5e5e5;
  font-weight: 400;
}

body.themh-home.tool-offerwise .summary-table .summary-category-total td strong,
body.themh-home.tool-offerwise .summary-table .summary-category-row td strong {
  font-weight: 800;
}

body.themh-home.tool-offerwise .summary-table .offer-current,
body.themh-home.tool-offerwise .summary-table .offer-a,
body.themh-home.tool-offerwise .summary-table .offer-b {
  text-align: center;
  white-space: nowrap;
  font-weight: 400;
}

body.themh-home.tool-offerwise {
  font-family: "Poppins", sans-serif;
}

body.themh-home.tool-offerwise .factors-panel .panel-header h2,
body.themh-home.tool-offerwise .compare-header h3,
body.themh-home.tool-offerwise .summary-box .summary-header h4 {
  margin: 0;
  color: #111111;
  font-family: "Inter", sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

body.themh-home.tool-offerwise :is(
  strong,
  b,
  th,
  .shortcut-chip,
  .peer-header,
  .stat-label,
  .stat-bar,
  .tools-hero-card h1,
  .category-pill.selected,
  .category-title,
  .category-weight,
  .compare-header h3,
  .summary-box .summary-header h4,
  .weight-segment,
  .summary-table .summary-category-row td strong,
  .summary-table .summary-category-total td strong
) {
  font-family: "Inter", sans-serif;
}

body.themh-home.tool-offerwise .tool-page .modal-content {
  border-radius: 24px;
  background: #f2f2f2;
  border: var(--offerwise-home-border);
  box-shadow: var(--offerwise-home-shadow);
}

body.themh-home.tool-offerwise .tool-page .modal.show {
  display: flex !important;
}

@media (max-width: 980px) {
  body.themh-home.tool-offerwise .tools-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.themh-home.tool-offerwise .tools-hero-card,
  body.themh-home.tool-offerwise .peer-header,
  body.themh-home.tool-offerwise .peer-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.themh-home.tool-offerwise .category-header,
  body.themh-home.tool-offerwise .category-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  body.themh-home.tool-offerwise .factor-row {
    grid-template-columns: 1fr;
  }
}

/* Keep OfferWise surfaces identical to the homepage's final visual layer. */
body.themh-home.tool-offerwise {
  --offerwise-home-surface: #f2f2f2;
  --offerwise-home-border: 4px solid #f2f2f2;
  --offerwise-home-shadow:
    4px 4px 10px rgba(165, 165, 165, 0.28),
    -4px -4px 10px rgba(242, 242, 242, 0.9);
}

body.themh-home.tool-offerwise .tool-page :is(
  .instructions-panel,
  .stats-card,
  .panel-card,
  .card,
  .results-card,
  .chart-box,
  .scenarios-bar,
  .factor-category
) {
  border: var(--offerwise-home-border) !important;
  background: var(--offerwise-home-surface) !important;
  box-shadow: var(--offerwise-home-shadow) !important;
}

body.themh-home.tool-offerwise .tool-page :is(
  .auto-save-badge,
  .winner-badge,
  .category-weight,
  .category-toggle
) {
  border: var(--offerwise-home-border) !important;
  background: var(--offerwise-home-surface) !important;
  box-shadow: var(--offerwise-home-shadow) !important;
}

body.themh-home.tool-offerwise .tool-page :is(
  .category-pill,
  .offer-check,
  .offer-pill,
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-outline,
  .btn-ghost,
  .btn-dark,
  .btn-light,
  .btn-success
) {
  border: var(--offerwise-home-border) !important;
  background: var(--offerwise-home-surface) !important;
  box-shadow: var(--offerwise-home-shadow) !important;
}

body.themh-home.tool-offerwise .tool-page .offer-pill {
  border-color: #f2f2f2 !important;
  background: #f2f2f2 !important;
  box-shadow: var(--offerwise-home-shadow) !important;
}

body.themh-home.tool-offerwise .tool-page .category-pill.selected,
body.themh-home.tool-offerwise .tool-page :is(.btn-primary, .btn-dark, .btn-success) {
  border-color: #111111 !important;
  background: #111111 !important;
  color: #f2f2f2 !important;
}

body.themh-home.tool-offerwise .tool-page .factor-offer-pill.selected {
  border-color: #f2f2f2 !important;
  background: #f2f2f2 !important;
  color: #111111 !important;
  box-shadow: var(--offerwise-home-shadow) !important;
  font-weight: 800 !important;
}

body.themh-home.tool-offerwise .tool-page .offer-check.selected {
  border-color: #111111 !important;
}
