:root {
  color-scheme: light;
  --bg: #eef2f6;
  --panel: #ffffff;
  --line: #ccd5df;
  --text: #17202a;
  --muted: #526171;
  --red: #e93030;
  --red-soft: #ffdce3;
  --blue-soft: #d7ecff;
  --blue-line: #67aee8;
  --blue-text: #075f9f;
  --yellow-soft: #ffe8ad;
  --yellow-line: #e6a928;
  --yellow-text: #8a4d00;
  --strong-soft: #ffd8df;
  --strong-line: #f05b72;
  --shadow: 0 8px 28px rgba(17, 24, 39, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #e4f3f6 0, var(--bg) 220px),
    var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 14px;
}

.app-header {
  align-items: center;
  background: #1d2b38;
  border-radius: 8px 8px 0 0;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.app-header h1 {
  font-size: 20px;
  line-height: 1.1;
  margin: 0;
}

.result-risk-note,
.detail-cta-box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: var(--text);
  line-height: 1.55;
}

.pre-use-notice {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  margin: 8px 2px 0;
  opacity: 0.72;
  padding: 4px 2px 0;
}

.pre-use-notice p,
.detail-cta-box p {
  margin: 0;
}

.pre-use-notice p + p {
  margin-top: 2px;
}

.first-view-copy {
  font-weight: 800;
}

.pre-use-notice .first-view-copy {
  color: #fff;
  font-weight: 600;
}

.result-risk-note {
  border-radius: 7px;
  font-size: 13px;
  margin-top: 12px;
  padding: 10px 12px;
}

.detail-cta-box {
  border-radius: 7px;
  margin-top: 10px;
  padding: 10px 12px;
}

.detail-cta {
  color: #b41e2a;
  display: inline-flex;
  font-weight: 900;
  text-decoration: none;
}

.detail-cta:hover {
  text-decoration: underline;
}

.detail-cta-box p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.eyebrow {
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 3px;
  opacity: 0.76;
}

.ghost-button {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  min-height: 38px;
  padding: 0 12px;
}

.gogo-reset-button {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 46%),
    linear-gradient(135deg, #17130d 0%, #050505 58%, #100c08 100%);
  border: 1px solid rgba(245, 205, 120, 0.74);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -8px 16px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(0, 0, 0, 0.62),
    0 8px 18px rgba(0, 0, 0, 0.28);
  color: #f8d887;
  display: inline-flex;
  gap: 8px;
  height: 42px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  min-height: 42px;
  min-width: 142px;
  overflow: hidden;
  padding: 6px 12px 6px 9px;
  position: relative;
  text-shadow: 0 1px 8px rgba(245, 190, 92, 0.22);
}

.gogo-reset-button:hover {
  border-color: rgba(255, 219, 133, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -8px 16px rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(0, 0, 0, 0.66),
    0 0 18px rgba(245, 190, 92, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.3);
}

.gogo-chip {
  background:
    linear-gradient(90deg, #ff4b6d 0%, #ff9a2f 22%, #fff056 43%, #50f36a 61%, #39cbff 81%, #b86cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -5px 12px rgba(0, 0, 0, 0.72),
    0 0 12px rgba(75, 130, 255, 0.18);
  color: transparent;
  display: grid;
  font-size: 12px;
  font-style: italic;
  font-weight: 950;
  height: 24px;
  letter-spacing: 0;
  min-width: 52px;
  place-items: center;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.32);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.72);
}

.gogo-reset-label {
  color: #f8d887;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.theme-switcher {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d9e0e8;
  border-top: 0;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 8px;
}

.theme-switcher button {
  background: #eef2f7;
  border: 1px solid #d5dde8;
  border-radius: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  min-height: 34px;
}

.theme-switcher button.active {
  background: #17202a;
  border-color: #17202a;
  color: #fff;
}

.input-panel,
.result-panel {
  background: var(--panel);
  box-shadow: var(--shadow);
}

.input-panel {
  background: linear-gradient(180deg, #fbf7ff 0%, #f0e4ff 100%);
  border: 1px solid #b78aed;
  border-radius: 0 0 8px 8px;
  margin-bottom: 12px;
  padding: 12px;
}

.validation-notice {
  background: #fff1f2;
  border: 1px solid #ff9aa8;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #9f1239;
  margin-bottom: 12px;
  padding: 10px 12px;
}

.validation-notice strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 4px;
}

.validation-notice ul {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  list-style-position: inside;
  margin: 0;
  padding: 0;
}

.result-panel {
  border-radius: 8px;
  overflow: hidden;
}

.section-title {
  align-items: center;
  display: flex;
  font-weight: 800;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mode-tabs {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 12px;
  padding: 4px;
  width: min(100%, 260px);
}

.mode-tab {
  align-items: center;
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  min-height: 34px;
  padding: 0 14px;
  text-decoration: none;
  white-space: nowrap;
}

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

.mode-tab.is-active {
  background: linear-gradient(180deg, #fff8e1, #f3c85b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 5px 14px rgba(0, 0, 0, 0.12);
  color: #21180a;
}

body[data-theme^="luxury-"] .mode-tabs {
  background: rgba(7, 8, 8, 0.94);
  border-color: rgba(200, 162, 74, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

body[data-theme^="luxury-"] .mode-tab {
  color: rgba(255, 248, 232, 0.68);
}

body[data-theme^="luxury-"] .mode-tab:hover {
  color: #fff8e8;
}

body[data-theme^="luxury-"] .mode-tab.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 48%),
    linear-gradient(135deg, #f8d887, #c8a24a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 0 18px rgba(200, 162, 74, 0.18);
  color: #0d0e0e;
}

.muted {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.input-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.counter-block {
  background: linear-gradient(180deg, #ffffff 0, #f7fafc 100%);
  border: 1px solid #9b72e7;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(91, 33, 182, 0.08);
  padding: 10px;
}

.counter-block:focus-within {
  border-color: #7c3aed;
  box-shadow:
    0 0 0 3px rgba(124, 58, 237, 0.16),
    0 3px 12px rgba(91, 33, 182, 0.12);
}

.counter-block.wide {
  grid-column: 1 / -1;
}

.counter-block label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.number-line {
  align-items: center;
  border-bottom: 2px solid #9b72e7;
  display: flex;
  gap: 8px;
  min-height: 38px;
}

.number-line.compact {
  justify-content: center;
}

.number-line input {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  min-width: 0;
  outline: 0;
  text-align: center;
  width: 100%;
}

.small-reset {
  background: #ede4ff;
  border: 1px solid #b78aed;
  border-radius: 5px;
  color: #5b21b6;
  font-size: 12px;
  font-weight: 800;
  min-height: 28px;
  padding: 0 9px;
  white-space: nowrap;
}

.small-reset:hover,
.small-reset:active {
  background: #ddd0ff;
}

.step-grid {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 9px;
}

.step-grid.short {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 230px;
}

.grape-count .step-grid.short {
  grid-template-columns: repeat(6, minmax(42px, 58px));
  max-width: 388px;
}

.grape-count .step-grid.short button {
  font-size: 13px;
  min-height: 32px;
  padding: 0 5px;
}

.step-grid button,
.two-buttons button {
  background: #cfeaff;
  border: 1px solid #acd9f8;
  border-radius: 6px;
  color: #005c9d;
  font-weight: 800;
  min-height: 38px;
}

.two-buttons {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 42px));
  justify-content: center;
  margin-top: 9px;
}

.two-buttons .minus,
.step-grid button[data-step*="-"] {
  background: var(--red-soft);
  border-color: #f5b5c4;
  color: #b21d42;
}

.grape-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 6px;
}

.grape-head label {
  margin: 0;
}

.check-row {
  align-items: center;
  color: #26313d;
  display: flex !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  gap: 5px;
}

.check-row input {
  width: 18px;
  height: 18px;
}

.hidden {
  display: none !important;
}

.diff-area {
  display: grid;
  gap: 8px;
}

.sign-toggle {
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 44px));
  overflow: hidden;
  width: max-content;
}

.sign-toggle button {
  background: #fff;
  color: #26313d;
  font-weight: 900;
  min-height: 36px;
}

.sign-toggle button.active {
  background: #1377d4;
  color: #fff;
}

.unit {
  color: var(--muted);
  font-weight: 700;
  min-width: 24px;
}

.chart-area {
  padding: 12px 12px 8px;
}

.vertical-chart {
  align-items: end;
  background: linear-gradient(180deg, #fbf7ff 0%, #f0e4ff 100%);
  border: 1px solid #b78aed;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  height: 138px;
  padding: 8px 8px 10px;
}

.bar-item {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  justify-content: end;
  min-width: 0;
}

.bar-percent {
  color: #17202a;
  font-size: 11px;
  font-weight: 800;
  min-height: 14px;
}

.bar {
  background: #9da8b2;
  border-radius: 5px 5px 0 0;
  min-height: 5px;
  width: min(34px, 72%);
}

.bar.best {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(233, 48, 48, 0.2);
}

.best-item .bar-percent,
.best-item .bar-label {
  color: #cf1f2f;
}

.bar-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  min-height: 12px;
  white-space: nowrap;
}

.band-row {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.band-row div,
.metric-strip div,
.comment-grid div,
.compact-table div {
  background: #f0f3f6;
  border: 1px solid #d6dde5;
  border-radius: 7px;
}

.band-row .band-low {
  background: var(--blue-soft);
  border-color: var(--blue-line);
}

.band-row .band-low strong {
  color: #111827;
}

.band-row .band-mid {
  background: var(--yellow-soft);
  border-color: var(--yellow-line);
}

.band-row .band-mid strong {
  color: #111827;
}

.band-row div.is-band-top strong {
  color: #d91f3c;
}

.band-row .band-high,
.metric-strip div.is-hot {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.36)) padding-box,
    linear-gradient(135deg, #ff2f4f 0%, #ff9f1c 20%, #ffe45c 40%, #2ac769 58%, #2794ff 78%, #b653ff 100%) border-box;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.54);
}

.band-row .band-high strong,
.metric-strip div.is-hot strong {
  color: #111827;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 8px rgba(255, 255, 255, 0.58);
}

.metric-strip .metric-setting,
.metric-strip .metric-rate,
.metric-strip .metric-hourly,
.metric-strip .metric-jag {
  background: #eaf0f6;
  border-color: #bfccd9;
}

.metric-strip .metric-setting strong,
.metric-rate strong,
.metric-hourly strong,
.metric-jag strong {
  color: #111827;
}

.metric-strip div.is-low {
  background: var(--blue-soft);
  border-color: var(--blue-line);
}

.metric-strip div.is-low strong {
  color: #111827;
}

.metric-strip div.is-mid {
  background: var(--yellow-soft);
  border-color: var(--yellow-line);
}

.metric-strip div.is-mid strong {
  color: #111827;
}

.band-row div,
.metric-strip div {
  padding: 8px;
  text-align: center;
}

.band-row span,
.metric-strip span,
.compact-table span,
.mini-label {
  color: #334155;
  display: block;
  font-size: 11px;
  font-weight: 900;
}

.band-row strong,
.metric-strip strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 3px;
}

.metric-strip {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 12px 8px;
}

.comment-grid {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 12px 8px;
}

.comment-grid .wide {
  grid-column: 1 / -1;
}

.comment-grid div {
  padding: 8px 9px;
}

.comment-grid .comment-strong {
  background: var(--strong-soft);
  border-color: var(--strong-line);
}

.comment-grid .comment-weak {
  background: var(--blue-soft);
  border-color: var(--blue-line);
}

.comment-grid .comment-strong p {
  color: #111827;
}

.comment-grid .comment-weak p {
  color: #111827;
}

.comment-grid .pro-advice {
  background: linear-gradient(180deg, #fbf7ff 0%, #f0e4ff 100%);
  border: 1px solid #b78aed;
  border-left: 5px solid #7c3aed;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.58),
    0 2px 10px rgba(91, 33, 182, 0.1);
}

.pro-advice .mini-label {
  color: #5b21b6;
}

.pro-advice p {
  color: #111827;
}

.pro-advice .advice-action {
  color: #d91f3c;
  display: block;
  font-weight: 900;
  margin-bottom: 4px;
}

.pro-advice .advice-action strong {
  color: #d91f3c;
  font-size: 13px;
}

.pro-advice .advice-reason {
  color: #111827;
  display: block;
}

.comment-grid p {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  margin: 3px 0 0;
  min-height: 32px;
}

.compact-table {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 12px 8px;
}

.compact-table div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 34px;
  padding: 7px 8px;
}

.compact-table strong {
  font-size: 13px;
}

@media (max-width: 560px) {
  .mode-tabs {
    width: 100%;
  }

  .mode-tab {
    font-size: 12px;
    min-height: 36px;
  }

  .app-shell {
    padding: 0;
  }

  .app-header,
  .input-panel,
  .validation-notice,
  .result-panel {
    border-radius: 0;
    box-shadow: none;
  }

  .input-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .counter-block {
    padding: 9px;
  }

  .step-grid {
    gap: 5px;
  }

  .step-grid button,
  .two-buttons button {
    min-height: 36px;
  }

  .grape-count .step-grid.short {
    gap: 5px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: none;
  }

  .grape-count .step-grid.short button {
    font-size: 12px;
    min-height: 32px;
    padding: 0 2px;
  }

  .grape-head {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }

  .vertical-chart {
    height: 124px;
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Slot-inspired lamp accents: glow only, no direct logo reproduction. */
body[data-theme^="luxury-"] {
  --lamp-blue: #6fd7ff;
  --lamp-blue-core: #d9f8ff;
  --lamp-pink: #ff5f97;
  --lamp-pink-core: #ffe3ef;
  --lamp-violet: #7d6dff;
  --lamp-glow-blue: rgba(111, 215, 255, 0.28);
  --lamp-glow-pink: rgba(255, 95, 151, 0.26);
  --corner-size: 24px;
}

body[data-theme^="luxury-"] .counter-block,
body[data-theme^="luxury-"] .vertical-chart,
body[data-theme^="luxury-"] .result-panel,
body[data-theme^="luxury-"] .input-panel {
  overflow: hidden;
}

body[data-theme^="luxury-"] .counter-block::after,
body[data-theme^="luxury-"] .vertical-chart::after,
body[data-theme^="luxury-"] .result-panel::after {
  background:
    linear-gradient(135deg, var(--accent) 0 1px, transparent 1px 100%),
    linear-gradient(225deg, var(--danger-accent) 0 1px, transparent 1px 100%);
  content: "";
  height: var(--corner-size);
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  width: var(--corner-size);
}

body[data-theme^="luxury-"] .input-panel::before,
body[data-theme^="luxury-"] .result-panel::before {
  background:
    radial-gradient(circle at 18% 0%, var(--lamp-glow-blue), transparent 28%),
    radial-gradient(circle at 82% 0%, var(--lamp-glow-pink), transparent 30%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  content: "";
  height: 1px;
  left: 18px;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
  right: 18px;
  top: 0;
}

body[data-theme^="luxury-"] .step-grid button,
body[data-theme^="luxury-"] .two-buttons button {
  border-radius: 11px;
  overflow: hidden;
  position: relative;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 120ms ease;
}

body[data-theme^="luxury-"] .step-grid button::before,
body[data-theme^="luxury-"] .two-buttons button::before {
  background:
    radial-gradient(ellipse at 50% 18%, var(--lamp-blue-core) 0%, var(--lamp-blue) 18%, rgba(125, 109, 255, 0.34) 46%, transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 54%);
  border-radius: inherit;
  content: "";
  inset: 1px;
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
}

body[data-theme^="luxury-"] .step-grid button::after,
body[data-theme^="luxury-"] .two-buttons button::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  content: "";
  height: 1px;
  left: 16%;
  opacity: 0.58;
  pointer-events: none;
  position: absolute;
  right: 16%;
  top: 7px;
}

body[data-theme^="luxury-"] .step-grid button,
body[data-theme^="luxury-"] .two-buttons button {
  color: #eafaff;
  text-shadow:
    0 0 8px rgba(111, 215, 255, 0.28),
    0 1px 0 rgba(0, 0, 0, 0.7);
}

body[data-theme^="luxury-"] .step-grid button:not([data-step*="-"]),
body[data-theme^="luxury-"] .two-buttons button:not(.minus) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.012)),
    radial-gradient(ellipse at 50% 0%, rgba(111, 215, 255, 0.2), transparent 70%),
    var(--plus-bg);
  border-color: color-mix(in srgb, var(--plus-line) 58%, var(--lamp-blue));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -10px 20px rgba(0, 0, 0, 0.18),
    0 0 14px rgba(111, 215, 255, 0.08),
    0 5px 12px rgba(0, 0, 0, 0.16);
}

body[data-theme^="luxury-"] .two-buttons .minus,
body[data-theme^="luxury-"] .step-grid button[data-step*="-"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.01)),
    radial-gradient(ellipse at 50% 0%, rgba(255, 95, 151, 0.2), transparent 70%),
    var(--minus-bg);
  border-color: color-mix(in srgb, var(--minus-line) 58%, var(--lamp-pink));
  color: #ffe8ef;
  text-shadow:
    0 0 9px rgba(255, 95, 151, 0.3),
    0 1px 0 rgba(0, 0, 0, 0.7);
}

body[data-theme^="luxury-"] .two-buttons .minus::before,
body[data-theme^="luxury-"] .step-grid button[data-step*="-"]::before {
  background:
    radial-gradient(ellipse at 50% 18%, var(--lamp-pink-core) 0%, var(--lamp-pink) 19%, rgba(229, 72, 77, 0.32) 48%, transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 54%);
  opacity: 0.43;
}

body[data-theme^="luxury-"] .step-grid button:hover,
body[data-theme^="luxury-"] .two-buttons button:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -10px 20px rgba(0, 0, 0, 0.16),
    0 0 18px var(--lamp-glow-blue),
    0 5px 14px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

body[data-theme^="luxury-"] .two-buttons .minus:hover,
body[data-theme^="luxury-"] .step-grid button[data-step*="-"]:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -10px 20px rgba(0, 0, 0, 0.16),
    0 0 18px var(--lamp-glow-pink),
    0 5px 14px rgba(0, 0, 0, 0.18);
}

body[data-theme^="luxury-"] .step-grid button:active,
body[data-theme^="luxury-"] .two-buttons button:active {
  transform: translateY(1px);
}

body[data-theme^="luxury-"] .small-reset {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.012)),
    radial-gradient(ellipse at 50% 0%, var(--accent-quiet), transparent 70%),
    var(--panel-deep);
  border-color: color-mix(in srgb, var(--accent) 62%, var(--card-line));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 12px var(--accent-quiet);
  color: var(--accent-soft);
}

body[data-theme^="luxury-"] .number-line {
  position: relative;
}

body[data-theme^="luxury-"] .number-line::after {
  background: linear-gradient(90deg, transparent, var(--accent), var(--lamp-blue), var(--danger-accent), transparent);
  bottom: -1px;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0.44;
  pointer-events: none;
  position: absolute;
  right: 0;
}

body[data-theme^="luxury-"] .theme-switcher button.active {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.28), transparent 54%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 86%, white), var(--accent));
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (max-width: 560px) {
  body[data-theme^="luxury-"] .step-grid button,
  body[data-theme^="luxury-"] .two-buttons button {
    border-radius: 9px;
  }

  body[data-theme^="luxury-"] .step-grid button::after,
  body[data-theme^="luxury-"] .two-buttons button::after {
    top: 6px;
  }
}

/* Premium rainbow only for hot metric panels. Keep it dark, glassy, and rare. */
body[data-theme^="luxury-"] .metric-strip div.is-hot {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 214, 96, 0.26), transparent 34%) padding-box,
    radial-gradient(circle at 82% 0%, rgba(111, 215, 255, 0.2), transparent 38%) padding-box,
    linear-gradient(135deg, rgba(88, 42, 22, 0.34), rgba(19, 20, 21, 0.94) 44%, rgba(28, 18, 36, 0.78)) padding-box,
    linear-gradient(
      120deg,
      #c8a24a 0%,
      #e5484d 18%,
      #b86cff 38%,
      #6fd7ff 58%,
      #4bd48a 76%,
      #f6d978 100%
    ) border-box;
  border: 2px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -18px 34px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 24px rgba(111, 215, 255, 0.09),
    0 10px 24px rgba(0, 0, 0, 0.24);
}

body[data-theme^="luxury-"] .metric-strip div.is-hot::before {
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(200, 162, 74, 0.92),
      rgba(229, 72, 77, 0.74),
      rgba(111, 215, 255, 0.82),
      transparent
    );
  height: 1px;
  left: 10px;
  opacity: 0.94;
  right: 10px;
}

body[data-theme^="luxury-"] .metric-strip div.is-hot::after {
  background: linear-gradient(135deg, transparent 0 24%, rgba(255, 255, 255, 0.1) 42%, transparent 58%);
  content: "";
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  position: absolute;
}

body[data-theme^="luxury-"] .metric-strip div.is-hot span,
body[data-theme^="luxury-"] .metric-strip div.is-hot strong {
  position: relative;
  z-index: 1;
}

body[data-theme^="luxury-"] .metric-strip div.is-hot span {
  color: rgba(255, 248, 232, 0.86);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.78),
    0 0 10px rgba(255, 248, 232, 0.1);
}

body[data-theme^="luxury-"] .metric-strip div.is-hot strong {
  color: #fff8e8;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.92),
    0 0 10px rgba(255, 248, 232, 0.16),
    0 0 18px rgba(111, 215, 255, 0.06);
}

body[data-theme="luxury-crimson"] .metric-strip div.is-hot {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 105, 131, 0.24), transparent 35%) padding-box,
    radial-gradient(circle at 82% 0%, rgba(200, 162, 74, 0.16), transparent 38%) padding-box,
    linear-gradient(135deg, rgba(72, 18, 28, 0.4), rgba(18, 13, 15, 0.96) 46%, rgba(34, 13, 30, 0.74)) padding-box,
    linear-gradient(120deg, #b91c2b 0%, #ff5f97 23%, #b86cff 44%, #6fd7ff 64%, #c8a24a 100%) border-box;
}

body[data-theme="luxury-navy"] .metric-strip div.is-hot {
  background:
    radial-gradient(circle at 16% 0%, rgba(111, 215, 255, 0.23), transparent 35%) padding-box,
    radial-gradient(circle at 84% 0%, rgba(200, 162, 74, 0.15), transparent 40%) padding-box,
    linear-gradient(135deg, rgba(15, 48, 66, 0.4), rgba(7, 16, 24, 0.96) 48%, rgba(31, 26, 54, 0.68)) padding-box,
    linear-gradient(120deg, #4aa3c7 0%, #6fd7ff 24%, #7d6dff 46%, #e5484d 68%, #c8a24a 100%) border-box;
}

body[data-theme="jobs"] {
  --bg: #f2f5f8;
  --panel: #ffffff;
  --line: #cfd8e3;
  --text: #101827;
  --muted: #526071;
  --red: #e62d36;
  --red-soft: #ffe2e7;
  --blue-soft: #e5f2ff;
  --blue-line: #7db7ee;
  --yellow-soft: #fff0c6;
  --yellow-line: #e4b13e;
  --strong-soft: #ffe1e5;
  --strong-line: #ef5b68;
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
  background:
    linear-gradient(180deg, #fbfcfe 0, #eef3f8 230px),
    var(--bg);
}

body[data-theme="jobs"] .app-header {
  background: linear-gradient(135deg, #101827 0%, #213145 100%);
  border: 1px solid #182436;
  border-bottom: 0;
}

body[data-theme="jobs"] .theme-switcher {
  background: #ffffff;
  border-color: #d7dee8;
}

body[data-theme="jobs"] .theme-switcher button.active {
  background: #101827;
  border-color: #101827;
}

body[data-theme="jobs"] .input-panel,
body[data-theme="jobs"] .result-panel {
  background: #ffffff;
  border: 1px solid #d7dee8;
}

body[data-theme="jobs"] .input-panel {
  border-top: 0;
}

body[data-theme="jobs"] .counter-block,
body[data-theme="jobs"] .compact-table div {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: #c8d2df;
}

body[data-theme="jobs"] .counter-block {
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
}

body[data-theme="jobs"] .counter-block:focus-within {
  border-color: #2563eb;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.12),
    0 6px 18px rgba(15, 23, 42, 0.08);
}

body[data-theme="jobs"] .number-line {
  border-bottom-color: #b8c4d1;
}

body[data-theme="jobs"] .small-reset {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

body[data-theme="jobs"] .vertical-chart {
  background: #fbfcfe;
  border-color: #d7dee8;
}

body[data-theme="jobs"] .band-row .band-high,
body[data-theme="jobs"] .metric-strip div.is-hot {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48)) padding-box,
    linear-gradient(135deg, #e62d36 0%, #f59e0b 22%, #f8d24a 42%, #22c55e 60%, #0ea5e9 80%, #8b5cf6 100%) border-box;
  border: 2px solid transparent;
}

body[data-theme="jobs"] .comment-grid .pro-advice {
  background: linear-gradient(180deg, #faf7ff 0%, #f1e8ff 100%);
  border-color: #b995ef;
  border-left-color: #7c3aed;
}

body[data-theme="luxury"] {
  --bg: #e8e5de;
  --panel: #fffdf8;
  --line: #d7c99f;
  --text: #16130e;
  --muted: #675d4d;
  --red: #d92332;
  --red-soft: #f8dddd;
  --blue-soft: #e9edf4;
  --blue-line: #a8b2c2;
  --yellow-soft: #fbefce;
  --yellow-line: #c49a3c;
  --strong-soft: #f8dfd7;
  --strong-line: #b5533a;
  --shadow: 0 18px 46px rgba(37, 28, 13, 0.16);
  background:
    radial-gradient(circle at top, rgba(206, 169, 82, 0.2), transparent 260px),
    linear-gradient(180deg, #f7f2e8 0, #e8e5de 260px),
    var(--bg);
}

body[data-theme="luxury"] .app-header {
  background: linear-gradient(135deg, #100f0d 0%, #2b261b 58%, #17130d 100%);
  border: 1px solid #3f3420;
  border-bottom: 0;
  box-shadow: inset 0 1px 0 rgba(255, 236, 180, 0.16);
}

body[data-theme="luxury"] .ghost-button {
  background: rgba(201, 164, 76, 0.16);
  border-color: rgba(231, 203, 130, 0.56);
  color: #fff6d6;
}

body[data-theme="luxury"] .theme-switcher {
  background: #fffaf0;
  border-color: #d6bd71;
}

body[data-theme="luxury"] .theme-switcher button {
  background: #f7f0df;
  border-color: #d9c587;
  color: #4d3f23;
}

body[data-theme="luxury"] .theme-switcher button.active {
  background: linear-gradient(135deg, #21190d, #70551e);
  border-color: #b88a28;
  color: #fff1bd;
}

body[data-theme="luxury"] .input-panel,
body[data-theme="luxury"] .result-panel {
  background: #fffdf8;
  border: 1px solid #d6bd71;
}

body[data-theme="luxury"] .input-panel {
  border-top: 0;
}

body[data-theme="luxury"] .counter-block,
body[data-theme="luxury"] .vertical-chart,
body[data-theme="luxury"] .compact-table div {
  background: linear-gradient(180deg, #fffdf8 0%, #faf5e8 100%);
  border-color: #d3b765;
}

body[data-theme="luxury"] .counter-block {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 4px 16px rgba(79, 59, 20, 0.09);
}

body[data-theme="luxury"] .counter-block:focus-within {
  border-color: #b8871f;
  box-shadow:
    0 0 0 3px rgba(184, 135, 31, 0.18),
    0 8px 22px rgba(79, 59, 20, 0.12);
}

body[data-theme="luxury"] .number-line {
  border-bottom-color: #b9963d;
}

body[data-theme="luxury"] .small-reset {
  background: #21190d;
  border-color: #c9a44c;
  color: #fff1bd;
}

body[data-theme="luxury"] .step-grid button,
body[data-theme="luxury"] .two-buttons button {
  background: #f6e7bc;
  border-color: #d4aa4d;
  color: #5e3f00;
}

body[data-theme="luxury"] .two-buttons .minus,
body[data-theme="luxury"] .step-grid button[data-step*="-"] {
  background: #f4d9dd;
  border-color: #cf8d9b;
  color: #8f1731;
}

body[data-theme="luxury"] .band-row .band-high,
body[data-theme="luxury"] .metric-strip div.is-hot {
  background:
    linear-gradient(135deg, rgba(255, 252, 240, 0.88), rgba(255, 246, 217, 0.62)) padding-box,
    linear-gradient(135deg, #d92332 0%, #c58b19 28%, #f1cf65 52%, #fff3b0 70%, #a77c22 100%) border-box;
  border: 2px solid transparent;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    0 4px 14px rgba(154, 104, 18, 0.12);
}

body[data-theme="luxury"] .comment-grid .pro-advice {
  background: linear-gradient(180deg, #fff9e9 0%, #f4e6bd 100%);
  border-color: #c49a3c;
  border-left-color: #7a570f;
}

body[data-theme="luxury"] .pro-advice .mini-label {
  color: #6c4a08;
}

body[data-theme="stylish"] {
  --bg: #edf4fa;
  --panel: #fbfdff;
  --line: #bcd1e6;
  --text: #0b1220;
  --muted: #445469;
  --red: #ef2b37;
  --red-soft: #ffe0e5;
  --blue-soft: #dff1ff;
  --blue-line: #64b5f6;
  --yellow-soft: #ffefbd;
  --yellow-line: #f4b22a;
  --strong-soft: #ffe1e6;
  --strong-line: #ff4b63;
  --shadow: 0 16px 40px rgba(2, 12, 27, 0.12);
  background:
    linear-gradient(180deg, #f8fbff 0, #e9f2fb 250px),
    var(--bg);
}

body[data-theme="stylish"] .app-header {
  background: linear-gradient(135deg, #07111f 0%, #0c2238 54%, #07111f 100%);
  border: 1px solid #0d2a44;
  border-bottom: 0;
}

body[data-theme="stylish"] .theme-switcher {
  background: rgba(248, 251, 255, 0.96);
  border-color: #b7d9f7;
}

body[data-theme="stylish"] .theme-switcher button {
  background: #edf6ff;
  border-color: #b8dbfb;
  border-radius: 5px;
  color: #16415f;
}

body[data-theme="stylish"] .theme-switcher button.active {
  background: linear-gradient(135deg, #08345c, #0ea5e9);
  border-color: #0284c7;
  color: #ffffff;
}

body[data-theme="stylish"] .input-panel,
body[data-theme="stylish"] .result-panel {
  background: #fbfdff;
  border: 1px solid #b7d9f7;
}

body[data-theme="stylish"] .input-panel {
  border-top: 0;
}

body[data-theme="stylish"] .counter-block,
body[data-theme="stylish"] .vertical-chart,
body[data-theme="stylish"] .compact-table div {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  border-color: #afd4f6;
  border-radius: 6px;
}

body[data-theme="stylish"] .counter-block {
  box-shadow: 0 3px 14px rgba(14, 116, 144, 0.08);
}

body[data-theme="stylish"] .counter-block:focus-within {
  border-color: #0ea5e9;
  box-shadow:
    0 0 0 3px rgba(14, 165, 233, 0.15),
    0 8px 22px rgba(14, 116, 144, 0.12);
}

body[data-theme="stylish"] .number-line {
  border-bottom-color: #8ec8ef;
}

body[data-theme="stylish"] .small-reset {
  background: #e8f5ff;
  border-color: #9bd1f6;
  color: #075985;
}

body[data-theme="stylish"] .step-grid button,
body[data-theme="stylish"] .two-buttons button {
  background: #dff3ff;
  border-color: #a7dcfb;
  color: #075985;
}

body[data-theme="stylish"] .two-buttons .minus,
body[data-theme="stylish"] .step-grid button[data-step*="-"] {
  background: #ffe1e8;
  border-color: #ffb4c3;
  color: #be123c;
}

body[data-theme="stylish"] .band-row .band-high,
body[data-theme="stylish"] .metric-strip div.is-hot {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.42)) padding-box,
    linear-gradient(135deg, #ef2b37 0%, #f59e0b 18%, #ffe45c 36%, #10b981 56%, #06b6d4 76%, #6366f1 100%) border-box;
  border: 2px solid transparent;
}

body[data-theme="stylish"] .comment-grid .pro-advice {
  background: linear-gradient(180deg, #f4fbff 0%, #e1f3ff 100%);
  border-color: #7dd3fc;
  border-left-color: #0ea5e9;
}

body[data-theme="stylish"] .pro-advice .mini-label {
  color: #075985;
}

/* Reference-based premium redesign pass. Keep logic untouched; only the surface changes. */
body[data-theme] {
  background:
    linear-gradient(180deg, var(--page-top, #f8fafc) 0, var(--bg) 260px),
    var(--bg);
  letter-spacing: 0;
}

body[data-theme] .app-shell {
  padding: 20px 14px 34px;
  width: min(760px, 100%);
}

body[data-theme] .app-header {
  border-radius: 16px 16px 0 0;
  padding: 18px 20px;
}

body[data-theme] .app-header h1 {
  font-size: 22px;
  font-weight: 900;
}

body[data-theme] .eyebrow {
  font-size: 11px;
  opacity: 0.68;
}

body[data-theme] .ghost-button {
  border-radius: 999px;
  min-height: 36px;
  padding: 0 15px;
}

body[data-theme] .theme-switcher {
  border-left: 1px solid var(--outer-line);
  border-right: 1px solid var(--outer-line);
  border-top: 0;
  box-shadow: none;
  gap: 0;
  padding: 8px 10px;
}

body[data-theme] .theme-switcher button {
  border-radius: 0;
  font-size: 11px;
  min-height: 34px;
}

body[data-theme] .theme-switcher button:first-child {
  border-radius: 999px 0 0 999px;
}

body[data-theme] .theme-switcher button:last-child {
  border-radius: 0 999px 999px 0;
}

body[data-theme] .input-panel,
body[data-theme] .result-panel {
  border: 1px solid var(--outer-line);
  box-shadow: var(--premium-shadow);
}

body[data-theme] .input-panel {
  border-top: 0;
  border-radius: 0 0 16px 16px;
  margin-bottom: 14px;
  padding: 16px;
}

body[data-theme] .result-panel {
  border-radius: 16px;
}

body[data-theme] .section-title {
  margin-bottom: 14px;
}

body[data-theme] .section-title span:first-child {
  font-size: 18px;
  font-weight: 950;
}

body[data-theme] .muted {
  font-size: 12px;
}

body[data-theme] .input-grid {
  gap: 12px;
}

body[data-theme] .counter-block {
  border: 1px solid var(--card-line);
  border-radius: 12px;
  box-shadow: none;
  padding: 12px;
}

body[data-theme] .counter-block label {
  font-size: 12px;
}

body[data-theme] .number-line {
  border-bottom: 1px solid var(--number-line);
  min-height: 42px;
}

body[data-theme] .number-line input {
  font-size: 28px;
  font-weight: 850;
}

body[data-theme] .small-reset {
  border-radius: 999px;
  min-height: 30px;
  padding: 0 12px;
}

body[data-theme] .step-grid {
  gap: 8px;
  margin-top: 12px;
}

body[data-theme] .step-grid button,
body[data-theme] .two-buttons button {
  border-radius: 9px;
  box-shadow: none;
  min-height: 42px;
}

body[data-theme] .vertical-chart {
  border-radius: 14px;
  box-shadow: none;
  height: 146px;
  padding: 10px 10px 12px;
}

body[data-theme] .bar {
  background: var(--bar-bg);
  border-radius: 6px 6px 0 0;
}

body[data-theme] .bar.best {
  background: var(--red);
  box-shadow: 0 0 0 4px var(--best-glow);
}

body[data-theme] .band-row,
body[data-theme] .metric-strip,
body[data-theme] .comment-grid,
body[data-theme] .compact-table {
  gap: 8px;
}

body[data-theme] .band-row div,
body[data-theme] .metric-strip div,
body[data-theme] .comment-grid div,
body[data-theme] .compact-table div {
  border: 1px solid var(--card-line);
  border-radius: 10px;
  box-shadow: none;
}

body[data-theme] .band-row div,
body[data-theme] .metric-strip div {
  padding: 10px 8px;
}

body[data-theme] .band-row strong,
body[data-theme] .metric-strip strong {
  font-size: 20px;
}

body[data-theme] .band-row .band-high,
body[data-theme] .metric-strip div.is-hot {
  background: var(--hot-bg);
  border: 1px solid var(--hot-line);
  box-shadow: none;
}

body[data-theme] .band-row .band-high strong,
body[data-theme] .metric-strip div.is-hot strong {
  color: var(--hot-text);
  text-shadow: none;
}

body[data-theme] .metric-strip .metric-setting,
body[data-theme] .metric-strip .metric-rate,
body[data-theme] .metric-strip .metric-hourly,
body[data-theme] .metric-strip .metric-jag {
  background: var(--metric-bg);
  border-color: var(--card-line);
}

body[data-theme] .comment-grid .comment-strong {
  background: var(--strong-soft);
  border-color: var(--strong-line);
}

body[data-theme] .comment-grid .comment-weak,
body[data-theme] .band-row .band-low,
body[data-theme] .metric-strip div.is-low {
  background: var(--blue-soft);
  border-color: var(--blue-line);
}

body[data-theme] .band-row .band-mid,
body[data-theme] .metric-strip div.is-mid {
  background: var(--yellow-soft);
  border-color: var(--yellow-line);
}

body[data-theme] .comment-grid .pro-advice {
  border: 1px solid var(--advice-line);
  border-left: 5px solid var(--advice-accent);
  box-shadow: none;
}

body[data-theme] .compact-table {
  padding-bottom: 12px;
}

body[data-theme] .compact-table div {
  min-height: 38px;
}

body[data-theme="jobs"] {
  --page-top: #fbfcfd;
  --bg: #f1f4f7;
  --outer-line: #d9e0e8;
  --card-line: #dfe5ec;
  --number-line: #aeb9c6;
  --bar-bg: #b6c0ca;
  --best-glow: rgba(217, 31, 60, 0.14);
  --metric-bg: #ffffff;
  --hot-bg: #fff7f8;
  --hot-line: #ef9aa7;
  --hot-text: #111827;
  --advice-line: #d5c8f2;
  --advice-accent: #5b35b1;
  --premium-shadow: 0 18px 48px rgba(15, 23, 42, 0.09);
}

body[data-theme="jobs"] .app-header {
  background: #111827;
  border-color: #111827;
}

body[data-theme="jobs"] .theme-switcher {
  background: #ffffff;
}

body[data-theme="jobs"] .theme-switcher button {
  background: #f6f8fb;
  border-color: #dbe3ec;
  color: #475569;
}

body[data-theme="jobs"] .theme-switcher button.active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

body[data-theme="jobs"] .counter-block,
body[data-theme="jobs"] .vertical-chart,
body[data-theme="jobs"] .compact-table div {
  background: #ffffff;
}

body[data-theme="jobs"] .counter-block:focus-within {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

body[data-theme="jobs"] .step-grid button,
body[data-theme="jobs"] .two-buttons button {
  background: #eef8ff;
  border-color: #c6e3f8;
  color: #075985;
}

body[data-theme="jobs"] .two-buttons .minus,
body[data-theme="jobs"] .step-grid button[data-step*="-"] {
  background: #fff1f3;
  border-color: #f3c0ca;
  color: #a81434;
}

body[data-theme="jobs"] .comment-grid .pro-advice {
  background: #fbf9ff;
}

body[data-theme="luxury"] {
  --page-top: #101010;
  --bg: #0d0e0e;
  --panel: #151615;
  --line: #3d372b;
  --text: #f3efe6;
  --muted: #a59c8b;
  --red: #e5484d;
  --red-soft: #2a1718;
  --blue-soft: #171d22;
  --blue-line: #303a45;
  --yellow-soft: #241f15;
  --yellow-line: #6e5724;
  --yellow-text: #e6c56d;
  --strong-soft: #2a1718;
  --strong-line: #6f3033;
  --outer-line: #3d372b;
  --card-line: #363128;
  --number-line: #6d624f;
  --bar-bg: #625b51;
  --best-glow: rgba(229, 72, 77, 0.18);
  --metric-bg: #171817;
  --hot-bg: #251f15;
  --hot-line: #a88435;
  --hot-text: #f6d978;
  --advice-line: #4c3f28;
  --advice-accent: #c8a24a;
  --premium-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

body[data-theme="luxury"] .app-header {
  background: #080909;
  border-color: #3d372b;
  color: #f8f0d8;
}

body[data-theme="luxury"] .theme-switcher {
  background: #101111;
}

body[data-theme="luxury"] .theme-switcher button {
  background: #151615;
  border-color: #332e25;
  color: #a59c8b;
}

body[data-theme="luxury"] .theme-switcher button.active {
  background: #c8a24a;
  border-color: #c8a24a;
  color: #0d0e0e;
}

body[data-theme="luxury"] .input-panel,
body[data-theme="luxury"] .result-panel,
body[data-theme="luxury"] .counter-block,
body[data-theme="luxury"] .vertical-chart,
body[data-theme="luxury"] .compact-table div {
  background: #151615;
}

body[data-theme="luxury"] .counter-block:focus-within {
  border-color: #c8a24a;
  box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.14);
}

body[data-theme="luxury"] .number-line input,
body[data-theme="luxury"] .band-row strong,
body[data-theme="luxury"] .metric-strip strong,
body[data-theme="luxury"] .comment-grid p,
body[data-theme="luxury"] .compact-table strong {
  color: #f3efe6;
}

body[data-theme="luxury"] .band-row span,
body[data-theme="luxury"] .metric-strip span,
body[data-theme="luxury"] .compact-table span,
body[data-theme="luxury"] .mini-label,
body[data-theme="luxury"] .muted,
body[data-theme="luxury"] .check-row,
body[data-theme="luxury"] .bar-label {
  color: #a59c8b;
}

body[data-theme="luxury"] .bar-percent {
  color: #d8d0c0;
}

body[data-theme="luxury"] .best-item .bar-percent,
body[data-theme="luxury"] .best-item .bar-label {
  color: #ff6b71;
}

body[data-theme="luxury"] .small-reset,
body[data-theme="luxury"] .step-grid button,
body[data-theme="luxury"] .two-buttons button {
  background: #1b1d1e;
  border-color: #38414a;
  color: #d9e7ef;
}

body[data-theme="luxury"] .two-buttons .minus,
body[data-theme="luxury"] .step-grid button[data-step*="-"] {
  background: #2a1718;
  border-color: #6f3033;
  color: #ffb0b4;
}

body[data-theme="luxury"] .pro-advice .mini-label {
  color: #f6d978;
}

body[data-theme="luxury"] .pro-advice .advice-reason {
  color: #f3efe6;
}

body[data-theme="luxury"] .compact-table div {
  border-color: #302b23;
}

body[data-theme="stylish"] {
  --page-top: #ffffff;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --text: #07111f;
  --muted: #4b5a6d;
  --red: #e72b38;
  --red-soft: #fff0f2;
  --blue-soft: #eef6ff;
  --blue-line: #b9d9f5;
  --yellow-soft: #fff6db;
  --yellow-line: #e6c46a;
  --strong-soft: #fff0f2;
  --strong-line: #f2a0aa;
  --outer-line: #d7e0ea;
  --card-line: #e3eaf2;
  --number-line: #9fb0c4;
  --bar-bg: #aab5c2;
  --best-glow: rgba(231, 43, 56, 0.16);
  --metric-bg: #ffffff;
  --hot-bg: #07111f;
  --hot-line: #07111f;
  --hot-text: #ffffff;
  --advice-line: #b8c7ff;
  --advice-accent: #061a75;
  --premium-shadow: 0 20px 50px rgba(7, 17, 31, 0.08);
}

body[data-theme="stylish"] .app-header {
  background: #ffffff;
  border-color: #d7e0ea;
  color: #061a75;
}

body[data-theme="stylish"] .ghost-button {
  background: #061a75;
  border-color: #061a75;
  color: #ffffff;
}

body[data-theme="stylish"] .theme-switcher {
  background: #ffffff;
}

body[data-theme="stylish"] .theme-switcher button {
  background: #f8fafc;
  border-color: #e1e8f0;
  color: #475569;
}

body[data-theme="stylish"] .theme-switcher button.active {
  background: #061a75;
  border-color: #061a75;
  color: #ffffff;
}

body[data-theme="stylish"] .counter-block,
body[data-theme="stylish"] .vertical-chart,
body[data-theme="stylish"] .compact-table div {
  background: #ffffff;
}

body[data-theme="stylish"] .counter-block:focus-within {
  border-color: #061a75;
  box-shadow: 0 0 0 3px rgba(6, 26, 117, 0.1);
}

body[data-theme="stylish"] .step-grid button,
body[data-theme="stylish"] .two-buttons button {
  background: #f2f8ff;
  border-color: #c9e0f7;
  color: #075985;
}

body[data-theme="stylish"] .two-buttons .minus,
body[data-theme="stylish"] .step-grid button[data-step*="-"] {
  background: #fff0f2;
  border-color: #f1b5be;
  color: #ad1731;
}

body[data-theme="stylish"] .comment-grid .pro-advice {
  background: #ffffff;
}

body[data-theme="stylish"] .pro-advice .mini-label {
  color: #061a75;
}

@media (max-width: 560px) {
  body[data-theme] .app-shell {
    padding: 0 0 28px;
  }

  body[data-theme] .app-header,
  body[data-theme] .input-panel,
  body[data-theme] .result-panel {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
  }

  body[data-theme] .theme-switcher {
    border-left: 0;
    border-right: 0;
    padding: 7px 8px;
  }

  body[data-theme] .theme-switcher button {
    font-size: 10px;
    min-height: 32px;
  }

  body[data-theme] .input-panel {
    padding: 14px 12px;
  }

  body[data-theme] .number-line input {
    font-size: 27px;
  }

  body[data-theme] .vertical-chart {
    height: 132px;
  }
}

/* Luxury color variants. These are comparison palettes within the same premium route. */
body[data-theme^="luxury-"] {
  --panel: #151615;
  --line: #3a342b;
  --text: #f3efe6;
  --muted: #a59c8b;
  --red: #e5484d;
  --red-soft: #2a1718;
  --blue-soft: #171d22;
  --blue-line: #303a45;
  --yellow-soft: #241f15;
  --yellow-line: #6e5724;
  --strong-soft: #2a1718;
  --strong-line: #6f3033;
  --outer-line: #3d372b;
  --card-line: #363128;
  --number-line: #6d624f;
  --bar-bg: #625b51;
  --metric-bg: #171817;
  --premium-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  background:
    radial-gradient(circle at 50% -160px, var(--luxury-glow), transparent 310px),
    linear-gradient(180deg, var(--page-top) 0, var(--bg) 280px),
    var(--bg);
}

body[data-theme^="luxury-"] .app-header {
  background: var(--header-bg);
  border-color: var(--outer-line);
  color: var(--header-text);
}

body[data-theme^="luxury-"] .ghost-button {
  background: var(--ghost-bg);
  border-color: var(--accent);
  color: var(--accent-text);
}

body[data-theme^="luxury-"] .theme-switcher {
  background: var(--switcher-bg);
  border-color: var(--outer-line);
}

body[data-theme^="luxury-"] .theme-switcher button {
  background: var(--switcher-button);
  border-color: var(--card-line);
  color: var(--muted);
}

body[data-theme^="luxury-"] .theme-switcher button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}

body[data-theme^="luxury-"] .input-panel,
body[data-theme^="luxury-"] .result-panel,
body[data-theme^="luxury-"] .counter-block,
body[data-theme^="luxury-"] .vertical-chart,
body[data-theme^="luxury-"] .compact-table div {
  background: var(--panel);
}

body[data-theme^="luxury-"] .input-panel,
body[data-theme^="luxury-"] .result-panel {
  border-color: var(--outer-line);
}

body[data-theme^="luxury-"] .counter-block,
body[data-theme^="luxury-"] .vertical-chart,
body[data-theme^="luxury-"] .band-row div,
body[data-theme^="luxury-"] .metric-strip div,
body[data-theme^="luxury-"] .comment-grid div,
body[data-theme^="luxury-"] .compact-table div {
  border-color: var(--card-line);
}

body[data-theme^="luxury-"] .counter-block:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

body[data-theme^="luxury-"] .number-line {
  border-bottom-color: var(--number-line);
}

body[data-theme^="luxury-"] .number-line input,
body[data-theme^="luxury-"] .band-row strong,
body[data-theme^="luxury-"] .metric-strip strong,
body[data-theme^="luxury-"] .comment-grid p,
body[data-theme^="luxury-"] .compact-table strong {
  color: var(--text);
}

body[data-theme^="luxury-"] .band-row span,
body[data-theme^="luxury-"] .metric-strip span,
body[data-theme^="luxury-"] .compact-table span,
body[data-theme^="luxury-"] .mini-label,
body[data-theme^="luxury-"] .muted,
body[data-theme^="luxury-"] .check-row,
body[data-theme^="luxury-"] .bar-label {
  color: var(--muted);
}

body[data-theme^="luxury-"] .bar {
  background: var(--bar-bg);
}

body[data-theme^="luxury-"] .bar.best {
  background: var(--red);
  box-shadow: 0 0 0 4px var(--best-glow);
}

body[data-theme^="luxury-"] .bar-percent {
  color: var(--bar-percent);
}

body[data-theme^="luxury-"] .best-item .bar-percent,
body[data-theme^="luxury-"] .best-item .bar-label {
  color: var(--best-label);
}

body[data-theme^="luxury-"] .small-reset,
body[data-theme^="luxury-"] .step-grid button,
body[data-theme^="luxury-"] .two-buttons button {
  background: var(--plus-bg);
  border-color: var(--plus-line);
  color: var(--plus-text);
}

body[data-theme^="luxury-"] .two-buttons .minus,
body[data-theme^="luxury-"] .step-grid button[data-step*="-"] {
  background: var(--minus-bg);
  border-color: var(--minus-line);
  color: var(--minus-text);
}

body[data-theme^="luxury-"] .metric-strip .metric-setting,
body[data-theme^="luxury-"] .metric-strip .metric-rate,
body[data-theme^="luxury-"] .metric-strip .metric-hourly,
body[data-theme^="luxury-"] .metric-strip .metric-jag {
  background: var(--metric-bg);
  border-color: var(--card-line);
}

body[data-theme^="luxury-"] .band-row .band-low,
body[data-theme^="luxury-"] .metric-strip div.is-low,
body[data-theme^="luxury-"] .comment-grid .comment-weak {
  background: var(--low-bg);
  border-color: var(--low-line);
}

body[data-theme^="luxury-"] .band-row .band-mid,
body[data-theme^="luxury-"] .metric-strip div.is-mid {
  background: var(--mid-bg);
  border-color: var(--mid-line);
}

body[data-theme^="luxury-"] .band-row .band-high,
body[data-theme^="luxury-"] .metric-strip div.is-hot {
  background: var(--hot-bg);
  border-color: var(--hot-line);
}

body[data-theme^="luxury-"] .band-row .band-high strong,
body[data-theme^="luxury-"] .metric-strip div.is-hot strong {
  color: var(--hot-text);
}

body[data-theme^="luxury-"] .comment-grid .comment-strong {
  background: var(--strong-soft);
  border-color: var(--strong-line);
}

body[data-theme^="luxury-"] .comment-grid .pro-advice {
  background: var(--advice-bg);
  border-color: var(--advice-line);
  border-left-color: var(--accent);
}

body[data-theme^="luxury-"] .pro-advice .mini-label {
  color: var(--accent-soft);
}

body[data-theme^="luxury-"] .pro-advice .advice-reason {
  color: var(--text);
}

body[data-theme="luxury-gold"] {
  --page-top: #101010;
  --bg: #0d0e0e;
  --header-bg: #080909;
  --header-text: #f8f0d8;
  --switcher-bg: #101111;
  --switcher-button: #151615;
  --accent: #c8a24a;
  --accent-soft: #f6d978;
  --accent-text: #fff0c5;
  --accent-on: #0d0e0e;
  --ghost-bg: rgba(200, 162, 74, 0.08);
  --focus-ring: rgba(200, 162, 74, 0.14);
  --luxury-glow: rgba(200, 162, 74, 0.16);
  --best-glow: rgba(229, 72, 77, 0.18);
  --bar-percent: #d8d0c0;
  --best-label: #ff6b71;
  --plus-bg: #1b1d1e;
  --plus-line: #38414a;
  --plus-text: #d9e7ef;
  --minus-bg: #2a1718;
  --minus-line: #6f3033;
  --minus-text: #ffb0b4;
  --low-bg: #171d22;
  --low-line: #303a45;
  --mid-bg: #241f15;
  --mid-line: #6e5724;
  --hot-bg: #251f15;
  --hot-line: #a88435;
  --hot-text: #f6d978;
  --advice-bg: #17130d;
  --advice-line: #4c3f28;
}

body[data-theme="luxury-crimson"] {
  --page-top: #11090b;
  --bg: #0b0b0d;
  --panel: #151113;
  --header-bg: #080607;
  --header-text: #fff0f2;
  --switcher-bg: #100c0d;
  --switcher-button: #171113;
  --accent: #b91c2b;
  --accent-soft: #ff8b96;
  --accent-text: #ffd9de;
  --accent-on: #fff6f7;
  --ghost-bg: rgba(185, 28, 43, 0.12);
  --focus-ring: rgba(185, 28, 43, 0.18);
  --luxury-glow: rgba(185, 28, 43, 0.18);
  --outer-line: #46262b;
  --card-line: #3a2528;
  --number-line: #75434a;
  --bar-bg: #64575a;
  --red: #ff4455;
  --best-glow: rgba(255, 68, 85, 0.18);
  --bar-percent: #d9c8cb;
  --best-label: #ff7b86;
  --plus-bg: #17191d;
  --plus-line: #343b45;
  --plus-text: #dbe8f0;
  --minus-bg: #2a1015;
  --minus-line: #7a2532;
  --minus-text: #ffadb6;
  --low-bg: #171b20;
  --low-line: #313944;
  --mid-bg: #241b14;
  --mid-line: #674822;
  --hot-bg: #2b1116;
  --hot-line: #b91c2b;
  --hot-text: #ffb8bf;
  --strong-soft: #2a1015;
  --strong-line: #7a2532;
  --advice-bg: #170d10;
  --advice-line: #5a252d;
}

body[data-theme="luxury-navy"] {
  --page-top: #07111b;
  --bg: #071018;
  --panel: #0f1720;
  --header-bg: #050b11;
  --header-text: #eaf6ff;
  --switcher-bg: #09131c;
  --switcher-button: #101a24;
  --accent: #4aa3c7;
  --accent-soft: #9bddf7;
  --accent-text: #d8f4ff;
  --accent-on: #041018;
  --ghost-bg: rgba(74, 163, 199, 0.12);
  --focus-ring: rgba(74, 163, 199, 0.17);
  --luxury-glow: rgba(74, 163, 199, 0.16);
  --outer-line: #244050;
  --card-line: #213644;
  --number-line: #426577;
  --bar-bg: #53636c;
  --red: #e5525f;
  --best-glow: rgba(229, 82, 95, 0.16);
  --bar-percent: #c9d9df;
  --best-label: #ff7d88;
  --plus-bg: #101d26;
  --plus-line: #294d60;
  --plus-text: #c9f0ff;
  --minus-bg: #281317;
  --minus-line: #6d333c;
  --minus-text: #ffb7bf;
  --low-bg: #101d26;
  --low-line: #294d60;
  --mid-bg: #211f15;
  --mid-line: #675c2a;
  --hot-bg: #102331;
  --hot-line: #4aa3c7;
  --hot-text: #bdefff;
  --strong-soft: #281317;
  --strong-line: #6d333c;
  --advice-bg: #0c1821;
  --advice-line: #244f65;
}

body[data-theme="luxury-rainbow-text"] {
  --rainbow-text-gradient: linear-gradient(90deg, #ff1a00 0%, #ff8a00 12%, #fff700 24%, #45ff00 37%, #00ff84 50%, #00e5ff 63%, #0062ff 76%, #8a00ff 88%, #ff007a 100%);
  --rainbow-border-gradient: linear-gradient(120deg, #ff1a00 0%, #ff8a00 13%, #fff700 25%, #45ff00 38%, #00ff84 51%, #00e5ff 64%, #0062ff 77%, #8a00ff 89%, #ff007a 100%);
  --page-top: #101010;
  --bg: #0d0e0e;
  --header-bg: #080909;
  --header-text: #f8f0d8;
  --switcher-bg: #101111;
  --switcher-button: #151615;
  --accent: #c8a24a;
  --accent-soft: #f6d978;
  --accent-text: #fff0c5;
  --accent-on: #0d0e0e;
  --ghost-bg: rgba(200, 162, 74, 0.08);
  --focus-ring: rgba(111, 215, 255, 0.16);
  --luxury-glow: rgba(111, 215, 255, 0.14);
  --best-glow: rgba(229, 72, 77, 0.18);
  --bar-percent: #d8d0c0;
  --best-label: #ff6b71;
  --plus-bg: #1b1d1e;
  --plus-line: #38414a;
  --plus-text: #d9e7ef;
  --minus-bg: #2a1718;
  --minus-line: #6f3033;
  --minus-text: #ffb0b4;
  --low-bg: #171d22;
  --low-line: #303a45;
  --mid-bg: #241f15;
  --mid-line: #6e5724;
  --hot-bg: #070809;
  --hot-line: #39444b;
  --hot-text: #fff8e8;
  --advice-bg: #17130d;
  --advice-line: #4c3f28;
}

/* Premium detail polish for the black luxury route. */
body[data-theme^="luxury-"] {
  --panel-top: #191a19;
  --panel-bottom: #111211;
  --panel-deep: #0b0c0c;
  --hairline: rgba(255, 255, 255, 0.07);
  --soft-sheen: rgba(255, 255, 255, 0.045);
  --danger-accent: #e5484d;
  --danger-glow: rgba(229, 72, 77, 0.18);
  --field-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

body[data-theme="luxury-gold"] {
  --header-bg: #070808;
  --header-lift: #18150e;
  --panel-top: #191918;
  --panel-bottom: #101111;
  --panel-deep: #090a0a;
  --danger-accent: #e5484d;
  --danger-glow: rgba(229, 72, 77, 0.19);
  --accent-quiet: rgba(200, 162, 74, 0.16);
}

body[data-theme="luxury-crimson"] {
  --header-lift: #1b0c10;
  --panel-top: #181315;
  --panel-bottom: #100c0d;
  --panel-deep: #090708;
  --danger-accent: #ff4052;
  --danger-glow: rgba(255, 64, 82, 0.22);
  --accent-quiet: rgba(185, 28, 43, 0.18);
}

body[data-theme="luxury-navy"] {
  --header-lift: #0c2230;
  --panel-top: #111b24;
  --panel-bottom: #0b141c;
  --panel-deep: #061018;
  --danger-accent: #e5525f;
  --danger-glow: rgba(229, 82, 95, 0.18);
  --accent-quiet: rgba(74, 163, 199, 0.18);
}

body[data-theme="luxury-rainbow-text"] {
  --header-lift: #151415;
  --panel-top: #191918;
  --panel-bottom: #101111;
  --panel-deep: #090a0a;
  --danger-accent: #e5484d;
  --danger-glow: rgba(229, 72, 77, 0.19);
  --accent-quiet: rgba(111, 215, 255, 0.14);
}

body[data-theme^="luxury-"] .app-shell {
  padding-top: 18px;
}

body[data-theme^="luxury-"] .app-header {
  background:
    linear-gradient(135deg, var(--header-bg) 0%, var(--header-lift) 58%, var(--header-bg) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 var(--hairline),
    inset 0 -1px 0 rgba(0, 0, 0, 0.62),
    0 18px 44px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  position: relative;
}

body[data-theme^="luxury-"] .app-header::before {
  background: linear-gradient(90deg, transparent, var(--accent), var(--danger-accent), transparent);
  content: "";
  height: 1px;
  left: 18px;
  opacity: 0.74;
  position: absolute;
  right: 18px;
  top: 0;
}

body[data-theme^="luxury-"] .app-header::after {
  background: radial-gradient(circle at 28% 0%, var(--accent-quiet), transparent 42%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

body[data-theme^="luxury-"] .brand-lockup,
body[data-theme^="luxury-"] .ghost-button {
  position: relative;
  z-index: 1;
}

.brand-lockup {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.01)),
    var(--panel-deep, #111);
  border: 1px solid var(--accent, #c8a24a);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 var(--hairline, rgba(255, 255, 255, 0.08)),
    0 0 18px var(--accent-quiet, rgba(200, 162, 74, 0.14));
  color: var(--accent-soft, #f6d978);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 950;
  height: 42px;
  justify-content: center;
}

.header-subcopy {
  color: var(--accent-soft, #f6d978);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 5px 0 0;
  opacity: 0.78;
}

body[data-theme^="luxury-"] .ghost-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.18);
  box-shadow:
    inset 0 1px 0 var(--hairline),
    0 0 0 1px rgba(0, 0, 0, 0.28);
}

body[data-theme^="luxury-"] .theme-switcher {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--switcher-bg);
  box-shadow:
    inset 0 1px 0 var(--hairline),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45);
  padding: 10px 12px;
}

body[data-theme^="luxury-"] .theme-switcher button {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  letter-spacing: 0.02em;
}

body[data-theme^="luxury-"] .theme-switcher button.active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 18px var(--accent-quiet);
  font-weight: 950;
}

body[data-theme^="luxury-"] .input-panel,
body[data-theme^="luxury-"] .result-panel {
  background:
    linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
  box-shadow:
    inset 0 1px 0 var(--hairline),
    0 22px 54px rgba(0, 0, 0, 0.28);
}

body[data-theme^="luxury-"] .section-title {
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  padding-bottom: 10px;
}

body[data-theme^="luxury-"] .section-title span:first-child {
  color: var(--text);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.42);
}

body[data-theme^="luxury-"] .counter-block,
body[data-theme^="luxury-"] .vertical-chart,
body[data-theme^="luxury-"] .band-row div,
body[data-theme^="luxury-"] .metric-strip div,
body[data-theme^="luxury-"] .comment-grid div,
body[data-theme^="luxury-"] .compact-table div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006)),
    var(--panel-bottom);
  box-shadow:
    inset 0 1px 0 var(--hairline),
    0 8px 22px rgba(0, 0, 0, 0.13);
  overflow: hidden;
  position: relative;
}

body[data-theme^="luxury-"] .counter-block::before,
body[data-theme^="luxury-"] .metric-strip div::before,
body[data-theme^="luxury-"] .comment-grid div::before {
  background: linear-gradient(90deg, var(--accent), transparent 58%);
  content: "";
  height: 1px;
  left: 12px;
  opacity: 0.56;
  position: absolute;
  right: 12px;
  top: 0;
}

body[data-theme^="luxury-"] .counter-block label,
body[data-theme^="luxury-"] .mini-label,
body[data-theme^="luxury-"] .band-row span,
body[data-theme^="luxury-"] .metric-strip span,
body[data-theme^="luxury-"] .compact-table span {
  letter-spacing: 0.01em;
}

body[data-theme^="luxury-"] .number-line {
  background: linear-gradient(180deg, transparent 70%, rgba(255, 255, 255, 0.025));
}

body[data-theme^="luxury-"] .number-line input {
  color: #fff8ec;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.8),
    0 0 18px rgba(255, 255, 255, 0.05);
}

body[data-theme^="luxury-"] .small-reset,
body[data-theme^="luxury-"] .step-grid button,
body[data-theme^="luxury-"] .two-buttons button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.012)),
    var(--plus-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 10px rgba(0, 0, 0, 0.14);
}

body[data-theme^="luxury-"] .two-buttons .minus,
body[data-theme^="luxury-"] .step-grid button[data-step*="-"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.01)),
    var(--minus-bg);
}

body[data-theme^="luxury-"] .vertical-chart {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.005)),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(255, 255, 255, 0.032) 28px),
    var(--panel-bottom);
}

body[data-theme^="luxury-"] .bar {
  background: linear-gradient(180deg, #7e776d, #514c45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body[data-theme^="luxury-"] .bar.best {
  background: linear-gradient(180deg, #ff5a63, var(--danger-accent));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 4px var(--danger-glow),
    0 0 18px var(--danger-glow);
}

body[data-theme^="luxury-"] .bar.best.best-setting-6 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02) 26%, rgba(0, 0, 0, 0.16)) padding-box,
    linear-gradient(180deg, rgba(28, 21, 31, 0.18), rgba(20, 20, 22, 0.42)) padding-box,
    linear-gradient(120deg, #c8a24a 0%, #e5484d 18%, #b86cff 38%, #6fd7ff 58%, #4bd48a 76%, #f6d978 100%) border-box;
  border: 2px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -13px 18px rgba(0, 0, 0, 0.18),
    0 0 0 4px rgba(246, 217, 120, 0.1),
    0 0 18px rgba(111, 215, 255, 0.16),
    0 0 24px rgba(229, 72, 77, 0.12);
}

body[data-theme^="luxury-"] .best-item .bar-percent,
body[data-theme^="luxury-"] .best-item .bar-label {
  color: #ff7b84;
}

body[data-theme^="luxury-"] .best-item.best-setting-6 .bar-percent,
body[data-theme^="luxury-"] .best-item.best-setting-6 .bar-label {
  color: #fff8e8;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.9),
    0 0 10px rgba(255, 248, 232, 0.14),
    0 0 16px rgba(111, 215, 255, 0.07);
}

body[data-theme^="luxury-"] .band-row .band-high,
body[data-theme^="luxury-"] .metric-strip div.is-hot {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.006)),
    linear-gradient(135deg, var(--hot-bg), rgba(229, 72, 77, 0.11));
  border-color: color-mix(in srgb, var(--hot-line) 78%, var(--danger-accent));
}

body[data-theme^="luxury-"] .metric-strip div.is-hot::before,
body[data-theme^="luxury-"] .band-row .band-high::before {
  background: linear-gradient(90deg, var(--accent), var(--danger-accent), transparent 72%);
}

body[data-theme^="luxury-"] .band-row .band-high {
  background: var(--strong-soft);
  border-color: var(--strong-line);
}

body[data-theme^="luxury-"] .band-row .band-high::before {
  background: linear-gradient(90deg, var(--danger-accent), transparent 68%);
}

body[data-theme^="luxury-"] .band-row .band-high span {
  color: rgba(255, 235, 236, 0.72);
}

body[data-theme^="luxury-"] .band-row .band-high strong {
  color: #fff7f7;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.72),
    0 0 14px rgba(229, 72, 77, 0.16);
}

/* Final override: premium rainbow for hot metric panels after all luxury rules. */
body[data-theme^="luxury-"] .metric-strip div.is-hot {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 214, 96, 0.26), transparent 34%) padding-box,
    radial-gradient(circle at 82% 0%, rgba(111, 215, 255, 0.2), transparent 38%) padding-box,
    linear-gradient(135deg, rgba(88, 42, 22, 0.34), rgba(19, 20, 21, 0.94) 44%, rgba(28, 18, 36, 0.78)) padding-box,
    linear-gradient(120deg, #c8a24a 0%, #e5484d 18%, #b86cff 38%, #6fd7ff 58%, #4bd48a 76%, #f6d978 100%) border-box;
  border: 2px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -18px 34px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 24px rgba(111, 215, 255, 0.09),
    0 10px 24px rgba(0, 0, 0, 0.24);
}

body[data-theme^="luxury-"] .metric-strip div.is-hot::before {
  background: linear-gradient(90deg, transparent, rgba(200, 162, 74, 0.92), rgba(229, 72, 77, 0.74), rgba(111, 215, 255, 0.82), transparent);
  height: 1px;
  left: 10px;
  opacity: 0.94;
  right: 10px;
}

body[data-theme^="luxury-"] .metric-strip div.is-hot::after {
  background: linear-gradient(135deg, transparent 0 24%, rgba(255, 255, 255, 0.1) 42%, transparent 58%);
  content: "";
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  position: absolute;
}

body[data-theme^="luxury-"] .metric-strip div.is-hot span,
body[data-theme^="luxury-"] .metric-strip div.is-hot strong {
  position: relative;
  z-index: 1;
}

body[data-theme^="luxury-"] .metric-strip div.is-hot span {
  color: rgba(255, 248, 232, 0.86);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.78),
    0 0 10px rgba(255, 248, 232, 0.1);
}

body[data-theme^="luxury-"] .metric-strip div.is-hot strong {
  color: #fff8e8;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.92),
    0 0 10px rgba(255, 248, 232, 0.16),
    0 0 18px rgba(111, 215, 255, 0.06);
}

body[data-theme="luxury-crimson"] .metric-strip div.is-hot {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 105, 131, 0.24), transparent 35%) padding-box,
    radial-gradient(circle at 82% 0%, rgba(200, 162, 74, 0.16), transparent 38%) padding-box,
    linear-gradient(135deg, rgba(72, 18, 28, 0.4), rgba(18, 13, 15, 0.96) 46%, rgba(34, 13, 30, 0.74)) padding-box,
    linear-gradient(120deg, #b91c2b 0%, #ff5f97 23%, #b86cff 44%, #6fd7ff 64%, #c8a24a 100%) border-box;
}

body[data-theme="luxury-navy"] .metric-strip div.is-hot {
  background:
    radial-gradient(circle at 16% 0%, rgba(111, 215, 255, 0.23), transparent 35%) padding-box,
    radial-gradient(circle at 84% 0%, rgba(200, 162, 74, 0.15), transparent 40%) padding-box,
    linear-gradient(135deg, rgba(15, 48, 66, 0.4), rgba(7, 16, 24, 0.96) 48%, rgba(31, 26, 54, 0.68)) padding-box,
    linear-gradient(120deg, #4aa3c7 0%, #6fd7ff 24%, #7d6dff 46%, #e5484d 68%, #c8a24a 100%) border-box;
}

body[data-theme="luxury-rainbow-text"] .metric-strip div.is-hot {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.006)) padding-box,
    linear-gradient(135deg, #101214 0%, #050607 54%, #111318 100%) padding-box,
    var(--rainbow-border-gradient) border-box;
  border: 2px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -16px 28px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 22px rgba(0, 229, 255, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.24);
}

body[data-theme="luxury-rainbow-text"] .bar.best.best-setting-6 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.018) 30%, rgba(0, 0, 0, 0.18)) padding-box,
    linear-gradient(135deg, rgba(16, 18, 20, 0.28), rgba(5, 6, 7, 0.44) 56%, rgba(17, 19, 24, 0.34)) padding-box,
    var(--rainbow-border-gradient) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -13px 18px rgba(0, 0, 0, 0.22),
    0 0 0 4px rgba(255, 111, 122, 0.12),
    0 0 18px rgba(111, 215, 255, 0.2),
    0 0 24px rgba(246, 217, 120, 0.13);
}

body[data-theme="luxury-rainbow-text"] .metric-strip div.is-hot span,
body[data-theme="luxury-rainbow-text"] .metric-strip div.is-hot strong,
body[data-theme="luxury-rainbow-text"] .best-item.best-setting-6 .bar-percent,
body[data-theme="luxury-rainbow-text"] .best-item.best-setting-6 .bar-label {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: var(--rainbow-text-gradient);
  color: transparent;
  filter: saturate(1.75) contrast(1.16) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.86)) drop-shadow(0 0 7px rgba(0, 229, 255, 0.14));
  text-shadow: none;
}

body[data-theme="luxury-rainbow-text"] .best-item.best-setting-6 .bar-percent,
body[data-theme="luxury-rainbow-text"] .best-item.best-setting-6 .bar-label {
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: #ff6b71;
  background-image: none;
  color: #ff6b71;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.92)) drop-shadow(0 0 6px rgba(255, 75, 86, 0.24));
  font-weight: 900;
  letter-spacing: 0;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 8px rgba(255, 75, 86, 0.22);
  z-index: 2;
}

body[data-theme="luxury-rainbow-text"] .best-item.best-setting-6 .bar-percent {
  font-size: 12px;
  line-height: 1.05;
  min-height: 15px;
}

body[data-theme="luxury-rainbow-text"] .best-item.best-setting-6 .bar-label {
  font-size: 12px;
  min-height: 13px;
}

body[data-theme="luxury-rainbow-text"] .metric-strip div.is-hot span {
  opacity: 1;
}

body[data-theme="luxury-rainbow-text"] .metric-strip div.is-hot strong {
  opacity: 1;
}

body[data-theme^="luxury-"] .metric-strip .metric-setting,
body[data-theme^="luxury-"] .metric-strip .metric-rate,
body[data-theme^="luxury-"] .metric-strip .metric-hourly,
body[data-theme^="luxury-"] .metric-strip .metric-jag,
body[data-theme^="luxury-"] .metric-strip div.is-low,
body[data-theme^="luxury-"] .metric-strip div.is-mid,
body[data-theme^="luxury-"] .metric-strip div.is-hot {
  border-width: 2px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.004)),
    #0d0e0e;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 8px 18px rgba(0, 0, 0, 0.16);
}

body[data-theme^="luxury-"] .metric-strip div.is-low {
  border-color: color-mix(in srgb, var(--low-line) 74%, #6fd7ff);
}

body[data-theme^="luxury-"] .metric-strip div.is-mid {
  border-color: color-mix(in srgb, var(--mid-line) 78%, #f6d978);
}

body[data-theme^="luxury-"] .metric-strip div.is-hot {
  border-color: color-mix(in srgb, var(--strong-line) 78%, var(--danger-accent));
}

body[data-theme="luxury-rainbow-text"] .metric-strip div.is-hot {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.004)) padding-box,
    linear-gradient(180deg, #0d0e0e, #0d0e0e) padding-box,
    var(--rainbow-border-gradient) border-box;
  border: 2px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 16px rgba(0, 229, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.16);
}

body[data-theme^="luxury-"] .metric-strip div.is-hot::after {
  content: none;
  display: none;
}

body[data-theme^="luxury-"] .metric-strip div::before {
  content: none;
  display: none;
}

body[data-theme^="luxury-"] .counter-block::before {
  content: none;
  display: none;
}

body[data-theme="luxury"] .counter-block,
body[data-theme^="luxury-"] .counter-block {
  border-color: #343a40;
}

body[data-theme="luxury"] .number-line,
body[data-theme^="luxury-"] .number-line {
  border-bottom-color: #343a40;
}

body[data-theme="luxury"] .counter-block .number-line::after,
body[data-theme^="luxury-"] .counter-block .number-line::after {
  content: none;
  display: none;
}

body[data-theme="luxury"] .counter-block:focus-within,
body[data-theme^="luxury-"] .counter-block:focus-within {
  border-color: #343a40;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 8px 22px rgba(0, 0, 0, 0.13);
}

body[data-theme^="luxury-"] .metric-strip strong,
body[data-theme^="luxury-"] .band-row strong {
  font-size: 21px;
  letter-spacing: 0;
}

body[data-theme^="luxury-"] .band-row .band-low,
body[data-theme^="luxury-"] .band-row .band-mid,
body[data-theme^="luxury-"] .band-row .band-high {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.004)),
    #0d0e0e;
  border-width: 2px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 8px 18px rgba(0, 0, 0, 0.16);
}

body[data-theme^="luxury-"] .band-row .band-low {
  border-color: color-mix(in srgb, var(--low-line) 74%, #6fd7ff);
}

body[data-theme^="luxury-"] .band-row .band-mid {
  border-color: color-mix(in srgb, var(--mid-line) 78%, #f6d978);
}

body[data-theme^="luxury-"] .band-row .band-high {
  border-color: color-mix(in srgb, var(--strong-line) 78%, var(--danger-accent));
}

body[data-theme="luxury-rainbow-text"] .band-row .band-low {
  border-color: #2f9fff;
}

body[data-theme="luxury-rainbow-text"] .band-row .band-mid {
  border-color: #ffd84d;
}

body[data-theme="luxury-rainbow-text"] .band-row .band-high {
  border-color: #e5484d;
}

body[data-theme="luxury-rainbow-text"] .metric-strip div.is-low,
body[data-theme="luxury-rainbow-text"] .metric-strip .metric-setting,
body[data-theme="luxury-rainbow-text"] .metric-strip .metric-rate,
body[data-theme="luxury-rainbow-text"] .metric-strip .metric-hourly,
body[data-theme="luxury-rainbow-text"] .metric-strip .metric-jag {
  border-color: #2f9fff;
}

body[data-theme="luxury-rainbow-text"] .metric-strip div.is-mid {
  border-color: #ffd84d;
}

body[data-theme^="luxury-"] .band-row .band-low::before,
body[data-theme^="luxury-"] .band-row .band-mid::before,
body[data-theme^="luxury-"] .band-row .band-high::before {
  content: none;
  display: none;
}

body[data-theme^="luxury-"] .band-row .band-low span,
body[data-theme^="luxury-"] .band-row .band-mid span,
body[data-theme^="luxury-"] .band-row .band-high span {
  color: rgba(255, 248, 232, 0.66);
}

body[data-theme^="luxury-"] .band-row .band-low strong,
body[data-theme^="luxury-"] .band-row .band-mid strong,
body[data-theme^="luxury-"] .band-row .band-high strong {
  color: #fff8e8;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.86),
    0 0 12px rgba(255, 248, 232, 0.08);
}

body[data-theme^="luxury-"] .band-row div.is-band-top {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 10px 24px rgba(0, 0, 0, 0.2);
}

body[data-theme^="luxury-"] .band-row .band-low.is-band-top strong,
body[data-theme^="luxury-"] .band-row .band-mid.is-band-top strong,
body[data-theme^="luxury-"] .band-row .band-high.is-band-top strong,
body[data-theme^="luxury-"] .band-row div.is-band-top strong {
  color: #ff4b56;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.92),
    0 0 12px rgba(255, 75, 86, 0.22);
}

body[data-theme^="luxury-"] .comment-grid .comment-strong,
body[data-theme^="luxury-"] .comment-grid .comment-weak {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.004)),
    #0d0e0e;
  border-color: var(--card-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 8px 18px rgba(0, 0, 0, 0.16);
}

body[data-theme^="luxury-"] .comment-grid .comment-strong::before,
body[data-theme^="luxury-"] .comment-grid .comment-weak::before {
  content: none;
  display: none;
}

body[data-theme^="luxury-"] .comment-grid .comment-strong .mini-label {
  color: #ff6b74;
}

body[data-theme^="luxury-"] .comment-grid .comment-weak .mini-label {
  color: #8fdfff;
}

body[data-theme^="luxury-"] .comment-grid .comment-strong p,
body[data-theme^="luxury-"] .comment-grid .comment-weak p {
  color: #fff8e8;
}

body[data-theme^="luxury-"] .comment-grid .comment-strong::before {
  background: linear-gradient(90deg, var(--danger-accent), transparent 68%);
}

body[data-theme^="luxury-"] .comment-grid .comment-weak::before {
  background: linear-gradient(90deg, var(--low-line), transparent 68%);
}

body[data-theme^="luxury-"] .comment-grid .pro-advice {
  background:
    radial-gradient(circle at 14% 0%, rgba(229, 72, 77, 0.14), transparent 190px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.004)),
    #070808;
  border: 1px solid rgba(229, 72, 77, 0.46);
  border-left: 5px solid #ff4b56;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 8px 18px rgba(0, 0, 0, 0.16),
    0 0 16px rgba(229, 72, 77, 0.08);
  padding-left: 10px;
}

body[data-theme^="luxury-"] .comment-grid .pro-advice::before {
  content: none;
  display: none;
}

body[data-theme^="luxury-"] .pro-advice .mini-label {
  color: #ff8b96;
  font-weight: 950;
}

body[data-theme^="luxury-"] .pro-advice p,
body[data-theme^="luxury-"] .pro-advice .advice-reason {
  color: #fff8e8;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.78);
}

body[data-theme^="luxury-"] .pro-advice .advice-action,
body[data-theme^="luxury-"] .pro-advice .advice-action strong {
  color: #fff8e8;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.78);
}

body[data-theme="luxury-rainbow-text"] .pro-advice .advice-action strong.advice-strong-rainbow {
  background-image: var(--rainbow-text-gradient);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  filter: saturate(1.55) contrast(1.12) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.86)) drop-shadow(0 0 7px rgba(255, 75, 86, 0.18));
  text-shadow: none;
}

body[data-theme^="luxury-"] .pro-advice .advice-action strong.advice-withdraw-strong-blue {
  color: #2f9fff;
  text-shadow: 0 0 12px rgba(47, 159, 255, 0.36), 0 1px 0 rgba(0, 0, 0, 0.78);
}

body[data-theme^="luxury-"] .result-risk-note,
body[data-theme^="luxury-"] .detail-cta-box {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(7, 8, 8, 0.94);
  border-color: rgba(200, 162, 74, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  color: #fff8e8;
}

body[data-theme^="luxury-"] .first-view-copy {
  color: #f5d27b;
}

body[data-theme^="luxury-"] .detail-cta {
  color: #ff8b96;
}

body[data-theme^="luxury-"] .pre-use-notice {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
}

body[data-theme^="luxury-"] .pre-use-notice .first-view-copy {
  color: #fff;
}

body[data-theme^="luxury-"] .detail-cta-box p {
  color: rgba(255, 248, 232, 0.72);
}

body[data-theme^="luxury-"] .compact-table {
  padding-top: 2px;
}

body[data-theme^="luxury-"] .compact-table div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--panel-deep);
}

body[data-theme^="luxury-"] .result-panel {
  border: 1px solid rgba(200, 162, 74, 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 232, 0.06),
    inset 0 0 0 2px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 28px rgba(200, 162, 74, 0.1),
    0 24px 58px rgba(0, 0, 0, 0.36);
  padding: 12px;
}

body[data-theme^="luxury-"] .result-panel::before {
  background:
    linear-gradient(90deg, transparent, rgba(200, 162, 74, 0.72), rgba(229, 72, 77, 0.44), transparent);
  height: 1px;
  left: 18px;
  opacity: 0.82;
  right: 18px;
}

body[data-theme^="luxury-"] .gogo-reset-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 46%),
    linear-gradient(135deg, #17130d 0%, #050505 58%, #100c08 100%);
  border-color: rgba(245, 205, 120, 0.74);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -8px 16px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(0, 0, 0, 0.62),
    0 10px 18px rgba(0, 0, 0, 0.28);
  color: #f8d887;
  height: 42px;
  min-height: 42px;
  min-width: 142px;
  padding: 6px 12px 6px 9px;
  -webkit-text-fill-color: currentColor;
}

@media (max-width: 560px) {
  .brand-mark {
    height: 36px;
    font-size: 11px;
  }

  body[data-theme^="luxury-"] .result-panel {
    padding: 8px;
  }

  .header-subcopy {
    font-size: 9px;
  }

  body[data-theme^="luxury-"] .app-header {
    padding: 16px 14px;
  }

  body[data-theme^="luxury-"] .app-header h1 {
    font-size: 18px;
  }

  body[data-theme^="luxury-"] .ghost-button {
    min-height: 34px;
    padding: 0 12px;
  }

  body[data-theme^="luxury-"] .gogo-reset-button {
    height: 40px;
    min-height: 40px;
    min-width: 124px;
    padding: 6px 10px 6px 8px;
  }

  .gogo-chip {
    font-size: 11px;
    height: 22px;
    min-width: 48px;
  }

  .gogo-reset-label {
    font-size: 12px;
  }
}
