/* Optional source material. Keep original images whole and the closed shelf quiet. */
.rb-evidence-shelf {
  --evidence-ink: var(--ink);
  --evidence-muted: var(--muted);
  --evidence-line: var(--line);
  --evidence-paper: var(--paper);
  --evidence-accent: var(--accent);
  background: var(--evidence-paper);
  color: var(--evidence-ink);
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.rb-evidence-shelf *,
.rb-evidence-shelf *::before,
.rb-evidence-shelf *::after { box-sizing: border-box; }
.rb-evidence-shelf :where(section, article, div, figure, details, summary, li) { min-width: 0; }
.rb-evidence-shelf :where(p, ul, ol, dl, figure, h2, h3) { margin: 0; }
.rb-evidence-shelf :where(ul, ol) { padding: 0; list-style: none; }
.rb-evidence-shelf :where(p, li, dt, dd, a, summary, figcaption, small, caption, th, td, .eyebrow, .rb-section-label) { font-size: 18px; }
.rb-evidence-shelf :where(h2, h3) { color: var(--evidence-ink); font-weight: 700; letter-spacing: -.045em; line-height: 1.35; word-break: keep-all; }
.rb-evidence-shelf h2 { font-size: clamp(28px, 3vw, 42px); }
.rb-evidence-shelf h3 { font-size: clamp(24px, 2.2vw, 32px); }
.rb-evidence-shelf p { color: var(--evidence-muted); word-break: keep-all; overflow-wrap: anywhere; }
.rb-evidence-shelf a { color: var(--evidence-accent); text-underline-offset: 5px; }
.rb-evidence-shelf a:hover { text-decoration: underline; }
.rb-evidence-shelf :where(a, summary):focus-visible { outline: 3px solid var(--evidence-accent); outline-offset: 5px; }
.rb-evidence-shelf .shell { width: 100%; max-width: none; margin: 0; padding: 0; }
.rb-evidence-shelf :where(.landing-results, .rb-production-cases) { padding: 0; background: transparent; }
.rb-evidence-shelf :where(.eyebrow, .rb-section-label) { display: block; color: var(--evidence-muted); margin-bottom: 12px; font-weight: 500; letter-spacing: 0; }
.rb-evidence-shelf .rb-text-accent { color: var(--evidence-accent); }

.rb-evidence-shelf details { border-top: 1px solid var(--evidence-line); background: transparent; }
.rb-evidence-shelf summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 22px 0;
  color: var(--evidence-ink);
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  line-height: 1.5;
}
.rb-evidence-shelf summary::-webkit-details-marker { display: none; }
.rb-evidence-shelf summary::marker { content: ''; }
.rb-evidence-shelf summary::after { content: '+'; flex: 0 0 24px; color: var(--evidence-accent); font-size: 25px; font-weight: 400; line-height: 1; text-align: center; }
.rb-evidence-shelf details[open] > summary::after { content: '−'; }
.rb-evidence-shelf summary > [aria-hidden="true"] { display: none; }
.rb-evidence-shelf .landing-reference-summary > span:first-child { display: grid; gap: 4px; }
.rb-evidence-shelf .landing-reference-summary strong { font-size: 20px; font-weight: 600; }
.rb-evidence-shelf .landing-reference-summary > span > span { color: var(--evidence-muted); font-size: 18px; font-weight: 400; }
.rb-evidence-shelf .landing-reference-content { padding: 30px 0 48px; }
.rb-evidence-shelf .landing-evidence-header { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 42px; }
.rb-evidence-shelf :where(.landing-evidence-rank, .landing-evidence-overview, .landing-evidence-keywords) { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(24px, 4vw, 60px); padding: 40px 0; border-top: 1px solid var(--evidence-line); }
.rb-evidence-shelf .landing-evidence-keywords { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.rb-evidence-shelf :where(.landing-rank-reading, .landing-evidence-brief, .landing-keyword-reading) { display: grid; gap: 22px; align-content: start; }
.rb-evidence-shelf .landing-rank-reading .eyebrow,
.rb-evidence-shelf .landing-keyword-reading .eyebrow { margin: 0; }
.rb-evidence-shelf .landing-rank-facts { border-top: 1px solid var(--evidence-line); }
.rb-evidence-shelf .landing-rank-facts > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--evidence-line); }
.rb-evidence-shelf .landing-rank-facts dt { color: var(--evidence-muted); }
.rb-evidence-shelf .landing-rank-facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.rb-evidence-shelf .text-link { display: inline-flex; align-items: baseline; justify-self: start; gap: 12px; font-weight: 600; }
.rb-evidence-shelf :where(.landing-rank-note, .landing-evidence-caution, .landing-evidence-period, .ez-cost-period) { padding-left: 16px; border-left: 2px solid var(--evidence-line); }

/* No fixed-height image panes, cropped screenshots, or nested scrolling. */
.rb-evidence-shelf :where(.landing-screenshot, .landing-screenshot-link, .ez-cost-forecast, .ez-cost-forecast > a, .landing-screenshot-grid) { height: auto; max-height: none; overflow: visible; }
.rb-evidence-shelf :where(.landing-screenshot, .ez-cost-forecast) { width: 100%; background: #fff; border: 1px solid var(--evidence-line); }
.rb-evidence-shelf :where(.landing-screenshot figcaption, .ez-cost-forecast figcaption) { display: grid; gap: 5px; padding: 20px 22px; color: var(--evidence-muted); border-bottom: 1px solid var(--evidence-line); }
.rb-evidence-shelf figcaption strong { color: var(--evidence-ink); font-size: 18px; font-weight: 600; }
.rb-evidence-shelf :where(.landing-screenshot-link, .ez-cost-forecast > a) { display: block; color: var(--evidence-accent); text-decoration: none; }
.rb-evidence-shelf img { display: block; width: 100%; height: auto; max-width: 100%; max-height: none; object-fit: contain; object-position: center; border: 0; border-radius: 0; }
.rb-evidence-shelf :where(.landing-screenshot-zoom, .ez-cost-forecast > a > span) { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--evidence-line); font-size: 18px; }
.rb-evidence-shelf .landing-evidence-case { display: grid; gap: 5px; }
.rb-evidence-shelf .landing-evidence-case > span { color: var(--evidence-muted); }
.rb-evidence-shelf .landing-evidence-case strong { color: var(--evidence-ink); font-size: 30px; letter-spacing: -.035em; }
.rb-evidence-shelf .landing-evidence-case a { justify-self: start; }
.rb-evidence-shelf .landing-evidence-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 22px 0; border-top: 1px solid var(--evidence-line); border-bottom: 1px solid var(--evidence-line); }
.rb-evidence-shelf .landing-evidence-metrics dt { color: var(--evidence-muted); }
.rb-evidence-shelf .landing-evidence-metrics dd { margin: 7px 0 0; font-size: clamp(28px, 3vw, 42px); font-weight: 600; line-height: 1.2; letter-spacing: -.05em; }
.rb-evidence-shelf .landing-evidence-metrics dd span { margin-left: 3px; font-size: 18px; font-weight: 400; letter-spacing: 0; }
.rb-evidence-shelf .landing-keyword-examples { display: flex; flex-wrap: wrap; gap: 8px; }
.rb-evidence-shelf .landing-keyword-examples li { padding: 6px 12px; border: 1px solid var(--evidence-line); background: #fff; }
.rb-evidence-shelf .landing-screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; padding: 10px 0 32px; }
.rb-evidence-shelf .landing-evidence-note { padding-top: 24px; }

.rb-evidence-shelf .ez-cost-case { padding: 40px 0; border-top: 1px solid var(--evidence-line); }
.rb-evidence-shelf .ez-cost-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-bottom: 30px; }
.rb-evidence-shelf .ez-cost-heading h3 { margin-bottom: 18px; }
.rb-evidence-shelf .ez-cost-value { display: grid; gap: 10px; padding: 28px; background: var(--butter); color: var(--evidence-ink); }
.rb-evidence-shelf .ez-cost-value > strong { color: var(--evidence-accent); font-size: clamp(36px, 4.5vw, 62px); line-height: 1.15; letter-spacing: -.055em; font-weight: 600; }
.rb-evidence-shelf .ez-cost-value small { margin-left: 8px; color: var(--evidence-ink); font-size: 22px; font-weight: 400; }
.rb-evidence-shelf .ez-cost-table { width: 100%; table-layout: fixed; border-collapse: collapse; background: transparent; font-variant-numeric: tabular-nums; }
.rb-evidence-shelf .ez-cost-table caption { padding: 0 0 12px; color: var(--evidence-muted); text-align: left; }
.rb-evidence-shelf .ez-cost-table :where(th, td) { padding: 18px 14px; border-bottom: 1px solid var(--evidence-line); text-align: right; vertical-align: top; font-weight: 400; word-break: keep-all; overflow-wrap: anywhere; }
.rb-evidence-shelf .ez-cost-table thead th { border-top: 1px solid var(--evidence-line); color: var(--evidence-muted); background: var(--paper); }
.rb-evidence-shelf .ez-cost-table th:first-child { text-align: left; }
.rb-evidence-shelf .ez-cost-table tbody th { font-weight: 600; }
.rb-evidence-shelf :where(.ez-cost-method, .ez-cost-period) { margin-top: 24px; }
.rb-evidence-shelf .ez-cost-forecast { margin-top: 30px; }
.rb-evidence-shelf .ez-cost-note { display: grid; gap: 10px; margin-top: 24px; padding: 24px; background: var(--paper); }
.rb-evidence-shelf .ez-cost-note strong { color: var(--evidence-ink); font-size: 20px; font-weight: 600; }

.rb-evidence-shelf .rb-production-cases { padding: 24px 0 40px; }
.rb-evidence-shelf .rb-case-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 60px); }
.rb-evidence-shelf .rb-case-intro { display: grid; gap: 22px; align-content: start; }
.rb-evidence-shelf .rb-case-intro .rb-section-label { margin: 0; }
.rb-evidence-shelf .rb-case-caption { padding-top: 16px; border-top: 1px solid var(--evidence-line); }
.rb-evidence-shelf .rb-case-records { display: grid; gap: 32px; }
.rb-evidence-shelf .rb-case-records > li { padding: 26px; background: #fff; border: 1px solid var(--evidence-line); }
.rb-evidence-shelf .rb-case-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-bottom: 20px; color: var(--evidence-muted); font-size: 18px; }
.rb-evidence-shelf .rb-case-takeaway { display: grid; gap: 6px; padding: 22px 0; }
.rb-evidence-shelf .rb-case-takeaway span { color: var(--evidence-muted); }
.rb-evidence-shelf .rb-case-takeaway strong { font-size: 18px; font-weight: 600; }
.rb-evidence-shelf .landing-read-more summary { min-height: 0; padding: 18px 0; }
.rb-evidence-shelf .landing-read-more > div { display: grid; gap: 18px; padding-bottom: 6px; }
.rb-evidence-shelf .rb-source-link { justify-self: start; }

@media (max-width: 1000px) {
  .rb-evidence-shelf :is(.landing-evidence-rank, .landing-evidence-overview, .landing-evidence-keywords, .rb-case-layout) { grid-template-columns: minmax(0, 1fr); }
  .rb-evidence-shelf .landing-evidence-metrics { max-width: 620px; }
  .rb-evidence-shelf .landing-screenshot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .rb-evidence-shelf :is(.landing-evidence-header, .ez-cost-heading) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rb-evidence-shelf .landing-reference-content { padding-top: 22px; }
  .rb-evidence-shelf :is(.landing-evidence-rank, .landing-evidence-overview, .landing-evidence-keywords, .ez-cost-case) { padding: 30px 0; }
  .rb-evidence-shelf :where(.landing-screenshot figcaption, .ez-cost-forecast figcaption, .landing-screenshot-zoom, .ez-cost-forecast > a > span) { padding: 16px; }
  .rb-evidence-shelf .ez-cost-value { padding: 22px; }
  .rb-evidence-shelf .ez-cost-table { display: block; }
  .rb-evidence-shelf .ez-cost-table caption { display: block; }
  .rb-evidence-shelf .ez-cost-table thead { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .rb-evidence-shelf .ez-cost-table tbody { display: grid; gap: 20px; }
  .rb-evidence-shelf .ez-cost-table tr { display: grid; border-top: 1px solid var(--evidence-line); }
  .rb-evidence-shelf .ez-cost-table tbody th { display: block; padding: 16px 0; }
  .rb-evidence-shelf .ez-cost-table td { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; }
  .rb-evidence-shelf .ez-cost-table td::before { content: attr(data-label); color: var(--evidence-muted); text-align: left; font-size: 18px; }
  .rb-evidence-shelf :is(.rb-case-records > li, .ez-cost-note) { padding: 20px; }
  .rb-evidence-shelf .rb-case-intro p br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-evidence-shelf * { scroll-behavior: auto; }
}
