.customer-quote { max-width: 980px; margin-top: 36px; padding: 24px; border-left: 3px solid #b86470; border-radius: 0 6px 6px 0; background: var(--wash); color: var(--ink); }
.customer-quote blockquote { margin: 0; padding: 0; font-size: 18px; font-weight: 400; line-height: 1.6; text-wrap: pretty; }
.customer-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; line-height: 1.5; }
.customer-quote-person { display: flex; align-items: center; gap: 12px; }
.customer-quote-logo { width: 125px; height: 20px; margin-left: auto; }
.customer-quote-avatar { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.customer-quote figcaption strong { display: block; font-weight: 500; color: var(--ink); }
.customer-quote figcaption span { display: block; color: var(--muted); }
@media (max-width: 600px) {
  .customer-quote figcaption { flex-direction: column; align-items: flex-start; }
  .customer-quote-logo { margin-left: 68px; }
}
@media (min-width: 1200px) { .customer-quote { max-width: min(980px, calc(100% - 288px)); } }

.findings-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 48px; margin-top: 32px; }
.findings-copy { min-width: 0; grid-column: 1; grid-row: 1; }
.findings-copy .intro { margin-top: 0; }
.findings-copy .split { grid-template-columns: 1fr; gap: 26px; }
.findings-copy .panel { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 26px 0 0; }
.findings-copy .callout { margin-bottom: 0; padding: 18px 22px; }
.model-quotes { grid-column: 2; grid-row: 1; position: sticky; top: 110px; color: #fff; background: var(--ink); border-radius: 10px; padding: 30px; overflow: hidden; }
.quote-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 25px; border-bottom: 1px solid #444749; }
.quote-heading .eyebrow { color: #ff929c; margin: 0; font-size: 11px; }
.quote-number { font: 11px/1.5 monospace; color: #b7bcbe; font-variant-numeric: tabular-nums; }
.quote-stage { display: grid; min-height: 320px; padding: 28px 0 24px; align-items: center; }
.quote-stage figure { margin: 0; }
.quote-stage figure[hidden] { display: none; }
.quote-stage blockquote { margin: 0 0 28px; padding: 0; font-size: clamp(28px, 2.85vw, 41px); font-weight: 500; line-height: 1.17; letter-spacing: -.035em; text-wrap: pretty; }
.quote-stage blockquote em { font-style: normal; color: #ff929c; }
.quote-stage figcaption { font-size: 13px; line-height: 1.65; }
.quote-stage figcaption strong { display: block; font-weight: 500; }
.quote-stage figcaption span { color: #b7bcbe; }
.model-quotes .quote-source { display: inline-block; color: #ff929c; font-size: 13px; }
.quote-controls { border-top: 1px solid #444749; margin-top: 24px; padding-top: 12px; }
.quote-controls[hidden], .quote-follow[hidden] { display: none; }
.quote-dots { display: flex; gap: 1px; }
.quote-dots button { padding: 10px 3px; background: none; border: 0; flex: 1; cursor: pointer; }
.quote-dots button span { display: block; height: 3px; background: #64686b; border-radius: 2px; }
.quote-dots button[aria-pressed="true"] span { background: #ff929c; }
.quote-dots button:hover span { background: #fff; }
.quote-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.quote-scroll-hint { font-size: 11px; color: #b7bcbe; }
.quote-actions > div { display: flex; gap: 8px; order: -1; }
.quote-actions .quote-scroll-hint { margin-right: auto; }
.quote-actions button { color: #fff; background: none; border: 1px solid #64686b; border-radius: 4px; min-width: 36px; min-height: 34px; cursor: pointer; }
.quote-actions .quote-follow { font-size: 11px; padding: 5px 8px; }
.quote-actions button:hover { background: #333739; }
.model-quotes :focus-visible { outline-color: #ff929c; }
@media (min-width: 1000px) and (min-height: 700px) {
  .quote-stage { height: 355px; }
  .quote-stage blockquote { font-size: clamp(27px, 2.65vw, 37px); }
}
@media (max-width: 999px) {
  .findings-layout { grid-template-columns: 1fr; gap: 30px; }
  .model-quotes { position: static; grid-column: 1; grid-row: 1; padding: 26px; }
  .findings-copy { grid-row: 2; }
  .quote-stage { min-height: 260px; }
  .quote-stage blockquote { font-size: clamp(27px, 5vw, 40px); }
  .quote-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .model-quotes { position: static; break-inside: avoid; }
  .quote-controls { display: none; }
}

@media (max-height: 699px) { .model-quotes { position: static; } }

.quote-dock[hidden] { display: none; }
.quote-dock { display: none; }
@media (min-width: 1200px) {
  /* One bounded rail owns both panels; neither relies on the other's measured height. */
  .has-quote-rail :is(#explore, #techniques, #inside-run, #method, #recommendations, #tracebit) > .wrap {
    width: auto;
    margin-left: max(0px, calc((100vw - 1500px) / 2));
    margin-right: max(288px, calc((100vw - 1500px) / 2 + 288px));
  }
  .reader-rail { position: fixed; z-index: 8; top: 100px; bottom: 18px; right: max(18px, calc((100vw - 1500px) / 2)); width: 250px; display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
  .reader-rail > * { pointer-events: auto; }
  .reader-rail .page-contents { position: static; width: auto; flex: 0 0 clamp(160px, calc(100dvh - 430px), 420px); min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  .reader-rail .page-contents::before, .reader-rail .contents-toggle { display: none; }
  .reader-rail .contents-panel { display: flex; flex-direction: column; min-height: 0; }
  .reader-rail .page-contents .contents-kicker { display: block; flex: none; }
  .reader-rail .page-contents ol { display: block; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .has-quote-rail .tech-browser-nav { display: none; }
  .has-quote-rail .tech-browser { display: block; }
  .quote-dock { display: flex; flex: 0 1 auto; flex-direction: column; min-height: 0; overflow: hidden; padding: 14px; background: #f8f8f6; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; }
  .quote-dock-heading { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font: 10px/1.5 monospace; }
  .quote-dock button { cursor: pointer; background: none; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); min-height: 30px; min-width: 30px; }
  .quote-dock .quote-dismiss { border: 0; font-size: 18px; }
  .quote-dock-body { display: flex; flex: 0 1 auto; flex-direction: column; min-height: 0; }
  .quote-dock-copy { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .quote-dock blockquote { margin: 12px 0; font-size: 16px; font-weight: 400; line-height: 1.45; letter-spacing: -.01em; text-wrap: pretty; }
  .quote-dock-attribution { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 0 0 4px; }
  .quote-dock-controls { display: flex; flex: none; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
  .quote-dock .quote-follow { flex: none; margin-top: 8px; padding: 4px 8px; font-size: 11px; }
  .quote-dock.collapsed { flex: 0 0 auto; }
  .quote-dock.collapsed .quote-dock-body { display: none; }
  .quote-dock .quote-number { color: var(--muted); }
  .quote-dock :focus-visible { outline-color: var(--red); outline-offset: -2px; }
}
@media print { .reader-rail, .quote-dock { display: none; } }
