/* GENERATED from src/reader/ by tools/build_literature_reader.py. Edit there. */
/* ==========================================================================
   Kinze literature reader
   Drop-in page-turn reader for any Kinze literature piece.

   Everything here is prefixed kr- and every rule that touches the host
   document is scoped under html.kr-on, so this file cannot affect the
   literature pages until the reader is opened and cannot leave anything
   behind when it closes.

   THE TURN IS A PURE COMPOSITOR TRANSFORM. A turn changes one class on one
   element, which swaps one rotateY. There is no clip-path, no opacity, no
   display and no visibility on the turn path, because every one of those
   needs a main-thread commit and a re-raster, and a re-raster at click time
   is what produces the flash this module was written to remove. If you are
   editing this file, that constraint is the whole design. Do not add a paint
   property to anything that changes during a turn.

   THE CHROME IS THE MARKETING HUB'S, NOT ITS OWN. It matches the PDF reader
   in the content library lightbox, rule for rule. That reader used to be a
   fixed navy slab and Marketing's verdict on it was "too blue and dark"; it
   was rebuilt on the semantic tokens and this follows the rebuilt version.
   So: the ground is --page, the reading area is --blue-tint inside a --line
   border, the controls are white ghost buttons, and the only saturated blue
   left is a hover border and a focus ring. Brand navy appears nowhere.

   Tokens are copied from Marketing Hub/assets/kinze.css rather than imported,
   because a literature piece is one self-contained file served from a path
   the Hub's stylesheet cannot be reached from. If kinze.css moves, these move
   with it.
   ========================================================================== */

:root{
  /* brand primitives. Do not consume directly in a component rule. */
  --kr-kinze-blue:#0073A3;
  --kr-kinze-light-blue:#00AEEF;

  /* semantic: text */
  --kr-ink:#00334E;
  --kr-body:#355F73;
  --kr-muted:#527180;
  --kr-accent-ink:var(--kr-kinze-blue);
  --kr-logo-ink:var(--kr-kinze-blue);

  /* semantic: surface */
  --kr-white:#FFFFFF;
  --kr-page:#EDF5F8;
  --kr-blue-tint:#E7F4F9;
  --kr-blue-tint-light:#F6FBFD;
  --kr-line:#C7DFE9;
  --kr-line-strong:#9FC8D9;

  /* elevation. Three shadows, no fourth. */
  --kr-shadow-sm:0 2px 8px rgba(0,51,78,.07);
  --kr-shadow-md:0 16px 38px rgba(0,51,78,.12);

  /* radius */
  --kr-radius-sm:8px;
  --kr-radius-pill:999px;

  /* type */
  --kr-slab:'Roboto Slab',Rockwell,Georgia,serif;
  --kr-sans:'Work Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;

  /* motion */
  --kr-turn:900ms;
  --kr-ease:cubic-bezier(.42,.03,.32,1);
}

/* Dark theme, as a token swap, the same way kinze.css does it. This only fires
   when the reader is used directly inside a Hub page that carries the
   attribute. An iframed literature piece never sees the parent's attribute and
   stays light, which is correct for Kinze.com. */
[data-theme="dark"]{
  --kr-ink:#EAF3F8;
  --kr-body:#AEC4D1;
  --kr-muted:#8FA8B6;
  --kr-accent-ink:var(--kr-kinze-light-blue);
  --kr-logo-ink:#FFFFFF;
  --kr-white:#0E2531;
  --kr-page:#081720;
  --kr-blue-tint:#123243;
  --kr-blue-tint-light:#0E2836;
  --kr-line:#22414F;
  --kr-line-strong:#2F5568;
}

/* ---------- host document, only while the reader is open ---------- */
html.kr-on,html.kr-on body{
  background:var(--kr-page);
  margin:0;
  height:100%;
  overflow:hidden;            /* the reader owns the viewport, never scrolls */
  overscroll-behavior:none;
}
html.kr-on .kr-hide-when-open{display:none !important;}

/* ---------- the bar ----------
   No band, no fill, no rule under it. It is a row of small controls sitting on
   the page ground, which is what the content library's pdfbar is. Air rather
   than a border separates it from the reading area: 10px between controls and
   14px below. row-gap matters as much as the rest, because this wraps. */
.kr-bar{
  position:fixed;left:0;right:0;top:0;z-index:80;
  display:flex;align-items:center;justify-content:space-between;gap:10px 16px;
  flex-wrap:wrap;
  padding:16px 20px 14px;
  background:var(--kr-page);
  font-family:var(--kr-sans);
}
.kr-lockup{display:flex;align-items:center;gap:14px;min-width:0;}
.kr-lockup .kr-logo{width:86px;color:var(--kr-logo-ink);flex:0 0 auto;}
.kr-lockup .kr-logo svg{width:100%;height:auto;display:block;}
.kr-eyebrow{
  font-size:11px;font-weight:700;letter-spacing:.4px;
  color:var(--kr-muted);line-height:1;white-space:nowrap;}
.kr-title{
  margin-top:4px;font-family:var(--kr-slab);font-weight:700;font-size:14.5px;
  color:var(--kr-ink);line-height:1.2;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.kr-nav{display:flex;align-items:center;gap:10px;flex:0 0 auto;}

/* "3 of 8", the content library's pdfof exactly: muted label, ink for the
   number you are on. */
.kr-count{
  font-size:11.5px;font-weight:700;letter-spacing:.4px;color:var(--kr-muted);
  white-space:nowrap;min-width:54px;text-align:center;}
.kr-count b{color:var(--kr-ink);}

.kr-sep{width:1px;height:20px;background:var(--kr-line-strong);margin:0 4px;flex:0 0 auto;}

/* ghost-btn, verbatim from kinze.css */
.kr-btn{
  display:inline-flex;align-items:center;gap:7px;
  padding:9px 16px;
  background:var(--kr-white);border:1px solid var(--kr-line-strong);
  border-radius:var(--kr-radius-pill);
  font-family:var(--kr-sans);font-size:12.5px;font-weight:700;color:var(--kr-body);
  cursor:pointer;transition:all .14s ease;white-space:nowrap;}
.kr-btn:hover:not(:disabled){
  color:var(--kr-accent-ink);border-color:var(--kr-kinze-blue);
  background:var(--kr-blue-tint-light);}
/* Law 1: disabled is an explicit colour, never a fade. */
.kr-btn:disabled{
  cursor:default;color:var(--kr-muted);border-color:var(--kr-line);
  background:var(--kr-white);}
.kr-btn:focus-visible{outline:2px solid var(--kr-kinze-light-blue);outline-offset:1px;}

/* Law 4: a direction cue is drawn, never typed. Chevrons, two borders on a
   rotated box, the same construction the content library uses. */
.kr-btn.kr-arw{width:38px;height:38px;padding:0;position:relative;justify-content:center;}
.kr-btn.kr-arw::before{
  content:"";position:absolute;left:50%;top:50%;width:7px;height:7px;
  border:solid currentColor;border-width:0 2px 2px 0;}
.kr-btn.kr-prev::before{transform:translate(-30%,-50%) rotate(135deg);}
.kr-btn.kr-next::before{transform:translate(-70%,-50%) rotate(-45deg);}

/* ---------- the reading area ----------
   A panel, not a full-bleed slab: --blue-tint inside a --line border with the
   small radius, which is the content library's pdfscroll. Inset from the page
   edge so the --page ground reads around it. */
.kr-stage{
  position:fixed;left:20px;right:20px;bottom:20px;z-index:10;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
  background:var(--kr-blue-tint);
  border:1px solid var(--kr-line);
  border-radius:var(--kr-radius-sm);
  cursor:pointer;-webkit-tap-highlight-color:transparent;}
.kr-clip{overflow:hidden;flex:0 0 auto;transform-origin:center center;}
.kr-wrap{perspective:2900px;perspective-origin:50% 46%;}

.kr-book{
  position:relative;
  transform-style:preserve-3d;
  /* Same duration and easing as the leaf, from the same custom property, so
     the spread cannot finish sliding before the page has landed. */
  transition:transform var(--kr-turn) var(--kr-ease);
  will-change:transform;}

.kr-leaf{
  position:absolute;top:0;
  transform-origin:left center;
  transform-style:preserve-3d;
  transition:transform var(--kr-turn) var(--kr-ease);
  will-change:transform;}
.kr-leaf.kr-turned{transform:rotateY(-180deg);}

/* One page per face. No segments, no slices, no clones.

   There was a page bend here, built from three hinged panels per leaf. It is
   gone deliberately. Not because the fold keyframes were expensive, they were
   transform-only, but because keeping a sliced page seamless while the book
   sits still needs either an unsliced copy laid over the top and clipped away
   on click, which is a paint property on the turn path and is exactly what
   caused the flash, or scale quantising that could not be verified on this
   setup. A flat turn needs neither and cannot flash.

   If the bend is ever wanted back, the constraint is unchanged: a turn must
   change nothing but a transform, and nothing may cover the panels at rest.

   will-change is declared here rather than added on click so every leaf is
   promoted and rastered when the reader opens. */
.kr-face{
  position:absolute;inset:0;overflow:hidden;
  /* A page is paper. It stays white in both themes for the same reason the
     content library's pdfpg does: a surface representing print does not follow
     the reader's theme. */
  background:#FFFFFF;
  backface-visibility:hidden;-webkit-backface-visibility:hidden;}
.kr-face.kr-b{transform:rotateY(180deg);}
.kr-face>*{position:absolute;top:0;left:0;margin:0;box-shadow:none;}
.kr-face.kr-blank{background:#FFFFFF;}

/* NO SHADOW ON THE CLIP. The content library puts --shadow-sm under each PDF
   page, but its pages are stacked in a scroller and each one is its own box.
   Here the clip is the whole spread, so at the cover, where only one page is
   showing, a shadow on it drew a lit rectangle twice the width of the page.
   Shadowing the leaf instead would drag a shadow through every turn, which was
   ruled out separately. So the sheet sits on the tint unshadowed, which also
   keeps the earlier no-drop-shadows instruction intact. */

/* A jump to a page (goto with instant) lands with no animation. */
.kr-instant .kr-book,.kr-instant .kr-leaf{transition:none !important;}

@media (prefers-reduced-motion:reduce){
  .kr-book,.kr-leaf{transition:none;}
}

/* ---------- hint ----------
   A muted line, not a dark pill. The content library says the same thing the
   same way, in its kbd note. */
.kr-hint{
  position:fixed;left:0;right:0;bottom:28px;z-index:85;
  text-align:center;pointer-events:none;
  font-family:var(--kr-sans);font-size:11.5px;font-weight:700;letter-spacing:.4px;
  color:var(--kr-muted);
  transition:opacity .5s;}
.kr-hint.kr-gone{opacity:0;}

/* ---------- narrow ---------- */
.kr-lbl-short{display:none;}
@media (max-width:420px){
  .kr-lbl-long{display:none;}
  .kr-lbl-short{display:inline;}
}
/* The last resort: below this the buttons wrap to a second row rather than
   run off the edge, which is what took Exit off screen at 320 and 360. */
@media (max-width:380px){
  .kr-nav{flex-wrap:wrap;row-gap:8px;}
}
@media (max-width:640px){
  .kr-bar{padding:12px 12px 10px;gap:8px 10px;}
  .kr-lockup .kr-text{display:none;}
  .kr-lockup .kr-logo{width:64px;}
  .kr-nav{gap:7px;}
  .kr-count{font-size:11px;min-width:40px;letter-spacing:0;}
  .kr-btn{padding:8px 12px;font-size:11.5px;}
  .kr-btn.kr-arw{width:34px;height:34px;padding:0;}
  .kr-sep{display:none;}
  .kr-stage{left:10px;right:10px;bottom:10px;}
  .kr-hint{display:none;}
}

/* ---------- print ----------
   The reader tears itself down before print, so this block is a backstop for
   the case where a print is triggered without the beforeprint event landing.

   print-color-adjust is set on everything, in both the plain and the -webkit-
   form, because the Background graphics checkbox in the Chrome and Edge print
   dialogs is off by default in some setups. Without this a hand print drops
   every CSS background: navy panels go white and the white type on them
   disappears, which reads as a skeletal page rather than a broken one.
   Literature CLAUDE.md rules 36 and 37. */
@media print{
  *{-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important;}
  html.kr-on,html.kr-on body{
    background:#fff !important;overflow:visible !important;height:auto !important;}
  .kr-bar,.kr-stage,.kr-hint{display:none !important;}
  html.kr-on .kr-hide-when-open{display:revert !important;}
}

/* ---- Site 2027 (appended by tools/build_literature_reader.py) ---- */
:root{
  --kr-sans:var(--kw-font-sans);
  --kr-slab:var(--kw-font-sans);
  --kr-radius-sm:0;
  --kr-radius-pill:0;
}
html.kr-on,html.kr-on body{background:var(--kw-surface-sunken);}

/* The reader in the configurator's shell only (1.38.1): its slim bar on top and its fact row at the
   foot, nothing between but the book. No station head, no rail, no dotted stage (Jason, 2026-10-15:
   "I only wanted the 'shell' to be the same as the configuration ... Not the bg dots or side rail").
   The book takes the full width, on the page's own ground. */
.kw-read .kw-cfg-main{grid-template-columns:minmax(0,1fr);}
:root .kw-read .kw-cfg-bay,:root[data-theme="dark"] .kw-read .kw-cfg-bay{border:0;background:none;}
/* The book keeps clear of the two side arrows: their width and a gap each side. */
.kw-read__book{position:absolute;inset:var(--kw-space-5) calc(var(--kw-space-10) + var(--kw-space-6)) var(--kw-space-11);}
/* The side arrows (1.39.2), the page control, after the 5900 parts catalog: no click turns the book
   and there is no second previous and next under it. Centred on the stage's sides; gone at the
   first and last page, as there. */
.kw-read__side{position:absolute;top:50%;z-index:var(--kw-z-raised);width:var(--kw-space-10);height:var(--kw-space-10);
  margin-top:calc(var(--kw-space-10) / -2);background:var(--kw-surface-raised);box-shadow:var(--kw-shadow-sm);}
.kw-read__side:hover{background:var(--kw-fill-subtle);}
.kw-read__side .kw-icon{width:var(--kw-space-6);height:var(--kw-space-6);}
.kw-read__side--prev{inset-inline-start:var(--kw-space-4);}
.kw-read__side--next{inset-inline-end:var(--kw-space-4);}
.kw-read__side:disabled{display:none;}
.kw-read__book .kr-stage{position:absolute;inset:0;top:0 !important;z-index:auto;background:none;border:0;border-radius:0;}
.kw-read .kw-cfg-bay__ctl output{min-width:var(--kw-space-11);}
.kw-read .kw-cfg-bayfoot{border-block-start:var(--kw-border-hairline) dashed var(--kw-line);background:var(--kw-surface-raised);padding-block:var(--kw-space-3);}

/* Below 1024 the configurator pins a short stage over its rail. Here there is no rail: the stage
   fills the window under the bar, and the fact row stays at the foot. */
@media (max-width:1023px){
  .kw-read .kw-cfg-main{overflow:hidden;}
  .kw-read .kw-cfg-stagebox{position:static;flex:1 1 auto;min-height:0;background:none;box-shadow:none;}
  .kw-read .kw-cfg-bay{flex:1 1 0;height:auto;min-height:0;}
  .kw-read .kw-cfg-bayfoot{display:flex;padding-inline:var(--kw-space-gutter);}
}
@media (max-width:700px){
  .kw-read .kw-cfg-bay{margin-inline:var(--kw-space-2);}
  .kw-read .kw-cfg-bay__ctl{display:flex;}
  /* a phone has no width to spare: the arrows sit over the page's edges, as in the parts catalog */
  .kw-read__book{inset:var(--kw-space-2) var(--kw-space-2) var(--kw-space-11);}
  .kw-read__side{width:var(--kw-space-9);height:var(--kw-space-9);margin-top:calc(var(--kw-space-9) / -2);}
  .kw-read__side--prev{inset-inline-start:var(--kw-space-1);}
  .kw-read__side--next{inset-inline-end:var(--kw-space-1);}
  .kw-read .kw-cfg-bayfoot > span:not(:first-child){display:none;}   /* the page count and the way back; Download in the bar gives the size */
}

/* A phone (.kw-read--flow, under 760px): no book to turn. The pages stack down the book, each fitted
   to its width by the script, and the book is the scroller, so the zoom button and the caption stay
   put on the bay while the pages move (Jason, 2026-10-23: "scroll down like the Parts Catalog"). */
.kw-read--flow .kw-read__book{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  display:flex;flex-direction:column;align-items:center;gap:var(--kw-space-4);padding-block:var(--kw-space-2) var(--kw-space-6);}
/* The book runs to the bay's foot, under the zoom button (z-raised), so a swipe that starts on that strip scrolls the
   pages too; the end padding keeps the last page clear of the button (2026-11-19). */
.kw-read--flow .kw-read__book{inset-block-end:0;padding-block-end:calc(var(--kw-space-11) + var(--kw-space-2));}
.kw-read--flow .kw-read__book > .kw-lit__page{flex:none;box-shadow:var(--kw-shadow-sm);}
.kw-read--flow .kw-read__side{display:none;}

/* The page the reader turns. Fixed at the PDF's own size in CSS px so the reader measures the
   real page, held off screen until the reader moves it into the book. */
.kw-lit__src{position:absolute;top:0;right:100%;}
/* Each page sits on its own thumbnail, so a page is never blank while its full image is on the
   way: it shows soft for a moment, then sharpens. */
.kw-lit__page{position:relative;display:block;overflow:hidden;
  background:#fff center/100% 100% no-repeat;}
.kw-lit__page > img{display:block;width:100%;height:100%;}

/* Without script there is no book: the pages stack, the width of the window. */
.kw-lit__noscript{max-width:860px;margin:0 auto;padding:24px 16px;font-family:var(--kw-font-sans);}
.kw-lit__noscript a{color:var(--kw-accent-text);}

/* Zoom: the pages on screen at full resolution in a plain scroll box, under the same slim bar. */
.kw-lit__zoom{position:fixed;inset:0;z-index:calc(var(--kw-z-sticky) + 1);display:grid;grid-template-rows:auto minmax(0,1fr);
  background:var(--kw-surface-sunken);}
.kw-lit__zoom[hidden]{display:none;}
.kw-lit__zoomscroll{overflow:auto;padding:var(--kw-space-5);-webkit-overflow-scrolling:touch;}
.kw-lit__zoomscroll:focus-visible{outline:var(--kw-border-focus) solid var(--kw-focus);
  outline-offset:calc(-1 * var(--kw-border-focus));}
.kw-lit__zoompages{display:flex;flex-direction:column;gap:var(--kw-space-4);margin:0 auto;}
.kw-lit__zoompages img{display:block;width:100%;height:auto;background:#fff;}
.kw-lit__zoompages > .kw-lit__page{transform:none !important;margin:0 !important;}
.kw-lit__zoom .kw-cfg-bay__ctl{position:static;}
@media (max-width:700px){.kw-lit__zoomscroll{padding:var(--kw-space-3);}}

/* Jumps (manual readers, WEB-246, first pass 2026-10-19). Every contents line, index line and
   "See ... on page P11" is a button over the printed line that turns the book there. A faint
   Kinze blue wash says it can be pressed without hiding the line art under it; hover and focus
   deepen it and draw an ink rule under the line. Back sits beside Zoom once a jump is made. */
.kw-lit__jump{position:absolute;z-index:1;margin:0;padding:0;border:0;cursor:pointer;
  background:color-mix(in srgb,var(--kw-color-blue-light) 10%,transparent);
  box-shadow:inset 0 -2px 0 color-mix(in srgb,var(--kw-color-blue-light) 45%,transparent);}
.kw-lit__jump:hover,.kw-lit__jump:focus-visible{background:color-mix(in srgb,var(--kw-color-blue-light) 26%,transparent);
  box-shadow:inset 0 -3px 0 var(--kw-color-ink);}
.kw-lit__jump:focus-visible{outline:var(--kw-border-focus) solid var(--kw-focus);outline-offset:1px;}
.kw-lit__jump:disabled{cursor:default;}
.kw-read__back[hidden]{display:none;}
/* a long book's leaves away from the open one (BIG_BOOK): not painted, no layer */
.kw-read .kr-leaf.kw-lit__far{visibility:hidden;will-change:auto;}

/* Learn-more markers (first pass, 2026-10-15; src/content/literature_links.py). A numbered marker
   sits ON the page, inside .kw-lit__page, so it turns with its leaf. Nothing about it changes on a
   turn: the page's scale is undone by --lit-k, set on the book only when the book is refitted, and
   a marker on a page off screen is only `disabled` (it looks the same, so nothing repaints). Its
   bubble sits on the stage, outside the book, at the marker; the links are also listed, as text,
   in "On these pages" under the stage, which is the version for a phone and a screen reader. */
.kw-lit__mark{position:absolute;z-index:1;display:flex;align-items:stretch;margin:0;padding:0;border:0;background:none;
  transform:translate(0,-50%) scale(var(--lit-k,1));transform-origin:0 50%;
  font-family:var(--kw-font-sans);font-size:var(--kw-text-small-size);font-weight:var(--kw-weight-bold);line-height:1;
  font-variant-numeric:tabular-nums;cursor:pointer;}
/* a marker's edge is on its point, so it never covers the word it is about: its left edge past
   the text, or with --start its right edge before it */
.kw-lit__mark--start{transform:translate(-100%,-50%) scale(var(--lit-k,1));transform-origin:100% 50%;}
.kw-lit__mark:disabled{opacity:1;cursor:default;}
.kw-lit__mark:focus-visible{outline:var(--kw-border-focus) solid var(--kw-focus);outline-offset:var(--kw-space-1);}
.kw-lit__mark-n{position:relative;display:grid;place-items:center;width:var(--kw-space-8);height:var(--kw-space-8);box-sizing:border-box;}

/* The colour (Jason, 2026-10-15). The first blue square "does not stand out enough"; red, picked
   from three, then "Not sure I really like red"; of three more he chose light Kinze blue with an ink
   number and edge. Measured against the page pixels behind all 35 planter brochure markers, it
   never falls under 6.1:1 (the fill on navy, the ink edge on white pages and photos), and the
   number reads at 9.1:1. Kinze blue leaned on its white edge over navy (fill 2.5:1); a white chip
   vanished on the white pages (22 of 35 under 3:1). The halo is transform and opacity only, and
   stops for reduced motion. */
.kw-lit__mark{--lit-fill:var(--kw-color-blue-light);--lit-num:var(--kw-color-ink);--lit-edge:var(--kw-color-ink);--lit-ping:var(--kw-color-blue-light);}
.kw-lit__mark-n{border:var(--kw-border-accent) solid var(--lit-edge);background:var(--lit-fill);color:var(--lit-num);box-shadow:var(--kw-shadow-lg);}
.kw-lit__mark-n::after{content:"";position:absolute;inset:calc(var(--kw-border-accent) * -1);border:var(--kw-border-accent) solid var(--lit-ping);
  animation:lit-ping calc(var(--kw-duration-photo) * 4) var(--kw-ease-out) infinite;pointer-events:none;}
@keyframes lit-ping{0%{transform:scale(1);opacity:.9;}45%,100%{transform:scale(1.9);opacity:0;}}
.kw-lit__mark:hover .kw-lit__mark-n,.kw-lit__mark[aria-expanded="true"] .kw-lit__mark-n{background:var(--lit-num);color:var(--lit-fill);border-color:var(--lit-fill);}
@media (prefers-reduced-motion:reduce){.kw-lit__mark-n::after{animation:none;opacity:0;}}
.kw-lit__bubble{position:absolute;z-index:var(--kw-z-floating);width:min(var(--kw-layout-popover),calc(100% - 2 * var(--kw-space-3)));
  padding:var(--kw-space-4) var(--kw-space-5) var(--kw-space-3);background:var(--kw-surface-raised);color:var(--kw-text);
  border:var(--kw-border-hairline) solid var(--kw-line);border-block-start:var(--kw-space-1) solid var(--kw-accent);box-shadow:var(--kw-shadow-lg);}
.kw-lit__bubble[hidden]{display:none;}
.kw-lit__bubble-hd{display:flex;align-items:center;gap:var(--kw-space-3);margin:0 var(--kw-space-9) var(--kw-space-2) 0;
  font-size:var(--kw-text-small-size);font-weight:var(--kw-weight-bold);line-height:1.3;}
.kw-lit__bubble-hd .kw-index--boxed{flex:none;}
.kw-lit__bubble-tx{margin:0;color:var(--kw-text-muted);font-size:var(--kw-text-small-size);line-height:1.45;}
.kw-lit__bubble .kw-link{margin-block-start:var(--kw-space-1);}
.kw-lit__bubble-x{position:absolute;inset-block-start:var(--kw-space-2);inset-inline-end:var(--kw-space-2);}
/* On a phone the bubble docks across the foot of the stage instead of beside its marker. */
.kw-lit__bubble.is-docked{inset-inline:var(--kw-space-2);inset-block:auto var(--kw-space-2);width:auto;}
/* "On these pages": one line, always there, so the stage never changes height on a turn. The links
   scroll sideways when they do not fit; on a phone the label sits on its own line above them. */
.kw-read__on{display:flex;align-items:center;gap:var(--kw-space-5);min-width:0;margin:var(--kw-space-3) var(--kw-space-6) 0;}
.kw-read__on .kw-eyebrow{flex:none;margin:0;}
.kw-read__on ul{display:flex;flex:1 1 auto;align-items:center;gap:var(--kw-space-6);min-width:0;margin:0;padding:0;
  overflow-x:auto;list-style:none;white-space:nowrap;scrollbar-width:thin;}
.kw-read__on li{flex:none;}
.kw-read__on li[hidden]{display:none;}
.kw-read__on .kw-link{gap:var(--kw-space-2);}
.kw-read__none{color:var(--kw-text-muted);font-size:var(--kw-text-small-size);}
@media (max-width:1023px){.kw-read__on{flex:none;margin-inline:var(--kw-space-gutter);}}
@media (max-width:700px){
  .kw-read__on{flex-direction:column;align-items:stretch;gap:0;margin-inline:var(--kw-space-2);}
  .kw-read__on ul{gap:var(--kw-space-5);}
  /* a phone shows the page at about 0.4: a smaller marker covers less of it, still 32px to tap */
  .kw-lit__mark-n{width:var(--kw-space-7);height:var(--kw-space-7);border-width:calc(var(--kw-border-hairline) * 2);}
}
