/* ============================================================================= REPORT SLIDES AND THE OVERVIEW (release 22) — common/components/report/slides/. Plain CSS, imported by every app that shows an article as slides (export, umtool) right after its tokens, and inlined whole into `slides.html`. It is NOT in a Tailwind layer, so it wins over a utility a shared component (the markdown's paragraphs, a verdict chip) carries inside a slide. COLOUR comes from the host's tokens through `--rs-*`, set on `.rs-root` below from the site's (tokens.css: the base in force and the site's accent); umtool's globals.css points them at its own palette. A slide's MARK (`--rs-mark`, set inline) is the colour of what it says: a claim's verdict, else the accent. It runs down the slide's left edge, so a deck read quickly still reads its rulings. THE CANVAS is 1280 × 720 design pixels, scaled as one piece to fit its stage (`data-fit="canvas"`). A narrow portrait screen reflows the same slide instead (`data-fit="reflow"`): readable type, the evidence under the words. ========================================================================== */ .rs-root { --rs-ground: var(--surface, #e8edef); --rs-paper: var(--card, #ffffff); --rs-ink: var(--foreground, #161c21); --rs-muted: var(--muted-foreground, #55646e); --rs-faint: var(--faint, #78868f); --rs-line: var(--border, #d2dade); --rs-line-strong: var(--border-strong, #aeb9c0); --rs-accent: var(--brand, #2f7d74); --rs-accent-soft: var(--brand-soft, rgba(47, 125, 116, 0.12)); --rs-focus: var(--ring, var(--rs-accent)); --rs-display: var(--font-display, ui-sans-serif), ui-sans-serif, system-ui, sans-serif; --rs-sans: var(--font-sans, ui-sans-serif), ui-sans-serif, system-ui, sans-serif; --rs-mono: var(--font-mono, ui-monospace), ui-monospace, "SF Mono", Menlo, monospace; --rs-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 12px 32px -12px rgb(0 0 0 / 0.22); } /* ─── The slide (canvas) ─────────────────────────────────────────────────── */ .rs-slide { --rs-mark: var(--rs-accent); position: relative; box-sizing: border-box; width: 1280px; height: 720px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 28px; padding: 48px 72px 36px 104px; overflow: hidden; background: var(--rs-paper); color: var(--rs-ink); font-family: var(--rs-sans); font-size: 24px; line-height: 1.35; text-align: left; border-radius: 12px; } .rs-slide *, .rs-slide *::before, .rs-slide *::after { box-sizing: border-box; } /* The mark: the slide's left edge, in the colour of what it says. */ .rs-band { position: absolute; inset: 0 auto 0 0; width: 18px; background: var(--rs-mark); } .rs-band::after { /* where the band meets the paper: a hairline of the mark, lighter */ content: ""; position: absolute; inset: 0 -6px 0 auto; width: 6px; background: color-mix(in oklab, var(--rs-mark) 22%, transparent); } .rs-eyebrow { display: flex; align-items: baseline; gap: 24px; margin: 0; font-family: var(--rs-mono); font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rs-muted); } .rs-eyebrow-place { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rs-eyebrow-place b { font-weight: 600; color: var(--rs-mark); } .rs-eyebrow-n { margin-left: auto; flex: none; letter-spacing: 0.08em; color: var(--rs-faint); font-variant-numeric: tabular-nums; } .rs-main { min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; } .rs-foot { display: flex; align-items: center; gap: 24px; font-size: 16px; color: var(--rs-faint); } .rs-foot-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--rs-mono); font-size: 14px; letter-spacing: 0.04em; } .rs-read { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; color: var(--rs-accent); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--rs-accent) 40%, transparent); text-underline-offset: 4px; border-radius: 4px; } .rs-read:hover { text-decoration-color: var(--rs-accent); } .rs-read:focus-visible, .rs-slide a:focus-visible, .rs-slide button:focus-visible { outline: 3px solid var(--rs-focus); outline-offset: 3px; } /* ─── Type ───────────────────────────────────────────────────────────────── */ .rs-h { margin: 0; font-family: var(--rs-display); font-stretch: 112%; font-weight: 650; font-size: 54px; line-height: 1.1; letter-spacing: -0.012em; /* room for the last line's descenders under the clamp */ padding-bottom: 0.08em; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; } .rs-h-sm { font-size: 42px; } .rs-sub { margin: 0; font-size: 26px; line-height: 1.3; color: var(--rs-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; } .rs-claimtext { margin: 0; padding-left: 18px; border-left: 3px solid var(--rs-line-strong); font-size: 24px; font-style: italic; color: var(--rs-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; } .rs-statement { margin: 0; font-size: 34px; line-height: 1.32; max-width: 30em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; } .rs-gist { margin: 0; font-size: 28px; line-height: 1.32; } /* Markdown inside a slide: a run of text, never a block with its own margins. */ .rs-md p, .rs-md div { margin: 0; line-height: inherit; } .rs-md p + p { margin-top: 0.5em; } /* Points: the slide's own words. A short bar in the mark leads each. */ .rs-points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; font-size: 30px; line-height: 1.28; } .rs-points > li { position: relative; padding-left: 40px; } .rs-points > li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 22px; height: 4px; border-radius: 2px; background: var(--rs-mark); } /* A verdict chip (VerdictChip), at slide scale — whole here, so a slide needs no utility classes (slides.html has none). */ .rs-chip [data-verdict-tally] { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; } .rs-chip [data-verdict] { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px; border: 2px solid var(--verdict); border-radius: 999px; background: color-mix(in oklab, var(--verdict) 14%, transparent); color: var(--rs-ink); font-size: 20px; font-weight: 600; line-height: 1.3; } .rs-chip [data-verdict] > span:first-child { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--verdict); } .rs-chip [data-verdict] > span:last-child:not(:first-child) { font-family: var(--rs-mono); color: var(--rs-muted); } .rs-root .sr-only, .rs-slide .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .rs-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; } .rs-flag { display: inline-flex; align-items: center; padding: 5px 16px; border: 2px solid color-mix(in oklab, var(--rs-accent) 45%, transparent); border-radius: 999px; background: var(--rs-accent-soft); color: var(--rs-accent); font-size: 18px; font-weight: 600; } /* Two columns: the words, the evidence. */ .rs-split { min-height: 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; } .rs-col { min-width: 0; display: flex; flex-direction: column; gap: 22px; } /* ─── Evidence ───────────────────────────────────────────────────────────── */ .rs-ev { min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; } .rs-ev-pic { display: block; width: 100%; max-height: 330px; object-fit: contain; object-position: left top; border: 1px solid var(--rs-line); border-radius: 8px; background: var(--rs-ground); } .rs-ev-pic[data-kind="source"] { background: #ffffff; } .rs-ev-quote { margin: 0; padding-left: 20px; border-left: 4px solid var(--rs-ev-rail, var(--rs-line-strong)); font-size: 24px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; } .rs-ev-cap { display: flex; flex-direction: column; gap: 2px; font-size: 17px; color: var(--rs-muted); } .rs-ev-kind { font-family: var(--rs-mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rs-faint); } .rs-ev-title { color: var(--rs-ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* The pull quote: the evidence's own words, large. */ .rs-pull { margin: 0; position: relative; padding-left: 64px; font-family: var(--rs-display); font-weight: 500; font-size: 50px; line-height: 1.14; letter-spacing: -0.01em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; } .rs-pull::before { content: "“"; position: absolute; left: 0; top: -0.12em; font-size: 1.9em; line-height: 1; color: var(--rs-mark); } /* ─── Kinds ──────────────────────────────────────────────────────────────── */ .rs-title-series { margin: 0; display: flex; align-items: center; gap: 18px; font-family: var(--rs-display); font-stretch: 112%; font-weight: 650; font-size: 30px; color: var(--rs-accent); } .rs-title-series::before { content: ""; width: 56px; height: 6px; border-radius: 3px; background: var(--rs-accent); } .rs-title-h { font-size: 76px; line-height: 1.08; } .rs-dates { margin: 0; font-family: var(--rs-mono); font-size: 17px; color: var(--rs-faint); } .rs-subject { max-width: 820px; padding: 14px 22px; border-left: 6px solid var(--rs-subject, var(--rs-line-strong)); border-radius: 0 8px 8px 0; background: var(--rs-ground); font-size: 20px; } .rs-subject b { display: block; font-weight: 600; } .rs-subject span { color: var(--rs-muted); font-size: 17px; } .rs-found { display: grid; grid-template-columns: repeat(var(--rs-cols, 3), minmax(0, 1fr)); gap: 22px; align-items: start; } .rs-found-group { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 5px solid var(--rs-verdict, var(--rs-line-strong)); } .rs-found-n { font-family: var(--rs-display); font-weight: 650; font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; } .rs-found-label { font-weight: 600; font-size: 22px; } .rs-found-claims { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 18px; line-height: 1.3; color: var(--rs-muted); } .rs-found-claims li { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; } .rs-claimlist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 26px; } .rs-claimlist li { display: flex; align-items: baseline; gap: 16px; } .rs-claimlist i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--rs-verdict, var(--rs-line-strong)); transform: translateY(-2px); } .rs-figures { display: flex; gap: 64px; } .rs-figure b { display: block; font-family: var(--rs-display); font-weight: 650; font-size: 88px; line-height: 1; color: var(--rs-ink); font-variant-numeric: tabular-nums; } .rs-figure span { font-family: var(--rs-mono); font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rs-muted); } .rs-url { font-family: var(--rs-mono); font-size: 20px; color: var(--rs-accent); overflow-wrap: anywhere; } /* ─── The reflowed slide (a narrow portrait screen) ──────────────────────── */ .rs-slide[data-fit="reflow"] { width: 100%; height: auto; min-height: 100%; gap: 18px; padding: 22px 18px 18px 34px; font-size: 16px; border-radius: 10px; } .rs-slide[data-fit="reflow"] .rs-band { width: 10px; } .rs-slide[data-fit="reflow"] .rs-band::after { width: 4px; inset: 0 -4px 0 auto; } .rs-slide[data-fit="reflow"] .rs-eyebrow { font-size: 11px; gap: 12px; } .rs-slide[data-fit="reflow"] .rs-main { justify-content: flex-start; gap: 16px; } .rs-slide[data-fit="reflow"] .rs-h { font-size: 28px; -webkit-line-clamp: unset; line-clamp: none; } .rs-slide[data-fit="reflow"] .rs-title-h { font-size: 34px; } .rs-slide[data-fit="reflow"] .rs-title-series { font-size: 18px; gap: 10px; } .rs-slide[data-fit="reflow"] .rs-title-series::before { width: 28px; height: 4px; } .rs-slide[data-fit="reflow"] .rs-sub, .rs-slide[data-fit="reflow"] .rs-claimtext, .rs-slide[data-fit="reflow"] .rs-statement, .rs-slide[data-fit="reflow"] .rs-ev-quote, .rs-slide[data-fit="reflow"] .rs-pull, .rs-slide[data-fit="reflow"] .rs-found-claims li { -webkit-line-clamp: unset; line-clamp: none; } .rs-slide[data-fit="reflow"] .rs-sub { font-size: 17px; } .rs-slide[data-fit="reflow"] .rs-claimtext { font-size: 16px; padding-left: 12px; } .rs-slide[data-fit="reflow"] .rs-statement { font-size: 19px; } .rs-slide[data-fit="reflow"] .rs-gist { font-size: 18px; } .rs-slide[data-fit="reflow"] .rs-points { font-size: 18px; gap: 12px; } .rs-slide[data-fit="reflow"] .rs-points > li { padding-left: 26px; } .rs-slide[data-fit="reflow"] .rs-points > li::before { width: 14px; height: 3px; } .rs-slide[data-fit="reflow"] .rs-split { grid-template-columns: minmax(0, 1fr); gap: 20px; } .rs-slide[data-fit="reflow"] .rs-pull { font-size: 24px; padding-left: 34px; } .rs-slide[data-fit="reflow"] .rs-ev-quote { font-size: 16px; } .rs-slide[data-fit="reflow"] .rs-ev-cap { font-size: 13px; } .rs-slide[data-fit="reflow"] .rs-chip [data-verdict] { font-size: 14px; padding: 3px 12px; gap: 8px; } .rs-slide[data-fit="reflow"] .rs-chip [data-verdict] > span:first-child { width: 10px; height: 10px; } .rs-slide[data-fit="reflow"] .rs-flag { font-size: 13px; padding: 3px 10px; } .rs-slide[data-fit="reflow"] .rs-found { grid-template-columns: minmax(0, 1fr); gap: 14px; } .rs-slide[data-fit="reflow"] .rs-found-n { font-size: 34px; } .rs-slide[data-fit="reflow"] .rs-found-label { font-size: 16px; } .rs-slide[data-fit="reflow"] .rs-found-claims { font-size: 14px; } .rs-slide[data-fit="reflow"] .rs-claimlist { font-size: 17px; } .rs-slide[data-fit="reflow"] .rs-claimlist i { width: 10px; height: 10px; } .rs-slide[data-fit="reflow"] .rs-subject { font-size: 15px; padding: 10px 14px; } .rs-slide[data-fit="reflow"] .rs-subject span, .rs-slide[data-fit="reflow"] .rs-dates { font-size: 13px; } .rs-slide[data-fit="reflow"] .rs-figures { gap: 32px; } .rs-slide[data-fit="reflow"] .rs-figure b { font-size: 44px; } .rs-slide[data-fit="reflow"] .rs-figure span { font-size: 11px; } .rs-slide[data-fit="reflow"] .rs-url { font-size: 14px; } .rs-slide[data-fit="reflow"] .rs-foot { font-size: 14px; flex-wrap: wrap; gap: 8px 16px; } .rs-slide[data-fit="reflow"] .rs-foot-name { font-size: 11px; } .rs-slide[data-fit="reflow"] .rs-ev-pic { max-height: none; } .rs-slide[data-fit="reflow"] .rs-ev-title { white-space: normal; } /* ─── The stage: one slide letterboxed, the controls, the rail ───────────── */ .rs-stage { position: relative; display: flex; flex-direction: column; min-height: 0; height: 100%; background: var(--rs-ground); color: var(--rs-ink); outline: none; } .rs-viewport { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 20px 24px 8px; overflow: hidden; touch-action: pan-y; } .rs-viewport[data-fit="reflow"] { align-items: stretch; justify-content: stretch; padding: 12px 12px 4px; overflow-y: auto; } .rs-scaled { position: relative; flex: none; border-radius: 12px; box-shadow: var(--rs-shadow); } .rs-scaled > .rs-slide { position: absolute; left: 0; top: 0; transform-origin: 0 0; } .rs-viewport[data-fit="reflow"] .rs-scaled { width: 100%; min-height: 100%; } .rs-viewport[data-fit="reflow"] .rs-scaled > .rs-slide { position: relative; } @keyframes rs-enter-next { from { opacity: 0; translate: 24px 0; } } @keyframes rs-enter-prev { from { opacity: 0; translate: -24px 0; } } .rs-scaled[data-dir="next"] { animation: rs-enter-next 220ms cubic-bezier(0.22, 1, 0.36, 1); } .rs-scaled[data-dir="prev"] { animation: rs-enter-prev 220ms cubic-bezier(0.22, 1, 0.36, 1); } .rs-controls { flex: none; display: flex; align-items: center; gap: 12px; padding: 6px 16px 10px; } .rs-label { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 13px; color: var(--rs-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rs-label b { font-family: var(--rs-mono); font-weight: 500; color: var(--rs-ink); font-variant-numeric: tabular-nums; } .rs-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 36px; padding: 0 12px; border: 1px solid var(--rs-line); border-radius: 999px; background: var(--rs-paper); color: var(--rs-ink); font: inherit; font-size: 13px; cursor: pointer; } .rs-btn:hover:not(:disabled) { border-color: var(--rs-accent); color: var(--rs-accent); } .rs-btn[aria-pressed="true"] { border-color: var(--rs-accent); background: var(--rs-accent-soft); color: var(--rs-accent); } .rs-btn:disabled { opacity: 0.4; cursor: default; } .rs-btn:focus-visible, .rs-rail button:focus-visible, .rs-switch button:focus-visible { outline: 2px solid var(--rs-focus); outline-offset: 2px; } /* The progress rail: one tick per slide, the passed ones in the accent. */ .rs-rail { flex: none; display: flex; gap: 3px; padding: 0 16px 12px; } .rs-rail button { flex: 1 1 0; min-width: 0; height: 14px; padding: 5px 0; border: 0; background: transparent; cursor: pointer; } .rs-rail button::before { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--rs-line); transition: background 160ms; } .rs-rail button[data-state="past"]::before { background: color-mix(in oklab, var(--rs-accent) 55%, var(--rs-line)); } .rs-rail button[data-state="current"]::before { background: var(--rs-accent); } .rs-rail button:hover::before { background: var(--rs-ink); } /* ─── The overview: the article and its slides, pair by pair ─────────────── */ .rs-ov { position: relative; display: flex; flex-direction: column; min-height: 0; height: 100%; background: var(--rs-ground); color: var(--rs-ink); outline: none; } .rs-ov-tools { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 10px 16px 0; } .rs-ov-hint { margin: 0; font-size: 12px; color: var(--rs-muted); } .rs-ov-hint kbd { display: inline-block; min-width: 1.6em; padding: 0 4px; border: 1px solid var(--rs-line); border-bottom-width: 2px; border-radius: 4px; background: var(--rs-paper); font-family: var(--rs-mono); font-size: 11px; text-align: center; } .rs-ov-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; container: rs-ov / inline-size; } .rs-ov-sizer { position: relative; margin: 0 auto; } .rs-ov-plane { margin: 0 auto; padding: 24px 16px 48px; list-style: none; display: flex; flex-direction: column; gap: 18px; width: max-content; max-width: 100%; } .rs-ov-pair { display: grid; grid-template-columns: 360px 88px 300px; align-items: stretch; border-radius: 10px; } /* The article side: the page, in blocks that run on from one another. */ .rs-ov-block { position: relative; min-width: 0; border: 1px solid var(--rs-line); border-radius: 8px; background: var(--rs-paper); transition: border-color 160ms, box-shadow 160ms, transform 220ms cubic-bezier(0.22, 1, 0.36, 1); } .rs-ov-face { --rs-mark: var(--rs-line-strong); height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 14px 20px; border-left: 4px solid var(--rs-mark); border-radius: 8px 0 0 8px; overflow: hidden; } .rs-ov-face[data-kind="title"], .rs-ov-face[data-kind="section"] { --rs-mark: var(--rs-accent); } .rs-ov-kind { font-family: var(--rs-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rs-faint); } .rs-ov-kind b { font-weight: 600; color: var(--rs-mark); } .rs-ov-title { font-family: var(--rs-display); font-stretch: 112%; font-weight: 600; font-size: 16px; line-height: 1.2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; } .rs-ov-face[data-kind="title"] .rs-ov-title, .rs-ov-face[data-kind="section"] .rs-ov-title { font-size: 19px; } .rs-ov-line { font-size: 13px; line-height: 1.4; color: var(--rs-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; } /* The line between a part and its slide. */ .rs-ov-link { position: relative; align-self: center; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, var(--rs-line-strong) 0 6px, transparent 6px 11px); transition: background 160ms; } .rs-ov-link::before, .rs-ov-link::after { content: ""; position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--rs-paper); border: 2px solid var(--rs-line-strong); } .rs-ov-link::before { left: -6px; } .rs-ov-link::after { right: -6px; } /* The slide side: the slide itself, small. */ .rs-ov-card { position: relative; width: 300px; height: 168.75px; border-radius: 8px; background: var(--rs-paper); box-shadow: 0 0 0 1px var(--rs-line); transition: box-shadow 160ms, transform 220ms cubic-bezier(0.22, 1, 0.36, 1); } .rs-ov-thumb { position: absolute; inset: 0; overflow: hidden; border-radius: 8px; pointer-events: none; } .rs-ov-thumb > .rs-slide { position: absolute; left: 0; top: 0; transform-origin: 0 0; border-radius: 0; } /* Each side is one button laid over it. */ .rs-ov-block > button, .rs-ov-card > button { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; } .rs-ov-block > button:focus-visible, .rs-ov-card > button:focus-visible { outline: 3px solid var(--rs-focus); outline-offset: 3px; } /* A pair lit: pointed at, or the reader's place. */ .rs-ov-pair:is(:hover, :focus-within, [data-active="true"]) .rs-ov-block { border-color: var(--rs-accent); box-shadow: 0 0 0 1px var(--rs-accent), var(--rs-shadow); } .rs-ov-pair:is(:hover, :focus-within, [data-active="true"]) .rs-ov-card { box-shadow: 0 0 0 2px var(--rs-accent), var(--rs-shadow); } .rs-ov-pair:is(:hover, :focus-within, [data-active="true"]) .rs-ov-link { background: var(--rs-accent); } .rs-ov-pair:is(:hover, :focus-within, [data-active="true"]) .rs-ov-link::before, .rs-ov-pair:is(:hover, :focus-within, [data-active="true"]) .rs-ov-link::after { border-color: var(--rs-accent); background: var(--rs-accent); } /* TILTED: one plane, rotated isometrically; the pair in force lifts off it. */ .rs-ov[data-report-overview="iso"] .rs-ov-plane { position: absolute; left: 0; top: 0; margin: 0; max-width: none; padding: 28px; border-radius: 18px; background: linear-gradient(var(--rs-line) 1px, transparent 1px) 0 0 / 100% 48px, color-mix(in oklab, var(--rs-paper) 55%, var(--rs-ground)); box-shadow: 0 0 0 1px var(--rs-line); transform-origin: 0 0; transform-style: preserve-3d; } .rs-ov[data-report-overview="iso"] .rs-ov-pair { transform-style: preserve-3d; } .rs-ov[data-report-overview="iso"] .rs-ov-pair:is(:hover, :focus-within, [data-active="true"]) .rs-ov-block, .rs-ov[data-report-overview="iso"] .rs-ov-pair:is(:hover, :focus-within, [data-active="true"]) .rs-ov-card { transform: translateZ(22px); } .rs-ov[data-report-overview="iso"] .rs-ov-scroll { background: radial-gradient(ellipse at 50% 40%, color-mix(in oklab, var(--rs-accent) 7%, transparent), transparent 70%); } /* FLAT, in a narrow box: each pair stacked, the part over its slide. */ @container rs-ov (max-width: 780px) { .rs-ov[data-report-overview="flat"] .rs-ov-plane { width: auto; gap: 22px; } .rs-ov[data-report-overview="flat"] .rs-ov-pair { grid-template-columns: minmax(0, 1fr); gap: 8px; justify-items: start; } .rs-ov[data-report-overview="flat"] .rs-ov-block { width: 100%; } .rs-ov[data-report-overview="flat"] .rs-ov-link { display: none; } } @media (max-width: 720px) { .rs-ov-hint { display: none; } } /* ─── The view switch: Article | Slides | Overview ───────────────────────── */ .rs-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--rs-line); border-radius: 999px; background: var(--rs-ground); font-family: var(--rs-sans); } .rs-switch button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--rs-muted); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 140ms, color 140ms; } .rs-switch button:hover { color: var(--rs-ink); } .rs-switch button[aria-pressed="true"] { background: var(--rs-paper); color: var(--rs-ink); box-shadow: 0 1px 2px rgb(0 0 0 / 0.12), inset 0 0 0 1px var(--rs-line); } .rs-switch button[aria-pressed="true"] svg { color: var(--rs-accent); } .rs-switch svg { width: 15px; height: 15px; flex: none; } /* ─── The reader's overlay (the export site) ─────────────────────────────── */ .rs-overlay { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; background: var(--rs-ground); color: var(--rs-ink); } .rs-bar { flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top, 0px)); border-bottom: 1px solid var(--rs-line); background: var(--rs-paper); } .rs-bar-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--rs-display); font-stretch: 112%; font-weight: 600; font-size: 15px; } .rs-bar-title span { color: var(--rs-accent); } .rs-overlay-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; } .rs-note { margin: auto; padding: 24px; text-align: center; color: var(--rs-muted); } @media (max-width: 560px) { .rs-bar-title { display: none; } .rs-bar { justify-content: space-between; } .rs-btn-text { display: none; } } @media (prefers-reduced-motion: reduce) { .rs-scaled[data-dir] { animation: none; } .rs-rail button::before, .rs-switch button, .rs-ov-block, .rs-ov-card, .rs-ov-link { transition: none; } } /* ─── Hosts' small parts ─────────────────────────────────────────────────── */ /* Markdown a host renders with its own classes (umtool's) takes the slide's type, not the host's body size. */ .rs-md > div, .rs-md > div > div { font-size: inherit; line-height: inherit; color: inherit; } /* A citation as a button (umtool: it opens the evidence rail). */ .rs-cite { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-decoration-style: dotted; text-decoration-color: var(--rs-accent); text-underline-offset: 4px; cursor: pointer; } .rs-cite sup { margin-left: 2px; font-family: var(--rs-mono); color: var(--rs-accent); } /* A slide's badge (umtool: its open notes). */ .rs-notes { flex: none; padding: 3px 12px; border: 1px solid var(--rs-accent); border-radius: 999px; font-family: var(--rs-mono); font-size: 14px; color: var(--rs-accent); } .rs-slide[data-fit="reflow"] .rs-notes { font-size: 11px; padding: 1px 8px; }