/* Dobbin Wrapped, "The annual report" (report.js). Built on the Story film's 4:5 cut: the frame, the caption band, the
   Doc window and the end card are film/film.css's own classes (film-li, film-li-band, vt-headline, gd-*, hm-kb-*);
   this sheet only lays out the report's pages in the film's Doc paper and type (Lato on white, Docs highlight). */
.frame.wr-report { font: 13px/1.4 'Host Grotesk', system-ui, sans-serif; color: #0A0A0A; text-align: left; -webkit-font-smoothing: antialiased; }
.frame.wr-report *, .frame.wr-report *::before, .frame.wr-report *::after { box-sizing: border-box; }
.wr-report .film-li-band { z-index: 5; pointer-events: none; }
.wr-report .film-li-band .vt-col { width: 540px; overflow: hidden; }
.wr-report .film-li-band .vt-col-inner { width: 540px; }
.wr-report .vt-headline span[data-tail] { color: rgba(255, 255, 255, .6); }
.wr-report .gd-clip { border-radius: 10px; visibility: hidden; }
.wr-report .hm-kb { background: transparent; }
.wr-report .gd-av { flex: none; }
.wr-report .gd-title { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* The page: the film's Doc paper, with type set for a 540-wide frame. */
.wr-report .rp-page { position: relative; width: 476px; padding: 34px 38px; font: 400 14px/1.5 'Lato', sans-serif; color: #1F1F1F; }
.rp-page p { font-size: 14px; line-height: 1.5; } /* over the film's 11.5px memo body, under every rule below */
.rp-page p, .rp-page h1, .rp-page h2, .rp-page ol { margin: 0; padding: 0; }
.wr-report .rp-kicker { font: 700 10.5px/1.2 'Lato', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #5F6368; min-height: 13px; }
.wr-report .rp-h { margin-top: 8px; font: 400 26px/1.2 'Lato', sans-serif; color: #1F1F1F; min-height: 31px; }
.wr-report .rp-small { font-size: 12.5px; line-height: 1.45; color: #5F6368; }
.wr-report .rp-muted { color: #80868B; }
.wr-report .rp-rule { display: block; height: 2px; width: 64px; margin: 18px 0; background: #1F1F1F; }
.wr-report .rp-hl { --hl: 0; background: rgba(254, 239, 195, var(--hl)); box-shadow: 0 0 0 3px rgba(254, 239, 195, var(--hl)); border-radius: 2px; }

/* Cover */
.wr-report .rp-cover { display: inline-block; padding-top: 46px; } /* as wide as its title, so the zoom can fill the frame with it */
.wr-report .rp-cover .rp-kicker { font-size: 12px; min-height: 15px; }
.wr-report .rp-title { margin-top: 14px; font: 400 40px/1.12 'Lato', sans-serif; color: #1F1F1F; min-height: 45px; }
.wr-report .rp-by { font: 700 15px/1.4 'Lato', sans-serif; min-height: 21px; }
.wr-report .rp-date { margin-top: 2px; font-size: 13px; color: #5F6368; min-height: 19px; }

/* Key figures */
.wr-report .rp-table { width: 100%; margin-top: 16px; border-collapse: collapse; }
.wr-report .rp-table tr { --hl: 0; background: rgba(254, 239, 195, var(--hl)); }
.wr-report .rp-table th, .rp-table td { padding: 9px 6px; vertical-align: top; border-bottom: 1px solid #E3E5E8; text-align: left; }
.wr-report .rp-table tr:first-child th, .rp-table tr:first-child td { border-top: 1px solid #E3E5E8; }
.wr-report .rp-table th { width: 150px; font-weight: 700; color: #5F6368; }
.wr-report .rp-table td { font-weight: 400; color: #1F1F1F; }

/* Contents */
.wr-report .rp-toc { list-style: none; margin-top: 8px; }
.wr-report .rp-toc li { padding: 4px 0 4px; border-bottom: 1px solid #EEF0F2; }
.wr-report .rp-toc-row { display: flex; align-items: baseline; gap: 6px; font-size: 14.5px; }
.wr-report .rp-toc-row span { white-space: nowrap; font-weight: 700; }
.wr-report .rp-dots { flex: 1; min-width: 12px; height: 2px; border-bottom: 2px dotted #9AA0A6; transform: translateY(-3px); }
.wr-report .rp-toc-row b { min-width: 18px; text-align: right; font-weight: 700; }
.wr-report .rp-toc .rp-small { margin-top: 0; min-height: 18px; }

/* Appendix A */
.wr-report .rp-line { margin-top: 14px; font-size: 22px; line-height: 1.3; min-height: 29px; }
.wr-report .rp-line + .rp-line { margin-top: 4px; }
.wr-report .rp-note { margin-top: 18px; padding-left: 14px; border-left: 3px solid #E3E5E8; font-size: 19px; line-height: 1.4; color: #3C4043; }

/* Errata: a printed slip; the corrections are the punchline, so they are set big */
.wr-report .rp-p-errata { padding-top: 24px; }
.wr-report .rp-errata { font: 700 13px/1.2 'Lato', sans-serif; letter-spacing: .3em; text-transform: uppercase; text-align: center; padding-bottom: 10px; border-bottom: 2px solid #1F1F1F; min-height: 25px; }
.wr-report .rp-erratum { padding: 10px 0 11px; border-bottom: 1px solid #E3E5E8; font-size: 22px; line-height: 1.28; min-height: 78px; }
.wr-report .rp-erratum b { font-weight: 700; font-size: 13px; letter-spacing: .04em; color: #5F6368; vertical-align: 3px; }
.wr-report .rp-erratum em { font-style: italic; }

/* Sign-off */
.wr-report .rp-approved { margin-top: 30px; font: 400 40px/1.1 'Lato', sans-serif; min-height: 44px; }
.wr-report .rp-sig { height: 70px; margin-top: 34px; display: flex; align-items: flex-end; }
.wr-report .rp-sig-pen { width: 176px; height: auto; overflow: visible; transform: rotate(-4deg); transform-origin: left bottom; fill: none; stroke: #202124; stroke-width: 40; stroke-linecap: round; stroke-linejoin: round; }
/* Hidden until the film writes it (report.js writeSignature); 40 font units is about 2.3px at this width. */
.wr-report .rp-sig-pen path { visibility: hidden; }
.wr-report .rp-sig-rule { width: 220px; height: 1px; margin: 6px 0 8px; background: #5F6368; }

/* Charts: Google Sheets charts embedded in the Doc */
.wr-report .rp-chart-wrap { position: relative; margin: 14px 0 118px; width: 400px; } /* the margin is the comment's room */
.rp-ch-mark { opacity: 0; }
.wr-report .rp-chart { display: block; border: 1px solid #E3E5E8; overflow: visible; }
.rp-ch-title { font: 500 14px 'Arimo', Arial, sans-serif; fill: #202124; }
.rp-ch-lab { font: 400 10.5px 'Arimo', Arial, sans-serif; fill: #757575; }

.rp-ch-leg { font: 400 11px 'Arimo', Arial, sans-serif; fill: #3C4043; white-space: pre; }
.rp-ch-grid { stroke: #E6E6E6; stroke-width: 1; }
.rp-ch-grid.base { stroke: #9E9E9E; }
.rp-ch-line { fill: none; stroke: #4285F4; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.rp-ch-pt { fill: #4285F4; opacity: 0; }
.rp-ch-col { fill: #4285F4; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.rp-ch-anchor { fill: rgba(251, 188, 4, .28); stroke: #F9AB00; stroke-width: 1.5; opacity: 0; }
.wr-report .rp-connector { position: absolute; left: 0; top: 0; overflow: visible; opacity: 0; }
.wr-report .rp-connector path { fill: none; stroke: #F9AB00; stroke-width: 1.5; }
/* A Docs comment card */
.wr-report .rp-comment { position: absolute; width: 240px; padding: 10px 12px 11px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(60, 64, 67, .3), 0 2px 6px 2px rgba(60, 64, 67, .15); opacity: 0; font: 400 13px/1.4 'Lato', sans-serif; color: #1F1F1F; }
.wr-report .rp-c-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.wr-report .rp-c-av { width: 26px; height: 26px; border-radius: 50%; background: #000; display: grid; place-items: center; overflow: hidden; }
.wr-report .rp-c-av img { width: 100%; height: 100%; }
.wr-report .rp-c-head b { font: 700 13px/1 'Lato', sans-serif; }
.wr-report .rp-c-head small { font: 400 11px/1 'Lato', sans-serif; color: #5F6368; }
.wr-report .rp-comment p { font-size: 14px; line-height: 1.4; min-height: 20px; }
/* The contents page's donut */
.wr-report .rp-donut { margin-top: 8px; }
.wr-report .rp-donut svg { display: block; border: 1px solid #E3E5E8; }
.wr-report .rp-donut [data-legend] { opacity: 0; }

/* Slack: the film's channel, at the film's size, scaled as the 4:5 cut scales it */
.wr-report .rp-slack { position: absolute; left: 5px; top: 150px; right: 5px; bottom: 5px; overflow: hidden; border-radius: 10px; }
.wr-report .rp-sk { transform-origin: 0 0; display: flex; font: 400 15px/1.46 'Lato', sans-serif; color: #1D1C1D; }
.wr-report .rp-sk .sk-main { margin: 0; border-radius: 10px; height: 100%; transform-origin: 40% 78%; } /* the drift closes in on the card */
.wr-report .rp-compose { position: relative; width: auto; }
.wr-report .emoji { font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; font-style: normal; }
.wr-report .sk-btn.hover { background: #F8F8F8; }
.wr-report .sk-react { transform-origin: 50% 60%; }
.wr-report .hm-card { width: 460px; }
.wr-report .rp-gd-av { display: grid; place-items: center; overflow: hidden; }
.wr-report .rp-gd-av img { width: 100%; height: 100%; }
.wr-report .vt-cursor { z-index: 30; }
.wr-report .rp-p-contents { padding-top: 22px; }
/* The caret flag is the name, as Docs shows it, even inside an uppercase kicker */
.wr-report .gd-caret i { text-transform: none; letter-spacing: normal; }
.wr-report .rp-sign-block { display: inline-block; }
.rp-ch-n { font-weight: 700; fill: #202124; }

/* The title card: the opening poster (and the post's thumbnail), Anton on the film's dark ground */
.wr-report .rp-film { position: absolute; inset: 0; }
.wr-report .rp-tc { position: absolute; inset: 0; z-index: 40; background: #101010; color: #fff; }
.wr-report .rp-tc-kick { position: absolute; left: 30px; top: 32px; display: flex; align-items: center; gap: 14px; font: 400 26px/1 'Anton', sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.wr-report .rp-tc-d { position: relative; flex: none; width: 44px; height: 44px; border-radius: 12.6px; background: #000; border: 1px solid #3D3D3D; box-sizing: border-box; }
.wr-report .rp-tc-d svg { position: absolute; left: 11.5px; top: 10.5px; width: 21px; height: 21px; }
.wr-report .rp-tc-h { transform-origin: 0 100%; position: absolute; left: 26px; right: 26px; bottom: 40px; margin: 0; font: 400 200px/.86 'Anton', sans-serif; text-transform: uppercase; }
.wr-report .rp-tc-h span { display: block; margin-top: 22px; font-size: 78px; line-height: .98; color: rgba(255, 255, 255, .6); }
/* The title card's three grounds (title.style, picked in the studio's Setup). Red: the whole card in Dobbin red, the
   year white, the tail black, the D tile black so it still reads. Dark: the film's ground, the year in Dobbin red.
   Light: white, the year black, the tail in Dobbin red. */
.wr-report .rp-tc-red { background: #FF0000; }
.wr-report .rp-tc-red .rp-tc-h span { color: #0A0A0A; }
.wr-report .rp-tc-red .rp-tc-d { border-color: #000; }
.wr-report .rp-tc-dark .rp-tc-h { color: #FF0000; }
.wr-report .rp-tc-light { background: #FFFFFF; color: #0A0A0A; }
.wr-report .rp-tc-light .rp-tc-h span { color: #FF0000; }
/* A month still under way: its segment dashed and lighter, its point open, "so far" in small grey over it */
.rp-ch-line.rp-ch-part { stroke-dasharray: 4 3; stroke-opacity: .55; }
.rp-ch-pt.part { fill: #fff; stroke: #4285F4; stroke-width: 1.5; }
.rp-ch-sofar { fill: #80868B; font: 400 10px 'Arimo', Arial, sans-serif; }
/* The caret's name flag hangs below the line when above it would cover text */
.wr-report .gd-caret i.below { bottom: auto; top: 100%; border-radius: 0 7px 7px 7px; }
/* Chapters: one big donut, each era's name large in its corner */
.wr-report .rp-ring { position: relative; width: 400px; height: 380px; margin-top: 14px; }
.wr-report .rp-ring svg { display: block; }
.wr-report .rp-ring-lab { position: absolute; width: 140px; font: 700 23px/1.12 'Lato', sans-serif; color: #1F1F1F; opacity: 0; }
.wr-report .rp-ring-lab i { display: block; width: 28px; height: 6px; border-radius: 3px; margin-bottom: 8px; }
.wr-report .rp-ring-lab.tl { left: 0; top: 0; }
.wr-report .rp-ring-lab.tr { right: 0; top: 0; text-align: right; }
.wr-report .rp-ring-lab.bl { left: 0; bottom: 0; }
.wr-report .rp-ring-lab.br { right: 0; bottom: 0; text-align: right; }
.wr-report .rp-ring-lab.tr i, .wr-report .rp-ring-lab.br i { margin-left: auto; }
.wr-report .rp-ring-lab.bl i, .wr-report .rp-ring-lab.br i { margin: 8px 0 0; order: 2; }
.wr-report .rp-ring-lab.bl, .wr-report .rp-ring-lab.br { display: flex; flex-direction: column; }
.wr-report .rp-ring-lab.br { align-items: flex-end; }
/* Five names: a fifth under the ring, centred, and all five narrower so the bottom row of three never meets */
.wr-report .rp-ring-5 .rp-ring-lab { width: 122px; font-size: 20px; }
.wr-report .rp-ring-5 .rp-ring-lab.b { width: 150px; margin-left: -75px; }
.wr-report .rp-ring-lab.b { left: 50%; bottom: 0; margin-left: -61px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.wr-report .rp-ring-lab.b i { margin: 8px 0 0; order: 2; }
/* Outtakes: the opening's channel, scaled up so each exchange reads like a caption */
.wr-report .rp-out-win { background: #fff; }
.wr-report .rp-out-push { width: 100%; height: 100%; }
.wr-report .rp-out { transform-origin: 0 0; }
.wr-report .rp-out .sk-main { margin: 0; transform-origin: 30% 85%; }
.wr-report .rp-out .sk-head .members { display: none; }
.wr-report .rp-out .hm-card { width: auto; }
.wr-report .rp-out .hm-card-row b { font-size: 16px; }
.wr-report .rp-out .sk-grow { height: 0; opacity: 0; }
/* Key figures: the thanks row, last, with Dobbin's note in a small Docs comment bubble beside the number */
.wr-report .rp-thanks td { position: relative; }
.wr-report .rp-thx { position: absolute; right: 0; top: 50%; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(60, 64, 67, .3), 0 2px 6px 2px rgba(60, 64, 67, .15); font: 400 13px/1 'Lato', sans-serif; color: #1F1F1F; opacity: 0; white-space: nowrap; }
.wr-report .rp-thx .rp-c-av { width: 20px; height: 20px; }
/* A reply in Dobbin's comment thread: the card is clipped to what has opened so far */
.wr-report .rp-comment.has-reply { box-sizing: border-box; }
.wr-report .rp-reply { padding-top: 10px; margin-top: 10px; border-top: 1px solid #E3E5E8; opacity: 0; }
.wr-report .rp-reply .rp-c-av { flex: none; }
/* The sign-off's rubber stamp: red ink, slightly turned, with the uneven coverage of a real stamp */
.wr-report .rp-approved { margin-top: 26px; min-height: 64px; }
.wr-report .rp-stamp { display: inline-block; padding: 6px 16px 4px; border: 4px solid #FF0000; border-radius: 8px; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px #FF0000; color: #FF0000; font: 400 42px/1.1 'Anton', sans-serif; letter-spacing: .04em; text-transform: uppercase; opacity: 0; transform-origin: 50% 55%;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='240' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='240' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-size: 240px 120px; -webkit-mask-size: 240px 120px; }
/* Emoji as punctuation: inline at the text's size, popping in from its baseline */
.wr-report .rp-punct { display: inline-block; margin-left: .2em; font-style: normal; transform-origin: 0 80%; } /* grows to the right, never over the last letter */
