/* =============================================================================
   Workplace Know-How: the design tokens and the shared components of EVERY public page (loaded right after site.css, before the page's own styles).
   One look for the whole site, taken from the home page: a light grey page, white cards, deep plum bands, the logo's
   purple for buttons and links, the logo's green, amber and blue in small doses, Lexend (light) for headings, Noto Sans for text.
   Rules of the look are in the project notes (DESIGN.md). Page styles (home.css, library.css, community.css, connect.css, pages.css) load after this file.
   Contents: tokens, pills, buttons, cards, bands, chips and badges, forms, prose, pagination.
   Class names: .pill (+ -leaf -amber -sky -plum) · .btn (+ -plum -line -go -light -ghostw, sizes -sm -xs -lg) · .btn-row .link-light · .card-w (a.card-w lifts on hover) / .card ·
   .band (+ -top -round) · .sec .sec-sm · .tag .badge (+ -free -ext -leaf -amber -sky -plum) .chip .tile .disc .arch · .field .lbl .hint .inp .field-error ·
   .chk · input[role=switch] · .flash (+ -success -error) · .prose · .pager-*. Any input, select or textarea is styled without a class (a class beats it).
   (The header, footer, breadcrumbs and floating buttons are in site.css; the windows and toasts in dialog.css.)
   ============================================================================= */

:root{
  /* surfaces */
  --bg:#F3F4F6;          /* the page: light grey (the home page photo's wall is the same colour) */
  --card:#FFFFFF;        /* white: cards, form panels */
  --deep:#34183F;        /* deep plum, from the logo's purple: bands, the dark end of gradients */
  /* the logo's purple and its shades */
  --plum:#693A78; --plum-d:#4F2A5C; --plum-l:#8A5A99;
  /* text */
  --ink:#2A1733;         /* headings and body text: 14.6:1 on the beige */
  --muted:#4E4056;       /* secondary text: 8.4:1 on the beige */
  --soft:#4E4056;
  /* type scale: the one set of sizes the whole site uses, taken from the About page. A page may not invent its own heading or
     reading size; it picks one of these. Small print (labels, pills, table heads, hints, buttons) keeps its own sizes. */
  --fs-h1:var(--fs-h2);               /* the page title and the home headline: the same size as a section heading, the client asked for one heading size */
  --fs-h2:clamp(30px,3.8vw,56px);     /* every heading that leads a page or a section */
  --fs-h3:clamp(20px,1.7vw,24px);     /* the title inside a card or a row, which has to fit the card */
  --fs-h4:19px;
  --fs-body:17px;                      /* every paragraph of reading text */
  --fs-small:15px;                     /* the short line under a title, captions, meta */
  /* lines */
  --line:rgba(105,58,120,.18);      /* hairlines and card borders */
  --line-s:rgba(105,58,120,.40);    /* soft borders of buttons and chips (they carry text, so they need no 3:1) */
  --edge:#8A7A94;                   /* the border of inputs, checkboxes and switches: 3.5:1 on the beige, 3.7:1 on the warm white (WCAG 1.4.11) */
  /* the logo's other three colours (use in small doses: pills, badges, icon discs, tiles) */
  --leaf:#96CB5B; --orange:#F0AE5E; --amber:#F0AE5E; --blue:#3EADE3; --sky:#3EADE3;
  --green-t:#E9F2D6; --orange-t:#FBEBD3; --blue-t:#DDF0F9; --lilac:#EFE6F2;     /* their soft tints on the beige */
  /* text on the deep plum band, an error colour */
  --on-deep:#FBF8F2; --on-deep-s:#D8C6DF; --err:#A12626;
  /* type and shape */
  --display:'Lexend','Noto Sans',system-ui,sans-serif;
  --r:clamp(22px,2.4vw,34px); --r-m:20px; --r-s:14px;                           /* radii: big surfaces, cards, controls */
  --shadow:0 24px 48px -28px rgba(52,24,63,.38); --shadow-s:0 12px 28px -20px rgba(52,24,63,.38);
}

/* components */

/* ---- Base: the page, headings, links, the focus ring ------------------------------------------------------------------ */
body{background:var(--bg); color:var(--ink); font-family:'Noto Sans',system-ui,sans-serif; font-size:var(--fs-body); line-height:1.75}
.page{background:var(--bg)}
h1,h2,h3,h4{margin:0; font-family:var(--display); font-weight:300; letter-spacing:-.03em; color:var(--deep)}
h3,h4{font-weight:400; letter-spacing:-.02em}
/* One size for each heading level and one for reading text, the whole site over (the sizes of the About page). A page may change the
   colour, the weight or the width of a heading, never its size: that is what keeps the pages looking like one site. */
h1{font-size:var(--fs-h1); line-height:1.06}
h2{font-size:var(--fs-h2); line-height:1.1}
h3{font-size:var(--fs-h3); line-height:1.25}
h4{font-size:var(--fs-h4); line-height:1.3}
h1 b,h2 b{font-weight:400; color:var(--plum)}   /* the key word of a heading (the existing markup puts it in <b>) */
/* Typing effect on the purple words of headings (assets/js/typing.js). boot.js puts html.tw on the page when motion is allowed. The two purple words that are on the
   screen when a page opens (.hm-alt, the second line of the home headline, and .ty-h, the thank-you heading) wait out of sight until the script has taken them over
   (it adds .tw-on); the animation shows them after 3.2 s anyway, so a script that never arrives cannot leave them blank. The script swaps a word for one hidden span
   per letter (the spaces stay, so nothing moves), types the letters in, blinks a caret for a moment and puts the plain text back. */
html.tw .hm-alt:not(.tw-on),html.tw .ty-h:not(.tw-on){visibility:hidden; animation:tw-failsafe 0s linear 3.2s forwards}
@keyframes tw-failsafe{to{visibility:visible}}
.tw-on .tw,.tw-on .tw-c{display:inline}   /* whatever a page says about spans inside its heading (the home headline: .hm-title span is a block) must not stack the letters */
.tw-c{position:relative; opacity:0}
.tw-c.is-on{opacity:1}
.tw-c.is-cur::after{content:""; position:absolute; left:100%; top:.1em; height:.84em; width:max(2px,.045em); margin-left:.02em; border-radius:1px; background:currentColor}
.tw.is-idle .tw-c.is-cur::after{animation:tw-blink 1.05s steps(1) infinite}
@keyframes tw-blink{50%{opacity:0}}
@media (prefers-reduced-motion:reduce){ .tw-c{opacity:1} html.tw .hm-alt,html.tw .ty-h{visibility:visible; animation:none} .tw-c.is-cur::after{display:none} }
@media print{ .tw-c{opacity:1} html.tw .hm-alt,html.tw .ty-h{visibility:visible!important; animation:none} .tw-c.is-cur::after{display:none} }
a{color:var(--plum)}
a:hover{color:var(--plum-d)}
:focus-visible{outline:3px solid var(--deep); outline-offset:3px}   /* every focusable thing; each keeps its own shape (a pill stays round) */
.lede{margin:0; max-width:62ch; font-size:var(--fs-body); line-height:1.75; color:var(--muted)}

/* ---- Pill label: a small outlined label with a coloured dot, above a title ------------------------------------------ */
/* <p class="pill pill-leaf">Library</p>   (a leading <span aria-hidden="true"></span> for the dot is accepted too: it is hidden, the dot is drawn here) */
.pill{--tone:var(--plum); display:inline-flex; align-items:center; gap:9px; margin:0; padding:6px 15px 6px 12px; border:1.5px solid var(--tone); border-radius:999px; font:700 12.5px/1.2 'Noto Sans',system-ui,sans-serif; letter-spacing:.08em; text-transform:uppercase; color:var(--ink); background:transparent}
.pill::before{content:""; flex:none; width:8px; height:8px; border-radius:50%; background:var(--tone)}
.pill > span[aria-hidden="true"]:empty{display:none}
.pill-leaf{--tone:var(--leaf)} .pill-amber{--tone:var(--amber)} .pill-sky{--tone:var(--sky)} .pill-plum{--tone:var(--plum)}
.band .pill{color:#F3E6D0}
@media (max-width:400px){ .pill{font-size:13.5px; font-weight:600; letter-spacing:.02em; text-transform:none} }   /* sentence case: the longest label fits one line at 320 px */

/* ---- Buttons: pills. .btn-plum solid, .btn-line outline, .btn-go leaf green (the one "go" action), .btn-light for a deep band; sizes .btn-sm .btn-xs .btn-lg ---- */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:11px 28px; border:1.5px solid transparent; border-radius:999px; font:600 16px/1.25 'Noto Sans',system-ui,sans-serif; text-align:center; text-decoration:none; cursor:pointer; transition:background-color .2s,border-color .2s,color .2s,transform .25s var(--ease),box-shadow .25s}
.btn:hover{transform:translateY(-2px)}
.btn svg{flex:none}
.btn-sm{min-height:40px; padding:8px 20px; font-size:15px}
.btn-xs{min-height:32px; padding:5px 14px; font-size:14px}
.btn-lg{min-height:56px; padding:14px 34px; font-size:17px}
.btn-plum{background:var(--plum); border-color:var(--plum); color:#FFFFFF}
.btn-plum:hover{background:var(--plum-d); border-color:var(--plum-d); color:#FFFFFF; box-shadow:0 14px 26px -14px rgba(52,24,63,.7)}
.btn-line{background:transparent; border-color:var(--plum); color:var(--ink)}
.btn-line:hover{background:rgba(105,58,120,.09); border-color:var(--plum); color:var(--ink)}
.btn-go{background:var(--leaf); border-color:var(--leaf); color:#13210A}
.btn-go:hover{background:#86BC48; border-color:#86BC48; color:#13210A; box-shadow:0 14px 26px -14px rgba(60,100,20,.65)}
.btn-light{background:var(--card); border-color:var(--card); color:var(--deep)}
.btn-light:hover{background:#FFFFFF; border-color:#FFFFFF; color:var(--deep)}
.btn-ghostw{background:transparent; border-color:rgba(251,248,242,.6); color:var(--on-deep)}   /* an outline button on a deep band (same as .band .btn-line) */
.btn-ghostw:hover{background:rgba(251,248,242,.12); border-color:#FBF8F2; color:#FFFFFF}
.btn[disabled],.btn[aria-disabled="true"]{opacity:.55; cursor:not-allowed; transform:none; box-shadow:none}
/* A button waiting for the server: a ring in the logo's colours (blue, amber, green) turns in front of the words. assets/js/pages.js adds .is-loading to the Contact
   form's send button from the click until the next page arrives; the markup is <span class="btn-spin" aria-hidden="true"></span> before the words. */
.btn-spin{display:none; flex:none; width:22px; height:22px; border-radius:50%; background:conic-gradient(transparent 0 6%,var(--blue) 6% 31%,var(--amber) 31% 56%,var(--leaf) 56% 81%,transparent 81%); -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3.5px),#000 calc(100% - 3px)); mask:radial-gradient(farthest-side,transparent calc(100% - 3.5px),#000 calc(100% - 3px))}
.btn.is-loading{cursor:progress}
.btn.is-loading:hover{transform:none}
.btn.is-loading .btn-spin{display:inline-block; animation:btn-spin .8s linear infinite}
@keyframes btn-spin{to{transform:rotate(1turn)}}
.band .btn-line{border-color:rgba(251,248,242,.6); color:var(--on-deep)}
.band .btn-line:hover{background:rgba(251,248,242,.12); border-color:#FBF8F2; color:#FFFFFF}
.band .btn-plum{background:var(--card); border-color:var(--card); color:var(--deep)}
.band .btn-plum:hover{background:#FFFFFF; border-color:#FFFFFF; color:var(--deep); box-shadow:0 14px 26px -14px rgba(0,0,0,.6)}
.btn-row{display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px}   /* a row of buttons (and a link) that wraps on a phone */
.link-light{padding:10px 6px; color:var(--on-deep); font-weight:600; text-decoration:underline; text-decoration-thickness:1.5px; text-underline-offset:4px}   /* a text link on a colour panel or a deep band */
.link-light:hover{color:#FFFFFF; text-decoration-thickness:2.5px}

/* ---- Cards: warm white, a hairline, rounded. A clickable card (a.card-w or .card-link) lifts a little on hover. ---------- */
.card-w{background:var(--card); border:1px solid var(--line); border-radius:var(--r-m); padding:clamp(22px,2.6vw,36px)}
.card{background:var(--card); border:1px solid var(--line); border-radius:var(--r-m)}   /* the older name: padding comes from the page that uses it */
:where(a).card-w,.card-link{display:block; color:inherit; text-decoration:none}   /* :where() keeps the specificity low, so a page can still make its link card a flex box */
a.card-w,.card-link{transition:transform .35s var(--ease),box-shadow .35s,border-color .25s}
a.card-w:hover,.card-link:hover{transform:translateY(-4px); box-shadow:var(--shadow-s); border-color:var(--line-s)}

/* ---- Band: the deep plum surface with the bottom corners rounded. One or two per page, carrying the one important call to action. ---- */
.band{background:var(--deep); color:var(--on-deep); padding:clamp(48px,7vw,104px) 0; border-radius:0 0 clamp(32px,5vw,72px) clamp(32px,5vw,72px)}
.band h1,.band h2,.band h3,.band h4{color:var(--on-deep)}
.band h1 b,.band h2 b{color:var(--leaf)}   /* the key word of a heading on the deep band: leaf green (plum would vanish) */
.band p{color:var(--on-deep-s)}
.band a:not(.btn){color:var(--on-deep)}
.band :focus-visible{outline-color:#FBF8F2}
.band-top{border-radius:clamp(32px,5vw,72px) clamp(32px,5vw,72px) 0 0}   /* the same band with the top corners rounded instead */
.band-round{border-radius:clamp(32px,5vw,72px)}                          /* or all four, when it floats on the page */

/* ---- Section rhythm for pages that stack bands and cards ------------------------------------------------------------ */
.sec{padding:clamp(48px,7vw,104px) 0}
.sec-sm{padding:clamp(32px,4.5vw,64px) 0}

/* ---- Chips, tags and badges ------------------------------------------------------------------------------------------- */
/* .tag / .badge: small static labels (counts, tags: lilac with deep text). .badge-free: the FREE label. .badge-ext / .blink: External resource, outlined in sky. */
.tag,.badge{display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:999px; background:var(--lilac); color:var(--deep); font:600 12.5px/1.2 'Noto Sans',system-ui,sans-serif}
.badge{padding:5px 11px; font-size:11.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; white-space:nowrap}
.badge-free{background:var(--leaf); color:#13210A; font-weight:800}
.badge-ext,.blink{display:inline-flex; align-items:center; gap:6px; padding:3.5px 10px; border:1.5px solid var(--sky); border-radius:999px; background:transparent; color:var(--ink); font:700 11.5px/1.2 'Noto Sans',system-ui,sans-serif; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap}
.badge-leaf{background:var(--green-t); color:#17301A} .badge-amber{background:var(--orange-t); color:#3A1F04} .badge-sky{background:var(--blue-t); color:#06222F} .badge-plum{background:var(--plum); color:#FFFFFF}
.bpdf,.bdoc{font:700 11px/1 'Noto Sans',system-ui,sans-serif; letter-spacing:.06em; padding:5px 10px; border-radius:999px; color:#FFFFFF}
.bpdf{background:var(--plum)} .bdoc{background:#0F6D96}
/* .chip: a small pill that is a link or a button (a filter, a topic). .is-on = chosen. */
.chip{display:inline-flex; align-items:center; gap:6px; min-height:36px; padding:7px 16px; border:1.5px solid var(--line-s); border-radius:999px; background:var(--card); color:var(--ink); font:600 13.5px/1.2 'Noto Sans',system-ui,sans-serif; text-decoration:none; transition:background-color .2s,color .2s,border-color .2s}
.chip:hover{border-color:var(--plum); background:rgba(105,58,120,.09); color:var(--ink)}
.chip.is-on{background:var(--plum); border-color:var(--plum); color:#FFFFFF}
/* a small square or round icon holder */
.tile{width:46px; height:46px; border-radius:50%; display:grid; place-items:center; flex:none; background:var(--plum); color:#FFFFFF}
.tile-soft{background:var(--lilac); color:var(--plum)}
/* the logo's colours behind an icon: a disc or an arch (add .tone-green, .tone-orange, .tone-blue or .tone-plum for the colour) */
.disc,.arch{display:grid; place-items:center; flex:none; width:52px; height:52px; background:var(--c,var(--plum)); color:var(--on,#FFFFFF)}
.disc{border-radius:50%}
.arch{border-radius:999px 999px var(--r-s) var(--r-s)}

/* ---- Forms ------------------------------------------------------------------------------------------------------------- */
.field{display:flex; flex-direction:column; gap:8px; min-width:0}
.lbl{font:600 14px/1.4 'Noto Sans',system-ui,sans-serif; color:var(--ink)}
.hint{font-size:14px; line-height:1.5; color:var(--muted)}
.inp,:where(input:not([type]),input[type="text"],input[type="email"],input[type="search"],input[type="tel"],input[type="url"],input[type="password"],input[type="number"],input[type="date"],input[type="time"],input[type="datetime-local"],select,textarea){
  box-sizing:border-box; min-height:48px; padding:0 16px; font:500 16px/1.4 'Noto Sans',system-ui,sans-serif; color:var(--ink); background-color:#FFFFFF; border:1.5px solid var(--edge); border-radius:var(--r-s); transition:border-color .2s,box-shadow .2s}
.inp{width:100%}
.inp:focus,:where(input:focus,select:focus,textarea:focus){border-color:var(--plum); box-shadow:0 0 0 3px rgba(105,58,120,.16)}
.inp:focus-visible,:where(input:focus-visible,select:focus-visible,textarea:focus-visible){outline:3px solid var(--deep); outline-offset:2px}
.inp::placeholder,:where(input,textarea)::placeholder{color:#675E71; opacity:1; font-weight:400}   /* 6:1 on the field, 5:1 on the lilac search pill (the browser's own grey is lighter) */
.inp[aria-invalid="true"],:where(input,select,textarea)[aria-invalid="true"]{border-color:var(--err); background-color:#FFF7F4}
textarea.inp,:where(textarea){min-height:140px; padding:13px 16px; line-height:1.55; resize:vertical}
select.inp,:where(select){padding-right:12px; cursor:pointer}   /* the browser's own arrow: a background picture on a select is something a contrast checker cannot read */
select[multiple]{padding:8px 16px}
.field-error{display:flex; align-items:flex-start; gap:7px; margin:0; font-size:14px; font-weight:600; line-height:1.45; color:var(--err)}
.field-error::before{content:""; flex:none; width:17px; height:17px; margin-top:1px; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v6'/%3E%3Cpath d='M12 16.6v.1'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v6'/%3E%3Cpath d='M12 16.6v.1'/%3E%3C/svg%3E") center/contain no-repeat}
/* Sign-in code boxes (partials/auth-sign-in-form.php): one real field, drawn as six boxes once JavaScript runs (js/auth.js writes the digits into them).
   The field lies, invisible, over the boxes, so a tap, pasting and the phone's code suggestion all go to it; the box for the next digit shows the focus. */
.otp{position:relative}
.otp-boxes{display:none}
html.js .otp-boxes{display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:clamp(6px,2vw,12px)}
html.js .otp-boxes span{height:58px; display:grid; place-items:center; border:1.5px solid var(--edge); border-radius:14px; background:var(--card); font:600 26px/1 var(--display); color:var(--ink); transition:border-color .15s,box-shadow .15s}
html.js .otp-inp{position:absolute; inset:0; z-index:1; width:100%; height:100%; min-height:0; padding:0; border:0; opacity:0; font-size:16px; cursor:text}
html.js .otp:focus-within .otp-boxes span.is-cur{border:2px solid var(--plum); box-shadow:0 0 0 3px rgba(105,58,120,.22)}
html.js .otp-inp[aria-invalid="true"] + .otp-boxes span{border-color:var(--err); background:#FFF7F4}
/* checkboxes and radios: the browser's own control in the logo's purple; a switch is a checkbox with role="switch" */
input[type="checkbox"],input[type="radio"]{accent-color:var(--plum); width:22px; height:22px; margin:0; flex:none}
.chkbox{accent-color:var(--plum); width:22px; height:22px; flex:none}
.chk{display:flex; align-items:flex-start; gap:10px; font-size:15px; line-height:1.45}
.chk label{cursor:pointer; padding:2px 0}   /* a one-line label is still a 24px target */
input[type="checkbox"][role="switch"]{appearance:none; -webkit-appearance:none; position:relative; width:48px; height:28px; border-radius:999px; background:var(--edge); cursor:pointer; transition:background-color .2s}
input[type="checkbox"][role="switch"]::before{content:""; position:absolute; left:3px; top:3px; width:22px; height:22px; border-radius:50%; background:#FFFFFF; box-shadow:0 1px 3px rgba(52,24,63,.35); transition:transform .25s var(--ease)}
input[type="checkbox"][role="switch"]:checked{background:var(--plum)}
input[type="checkbox"][role="switch"]:checked::before{transform:translateX(20px)}
input[type="checkbox"][role="switch"]:focus-visible{outline:3px solid var(--deep); outline-offset:3px}
.grid2{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr)); gap:20px}
.flash{margin:16px 0 0; padding:14px 18px; border:1px solid var(--line); border-left:5px solid var(--plum); border-radius:var(--r-s); font-size:15.5px; line-height:1.5; background:var(--lilac)}
.flash-success{background:var(--green-t); border-left-color:#4F8A1E}
.flash-error{background:#FBEAE6; border-color:rgba(161,38,38,.25); border-left-color:var(--err); color:#6B1717}

/* ---- Prose: long text from the editor (Markdown subset: ## headings, lists, bold, italic, links), a calm column of at most 68 characters ---- */
.prose{max-width:68ch; color:var(--ink); overflow-wrap:anywhere}   /* anywhere: an email address or a long link in the text never pushes the page wider than a phone */
.prose > :first-child{margin-top:0}
.prose > :last-child{margin-bottom:0}
.prose p{margin:0 0 1.1em; font-size:var(--fs-body); line-height:1.75}
.prose h2{margin:1.5em 0 .5em; font:300 var(--fs-h2)/1.1 var(--display); letter-spacing:-.03em; color:var(--deep)}   /* a heading inside written text is a section heading like any other: the same size, with less air around it since it comes thick and fast */
.prose h3{margin:1.6em 0 .5em; font:400 var(--fs-h3)/1.25 var(--display); letter-spacing:-.02em; color:var(--deep)}
.prose h4{margin:1.4em 0 .4em; font:500 var(--fs-h4)/1.3 var(--display); color:var(--deep)}
.prose a{color:var(--plum); text-decoration:underline; text-decoration-thickness:1.5px; text-underline-offset:3px}
.prose a:hover{color:var(--plum-d); text-decoration-thickness:2.5px}
.prose strong{font-weight:700}
.prose ul,.prose ol{list-style:none; margin:0 0 1.3em; padding:0; display:flex; flex-direction:column; gap:10px}
.prose li{position:relative; padding-left:36px; font-size:var(--fs-body); line-height:1.75}
.prose ul li::before{content:""; position:absolute; left:0; top:.2em; width:24px; height:24px; border-radius:50%; background:var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23693A78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 13l4 4L18 8'/%3E%3C/svg%3E") no-repeat center/14px}
.prose ol{counter-reset:li}
.prose ol li{counter-increment:li}
.prose ol li::before{content:counter(li); position:absolute; left:0; top:.2em; display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:var(--lilac); color:var(--deep); font:600 13px/1 'Noto Sans',system-ui,sans-serif}
.prose blockquote{margin:1.6em 0; padding:18px 24px; border-left:4px solid var(--leaf); border-radius:0 var(--r-s) var(--r-s) 0; background:var(--card); font-size:18px; line-height:1.65}
.prose blockquote > :last-child{margin-bottom:0}
.prose hr{margin:2.4em 0; border:0; border-top:1px solid var(--line)}
.prose table{display:block; max-width:100%; margin:1.6em 0; overflow-x:auto; border-collapse:collapse; font-size:15.5px; line-height:1.5}
.prose th,.prose td{padding:12px 16px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line)}
.prose thead th{background:var(--lilac); color:var(--deep); font-weight:600; border-bottom:0}
.prose thead th:first-child{border-radius:var(--r-s) 0 0 0} .prose thead th:last-child{border-radius:0 var(--r-s) 0 0}
.prose code{padding:2px 6px; border-radius:6px; background:var(--lilac); font-size:.9em}

/* ---- Pagination ------------------------------------------------------------------------------------------------------- */
.pager-public{display:flex; gap:8px; align-items:center; justify-content:center; flex-wrap:wrap; padding:26px 0 0}
.pager-pa,.pager-po,.pager-pc{min-width:44px; height:44px; padding:0 16px; display:inline-flex; align-items:center; justify-content:center; border-radius:999px; font:600 14px/1 'Noto Sans',system-ui,sans-serif; letter-spacing:.05em; text-decoration:none}
.pager-pa{color:var(--ink); background:var(--card); border:1.5px solid var(--line-s); transition:background-color .2s,border-color .2s}
.pager-pa:hover{border-color:var(--plum); background:rgba(105,58,120,.09); color:var(--ink)}
.pager-po{color:var(--muted)}
.pager-pc{background:var(--plum); border:1.5px solid var(--plum); color:#FFFFFF}
.mono{font-family:'Noto Sans',system-ui,sans-serif}   /* the old monospace label look is gone: only the pager used it */

/* ---- Motion: nothing but a small lift; off when the visitor asks for less ------------------------------------------------ */
@media (prefers-reduced-motion:reduce){
  .btn,.chip,.pager-pa,a.card-w,.card-link,input[type="checkbox"][role="switch"],input[type="checkbox"][role="switch"]::before{transition:none}
  .btn:hover,a.card-w:hover,.card-link:hover{transform:none}
  .btn.is-loading .btn-spin{animation:none}   /* the ring stands still: the words "Sending…" say what is happening */
}
