/* Review pages, 2026 design. One file: the earlier drafts' rules first, then the current layout,
   in the order they were written, so the cascade is unchanged. Unused early rules are still in
   the first part and can be pruned. Loaded after reviews.css. */

/* Review page v2: blocks added for the tier-led reviews (trial, 2026-11-20).
   Loaded after reviews.css and uses its tokens. Light theme only. */

/* formula grades: one row per ladder, ribs show the step, the word carries the value */
.rv-grades {
  margin-top: 26px;
  padding: 24px 26px 20px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.rv-grades-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 36px; margin: 14px 0 0; }
.rv-grade-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rv-grade-name { font-size: 14px; font-weight: 500; color: var(--body); }
.rv-grade-word { font-size: 15px; font-weight: 600; color: var(--blackish); }
.rv-grade-word--none { color: var(--label); }
.rv-ribs { display: flex; gap: 4px; margin-top: 8px; }
.rv-rib { flex: 1; height: 6px; border-radius: 3px; background: #e9ebf7; box-shadow: inset 0 1px 2px rgba(49, 46, 129, 0.12); }
.rv-rib--on { background: var(--indigo-30); box-shadow: none; }
.rv-grades-foot { margin: 18px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--label); }

/* fit tiles: what this formula suits, and what it does not */
.rv-fits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.rv-fit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: var(--subtle);
}
.rv-fit img { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; }
.rv-fit-name { flex: 1; font-size: 15px; font-weight: 500; color: var(--blackish); }
.rv-fit-word { font-size: 13.5px; font-weight: 600; color: var(--indigo-20); }
.rv-fits--against .rv-fit { background: #fdf8ec; }
.rv-fits--against .rv-fit-word { color: var(--amber-10); }

/* screens: three yes or no checks read from the formula */
.rv-screens {
  margin-top: 26px;
  padding: 6px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}
.rv-screens div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; }
.rv-screens div + div { border-top: 1px solid var(--line); }
.rv-screens dt { font-size: 15px; font-weight: 500; color: var(--blackish); }
.rv-screens dt span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--label); }
.rv-screens dd { margin: 0; font-size: 14px; font-weight: 600; white-space: nowrap; }
.rv-screens .is-caution { color: var(--amber-10); }
.rv-screens .is-clear { color: var(--mint-10); }

/* rank on a list */
.rv-rank {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
  padding: 22px 26px;
  border-radius: 24px;
  background: var(--indigo-80);
  text-decoration: none;
}
.rv-rank-num { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--indigo-20); }
.rv-rank-num span { margin-left: 6px; font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--label); }
.rv-rank-list { font-size: 17px; font-weight: 600; color: var(--blackish); }
.rv-rank-by { margin-top: 3px; font-size: 13.5px; color: var(--body); }
.rv-rank-go { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--indigo-20); white-space: nowrap; }

.rv-preview-flag { margin: 0; padding: 8px 16px; background: var(--amber-70); color: var(--amber-10); font-size: 13px; text-align: center; }

@media (max-width: 720px) {
  .rv-grades { padding: 20px 20px 16px; }
  .rv-grades-list, .rv-fits { grid-template-columns: 1fr; }
  .rv-rank { flex-wrap: wrap; gap: 14px; }
  .rv-rank-go { margin-left: 0; }
}

/* Fit card: skin type strip and concern areas (v2 of the fit tiles) */
.rv-fitcard { margin: 22px 0; padding: 20px 22px; background: #fff; border-radius: 22px;
  box-shadow: 0 1px 2px rgba(49,46,129,.06), 0 10px 28px rgba(49,46,129,.07); }
.rv-eyebrow--gap { margin-top: 22px; }
.rv-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 12px; }
.rv-type { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px 12px;
  background: #eef0fd; border-radius: 3px; text-align: center; }
.rv-type:first-child { border-radius: 12px 3px 3px 12px; }
.rv-type:last-child { border-radius: 3px 12px 12px 3px; }
.rv-type img, .rv-dim img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.rv-type-name { font-weight: 600; color: #1a1d27; font-size: 15px; }
.rv-type-word { font-size: 13px; font-weight: 600; color: #4f46e5; }
.rv-type--against { background: #fdf0d5; }
.rv-type--against .rv-type-word { color: #b45309; }
.rv-dims { margin-top: 8px; }
.rv-dim { display: grid; grid-template-columns: 44px minmax(84px, 120px) 1fr 82px; align-items: center;
  gap: 14px; padding: 10px 0; }
.rv-dim + .rv-dim { box-shadow: inset 0 1px 0 rgba(49,46,129,.09); }
.rv-dim-name { font-weight: 600; color: #1a1d27; font-size: 15px; }
.rv-level { display: block; height: 8px; border-radius: 4px; background: #e9ebf7;
  box-shadow: inset 0 1px 2px rgba(49,46,129,.12); overflow: hidden; }
.rv-level > span { display: block; height: 100%; border-radius: 4px;
  background: linear-gradient(180deg, #818cf8, #6366f1); }
.rv-level--against { background: #fdf0d5; }
.rv-level--against > span { background: linear-gradient(180deg, #e0a83e, #c98a1f); }
.rv-dim-word { font-size: 14px; font-weight: 600; color: #4f46e5; text-align: right; }
.rv-dim-word--against { color: #b45309; }
.rv-fitcard .rv-grades-foot a { color: #4f46e5; font-weight: 600; }
.rv-grade-note { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: #5b6078; }
.rv-ribs--none .rv-rib { background: transparent; box-shadow: inset 0 0 0 1px rgba(49,46,129,.22); }
@media (max-width: 720px) {
  .rv-types { grid-template-columns: repeat(2, 1fr); }
  .rv-type:first-child { border-radius: 12px 3px 3px 3px; }
  .rv-type:last-child { border-radius: 3px 3px 12px 3px; }
  .rv-dim { grid-template-columns: 40px 1fr 74px; row-gap: 6px; }
  .rv-dim .rv-level { grid-column: 2 / 4; grid-row: 2; }
  .rv-dim img { grid-row: 1 / 3; }
}

/* ---------- v3: ceramic depth, photo plates, catalog comparisons ---------- */
.rv-slab { margin: 26px 0; padding: 0; background: linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%);
  border-radius: 28px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 1px rgba(49,46,129,.07),
    0 2px 4px rgba(49,46,129,.06), 0 14px 22px -10px rgba(49,46,129,.16), 0 34px 60px -24px rgba(49,46,129,.28); }
.rv-slab > .rv-eyebrow, .rv-slab > h3, .rv-slab > .rv-grades-foot, .rv-slab > .rv-grades-list,
.rv-slab > .rv-types, .rv-slab > .rv-dims, .rv-slab > .rv-range-ends { margin-left: 26px; margin-right: 26px; }
.rv-slab > .rv-eyebrow:first-child { margin-top: 24px; }
.rv-slab > .rv-grades-foot { margin-top: 16px; margin-bottom: 0; padding: 14px 0 22px;
  box-shadow: inset 0 1px 0 rgba(49,46,129,.09), inset 0 2px 0 rgba(255,255,255,.95); }

/* hero on sunlit tile */
.rv-hero { background: linear-gradient(90deg, rgba(246,247,255,.96) 0%, rgba(246,247,255,.9) 52%, rgba(246,247,255,.25) 100%),
  url("photo-light-am3.jpg") center / cover no-repeat; }
.rv-photo { background: #fff; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(49,46,129,.06),
  0 12px 20px -8px rgba(49,46,129,.2), 0 30px 50px -20px rgba(49,46,129,.35); }
.rv-score { background: rgba(255,255,255,.86); border-radius: 18px; padding: 12px 10px 14px;
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -12px rgba(49,46,129,.3); }

/* grades: photo plate + rarity strips */
.rv-grades.rv-slab { padding: 0; background: linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%); }
.rv-plate { position: relative; height: 210px; }
.rv-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block; }
.rv-plate::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,27,75,0) 35%, rgba(30,27,75,.62) 100%); }
.rv-plate-label { position: absolute; left: 26px; bottom: 18px; z-index: 1; color: #fff; }
.rv-plate-label .rv-eyebrow { color: #e0e7ff; display: block; margin: 0 0 4px; }
.rv-plate-label b { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.rv-grades.rv-slab .rv-grades-list { display: block; margin-top: 6px; }
.rv-grades.rv-slab .rv-grade { padding: 18px 0 16px; }
.rv-grades.rv-slab .rv-grade + .rv-grade { box-shadow: inset 0 1px 0 rgba(49,46,129,.09), inset 0 2px 0 rgba(255,255,255,.95); }
.rv-grades.rv-slab .rv-grade-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.rv-grades.rv-slab .rv-grade-name { display: block; font-size: 13px; font-weight: 600; color: #5b6078;
  text-transform: none; letter-spacing: 0; }
.rv-grades.rv-slab .rv-grade-word { display: block; font-size: 24px; font-weight: 600; color: #1a1d27; letter-spacing: -.015em; }
.rv-grade--none .rv-grade-word { color: #9aa2b1 !important; }
.rv-grade-stat { text-align: right; }
.rv-grade-stat b { display: block; font-size: 24px; font-weight: 700; color: #4f46e5; letter-spacing: -.02em; line-height: 1.1; }
.rv-grade--none .rv-grade-stat b { color: #5b6078; }
.rv-grade-stat span { font-size: 12.5px; color: #5b6078; }
.rv-strip { display: flex; gap: 2px; height: 16px; margin-top: 12px; padding: 3px; border-radius: 10px;
  background: #e9ebf7; box-shadow: inset 0 1px 2px rgba(49,46,129,.16); }
.rv-seg { flex-basis: 0; min-width: 9px; border-radius: 3px; background: #cfd3ec; box-shadow: inset 0 1px 0 rgba(255,255,255,.55); }
.rv-seg:first-child { border-radius: 7px 3px 3px 7px; } .rv-seg:last-child { border-radius: 3px 7px 7px 3px; }
.rv-seg--on { background: linear-gradient(180deg, #8f98fa 0%, #6366f1 55%, #4f46e5 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 2px #fff, 0 3px 8px rgba(79,70,229,.55); position: relative; z-index: 1; }
.rv-grade--none .rv-seg--on { background: linear-gradient(180deg, #aab0c6, #7d849d); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 2px #fff, 0 3px 8px rgba(49,46,129,.3); }
.rv-strip-ends, .rv-range-ends { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11.5px; color: #9aa2b1; }
.rv-grades.rv-slab .rv-grade-note { margin-top: 8px; }

/* lipids by seal tile matrix */
.rv-matrix h3 { margin-top: 6px; margin-bottom: 16px; font-size: 22px; line-height: 1.25; letter-spacing: -.015em; color: #1a1d27; }
.rv-mx-wrap { display: flex; align-items: center; gap: 4px; margin: 0 26px 0 12px; }
.rv-mx-ylabel { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; font-weight: 600; color: #5b6078; }
.rv-mx { flex: 1; display: grid; grid-template-columns: 86px repeat(5, 1fr); gap: 3px; padding: 5px;
  background: #dfe2f3; border-radius: 16px; box-shadow: inset 0 2px 5px rgba(49,46,129,.2); }
.rv-mx-axis { display: flex; align-items: center; font-size: 12px; color: #4b5061; padding-left: 8px; }
.rv-mx-axis--x { justify-content: center; padding: 6px 0 2px; }
.rv-mx-cell { position: relative; aspect-ratio: 1.55; border-radius: 4px; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -6px 10px -6px rgba(30,27,75,.25), 0 1px 2px rgba(49,46,129,.18); }
.rv-mx-0 { background: #eceefa; box-shadow: inset 0 1px 3px rgba(49,46,129,.18); }
.rv-mx-1 { background: linear-gradient(160deg, #e3e7ff, #cdd4fd); }
.rv-mx-2 { background: linear-gradient(160deg, #b9c2fb, #9da8f7); }
.rv-mx-3 { background: linear-gradient(160deg, #8590f3, #6a70ea); }
.rv-mx-4 { background: linear-gradient(160deg, #5046d6, #3730a3); }
.rv-mx-here { z-index: 2; outline: 3px solid #fff; box-shadow: 0 0 0 5px #4f46e5, 0 10px 22px rgba(79,70,229,.55), inset 0 1px 0 rgba(255,255,255,.7); transform: scale(1.06); }
.rv-mx-here b { font-size: 17px; font-weight: 700; color: #312e81; line-height: 1; }
.rv-mx-here i { font-style: normal; font-size: 10.5px; font-weight: 600; color: #312e81; }
.rv-mx-xlabel { text-align: center; margin: 8px 26px 0 112px; font-size: 12px; font-weight: 600; color: #5b6078; }
.rv-mx-legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin: 12px 26px 0; font-size: 11.5px; color: #5b6078; }
.rv-mx-legend i { width: 20px; height: 12px; border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.rv-mx-legend span { margin: 0 4px; }

/* fit card */
.rv-fitcard.rv-slab { padding: 0; }
.rv-fitcard .rv-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 12px; padding: 5px;
  background: #dfe2f3; border-radius: 18px; box-shadow: inset 0 2px 5px rgba(49,46,129,.2); }
.rv-fitcard .rv-type { padding: 0 0 12px; overflow: hidden; border-radius: 4px; background: linear-gradient(180deg, #f4f5ff, #e4e8ff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 2px rgba(49,46,129,.2); }
.rv-fitcard .rv-type:first-child { border-radius: 13px 4px 4px 13px; } .rv-fitcard .rv-type:last-child { border-radius: 4px 13px 13px 4px; }
.rv-fitcard .rv-type img { width: 100%; height: auto; aspect-ratio: 1.25; border-radius: 0; object-fit: cover; margin-bottom: 8px; }
.rv-fitcard .rv-type-name { font-size: 16px; } .rv-fitcard .rv-type-word { font-size: 13.5px; }
.rv-fitcard .rv-type--against { background: linear-gradient(180deg, #fff6e2, #fdebc8); }
.rv-fitcard .rv-dims { margin-top: 6px; }
.rv-fitcard .rv-dim { grid-template-columns: 64px minmax(96px, 128px) 1fr 84px; gap: 16px; padding: 12px 0; }
.rv-fitcard .rv-dim img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(49,46,129,.08), 0 6px 14px -4px rgba(49,46,129,.35); }
.rv-dim-name small { display: block; font-size: 12px; font-weight: 400; color: #9aa2b1; }
.rv-range { position: relative; display: block; height: 14px; border-radius: 8px; background: #e9ebf7;
  box-shadow: inset 0 1px 2px rgba(49,46,129,.18); }
.rv-range-band { position: absolute; top: 2px; bottom: 2px; border-radius: 6px;
  background: linear-gradient(180deg, #a5b0fb, #7c83f3); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.rv-range i { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: #4338ca; box-shadow: 0 0 0 2px #fff, 0 2px 5px rgba(49,46,129,.5); }
.rv-range--against { background: #fdf0d5; }
.rv-range--against .rv-range-band { background: linear-gradient(180deg, #edc477, #dba23a); }
.rv-range--against i { background: #b45309; }
.rv-fitcard .rv-range-ends { margin-left: 250px; margin-right: 126px; }

/* screens with catalog context */
.rv-screens3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.rv-screen { display: flex; flex-direction: column; gap: 3px; padding: 16px 16px 14px; border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f6f7ff);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(49,46,129,.07), 0 12px 24px -12px rgba(49,46,129,.3); }
.rv-screen.is-caution { background: linear-gradient(180deg, #fffaf0, #fdf0d5); }
.rv-screen-name { font-size: 12.5px; font-weight: 600; color: #5b6078; }
.rv-screen b { font-size: 21px; letter-spacing: -.01em; color: #047857; }
.rv-screen.is-caution b { color: #b45309; }
.rv-screen-note { font-size: 12.5px; color: #5b6078; min-height: 34px; }
.rv-screen-share { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: rgba(49,46,129,.1); overflow: hidden; }
.rv-screen-share i { display: block; height: 100%; background: #7d849d; border-radius: 3px; }
.rv-screen-ctx { font-size: 12px; color: #4b5061; margin-top: 4px; }

/* rank */
.rv-rank3 { display: flex; align-items: center; gap: 22px; margin: 22px 0; padding: 22px 24px; border-radius: 28px; color: #fff;
  text-decoration: none; background: linear-gradient(160deg, #4f46e5 0%, #3730a3 70%, #312e81 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 16px 26px -12px rgba(49,46,129,.5), 0 36px 60px -26px rgba(49,46,129,.6); }
.rv-rank3 .rv-rank-num { font-size: 54px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #fff; }
.rv-rank3 .rv-rank-num span { font-size: 15px; font-weight: 400; color: #c7d2fe; letter-spacing: 0; margin-left: 6px; }
.rv-rank3 .rv-rank-main { flex: 1; min-width: 0; }
.rv-rank3 .rv-rank-list { font-size: 19px; font-weight: 600; color: #fff; }
.rv-rank3 .rv-rank-by { font-size: 13px; color: #c7d2fe; margin-top: 6px; }
.rv-rank-ribs { display: flex; gap: 4px; margin-top: 10px; }
.rv-rank-ribs i { flex: 1; max-width: 26px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.22); }
.rv-rank-ribs i.on { background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.8); height: 14px; margin-top: -3px; }
.rv-rank3 .rv-rank-go { padding: 10px 16px; border-radius: 999px; background: #fff; color: #3730a3; font-weight: 600; font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 6px 14px rgba(30,27,75,.35); white-space: nowrap; }

@media (max-width: 720px) {
  .rv-slab > .rv-eyebrow, .rv-slab > h3, .rv-slab > .rv-grades-foot, .rv-slab > .rv-grades-list,
  .rv-slab > .rv-types, .rv-slab > .rv-dims, .rv-slab > .rv-range-ends { margin-left: 16px; margin-right: 16px; }
  .rv-plate { height: 160px; } .rv-plate-label { left: 16px; } .rv-plate-label b { font-size: 17px; }
  .rv-grades.rv-slab .rv-grade-word, .rv-grade-stat b { font-size: 20px; }
  .rv-grade-stat span { display: block; max-width: 150px; margin-left: auto; }
  .rv-mx-wrap { margin: 0 12px 0 4px; } .rv-mx { grid-template-columns: 62px repeat(5, 1fr); }
  .rv-mx-axis { font-size: 10.5px; padding-left: 4px; } .rv-mx-cell { aspect-ratio: 1.1; }
  .rv-mx-xlabel { margin-left: 74px; } .rv-matrix h3 { font-size: 19px; }
  .rv-fitcard .rv-types { grid-template-columns: repeat(4, 1fr); }
  .rv-fitcard .rv-type-name { font-size: 13px; } .rv-fitcard .rv-type-word { font-size: 12px; }
  .rv-fitcard .rv-dim { grid-template-columns: 48px 1fr 74px; row-gap: 8px; }
  .rv-fitcard .rv-dim img { width: 48px; height: 48px; grid-row: 1 / 3; }
  .rv-fitcard .rv-dim .rv-range { grid-column: 2 / 4; grid-row: 2; }
  .rv-fitcard .rv-range-ends { margin-left: 16px; margin-right: 16px; }
  .rv-screens3 { grid-template-columns: 1fr; } .rv-screen-note { min-height: 0; }
  .rv-rank3 { flex-wrap: wrap; gap: 14px; padding: 20px; } .rv-rank3 .rv-rank-num { font-size: 44px; }
}

.rv-dim-slot { width: 64px; height: 64px; border-radius: 14px; background: #e9ebf7; box-shadow: inset 0 2px 4px rgba(49,46,129,.18); }
@media (max-width: 720px) { .rv-dim-slot { width: 48px; height: 48px; grid-row: 1 / 3; } }

/* realistic skin photos: larger thumbnails so the skin state stays readable */
.rv-fitcard .rv-dim { grid-template-columns: 92px minmax(96px, 128px) 1fr 84px; }
.rv-fitcard .rv-dim img, .rv-dim-slot { width: 92px; height: 92px; border-radius: 16px; }
.rv-fitcard .rv-range-ends { margin-left: 278px; }
.rv-fitcard .rv-type img { aspect-ratio: 1.1; }
@media (max-width: 720px) {
  .rv-fitcard .rv-dim { grid-template-columns: 64px 1fr 74px; }
  .rv-fitcard .rv-dim img, .rv-dim-slot { width: 64px; height: 64px; }
  .rv-fitcard .rv-range-ends { margin-left: 16px; }
}

/* Review layout v3. Built to the target at
   rig-out/review-assets/2026-11-21/ui-target/target-desktop.png.
   Shape rule: cards 22, hero cards 28, inner tiles 16, thumbnails 12, segments 3, chips are pills.
   One accent (indigo). Amber is caution only, green is a clear result only. No gradients. */
:root { --r-card: 22px; --r-hero: 28px; --r-tile: 16px; --rv7-accent: #4f46e5; --rv7-ink: #1a1d27;
  --rv7-ink2: #4b5061; --rv7-mute: #5b6078; --rv7-line: rgba(49,46,129,.1);
  --rv7-shadow: 0 0 0 1px rgba(49,46,129,.06), 0 2px 4px rgba(49,46,129,.05), 0 18px 36px -18px rgba(49,46,129,.22); }

/* hero: no score, plain surface */
.rv-hero { background: #f1f2fd; }
.rv-hero-aside { width: 340px; }
.rv-photo { background: #fff; border-radius: var(--r-hero); box-shadow: var(--rv7-shadow); }
.rv-hero-note { color: var(--rv7-mute); }
.rv7-glance { margin-top: 14px; padding: 18px 22px 16px; background: #fff; border-radius: var(--r-card); box-shadow: var(--rv7-shadow); }
.rv7-glance h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.01em; color: var(--rv7-ink); }
.rv7-glance-row { display: grid; grid-template-columns: 12px auto 1fr; gap: 10px; align-items: baseline; padding: 4px 0; font-size: 14.5px; line-height: 1.4; }
.rv7-glance-row i { width: 12px; height: 12px; border-radius: 50%; align-self: center; background: #8d94ad; }
.rv7-glance-row b { font-weight: 600; color: var(--rv7-ink); white-space: nowrap; }
.rv7-glance-row span { color: var(--rv7-ink2); }
.rv7-glance-row.is-helps i { background: var(--rv7-accent); }
.rv7-glance-row.is-against i { background: #b45309; }

/* wide blocks break out of the reading column */
.rv7-wide { width: min(940px, calc(100vw - 48px)); margin: 26px 0 30px 50%; transform: translateX(-50%); }
.rv7-card, .rv7-rail { background: #fff; border-radius: var(--r-card); box-shadow: var(--rv7-shadow); padding: 22px 24px; }
.rv7-card h3, .rv7-rail h3 { margin: 0 0 12px; font-size: 20px; letter-spacing: -.015em; color: var(--rv7-ink); }

/* grades */
.rv7-grade { display: grid; grid-template-columns: minmax(0, 1fr) auto 96px; gap: 18px; align-items: center; padding: 14px 0; }
.rv7-grade + .rv7-grade { box-shadow: inset 0 1px 0 var(--rv7-line); }
.rv7-grade:first-child { padding-top: 2px; } .rv7-grade:last-child { padding-bottom: 2px; }
.rv7-grade-text b { display: block; font-size: 16.5px; font-weight: 600; color: var(--rv7-ink); }
.rv7-grade-text span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--rv7-mute); }
.rv7-segs { display: flex; gap: 4px; }
.rv7-segs i { width: 34px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #b9bed6; }
.rv7-segs i.on { background: var(--rv7-accent); box-shadow: none; }
.rv7-grade-word { text-align: right; font-size: 15px; font-weight: 500; color: var(--rv7-ink); }
.is-top .rv7-grade-word { color: var(--rv7-accent); font-weight: 600; }
.is-none .rv7-grade-word { color: #8d94ad; }

/* guides rail */
.rv7-rail { padding: 20px 16px 16px; background: #f7f8ff; }
.rv7-rail h3 { padding: 0 6px; font-size: 18px; }
.rv7-guide { display: block; padding: 14px 16px; margin-top: 8px; background: #fff; border-radius: var(--r-tile); text-decoration: none;
  box-shadow: 0 0 0 1px rgba(49,46,129,.07), 0 6px 14px -10px rgba(49,46,129,.3); transition: box-shadow .15s cubic-bezier(.23,1,.32,1); }
.rv7-guide:hover { box-shadow: 0 0 0 1.5px var(--rv7-accent), 0 6px 14px -10px rgba(49,46,129,.3); }
.rv7-guide:focus-visible { outline: 2px solid var(--rv7-accent); outline-offset: 2px; }
.rv7-guide-topic { display: block; font-size: 12px; font-weight: 600; color: var(--rv7-mute); }
.rv7-guide b { display: block; margin: 3px 0 6px; font-size: 14.5px; line-height: 1.35; font-weight: 600; color: var(--rv7-ink); }
.rv7-guide-go { font-size: 13.5px; font-weight: 600; color: var(--rv7-accent); }
.rv7-guide-go::after { content: " \2192"; }

/* skin type tiles */
.rv7-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; border-radius: var(--r-tile); overflow: hidden; }
.rv7-type { background: #f4f5fb; padding-bottom: 14px; }
.rv7-type img { width: 100%; aspect-ratio: 1.9; object-fit: cover; display: block; }
.rv7-type b { display: block; padding: 12px 16px 0; font-size: 16.5px; font-weight: 600; color: var(--rv7-ink); }
.rv7-type span { display: block; padding: 2px 16px 0; font-size: 14.5px; color: var(--rv7-mute); }
.rv7-type.is-helps span { color: var(--rv7-accent); font-weight: 600; }
.rv7-type.is-against span { color: #b45309; font-weight: 600; }
.rv7-gap { margin-top: 26px !important; padding-top: 22px; box-shadow: inset 0 1px 0 var(--rv7-line); }

/* concern areas */
.rv7-area { display: grid; grid-template-columns: 76px 150px 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 9px 0; }
.rv7-area + .rv7-area { box-shadow: inset 0 1px 0 var(--rv7-line); }
.rv7-area img, .rv7-area-slot { width: 76px; height: 50px; border-radius: 12px; object-fit: cover; background: #e9ebf7; }
.rv7-area b { font-size: 17px; font-weight: 600; color: var(--rv7-ink); }
.rv7-chip { justify-self: start; padding: 5px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: #eceef3; color: #3a3f4d; }
.is-helps .rv7-chip { background: #e0e7ff; color: #3730a3; }
.is-against .rv7-chip { background: #fdf0d5; color: #b45309; }
.rv7-area-why { font-size: 14.5px; color: var(--rv7-ink2); }

/* rank */
.rv7-rank { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 22px 0; padding: 20px 22px; border-radius: var(--r-card);
  background: #fff; box-shadow: var(--rv7-shadow); text-decoration: none; }
.rv7-rank span { display: block; font-size: 13px; color: var(--rv7-mute); }
.rv7-rank b { display: block; margin: 2px 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--rv7-ink); }
.rv7-rank .rv7-rank-go { padding: 10px 16px; border-radius: 999px; background: var(--rv7-accent); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; }
.rv7-rank:focus-visible { outline: 2px solid var(--rv7-accent); outline-offset: 2px; }

@media (max-width: 860px) {
  .rv-hero-aside { width: 100%; }
  .rv7-wide { width: 100%; margin-left: 0; transform: none; }
  .rv7-card, .rv7-rail { padding: 18px 16px; }
  .rv7-grade { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
  .rv7-grade-text { grid-column: 1 / 3; } .rv7-grade-word { text-align: right; }
  .rv7-segs i { width: 30px; }
  .rv7-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv7-area { grid-template-columns: 60px minmax(0, 1fr) auto; row-gap: 4px; column-gap: 12px; }
  .rv7-area img, .rv7-area-slot { width: 60px; height: 44px; grid-row: 1 / 3; }
  .rv7-area-why { grid-column: 2 / 4; }
  .rv7-rank { flex-direction: column; align-items: flex-start; }
}

/* one left edge for the whole page: headings, reading text and wide cards start together */
.rv-column { width: min(940px, calc(100% - 48px)); max-width: none; }
.rv-column > :not(.rv7-wide) { max-width: 680px; }
.rv7-wide { width: 100%; margin: 22px 0 30px; transform: none; }

.rv-photo { padding: 18px; } .rv-photo img { max-height: 190px; }
.rv-hero { padding-bottom: 30px; }

.rv-hero-note a { color: var(--rv7-accent); font-weight: 600; }

/* ---- depth and photography restored (Maria, 2026-11-21: the plain version looked simpler and worse) ---- */
:root { --rv7-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(49,46,129,.07), 0 2px 4px rgba(49,46,129,.06),
    0 14px 22px -10px rgba(49,46,129,.16), 0 34px 60px -26px rgba(49,46,129,.3); }
/* hero on the sunlit tile wall */
.rv-hero { padding-bottom: 38px; background:
  linear-gradient(90deg, rgba(246,247,255,.97) 0%, rgba(246,247,255,.9) 48%, rgba(246,247,255,.3) 100%),
  url("photo-light-am3.jpg") center / cover no-repeat; }
.rv-photo, .rv7-glance { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(49,46,129,.06), 0 12px 20px -8px rgba(49,46,129,.22), 0 34px 54px -22px rgba(49,46,129,.4); }
.rv7-card, .rv7-rail { background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%); }
/* photo plate on the grades card */
.rv7-card--plate { padding-top: 0; overflow: hidden; }
.rv7-plate { position: relative; height: 170px; margin: 0 -24px 14px; }
.rv7-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block; }
.rv7-plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,27,75,0) 38%, rgba(30,27,75,.6) 100%); }
.rv7-plate h3 { position: absolute; left: 24px; bottom: 16px; z-index: 1; margin: 0; color: #fff; font-size: 22px; }
/* glazed segments in a recessed track */
.rv7-segs { padding: 3px; border-radius: 6px; background: #e9ebf7; box-shadow: inset 0 1px 2px rgba(49,46,129,.18); }
.rv7-segs i { box-shadow: none; background: #d3d7ee; }
.rv7-segs i.on { background: linear-gradient(180deg, #818cf8 0%, #6366f1 55%, #4f46e5 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 1px 3px rgba(79,70,229,.45); }
.is-none .rv7-segs i { background: transparent; box-shadow: inset 0 0 0 1.5px #b9bed6; }
/* guide cards with photo thumbnails */
.rv7-rail { background: linear-gradient(180deg, #f7f8ff, #eef0fd); }
.rv7-guide { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 12px;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(49,46,129,.07), 0 10px 18px -10px rgba(49,46,129,.35); }
.rv7-guide img { grid-row: 1 / 4; width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.rv7-guide b { margin: 2px 0 4px; }
/* skin type tiles sit in a grout tray */
.rv7-types { padding: 5px; gap: 3px; border-radius: var(--r-tile); overflow: visible; background: #dfe2f3; box-shadow: inset 0 2px 5px rgba(49,46,129,.2); }
.rv7-type { border-radius: 4px; overflow: hidden; background: linear-gradient(180deg, #fff, #f1f3ff); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(49,46,129,.2); }
.rv7-type:first-child { border-radius: 12px 4px 4px 12px; } .rv7-type:last-child { border-radius: 4px 12px 12px 4px; }
.rv7-area img { box-shadow: 0 0 0 1px rgba(49,46,129,.08), 0 6px 12px -4px rgba(49,46,129,.35); }
.rv7-chip { box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 2px rgba(49,46,129,.12); }
/* rank: a glazed indigo slab */
.rv7-rank { background: linear-gradient(160deg, #4f46e5 0%, #3730a3 75%, #312e81 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 16px 26px -12px rgba(49,46,129,.5), 0 36px 60px -28px rgba(49,46,129,.55); }
.rv7-rank span { color: #c7d2fe; } .rv7-rank b { color: #fff; }
.rv7-rank .rv7-rank-go { background: #fff; color: #3730a3; box-shadow: inset 0 1px 0 #fff, 0 6px 14px rgba(30,27,75,.35); }
@media (max-width: 860px) {
  .rv-hero { background: linear-gradient(180deg, rgba(246,247,255,.55) 0%, rgba(246,247,255,.96) 46%), url("photo-light-am3.jpg") top center / 100% auto no-repeat, #f1f2fd; }
  .rv7-plate { margin: 0 -16px 12px; height: 140px; } .rv7-plate h3 { left: 16px; }
  .rv7-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv7-type:first-child { border-radius: 12px 4px 4px 4px; } .rv7-type:last-child { border-radius: 4px 4px 12px 4px; }
}
.rv-hero { background:
  linear-gradient(90deg, rgba(246,247,255,.94) 0%, rgba(246,247,255,.8) 42%, rgba(246,247,255,.08) 100%),
  url("photo-light-am3.jpg") center / cover no-repeat; }
.rv7-segs { justify-self: start; }
@media (max-width: 860px) {
  .rv-hero { background: linear-gradient(180deg, rgba(246,247,255,.3) 0%, rgba(246,247,255,.95) 42%), url("photo-light-am3.jpg") top center / 100% auto no-repeat, #f1f2fd; }
}

/* ---- critique round (2026-11-21): one grid shared with the header, a side card in every section ---- */
.rv-cta-pill { font-weight: 600; }
.rv-column { width: min(1000px, calc(100% - 48px)); }
.rv-column > :not(.rv7-wide) { max-width: none; }
.rv-article h2 { margin-bottom: 18px; }
.rv8-row { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: 32px; align-items: start; }
.rv8-main > :first-child { margin-top: 0; }
.rv8-main > .rv7-card { margin-bottom: 26px; }
.rv8-main > .rv7-rank { margin-bottom: 24px; }
.rv8-side { position: sticky; top: 20px; }
.rv8-side:empty { display: none; }
.rv8-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* side cards: a tinted tray holding white tiles, the same build as the guides rail */
.rv8-list, .rv8-tile, .rv8-facts { margin: 8px 0 0; background: #fff; border-radius: var(--r-tile);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(49,46,129,.07), 0 10px 18px -10px rgba(49,46,129,.35); }
.rv8-list { list-style: none; padding: 4px 16px; }
.rv8-list li { position: relative; padding: 11px 0 11px 30px; font-size: 14.5px; line-height: 1.35; font-weight: 500; color: var(--rv7-ink); }
.rv8-list li + li, .rv8-facts div + div { box-shadow: inset 0 1px 0 var(--rv7-line); }
.rv8-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%;
  background: #e0e7ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.rv8-list--caution li::before { background: #fdf0d5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v7M12 17.5v.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.rv8-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 13px 16px; }
.rv8-tile span:first-child { font-size: 14.5px; font-weight: 600; color: var(--rv7-ink); }
.rv8-tile span:last-child { grid-column: 1; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--rv7-mute); }
.rv8-tile b { grid-column: 2; grid-row: 1 / 3; font-size: 14.5px; font-weight: 600; color: #047857; }
.rv8-tile.is-caution b { color: #b45309; }
.rv8-facts { padding: 4px 16px; }
.rv8-facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; }
.rv8-facts dt { font-size: 13px; color: var(--rv7-mute); }
.rv8-facts dd { margin: 0; font-size: 14.5px; font-weight: 600; text-align: right; color: var(--rv7-ink); }
.rv-disclosure.rv7-rail { display: block; margin-top: 0; border-top: 0; }
.rv-disclosure.rv7-rail p { padding: 0 6px; font-size: 13.5px; line-height: 1.6; color: var(--rv7-ink2); }
.rv-disclosure.rv7-rail .rv-links { width: auto; padding: 0 6px; }

/* fit card: a guide link per area, and the app action as the one button on the page */
.rv8-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.rv8-head h3 { margin: 0; }
.rv8-headlink, .rv7-area-guide { font-size: 14px; font-weight: 600; color: var(--rv7-accent); text-decoration: none; white-space: nowrap; }
.rv8-headlink::after, .rv7-area-guide::after { content: " \2192"; }
.rv8-headlink:hover, .rv7-area-guide:hover { text-decoration: underline; }
.rv7-area { grid-template-columns: 76px 130px 170px minmax(0, 1fr) auto; }
.rv8-action { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 16px 18px 16px 20px;
  border-radius: var(--r-tile); background: #eceefb; box-shadow: inset 0 2px 4px rgba(49,46,129,.14); }
.rv8-action p { margin: 0; max-width: 540px; font-size: 13.5px; line-height: 1.55; color: var(--rv7-ink2); }
.rv8-button, .rv8-button:hover { flex-shrink: 0; padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #fff; text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 10px 18px -8px rgba(79,70,229,.6);
  transition: opacity .22s cubic-bezier(.22,1,.36,1); }
.rv8-button:hover { opacity: .88; }
.rv8-button:focus-visible, .rv8-headlink:focus-visible, .rv7-area-guide:focus-visible { outline: 2px solid var(--rv7-accent); outline-offset: 2px; }

@media (max-width: 860px) {
  .rv8-row { grid-template-columns: 1fr; }
  .rv8-side { position: static; margin-top: 22px; }
  .rv8-head { flex-wrap: wrap; row-gap: 2px; }
  .rv7-area { grid-template-columns: 60px minmax(0, 1fr) auto; }
  .rv7-area-guide { grid-column: 2 / 4; justify-self: start; font-size: 13px; }
  .rv8-action { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .rv8-button { text-align: center; }
}

/* ---- Maria, 2026-11-21: guide cards use the posts' own photos; glance card rebuilt; bigger area photos ---- */
.rv7-guide { grid-template-columns: 92px minmax(0, 1fr); column-gap: 14px; padding: 10px 14px 10px 10px; align-items: center; }
.rv7-guide img { grid-row: 1 / 4; width: 92px; height: 112px; border-radius: 12px; object-fit: cover; }

/* at a glance: three verdicts, each on a coloured rail, so every line starts on the same edge */
.rv7-glance { padding: 20px 22px 20px; }
.rv7-glance h3 { margin-bottom: 14px; }
.rv7-glance-row { display: block; position: relative; padding: 1px 0 1px 16px; font-size: 14.5px; line-height: 1.4; }
.rv7-glance-row + .rv7-glance-row { margin-top: 14px; }
.rv7-glance-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: #c3c8dc; }
.rv7-glance-row b { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--rv7-mute); white-space: normal; }
.rv7-glance-row span { display: block; color: var(--rv7-ink2); }
.rv7-glance-row.is-helps::before { background: linear-gradient(180deg, #818cf8, #4f46e5); }
.rv7-glance-row.is-helps b { color: var(--rv7-accent); }
.rv7-glance-row.is-helps span { font-size: 16.5px; font-weight: 600; letter-spacing: -.005em; color: var(--rv7-ink); }
.rv7-glance-row.is-against::before { background: linear-gradient(180deg, #e0a83e, #c98a1f); }
.rv7-glance-row.is-against b { color: #b45309; }
.rv7-glance-row.is-against span { color: var(--rv7-ink); font-weight: 500; }

/* concern areas: larger photos, tighter text */
.rv7-area { grid-template-columns: 112px 130px 170px minmax(0, 1fr) auto; gap: 18px; padding: 10px 0; }
.rv7-area img, .rv7-area-slot { width: 112px; height: 76px; border-radius: 14px; }
.rv7-area b { line-height: 1.25; }
.rv7-area-why { line-height: 1.4; }
@media (max-width: 860px) {
  .rv7-area { grid-template-columns: 96px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 3px; padding: 12px 0; align-items: start; }
  .rv7-area img, .rv7-area-slot { width: 96px; height: 96px; grid-row: 1 / 4; }
  .rv7-area b { align-self: center; }
  .rv7-area-why { font-size: 14px; line-height: 1.35; }
  .rv7-guide { grid-template-columns: 84px minmax(0, 1fr); }
  .rv7-guide img { width: 84px; height: 104px; }
}

/* ---- Maria's decisions, 2026-11-21 evening: mixed state, alternatives, glance without neutrals ---- */
.rv7-glance-row.is-mixed::before { background: linear-gradient(180deg, #818cf8 0 50%, #e0a83e 50% 100%); }
.rv7-glance-row.is-mixed b { color: #92400e; }
.rv7-glance-row.is-mixed span { color: var(--rv7-ink); font-weight: 500; }
.rv7-type.is-mixed span { color: #b45309; font-weight: 600; }
.rv7-type small { display: block; padding: 4px 16px 0; font-size: 12.5px; line-height: 1.4; color: var(--rv7-mute); }
.rv7-types { align-items: stretch; }
.rv8-alt-title { margin: 28px 0 12px; font-size: 19px; letter-spacing: -.01em; color: var(--rv7-ink); }
.rv8-alts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rv8-alt { display: block; padding: 16px 18px; border-radius: var(--r-tile); text-decoration: none; background: linear-gradient(180deg, #fff, #f8f9ff);
  box-shadow: var(--rv7-shadow); transition: box-shadow .15s cubic-bezier(.22,1,.36,1); }
.rv8-alt:hover { box-shadow: 0 0 0 1.5px var(--rv7-accent), 0 14px 22px -10px rgba(49,46,129,.16); }
.rv8-alt:focus-visible { outline: 2px solid var(--rv7-accent); outline-offset: 2px; }
.rv8-alt span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--rv7-ink2); }
.rv8-alt span:first-child { font-size: 12px; font-weight: 600; color: var(--rv7-accent); }
.rv8-alt b { display: block; margin: 3px 0 6px; font-size: 16px; line-height: 1.3; font-weight: 600; color: var(--rv7-ink); }
@media (max-width: 860px) { .rv8-alts { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .rv-photo { margin: 0; } .rv-hero h1 { margin-top: 14px; } }

/* ---- more room everywhere (Maria, 2026-11-21: "id prefer to see it more spacious the entire article") ---- */
.rv-hero { padding-bottom: 60px; }
.rv7-glance { margin-top: 18px; padding: 24px 26px 26px; }
.rv7-glance-row + .rv7-glance-row { margin-top: 18px; }
.rv-article { padding: 76px 0 104px; }
.rv-article h2 { margin: 96px 0 28px; font-size: 30px; }
.rv-article h2:first-child { margin-top: 0; }
.rv-article p { margin-top: 22px; line-height: 1.8; }
.rv8-row { column-gap: 48px; }
.rv8-main > :first-child { margin-top: 0; }
.rv8-main > .rv7-card { margin-bottom: 40px; }
.rv7-card { padding: 30px 32px 32px; }
.rv7-card h3 { margin-bottom: 18px; }
.rv7-card--plate { padding-top: 0; }
.rv7-plate { height: 190px; margin: 0 -32px 22px; } .rv7-plate h3 { left: 32px; bottom: 20px; }
.rv7-grade { padding: 20px 0; }
.rv7-rail { padding: 26px 20px 20px; } .rv7-rail h3 { margin-bottom: 16px; padding: 0 8px; }
.rv7-guide { margin-top: 12px; padding: 12px 16px 12px 12px; }
.rv8-list, .rv8-tile, .rv8-facts { margin-top: 12px; }
.rv8-tile { padding: 16px 18px; }
.rv8-list { padding: 6px 18px; } .rv8-list li { padding-top: 14px; padding-bottom: 14px; }
.rv8-facts { padding: 6px 18px; } .rv8-facts div { padding: 14px 0; }
.rv-disclosure.rv7-rail p { padding: 0 8px 6px; line-height: 1.7; }
.rv7-wide { margin: 48px 0 0; }
.rv8-head { margin-bottom: 18px; }
.rv7-type { padding-bottom: 20px; } .rv7-type b { padding-top: 16px; } .rv7-type small { padding-top: 6px; }
.rv7-gap { margin-top: 38px !important; padding-top: 34px; }
.rv7-area { padding: 16px 0; }
.rv8-action { margin-top: 28px; padding: 22px 24px 22px 26px; }
.rv7-rank { padding: 28px 30px; } .rv8-main > .rv7-rank { margin-bottom: 34px; }
.rv-faq summary { padding-top: 24px; padding-bottom: 24px; }
.rv-faq p { margin: 0 0 26px; }

/* alternatives: one roomy card each, with the product's own photo */
.rv8-alt-title { margin: 56px 0 18px; font-size: 21px; }
.rv8-alts { grid-template-columns: 1fr; gap: 16px; }
.rv8-alt { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 24px; align-items: center; padding: 20px 26px 20px 20px; }
.rv8-alt img, .rv8-alt-slot { width: 116px; height: 116px; padding: 10px; border-radius: 14px; background: #fff; object-fit: contain;
  box-shadow: 0 0 0 1px rgba(49,46,129,.07), 0 8px 16px -8px rgba(49,46,129,.3); }
.rv8-alt div span:first-child { font-size: 12.5px; }
.rv8-alt b { margin: 4px 0 8px; font-size: 17.5px; }
.rv8-alt div span:last-child { font-size: 14.5px; line-height: 1.5; }

@media (max-width: 860px) {
  .rv-article { padding: 48px 0 72px; }
  .rv-article h2 { margin: 64px 0 20px; font-size: 24px; }
  .rv7-card { padding: 22px 18px 24px; } .rv7-card--plate { padding-top: 0; }
  .rv7-plate { height: 150px; margin: 0 -18px 16px; } .rv7-plate h3 { left: 18px; }
  .rv7-rail { padding: 22px 14px 14px; }
  .rv8-side { margin-top: 32px; }
  .rv7-wide { margin-top: 40px; }
  .rv8-alt { grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; padding: 16px; }
  .rv8-alt img, .rv8-alt-slot { width: 88px; height: 88px; padding: 8px; }
  .rv8-action { padding: 18px; }
}

/* pairing steps, saves line (Maria, 2026-11-21) */
.rv8-pairs { padding: 12px 28px 28px; }
.rv8-pair { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; column-gap: 18px; align-items: center; padding: 20px 0; }
.rv8-pair + .rv8-pair { box-shadow: inset 0 1px 0 var(--rv7-line); }
.rv8-pair i { width: 32px; height: 32px; border-radius: 50%; background: #e0e7ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 2px rgba(49,46,129,.15); }
.rv8-pair b { display: block; font-size: 16.5px; font-weight: 600; line-height: 1.3; color: var(--rv7-ink); }
.rv8-pair span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--rv7-ink2); }
.rv8-pairs .rv8-action { margin-top: 10px; }
.rv-photo { display: flex; flex-direction: column; align-items: center; }
@media (max-width: 860px) {
  .rv8-pairs { padding: 6px 18px 20px; }
  .rv8-pair { grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; }
  .rv8-pair i { width: 28px; height: 28px; }
  .rv8-pair .rv7-area-guide { grid-column: 2; margin-top: 6px; }
}
@media (max-width: 760px) { .rv-photo { width: 200px; } }
.rv8-pairs .rv8-action { flex-direction: column; align-items: flex-start; gap: 16px; }
.rv8-pairs .rv8-action p { max-width: none; font-size: 14.5px; }
@media (max-width: 860px) { .rv8-pairs .rv8-action { align-items: stretch; } .rv8-pairs .rv8-button { white-space: normal; } }

/* ---- ranked list page (shares the review design) ---- */
.ls-rules { margin-top: 0; }
.ls-rules ol { margin: 0; padding: 0; list-style: none; counter-reset: rule; }
.ls-rules li { position: relative; padding: 0 0 0 38px; counter-increment: rule; }
.ls-rules li + li { margin-top: 16px; }
.ls-rules li::before { content: counter(rule); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #3730a3; background: #e0e7ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 2px rgba(49,46,129,.15); }
.ls-rules b { display: block; font-size: 15.5px; font-weight: 600; color: var(--rv7-ink); }
.ls-rules span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--rv7-ink2); }
.ls-list > * + * { margin-top: 28px; }
.ls-card { padding: 30px 32px 28px; }
.ls-top { display: grid; grid-template-columns: 44px 132px minmax(0, 1fr); column-gap: 22px; align-items: start; }
.ls-rank { font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--rv7-accent); }
.ls-photo { display: grid; place-items: center; width: 132px; height: 132px; padding: 12px; border-radius: 16px; background: #fff;
  box-shadow: 0 0 0 1px rgba(49,46,129,.07), 0 10px 18px -10px rgba(49,46,129,.3); }
.ls-photo img { max-width: 100%; max-height: 108px; width: auto; object-fit: contain; }
.ls-brand { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--rv7-mute); }
.rv-article .ls-head h2 { margin: 4px 0 10px; font-size: 23px; line-height: 1.25; letter-spacing: -.015em; }
.ls-head h2 a { color: var(--rv7-ink); text-decoration: none; } .ls-head h2 a:hover { color: var(--rv7-accent); }
.rv-article .ls-head p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--rv7-ink2); }
.ls-grades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin-top: 24px; padding-top: 6px; box-shadow: inset 0 1px 0 var(--rv7-line); }
.ls-grade { display: grid; grid-template-columns: minmax(0, 1fr) auto 92px; column-gap: 14px; align-items: center; padding: 13px 0; }
.ls-grade:nth-child(n+3) { box-shadow: inset 0 1px 0 var(--rv7-line); }
.ls-grade span { font-size: 14.5px; font-weight: 500; color: var(--rv7-ink); }
.ls-grade b { text-align: right; font-size: 14px; font-weight: 500; color: var(--rv7-ink); }
.ls-grade.is-top b { color: var(--rv7-accent); font-weight: 600; } .ls-grade.is-none b { color: #8d94ad; }
.ls-grade .rv7-segs i { width: 22px; height: 10px; }
.ls-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 8px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--rv7-line); }
.ls-fit { position: relative; padding-left: 14px; font-size: 14.5px; line-height: 1.45; color: var(--rv7-ink2); }
.ls-fit + .ls-fit { margin-top: 8px; }
.ls-fit::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: linear-gradient(180deg, #818cf8, #4f46e5); }
.ls-fit b { margin-right: 8px; font-weight: 600; color: var(--rv7-accent); }
.ls-fit.is-mixed::before { background: linear-gradient(180deg, #818cf8 0 50%, #e0a83e 50% 100%); } .ls-fit.is-mixed b { color: #92400e; }
.ls-fit.is-against::before { background: linear-gradient(180deg, #e0a83e, #c98a1f); } .ls-fit.is-against b { color: #b45309; }
.ls-go { flex-shrink: 0; padding: 11px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
  color: #3730a3; background: #eef0ff; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(79,70,229,.18), 0 6px 12px -8px rgba(49,46,129,.4);
  transition: background .2s cubic-bezier(.22,1,.36,1); }
.ls-go:hover { background: #e0e7ff; color: #3730a3; }
.ls-go:focus-visible, .ls-photo:focus-visible { outline: 2px solid var(--rv7-accent); outline-offset: 2px; }
.ls-method p { padding: 0 8px; font-size: 13.5px; line-height: 1.65; color: var(--rv7-ink2); }
.ls-method .rv8-headlink { display: inline-block; margin: 10px 8px 4px; }
.ls-app { margin-top: 56px; padding: 26px 28px; }
.ls-app p { max-width: 600px; font-size: 15.5px; } .ls-app p b { color: var(--rv7-ink); font-weight: 600; }
@media (max-width: 860px) {
  .ls-card { padding: 22px 18px; }
  .ls-top { grid-template-columns: 34px 96px minmax(0, 1fr); column-gap: 14px; }
  .ls-rank { font-size: 32px; }
  .ls-photo { width: 96px; height: 96px; padding: 8px; } .ls-photo img { max-height: 80px; }
  .rv-article .ls-head h2 { font-size: 19px; }
  .ls-head p { grid-column: 1 / -1; }
  .ls-grades { grid-template-columns: 1fr; }
  .ls-grade:nth-child(n+2) { box-shadow: inset 0 1px 0 var(--rv7-line); }
  .ls-bottom { flex-direction: column; align-items: stretch; }
  .ls-go { text-align: center; }
}
/* list cards: grade label and word on one line, the bar under them */
.ls-grades { gap: 0 44px; }
.ls-grade { grid-template-columns: minmax(0, 1fr) auto; row-gap: 9px; padding: 16px 0; }
.ls-grade span { white-space: nowrap; }
.ls-grade .rv7-segs { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
.ls-grade .rv7-segs i { flex: 1; width: auto; height: 10px; }
.ls-grade b { grid-column: 2; grid-row: 1; }
.rv8-side > * + * { margin-top: 24px; }
.rv-article p strong, .rv-lead strong { font-weight: 600; color: var(--rv7-ink); }
.rv8-tile.is-trace b { color: var(--rv7-mute); }
/* quiz banner under the skin type tiles */
.rv8-quiz { margin-top: 18px; }
.rv8-quiz p { font-size: 15px; }
.rv8-quiz p b { font-weight: 600; color: var(--rv7-ink); }
.is-mixed .rv7-chip { background: #fff7e6; color: #92400e; box-shadow: inset 0 0 0 1px rgba(180,83,9,.25); }
.ls-entry { margin: 18px 0 0; padding-top: 14px; font-size: 13px; line-height: 1.5; color: var(--rv7-mute); box-shadow: inset 0 1px 0 var(--rv7-line); }
