/* Tacksheet sheet kit 1.8.0 - built-in style Keynote (keynote), on the none kit theme.
   Link it after the kit stylesheet with body data-tk-theme="none" data-tk-style="keynote".
   Fonts: /kit/1.8.0/fonts/LICENSES-styles.txt. */
/* Keynote, round 3: an Apple keynote and product page. Vast white space, an enormous tight-tracked centred
   headline whose last line takes the scheme's gradient, a soft colour bloom behind it, full-bleed black
   chapters, gigantic numerals that rise into place, tiles that scale in, charts that wipe in, a product
   shot that tilts up as you scroll, and type that fills with ink as you read. Base: none.
   Knobs (body, or any tk-hero / tk-section to scope them):
     data-keynote-scheme   ocean (default) | sunset | meadow | graphite | spectrum | mono
     data-keynote-hero     glow (default) | stage | rings | plain        (body or tk-hero)
     data-keynote-chapters alternate (default) | dark | light            (body)
     data-keynote-ground   dark | light                                  (one tk-section)
     data-keynote-motion   on (default) | off                            (body)
   On Apple devices the SF system faces are used; elsewhere Inter Tight and Inter stand in. */
@font-face{font-family:"Inter Tight";src:url(/kit/1.8.0/fonts/inter-tight-400-900.woff2) format("woff2");font-weight:400 900;font-display:swap}
@font-face{font-family:"Inter";src:url(/kit/1.8.0/fonts/inter-400-700.woff2) format("woff2");font-weight:400 700;font-display:swap}

body[data-tk-theme]{
  --display:"SF Pro Display",-apple-system,BlinkMacSystemFont,"Inter Tight","Helvetica Neue",Arial,sans-serif;
  --text:"SF Pro Text",-apple-system,BlinkMacSystemFont,"Inter","Helvetica Neue",Arial,sans-serif;
  --tk-bg:#ffffff;--tk-bg-soft:#f5f5f7;--tk-fg:#1d1d1f;--tk-muted:#6e6e73;
  --tk-accent:#0066cc;--tk-accent-2:#0071e3;--tk-accent-ink:#ffffff;--tk-accent-2-text:#0066cc;
  --tk-card:#f5f5f7;--tk-border:#d2d2d7;--tk-rule:#d2d2d7;--tk-mark:rgba(0,113,227,.06);
  --tk-field:#ffffff;--tk-control:#d2d2d7;--tk-positive:#248a3d;--tk-negative:#d70015;
  --tk-note:#6e6e73;--tk-tip:#248a3d;--tk-warning:#b64400;--tk-decision:#0066cc;--tk-risk:#d70015;
  --tk-font-head:var(--display);--tk-font-body:var(--text);--tk-font-mono:"SF Mono",ui-monospace,Menlo,Consolas,monospace;
  --tk-font-data:var(--text);--tk-font-hand:var(--text);
  --tk-head-weight:700;--tk-head-tracking:-.025em;--tk-head-leading:1.07;
  --tk-size-body:1.0625rem;--tk-size-h1:clamp(3rem,1.2rem + 6.4vw,7.5rem);--tk-size-h2:clamp(2.3rem,1.6rem + 2.6vw,3.8rem);--tk-size-h3:1.3rem;
  --tk-radius:18px;--tk-chart-radius:6;--tk-grid:rgba(0,0,0,.07);--tk-shadow:none;--tk-lift:0 30px 60px -24px rgba(0,0,0,.28);
  --tk-code-bg:#f5f5f7;--tk-code-fg:#1d1d1f;--tk-tok-k:#ad3da4;--tk-tok-s:#c41a16;--tk-tok-c:#6e6e73;--tk-tok-n:#1c00cf;--tk-tok-f:#3e6d74;
  --tk-c2:#a1a1a6;--tk-c3:#1d1d1f;--tk-c4:#5ac8fa;--tk-c5:#bf5af2;--tk-c6:#ff9500;--tk-c7:#34c759;--tk-c8:#d2d2d7;
  --tk-film:multiply;--tk-paper-obj:#ffffff;--tk-kraft:#f5f5f7;
  --tk-ink-cobalt:#0071e3;--tk-ink-vermilion:#ff375f;--tk-ink-plum:#bf5af2;--tk-ink-sunflower:#ffcc00;--tk-ink-cornflower:#5ac8fa;
  --tk-3d-sky:#f5f5f7;--tk-3d-horizon:#ffffff;--tk-3d-ground:#f5f5f7;--tk-3d-grid:rgba(0,0,0,.08);--tk-3d-terrain:#d2d2d7,#a1a1a6,#6e6e73,#1d1d1f;--tk-3d-key:#ffffff;
  --tk-page-width:61.25rem;--tk-measure:42rem;
  --ease:cubic-bezier(.2,.7,.1,1);
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 -.1'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background:#fff;color:#1d1d1f;letter-spacing:-.011em;font-feature-settings:"cv11","ss03";overflow-x:clip}

/* ===== Schemes: a gradient for light ground, one for dark ground, a solid ink and three bloom colours ===== */
body[data-tk-theme],body[data-tk-theme][data-keynote-scheme="ocean"],body[data-tk-theme] [data-keynote-scheme="ocean"]:where(:not(tk-screen *, tk-note *)){
  --kn-light:linear-gradient(100deg,#0040dd 0%,#0071e3 45%,#00788f 100%);--kn-dark:linear-gradient(100deg,#2997ff 0%,#40c8ff 50%,#5ee6d6 100%);
  --kn-solid:#0060df;--kn-solid-dark:#40c8ff;--kn-b1:#7cc4ff;--kn-b2:#5ee6d6;--kn-b3:#a9b8ff;--tk-c1:#0071e3;--tk-c4:#5ac8fa;
  --tk-ramp:#f5f5f7,#cfe3fa,#8dbff2,#3a8ee8,#0058b0}
body[data-tk-theme][data-keynote-scheme="sunset"],body[data-tk-theme] [data-keynote-scheme="sunset"]:where(:not(tk-screen *, tk-note *)){
  --kn-light:linear-gradient(100deg,#c42d00 0%,#d9134f 55%,#a3127a 100%);--kn-dark:linear-gradient(100deg,#ffb340 0%,#ff6a3d 50%,#ff4f7b 100%);
  --kn-solid:#c4361a;--kn-solid-dark:#ff8a5c;--kn-b1:#ffb38a;--kn-b2:#ff7aa0;--kn-b3:#ffd27a;--tk-c1:#e0452b;--tk-c4:#ff9f0a;
  --tk-ramp:#fff3ec,#ffd2bd,#ff9f7a,#ef5f3c,#b5301a}
body[data-tk-theme][data-keynote-scheme="meadow"],body[data-tk-theme] [data-keynote-scheme="meadow"]:where(:not(tk-screen *, tk-note *)){
  --kn-light:linear-gradient(100deg,#167a36 0%,#0a7a68 50%,#006f8a 100%);--kn-dark:linear-gradient(100deg,#7cf07f 0%,#30d5a8 50%,#3cc8e8 100%);
  --kn-solid:#167a36;--kn-solid-dark:#5ff08a;--kn-b1:#a6f0a0;--kn-b2:#7ae3cf;--kn-b3:#d8f59a;--tk-c1:#1f9a48;--tk-c4:#30b8a0;
  --tk-ramp:#eefaf0,#c4ecd0,#83d3a0,#3aa865,#167a36}
body[data-tk-theme][data-keynote-scheme="graphite"],body[data-tk-theme] [data-keynote-scheme="graphite"]:where(:not(tk-screen *, tk-note *)){
  --kn-light:linear-gradient(100deg,#1d1d1f 0%,#4a4a50 55%,#77777d 100%);--kn-dark:linear-gradient(100deg,#ffffff 0%,#c7c7cc 55%,#8e8e93 100%);
  --kn-solid:#1d1d1f;--kn-solid-dark:#f5f5f7;--kn-b1:#d9dbe0;--kn-b2:#bfc3cb;--kn-b3:#eceef2;--tk-c1:#3a3a3c;--tk-c4:#8e8e93;
  --tk-ramp:#f5f5f7,#d2d2d7,#a1a1a6,#6e6e73,#1d1d1f}
body[data-tk-theme][data-keynote-scheme="spectrum"],body[data-tk-theme] [data-keynote-scheme="spectrum"]:where(:not(tk-screen *, tk-note *)){
  --kn-light:linear-gradient(100deg,#0071e3 0%,#7d4cdb 40%,#d63c74 75%,#c2541a 100%);--kn-dark:linear-gradient(100deg,#2997ff 0%,#a77bff 40%,#ff6b9a 75%,#ff9f45 100%);
  --kn-solid:#6a3fcf;--kn-solid-dark:#c4a6ff;--kn-b1:#9ec8ff;--kn-b2:#d7b4ff;--kn-b3:#ffc2a0;--tk-c1:#0071e3;--tk-c4:#bf5af2;
  --tk-ramp:#f5f5f7,#d9d0fa,#a998f0,#7d4cdb,#4a2a9c}
body[data-tk-theme][data-keynote-scheme="mono"],body[data-tk-theme] [data-keynote-scheme="mono"]:where(:not(tk-screen *, tk-note *)){
  --kn-light:linear-gradient(#1d1d1f,#1d1d1f);--kn-dark:linear-gradient(#f5f5f7,#f5f5f7);
  --kn-solid:#1d1d1f;--kn-solid-dark:#f5f5f7;--kn-b1:#e8e8ed;--kn-b2:#dcdce2;--kn-b3:#f0f0f4;--tk-c1:#1d1d1f;--tk-c4:#86868b}
body[data-tk-theme] :is(tk-hero,tk-section,tk-torn):where(:not(tk-screen *, tk-note *)){--kn-grad:var(--kn-light);--kn-ink:var(--kn-solid)}

/* ===== Dark grounds: even chapters (default), every chapter (chapters=dark), a chosen section, a stage hero ===== */
body[data-tk-theme]:is(:not([data-keynote-chapters]),[data-keynote-chapters="alternate"]) tk-section:nth-of-type(even):not([data-keynote-ground="light"]):where(:not(tk-screen *, tk-note *)),
body[data-tk-theme][data-keynote-chapters="dark"] :is(tk-section,tk-hero,tk-torn):not([data-keynote-ground="light"]):where(:not(tk-screen *, tk-note *)),
body[data-tk-theme] tk-section[data-keynote-ground="dark"]:where(:not(tk-screen *, tk-note *)),
body[data-tk-theme]:is([data-keynote-hero="stage"]) tk-hero:not([data-keynote-hero]):where(:not(tk-screen *, tk-note *)),body[data-tk-theme] tk-hero[data-keynote-hero="stage"]:where(:not(tk-screen *, tk-note *)){
  --tk-bg:#000;--tk-bg-soft:#1d1d1f;--tk-fg:#f5f5f7;--tk-muted:#a1a1a6;--tk-accent:#2997ff;--tk-accent-2:#2997ff;--tk-accent-ink:#000;--tk-accent-2-text:#2997ff;
  --tk-card:#1d1d1f;--tk-border:#424245;--tk-rule:#424245;--tk-field:#1d1d1f;--tk-control:#48484a;--tk-mark:rgba(41,151,255,.12);
  --tk-positive:#30d158;--tk-negative:#ff6961;--tk-note:#a1a1a6;--tk-tip:#30d158;--tk-warning:#ff9f0a;--tk-decision:#2997ff;--tk-risk:#ff6961;
  --tk-code-bg:#1d1d1f;--tk-code-fg:#f5f5f7;--tk-tok-k:#ff7ab2;--tk-tok-s:#ff8170;--tk-tok-c:#8e8e93;--tk-tok-n:#d9c97c;--tk-tok-f:#6bdfff;
  --kn-grad:var(--kn-dark);--kn-ink:var(--kn-solid-dark);--kn-ground:#000;
  background:#000;color:#f5f5f7;box-shadow:0 0 0 100vmax #000;clip-path:inset(0 -100vmax)}
body[data-tk-theme][data-keynote-chapters="dark"]{background:#000}
body[data-tk-theme] :where(:not(tk-screen *, tk-note *))::selection{background:rgba(0,113,227,.2)}
body[data-tk-theme] :focus-visible:where(:not(tk-screen *, tk-note *)){outline:3px solid rgba(0,113,227,.6);outline-offset:2px;border-radius:8px}
body[data-tk-theme] a:where(:not(tk-screen *, tk-note *)){color:var(--tk-accent);text-decoration:none}
body[data-tk-theme] a:hover:where(:not(tk-screen *, tk-note *)){text-decoration:underline;text-decoration-color:currentColor;text-underline-offset:.15em}
body[data-tk-theme] strong:where(:not(tk-screen *, tk-note *)){font-weight:600}
body[data-tk-theme] h3:where(:not(tk-screen *, tk-note *)){font-family:var(--display);font-weight:600;letter-spacing:-.02em;font-size:var(--tk-size-h3);line-height:1.2}

/* Progress: a frosted local-nav strip with a single line in the scheme ink. */
body[data-tk-theme] tk-progress:where(:not(tk-screen *, tk-note *)){height:4px;background:rgba(255,255,255,.72);-webkit-backdrop-filter:saturate(1.8) blur(20px);backdrop-filter:saturate(1.8) blur(20px);box-shadow:0 1px 0 rgba(0,0,0,.06)}
body[data-tk-theme] tk-progress i:where(:not(tk-screen *, tk-note *)){background:var(--kn-light);height:2px;margin-top:1px;border-radius:2px}

/* ===== Hero: an enormous centred headline, its last line in the scheme gradient, over a colour bloom ===== */
body[data-tk-theme] tk-page:where(:not(tk-screen *, tk-note *)){padding-bottom:0}
body[data-tk-theme] tk-hero:where(:not(tk-screen *, tk-note *)){position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;text-align:center;border:0;
  padding:clamp(4.5rem,12vw,10rem) 0 clamp(4rem,9vw,8rem);margin:0}
body[data-tk-theme] tk-hero:where(:not(tk-screen *, tk-note *))::after{content:none}
body[data-tk-theme] tk-hero tk-tape-title:where(:not(tk-screen *, tk-note *)){--tilt:0deg;margin:0 0 clamp(1.4rem,2.6vw,2.2rem);max-width:100%}
body[data-tk-theme] :is(tk-tape-title>:is(h1,h2,h3),tk-tape-title .tk-tape-line):where(:not(tk-screen *, tk-note *))::before{content:none!important}
body[data-tk-theme] tk-tape-title>:is(h1,h2,h3):where(:not(tk-screen *, tk-note *)){display:block;padding:0;margin-inline:auto;color:var(--tk-fg)!important}
body[data-tk-theme] tk-tape-title .tk-tape-line:where(:not(tk-screen *, tk-note *)){display:inline;position:static;padding:0;margin:0;max-width:none}
body[data-tk-theme] tk-tape-title .tk-tape-ink:where(:not(tk-screen *, tk-note *)){display:inline;position:static;transform:none}
/* The gradient line. Clipped text gets room on every side so tight tracking, descenders and the final glyph
   never lose ink: padding grows the painted box, the negative margin gives the space back to the layout. */
body[data-tk-theme] tk-tape-title .tk-tape-line:last-child .tk-tape-ink:where(:not(tk-screen *, tk-note *)),body[data-tk-theme] tk-tape-title>:is(h1,h2):not([data-tk-lines]):where(:not(tk-screen *, tk-note *)){
  background:var(--kn-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
  -webkit-box-decoration-break:clone;box-decoration-break:clone;padding:.04em .16em .2em .06em;margin:-.04em -.16em -.2em -.06em}
body[data-tk-theme] tk-hero tk-tape-title>h1:where(:not(tk-screen *, tk-note *)),body[data-tk-theme] tk-hero>h1:where(:not(tk-screen *, tk-note *)){font-family:var(--display);font-size:var(--tk-size-h1);font-weight:700;letter-spacing:-.05em;line-height:1.04;max-width:12ch;text-wrap:balance;overflow:visible}
body[data-tk-theme] tk-hero tk-tape-title>h1:where(:not(tk-screen *, tk-note *))::after,body[data-tk-theme] tk-hero>h1:where(:not(tk-screen *, tk-note *))::after{content:".";-webkit-text-fill-color:var(--kn-ink);color:var(--kn-ink);padding-right:.05em}
body[data-tk-theme] tk-hero p.tk-dek:where(:not(tk-screen *, tk-note *)){margin:0 auto;max-width:26em;font-family:var(--display);font-weight:600;font-size:clamp(1.25rem,1rem + 1vw,1.85rem);line-height:1.22;letter-spacing:-.022em;color:var(--tk-fg)}
body[data-tk-theme] tk-hero .tk-byline:where(:not(tk-screen *, tk-note *)){justify-content:center;margin-top:1.6rem;font:400 .82rem/1.4 var(--text);letter-spacing:-.005em;color:var(--tk-muted)}
body[data-tk-theme] tk-hero .tk-byline:where(:not(tk-screen *, tk-note *))::before{content:none}
/* The stamp: no eyebrow. A seal badge after the byline, in the scheme ink. */
body[data-tk-theme] tk-hero>tk-stamp:where(:not(tk-screen *, tk-note *)){margin:1.1rem 0 0}
body[data-tk-theme] tk-stamp .tk-stamp-face:where(:not(tk-screen *, tk-note *)){flex-direction:row;align-items:center;gap:.45rem;transform:none;-webkit-mask:none;mask:none;mix-blend-mode:normal;opacity:1;border:0;
  padding:.42rem .95rem .42rem .5rem;border-radius:999px;background:var(--tk-bg-soft);box-shadow:inset 0 0 0 1px var(--tk-border);
  font:600 .86rem/1.2 var(--text);letter-spacing:-.01em;text-transform:none;color:var(--tk-fg);animation:none}
body[data-tk-theme] tk-stamp .tk-stamp-face:where(:not(tk-screen *, tk-note *))::before{content:"\2713";display:grid;place-items:center;width:1.35rem;height:1.35rem;flex:none;color:#fff;font:700 .72rem/1 var(--text);
  background:var(--kn-ink);
  clip-path:polygon(50% 0,61% 9%,75% 6%,80% 20%,94% 25%,91% 39%,100% 50%,91% 61%,94% 75%,80% 80%,75% 94%,61% 91%,50% 100%,39% 91%,25% 94%,20% 80%,6% 75%,9% 61%,0 50%,9% 39%,6% 25%,20% 20%,25% 6%,39% 9%)}
body[data-tk-theme] tk-stamp[data-kind="draft"] .tk-stamp-face:where(:not(tk-screen *, tk-note *))::before{content:"\270E";background:#86868b}
body[data-tk-theme] tk-stamp[data-kind="rejected"] .tk-stamp-face:where(:not(tk-screen *, tk-note *))::before{content:"\2715";background:#d70015}
body[data-tk-theme] tk-stamp .tk-stamp-date:where(:not(tk-screen *, tk-note *)){font:400 .86rem/1.2 var(--text);letter-spacing:-.01em;color:var(--tk-muted)}
body[data-tk-theme] tk-stamp .tk-stamp-date:where(:not(tk-screen *, tk-note *))::before{content:"\00B7";margin-right:.45rem}

/* Hero backgrounds. */
body[data-tk-theme] tk-hero:where(:not(tk-screen *, tk-note *))::before{content:"";position:absolute;z-index:-1;inset:0 calc(50% - 50vw);pointer-events:none}
/* glow: a silk ribbon of light, not a bloom of balls. One wide band sweeps in from off-frame low left, dips under the
   byline and rises off the top right; a fainter second band fans out beneath it at a shallower angle. The colour comes
   from the scheme (--kn-b1..b3 along the length) and the shape from two blurred SVG masks: ::before is the soft body,
   ::after the folded edge, a narrow, sharper line of deeper scheme ink along the ribbon's leading edge. Grain sits only
   on the light. data-keynote-flow=fall mirrors the sweep (it rises off the top left). */
body[data-tk-theme] tk-hero:where(:not(tk-screen *, tk-note *)){--kn-flow-a:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3Cfilter id='a' x='-30%' y='-60%' width='160%' height='220%'%3E%3CfeGaussianBlur stdDeviation='52'/%3E%3C/filter%3E%3Cfilter id='b' x='-30%' y='-60%' width='160%' height='220%'%3E%3CfeGaussianBlur stdDeviation='24'/%3E%3C/filter%3E%3Cfilter id='c' x='-30%' y='-60%' width='160%' height='220%'%3E%3CfeGaussianBlur stdDeviation='70'/%3E%3C/filter%3E%3C/defs%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M-250 930 C 300 990, 820 960, 1180 790 S 1620 530, 1900 440' stroke-width='230' stroke-opacity='.45' filter='url(%23c)'/%3E%3Cpath d='M-250 760 C 150 900, 650 930, 1000 700 S 1500 150, 1850 -150' stroke-width='240' stroke-opacity='.8' filter='url(%23a)'/%3E%3Cpath d='M-250 760 C 150 900, 650 930, 1000 700 S 1500 150, 1850 -150' transform='translate(0 -55)' stroke-width='100' stroke-opacity='.75' filter='url(%23b)'/%3E%3C/g%3E%3C/svg%3E");
  --kn-flow-b:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3Cfilter id='d' x='-30%' y='-60%' width='160%' height='220%'%3E%3CfeGaussianBlur stdDeviation='7'/%3E%3C/filter%3E%3Cfilter id='e' x='-30%' y='-60%' width='160%' height='220%'%3E%3CfeGaussianBlur stdDeviation='3'/%3E%3C/filter%3E%3Cfilter id='f' x='-30%' y='-60%' width='160%' height='220%'%3E%3CfeGaussianBlur stdDeviation='9'/%3E%3C/filter%3E%3C/defs%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M-250 760 C 150 900, 650 930, 1000 700 S 1500 150, 1850 -150' transform='translate(0 -98)' stroke-width='30' stroke-opacity='.85' filter='url(%23d)'/%3E%3Cpath d='M-250 760 C 150 900, 650 930, 1000 700 S 1500 150, 1850 -150' transform='translate(0 -40)' stroke-width='9' stroke-opacity='.45' filter='url(%23e)'/%3E%3Cpath d='M-250 930 C 300 990, 820 960, 1180 790 S 1620 530, 1900 440' transform='translate(0 -120)' stroke-width='14' stroke-opacity='.35' filter='url(%23f)'/%3E%3C/g%3E%3C/svg%3E")}
body[data-tk-theme]:not([data-keynote-hero]) tk-hero:not([data-keynote-hero]):where(:not(tk-screen *, tk-note *))::before,body[data-tk-theme][data-keynote-hero="glow"] tk-hero:not([data-keynote-hero]):where(:not(tk-screen *, tk-note *))::before,body[data-tk-theme] tk-hero[data-keynote-hero="glow"]:where(:not(tk-screen *, tk-note *))::before{top:-3rem;
  background:var(--grain) 0 0/160px 160px,linear-gradient(100deg,var(--kn-b1) 8%,var(--kn-b2) 48%,var(--kn-b3) 92%);
  -webkit-mask:var(--kn-flow-a) 50% 50%/cover no-repeat,linear-gradient(#000 62%,transparent 98%);-webkit-mask-composite:source-in;mask:var(--kn-flow-a) 50% 50%/cover no-repeat intersect,linear-gradient(#000 62%,transparent 98%);opacity:var(--kn-flow-o,.85)}
body[data-tk-theme]:not([data-keynote-hero]) tk-hero:not([data-keynote-hero]):where(:not(tk-screen *, tk-note *))::after,body[data-tk-theme][data-keynote-hero="glow"] tk-hero:not([data-keynote-hero]):where(:not(tk-screen *, tk-note *))::after,body[data-tk-theme] tk-hero[data-keynote-hero="glow"]:where(:not(tk-screen *, tk-note *))::after{content:"";position:absolute;z-index:-1;inset:-3rem calc(50% - 50vw) 0;pointer-events:none;
  background:var(--grain) 0 0/160px 160px,linear-gradient(100deg,color-mix(in oklab,var(--kn-ink) 40%,var(--kn-b1)) 10%,color-mix(in oklab,var(--kn-ink) 30%,var(--kn-b2)) 55%,color-mix(in oklab,var(--kn-ink) 30%,var(--kn-b3)));
  -webkit-mask:var(--kn-flow-b) 50% 50%/cover no-repeat,linear-gradient(#000 62%,transparent 98%);-webkit-mask-composite:source-in;mask:var(--kn-flow-b) 50% 50%/cover no-repeat intersect,linear-gradient(#000 62%,transparent 98%);opacity:var(--kn-flow-o2,.6)}
/* On a black hero the ribbon is light in the dark: thinner, so the gradient line keeps its contrast. */
body[data-tk-theme][data-keynote-chapters="dark"] tk-hero:not([data-keynote-ground="light"]):where(:not(tk-screen *, tk-note *)){--kn-flow-o:.42;--kn-flow-o2:.55}
body[data-tk-theme][data-keynote-flow="fall"] tk-hero:where(:not(tk-screen *, tk-note *))::before,body[data-tk-theme][data-keynote-flow="fall"] tk-hero:where(:not(tk-screen *, tk-note *))::after,
body[data-tk-theme] tk-hero[data-keynote-flow="fall"]:where(:not(tk-screen *, tk-note *))::before,body[data-tk-theme] tk-hero[data-keynote-flow="fall"]:where(:not(tk-screen *, tk-note *))::after{transform:scaleX(-1)}
@media(max-width:640px){body[data-tk-theme] tk-hero:where(:not(tk-screen *, tk-note *))::before,body[data-tk-theme] tk-hero:where(:not(tk-screen *, tk-note *))::after{-webkit-mask-position:80% 50%,0 0;mask-position:80% 50%,0 0}}
/* stage: a black stage under a soft top light, the bloom pooled on the floor. */
body[data-tk-theme][data-keynote-hero="stage"] tk-hero:not([data-keynote-hero]):where(:not(tk-screen *, tk-note *))::before,body[data-tk-theme] tk-hero[data-keynote-hero="stage"]:where(:not(tk-screen *, tk-note *))::before{
  background:radial-gradient(28% 60% at 50% -8%,rgba(255,255,255,.2),transparent 70%),
    radial-gradient(50% 22% at 50% 102%,color-mix(in srgb,var(--kn-b1) 55%,transparent),transparent 72%),
    radial-gradient(30% 16% at 30% 100%,color-mix(in srgb,var(--kn-b2) 45%,transparent),transparent 70%),#000;opacity:1}
/* rings: three concentric rings in the scheme gradient, the copy inside them. */
body[data-tk-theme][data-keynote-hero="rings"] tk-hero:not([data-keynote-hero]):where(:not(tk-screen *, tk-note *))::before,body[data-tk-theme] tk-hero[data-keynote-hero="rings"]:where(:not(tk-screen *, tk-note *))::before{
  inset:50% auto auto 50%;width:min(76rem,150vw);aspect-ratio:1;translate:-50% -50%;border-radius:50%;
  background:conic-gradient(from 200deg,var(--kn-b1),var(--kn-b2),var(--kn-b3),var(--kn-b1));
  -webkit-mask:radial-gradient(closest-side,transparent 66%,#000 66.4% 68.4%,transparent 68.8% 71%,#000 71.4% 73.4%,transparent 73.8% 76%,#000 76.4% 78.4%,transparent 78.8%);
  mask:radial-gradient(closest-side,transparent 66%,#000 66.4% 68.4%,transparent 68.8% 71%,#000 71.4% 73.4%,transparent 73.8% 76%,#000 76.4% 78.4%,transparent 78.8%)}
body[data-tk-theme][data-keynote-hero="rings"] tk-hero:not([data-keynote-hero]):where(:not(tk-screen *, tk-note *)),body[data-tk-theme] tk-hero[data-keynote-hero="rings"]:where(:not(tk-screen *, tk-note *)){overflow-x:visible;overflow-y:clip;padding-block:clamp(7rem,16vw,13rem)}
body[data-tk-theme][data-keynote-hero="plain"] tk-hero:not([data-keynote-hero]):where(:not(tk-screen *, tk-note *))::before,body[data-tk-theme] tk-hero[data-keynote-hero="plain"]:where(:not(tk-screen *, tk-note *))::before{content:none}

/* ===== Chapters: white and full-bleed black, headlines that end in a full stop ===== */
body[data-tk-theme] tk-section:where(:not(tk-screen *, tk-note *)){margin:0;padding:clamp(4.5rem,10vw,8.5rem) 0;position:relative}
body[data-tk-theme] tk-hero+tk-section:where(:not(tk-screen *, tk-note *)){padding-top:clamp(2rem,4vw,3rem)}
body[data-tk-theme] tk-section>h2:where(:not(tk-screen *, tk-note *)){border:0;padding:0;margin:0 0 clamp(1.8rem,4vw,3rem);font-family:var(--display);font-size:var(--tk-size-h2);font-weight:700;
  letter-spacing:-.04em;line-height:1.05;position:relative;color:var(--tk-fg);max-width:16ch;text-wrap:balance}
body[data-tk-theme] tk-section>h2:where(:not(tk-screen *, tk-note *))::before{content:none}
/* Section headlines end in a short bar of the scheme, not a full stop (a dot after "?" or "!" reads as a typo). */
body[data-tk-theme] tk-section>h2:where(:not(tk-screen *, tk-note *))::after{content:"";display:block;width:2.6rem;height:4px;border-radius:2px;margin-top:.4em;background:var(--kn-grad)}
body[data-tk-theme] tk-torn:not(:empty)+tk-section>h2:where(:not(tk-screen *, tk-note *))::after{margin-inline:auto}
body[data-tk-theme] tk-section>h2 .tk-anchor:where(:not(tk-screen *, tk-note *)){position:absolute;right:100%;top:.45em;margin:0 .5rem 0 0;font-family:var(--text);font-size:.4em}
body[data-tk-theme] :is(tk-section,tk-split>div)>p:where(:not(tk-screen *, tk-note *)){font-size:1.1875rem;line-height:1.55;letter-spacing:-.014em;color:var(--tk-fg)}
/* The lede: the first paragraph, large and grey, with the key phrase in full ink. */
/* Only the paragraph right after the headline is the lede; a paragraph later in the section stays body text. */
body[data-tk-theme] :is(tk-section>h2+p,tk-section>h2+tk-stamp+p,tk-split>div>p:first-child,tk-split>div>h3:first-child+p):where(:not(tk-screen *, tk-note *)){font-family:var(--display);font-weight:600;font-size:clamp(1.2rem,1.05rem + .45vw,1.45rem);line-height:1.38;letter-spacing:-.022em;color:var(--tk-muted)}
body[data-tk-theme] :is(tk-section>h2+p,tk-section>h2+tk-stamp+p,tk-split>div>p:first-child,tk-split>div>h3:first-child+p) :is(a,tk-mark,strong):where(:not(tk-screen *, tk-note *)){font-weight:600}
body[data-tk-theme] tk-split>div>p:where(:not(tk-screen *, tk-note *)){font-size:1.15rem}
/* Lists read at the paragraph size. */
body[data-tk-theme] :is(tk-section,tk-split>div)>:is(ul,ol):where(:not(tk-screen *, tk-note *)){font-size:1.1875rem;line-height:1.55;letter-spacing:-.014em}
body[data-tk-theme] :is(tk-section,tk-split>div)>:is(ul,ol)>li:where(:not(tk-screen *, tk-note *))::marker{color:var(--kn-ink)}
body[data-tk-theme] hr:where(:not(tk-screen *, tk-note *)){border-top:1px solid var(--tk-border)}

/* Marks: the key phrase in full ink against grey copy, or in the scheme gradient. */
body[data-tk-theme] tk-mark:is(:not([kind]),[kind="highlight"]):where(:not(tk-screen *, tk-note *)){background:none;padding:0;margin:0;color:var(--tk-fg)}
body[data-tk-theme] tk-mark[kind="underline"]:where(:not(tk-screen *, tk-note *)){text-decoration:none;background:var(--kn-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
  -webkit-box-decoration-break:clone;box-decoration-break:clone;padding:0 .08em .12em 0;margin:0 -.08em -.12em 0}
body[data-tk-theme] tk-mark[kind="circle"]:where(:not(tk-screen *, tk-note *))::after{border:2px solid var(--kn-ink);border-radius:999px;-webkit-mask:none;mask:none;transform:none}
body[data-tk-theme] code:not(pre code):where(:not(tk-screen *, tk-note *)){background:var(--tk-bg-soft);border-radius:6px;padding:.1em .35em;font-size:.85em}
body[data-tk-theme] tk-kbd:where(:not(tk-screen *, tk-note *)){display:inline-block;min-width:1.7em;text-align:center;border:0;border-radius:7px;background:linear-gradient(#fff,#f2f2f5);color:#1d1d1f;
  box-shadow:0 0 0 1px #d2d2d7,0 2px 0 #c7c7cc;font:500 .82em/1.6 var(--text);padding:0 .45em;vertical-align:.08em}

/* ===== Gigantic numerals with small captions ===== */
body[data-tk-theme] tk-stats:where(:not(tk-screen *, tk-note *)){align-items:end;clear:both;border:0;margin:clamp(3rem,7vw,5.5rem) 0 0;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(2.5rem,6vw,4.5rem) clamp(1rem,4vw,3rem)}
body[data-tk-theme] :is(tk-stat,tk-stats>tk-stat:first-child,tk-stats>tk-stat:nth-child(odd)):where(:not(tk-screen *, tk-note *)){border:0;padding:0;text-align:left;overflow:visible}
body[data-tk-theme] tk-stat .tk-value:where(:not(tk-screen *, tk-note *)){font-family:var(--display);font-weight:700;letter-spacing:-.055em;line-height:1;font-size:max(2.6rem,min(6.5rem,24cqi));color:var(--tk-fg);margin:0 0 .55rem;
  padding:0 .1em .06em 0;font-feature-settings:"tnum" 0}
body[data-tk-theme] tk-stats>tk-stat:first-child .tk-value:where(:not(tk-screen *, tk-note *)){background:var(--kn-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
  padding:0 .14em .14em 0;margin-right:-.14em;margin-bottom:.41rem;width:fit-content}
body[data-tk-theme] tk-stat .tk-label:where(:not(tk-screen *, tk-note *)){font-family:var(--display);font-weight:600;font-size:clamp(1rem,.9rem + .4vw,1.3rem);letter-spacing:-.015em;color:var(--tk-fg)}
body[data-tk-theme] tk-stat .tk-delta:where(:not(tk-screen *, tk-note *)){font:400 .82rem/1.4 var(--text);margin-top:.35rem;color:var(--tk-muted)!important}
body[data-tk-theme] tk-stat[data-trend] .tk-delta:where(:not(tk-screen *, tk-note *))::before{content:none}
/* a thin scheme bar under each figure, drawn as the figure rises */
body[data-tk-theme] tk-stat:where(:not(tk-screen *, tk-note *))::after{content:"";display:block;width:2.6rem;height:4px;border-radius:2px;margin-top:1rem;background:var(--kn-grad);transform-origin:0 50%}

/* ===== Tiles: soft 28px cards; charts stay on light tiles even in black chapters ===== */
body[data-tk-theme] tk-card:where(:not(tk-screen *, tk-note *)){background:var(--tk-card);border:0;border-radius:28px;padding:clamp(1.5rem,3vw,2.4rem);box-shadow:none;transition:transform .5s var(--ease),box-shadow .5s}
body[data-tk-theme] tk-card:hover:where(:not(tk-screen *, tk-note *)){transform:scale(1.012);box-shadow:0 24px 50px -30px rgba(0,0,0,.35)}
body[data-tk-theme] tk-card>h3:first-child:where(:not(tk-screen *, tk-note *)){font-size:clamp(1.2rem,1rem + .6vw,1.6rem);font-weight:700;letter-spacing:-.03em;margin-bottom:.2rem}
body[data-tk-theme] :is(tk-card:has(tk-chart),tk-section tk-chart:not(tk-card tk-chart)):where(:not(tk-screen *, tk-note *)){
  --tk-fg:#1d1d1f;--tk-muted:#6e6e73;--tk-card:#f5f5f7;--tk-border:#d2d2d7;--tk-accent:#0066cc;background:#f5f5f7;color:#1d1d1f}
body[data-tk-theme] tk-section tk-chart:not(tk-card tk-chart):where(:not(tk-screen *, tk-note *)){border-radius:28px;padding:clamp(1.25rem,3vw,2.2rem)}
body[data-tk-theme] tk-grid:where(:not(tk-screen *, tk-note *)){gap:clamp(.9rem,2vw,1.25rem)}
body[data-tk-theme] tk-chart .tk-sub:where(:not(tk-screen *, tk-note *)){font-size:.95rem;color:var(--tk-muted);margin-bottom:1rem}
body[data-tk-theme] tk-chart details.tk-fallback summary:where(:not(tk-screen *, tk-note *)){font:400 .9rem/1 var(--text);letter-spacing:-.01em;color:var(--tk-accent)}
body[data-tk-theme] tk-chart details.tk-fallback summary:where(:not(tk-screen *, tk-note *))::after{content:"\203A";font-size:1.2em;transform:none}
body[data-tk-theme] tk-chart details.tk-fallback[open] summary:where(:not(tk-screen *, tk-note *))::after{transform:rotate(90deg)}
body[data-tk-theme] tk-chart table th:where(:not(tk-screen *, tk-note *)){font-family:var(--text);font-weight:600}
/* In a dark chapter the chart tiles sit under a soft bloom of the scheme. */
body[data-tk-theme]:is(:not([data-keynote-chapters]),[data-keynote-chapters="alternate"]) tk-section:nth-of-type(even):not([data-keynote-ground="light"]):where(:not(tk-screen *, tk-note *)),body[data-tk-theme] tk-section[data-keynote-ground="dark"]:where(:not(tk-screen *, tk-note *)),body[data-tk-theme][data-keynote-chapters="dark"] tk-section:not([data-keynote-ground="light"]):where(:not(tk-screen *, tk-note *)){
  background:radial-gradient(60% 34rem at 50% 0,color-mix(in srgb,var(--kn-b1) 22%,transparent),transparent 70%),#000}
body[data-tk-theme] tk-torn+tk-section:where(:not(tk-screen *, tk-note *)){background-image:none!important}
body[data-tk-theme] tk-torn:has(+tk-section):where(:not(tk-screen *, tk-note *)){background-image:radial-gradient(60% 24rem at 50% 100%,color-mix(in srgb,var(--kn-b1) 20%,transparent),transparent 70%)}

/* Callouts: no label above the text. A wide tile led by a symbol in the kind colour; decisions speak up. */
body[data-tk-theme] tk-callout:where(:not(tk-screen *, tk-note *)){position:relative;background:var(--tk-card);border:0;border-radius:28px;box-shadow:none;padding:1.6rem 1.9rem 1.7rem 5rem;font-size:1.15rem;line-height:1.5;max-width:none}
body[data-tk-theme] tk-callout strong.tk-label:where(:not(tk-screen *, tk-note *)){position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;float:none;margin:0;padding:0;border:0}
body[data-tk-theme] tk-callout:where(:not(tk-screen *, tk-note *))::before{content:"i";position:absolute;left:1.7rem;top:1.55rem;display:grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:50%;
  background:var(--k);color:var(--tk-bg);font:700 1.15rem/1 var(--display)}
body[data-tk-theme] tk-callout[data-kind="decision"]:where(:not(tk-screen *, tk-note *))::before{content:"\2713";background:var(--kn-ink)}
body[data-tk-theme] tk-callout[data-kind="warning"]:where(:not(tk-screen *, tk-note *))::before{content:"!";border-radius:4px;clip-path:polygon(50% 4%,100% 96%,0 96%);padding-top:.35rem;width:2.3rem;height:2.1rem;background:var(--tk-warning)}
body[data-tk-theme] tk-callout[data-kind="risk"]:where(:not(tk-screen *, tk-note *))::before{content:"!"}
body[data-tk-theme] tk-callout[data-kind="tip"]:where(:not(tk-screen *, tk-note *))::before{content:"\2605";font-size:1rem}
body[data-tk-theme] tk-callout[data-kind="decision"]:where(:not(tk-screen *, tk-note *)){padding:clamp(1.8rem,4vw,2.8rem) clamp(1.6rem,4vw,3rem) clamp(1.8rem,4vw,2.8rem) clamp(5rem,9vw,6.5rem);
  font:500 clamp(1.15rem,1rem + .5vw,1.4rem)/1.42 var(--display);letter-spacing:-.016em;color:var(--tk-fg)}
body[data-tk-theme] tk-callout[data-kind="decision"]:where(:not(tk-screen *, tk-note *))::before{top:clamp(1.9rem,4vw,2.9rem);left:clamp(1.6rem,3.6vw,2.6rem);width:2.4rem;height:2.4rem}
body[data-tk-theme] tk-callout p:first-of-type strong:first-child:where(:not(tk-screen *, tk-note *)){color:var(--tk-fg)}
/* The one decision gets a tile washed in the scheme's bloom. */
body[data-tk-theme] tk-callout[data-kind="decision"]:where(:not(tk-screen *, tk-note *)){background:radial-gradient(60% 120% at 0% 0%,color-mix(in srgb,var(--kn-b1) 34%,transparent),transparent 70%),
  radial-gradient(50% 120% at 100% 100%,color-mix(in srgb,var(--kn-b2) 30%,transparent),transparent 70%),var(--tk-card)}

/* Table: Apple's compare table: hairlines, semibold header, no fills. */
body[data-tk-theme] tk-table:where(:not(tk-screen *, tk-note *)){margin:2.5rem 0}
body[data-tk-theme] tk-table th:where(:not(tk-screen *, tk-note *)),body[data-tk-theme] tk-table td:where(:not(tk-screen *, tk-note *)){border-bottom:1px solid var(--tk-border);padding:1rem .75rem}
body[data-tk-theme] tk-table thead th:where(:not(tk-screen *, tk-note *)){background:var(--tk-bg);font:600 .9rem/1.3 var(--display);letter-spacing:-.01em;color:var(--tk-fg);border-bottom:1px solid var(--tk-fg)}
body[data-tk-theme] tk-table td:where(:not(tk-screen *, tk-note *)){font-size:1.05rem}
body[data-tk-theme] tk-table td:first-child:where(:not(tk-screen *, tk-note *)){font-weight:600}
body[data-tk-theme] tk-table .tk-num:where(:not(tk-screen *, tk-note *)){font-family:var(--text);font-variant-numeric:tabular-nums}
body[data-tk-theme] tk-table tbody tr:hover:where(:not(tk-screen *, tk-note *)){background:var(--tk-mark)}
body[data-tk-theme] tk-table th button:where(:not(tk-screen *, tk-note *))::after{content:"\2304";opacity:.5;font-size:.8em}
body[data-tk-theme] tk-table th[aria-sort] button:where(:not(tk-screen *, tk-note *))::after{color:var(--tk-accent);opacity:1}
body[data-tk-theme] tk-table .tk-filter:where(:not(tk-screen *, tk-note *)){border-radius:12px;border:1px solid var(--tk-control)}

/* Code: a rounded tile, the language as a caption. */
body[data-tk-theme] tk-code pre:where(:not(tk-screen *, tk-note *)){background:var(--tk-card);color:var(--tk-fg);border-radius:22px;padding:3rem 1.6rem 1.6rem;font-size:.85rem;line-height:1.7}
body[data-tk-theme] tk-code:where(:not(tk-screen *, tk-note *))::before{top:1.2rem;left:1.6rem;opacity:1;color:var(--tk-muted);font:600 .8rem/1 var(--display);letter-spacing:-.01em;text-transform:capitalize}
body[data-tk-theme] tk-code .tk-copy:where(:not(tk-screen *, tk-note *)){top:.7rem;right:.8rem;min-height:36px;opacity:1;color:#fff;background:#0071e3;border-radius:999px;font:400 .82rem/1 var(--text);padding:0 1rem;letter-spacing:-.01em}
body[data-tk-theme] tk-code .tk-copy:hover:where(:not(tk-screen *, tk-note *)){background:#0077ed;text-decoration:none}

/* Details and accordions: FAQ rows with a plus in a circle. */
body[data-tk-theme] tk-details:where(:not(tk-screen *, tk-note *)){border:0;border-bottom:1px solid var(--tk-border);margin:0}
body[data-tk-theme] :not(tk-details)+tk-details:where(:not(tk-screen *, tk-note *)){border-top:1px solid var(--tk-border);margin-top:2.5rem}
body[data-tk-theme] :is(tk-details summary,tk-accordion button.tk-head):where(:not(tk-screen *, tk-note *)){font:600 clamp(1.05rem,1rem + .3vw,1.3rem)/1.3 var(--display);letter-spacing:-.02em;min-height:64px;padding:1rem 0}
body[data-tk-theme] :is(tk-details summary,tk-accordion button.tk-head):where(:not(tk-screen *, tk-note *))::after{content:"+";display:grid;place-items:center;flex:none;width:1.9rem;height:1.9rem;border-radius:50%;background:var(--tk-bg-soft);color:var(--tk-fg);
  font:400 1.25rem/1 var(--text);transition:transform .35s var(--ease)}
body[data-tk-theme] :is(tk-details details[open]>summary,tk-accordion button.tk-head[aria-expanded="true"]):where(:not(tk-screen *, tk-note *))::after{content:"+";transform:rotate(45deg)}
body[data-tk-theme] :is(tk-details details>:not(summary),tk-accordion .tk-panel>*):where(:not(tk-screen *, tk-note *)){font-size:.95rem;line-height:1.5;color:var(--tk-muted);max-width:42rem}
body[data-tk-theme] tk-details details>:not(summary):where(:not(tk-screen *, tk-note *)){margin:0 0 1.4rem}
body[data-tk-theme] tk-accordion:where(:not(tk-screen *, tk-note *)){border-color:var(--tk-border);margin-top:2.5rem}

/* Quote: grey pull-quote type, Apple's display weight. */
body[data-tk-theme] blockquote:where(:not(tk-screen *, tk-note *)){border:0;padding:0;margin:2.2rem 0 .8rem;font:600 clamp(1.5rem,1.1rem + 1.3vw,2.2rem)/1.2 var(--display);letter-spacing:-.03em;color:var(--tk-muted)}
body[data-tk-theme] blockquote:where(:not(tk-screen *, tk-note *))::first-line{color:var(--tk-fg)}
body[data-tk-theme] .tk-note:where(:not(tk-screen *, tk-note *)){font:400 .78rem/1.45 var(--text);color:var(--tk-muted);letter-spacing:0}

/* The image: product photography. A floating object on a pale stage with a long soft shadow. */
body[data-tk-theme] tk-taped:where(:not(tk-screen *, tk-note *)){padding:0;margin:0 auto 1rem;width:100%;max-width:100%;perspective:1400px}
body[data-tk-theme] tk-taped:where(:not(tk-screen *, tk-note *))::before,body[data-tk-theme] tk-taped:where(:not(tk-screen *, tk-note *))::after{content:none}
body[data-tk-theme] tk-taped>.tk-print:where(:not(tk-screen *, tk-note *)){--print-tilt:0deg;transform:none;background:radial-gradient(70% 60% at 50% 38%,color-mix(in srgb,var(--tk-fg) 7%,var(--tk-card)),var(--tk-card) 70%);border-radius:28px;padding:clamp(1.6rem,4vw,3rem) clamp(1.2rem,3.5vw,2.6rem) 1.2rem;box-shadow:none;text-align:center}
body[data-tk-theme] tk-taped>.tk-print:where(:not(tk-screen *, tk-note *))::after{content:none}
body[data-tk-theme] tk-taped img:where(:not(tk-screen *, tk-note *)){margin:0 auto;border-radius:16px;box-shadow:0 2px 4px rgba(0,0,0,.06),0 30px 50px -20px rgba(0,0,0,.4),0 60px 80px -50px rgba(0,0,0,.3);
  transform-origin:50% 100%;transition:transform .8s var(--ease),box-shadow .8s;filter:contrast(1.04)}
body[data-tk-theme] tk-taped:hover img:where(:not(tk-screen *, tk-note *)){translate:0 -6px}
body[data-tk-theme] tk-taped figcaption:where(:not(tk-screen *, tk-note *)){font:400 .82rem/1.4 var(--text);color:#6e6e73;padding:1.4rem 0 0;margin:0 auto;text-align:center}

/* The slip: an iOS notification banner. */
body[data-tk-theme] tk-slip:where(:not(tk-screen *, tk-note *)){padding-top:0}
body[data-tk-theme] tk-slip:where(:not(tk-screen *, tk-note *))::before{content:none}
body[data-tk-theme] tk-slip>.tk-slip-shadow:where(:not(tk-screen *, tk-note *)){filter:none}
body[data-tk-theme] tk-slip .tk-paper:where(:not(tk-screen *, tk-note *)){transform:none;-webkit-mask:none;mask:none;background:color-mix(in srgb,var(--tk-card) 90%,transparent);-webkit-backdrop-filter:blur(20px) saturate(1.8);backdrop-filter:blur(20px) saturate(1.8);
  border-radius:22px;padding:.95rem 1.1rem 1rem 3.7rem;font:400 .95rem/1.4 var(--text);letter-spacing:-.01em;color:var(--tk-fg);
  box-shadow:0 1px 1px rgba(0,0,0,.04),0 16px 40px -14px rgba(0,0,0,.28);display:flex;flex-direction:column-reverse}
body[data-tk-theme] tk-slip .tk-paper:where(:not(tk-screen *, tk-note *))::before{content:"";position:absolute;left:1rem;top:1rem;width:2.1rem;height:2.1rem;border-radius:.55rem;
  background:linear-gradient(180deg,#5ef17f,#28c840);box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}
body[data-tk-theme] tk-slip .tk-paper:where(:not(tk-screen *, tk-note *))::after{content:"";position:absolute;left:1.45rem;top:1.5rem;width:1.2rem;height:.95rem;border-radius:50%;background:#fff}
body[data-tk-theme] tk-slip .tk-paper :is(p,li):where(:not(tk-screen *, tk-note *)){color:var(--tk-fg)}
body[data-tk-theme] tk-slip .tk-paper strong:where(:not(tk-screen *, tk-note *)){color:var(--tk-fg);font-weight:600}
body[data-tk-theme] tk-slip .tk-paper a:where(:not(tk-screen *, tk-note *)){color:var(--tk-accent)}
body[data-tk-theme] tk-slip .tk-from:where(:not(tk-screen *, tk-note *)){text-align:left;font:600 .95rem/1.3 var(--text);color:var(--tk-fg);margin-bottom:.1rem}
body[data-tk-theme] tk-slip .tk-from:where(:not(tk-screen *, tk-note *))::after{content:"now";float:right;font-weight:400;font-size:.8rem;color:var(--tk-muted)}

/* Divider: a giant outlined word that fills with ink as it scrolls in; it takes the ground of the chapter it opens. */
body[data-tk-theme] tk-torn:where(:not(tk-screen *, tk-note *)){background:var(--tk-bg);-webkit-mask:none;mask:none;transform:none;margin:0;padding:clamp(5rem,12vw,9rem) 0 .18em;min-height:0;text-align:center;overflow:visible;
  font:800 clamp(4.5rem,2rem + 13vw,13rem)/.9 var(--display);letter-spacing:-.06em;color:var(--tk-fg);box-shadow:0 0 0 100vmax var(--tk-bg);clip-path:inset(0 -100vmax)}
body[data-tk-theme]:is(:not([data-keynote-chapters]),[data-keynote-chapters="alternate"]) tk-torn:has(+tk-section:nth-of-type(even):not([data-keynote-ground="light"])):where(:not(tk-screen *, tk-note *)),body[data-tk-theme] tk-torn:has(+tk-section[data-keynote-ground="dark"]):where(:not(tk-screen *, tk-note *)){
  --tk-bg:#000;--tk-fg:#f5f5f7;--kn-grad:var(--kn-dark)}
body[data-tk-theme] tk-torn:empty:where(:not(tk-screen *, tk-note *)){padding:clamp(3rem,6vw,5rem) 0 0;font-size:0}
body[data-tk-theme] tk-torn+tk-section:where(:not(tk-screen *, tk-note *)){padding-top:clamp(2rem,4vw,3.5rem)}
body[data-tk-theme] tk-torn+tk-section>h2:where(:not(tk-screen *, tk-note *)){margin-inline:auto;text-align:center}
/* An empty divider is only a breath of the next chapter's ground: no bloom band, and the headline stays left. */
body[data-tk-theme] tk-torn:empty:where(:not(tk-screen *, tk-note *)){background-image:none!important}
body[data-tk-theme] tk-torn:empty+tk-section>h2:where(:not(tk-screen *, tk-note *)){margin-inline:0;text-align:start}

/* ===== Controls: iOS parts ===== */
body[data-tk-theme] .tk-controls:where(:not(tk-screen *, tk-note *)){border:0;background:var(--tk-card);border-radius:28px;padding:1.6rem 1.8rem;gap:1.5rem 2.2rem}
body[data-tk-theme] .tk-field label:where(:not(tk-screen *, tk-note *)),body[data-tk-theme] tk-radio-group legend:where(:not(tk-screen *, tk-note *)){font:600 .95rem/1.3 var(--display);letter-spacing:-.01em;color:var(--tk-fg)}
body[data-tk-theme] .tk-field output:where(:not(tk-screen *, tk-note *)){font:600 .95rem/1.3 var(--display);color:var(--kn-ink)}
body[data-tk-theme] input[type="range"]:where(:not(tk-screen *, tk-note *))::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(90deg,var(--kn-ink) var(--tk-fill),var(--tk-control) var(--tk-fill))}
body[data-tk-theme] input[type="range"]:where(:not(tk-screen *, tk-note *))::-webkit-slider-thumb{width:28px;height:28px;margin-top:-12px;background:#fff;border:0;box-shadow:0 0 0 .5px rgba(0,0,0,.04),0 3px 8px rgba(0,0,0,.25),0 3px 1px rgba(0,0,0,.06)}
body[data-tk-theme] input[type="range"]:focus-visible:where(:not(tk-screen *, tk-note *))::-webkit-slider-thumb{box-shadow:0 0 0 4px rgba(41,151,255,.6),0 3px 8px rgba(0,0,0,.25)}
body[data-tk-theme] input[type="range"]:where(:not(tk-screen *, tk-note *))::-moz-range-progress{background:var(--kn-ink)}
body[data-tk-theme] input[type="range"]:where(:not(tk-screen *, tk-note *))::-moz-range-thumb{width:24px;height:24px;background:#fff;border:0;box-shadow:0 3px 8px rgba(0,0,0,.25)}
body[data-tk-theme] :is(tk-select select,tk-search input,tk-number input,tk-date input,.tk-feedback :is(textarea,input[type="text"],input[type="number"],select)):where(:not(tk-screen *, tk-note *)){
  border:1px solid var(--tk-control);border-radius:12px;background-color:var(--tk-field);color:var(--tk-fg);min-height:48px;font-family:var(--text)}
body[data-tk-theme] :is(tk-select select,.tk-feedback select):where(:not(tk-screen *, tk-note *)){background-image:linear-gradient(45deg,transparent 50%,var(--tk-muted) 50%),linear-gradient(135deg,var(--tk-muted) 50%,transparent 50%)}
body[data-tk-theme] :is(tk-select select,tk-search input,.tk-feedback :is(textarea,input,select)):focus:where(:not(tk-screen *, tk-note *)){border-color:#0071e3;box-shadow:0 0 0 4px rgba(0,113,227,.3)}
body[data-tk-theme] tk-toggle button:where(:not(tk-screen *, tk-note *)){font:400 1.0625rem/1.3 var(--text);letter-spacing:-.015em}
body[data-tk-theme] tk-toggle .tk-track:where(:not(tk-screen *, tk-note *)){width:51px;height:31px;border-radius:999px;background:#787880;background:color-mix(in srgb,#787880 40%,transparent)}
body[data-tk-theme] tk-toggle .tk-track:where(:not(tk-screen *, tk-note *))::after{top:2px;left:2px;width:27px;height:27px;background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.15),0 3px 1px rgba(0,0,0,.06)}
body[data-tk-theme] tk-toggle [aria-checked="true"] .tk-track:where(:not(tk-screen *, tk-note *)){background:#34c759}
body[data-tk-theme] tk-toggle [aria-checked="true"] .tk-track:where(:not(tk-screen *, tk-note *))::after{transform:translateX(20px)}
body[data-tk-theme] tk-radio-group label:where(:not(tk-screen *, tk-note *)),body[data-tk-theme] tk-radio-group legend+label:where(:not(tk-screen *, tk-note *)),body[data-tk-theme] tk-radio-group label:last-child:where(:not(tk-screen *, tk-note *)){margin:0;border:0;border-radius:0;
  background:color-mix(in srgb,#767680 24%,transparent);color:var(--tk-fg);font:500 .9rem/1.2 var(--text);min-height:40px}
body[data-tk-theme] tk-radio-group legend+label:where(:not(tk-screen *, tk-note *)){border-radius:10px 0 0 10px}
body[data-tk-theme] tk-radio-group label:last-child:where(:not(tk-screen *, tk-note *)){border-radius:0 10px 10px 0}
body[data-tk-theme] tk-radio-group legend:where(:not(tk-screen *, tk-note *)){margin-bottom:.6rem}
body[data-tk-theme] tk-radio-group label:has(input:checked):where(:not(tk-screen *, tk-note *)){background:var(--tk-bg);color:var(--tk-fg);border-radius:9px;box-shadow:inset 0 0 0 2px color-mix(in srgb,#767680 24%,var(--tk-card)),0 3px 8px rgba(0,0,0,.12)}

/* Reply card: a grouped inset list and a pill button. */
body[data-tk-theme] .tk-feedback:where(:not(tk-screen *, tk-note *)){background:var(--tk-card);border:0;border-radius:28px;box-shadow:none;padding:clamp(1.5rem,3vw,2.4rem)}
body[data-tk-theme] .tk-feedback h3:where(:not(tk-screen *, tk-note *)){margin-top:0;font:700 clamp(1.4rem,1.1rem + 1vw,2rem)/1.15 var(--display);letter-spacing:-.035em}
body[data-tk-theme] .tk-feedback fieldset label:where(:not(tk-screen *, tk-note *)){border:0;border-bottom:1px solid var(--tk-border);background:color-mix(in srgb,var(--tk-fg) 6%,var(--tk-card));min-height:50px;font-size:1.0625rem;padding:.7rem 1rem}
body[data-tk-theme] .tk-feedback fieldset legend+label:where(:not(tk-screen *, tk-note *)),body[data-tk-theme] .tk-feedback fieldset>label:first-child:where(:not(tk-screen *, tk-note *)){border-radius:14px 14px 0 0;border-top:0}
body[data-tk-theme] .tk-feedback fieldset label:last-child:where(:not(tk-screen *, tk-note *)){border-radius:0 0 14px 14px;border-bottom:0}
body[data-tk-theme] .tk-feedback input[type="radio"]:where(:not(tk-screen *, tk-note *)){border:1.5px solid var(--tk-muted);background:transparent;width:1.35rem;height:1.35rem}
body[data-tk-theme] .tk-feedback input[type="radio"]:checked:where(:not(tk-screen *, tk-note *)){background:#0071e3;border-color:#0071e3}
body[data-tk-theme] .tk-feedback input[type="radio"]:where(:not(tk-screen *, tk-note *))::before{background:#fff;width:.5rem;height:.5rem}
body[data-tk-theme] .tk-feedback button.tk-submit:where(:not(tk-screen *, tk-note *)){background:#0071e3;border:0;color:#fff;border-radius:999px;font:400 1.0625rem/1 var(--text);letter-spacing:-.015em;padding:.9rem 1.5rem;min-height:48px}
body[data-tk-theme] .tk-feedback button.tk-submit:where(:not(tk-screen *, tk-note *))::after{content:"  \203A"}
body[data-tk-theme] .tk-feedback button.tk-submit:hover:not(:disabled):where(:not(tk-screen *, tk-note *)){filter:none;background:#0077ed}
body[data-tk-theme] .tk-feedback button.tk-submit:disabled:where(:not(tk-screen *, tk-note *)){background:color-mix(in srgb,var(--tk-fg) 12%,var(--tk-card));color:var(--tk-muted);border:0;opacity:1}
body[data-tk-theme] .tk-feedback>.tk-note:where(:not(tk-screen *, tk-note *)){border-top:0;padding-top:0;font:400 .78rem/1.45 var(--text)}
body[data-tk-theme] .tk-feedback>.tk-note:where(:not(tk-screen *, tk-note *))::before{content:none}
body[data-tk-theme] .tk-feedback .tk-scale button:where(:not(tk-screen *, tk-note *)){border-color:var(--tk-control);background:var(--tk-field);color:var(--tk-fg)}
body[data-tk-theme] .tk-feedback .tk-scale button[aria-pressed="true"]:where(:not(tk-screen *, tk-note *)){background:#0071e3;border-color:#0071e3;color:#fff}

/* ===== More of the kit, each in Apple's own idiom ===== */
/* tabs: a segmented pill */
body[data-tk-theme] tk-tabs [role="tablist"]:where(:not(tk-screen *, tk-note *)){gap:.25rem;border:0;background:var(--tk-bg-soft);border-radius:999px;padding:.25rem;width:fit-content;max-width:100%;margin-inline:auto}
body[data-tk-theme] tk-tabs [role="tab"]:where(:not(tk-screen *, tk-note *)){border:0;border-radius:999px;padding:.45rem 1.2rem;min-height:40px;font:500 .95rem/1 var(--text);color:var(--tk-muted)}
body[data-tk-theme] tk-tabs [role="tab"][aria-selected="true"]:where(:not(tk-screen *, tk-note *)){background:var(--tk-bg);box-shadow:0 2px 6px rgba(0,0,0,.12);color:var(--tk-fg)}
body[data-tk-theme] tk-tabs [role="tabpanel"]:where(:not(tk-screen *, tk-note *)){text-align:center;font:600 clamp(1.2rem,1rem + .6vw,1.6rem)/1.35 var(--display);letter-spacing:-.02em;padding-top:1.6rem}
/* steps: "how it works" with large scheme numerals */
body[data-tk-theme] tk-steps li:where(:not(tk-screen *, tk-note *)){padding:0 0 1.4rem 3.6rem;font:600 1.1rem/1.35 var(--display);letter-spacing:-.015em;min-height:2.6rem}
body[data-tk-theme] tk-steps li:where(:not(tk-screen *, tk-note *))::before{width:auto;height:auto;border:0;background:var(--kn-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
  font:800 2.4rem/1 var(--display);letter-spacing:-.05em;top:-.35rem;padding:0 .1em .1em 0}
body[data-tk-theme] tk-steps li:not(:last-child):where(:not(tk-screen *, tk-note *))::after{content:none}
/* timeline: a horizontal keynote roadmap on wide screens */
body[data-tk-theme] tk-timeline:where(:not(tk-screen *, tk-note *)){padding:0;margin:3rem 0}
body[data-tk-theme] tk-timeline:where(:not(tk-screen *, tk-note *))::before{content:none}
body[data-tk-theme] tk-timeline li:where(:not(tk-screen *, tk-note *)){padding:1.6rem 0 0;margin:0;border-top:2px solid var(--tk-border)}
body[data-tk-theme] tk-timeline li:where(:not(tk-screen *, tk-note *))::before{left:0;top:-.5rem;width:.9rem;height:.9rem;border:0;background:var(--kn-ink);box-shadow:0 0 0 5px var(--tk-bg)}
body[data-tk-theme] tk-timeline li:last-child:where(:not(tk-screen *, tk-note *))::before{background:var(--kn-ink)}
body[data-tk-theme] tk-timeline .tk-when:where(:not(tk-screen *, tk-note *)){font:700 clamp(1.4rem,1.1rem + 1vw,2rem)/1.1 var(--display);letter-spacing:-.035em;color:var(--tk-fg);margin-bottom:.35rem}
body[data-tk-theme] tk-timeline li>div:last-child:where(:not(tk-screen *, tk-note *)){color:var(--tk-muted);font-size:1rem;line-height:1.4;padding-right:1rem}
@media(min-width:760px){body[data-tk-theme] tk-timeline:where(:not(tk-screen *, tk-note *)){display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr))}}
body[data-tk-theme] :is(tk-image img,tk-gallery img,tk-compare,tk-zoom .tk-stage,tk-annotate img,tk-video video):where(:not(tk-screen *, tk-note *)){border-radius:22px;box-shadow:0 30px 60px -30px rgba(0,0,0,.35)}
body[data-tk-theme] tk-overprint:where(:not(tk-screen *, tk-note *)){--op-a:#1d1d1f;--op-b:var(--kn-ink)}

/* ===== Motion: entrance on load, then scroll-linked keynote moves. Reduced motion keeps the designed still. ===== */
@media(prefers-reduced-motion:no-preference){
  body[data-tk-theme]:not([data-keynote-motion="off"]) tk-hero>*:where(:not(tk-screen *, tk-note *)){animation:kn-in 1.1s var(--ease) both}
  body[data-tk-theme]:not([data-keynote-motion="off"]) tk-hero>tk-tape-title:where(:not(tk-screen *, tk-note *)){animation-delay:.08s}
  body[data-tk-theme]:not([data-keynote-motion="off"]) tk-hero>.tk-dek:where(:not(tk-screen *, tk-note *)){animation-delay:.2s}
  body[data-tk-theme]:not([data-keynote-motion="off"]) tk-hero>:is(.tk-byline,tk-stamp):where(:not(tk-screen *, tk-note *)){animation-delay:.32s}
  body[data-tk-theme]:not([data-keynote-motion="off"]) tk-hero:where(:not(tk-screen *, tk-note *))::before,body[data-tk-theme]:not([data-keynote-motion="off"]) tk-hero:where(:not(tk-screen *, tk-note *))::after{animation:kn-bloom 1.8s var(--ease) both}
  @keyframes kn-in{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
  @keyframes kn-bloom{from{opacity:0;scale:.7}}
}
@supports (animation-timeline:view()){
  @media(prefers-reduced-motion:no-preference){
    /* 1.8.0: the hero scrolls away like a slide, never pinned under the next chapter (text fading behind new text
       could not be read); only its bloom drifts up behind it. */
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-hero:where(:not(tk-screen *, tk-note *))::before,body[data-tk-theme]:not([data-keynote-motion="off"]) tk-hero:where(:not(tk-screen *, tk-note *))::after{animation:kn-bloom 1.8s var(--ease) both,kn-rise linear both;animation-timeline:auto,scroll(root);animation-range:normal,0 90vh}
    @keyframes kn-rise{to{translate:0 -18vh;scale:1.25;opacity:.25}}
    /* Section headlines rise; tiles scale up; figures climb out of a mask; the bar under each draws. */
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-section>h2:where(:not(tk-screen *, tk-note *)){animation:kn-up linear both;animation-timeline:view();animation-range:entry 0% cover 30%}
    @keyframes kn-up{from{opacity:0;translate:0 60px}}
    body[data-tk-theme]:not([data-keynote-motion="off"]) :is(tk-card,tk-callout,.tk-controls,.tk-feedback,tk-code,tk-section>tk-chart):where(:not(tk-screen *, tk-note *)){animation:kn-scale linear both;animation-timeline:view();animation-range:entry 0% cover 28%}
    @keyframes kn-scale{from{opacity:0;scale:.9;translate:0 50px}}
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-stat:where(:not(tk-screen *, tk-note *)){overflow:clip;overflow-clip-margin:2rem}
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-stat :is(.tk-value,.tk-label,.tk-delta):where(:not(tk-screen *, tk-note *)){animation:kn-climb linear both;animation-timeline:view();animation-range:entry 10% cover 40%}
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-stats>tk-stat:nth-child(even) :is(.tk-value,.tk-label,.tk-delta):where(:not(tk-screen *, tk-note *)){animation-range:entry 30% cover 48%}
    @keyframes kn-climb{from{opacity:0;translate:0 70%;filter:blur(6px)}}
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-stat:where(:not(tk-screen *, tk-note *))::after{animation:kn-draw linear both;animation-timeline:view();animation-range:entry 40% cover 50%}
    @keyframes kn-draw{from{scale:0 1}}
    /* The lede fills with ink from the top as it crosses the screen. */
    body[data-tk-theme]:not([data-keynote-motion="off"]) :is(tk-section>h2+p,tk-section>h2+tk-stamp+p,tk-split>div>p:first-child,tk-split>div>h3:first-child+p):where(:not(tk-screen *, tk-note *)){
      background:linear-gradient(180deg,var(--tk-fg) 50%,var(--tk-muted) 50%) 0 100%/100% 200% no-repeat;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
      animation:kn-ink linear both;animation-timeline:view();animation-range:cover 20% cover 55%}
    body[data-tk-theme]:not([data-keynote-motion="off"]) :is(tk-section>h2+p,tk-section>h2+tk-stamp+p,tk-split>div>p:first-child,tk-split>div>h3:first-child+p) a:where(:not(tk-screen *, tk-note *)){text-decoration:underline;text-decoration-color:var(--tk-accent);text-underline-offset:.15em}
    @keyframes kn-ink{to{background-position:0 0}}
    /* Charts wipe in left to right; the product shot tilts up like a lid opening. */
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-chart .tk-canvas:where(:not(tk-screen *, tk-note *)){animation:kn-wipe linear both;animation-timeline:view();animation-range:entry 30% cover 45%}
    @keyframes kn-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-taped img:where(:not(tk-screen *, tk-note *)){animation:kn-lid linear both;animation-timeline:view();animation-range:entry 10% cover 50%}
    @keyframes kn-lid{from{transform:rotateX(38deg) scale(.86);opacity:.2}}
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-slip .tk-paper:where(:not(tk-screen *, tk-note *)){animation:kn-slide linear both;animation-timeline:view();animation-range:entry 20% cover 40%}
    @keyframes kn-slide{from{opacity:0;translate:0 24px}}
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-table tbody tr:where(:not(tk-screen *, tk-note *)){animation:kn-row linear both;animation-timeline:view();animation-range:entry 0% entry 100%}
    @keyframes kn-row{from{opacity:0;translate:0 16px}}
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-timeline li:where(:not(tk-screen *, tk-note *)){animation:kn-up linear both;animation-timeline:view();animation-range:entry 10% cover 35%}
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-timeline li:nth-child(2):where(:not(tk-screen *, tk-note *)){animation-range:entry 20% cover 42%}
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-timeline li:nth-child(3):where(:not(tk-screen *, tk-note *)){animation-range:entry 30% cover 49%}
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-timeline li:nth-child(n+4):where(:not(tk-screen *, tk-note *)){animation-range:entry 40% cover 56%}
    /* The divider word arrives oversized and outlined, then settles and fills with ink. */
    body[data-tk-theme]:not([data-keynote-motion="off"]) tk-torn:where(:not(tk-screen *, tk-note *)){-webkit-text-stroke:2px var(--tk-fg);animation:kn-word linear both;animation-timeline:view();animation-range:entry 0% cover 50%}
    @keyframes kn-word{from{color:transparent;letter-spacing:.06em;opacity:.3}60%{color:transparent}to{color:var(--tk-fg)}}
  }
}

@media(max-width:640px){
  body[data-tk-theme] tk-hero tk-tape-title>h1:where(:not(tk-screen *, tk-note *)){letter-spacing:-.045em;max-width:none}
  body[data-tk-theme] tk-stats:where(:not(tk-screen *, tk-note *)){gap:2.4rem 1rem}
  body[data-tk-theme] tk-section>h2 .tk-anchor:where(:not(tk-screen *, tk-note *)){display:none}
  body[data-tk-theme] tk-callout:where(:not(tk-screen *, tk-note *)){padding:1.3rem 1.3rem 1.4rem 4rem}
  body[data-tk-theme] tk-callout:where(:not(tk-screen *, tk-note *))::before{left:1.2rem;top:1.3rem;width:1.9rem;height:1.9rem}
  body[data-tk-theme] tk-callout[data-kind="decision"]:where(:not(tk-screen *, tk-note *)){padding:1.5rem 1.3rem 1.5rem 4rem}
  body[data-tk-theme] tk-callout[data-kind="decision"]:where(:not(tk-screen *, tk-note *))::before{left:1.2rem;top:1.6rem}
  body[data-tk-theme] .tk-controls:where(:not(tk-screen *, tk-note *)){padding:1.3rem}
  body[data-tk-theme] tk-table th:where(:not(tk-screen *, tk-note *)),body[data-tk-theme] tk-table td:where(:not(tk-screen *, tk-note *)){padding:.85rem .6rem}
  body[data-tk-theme][data-keynote-hero="rings"] tk-hero:not([data-keynote-hero]):where(:not(tk-screen *, tk-note *))::before,body[data-tk-theme] tk-hero[data-keynote-hero="rings"]:where(:not(tk-screen *, tk-note *))::before{width:190vw;top:42%}
  body[data-tk-theme] tk-timeline li:where(:not(tk-screen *, tk-note *)){border-top:0;border-left:2px solid var(--tk-border);padding:0 0 1.4rem 1.4rem}
  body[data-tk-theme] tk-timeline li:where(:not(tk-screen *, tk-note *))::before{left:-.55rem;top:.4rem}
}
@media print{body[data-tk-theme] tk-hero:where(:not(tk-screen *, tk-note *)){position:static}}
/* 1.7.0: answers that join a form: compact still cards; a check, a ring or a red alert badge says where each stands. */
/* Joined questions are smaller cards and do not scale in as they scroll (a page of them would keep moving, and a jump
   should land on a card that is already still); the form keeps its entrance. Their state is an Apple-style badge
   (a hollow ring, a green check, a red "!"); Go to Send is a tinted pill; the count is a big numeral over a rounded
   bar in the scheme's gradient. Every colour comes from the tokens, so dark chapters switch with them. */
body[data-tk-theme] .tk-feedback.tk-joined:where(:not(tk-screen *, tk-note *)){padding:clamp(1.2rem,2.6vw,1.9rem);border-radius:24px;animation:none}
body[data-tk-theme] .tk-feedback.tk-joined>h3:where(:not(tk-screen *, tk-note *)){font-size:clamp(1.25rem,1rem + .8vw,1.65rem);margin-bottom:.9rem}
body[data-tk-theme] .tk-feedback h3>.tk-required:where(:not(tk-screen *, tk-note *)){color:var(--tk-muted);font:400 .62em/1 var(--text);letter-spacing:-.01em}
body[data-tk-theme] .tk-feedback.tk-joined[data-tk-answer="missing"]:where(:not(tk-screen *, tk-note *)){outline:0;box-shadow:0 0 0 2px var(--tk-negative),0 0 0 7px color-mix(in srgb,var(--tk-negative) 16%,transparent)}
body[data-tk-theme] .tk-feedback.tk-joined.tk-answer-flash:where(:not(tk-screen *, tk-note *)){box-shadow:0 0 0 2px var(--tk-accent),0 0 0 7px color-mix(in srgb,var(--tk-accent) 22%,transparent)}
body[data-tk-theme] .tk-feedback[data-tk-answer="missing"] [aria-invalid="true"]:where(:not(tk-screen *, tk-note *)){outline:0;border-radius:14px;box-shadow:0 0 0 2px var(--tk-negative)}
/* the state badge */
body[data-tk-theme] .tk-feedback>.tk-answer-state:where(:not(tk-screen *, tk-note *)){max-width:none;margin-top:1rem;color:var(--tk-muted);font:500 .9rem/1.35 var(--text);letter-spacing:-.01em}
body[data-tk-theme] .tk-feedback .tk-answer-dot:where(:not(tk-screen *, tk-note *)){position:relative;width:1.15rem;height:1.15rem;border:1.5px solid var(--tk-muted)}
body[data-tk-theme] .tk-feedback .tk-answer-dot:where(:not(tk-screen *, tk-note *))::after{content:"";position:absolute;inset:0;margin:auto}
body[data-tk-theme] .tk-feedback:is([data-tk-answer="answered"],[data-tk-answer="sent"])>.tk-answer-state:where(:not(tk-screen *, tk-note *)){color:var(--tk-fg)}
body[data-tk-theme] .tk-feedback:is([data-tk-answer="answered"],[data-tk-answer="sent"]) .tk-answer-dot:where(:not(tk-screen *, tk-note *)){border-color:var(--tk-positive);background:var(--tk-positive);box-shadow:none}
body[data-tk-theme] .tk-feedback:is([data-tk-answer="answered"],[data-tk-answer="sent"]) .tk-answer-dot:where(:not(tk-screen *, tk-note *))::after{width:.42rem;height:.22rem;border-left:2px solid var(--tk-card);border-bottom:2px solid var(--tk-card);transform:translateY(-.06rem) rotate(-45deg)}
body[data-tk-theme] .tk-feedback[data-tk-answer="missing"]>.tk-answer-state:where(:not(tk-screen *, tk-note *)){color:var(--tk-negative);font-weight:600}
body[data-tk-theme] .tk-feedback[data-tk-answer="missing"] .tk-answer-dot:where(:not(tk-screen *, tk-note *)){border-color:var(--tk-negative);background:var(--tk-negative)}
body[data-tk-theme] .tk-feedback[data-tk-answer="missing"] .tk-answer-dot:where(:not(tk-screen *, tk-note *))::after{content:"!";color:var(--tk-card);font:700 .78rem/1.15rem var(--text);text-align:center;height:auto;width:auto;inset:-1.5px 0 auto 0}
/* Go to Send: a tinted pill; open answers: white pills */
body[data-tk-theme] .tk-feedback .tk-answer-go:where(:not(tk-screen *, tk-note *)){padding:0 1.1rem;border-radius:999px;background:color-mix(in srgb,var(--tk-accent) 11%,var(--tk-field));color:var(--tk-accent);font:500 .95rem/1 var(--text);letter-spacing:-.01em;text-decoration:none}
body[data-tk-theme] .tk-feedback .tk-answer-go:hover:where(:not(tk-screen *, tk-note *)){background:color-mix(in srgb,var(--tk-accent) 18%,var(--tk-field))}
body[data-tk-theme] .tk-answers-jump:where(:not(tk-screen *, tk-note *)){padding:.45rem 1rem;border:1px solid var(--tk-border);border-radius:999px;background:var(--tk-field);color:var(--tk-accent);font:500 .95rem/1.3 var(--text);letter-spacing:-.01em}
body[data-tk-theme] .tk-answers-jump:hover:not(:disabled):where(:not(tk-screen *, tk-note *)){background:color-mix(in srgb,var(--tk-accent) 8%,var(--tk-field))}
body[data-tk-theme] .tk-answers-jump.tk-answers-must:where(:not(tk-screen *, tk-note *)){border:1.5px solid var(--tk-accent);padding:calc(.45rem - .5px) calc(1rem - .5px)}
body[data-tk-theme] .tk-answers-req:where(:not(tk-screen *, tk-note *)){color:var(--tk-muted);font-weight:400}
/* the count and its bar */
body[data-tk-theme] .tk-answers-count:where(:not(tk-screen *, tk-note *)){color:var(--tk-muted);font:500 1rem/1.3 var(--text);letter-spacing:-.01em}
body[data-tk-theme] .tk-answers-count strong:where(:not(tk-screen *, tk-note *)){margin-right:.15em;color:var(--tk-fg);font:700 2rem/1 var(--display);letter-spacing:-.04em;vertical-align:-.1em}
body[data-tk-theme] .tk-answers-bar:where(:not(tk-screen *, tk-note *)){height:6px;border:0;border-radius:999px;background:color-mix(in srgb,var(--tk-fg) 10%,var(--tk-card))}
body[data-tk-theme] .tk-answers-bar>span:where(:not(tk-screen *, tk-note *)){border-radius:999px;background:var(--kn-grad,var(--kn-light))}
body[data-tk-theme] .tk-answers[data-tk-answers="all"] .tk-answers-bar>span:where(:not(tk-screen *, tk-note *)){background:var(--tk-positive)}
body[data-tk-theme] .tk-answers-open:where(:not(tk-screen *, tk-note *)){color:var(--tk-muted);font:400 .9rem/1.3 var(--text)}
body[data-tk-theme] .tk-feedback .tk-scale button[aria-pressed="true"]:hover:not(:disabled):where(:not(tk-screen *, tk-note *)){background:#0071e3;border-color:#0071e3;color:#fff}
@media(max-width:640px){body[data-tk-theme] .tk-feedback.tk-joined:where(:not(tk-screen *, tk-note *)){border-radius:20px}}
/* forced colours: open dots stay hollow, answered and missing fill, the bar and buttons keep their edges */
@media(forced-colors:active){body[data-tk-theme] .tk-feedback .tk-answer-dot:where(:not(tk-screen *, tk-note *)){forced-color-adjust:none;border-color:CanvasText;background:Canvas;box-shadow:none;clip-path:none;border-radius:50%}
  body[data-tk-theme] .tk-feedback:is([data-tk-answer="answered"],[data-tk-answer="sent"],[data-tk-answer="missing"]) .tk-answer-dot:where(:not(tk-screen *, tk-note *)){background:CanvasText}
  body[data-tk-theme] .tk-feedback.tk-joined[data-tk-answer="missing"]:where(:not(tk-screen *, tk-note *)){outline:2px solid Mark;outline-offset:3px}
  body[data-tk-theme] .tk-answers-bar>span:where(:not(tk-screen *, tk-note *)){forced-color-adjust:none;background:CanvasText}
  body[data-tk-theme] :is(.tk-feedback .tk-answer-go,.tk-answers-jump):where(:not(tk-screen *, tk-note *)){border:1px solid ButtonText}}
