/* Keep the page canvas white without flattening cards or controls. */
html,
body.review-page,
body.review-page > .layout,
body.review-page .main-area,
body.review-page .main-area > .topbar,
body.review-page .main-area > .content,
body.review-page .sidebar {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
}

/* Review hero: keep the established pale-blue AI workspace palette. */
body.review-page .review-studio {
  border-color: #c9dcfb !important;
  background: #edf4ff !important;
  background-image: linear-gradient(135deg, #edf3ff 0%, #f3f7ff 58%, #eef6ff 100%) !important;
  box-shadow: 0 16px 38px rgba(43, 102, 246, 0.1) !important;
}

body.review-page .review-studio::before {
  opacity: 0.22 !important;
}

body.review-page .studio-intro .ix-eyebrow {
  border-color: #bcd2ff !important;
  color: #2b66f6 !important;
  background: #e5edff !important;
}

body.review-page .studio-intro .ix-eyebrow .dot {
  background: #19bd86 !important;
  box-shadow: 0 0 0 4px rgba(25, 189, 134, 0.13), 0 0 12px rgba(25, 189, 134, 0.24) !important;
}

body.review-page .studio-intro .ix-title {
  color: #0b1f38 !important;
}

body.review-page .studio-intro .ix-title .grad {
  color: #2b66f6 !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

body.review-page .studio-intro .ix-sub {
  color: #465a72 !important;
}

body.review-page .studio-proof span {
  border-color: #c9daf4 !important;
  color: #526b86 !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

body.review-page .review-studio .analyze-bar {
  border-color: #e0e8f0 !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(25, 55, 90, 0.08) !important;
}

body.review-page :is(.result-empty, .review-report, .daily-card) {
  border-color: #e3e9f0 !important;
  background-color: #fff !important;
  box-shadow: 0 8px 24px rgba(25, 55, 90, 0.055) !important;
}

body.review-page #placeholder {
  background: #fbfcfe !important;
}

/* Daily review cards: calm, low-saturation category treatment. */
body.review-page .daily-card:has(.dv-visual) {
  overflow: hidden;
  border: 1px solid #e2e8f0 !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(25, 55, 90, 0.06) !important;
}

body.review-page .daily-card .dv-error {
  margin: 0 0 10px;
  color: #b42318;
  font-size: 13px;
  line-height: 1.45;
}

body.review-page .dv-visual,
body.review-page #shortGrid > .daily-card:first-child .dv-visual,
body.review-page .dv-visual.tone-style,
body.review-page .dv-visual.tone-trend,
body.review-page .dv-visual.tone-score,
body.review-page .dv-visual.tone-tomorrow,
body.review-page .dv-visual.tone-glance,
body.review-page .dv-visual.tone-longleg {
  position: relative;
  border-bottom: 1px solid #e7edf3 !important;
  background: #f7f9fc !important;
  background-image: none !important;
}

body.review-page .dv-visual::before {
  display: none !important;
  content: none !important;
}

body.review-page .dv-visual.tone-tomorrow::before,
body.review-page .dv-visual.tone-glance::before {
  background: #7c75c9 !important;
}

body.review-page .dv-visual.tone-longleg::before {
  background: #4f9a89 !important;
}

body.review-page .dv-visual.tone-style::before,
body.review-page .dv-visual.tone-trend::before,
body.review-page .dv-visual.tone-score::before {
  background: #4b8796 !important;
}

body.review-page .daily-card:has(.dv-visual) .dv-points span {
  border: 1px solid #e1e7ee !important;
  color: #5d6f82 !important;
  background: #f7f9fb !important;
}

body.review-page .daily-card:has(.tone-tomorrow) .dv-points span,
body.review-page .daily-card:has(.tone-glance) .dv-points span {
  border-color: #e4e1f0 !important;
  color: #68628a !important;
  background: #f8f7fb !important;
}

body.review-page .daily-card:has(.tone-longleg) .dv-points span {
  border-color: #dcebe6 !important;
  color: #4f766d !important;
  background: #f5faf8 !important;
}

/* Five review functions use distinct, quiet color fields for faster scanning. */
body.review-page .daily-card:has(.tone-emotion) {
  border-color: #cbdcf6 !important;
  background: #f7faff !important;
}

body.review-page .dv-visual.tone-emotion {
  background: linear-gradient(135deg, #edf4ff 0%, #f5f8ff 100%) !important;
}

body.review-page .daily-card:has(.tone-tomorrow) {
  border-color: #d8d1f1 !important;
  background: #faf8ff !important;
}

body.review-page .dv-visual.tone-tomorrow {
  background: linear-gradient(135deg, #f1edff 0%, #f8f6ff 100%) !important;
}

body.review-page .daily-card:has(.tone-leader) {
  border-color: #ead9bc !important;
  background: #fffaf3 !important;
}

body.review-page .dv-visual.tone-leader {
  background: linear-gradient(135deg, #fff3df 0%, #fffbf4 100%) !important;
}

body.review-page .daily-card:has(.tone-ladder) {
  border-color: #c7e0e7 !important;
  background: #f5fbfd !important;
}

body.review-page .dv-visual.tone-ladder {
  background: linear-gradient(135deg, #e8f7fb 0%, #f5fbfd 100%) !important;
}

body.review-page .daily-card:has(.tone-longleg) {
  border-color: #c9e2d9 !important;
  background: #f5fbf8 !important;
}

body.review-page .dv-visual.tone-longleg {
  background: linear-gradient(135deg, #e9f8f2 0%, #f5fbf8 100%) !important;
}

body.review-page .dv-visual.tone-emotion::before { background: #4d7fce !important; }
body.review-page .dv-visual.tone-tomorrow::before { background: #7668c9 !important; }
body.review-page .dv-visual.tone-leader::before { background: #c98a35 !important; }
body.review-page .dv-visual.tone-ladder::before { background: #3f91a8 !important; }
body.review-page .dv-visual.tone-longleg::before { background: #429178 !important; }

body.review-page .dv-visual.tone-emotion .dv-demo-icon { color: #416fc2 !important; border-color: #c7d9f8 !important; }
body.review-page .dv-visual.tone-tomorrow .dv-demo-icon { color: #6a5cc3 !important; border-color: #d5cef0 !important; }
body.review-page .dv-visual.tone-leader .dv-demo-icon { color: #b87828 !important; border-color: #ead5b2 !important; }
body.review-page .dv-visual.tone-ladder .dv-demo-icon { color: #31859d !important; border-color: #c5dfe6 !important; }
body.review-page .dv-visual.tone-longleg .dv-demo-icon { color: #36866d !important; border-color: #c5dfd6 !important; }

body.review-page #shortGrid .dv-action {
  margin-left: auto !important;
}

body.review-page .daily-card:has(.tone-emotion) .dv-points span { color: #4d6790 !important; border-color: #d6e2f5 !important; background: #f0f5fd !important; }
body.review-page .daily-card:has(.tone-tomorrow) .dv-points span { color: #665d8b !important; border-color: #e0dbf1 !important; background: #f5f2fc !important; }
body.review-page .daily-card:has(.tone-leader) .dv-points span { color: #87663d !important; border-color: #eadfcf !important; background: #fdf6ec !important; }
body.review-page .daily-card:has(.tone-ladder) .dv-points span { color: #477481 !important; border-color: #d5e5e9 !important; background: #eef8fa !important; }
body.review-page .daily-card:has(.tone-longleg) .dv-points span { color: #4d7568 !important; border-color: #d5e8e1 !important; background: #eff8f4 !important; }

/* Composite review cards follow the same distinct color system. */
body.review-page .daily-card:has(.tone-style) {
  border-color: #cbdcf6 !important;
  background: #f7faff !important;
}
body.review-page .dv-visual.tone-style {
  background: linear-gradient(135deg, #edf4ff 0%, #f5f8ff 100%) !important;
}

body.review-page .daily-card:has(.tone-trend) {
  border-color: #d8d1f1 !important;
  background: #faf8ff !important;
}
body.review-page .dv-visual.tone-trend {
  background: linear-gradient(135deg, #f1edff 0%, #f8f6ff 100%) !important;
}

body.review-page .daily-card:has(.tone-score) {
  border-color: #ead9bc !important;
  background: #fffaf3 !important;
}
body.review-page .dv-visual.tone-score {
  background: linear-gradient(135deg, #fff3df 0%, #fffbf4 100%) !important;
}

body.review-page .daily-card:has(.tone-glance) {
  border-color: #c9e2d9 !important;
  background: #f5fbf8 !important;
}
body.review-page .dv-visual.tone-glance {
  background: linear-gradient(135deg, #e9f8f2 0%, #f5fbf8 100%) !important;
}

body.review-page .dv-visual.tone-style .dv-demo-icon { color: #416fc2 !important; border-color: #c7d9f8 !important; }
body.review-page .dv-visual.tone-trend .dv-demo-icon { color: #6a5cc3 !important; border-color: #d5cef0 !important; }
body.review-page .dv-visual.tone-score .dv-demo-icon { color: #b87828 !important; border-color: #ead5b2 !important; }
body.review-page .dv-visual.tone-glance .dv-demo-icon { color: #36866d !important; border-color: #c5dfd6 !important; }

body.review-page .daily-card:has(.tone-style) .dv-points span { color: #4d6790 !important; border-color: #d6e2f5 !important; background: #f0f5fd !important; }
body.review-page .daily-card:has(.tone-trend) .dv-points span { color: #665d8b !important; border-color: #e0dbf1 !important; background: #f5f2fc !important; }
body.review-page .daily-card:has(.tone-score) .dv-points span { color: #87663d !important; border-color: #eadfcf !important; background: #fdf6ec !important; }
body.review-page .daily-card:has(.tone-glance) .dv-points span { color: #4d7568 !important; border-color: #d5e8e1 !important; background: #eff8f4 !important; }

body.review-page .daily-billing-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 4px 0;
  padding: 0 !important;
  border: 0 !important;
  color: #667b92 !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

body.review-page .daily-billing-note::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #635bff;
  background: #f0efff;
  font-size: 12px;
  font-weight: 800;
  content: "i";
}

/* Give each page module more breathing room without loosening card internals. */
body.review-page #stockPanel {
  gap: 22px;
}

body.review-page .review-section-head {
  padding: 0 4px 4px;
}

body.review-page .review-section-head h2,
body.review-page #dailyPanel .market-head h3,
body.review-page #marketPanel .market-head h3 {
  color: #0b1f38 !important;
  font-size: clamp(28px, 1.8vw, 32px) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
}

body.review-page .review-section-head h2 span {
  color: #2b66f6;
}

body.review-page .stock-review-console {
  display: block !important;
  padding: 26px 28px !important;
  border-color: #cbdcf6 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #edf4ff 0%, #f7faff 100%) !important;
  box-shadow: 0 10px 28px rgba(43, 102, 246, 0.07) !important;
}

body.review-page .stock-review-console .analyze-bar {
  width: 100%;
  gap: 16px !important;
  padding: 6px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body.review-page .stock-review-console :is(.input, .vw-trigger, .ab-btn) {
  height: 60px !important;
  min-height: 60px !important;
}

body.review-page .stock-review-console .ab-btn {
  min-width: 176px;
  padding-inline: 26px !important;
  border-radius: 11px !important;
}

body.review-page .stock-review-console .ab-hint {
  padding-top: 17px !important;
}

body.review-page #dailyPanel {
  margin-top: 64px;
  padding-top: 54px;
  border-top: 1px solid #d8e4f2;
}

body.review-page :is(#dailyPanel, #marketPanel) > .market-head {
  min-height: 0 !important;
  align-items: flex-end !important;
  margin: 0 0 22px !important;
  padding: 0 4px !important;
}

body.review-page :is(#dailyPanel, #marketPanel) .market-title-group .section-kicker {
  display: block;
  margin: 0 0 7px;
}

body.review-page :is(#dailyPanel, #marketPanel) .market-title-group p {
  margin: 7px 0 0 !important;
  color: #6b7c93 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

body.review-page :is(#shortGrid, #marketGrid) > .daily-result-card {
  grid-column: 1 / -1 !important;
  width: 100%;
  border-left: 0 !important;
}

body.review-page .daily-result-card::before,
body.review-page .daily-result-card::after {
  display: none !important;
  content: none !important;
}

body.review-page .daily-result-card .dc-head,
body.review-page .daily-result-card .daily-reader {
  width: min(100%, 1120px);
  margin-inline: auto;
}

body.review-page .daily-report-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

body.review-page .daily-report-actions .btn {
  min-height: 38px;
  padding: 8px 13px !important;
  white-space: nowrap;
  font-size: 12.5px !important;
}

body.review-page .daily-result-card:not(:has(.reader-section)) .report-toggle {
  display: none;
}

body.review-page .daily-reader {
  color: #263c53;
  font-size: 15px !important;
  line-height: 1.85;
}

body.review-page .daily-reader .reader-lead {
  margin-bottom: 14px;
  padding: 16px 18px;
  border: 0;
  border-radius: 12px;
  background: #f5f8fd;
}

body.review-page .reader-section {
  border-top: 1px solid #e1e8f0;
}

body.review-page .reader-section:last-child {
  border-bottom: 1px solid #e1e8f0;
}

body.review-page .reader-section summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 4px;
  color: #102a43;
  cursor: pointer;
  font-size: 16px;
  font-weight: 780;
  list-style: none;
}

body.review-page .reader-section summary::-webkit-details-marker { display: none; }

body.review-page .reader-section summary i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid #6f8298;
  border-bottom: 2px solid #6f8298;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

body.review-page .reader-section[open] summary i {
  transform: rotate(225deg);
}

body.review-page .reader-section-body {
  max-width: 920px;
  padding: 0 4px 24px;
}

body.review-page .reader-section-body p,
body.review-page .reader-section-body li {
  line-height: 1.9 !important;
}

body.review-page .content .disclaimer {
  margin-top: 48px;
}

@media (max-width: 700px) {
  body.review-page #stockPanel { gap: 24px; }
  body.review-page .stock-review-console { padding: 20px !important; }
  body.review-page .stock-review-console :is(.input, .vw-trigger, .ab-btn) {
    height: 56px !important;
    min-height: 56px !important;
  }
  body.review-page #dailyPanel {
    margin-top: 40px;
    padding-top: 36px;
  }
  body.review-page :is(#dailyPanel, #marketPanel) > .market-head {
    margin-bottom: 18px !important;
  }
  body.review-page .content .disclaimer { margin-top: 32px; }
}
