/* OnTheRice Signal slides. A single permanent presentation layer for direct
   Signals and expanded readers; source records and research remain unchanged. */
.otr-signal-slides {
  width: min(1160px, calc(100% - 48px));
  min-width: 0;
  margin: 0 auto;
  padding: 0;
}
.otr-slide-reader {
  --otr-slide-cream: #f7f5e8;
  --otr-slide-paper: #fffdf6;
  --otr-slide-ink: #171711;
  --otr-slide-muted: #65645b;
  --otr-slide-line: #dcd7c8;
  --otr-slide-orange: #ff650d;
  --otr-slide-orange-text: #af3c0a;
  --otr-slide-radius: 24px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 1160px;
  margin: 24px auto;
  color: var(--otr-slide-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
  isolation: isolate;
  scroll-margin-top: 16px;
}
.otr-slide-reader *,
.otr-slide-reader *::before,
.otr-slide-reader *::after { box-sizing: border-box; }
.otr-slide-reader [hidden] { display: none !important; }
.otr-slide-reader .sr-lock-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.otr-slide-reader:not([data-enhanced]) :is([data-reader-controls], [data-slide-jump], [data-reader-size], [data-reader-share]) { display: none !important; }
.otr-slide-reader :where(a, button, select, summary):focus-visible {
  outline: 3px solid #b33b09;
  outline-offset: 4px;
}
.otr-slide-reader :where(a) { color: var(--otr-slide-orange-text); text-underline-offset: 3px; }
.otr-slide-reader :where(button, select) { font: inherit; }
.otr-slide-reader :where(button) { cursor: pointer; }
.otr-slide-reader :where(button:disabled) { cursor: default; opacity: .43; }
.otr-slide-reader :where(svg) {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}
.otr-slide-reader :where(img) { max-width: 100%; height: auto; }

/* The complete source remains readable when scripting is unavailable. */
.otr-slide-reader [data-reader-header] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.otr-slide-reader [data-reader-label] {
  margin: 0;
  color: var(--otr-slide-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.otr-slide-reader [data-reader-header] > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--otr-slide-muted);
  font-size: 14px;
  text-decoration: none;
}
.otr-slide-reader [data-slide-jump] {
  min-width: 0;
  max-width: min(100%, 240px);
  min-height: 44px;
  padding: 9px 32px 9px 14px;
  border: 1px solid var(--otr-slide-line);
  border-radius: 999px;
  background: var(--otr-slide-paper);
  color: var(--otr-slide-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.otr-slide-reader [data-slide-topics] {
  display: flex;
  min-width: 0;
  max-width: 100%;
  gap: 6px;
  padding: 4px 2px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #b9ae94 transparent;
  scroll-padding: 8px;
}
.otr-slide-reader [data-slide-topics] :where(a, button),
.otr-slide-reader :is(button, a)[data-slide-topic] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--otr-slide-line);
  border-radius: 999px;
  background: var(--otr-slide-paper);
  color: var(--otr-slide-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.otr-slide-reader [data-slide-topics] [aria-current]:not([aria-current="false"]),
.otr-slide-reader :is(button, a)[data-slide-topic][aria-current]:not([aria-current="false"]) {
  border-color: var(--otr-slide-ink);
  background: var(--otr-slide-ink);
  color: #fffdf6;
}
.otr-slide-stage {
  position: relative;
  min-width: 0;
  border: 1px solid var(--otr-slide-line);
  border-radius: var(--otr-slide-radius);
  background: var(--otr-slide-paper);
  box-shadow: 0 10px 36px rgb(52 42 20 / 5%);
}
.otr-slide {
  position: relative;
  min-width: 0;
  padding: 32px;
  color: var(--otr-slide-ink);
  border-bottom: 1px solid var(--otr-slide-line);
  overflow-wrap: anywhere;
}
.otr-slide:last-child { border-bottom: 0; }
.otr-slide-reader[data-enhanced] {
  min-height: calc(100svh - 32px);
}
.otr-slide-reader[data-enhanced] .otr-slide-stage {
  /* Measure against the viewport capacity, then show the active page's actual
     content height. Sparse chapter endings never become an empty cream screen. */
  height: var(--otr-reader-current-height, var(--otr-reader-stage-height, min(65svh, 640px)));
  min-height: 200px;
}
.otr-slide-reader[data-enhanced] .otr-slide {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border-bottom: 0;
}
/* Pagination measures each thought at its readable natural height. Flexbox
   must not squeeze the body into the room left below a long heading. */
.otr-slide-reader[data-enhanced] .otr-slide > :is([data-slide-kicker], [data-slide-heading], [data-slide-body], [data-slide-visual]) {
  flex: 0 0 auto;
}
.otr-slide-reader[data-reader-overflow="scroll"] .otr-slide-stage { overflow-y: visible; }
.otr-slide-reader[data-reader-overflow="scroll"] .otr-slide { min-height: 0; height: 100%; }
.otr-slide-reader[data-enhanced] .otr-slide[data-reader-overflow="scroll"] {
  overflow-y: visible;
  overscroll-behavior-y: auto;
}
.otr-slide-kicker,
.otr-slide-reader [data-slide-kicker] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--otr-slide-orange-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.otr-slide-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9b0a, #f44712);
}
.otr-slide-heading,
.otr-slide-reader [data-slide-heading] {
  max-width: 34ch;
  margin: 0 0 18px;
  color: var(--otr-slide-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.otr-slide-reader [data-slide-kind]:not([data-slide-kind="cover"]) [data-slide-heading] {
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.otr-slide-body,
.otr-slide-reader [data-slide-body] {
  min-width: 0;
  min-height: 0;
  max-width: 70ch;
  margin: 0;
  color: var(--otr-slide-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: max(17px, calc(20px + var(--ser-reading-adjust, 0px)));
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.otr-slide-body > :first-child { margin-top: 0; }
.otr-slide-body > :last-child { margin-bottom: 0; }
.otr-slide-reader #otr-signal-byline {
  margin: -6px 0 12px;
  color: var(--otr-slide-muted);
  font: 13px/1.45 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}
.otr-slide-reader #otr-signal-byline a {
  color: inherit;
  font: inherit;
  text-decoration-color: #aaa18f;
  text-underline-offset: 3px;
}
.otr-slide-reader .otr-slide-body p { font-size: inherit; line-height: inherit; }
.otr-slide-body :where(p, ul, ol, dl, blockquote, figure, table) { margin: 0 0 16px; }
.otr-slide-body :where(h2, h3, h4, h5, h6) {
  margin: 16px 0 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.otr-slide-body :is(.otr-slide-subheading, .otr-slide-section-heading) {
  margin: 20px 0 8px;
  padding-top: 14px;
  border-top: 1px solid var(--otr-slide-line);
  color: var(--otr-slide-ink);
  font-size: 1.05em;
  line-height: 1.4;
  letter-spacing: -.015em;
}
.otr-slide-body > :is(.otr-slide-subheading, .otr-slide-section-heading):first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.otr-slide-body :where(ul, ol) { padding-left: 1.35em; }
.otr-slide-body li { margin: 0 0 10px; padding-left: 3px; }
.otr-slide-body li:last-child { margin-bottom: 0; }
.otr-slide-body li::marker { color: var(--otr-slide-orange-text); font-weight: 700; }
.otr-slide-body blockquote {
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--otr-slide-orange);
  color: #45453d;
}
.otr-slide-body :where(small, figcaption) {
  display: block;
  color: var(--otr-slide-muted);
  font-size: max(17px, .9em);
  line-height: 1.5;
}
.otr-slide-body :where(sup) { font-size: .7em; }
.otr-slide-body :where(a) { text-decoration: underline; }
.otr-slide-body :where(details) {
  padding: 12px 0;
  border-bottom: 1px solid var(--otr-slide-line);
}
.otr-slide-body :where(summary) { min-height: 44px; cursor: pointer; font-weight: 650; }
.otr-slide-body .otr-slide-term { padding: 4px 0; }
.otr-slide-body .otr-slide-term > summary { padding: 9px 4px; line-height: 1.5; }
.otr-slide-body .otr-slide-term > p { margin: 8px 4px 12px; }
.otr-slide-body :where(pre) { white-space: pre-wrap; overflow-wrap: anywhere; font-size: inherit; }

/* A real field/value pair is a visual unit; no rounded or invented values. */
.otr-slide-body dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 0;
  border: 1px solid var(--otr-slide-line);
  border-radius: 16px;
  background: #f5f0e3;
}
.otr-slide-body :where(dt, dd) { margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--otr-slide-line); }
.otr-slide-body dt { color: var(--otr-slide-muted); font-size: max(17px, .9em); }
.otr-slide-body dd { font-weight: 650; }
.otr-slide-body dl > [data-slide-row-context] { display: contents; }
.otr-slide-body dt:last-of-type,
.otr-slide-body dd:last-of-type { border-bottom: 0; }
.otr-slide-body table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: inherit;
  line-height: 1.5;
}
.otr-slide-body :where(th, td) {
  padding: 12px;
  border: 1px solid var(--otr-slide-line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.otr-slide-body th { background: #eee8d9; font-weight: 700; }
.otr-slide-body caption { padding: 0 0 12px; color: var(--otr-slide-muted); text-align: left; font-size: max(17px, .9em); }
/* Compare evidence using the same plain words as the research. The compact
   table remains a table on desktop and becomes labelled sections on phones. */
.otr-slide-body .otr-slide-evidence-table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--otr-slide-line);
  border-radius: 14px;
  background: #fbf8ee;
}
.otr-slide-body .otr-slide-evidence-table caption {
  padding-bottom: 10px;
  color: var(--otr-slide-ink);
  font-weight: 700;
}
.otr-slide-body .otr-slide-evidence-table :is(th, td) {
  width: 50%;
  padding: 12px 14px;
  border: 0;
  font-size: inherit;
  line-height: 1.5;
}
.otr-slide-body .otr-slide-evidence-table th {
  border-bottom: 1px solid var(--otr-slide-line);
  background: #eee8d9;
  font-weight: 700;
}
.otr-slide-body .otr-slide-evidence-table :is(th, td) + :is(th, td) { border-left: 1px solid var(--otr-slide-line); }
.otr-slide-body .otr-slide-evidence-table tbody tr + tr > td { border-top: 1px solid var(--otr-slide-line); }
.otr-slide-body .otr-slide-evidence-table td > :last-child { margin-bottom: 0; }
.otr-slide-body .otr-slide-evidence-table :is(ul, ol) { padding-left: 1.1em; }
.otr-slide-body .otr-slide-evidence-table td > :first-child { margin-top: 0; }
.otr-slide-body .otr-slide-table-caption { color: var(--otr-slide-ink); font-weight: 700; }
.otr-slide-reader [data-slide-stat] {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 18px 22px;
  border: 1px solid var(--otr-slide-line);
  border-radius: 16px;
  background: #f5f0e3;
}
.otr-slide-reader [data-slide-stat] strong { font-size: clamp(28px, 5vw, 48px); letter-spacing: -.04em; line-height: 1; }
.otr-slide-reader [data-slide-stat] small { font-size: 14px; color: var(--otr-slide-muted); }
.otr-slide-reader .otr-slide-note {
  color: var(--otr-slide-muted);
  font-size: max(17px, calc(17px + var(--ser-reading-adjust, 0px)));
  line-height: 1.5;
}
.otr-slide-reader .otr-slide-lead { font-size: inherit; }
.otr-slide-reader .otr-slide-body .otr-slide-call-badge {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid #d9cdb6;
  border-radius: 12px;
  background: #eee8d9;
  color: #4e493b;
  font-size: 14px;
  line-height: 1.45;
}
.otr-slide-call-badge strong { color: var(--otr-slide-ink); }
.otr-slide-reader .otr-slide-body .otr-slide-call-badge[data-slide-direction="bearish"] {
  border-color: #d92d20;
  border-left-width: 4px;
  background: #fce8e6;
  color: #7a271a;
}
.otr-slide-reader .otr-slide-body .otr-slide-call-badge[data-slide-direction="bullish"] {
  border-color: #12a05c;
  border-left-width: 4px;
  background: #e6f4ea;
  color: #05603a;
}
.otr-slide-reader .otr-slide-body .otr-slide-call-badge[data-slide-direction] strong { color: inherit; }
.otr-slide-call-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.otr-slide-call-list > li { min-width: 0; margin: 0; }
.otr-slide-call-list .otr-slide-call-badge { margin: 0; }
.otr-slide-probabilities { display: grid; gap: 16px; margin: 16px 0 22px; }
.otr-slide-probability { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: baseline; }
.otr-slide-probability > span:first-child { color: var(--otr-slide-muted); font-size: max(17px, .9em); }
.otr-slide-probability > strong { color: var(--otr-slide-ink); font-size: 1.3em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.otr-slide-probability[data-slide-scenario="bearish"] > span:first-child,
.otr-slide-probability[data-slide-scenario="bearish"] > strong { color: #b42318; font-weight: 750; }
.otr-slide-probability[data-slide-scenario="bullish"] > span:first-child,
.otr-slide-probability[data-slide-scenario="bullish"] > strong { color: #067647; font-weight: 750; }
.otr-slide-probability-track { grid-column: 1 / -1; display: block; height: 12px; border-radius: 999px; background: #e6dfcf; }
.otr-slide-probability-track > i { display: block; height: 100%; max-width: 100%; border-radius: inherit; background: linear-gradient(90deg, #f59720, #d4470a); }
.otr-slide-probability[data-slide-scenario="bearish"] .otr-slide-probability-track > i { background: #d92d20; }
.otr-slide-probability[data-slide-scenario="bullish"] .otr-slide-probability-track > i { background: #12a05c; }
.otr-slide-probability[data-slide-scenario="neutral"] .otr-slide-probability-track > i { background: #9a8d73; }
.otr-slide-reader [data-slide-visual] { width: 96px; max-width: 96px; align-self: end; margin: 12px 0 0 auto; }
.otr-slide-reader [data-slide-visual] img { display: block; width: 100%; object-fit: contain; }
.otr-slide-reader [data-slide-visual][data-decorative] { pointer-events: none; }

/* All reading actions stay in a single stable footer while content changes. */
.otr-slide-controls,
.otr-slide-reader [data-reader-controls] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0 0;
  color: var(--otr-slide-ink);
}
.otr-slide-controls :where(button),
.otr-slide-reader [data-reader-controls] :where(button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--otr-slide-line);
  border-radius: 999px;
  background: var(--otr-slide-paper);
  color: var(--otr-slide-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
}
.otr-slide-reader [data-slide-next] {
  border-color: var(--otr-slide-ink);
  background: var(--otr-slide-ink);
  color: #fffdf6;
}
.otr-slide-reader [data-slide-next] svg {
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffa400, #ff4a00);
}
.otr-slide-reader [data-slide-position] {
  display: block;
  color: var(--otr-slide-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}
.otr-slide-reader [data-slide-progress] {
  display: block;
  width: 100%;
  height: 3px;
  border: 0;
  border-radius: 99px;
  accent-color: #ed5b0b;
  background: var(--otr-slide-line);
}
.otr-slide-reader [data-slide-audio] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid var(--otr-slide-line);
}
.otr-slide-reader [data-slide-audio] :where(label) { color: var(--otr-slide-muted); font-size: 13px; }
.otr-slide-reader [data-slide-audio] > label { display: flex; align-items: center; flex: 1 1 125px; min-width: 0; max-width: 290px; gap: 6px; }
.otr-slide-reader [data-slide-audio] :is([data-slide-play], [data-slide-pause]) { min-width: 104px; }
.otr-slide-reader [data-slide-voice] {
  width: auto;
  min-width: 0;
  max-width: min(100%, 260px);
  min-height: 44px;
  padding: 9px 30px 9px 12px;
  border: 1px solid var(--otr-slide-line);
  border-radius: 12px;
  background: var(--otr-slide-paper);
  color: var(--otr-slide-ink);
  font-size: 14px;
}
.otr-slide-reader [data-slide-status] {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--otr-slide-muted);
  font-size: 13px;
  text-align: center;
}
.otr-slide-reader [data-slide-audio-status] {
  flex-basis: 100%;
  color: var(--otr-slide-muted);
  font: 13px/1.4 Arial, Helvetica, sans-serif;
  text-align: center;
}
.otr-slide-reader-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 0 0;
  margin-top: 12px;
  border-top: 1px solid var(--otr-slide-line);
}
.otr-slide-reader-actions > [role="group"] { display: flex; gap: 2px; margin-right: auto; }
.otr-slide-reader-actions :is(button, a.signal-track-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  min-width: 44px;
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--otr-slide-line);
  border-radius: 999px;
  background: var(--otr-slide-paper);
  color: var(--otr-slide-ink);
  box-shadow: none;
  font: 600 14px/1.3 Arial, Helvetica, sans-serif;
  text-decoration: none;
}
.otr-slide-reader-actions [data-reader-status] { flex-basis: 100%; color: var(--otr-slide-muted); font-size: 13px; }
.otr-slide-reader-actions [data-reader-status]:empty { display: none; }
.otr-slide-reader .otr-slide-original-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--otr-slide-ink);
}
.otr-slide-reader .otr-slide-source-note { color: var(--otr-slide-muted); font-size: 14px; line-height: 1.5; }
.otr-slide-reader .otr-slide-audio-status {
  flex-basis: 100%;
  grid-column: 1 / -1;
  margin: 0;
  color: var(--otr-slide-muted);
  font: 13px/1.4 Arial, Helvetica, sans-serif;
  text-align: center;
}
.otr-slide-reader .otr-slide-audio-status:empty { display: none; }
.otr-slide-reader [data-reader-original] {
  margin: 22px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--otr-slide-line);
  border-radius: 16px;
  background: var(--otr-slide-paper);
}
.otr-slide-reader [data-reader-original] > summary {
  display: list-item;
  min-height: 44px;
  padding: 10px 0;
  color: var(--otr-slide-ink);
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}
.otr-slide-reader [data-reader-original][open] > summary { margin-bottom: 16px; border-bottom: 1px solid var(--otr-slide-line); }
.otr-slide-reader [data-reader-original] :where(p, li, dd, td) { overflow-wrap: anywhere; }

@media (min-width: 900px) {
  .otr-slide-reader [data-reader-controls] { column-gap: 24px; }
}
@media (max-width: 680px) {
  .otr-signal-slides { width: calc(100% - 32px); }
  .otr-slide-reader { --otr-slide-radius: 20px; margin: 16px auto; font-size: 17px; }
  .otr-slide-reader [data-reader-header] { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; margin-bottom: 8px; }
  .otr-slide-reader [data-reader-header] > [data-reader-label] { display: none; }
  .otr-slide-reader [data-reader-header] > label { justify-self: end; min-width: 0; width: min(100%, 220px); }
  .otr-slide-reader [data-slide-jump] { width: 100%; max-width: none; }
  .otr-slide-reader [data-slide-topics] { width: 100%; }
  .otr-slide { padding: 20px; }
  .otr-slide-kicker,
  .otr-slide-reader [data-slide-kicker] { margin-bottom: 10px; font-size: 11px; letter-spacing: .075em; }
  .otr-slide-heading,
  .otr-slide-reader [data-slide-heading] { max-width: none; margin-bottom: 16px; font-size: 28px; line-height: 1.14; letter-spacing: -.04em; }
  .otr-slide-reader [data-slide-kind]:not([data-slide-kind="cover"]) [data-slide-heading] { font-size: 26px; line-height: 1.2; }
  .otr-slide-body,
  .otr-slide-reader [data-slide-body] { max-width: none; font-size: max(17px, calc(17px + var(--ser-reading-adjust, 0px))); line-height: 1.5; }
  .otr-slide-body :where(p, ul, ol, dl, blockquote, figure, table) { margin-bottom: 14px; }
  .otr-slide-body li { margin-bottom: 10px; }
  .otr-slide-body li:last-child { margin-bottom: 0; }
  .otr-slide-body :is(.otr-slide-subheading, .otr-slide-section-heading) { margin-top: 16px; padding-top: 12px; }
  .otr-slide-body > :is(.otr-slide-subheading, .otr-slide-section-heading):first-child { margin-top: 0; padding-top: 0; }
  .otr-slide-body :where(dt, dd) { padding: 10px; }
  .otr-slide-body :where(th, td) { padding: 9px; }
  .otr-slide-body .otr-slide-evidence-table { display: table; width: 100%; }
  .otr-slide-body .otr-slide-evidence-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .otr-slide-body .otr-slide-evidence-table :is(tbody, tr, td) { display: block; width: 100%; }
  .otr-slide-body .otr-slide-evidence-table td { padding: 12px; }
  .otr-slide-body .otr-slide-evidence-table td + td {
    border-left: 0;
    border-top: 1px solid var(--otr-slide-line);
  }
  .otr-slide-body .otr-slide-evidence-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 7px;
    color: var(--otr-slide-muted);
    font-size: max(17px, .9em);
    font-weight: 700;
    line-height: 1.4;
  }
  .otr-slide-reader [data-slide-visual] { width: 76px; max-width: 76px; max-height: 76px; margin-top: 10px; }
  .otr-slide-reader [data-slide-visual] img { max-height: 76px; }
  .otr-slide-controls,
  .otr-slide-reader [data-reader-controls] { column-gap: 8px; row-gap: 8px; padding-top: 10px; }
  .otr-slide-controls :where(button),
  .otr-slide-reader [data-reader-controls] :where(button) { padding: 10px 13px; font-size: 14px; }
  .otr-slide-reader [data-slide-audio] { padding-top: 8px; gap: 6px; }
  .otr-slide-reader [data-slide-voice] { width: 100%; max-width: none; }
  .otr-slide-reader [data-slide-audio] > label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .otr-slide-reader-actions :is(button, a.signal-track-button) { padding-inline: 10px; font-size: 13px; }
  .otr-slide-probabilities { gap: 13px; margin-block: 12px 18px; }
  .otr-slide-reader [data-reader-original] { padding: 8px 14px; margin-top: 16px; }
}
@media (max-width: 370px) {
  .otr-slide { padding: 16px; }
  .otr-slide-heading,
  .otr-slide-reader [data-slide-heading] { font-size: 26px; }
  .otr-slide-reader [data-slide-audio] > label { flex: 1 1 0; }
  .otr-slide-reader [data-slide-audio] :is([data-slide-play], [data-slide-pause]) { min-width: 72px; padding-inline: 8px; }
  .otr-slide-reader [data-slide-audio] [data-slide-stop] { min-width: 44px; padding-inline: 8px; }
  .otr-slide-reader [data-slide-voice] { padding-inline: 8px 20px; font-size: 12px; }
  .otr-slide-reader [data-slide-audio-status] { font-size: 12px; line-height: 1.35; }
  .otr-slide-reader-actions { gap: 4px; }
  .otr-slide-reader-actions > [role="group"] { gap: 0; }
  .otr-slide-reader-actions :is(button, a.signal-track-button) { min-width: 44px; min-height: 44px; padding-inline: 8px; gap: 5px; font-size: 12px; }
  .otr-slide-reader-actions svg { width: 16px; height: 16px; }
  .otr-slide-reader [data-slide-position] { font-size: 12px; }
}
/* The directory reading preview already supplies the site shell and close
   control. Keep the same full reader inside its same-origin frame. */
html[data-otr-embedded-reader] body { min-width: 0 !important; }
html[data-otr-embedded-reader] :is(body > header, body > .reference-header, body > .reference-footer, body > footer, #otr-signal-detail-header) { display: none !important; }
html[data-otr-embedded-reader] .otr-signal-slides { width: calc(100% - 32px); }
html[data-otr-embedded-reader] .otr-slide-reader { margin: 8px auto; }
@media (min-width: 760px) {
  html[data-otr-embedded-reader] .otr-signal-slides { width: calc(100% - 48px); }
}
@media (hover: hover) and (pointer: fine) {
  .otr-slide-reader :where(button:not(:disabled), [data-slide-topics] a):hover { border-color: #b9a78a; }
  .otr-slide-reader [data-slide-next]:hover { background: #303027; }
}
@media (prefers-reduced-motion: reduce) {
  .otr-slide-reader,
  .otr-slide-reader * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  .otr-slide-reader { max-width: none; margin: 0; }
  .otr-slide-reader .otr-slide-stage { height: auto !important; border: 0; box-shadow: none; }
  .otr-slide-reader .otr-slide { display: block !important; height: auto !important; break-inside: avoid; border-bottom: 1px solid #aaa; }
  .otr-slide-reader [data-reader-header],
  .otr-slide-reader [data-reader-controls] { display: none !important; }
}

/* Recorded starting references lead every readable investment deck. */
.otr-slide-entry-prices{border:1px solid #d8d2bf;border-left:4px solid #f47700;border-radius:14px;background:#f7f5e8;padding:12px 16px;margin:0 0 16px;overflow-wrap:anywhere}
.otr-slide-entry-prices p{margin:0 0 6px}
.otr-slide-entry-label{font-weight:700;font-size:.85em}
.otr-slide-entry-value{font-variant-numeric:tabular-nums;font-size:1.15em}
.otr-slide-entry-limit,.otr-slide-entry-evidence{font-size:.75em;line-height:1.4}
.otr-slide-entry-evidence summary{cursor:pointer;min-height:32px;padding:6px 0}
.otr-slide-entry-prices>div+div{border-top:1px solid #d8d2bf;margin-top:10px;padding-top:10px}
.otr-slide-entry-list{display:grid;gap:4px;margin:0;padding:0;list-style:none}
.otr-slide-entry-list>li{min-width:0;padding:4px 0;border-bottom:1px solid #d8d2bf;font-size:.9em;line-height:1.35}
.otr-slide-entry-list>li:last-child{border-bottom:0}

/* Give Signals a calm two-row masthead before the brand, routes, and account
   controls compete for one line at desktop zoom levels. */
@media (min-width: 1101px) {
  body.signal-detail-page header.reference-header[data-reference-shell="header"] .reference-header-inner:has(>#otr-primary-navigation) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    width: min(1600px, calc(100% - 48px)) !important;
    max-width: 1600px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 12px 0 !important;
    gap: 8px 24px !important;
    box-sizing: border-box !important;
  }
  body.signal-detail-page header.reference-header[data-reference-shell="header"] .reference-header-inner:has(>#otr-primary-navigation) > .reference-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  body.signal-detail-page header.reference-header[data-reference-shell="header"] .reference-header-inner:has(>#otr-primary-navigation) > .reference-header-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    gap: 10px !important;
    flex: 0 1 auto !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
  }
  body.signal-detail-page header.reference-header #otr-primary-navigation {
    display: flex !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    gap: 8px 20px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  body.signal-detail-page header.reference-header #otr-primary-navigation a {
    max-width: 100% !important;
    min-width: 0 !important;
    padding-inline: 12px !important;
    text-align: center !important;
    white-space: normal !important;
  }
}

