/* ==========================================================================
   ORBITAL — Interactive Astrology Suite & Luxury Tools Styles
   High-Density, Fast 120 FPS Architecture (Dual-Theme Calibrated)
   ========================================================================== */

/* Form Elements — Compact */
.tool-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tool-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.tool-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.tool-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2.5px var(--gold-subtle);
}

.tool-input::placeholder {
  color: var(--text-muted);
}

/* 1. Birth Chart Master Console — Compact 120 FPS Architecture */
.chart-master-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

/* Flight Control Strip at Top */
.chart-control-strip {
  padding: 14px 18px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-card);
}

.control-strip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.chart-live-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 1-Click Sample Presets Bar */
.sample-presets-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sample-presets-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 3px;
}

.sample-preset-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px 9px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sample-preset-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-subtle);
  transform: translateY(-1px);
}

/* Streamlined 1-Row Compact Form */
.chart-compact-form {
  display: grid;
  grid-template-columns: 1.15fr 1.05fr 0.85fr 1.25fr 1.2fr;
  gap: 10px;
  align-items: flex-end;
}

.compact-input-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.city-autocomplete-box {
  position: relative;
}

.city-results-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  max-height: 180px;
  overflow-y: auto;
  z-index: 50;
  display: none;
}

.city-result-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.city-result-item:hover {
  background: var(--gold-subtle);
  color: var(--gold-primary);
}

.btn-calc-blueprint {
  height: 38px;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0 14px;
}

/* Two-Wing Pro Dashboard */
.chart-blueprint-body {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
  padding: 18px 20px;
  align-items: start;
}

/* Left Wing: Wheel Stage Card */
.blueprint-left-wing {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wheel-stage-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.wheel-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.stage-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stage-coords {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.natal-wheel-stage {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto;
}

.natal-wheel-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.aspect-legend-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.62rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.legend-chip .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-chip.harmony .chip-dot { background: #64d2ff; }
.legend-chip.tension .chip-dot { background: #ff5e3a; }
.legend-chip.conjunction .chip-dot { background: #e5be59; }

/* Elements & Modality Grid */
.elements-bar-container {
  width: 100%;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.elements-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.elements-title {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.signature-tag {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  background: var(--gold-subtle);
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid var(--border-glow);
}

.elements-grid-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.element-metric-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
}

.em-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.7rem;
  white-space: nowrap;
}

.em-track {
  flex-grow: 1;
  height: 4px;
  background: var(--border-subtle);
  border-radius: 999px;
  overflow: hidden;
  margin: 0 4px;
}

.em-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease;
}

.em-pct {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.fill-fire { background: linear-gradient(90deg, #ff7e5f, #feb47b); }
.fill-earth { background: linear-gradient(90deg, #11998e, #38ef7d); }
.fill-air { background: linear-gradient(90deg, #00c6ff, #0072ff); }
.fill-water { background: linear-gradient(90deg, #7f00ff, #e100ff); }

/* Right Wing: Big Three Crown Cards, Ephemeris Table, Synthesis */
.blueprint-right-wing {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 3D Trio Crown Tablets */
.trio-signs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.trio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.trio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-subtle);
  transition: background 0.2s ease;
}

.trio-card.sun-crown::before {
  background: linear-gradient(90deg, #fae8a8, #e5be59);
}

.trio-card.moon-crown::before {
  background: linear-gradient(90deg, #c5d9ff, #64d2ff);
}

.trio-card.asc-crown::before {
  background: linear-gradient(90deg, #e4c1f9, #a277ff);
}

.trio-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -3px rgba(0, 0, 0, 0.2), 0 0 10px var(--gold-subtle);
}

.trio-icon {
  font-size: 1.3rem;
  line-height: 1;
  margin-bottom: 2px;
  color: var(--gold-primary);
}

.trio-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trio-value {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
  line-height: 1.1;
}

.trio-degree {
  font-size: 0.72rem;
  color: var(--cyan-accent);
  font-weight: 700;
  display: inline-block;
  margin-left: 2px;
}

.trio-meaning {
  font-size: 0.68rem;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.3;
  font-weight: 500;
}

/* Ephemeris Table Card */
.ephemeris-table-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-card);
}

.table-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 6px;
  margin-bottom: 4px;
}

.table-card-title {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.table-card-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.ephemeris-table-responsive {
  width: 100%;
  overflow-x: auto;
}

.ephemeris-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  text-align: left;
}

.ephemeris-table th {
  padding: 5px 8px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.ephemeris-table td {
  padding: 5px 8px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

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

.ephemeris-table tr:hover td {
  background: var(--gold-subtle);
  color: var(--text-primary);
}

/* Dignity Badges */
.dignity-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dignity-domicile {
  background: rgba(48, 209, 88, 0.14);
  color: #30d158;
  border: 1px solid rgba(48, 209, 88, 0.3);
}

.dignity-exalted {
  background: rgba(229, 190, 89, 0.16);
  color: #e5be59;
  border: 1px solid rgba(229, 190, 89, 0.35);
}

.dignity-detriment {
  background: rgba(162, 119, 255, 0.14);
  color: #a277ff;
  border: 1px solid rgba(162, 119, 255, 0.3);
}

.dignity-fall {
  background: rgba(255, 94, 58, 0.14);
  color: #ff5e3a;
  border: 1px solid rgba(255, 94, 58, 0.3);
}

.dignity-peregrine {
  color: var(--text-muted);
  font-size: 0.65rem;
}

.motion-direct {
  color: var(--emerald-aura);
  font-weight: 700;
  font-size: 0.64rem;
}

.motion-rx {
  color: #ff5e3a;
  font-weight: 800;
  font-size: 0.64rem;
}

/* AI Synthesis Card */
.chart-synthesis-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-card);
}

.synthesis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.synthesis-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
}

.synthesis-model {
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.synthesis-text {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* 2. Planetary Hours & Cosmic Transits (Swiss Horology Dial) — Compact */
.hours-tool-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
}

.current-hour-card {
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Swiss Astronomical Horology Dial */
.horology-dial-box {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 10px 0;
}

.horology-dial-svg {
  width: 100%;
  height: 100%;
}

.horology-center-glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: var(--gold-primary);
}

.hour-countdown {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 4px 0;
  letter-spacing: 0.04em;
}

.transits-timeline-card {
  padding: 22px 24px;
}

.transit-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  margin-bottom: 6px;
  transition: var(--transition);
}

.transit-item-row:hover {
  border-color: var(--border-glow);
  transform: translateX(2px);
}

.transit-item-row.active {
  border-color: var(--gold-primary);
  background: var(--gold-subtle);
  box-shadow: 0 2px 10px var(--gold-subtle);
}

.transit-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.transit-aspect {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   3. Synastry Love & Connection Laboratory — Dual-Orbit Cockpit
   ========================================================================== */
.synastry-master-card {
  padding: 30px 36px;
  position: relative;
  overflow: hidden;
}

/* Famous Duos Presets Bar */
.synastry-presets-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}

.synastry-presets-bar::-webkit-scrollbar {
  display: none;
}

.presets-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.presets-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
}

.synastry-preset-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.synastry-preset-pill:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
  background: var(--gold-subtle);
}

.synastry-preset-pill.active {
  background: var(--gold-subtle);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

/* Dual Sign Selection Cockpit */
.synastry-cockpit-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 26px;
}

.synastry-sign-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.synastry-sign-card:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px var(--gold-glow);
}

.partner-a-card {
  border-left: 3px solid var(--gold-primary);
}

.partner-b-card {
  border-right: 3px solid var(--cyan-accent);
}

.sign-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sign-role-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
}

.partner-b-card .sign-role-badge {
  color: var(--cyan-accent);
}

.sign-coord {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.sign-select-wrapper {
  position: relative;
  margin-bottom: 8px;
}

.synastry-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 0.94rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.synastry-select:focus {
  border-color: var(--gold-primary);
}

.sign-archetype-meta {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Center Nexus Orb */
.synastry-nexus-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.nexus-orb-pulse {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, var(--bg-surface) 100%);
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 20px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseNexus 3s infinite alternate ease-in-out;
}

@keyframes pulseNexus {
  0% { transform: scale(0.96); box-shadow: 0 0 14px var(--gold-glow); }
  100% { transform: scale(1.04); box-shadow: 0 0 26px var(--gold-glow); }
}

.nexus-glyph {
  font-size: 1.25rem;
  color: var(--gold-primary);
}

.nexus-aspect-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: var(--gold-subtle);
  border: 1px solid var(--border-glow);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Synastry Laboratory Grid */
.synastry-lab-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Left Wing: Wheel Stage */
.synastry-wheel-wing {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.wheel-stage-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}

.wheel-stage-title {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.wheel-element-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-primary);
  background: var(--gold-subtle);
  border: 1px solid var(--border-glow);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.synastry-wheel-container {
  width: 100%;
  max-width: 270px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.synastry-overall-box {
  width: 100%;
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.overall-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.overall-val {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
  margin: 2px 0;
}

.overall-sub {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

/* Right Wing: Multi-Dimensional Dossier */
.synastry-dossier-wing {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.synastry-crown-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
}

.crown-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.crown-aspect-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.crown-aspect-tag {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--emerald-aura);
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.crown-archetype-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.crown-aspect-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 4 Harmonic Dimension Progress Bars */
.synastry-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.synastry-metric-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.metric-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

html[data-theme="light"] .metric-progress-track {
  background: #e2e8f0;
}

.metric-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.passion-bar {
  background: linear-gradient(90deg, #ef4444, #f97316);
}

.intellect-bar {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.emotional-bar {
  background: linear-gradient(90deg, #059669, #34d399);
}

.loyalty-bar {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

/* Dual In-Depth Astrological Dossier */
.synastry-insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.synastry-insight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strengths-card {
  border-left: 2.5px solid var(--gold-primary);
}

.growth-card {
  border-left: 2.5px solid var(--cyan-accent);
}

.insight-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.insight-icon {
  color: var(--gold-primary);
}

.growth-card .insight-icon {
  color: var(--cyan-accent);
}

.insight-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Light Theme Precision Overrides for Synastry */
html[data-theme="light"] .synastry-sign-card,
html[data-theme="light"] .synastry-wheel-wing,
html[data-theme="light"] .synastry-crown-card,
html[data-theme="light"] .synastry-metric-box,
html[data-theme="light"] .synastry-insight-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .synastry-crown-card {
  background: #fffbeb;
  border-color: rgba(180, 83, 9, 0.3);
}

html[data-theme="light"] .crown-title {
  color: #78350f;
}

html[data-theme="light"] .crown-desc {
  color: #334155;
}

html[data-theme="light"] .synastry-preset-pill {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
  color: #334155;
  font-weight: 600;
}

html[data-theme="light"] .synastry-preset-pill:hover,
html[data-theme="light"] .synastry-preset-pill.active {
  background: #fffbeb;
  border-color: #b45309;
  color: #92400e;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.15);
}

html[data-theme="light"] .sign-role-badge {
  background: #f8fafc;
  color: #475569;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .sign-archetype-meta {
  color: #475569;
}

html[data-theme="light"] .metric-label {
  color: #64748b;
}

html[data-theme="light"] .metric-pct {
  color: #0f172a;
}

html[data-theme="light"] .metric-progress-track {
  background: #e2e8f0;
}

html[data-theme="light"] .synastry-score-circle {
  box-shadow: 0 4px 16px -2px rgba(180, 83, 9, 0.2);
}

html[data-theme="light"] .score-label {
  color: #64748b;
}

/* ==========================================================================
   4. AI Cosmic Oracle (Ultra-Compact Two-Wing Pro Cockpit)
   ========================================================================== */
#oracle-deck .section-header {
  margin: 0 auto 16px auto;
}

.oracle-master-card {
  padding: 14px 18px;
  position: relative;
  overflow: hidden;
}

/* Spread Selector & Telemetry Bar */
.oracle-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.oracle-spread-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.oracle-spread-tabs::-webkit-scrollbar {
  display: none;
}

.oracle-spread-btn {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.spread-sub {
  font-size: 0.78em;
  font-weight: 500;
  opacity: 0.72;
  margin-left: 3px;
}

.oracle-spread-btn:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
  background: var(--gold-subtle);
}

.oracle-spread-btn.active {
  background: var(--gold-subtle);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

.oracle-deck-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  background: var(--gold-subtle);
  border: 1px solid var(--border-glow);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.oracle-pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald-aura);
  box-shadow: 0 0 5px var(--emerald-aura);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.4; transform: scale(0.9); }
}

/* Two-Wing Cockpit Grid — Ultra-Compact Dual Wing */
.oracle-cockpit-grid {
  display: grid;
  grid-template-columns: 366px 1fr;
  gap: 14px;
  align-items: stretch;
}

/* Left Wing: Interactive 3D Tarot Stage */
.oracle-stage-wing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  box-shadow: var(--shadow-card);
}

.oracle-cards-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  perspective: 1000px;
  margin: 0;
  width: 100%;
}

/* Compact 3D Tarot Card (110px x 172px) */
.oracle-card {
  width: 110px;
  height: 172px;
  border-radius: 9px;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 6px 14px -3px rgba(0, 0, 0, 0.32);
}

.oracle-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px -4px rgba(0, 0, 0, 0.45), 0 0 14px -2px var(--gold-glow);
}

.oracle-card.flipped {
  transform: rotateY(180deg) translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(0, 0, 0, 0.4), 0 0 12px -2px var(--gold-glow);
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 9px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}

/* Card Back — Luxury Midnight Obsidian with Gold Foil Mandala */
.card-back {
  background: radial-gradient(circle at center, #151d32 0%, #060912 100%);
  border: 1.5px solid var(--gold-primary);
  box-shadow: inset 0 0 14px rgba(229, 190, 89, 0.18);
}

.card-foil-border {
  margin: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border: 1px solid var(--border-glow);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 5px 3px;
  box-sizing: border-box;
}

.card-back-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.card-slot-num {
  font-family: var(--font-roman);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
}

.card-slot-name {
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.card-mandala {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mandala-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px dashed var(--gold-primary);
  border-radius: 50%;
  animation: rotateMandala 20s linear infinite;
  opacity: 0.75;
}

@keyframes rotateMandala {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.mandala-star {
  font-size: 0.95rem;
  color: var(--gold-light);
  filter: drop-shadow(0 0 5px var(--gold-glow));
}

.card-back-footer {
  font-size: 0.44rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Card Front — Revealed Arcana Masterpiece */
.card-front {
  transform: rotateY(180deg);
  background: radial-gradient(circle at top, #18223c 0%, #0c1222 100%);
  border: 1.5px solid var(--gold-primary);
  padding: 3px;
  box-shadow: inset 0 0 14px var(--gold-subtle);
}

.card-front-inner {
  width: 100%;
  height: 100%;
  border: 1px solid var(--border-glow);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 4px 3px;
  text-align: center;
  box-sizing: border-box;
}

.card-front-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.card-front-num {
  color: var(--gold-primary);
}

.card-front-ruler {
  color: var(--cyan-accent);
}

.card-front-artwork {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1px 0;
}

.artwork-halo {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.card-front-glyph {
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

.card-front-title {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1.1;
  margin-bottom: 1px;
}

.card-front-subtitle {
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
}

.card-front-element {
  font-size: 0.44rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-primary);
  background: var(--gold-subtle);
  padding: 1px 5px;
  border-radius: 3px;
}

/* Compact Actions Dock */
.oracle-actions-dock {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  width: 100%;
}

.btn-compact {
  padding: 3px 10px;
  font-size: 0.68rem;
  height: 26px;
  font-weight: 700;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Right Wing: Reading Output Dossier Panel */
.oracle-dossier-wing {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  box-shadow: var(--shadow-card);
}

.dossier-header {
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-subtle);
}

.dossier-eyebrow {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 1px;
}

.dossier-title {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin: 0;
}

.oracle-cards-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}

.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: var(--transition);
}

.summary-card.unrevealed {
  cursor: pointer;
  border-style: dashed;
}

.summary-card.unrevealed:hover {
  border-color: var(--gold-primary);
  background: var(--gold-subtle);
}

.summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.summary-slot {
  color: var(--gold-primary);
}

.summary-ruler {
  color: var(--cyan-accent);
}

.summary-title {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.12;
}

.summary-subtitle {
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--gold-light);
}

.summary-body {
  font-size: 0.64rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-bottom: 2px;
}

.summary-advice {
  font-size: 0.62rem;
  color: var(--text-primary);
  background: var(--gold-subtle);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--gold-primary);
  line-height: 1.22;
}

.summary-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  gap: 2px;
  color: var(--text-muted);
}

.placeholder-glyph {
  font-size: 0.95rem;
  color: var(--gold-primary);
}

.placeholder-text {
  font-size: 0.58rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
}

/* AI Synthesis Card */
.oracle-ai-synthesis-card {
  background: var(--gold-subtle);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

.synthesis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
  flex-wrap: wrap;
  gap: 4px;
}

.synthesis-badge {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
}

.synthesis-timestamp {
  font-size: 0.48rem;
  color: var(--text-muted);
  font-weight: 700;
}

.synthesis-paragraph {
  font-size: 0.68rem;
  color: var(--text-primary);
  line-height: 1.32;
  margin: 0;
}

/* Light Mode Overrides for Oracle */
html[data-theme="light"] .oracle-master-card {
  background: #ffffff;
}

html[data-theme="light"] .oracle-spread-btn {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
  color: #334155;
  font-weight: 600;
}

html[data-theme="light"] .oracle-spread-btn:hover {
  border-color: #b45309;
  color: #0f172a;
}

html[data-theme="light"] .oracle-spread-btn.active {
  background: #fffbeb;
  border-color: #b45309;
  color: #92400e;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.15);
}

html[data-theme="light"] .oracle-deck-badge {
  background: #ffffff;
  border-color: rgba(180, 83, 9, 0.28);
  color: #92400e;
}

html[data-theme="light"] .oracle-card {
  box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .oracle-card:hover {
  box-shadow: 0 20px 38px -8px rgba(15, 23, 42, 0.25), 0 0 20px -2px rgba(180, 83, 9, 0.25);
}

html[data-theme="light"] .card-front {
  background: radial-gradient(circle at top, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #b45309;
  box-shadow: inset 0 0 15px rgba(180, 83, 9, 0.08);
}

html[data-theme="light"] .card-front-title {
  color: #0f172a;
}

html[data-theme="light"] .card-front-subtitle {
  color: #334155;
}

html[data-theme="light"] .card-front-advice-preview {
  color: #64748b;
}

html[data-theme="light"] .summary-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .summary-slot {
  color: #92400e;
}

html[data-theme="light"] .summary-ruler {
  color: #0369a1;
}

html[data-theme="light"] .summary-title {
  color: #0f172a;
}

html[data-theme="light"] .summary-subtitle {
  color: #475569;
}

html[data-theme="light"] .summary-body {
  color: #334155;
}

html[data-theme="light"] .summary-advice {
  background: #ffffff;
  border: 1px solid rgba(180, 83, 9, 0.2);
  color: #334155;
}

html[data-theme="light"] .summary-card.unrevealed {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.09);
}

html[data-theme="light"] .summary-card.unrevealed .placeholder-text {
  color: #64748b;
}

html[data-theme="light"] .oracle-ai-synthesis-card {
  background: #fffbeb;
  border: 1px solid rgba(180, 83, 9, 0.3);
  box-shadow: 0 4px 16px -2px rgba(180, 83, 9, 0.08);
}

html[data-theme="light"] .synthesis-header-label {
  color: #78350f;
}

html[data-theme="light"] .synthesis-paragraph {
  color: #334155;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 5. 12-Zodiac Daily Intelligence Grid — Compact */
.zodiac-selector-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
  scrollbar-width: thin;
}

.zodiac-tab-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.zodiac-tab-btn .glyph {
  font-size: 1rem;
  color: var(--gold-primary);
}

.zodiac-tab-btn:hover, .zodiac-tab-btn.active {
  background: var(--gold-subtle);
  border-color: var(--gold-primary);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 10px var(--gold-subtle);
}

.zodiac-detail-card {
  padding: 24px;
}

.zodiac-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.zodiac-sign-name {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.zodiac-attributes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.zodiac-attr-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.zodiac-attr-box:hover {
  border-color: var(--border-glow);
  transform: translateY(-1px);
}

.zodiac-attr-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.zodiac-attr-value {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-top: 4px;
}

/* FAQ Accordions — Compact */
.faq-grid {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-glow);
}

.faq-question {
  padding: 13px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  font-size: 1.15rem;
  color: var(--gold-primary);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 700;
  line-height: 1;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.26s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  opacity: 0;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 18px 14px 18px;
  color: var(--text-secondary);
  line-height: 1.55;
  font-size: 0.86rem;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   Comprehensive Light Theme Precision Architecture for Suite Tools
   ========================================================================== */

/* 1. Birth Chart Master Console Light Overrides */
html[data-theme="light"] .chart-control-strip {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .sample-preset-btn {
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #334155;
}

html[data-theme="light"] .sample-preset-btn:hover {
  background: #fffbeb;
  border-color: #b45309;
  color: #92400e;
}

html[data-theme="light"] .wheel-stage-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .element-metric-pill {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .em-name {
  color: #0f172a;
}

html[data-theme="light"] .em-track {
  background: #e2e8f0;
}

html[data-theme="light"] .dossier-tab-btn {
  color: #475569;
}

html[data-theme="light"] .dossier-tab-btn:hover {
  color: #0f172a;
}

html[data-theme="light"] .dossier-tab-btn.active {
  background: #ffffff;
  border-color: #b45309;
  color: #0f172a;
}

html[data-theme="light"] .ephemeris-table-wrap {
  border: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .ephemeris-pro-table {
  background: #ffffff;
}

html[data-theme="light"] .ephemeris-pro-table th {
  background: #f8fafc;
  color: #475569;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .ephemeris-pro-table td {
  color: #0f172a;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .ephemeris-pro-table tr:hover td {
  background: #f8fafc;
}

html[data-theme="light"] .aspect-chip-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .aspect-chip-card:hover {
  background: #ffffff;
  border-color: rgba(180, 83, 9, 0.3);
}

html[data-theme="light"] .chip-header {
  color: #0f172a;
}

html[data-theme="light"] .chip-desc {
  color: #334155;
}

html[data-theme="light"] .city-results-dropdown {
  background: #ffffff;
  border: 1px solid rgba(180, 83, 9, 0.3);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .city-result-item {
  color: #0f172a;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .city-result-item:hover {
  background: #fffbeb;
  color: #92400e;
}

/* 2. Planetary Hours & Swiss Horology Light Overrides */
html[data-theme="light"] .current-hour-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .horology-center-glyph {
  color: #b45309;
}

html[data-theme="light"] .hour-countdown {
  color: #0f172a;
}

html[data-theme="light"] .transits-timeline-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .transit-item-row {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .transit-item-row:hover {
  background: #f1f5f9;
  border-color: rgba(180, 83, 9, 0.3);
}

html[data-theme="light"] .transit-item-row.active {
  background: #fffbeb;
  border-color: #b45309;
  box-shadow: 0 2px 10px rgba(180, 83, 9, 0.12);
}

html[data-theme="light"] .transit-time {
  color: #64748b;
}

html[data-theme="light"] .transit-aspect {
  color: #0f172a;
}

/* 5. 12-Zodiac Intelligence Hub Light Overrides */
html[data-theme="light"] .zodiac-tab-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .zodiac-tab-btn:hover {
  background: #f8fafc;
  border-color: #b45309;
  color: #0f172a;
}

html[data-theme="light"] .zodiac-tab-btn.active {
  background: #fffbeb;
  border-color: #b45309;
  color: #92400e;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.15);
}

html[data-theme="light"] .zodiac-tab-btn .glyph {
  color: #b45309;
}

html[data-theme="light"] .zodiac-detail-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .zodiac-sign-name {
  color: #0f172a;
}

html[data-theme="light"] .zodiac-forecast-text {
  color: #334155;
  line-height: 1.65;
}

html[data-theme="light"] .zodiac-attr-box {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 6px -2px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .zodiac-attr-box:hover {
  border-color: rgba(180, 83, 9, 0.3);
  background: #ffffff;
}

html[data-theme="light"] .zodiac-attr-label {
  color: #64748b;
}

html[data-theme="light"] .zodiac-attr-value {
  color: #0f172a;
}

/* 7. FAQ Accordion Light Overrides */
html[data-theme="light"] .faq-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.03);
}

html[data-theme="light"] .faq-item:hover {
  border-color: rgba(180, 83, 9, 0.35);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .faq-question {
  color: #0f172a;
}

html[data-theme="light"] .faq-icon {
  color: #b45309;
}

html[data-theme="light"] .faq-answer-inner {
  color: #334155;
}

