/* Clean, 9 November 2026: Saved, Discussions, Clinicians, a profile, Settings, Discover and Help, in the design system. Loaded
   after clean.css, whose tokens (--cl-*) it uses. What is hidden here is hidden by a rule and comes back when the rule goes.

   The same few shapes on every one of these pages, so a doctor learns them once:
   - a page title in the serif, one quiet line under it, at most one ink button;
   - a switch between two or three views as separate pills, the chosen one in ink (as Answer and Sources in Ask);
   - lists as rows with hairlines inside one white surface; tiles white with a hairline, nothing lifts or glows;
   - people without a photo shown with their initials in grey, not in a colour of their own. */

/* 1. The shapes every page here shares -------------------------------------------------------------------------------- */
/* titles: the serif, one size, the ink; the line under them in the second grey */
html .lb-head h1, html .cx-head h1, html .cl-head h1, html .dx-head h1, html [data-viewpanel="settings"] > header .t-h1 {
  font-family: var(--cl-serif); font-size: clamp(34px, 3.2vw, 42px); font-weight: 400; letter-spacing: -.018em; line-height: 1.1; color: var(--cl-ink);
  animation: cl-rise .55s var(--cl-spring) both;
}
html .lb-head p, html .cx-head p, html .cl-head p, html .dx-head p, html [data-viewpanel="settings"] > header p {
  margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--cl-ink-3); animation: cl-rise .55s var(--cl-spring) .05s both;
}
/* the switch: separate pills, the chosen one in ink; the ink piece slides under the words (moveTabInd places it) */
html #libTabs.lb-tabs, html #consultTabs, html .pf-seg {
  gap: 8px; padding: 0 !important; border: 0 !important; border-radius: 999px; background: transparent !important; box-shadow: none !important;
}
html #libTabs.lb-tabs [role="tab"], html #consultTabs [role="tab"], html .pf-seg button {
  height: 44px; padding: 0 18px; border: 1px solid var(--cl-line-2); border-radius: 999px; background: transparent;
  font-size: 15px; font-weight: 400; color: var(--cl-ink) !important;
  transition: color .32s var(--cl-out), border-color .32s var(--cl-out), background-color .22s var(--cl-out);
}
html #libTabs.lb-tabs [role="tab"]:hover, html #consultTabs [role="tab"]:hover, html .pf-seg button:hover { border-color: var(--cl-line-3); }
html #libTabs.lb-tabs [role="tab"][aria-selected="true"], html #consultTabs [role="tab"][aria-selected="true"], html .pf-seg button[aria-current="true"] {
  border-color: transparent; color: var(--cl-surface) !important;
}
html #libTabs .tab-ind, html #consultTabs .tab-ind, html .pf-seg .tab-ind { border-radius: 999px; background: var(--cl-ink) !important; box-shadow: none !important; }
html #libTabs.lb-tabs [role="tab"] > span, html #consultTabs .cx-count, html .pf-seg small { display: none !important; font-size: 13px; font-weight: 400; color: var(--cl-ink-4) !important; transition: color .32s var(--cl-out); }
html #libTabs.lb-tabs [role="tab"][aria-selected="true"] > span, html #consultTabs [role="tab"][aria-selected="true"] .cx-count, html .pf-seg button[aria-current="true"] small { color: color-mix(in srgb, var(--cl-surface) 72%, transparent) !important; }
/* a list: rows with hairlines in one white surface */
html .lb-list, html .cx-rows, html .pf-list, html .cl-rows { border: 1px solid var(--cl-line); border-radius: 20px; background: var(--cl-surface); box-shadow: none; }
/* a quiet pill and the one ink button */
html .cl-pill, html .cl-btn, html .cx-pill, html .pf-btn, html .pf-door, html .pf-more, html .dx-btn--quiet {
  border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: none; color: var(--cl-ink); font-weight: 400;
  transition: border-color .22s var(--cl-out), background-color .22s var(--cl-out), color .22s var(--cl-out), scale .12s var(--cl-out);
}
html .cl-pill:hover, html .cl-btn:hover, html .cx-pill:hover, html .pf-btn:hover, html .pf-door:hover, html .pf-more:hover { border-color: var(--cl-line-3); background: var(--cl-hover); color: var(--cl-ink); box-shadow: none; translate: none; }
html .cl-pill i, html .cl-pill:hover i, html .cx-pill > i { color: var(--cl-ink-3); }
html .cx-btn, html .pf-btn--fill, html .lb-empty .dx-btn, html .cl-empty .dx-btn, html .set-save {
  border: 0; background: var(--cl-ink) !important; color: var(--cl-surface) !important; box-shadow: none !important; font-weight: 400;
  transition: background-color .22s var(--cl-out), scale .12s var(--cl-out);
}
html .cx-btn:hover, html .pf-btn--fill:hover, html .lb-empty .dx-btn:hover, html .cl-empty .dx-btn:hover, html .set-save:hover { background: color-mix(in srgb, var(--cl-ink) 86%, var(--cl-surface)) !important; translate: none; box-shadow: none !important; }
html :is(.cl-pill, .cl-btn, .cx-pill, .cx-btn, .pf-btn, .pf-more, .set-save):active { scale: .97; }
/* people without a photo: their initials in grey (the page's avatar helper paints a colour inline, so this needs the weight) */
html span.grid.rounded-full.text-white[style*="hsl("], html [data-id-avatar][style*="hsl("] { background: var(--cl-surface-2) !important; color: var(--cl-ink-2) !important; }
html .cl-face--none, html .lb-face--none { background: var(--cl-surface-2); color: var(--cl-ink-2); font-weight: 400; }
/* covers drawn in a field's colour stay, they are the picture of the post; their word in the corner goes */
html .lb-row .dx-cover, html .pf-row .dx-cover { border-radius: 12px; }

/* 2. Saved ------------------------------------------------------------------------------------------------------------ */
html .lb { gap: 24px; }
html #libTabs.lb-tabs { animation: cl-rise .55s var(--cl-spring) .1s both; }
html .lb-row__title { font-size: 16.5px; font-weight: 400; line-height: 1.34; color: var(--cl-ink); }
html .lb-row__meta { font-size: 13.5px; color: var(--cl-ink-4); }
html .lb-row { border-radius: 14px; }
@media (hover: hover) { html .lb-row:hover { background: var(--cl-hover); } html .lb-row:hover .dx-cover img { scale: 1.02; } }
html .lb-row + .lb-row::before, html .lb-person + .lb-person::before { background: var(--cl-line); }
html .lb-x--save { border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: none; color: var(--cl-ink-2); width: 44px; height: 44px; }
html .lb-x--save:hover { border-color: var(--cl-line-3); color: var(--cl-ink); background: var(--cl-surface); }
html .lb-sec h2 { font-family: var(--cl-serif); font-size: 24px; font-weight: 400; letter-spacing: -.01em; }
html .lb-sec > header span { font-size: 14px; color: var(--cl-ink-4); }
html .lb-empty { gap: 20px; padding: 56px 24px; border: 1px solid var(--cl-line); border-radius: 20px; background: var(--cl-surface); animation: cl-rise .55s var(--cl-spring) .14s both; }
html .lb-empty p { font-size: 17px; color: var(--cl-ink-2); }
html .lb-empty .dx-btn { height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; }
html .lb-chip { border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: none; color: var(--cl-ink); font-weight: 400; }
html .lb-chip[aria-pressed="true"] { border-color: transparent; background: var(--cl-ink); color: var(--cl-surface); font-weight: 400; }
html .lb-chip[aria-pressed="true"] small { color: color-mix(in srgb, var(--cl-surface) 72%, transparent); }
html .lb-topic { border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: none; }
html .lb-topic__open { font-weight: 400; }
html .lb-bars i.on { background: var(--cl-ink); }
html .lb-person__who b { font-weight: 400; font-size: 16px; }
html .lb-person__who span { font-size: 13.5px; color: var(--cl-ink-4); }

/* 3. Discussions ------------------------------------------------------------------------------------------------------- */
html .cx-head { margin-bottom: 28px; }
html .cx-btn { height: 46px; padding: 0 22px 0 18px; font-size: 15px; animation: cl-rise .55s var(--cl-spring) .08s both; }
html .cx-bar { margin-bottom: 18px; animation: cl-rise .55s var(--cl-spring) .1s both; }
/* consults.js marks a short list (fewer than six): the search is not drawn, and the switch only when it has two kinds to tell apart */
html .cx-bar.cx-few .cx-search { display: none; }
html #consultTabs [role="tab"][hidden] { display: none !important; }
html .cx-bar.cx-one { display: none; }
html .cx-search #consultSearch { height: 46px; border: 1px solid var(--cl-line-2); background: var(--cl-surface); font-size: 15px; box-shadow: none; }
html .cx-search #consultSearch:focus { border-color: var(--cl-lilac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cl-lilac) 16%, transparent); }
html .cx-rows { animation: cl-rise .55s var(--cl-spring) .14s both; }
html .cx-rows > li + li { border-top-color: var(--cl-line); }
html .cx-row { padding: 20px 24px; }
@media (hover: hover) { html .cx-row:hover { background: var(--cl-hover); } }
html .cx-row__title { margin-top: 8px; font-family: var(--cl-serif); font-size: 21px; font-weight: 400; line-height: 1.28; letter-spacing: -.008em; color: var(--cl-ink); }
html .cx-row.is-unread .cx-row__title { font-weight: 400; }
html .cx-row__q { font-size: 15px; color: var(--cl-ink-3); }
html .cx-row__meta { font-size: 14px; color: var(--cl-ink-4); }
html .cx-row__n b { font-weight: 400; color: var(--cl-ink); }
/* the facts on a row: the state as a word with a dot; the specialty chip goes (it is on the discussion's page) */
html .cx-st { font-size: 13.5px; font-weight: 400; --tone: var(--cl-ink-2); --ink: var(--cl-ink-2); }
html .cx-st--resolved { --tone: var(--cl-ok-ink); --ink: var(--cl-ok-ink); }
html .cx-st--closed { --tone: var(--cl-ink-4); --ink: var(--cl-ink-4); }
html .cx-st--pill { background: var(--cl-surface-2); }
html .cx-row .cx-chip { display: none; }
html .cx-chip { background: var(--cl-surface-2); color: var(--cl-ink-2); font-weight: 400; }
html .cx-new { background: var(--cl-ink); color: var(--cl-surface); font-weight: 400; }
html .cx-av { box-shadow: 0 0 0 2px var(--cl-surface); }
html .cx-av--more, html .cx-mail { background: var(--cl-surface-2); color: var(--cl-ink-2); font-weight: 400; }
html .cx-empty { border: 1px solid var(--cl-line); border-radius: 20px; background: var(--cl-surface); box-shadow: none; }
html .cx-empty__ic { background: var(--cl-surface-2); color: var(--cl-ink); }
html .cx-empty h2 { font-family: var(--cl-serif); font-size: 26px; font-weight: 400; }
html .cx-none { border: 1px solid var(--cl-line); border-radius: 20px; font-size: 16px; color: var(--cl-ink-3); }
html .cx-link { font-weight: 400; color: var(--cl-ink); text-decoration-color: var(--cl-line-3); }

/* one discussion: a readable conversation, one reply field at the foot */
html .cx-title { font-family: var(--cl-serif); font-size: clamp(30px, 4.6cqi, 40px); font-weight: 400; letter-spacing: -.018em; line-height: 1.14; color: var(--cl-ink); animation: cl-rise .55s var(--cl-spring) .04s both; }
html .cx-facts { font-size: 14px; color: var(--cl-ink-4); }
html .cx-by b { font-weight: 400; font-size: 16px; }
html .cx-by small { font-size: 14px; color: var(--cl-ink-4); }
/* the question is read: the serif at reading size, a hairline beside it in place of the accent */
html .cx-q { padding-left: 22px; border-left: 2px solid var(--cl-line-3); font-family: var(--cl-serif); font-size: 21px; line-height: 1.55; color: var(--cl-ink); }
html .cx-ctx h2 { font-size: 16px; font-weight: 400; color: var(--cl-ink); }
html .cx-ctx dt { font-size: 14px; color: var(--cl-ink-4); }
html .cx-ctx dd { font-size: 16px; color: var(--cl-ink-2); }
html .cx-priv > i, html .cx-done > i { color: var(--cl-ok-ink); }
html .cx-priv, html .cx-done { font-size: 14px; color: var(--cl-ink-3); }
html .cx-back { font-weight: 400; }
html .cx-talk__head h2 { font-family: var(--cl-serif); font-size: 26px; font-weight: 400; letter-spacing: -.01em; }
html .cx-num { font-size: 16px; font-weight: 400; color: var(--cl-ink-4); }
html .cx-reply + .cx-reply { border-top-color: var(--cl-line); }
html .cx-reply__head { font-size: 14px; color: var(--cl-ink-4); }
html .cx-reply__head b { font-size: 16px; font-weight: 400; color: var(--cl-ink); }
html .cx-reply__text { margin-top: 8px; font-size: 17px; line-height: 1.6; color: var(--cl-ink); }
html .cx-subreply .cx-reply__text { font-size: 16px; color: var(--cl-ink-2); }
html .cx-tag { background: var(--cl-surface-2); color: var(--cl-ink-2); font-size: 13px; font-weight: 400; height: 26px; }
html .cx-tag--yes { background: color-mix(in srgb, var(--cl-ok-ink) 12%, transparent); color: var(--cl-ok-ink); }
html .cx-at { font-weight: 400; color: var(--cl-ink); text-decoration: underline; text-decoration-color: var(--cl-line-3); text-underline-offset: 3px; }
html .cx-act { font-size: 14px; font-weight: 400; color: var(--cl-ink-3); height: 36px; }
html .cx-act[aria-pressed="true"] { color: var(--cl-ink); }
html .cx-text { font-weight: 400; color: var(--cl-ink-3); }
/* the reply field: one white pill with a hairline, lilac when it is being written in, an ink round send */
html .cx-dock { border: 1px solid var(--cl-line-2); border-radius: 28px; background: var(--cl-surface); box-shadow: var(--cl-shadow-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
html .cx-dock:focus-within { border-color: var(--cl-lilac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cl-lilac) 14%, transparent), var(--cl-shadow-2); }
html .cx-field textarea { font-size: 16.5px; color: var(--cl-ink); }
html .cx-field textarea::placeholder { color: var(--cl-ink-4); }
html .cx-send { width: 42px; height: 42px; background: var(--cl-ink); color: var(--cl-surface); box-shadow: none; }
@media (hover: hover) { html .cx-send:hover { background: color-mix(in srgb, var(--cl-ink) 86%, var(--cl-surface)); box-shadow: none; } }
html .cx-qchip { border: 1px solid var(--cl-line-2); font-weight: 400; color: var(--cl-ink); }
html .cx-field--sm { border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: none; }
html .cx-field--sm:focus-within, html .cx [data-cbubble] textarea:focus { border-color: var(--cl-lilac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cl-lilac) 14%, transparent); }
html .cx [data-cbubble] textarea { border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: none; }
@container cxpage (min-width: 860px) {
  html .cx-foot::before { background: linear-gradient(to top, var(--cl-surface) 60%, color-mix(in srgb, var(--cl-surface) 0%, transparent)); -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: none; mask-image: none; }
}
html .cx-closed { background: var(--cl-surface-2); color: var(--cl-ink-3); }
html .cx-note { font-size: 13px; color: var(--cl-ink-4); }
html .cx #consultEditPanel, html .cx #consultInvitePick { border: 1px solid var(--cl-line); background: var(--cl-surface); box-shadow: none; }
/* the margin: where it stands, who is in it; ink for what is done, grey for what is not yet */
html .cx-track > li:not(:last-child)::after { background: var(--cl-line-2); }
html .cx-track > li.is-done:not(:last-child)::after { background: var(--cl-ink); }
html .cx-node { box-shadow: inset 0 0 0 1.5px var(--cl-line-3); font-weight: 400; color: var(--cl-ink-3); }
html .cx-track > li.is-done > .cx-node { background: var(--cl-ink); color: var(--cl-surface); }
html .cx-track > li.is-now > .cx-node { background: var(--cl-surface); box-shadow: inset 0 0 0 2px var(--cl-ink); }
html .cx-track > li.is-now > .cx-node::before { background: var(--cl-ink); }
html .cx-track > li.is-end > .cx-node { background: var(--cl-ok-ink); color: var(--cl-surface); }
html .cx-track b { font-size: 14px; font-weight: 400; }
html .cx-track small { font-size: 13px; color: var(--cl-ink-4); }
html .cx-block > h2 { font-size: 14px; font-weight: 400; color: var(--cl-ink-3); }
html .cx-peer b { font-size: 15px; font-weight: 400; }
html .cx-peer small, html .cx-peer__st { font-size: 13px; color: var(--cl-ink-4); }
html .cx-peer__st.is-yes { color: var(--cl-ok-ink); }
html .cx-other__t { font-size: 15px; font-weight: 400; }
html .cx-other__m { font-size: 13px; color: var(--cl-ink-4); }
html .cx-report { border-top-color: var(--cl-line); }
html .cx-report :is(button, p) { font-size: 13px; font-weight: 400; color: var(--cl-ink-4); }
@media (hover: hover) { html .cx-report button:hover { color: var(--cl-bad-ink); } html .cx-other:hover { background: var(--cl-hover); } }
html .cx-where, html .cx-more { border-color: var(--cl-line); }
/* the sheet that starts a discussion: its own pieces (the shared steps of the sheet are the composer's, in clean-post.css) */
html #modalConsult #consultPaper { border-bottom-color: var(--cl-line-2); }
html #modalConsult #consultPaper:focus-within { border-bottom-color: var(--cl-lilac); }
html #modalConsult #consultCase { font-family: var(--cl-serif); font-size: 22px; line-height: 1.5; color: var(--cl-ink); }
html #modalConsult #consultCase::placeholder { color: var(--cl-ink-4); }
html #modalConsult .consult-linked { background: var(--cl-surface-2); color: var(--cl-ink-2); }
html .cx-fine { font-size: 14px; color: var(--cl-ink-4); }

/* 4. Clinicians -------------------------------------------------------------------------------------------------------- */
/* the four segments (All, On BiteSized, Not yet claimed, Showcase profiles) told apart kinds of account a doctor does not
   need to choose between; the search finds anyone, and each tile still wears its own mark */
html .cl-seg, html .cl-note { display: none !important; }
html .cl-bar { animation: cl-rise .55s var(--cl-spring) .08s both; }
html .cl-search { max-width: 520px; height: 48px; border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: none; }
html .cl-search:hover { border-color: var(--cl-line-3); }
html .cl-search:focus-within { border-color: var(--cl-lilac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cl-lilac) 16%, transparent); }
html .cl-search input { font-size: 16px; color: var(--cl-ink); }
html .cl-search input::placeholder, html .cl-search > i { color: var(--cl-ink-4); }
html .cl-pill { height: 46px; padding: 0 20px 0 16px; font-size: 15px; animation: cl-rise .55s var(--cl-spring) .08s both; }
html .cl-grid { gap: 16px; }
html .cl-tile { padding: 28px 18px 20px; border: 1px solid var(--cl-line); border-radius: 22px; background: var(--cl-surface); box-shadow: none; animation: cl-rise .55s var(--cl-spring) both; transition: border-color .32s var(--cl-out), box-shadow .42s var(--cl-out); }
html .cl-grid > :nth-child(2) { animation-delay: .04s; } html .cl-grid > :nth-child(3) { animation-delay: .08s; } html .cl-grid > :nth-child(4) { animation-delay: .12s; }
html .cl-grid > :nth-child(5) { animation-delay: .16s; } html .cl-grid > :nth-child(6) { animation-delay: .2s; } html .cl-grid > :nth-child(n+7) { animation-delay: .24s; }
@media (hover: hover) { html .cl-tile:hover { translate: none; border-color: var(--cl-line-2); box-shadow: var(--cl-shadow-2); } html .cl-tile:hover .cl-name { text-decoration-color: var(--cl-line-3); } }
html .cl-tile--away { border-style: dashed; border-color: var(--cl-line-2); background: transparent; }
html .cl-name { font-family: var(--cl-serif); font-size: 20px; font-weight: 400; letter-spacing: -.005em; line-height: 1.25; color: var(--cl-ink); }
html .cl-seal { color: var(--cl-ink-2); }
html .cl-spec { font-size: 14.5px; color: var(--cl-ink-2); }
html .cl-fact { font-size: 13.5px; color: var(--cl-ink-4); }
html .cl-tag { background: var(--cl-surface-2); color: var(--cl-ink-2); font-weight: 400; }
html .cl-act .cl-btn { height: 44px; min-width: 112px; font-size: 15px; }
html .cl-tile .follow-btn { height: 44px; min-width: 112px; padding: 0 18px; font-size: 15px; }
html .cl-tile .follow-btn.is-following, html .cl-tile .follow-btn[aria-pressed="true"] { border-color: transparent; background: var(--cl-surface-2); color: var(--cl-ink); }
html .cl-inv__ic { background: var(--cl-surface-2); color: var(--cl-ink-3); }
html .cl-inv__who b { font-weight: 400; }
html .cl-empty { border: 1px solid var(--cl-line); border-radius: 20px; background: var(--cl-surface); }
html .cl-empty p { font-size: 16px; color: var(--cl-ink-2); }

/* 5. A profile (someone else's, the doctor's own, and the public /u/ page) -------------------------------------------- */
/* Sergio, 9 November: the page must be more visual, it was flat and dull. The head is a card with a cover: the system's one
   colour moment, a still field of soft lilac (large blurred shapes on white; the dark lilac tokens in dark), drifting very
   slowly and never following the pointer. No account carries a cover picture of its own today; if one ever does, it goes
   here in place of the field. The field written large is not drawn. The portrait sits large on the cover's lower edge in a
   white ring, the name in the serif beside it, Follow and Copy link to the right. The QR button is not drawn here; the
   doctor's own code stays in Settings, Public profile. */
html .pf, html .pf-mini { --pf-l1: #E6E2FF; --pf-l2: #C9C2FF; --pf-l3: #ECE0FA; --pf-l4: rgba(139, 124, 255, .55); --pf-base: #FBFAFF; }
html:not(.light) .pf, html:not(.light) .pf-mini { --pf-l1: #2B2742; --pf-l2: #3C3568; --pf-l3: #2E2547; --pf-l4: rgba(168, 157, 255, .34); --pf-base: #1F1F1F; }
html .pf-band { display: block !important; position: relative; height: 208px; overflow: hidden; border-radius: 16px; background: var(--pf-base) !important; box-shadow: inset 0 0 0 1px var(--cl-line) !important; container-type: normal; }
html .pf-band::before {
  content: ''; position: absolute; inset: -30%; pointer-events: none;
  background:
    radial-gradient(24% 42% at 22% 66%, var(--pf-l2), transparent 72%),
    radial-gradient(30% 46% at 45% 30%, var(--pf-l3), transparent 74%),
    radial-gradient(20% 38% at 66% 64%, var(--pf-l4), transparent 72%),
    radial-gradient(30% 50% at 86% 34%, var(--pf-l2), transparent 74%),
    radial-gradient(22% 36% at 8% 24%, var(--pf-l1), transparent 72%),
    radial-gradient(16% 30% at 36% 78%, var(--pf-l4), transparent 72%);
  filter: blur(22px); transform: translate3d(-2%, 0, 0);
  animation: pf-drift 52s ease-in-out infinite alternate;
}
html .pf-band::after, html .pf-band__word { display: none !important; }
@keyframes pf-drift { from { transform: translate3d(-2%, 1%, 0) scale(1); } to { transform: translate3d(2%, -2%, 0) scale(1.06); } }
html .pf-head { padding: 10px 10px 30px; border: 1px solid var(--cl-line); border-radius: 26px; background: var(--cl-surface); box-shadow: none; animation: cl-rise .55s var(--cl-spring) both; }
html .pf-headrow { grid-template-columns: 136px minmax(0, 1fr) auto; column-gap: 28px; align-items: start; padding: 0 26px 0 30px; }
html .pf-portrait { width: 136px; height: 136px; margin-top: -68px; }
html .pf-portrait__in { box-shadow: 0 0 0 6px var(--cl-surface), 0 0 0 7px var(--cl-line), var(--cl-shadow-2); }
html .pf-id { padding-top: 22px; }
html .pf-name { font-family: var(--cl-serif); font-size: clamp(36px, 3.4vw, 46px); font-weight: 400; letter-spacing: -.02em; line-height: 1.06; color: var(--cl-ink); }
html .pp2-degree { font-family: var(--cl-sans); font-weight: 400; color: var(--cl-ink-4); }
html .pf-facts { margin-top: 12px; font-size: 15.5px; color: var(--cl-ink-2); }
html .pf-facts > span > i, html .pf-brief > span > i { color: var(--cl-ink-4); }
html .pf-brief { font-size: 14px; color: var(--cl-ink-4); }
html .pf-mark, html .pf-mark.is-verified, html .pf-mark--demo { background: var(--cl-surface-2); color: var(--cl-ink-2); font-weight: 400; }
html .pf-mark.is-verified > i { color: var(--cl-ink-2); }
html .pp2-hsub { font-size: 13.5px; color: var(--cl-ink-4); }
html .pf-actions { padding-top: 26px; align-self: start; }
html .pf [data-pp2-flipqr] { display: none !important; }
html .pf .follow-btn.pf-follow { height: 46px; min-width: 124px; padding: 0 22px; font-size: 15px; font-weight: 400; }
html .pf .follow-btn.pf-follow:not(.is-following) { border-color: transparent; background: var(--cl-ink); color: var(--cl-surface); box-shadow: none; }
html .pf .follow-btn.pf-follow:not(.is-following):hover { background: color-mix(in srgb, var(--cl-ink) 86%, var(--cl-surface)); color: var(--cl-surface); box-shadow: none; }
html .pf .follow-btn.pf-follow.is-following { border: 1px solid var(--cl-line-2); background: var(--cl-surface); color: var(--cl-ink); }
html .pf-icon { width: 46px; height: 46px; border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: none; color: var(--cl-ink-2); }
html .pf-icon:hover { border-color: var(--cl-line-3); color: var(--cl-ink); box-shadow: none; }
html .pf-icon--plain { border-color: transparent; background: transparent; }
html .pf-own { font-size: 14px; color: var(--cl-ink-3); }
html .pf-brand { font-weight: 400; }
html .pf-brand__mark { background: var(--cl-ink) !important; color: var(--cl-surface) !important; }
html .pf-claim { border: 1px solid var(--cl-line); background: var(--cl-surface-2); box-shadow: none; }
html .pf-claim__ic { background: var(--cl-surface); color: var(--cl-ink); }
/* the bar of parts: the pills sit still under the head (no island of glass sliding to the middle) */
html .pf-bar { position: static !important; }
html .pf-bar.is-stuck .pf-seg { translate: none !important; border: 0 !important; background: color-mix(in srgb, var(--cl-surface) 94%, transparent) !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
html .pf-bar { animation: cl-rise .55s var(--cl-spring) .08s both; }
html .pf-bar.is-stuck { background: var(--cl-surface); }
html .pf-stats b { font-weight: 400; }
html .pf-h2 { font-family: var(--cl-serif); font-size: 26px; font-weight: 400; letter-spacing: -.01em; }
html .pf-h3, html .pv-sec__title { font-size: 17px; font-weight: 400; }
html .pf-sub { font-size: 14px; color: var(--cl-ink-4); }
html .pf-bio { font-family: var(--cl-serif); font-size: 20px; line-height: 1.6; color: var(--cl-ink); }
html .pf-line, html .pf-lines { border-color: var(--cl-line); }
html .pf-line dt { font-size: 14px; color: var(--cl-ink-4); }
html .pf-line dd { font-size: 16px; }
/* the posts as cards with their pictures: the one that leads wide, the picture on top; the rest two to a row on a wide
   screen, one on a phone; a post without a picture is a quiet text card with its summary (no drawing in its place) */
html .pf-lead { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; border: 1px solid var(--cl-line); border-radius: 22px; background: var(--cl-surface); box-shadow: none; transition: border-color .32s var(--cl-out), box-shadow .42s var(--cl-out); }
html .pf-lead .dx-cover { width: 100%; aspect-ratio: 2.2 / 1; border-radius: 0; }
html .pf-lead__body { padding: 22px 26px 24px; }
html .pf-lead--plain .pf-lead__body { padding: 28px 30px 26px; }
html .pf-lead__title :is(a, button)::after { border-radius: 22px; }
html #pp2-posts .pf-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; border: 0; border-radius: 0; background: transparent; }
html #pp2-posts .pf-list > li + li::before { display: none; }
html #pp2-posts .pf-list > li { min-width: 0; animation: cl-rise .5s var(--cl-spring) both; }
html #pp2-posts .pf-row { display: flex; height: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; border: 1px solid var(--cl-line); border-radius: 20px; background: var(--cl-surface); transition: border-color .32s var(--cl-out), box-shadow .42s var(--cl-out); }
@media (hover: hover) { html #pp2-posts .pf-row:hover { background: var(--cl-surface); border-color: var(--cl-line-2); box-shadow: var(--cl-shadow-2); } }
html #pp2-posts .pf-row .dx-cover { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 0; }
html #pp2-posts .pf-row__txt { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
html #pp2-posts .pf-row__title { font-family: var(--cl-serif); font-size: 19px; font-weight: 400; line-height: 1.28; letter-spacing: -.006em; -webkit-line-clamp: 3; color: var(--cl-ink); }
html #pp2-posts .pf-row__sum { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; font-size: 15px; line-height: 1.5; color: var(--cl-ink-2); }
html #pp2-posts .pf-row .pf-meta { margin-top: auto; padding-top: 4px; }
html #pp2-posts .pf-row--plain .pf-row__txt { gap: 10px; padding: 22px 22px 20px; }
html #pp2-posts .pf-row--plain .pf-row__title { font-size: 21px; }
/* a video post: a play mark on its picture */
html #pp2-posts .pf-row--video .dx-cover::before { content: ''; position: absolute; top: 50%; left: 50%; z-index: 2; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--cl-surface) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%231A1A1A'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: var(--cl-shadow-2); }
@media (hover: hover) { html .pf-lead:hover { border-color: var(--cl-line-2); box-shadow: var(--cl-shadow-2); } html .pf-lead:hover .dx-cover img { scale: 1.02; } }
html .pf-lead__title { font-family: var(--cl-serif); font-size: 28px; font-weight: 400; letter-spacing: -.012em; line-height: 1.24; }
html .pf-lead__sum { font-size: 16px; color: var(--cl-ink-2); }
html .pf-tag { background: var(--cl-surface-2); color: var(--cl-ink-2); font-weight: 400; }
html .pf-meta { font-size: 13.5px; color: var(--cl-ink-4); }
html .pf-row:hover { background: var(--cl-hover); }
html .pf-row:hover .dx-cover img, html .pf-lead:hover .dx-cover img { scale: 1.02; }
html .pf-row__title { font-size: 16px; font-weight: 400; }
html .pf-list > li + li::before { background: var(--cl-line); }
/* topics as quiet chips (no count in them: the page does not count, as Jeremy asked on 21 October) */
html .pf-chip { height: 40px; border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: none; font-size: 14px; font-weight: 400; color: var(--cl-ink); }
html .pf-chip small { display: none; }
html .pf-chip:hover { border-color: var(--cl-line-3); color: var(--cl-ink); }
html .pf-chip[aria-pressed="true"] { border-color: transparent; background: var(--cl-ink); color: var(--cl-surface); font-weight: 400; }
html .pp2-unclaimed-label { font-size: 15px; color: var(--cl-ink-2); }
html .pp2-unclaimed-label strong { font-weight: 400; color: var(--cl-ink); }
html .pf-empty { border: 1px solid var(--cl-line); color: var(--cl-ink-3); }
html .pp2-reel-card { border: 1px solid var(--cl-line); box-shadow: none; }
/* (under the pointer the card keeps its place and its frame: only the moving picture fades in, views/profile.css) */
html .pf-reel__title, html .pv-copy__title { font-weight: 400; }
html .pv-arrow { border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: var(--cl-shadow-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
html .pv-arrow:hover { scale: 1; color: var(--cl-ink); }
html .pf-reel__kind { background: var(--cl-surface); -webkit-backdrop-filter: none; backdrop-filter: none; font-weight: 400; }
html .pv-viewer__title { font-family: var(--cl-serif); font-weight: 400; }
html .pv-viewer__step, html .pv-viewer__close { color: var(--cl-ink-2); }
html .pv-viewer__step:hover, html .pv-viewer__close:hover { background: var(--cl-hover); color: var(--cl-ink); }
html .pf-back { font-weight: 400; }
html .pf-book { border: 1px solid var(--cl-line); border-radius: 20px; background: var(--cl-surface); box-shadow: none; }
html .pf-todo { border: 1px dashed var(--cl-line-2); }
html .pf-todo__list a { font-weight: 400; color: var(--cl-ink); }
html .pf-side__lines .pf-line dt { font-size: 13px; color: var(--cl-ink-4); }
html .pf-side__lines .pf-line dd { font-size: 15px; }
html .pf-peer__txt b { font-weight: 400; font-size: 15px; }
html .pf-peer__txt span { font-size: 13px; color: var(--cl-ink-4); }
html .pp2-reportline button { font-weight: 400; color: var(--cl-ink-3); }
html .pf-foot { border-top-color: var(--cl-line); font-size: 13px; color: var(--cl-ink-4); }
html .pf-none__title { font-family: var(--cl-serif); font-size: 26px; font-weight: 400; }
html .pf-standin { background: var(--cl-surface-2) !important; color: var(--cl-ink-2) !important; }
html .pf-standin::after { box-shadow: inset 0 0 0 1px var(--cl-line); }
html .pf-standin__ini { font-weight: 400; }
html .pf-mini { border: 1px solid var(--cl-line); background: var(--cl-surface); box-shadow: none; }
html .pf-mini .pf-band { height: 64px; border-radius: 0; box-shadow: none !important; }
html .pf-mini__av { box-shadow: 0 0 0 4px var(--cl-surface); }
html .pf-mini__name { font-family: var(--cl-serif); font-size: 18px; font-weight: 400; }
html .pp2-qrcard { border: 1px solid var(--cl-line); box-shadow: none; }
html .pf--public { border: 1px solid var(--cl-line); background: var(--cl-surface); box-shadow: none; }

/* 6. Settings ---------------------------------------------------------------------------------------------------------- */
/* the list on the left reads like the navigation: 46 px rows, grey icons, the open one on a grey step */
html #setNav { gap: 2px; }
html #setNav .t-eyebrow { padding-top: 18px; font-size: 13px; color: var(--cl-ink-4); }
html #setNav .t-eyebrow:first-child { padding-top: 0; }
html .set-link { min-height: 46px; gap: 12px; padding: 0 14px; border-radius: 12px; font-size: 15.5px; font-weight: 400; color: var(--cl-ink); box-shadow: none; transition: background-color .22s var(--cl-out), color .22s var(--cl-out); }
html .set-link .set-ic { font-size: 18px !important; color: var(--cl-ink-3); }
/* six entries (10 November 2026): the longest, "Display and accessibility", stays on one line */
html aside:has(> div > #setNav) { width: 252px; }
html .set-link { text-align: left; white-space: nowrap; }
html .set-link:hover { background: var(--cl-hover); color: var(--cl-ink); }
html .set-link:hover .set-ic { transform: none; color: var(--cl-ink); }
html .set-link.active { background: var(--cl-surface-2); color: var(--cl-ink); box-shadow: none; }
html .set-link.active .set-ic { color: var(--cl-ink); }
html [data-viewpanel="settings"] .set-card { border: 1px solid var(--cl-line); border-radius: 20px; background: var(--cl-surface); box-shadow: none; }
html [data-viewpanel="settings"] .set-panel { animation: cl-rise .42s var(--cl-spring) both; }
html [data-viewpanel="settings"] .lbl { font-size: 14px; font-weight: 400; color: var(--cl-ink-2); }
html [data-viewpanel="settings"] .t-eyebrow { font-size: 14px; color: var(--cl-ink-3); }
html [data-viewpanel="settings"] .fld { height: 48px; padding: 0 16px; border: 1px solid var(--cl-line-2); border-radius: 14px; background: var(--cl-surface); font-size: 16px; color: var(--cl-ink); transition: border-color .22s var(--cl-out), box-shadow .32s var(--cl-out); }
html [data-viewpanel="settings"] textarea.fld { height: auto; padding: 12px 16px !important; line-height: 1.55; }
html [data-viewpanel="settings"] .fld:hover { border-color: var(--cl-line-3); }
html [data-viewpanel="settings"] .fld:focus { border-color: var(--cl-lilac); background: var(--cl-surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cl-lilac) 16%, transparent); }
html [data-viewpanel="settings"] .fld::placeholder { color: var(--cl-ink-4); }
html [data-viewpanel="settings"] .chiptog { min-height: 40px; padding: 0 16px; border: 1px solid var(--cl-line-2); background: var(--cl-surface); font-size: 14.5px; font-weight: 400; color: var(--cl-ink); }
html [data-viewpanel="settings"] .chiptog:hover { border-color: var(--cl-line-3); background: var(--cl-hover); transform: none; }
html [data-viewpanel="settings"] .chiptog.is-on { border-color: transparent; background: var(--cl-ink); color: var(--cl-surface); }
html [data-viewpanel="settings"] .chiptog.is-on:hover { background: color-mix(in srgb, var(--cl-ink) 86%, var(--cl-surface)); }
html .sw { width: 44px; height: 26px; background: var(--cl-line-3); }
html .sw::after { top: 3px; left: 3px; width: 20px; height: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
html .sw.on, html .sw[aria-checked="true"] { background: var(--cl-ink); }
html .sw.on::after, html .sw[aria-checked="true"]::after { transform: translateX(18px); background: var(--cl-surface); }
html .set-save { height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; }
html [data-viewpanel="settings"] .set-photo { height: 40px; border: 1px solid var(--cl-line-2); border-radius: 999px; background: var(--cl-surface); font-weight: 400; }
html [data-viewpanel="settings"] [data-my-photo] { border: 0; }
html #setSheetBtn { height: 48px; border: 1px solid var(--cl-line-2); border-radius: 999px; background: var(--cl-surface); font-weight: 400; }

/* 7. Discover, a topic's page ------------------------------------------------------------------------------------------- */
html #main-content > [data-viewpanel="discover"] { max-width: 900px !important; }
html .dx { gap: 40px; }
html .dx-link { font-weight: 400; color: var(--cl-ink); text-decoration-color: var(--cl-line-3); }
html .dx-sec h2 { font-family: var(--cl-serif); font-size: 26px; font-weight: 400; letter-spacing: -.01em; }
html .dx-sec > header span { font-size: 14px; color: var(--cl-ink-4); }
html .dx-sec { animation: cl-rise .55s var(--cl-spring) .08s both; }
/* why a post is here: one quiet line above its title, not a pill */
html .dx-item__why .dx-tag, html .dx-tag, html .dx-tag--lead { height: auto; min-height: 0; padding: 0; border-radius: 0; background: transparent; font-size: 13.5px; font-weight: 400; color: var(--cl-ink-4); }
html .dx-item { border-radius: 14px; }
html .dx-item:hover { background: var(--cl-hover); }
html .dx-item:hover .dx-cover img { scale: 1.02; }
html .dx-item__title { font-family: var(--cl-serif); font-size: 20px; font-weight: 400; line-height: 1.28; letter-spacing: -.006em; color: var(--cl-ink); }
html .dx-item__sum { font-size: 15.5px; color: var(--cl-ink-2); }
html .dx-item__meta { font-size: 13.5px; color: var(--cl-ink-4); }
html .dx-list .dx-item--why + .dx-item--why { border-top-color: var(--cl-line); }
html .dx-thumb.dx-cover { border-radius: 12px; }
html .dx-cover__badge { background: rgba(26,26,26,.6); -webkit-backdrop-filter: none; backdrop-filter: none; font-weight: 400; }
html .dx-sec__none, html .dx-empty { border: 1px solid var(--cl-line); color: var(--cl-ink-3); }
html .dx-sec__act { font-weight: 400; color: var(--cl-ink); text-decoration-color: var(--cl-line-3); }
html .dx-how ul { border: 1px solid var(--cl-line); background: var(--cl-surface); color: var(--cl-ink-2); }
html .dx-how li b { font-weight: 400; }
html .dx-btn { font-weight: 400; background: var(--cl-ink); color: var(--cl-surface); }
html .dx-voice { border: 1px solid var(--cl-line); background: var(--cl-surface) !important; box-shadow: none; }
@media (hover: hover) { html .dx-voice:hover { translate: none; border-color: var(--cl-line-2); box-shadow: var(--cl-shadow-2); } html .dx-voice:hover .dx-voice__pic > * { scale: 1; } }
html .dx-voice__pic { box-shadow: 0 0 0 1px var(--cl-line); }
html .dx-voice__open b { font-family: var(--cl-serif); font-size: 19px; font-weight: 400; }
html .dx-voice__where, html .dx-voice__who small { font-size: 13.5px; color: var(--cl-ink-4); font-weight: 400; }
html .dx-voice .follow-btn { height: 44px; border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: none; font-weight: 400; color: var(--cl-ink); }
html .dx-voice .follow-btn.is-following, html .dx-voice .follow-btn.is-following:hover { border-color: transparent; background: var(--cl-surface-2); color: var(--cl-ink); }
html .dx-voice__seal { color: var(--cl-ink-2); }
/* a topic's page: the topic's name in the serif on the page itself, no coloured block behind it */
html .dx-thead.dx-cover, html.light .dx-thead.dx-cover { min-height: 0; padding: 8px 0 4px; border-radius: 0; background: transparent !important; }
html .dx-thead.dx-cover::after, html .dx-thead .dx-trace { display: none; }
html .dx-thead h1, html.light .dx-thead h1 { font-family: var(--cl-serif); font-size: clamp(34px, 4vw, 44px); font-weight: 400; letter-spacing: -.018em; color: var(--cl-ink); }
html .dx-thead p, html.light .dx-thead p { font-size: 15px; color: var(--cl-ink-3); }
html .dx-follow { height: 46px; background: var(--cl-ink); color: var(--cl-surface); box-shadow: none; font-weight: 400; }
html .dx-follow:hover { opacity: 1; background: color-mix(in srgb, var(--cl-ink) 86%, var(--cl-surface)); }
html .dx-follow[aria-pressed="true"] { border: 1px solid var(--cl-line-2); background: var(--cl-surface); color: var(--cl-ink); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html .dx-back { font-weight: 400; }

/* 8. Help: the rings, the card and the bar, in white with hairlines -------------------------------------------------------- */
html .hp-glass { border: 1px solid var(--cl-line-2) !important; border-radius: 20px; background: var(--cl-surface) !important; box-shadow: var(--cl-shadow-3) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html .hp-arrow { background: var(--cl-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
html .hp-arrow svg { stroke: var(--cl-line-2); }
html .hp-stage { background: var(--cl-surface-2) !important; }
html .hp-title { font-family: var(--cl-serif); font-size: 20px; font-weight: 400; }
html .hp-text { font-size: 15px; color: var(--cl-ink-2); }
html .hp-more { font-size: 14px; color: var(--cl-ink-4); }
html .hp-act { background: var(--cl-surface-2); color: var(--cl-ink); font-weight: 400; }
html .hp-act:hover { background: var(--cl-ink); color: var(--cl-surface); }
html .hp-btn { font-weight: 400; color: var(--cl-ink-2); height: 40px; }
html .hp-btn--go { background: var(--cl-ink); color: var(--cl-surface); box-shadow: none; }
html .hp-btn--go:hover { background: color-mix(in srgb, var(--cl-ink) 86%, var(--cl-surface)); color: var(--cl-surface); box-shadow: none; }
html .hp-count { font-weight: 400; }
html .hp-x { background: var(--cl-surface); box-shadow: 0 0 0 1px var(--cl-line-2); }
html .hp-bar { border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: var(--cl-shadow-3); -webkit-backdrop-filter: none; backdrop-filter: none; min-height: 56px; }
html .hp-bar__txt { font-size: 14.5px; color: var(--cl-ink-2); }
html .hp-bar__txt b { font-weight: 400; color: var(--cl-ink); }
html .hp-bar__mark i { background: var(--cl-ink); }
html .hp-bar__mark::after, html .hp-beacon > i::before, html .hp-beacon > i::after { border-color: var(--cl-ink); }
html .hp-beacon > i { background: var(--cl-ink); }
html .hp-dots i.is-now { background: var(--cl-ink); }
html .hp-end { font-weight: 400; }

/* 8b. Review queue: the chosen tab is the ink pill, as on every other set of tabs. clean.css turns a chosen tab's words
   white for the sliding ink pill, and this set has no sliding pill, so "Unreviewed" was white on white (10 November 2026). */
html #reviewTabs { background: var(--cl-surface); box-shadow: inset 0 0 0 1px var(--cl-line-2); }
html #reviewTabs [role="tab"] { min-height: 36px; padding: 0 16px; font-size: 14px; font-weight: 400; color: var(--cl-ink-2); }
html #reviewTabs [role="tab"]:hover { color: var(--cl-ink); }
html #reviewTabs [role="tab"][aria-selected="true"] { background: var(--cl-ink); color: var(--cl-surface); box-shadow: none; }

/* 9. Phones ----------------------------------------------------------------------------------------------------------- */
@media (max-width: 899.98px) {
  html .lb-head h1, html .cx-head h1, html .cl-head h1, html .dx-head h1, html [data-viewpanel="settings"] > header .t-h1 { font-size: 32px; }
  html .pf-head { padding: 8px 8px 22px; border-radius: 22px; }
  html .pf-band { height: 124px; border-radius: 15px; }
  html .pf-headrow { grid-template-columns: minmax(0, 1fr); row-gap: 14px; padding: 0 14px; }
  html .pf-portrait { width: 96px; height: 96px; margin-top: -48px; }
  html .pf-portrait__in { box-shadow: 0 0 0 5px var(--cl-surface), 0 0 0 6px var(--cl-line), var(--cl-shadow-2); }
  html .pf-id { padding-top: 0; }
  html .pf-actions { justify-content: flex-start; padding-top: 4px; }
  html #pp2-posts .pf-list { grid-template-columns: minmax(0, 1fr); }
  html .pf-lead__title { font-size: 23px; }
  html .pf-seg { gap: 6px; }
  html .pf-seg button { padding: 0 14px; }
  html .pf-name { font-size: 34px; }
  html .cl-name { font-size: 17px; }
  html .cl-tile { padding: 20px 10px 14px; border-radius: 20px; }
  html .cx-row { padding: 16px 18px; }
  html .cx-row__title { font-size: 19px; }
}
/* Start a discussion across the page on a phone only; on a tablet it is a pill as wide as its words (19 November 2026: it
   was a 736 px ink slab at 768) */
@media (max-width: 639.98px) {
  html .cx-head .cx-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html .pf-band::before, html #pp2-posts .pf-list > li { animation: none !important; }
  html :is(.lb-head h1, .lb-head p, .cx-head h1, .cx-head p, .cl-head h1, .cl-head p, .dx-head h1, .dx-head p, #libTabs, .lb-empty, .cx-btn, .cx-bar, .cx-rows, .cx-title, .cl-bar, .cl-pill, .cl-tile, .pf-head, .pf-bar, .dx-sec, [data-viewpanel="settings"] .set-panel) { animation: none !important; }
}

/* 10. Room to breathe (10 November 2026; the owner: the screens feel cramped) -----------------------------------------
   One rhythm under the top bar on every page: the page starts 48 px below the bar on a computer and 32 px below it on a
   phone, Home included (its own top padding goes, so the greeting stands where every other title stands). Under a title:
   its line, then the search or the switch, then the list, each a clear step apart. In Home's list a row has about 30 px
   above and below it and a hairline between rows; the author, the title, the summary and the source line stand 10 to 14 px
   apart; the words and the picture 40 px. The cards get the same air. Pictures, audio and videos are as they were.
   The Filters screen keeps its own top (it fits the window), and so does the public page of a profile. */
@media (min-width: 1024px) {
  html:not(.pf-public) #main-content:not(:has(> [data-viewpanel="filters"]:not(.hidden))) { padding-top: calc(var(--top-h) + 48px); }
}
@media (max-width: 1023.98px) {
  html:not(.pf-public) #main-content:not(:has(> [data-viewpanel="filters"]:not(.hidden))) { padding-top: 8px; }
}
html .home-head { margin-bottom: 28px; padding-top: 0; }
html .feed-toolbar, html.is-down .feed-toolbar { margin-bottom: 36px !important; }
/* the cards */
html #feed { gap: 32px; }
html article.feed-card.fc { padding: 32px 36px 0; }
html .fc-body { margin-top: 20px; }
html .fc .fc-sum { margin-top: 14px; }
html .fc .fc-why, html .fc .fc-quest { margin-top: 16px; }
html .fc-media { margin-top: 24px; }
html .fc-foot { margin: 26px -36px 0; padding: 14px 28px 14px 36px; }
@media (min-width: 640px) {
  html .fc-lead:has(.fc-tag--alert) { top: 40px; right: 36px; }
  html article.feed-card.fc.is-mine .fc-lead:has(.fc-tag--alert) { right: 78px; }
}
@media (max-width: 639.98px) {
  html #feed { gap: 24px; }
  html article.feed-card.fc { padding: 24px 22px 0; }
  html .fc-body { margin-top: 16px; }
  html .fc-foot { margin: 22px -22px 0; padding: 10px 12px 10px 22px; }
}
/* the list */
@media (min-width: 1024px) {
  html[data-home-view="list"] #feed > article.feed-card.fc { padding: 30px 12px 24px; contain-intrinsic-size: auto 236px; }
  html[data-home-view="list"] #feed > article.feed-card.fc > .fc-body { margin-top: 12px; }
  html[data-home-view="list"] #feed .fc .fc-sum { margin-top: 10px; }
  html[data-home-view="list"] #feed .fc-note, html[data-home-view="list"] #feed .fc-fix, html[data-home-view="list"] #feed .fc-held { margin-top: 12px; }
  html[data-home-view="list"] #feed .fc-media > :is(.fc-pic, .fc-video, .fc-album) { margin: 2px 0 0 40px; }
  html[data-home-view="list"] #feed .fc-media > :is(.fc-listen, .fc-link) { margin-top: 16px; }
  html[data-home-view="list"] #feed > article.feed-card.fc > .fc-foot { margin: 14px 0 0; }
  html[data-home-view="list"] #feed .fc-lead:has(.fc-tag--alert) { top: 30px; }
  html[data-home-view="list"] #feed article.feed-card.fc:has(.fc-media > :is(.fc-pic, .fc-video, .fc-album)) .fc-lead:has(.fc-tag--alert) { right: 216px; }
  html[data-home-view="list"] #feed article.feed-card.fc.is-mine:has(.fc-media > :is(.fc-pic, .fc-video, .fc-album)) .fc-lead:has(.fc-tag--alert) { right: 300px; }
  html[data-home-view="list"] #feed > .fc-divider { margin: 20px 0; }
  html[data-home-view="list"] #feed > .fc-sk { padding: 30px 12px 24px; }
}
/* the other pages: the title, its line, the search or the switch, then the list */
html .lb-head p, html .cx-head p, html .cl-head p, html .dx-head p, html [data-viewpanel="settings"] > header p { margin-top: 12px; }
html .cl, html .lb { gap: 28px; }
html .cl-head, html .lb-head { margin-bottom: 8px; }
html .cx-head { margin-bottom: 36px; }
html .cx-bar { margin-bottom: 24px; }
html [data-viewpanel="settings"] > header { margin-bottom: 36px; }
html .cx-row { padding: 26px 28px; }
html .cx-row__title { margin-top: 10px; }
html .cx-row__q { margin-top: 6px; }
@media (max-width: 1023.98px) {
  html .cl, html .lb { gap: 24px; }
  html .cl-head, html .lb-head { margin-bottom: 4px; }
  html .cx-head { margin-bottom: 28px; }
  html [data-viewpanel="settings"] > header { margin-bottom: 28px; }
}
@media (max-width: 899.98px) { html .cx-row { padding: 20px 18px; } }

/* 11. The top bar fades into the page (10 November 2026; the owner: its white ended in a hard straight edge over Home's
   soft lilac). The bar's paper stays solid behind the search field and Notifications, so they read over anything passing
   under them, and below the bar it thins out over 44 px on a computer and 32 px on a phone, on an eased curve: no edge,
   no line, no shadow, no blur. On a computer the paper comes in once the page has moved (html.is-scrolled), as before;
   on a phone the bar always has it, and while the bar is away (scrolling down) its fade goes with it. The colour is the
   page card's own (--cl-surface), so the dark look follows. */
html #appTopbar::before {
  --bar-fade: 44px;
  background: linear-gradient(to bottom,
    var(--cl-surface) 0,
    var(--cl-surface) calc(100% - var(--bar-fade)),
    color-mix(in srgb, var(--cl-surface) 92%, transparent) calc(100% - var(--bar-fade) * .84),
    color-mix(in srgb, var(--cl-surface) 74%, transparent) calc(100% - var(--bar-fade) * .66),
    color-mix(in srgb, var(--cl-surface) 50%, transparent) calc(100% - var(--bar-fade) * .48),
    color-mix(in srgb, var(--cl-surface) 27%, transparent) calc(100% - var(--bar-fade) * .3),
    color-mix(in srgb, var(--cl-surface) 9%, transparent) calc(100% - var(--bar-fade) * .14),
    color-mix(in srgb, var(--cl-surface) 0%, transparent) 100%) !important;
}
@media (min-width: 1024px) {
  html #appTopbar::before { inset: 0 0 calc(var(--bar-fade) * -1) 0; }
}
@media (max-width: 1023.98px) {
  html #appTopbar { border-bottom-color: transparent !important; background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html #appTopbar::before {
    --bar-fade: 32px;
    content: ''; position: absolute; inset: 0 0 calc(var(--bar-fade) * -1) 0; z-index: -1; pointer-events: none;
    opacity: 1; transition: opacity .2s var(--cl-out);
  }
  html #appTopbar.topbar-hidden::before { opacity: 0; }
}
