/* The profile page of a clinician, made easier to read and to move through (18 November 2026, the owner: "¿podrías mejorar
   la página de perfil de clinicians? en diseño, en navegación y en comodidad para leer y ver todo", then, on the first pass:
   the row of parts hardly showed, the top bar should leave going down, the page wants the field and a footer, a narrower
   reading column with more room before the right one, a right column quicker to read, and a band whose colour means
   something; at last: the brand's texture, with the option of a cover photo placed by the doctor). Loaded after the clean
   layer and the other place sheets, before rules-pass.css. Inks, hairlines and the soft lilac; nothing turns or follows the
   pointer.

   - The head: a lower band in BiteSized's lilac texture, or the doctor's own cover photo (views/cover-edit.js places it),
     a smaller portrait, the facts in two lines that read like a credential.
   - The row of parts is a white pill with a hairline, the part in view on a lilac plate that slides; it stays at the top
     while the page scrolls, under the top bar while that is out and at the very top once it has gone.
   - Two columns: reading on the left up to 700 px, the right column 320 px, the room between them taking the rest.
   - The right column is cards whose lines each carry a small grey picture, the label small above the value.
   - The page has the lilac field behind it and the app's footer (clean.css); its own foot keeps only the medical note. */

/* ── 1. The head: BiteSized's lilac texture, or the doctor's own cover photo ───────────────────────────────────────── */
/* the texture is the one behind Home (the lilac field's dots), on a soft lilac wash that is a little deeper at the top
   right; the owner's choice of 18 November 2026 over a colour per field. Still: it does not drift. */
html body .pf-band { height: 140px; border-radius: 18px; background:
    radial-gradient(circle at 2px 2px, color-mix(in srgb, var(--cl-lilac) 40%, transparent) 1.1px, transparent 1.6px) 0 0 / 9px 9px,
    radial-gradient(70% 140% at 85% 0%, color-mix(in srgb, var(--cl-lilac) 32%, transparent), transparent 70%),
    linear-gradient(170deg, color-mix(in srgb, var(--cl-lilac) 20%, var(--cl-surface)), color-mix(in srgb, var(--cl-lilac) 7%, var(--cl-surface))) !important; }
html:not(.light) body .pf-band { background:
    radial-gradient(circle at 2px 2px, color-mix(in srgb, var(--cl-lilac) 30%, transparent) 1.1px, transparent 1.6px) 0 0 / 9px 9px,
    radial-gradient(70% 140% at 85% 0%, color-mix(in srgb, var(--cl-lilac) 26%, transparent), transparent 70%),
    linear-gradient(170deg, color-mix(in srgb, var(--cl-lilac) 18%, var(--cl-surface)), color-mix(in srgb, var(--cl-lilac) 6%, var(--cl-surface))) !important; }
html body .pf-band::before { display: none !important; }
/* the doctor's photo fills the band, placed and zoomed as the editor showed it (the inline style carries the point and the
   zoom); a whisper of shade at the foot so the portrait's white ring still reads over a light photo */
html body .pf-band--photo { background: var(--cl-surface-2) !important; }
html body .pf-band__img { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
html body .pf-band--photo::after { content: ''; position: absolute; inset: 0; z-index: 1; display: block !important; background: linear-gradient(to top, rgba(14, 14, 18, .14), transparent 55%); pointer-events: none; }
/* the way to change it, on the doctor's own page: a small frosted pill in the band's corner */
html body .pf-head { position: relative; }
html body .pf-cover-btn { position: absolute; top: 20px; right: 20px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 12px; border: 1px solid color-mix(in srgb, var(--cl-surface) 60%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--cl-surface) 82%, transparent); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); box-shadow: 0 6px 16px -10px rgba(14, 14, 18, .4); font-size: 14px; color: var(--cl-ink); cursor: pointer; transition: background-color .18s var(--cl-out), scale .12s var(--cl-out); }
html body .pf-cover-btn > i { font-size: 16px; color: var(--cl-ink-2); }
html body .pf-cover-btn:hover { background: var(--cl-surface); }
html body .pf-cover-btn:active { scale: .97; }
html body .pf-cover-btn:focus-visible { outline: 2px solid var(--cl-lilac); outline-offset: 2px; }
html body .pf-head { padding: 8px 8px 28px; border-radius: 26px; }
html body .pf-headrow { grid-template-columns: 120px minmax(0, 1fr) auto; column-gap: 26px; padding: 0 26px 0 28px; }
html body .pf-portrait { width: 120px; height: 120px; margin-top: -60px; }
html body .pf-id { padding-top: 18px; }
html body .pf-name { font-size: clamp(34px, 3vw, 42px); }
/* who this is, read in two lines (the owner, 18 November 2026: easier to understand and digest, minimal and formal). The
   first reads like a credential: the field in ink, then the practice and the city, apart by fine hairlines, no pictures, and
   Verified as a soft lilac seal. The second is the quiet detail, each with its small picture so it says what it is. */
html body .pf-facts { gap: 6px 23px; margin-top: 12px; font-size: 16.5px; line-height: 1.4; color: var(--cl-ink-2); }
html body .pf-facts > span { position: relative; }
html body .pf-facts > span:first-child { color: var(--cl-ink); }
html body .pf-facts > span:not(.pf-mark):not(.sc-mark) > i { display: none; }
html body .pf-facts > span + span:not(.pf-mark):not(.sc-mark)::before { content: ''; position: absolute; top: 50%; left: -12px; width: 1px; height: 15px; translate: 0 -50%; background: var(--cl-line-3); }
html body .pf-facts > .pf-mark { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 9px; border-radius: 999px; background: var(--cl-surface-2); font-size: 14px; color: var(--cl-ink-2); }
html body .pf-facts > .pf-mark.is-verified { background: color-mix(in srgb, var(--cl-lilac) 14%, var(--cl-surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cl-lilac) 26%, transparent); color: var(--cl-ink); }
html body .pf-facts > .pf-mark.is-verified > i { font-size: 16px; color: color-mix(in srgb, var(--cl-lilac) 78%, var(--cl-ink)); }
html body .pf-brief { gap: 6px 22px; margin-top: 10px; font-size: 14px; color: var(--cl-ink-3); }
html body .pf-brief > span > i { font-size: 15px; color: var(--cl-ink-4); }
html body .pf-actions { gap: 10px; padding-top: 22px; }
html body .pf .follow-btn.pf-follow, html body .pf-icon, html body .pf .pf-btn { height: 44px; }
html body .pf-icon--word { gap: 8px; width: auto; padding: 0 17px 0 14px; border-radius: 999px; font-size: 14.5px; color: var(--cl-ink); }
html body .pf-icon--word > i { font-size: 17px; color: var(--cl-ink-3); }

/* ── 2. The row of parts: a white pill, the part in view on a lilac plate; at the top while the page scrolls ───────── */
/* with the top bar in view the pill sits under the bar's soft fade (44 px under it, clean-pages.css), not in it: the fade is
   drawn above the page and was veiling the pill's top (the owner, 18 November 2026) */
html body .pf-bar { --pf-top-shown: var(--pf-stick, 112px); --pf-top-away: calc(var(--frame, 12px) + 4px); position: sticky !important; top: var(--pf-top-shown); z-index: 30; min-height: 0; margin: 2px 0 -2px; padding: 8px 0; background: none !important; transition: top .46s cubic-bezier(.32,.72,0,1); }
html.is-down body .pf-bar { top: var(--pf-top-away); }
/* the two places of the row, while the top bar is in view and once it has gone, are named (and registered as lengths, so a
   script reads them as pixels): a press on a part works out where the page will stop with the place the row will have when
   the page stops, the top bar having left on the way down or come back on the way up (discover2.js goPart) */
@property --pf-top-shown { syntax: '<length>'; inherits: false; initial-value: 112px; }
@property --pf-top-away { syntax: '<length>'; inherits: false; initial-value: 16px; }
html.pf-public body .pf-bar { --pf-top-shown: calc(var(--frame, 12px) + 8px); }   /* a visitor's page: views/profile.css */
html body .pf-seg { gap: 2px !important; padding: 4px !important; border: 1px solid var(--cl-line-2) !important; border-radius: 999px !important; background: var(--cl-surface) !important; box-shadow: 0 1px 2px rgba(26, 26, 26, .05) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; transition: box-shadow .3s var(--cl-out) !important; }
/* stuck over the page it must be seen at once, over a photo too (the owner, 18 November 2026: "es apenas notorio, casi
   imperceptible"): a firmer hairline, a deeper soft shadow that lifts it off whatever passes under it, and darker words */
html body .pf-bar.is-stuck .pf-seg { border-color: color-mix(in srgb, var(--cl-ink) 16%, transparent) !important; background: var(--cl-surface) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--cl-surface) 55%, transparent), 0 14px 32px -14px rgba(14, 14, 18, .42), 0 3px 8px -4px rgba(14, 14, 18, .18) !important; }
html:not(.light) body .pf-bar.is-stuck .pf-seg { border-color: color-mix(in srgb, var(--cl-ink) 22%, transparent) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--cl-surface) 45%, transparent), 0 14px 32px -12px rgba(0, 0, 0, .7) !important; }
html body .pf-seg button { height: 38px; min-height: 38px; padding: 0 16px !important; border: 0 !important; background: transparent !important; font-size: 14.5px; font-weight: 400; color: var(--cl-ink-2) !important; }
html body .pf-seg button:hover { color: var(--cl-ink) !important; }
html body .pf-seg button[aria-current="true"] { color: var(--cl-ink) !important; background: transparent !important; font-weight: 500; }
html body .pf-seg .tab-ind { background: color-mix(in srgb, var(--cl-lilac) 24%, var(--cl-surface)) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cl-lilac) 42%, transparent) !important; transition: transform .42s var(--cl-spring), width .42s var(--cl-spring) !important; }
html body .pf-seg small { display: inline !important; font-size: 13px; color: var(--cl-ink-4) !important; }
html body .pf-seg button[aria-current="true"] small { color: var(--cl-ink-2) !important; }

/* ── 3. Two columns: reading up to 700 px on the left, 320 px on the right, the room between them takes the rest ───── */
@media (min-width: 1024px) {
  html body .pf--side .pf-cols { grid-template-columns: minmax(0, 700px) 320px; justify-content: space-between; column-gap: 56px; }
  /* the column stays in view going down and going up: sticky, its top moved by discover2.js stickSide (22 November 2026) */
  html body .pf--side .pf-side { position: sticky; top: 16px; align-self: start; gap: 16px; padding-top: 0; }
}

/* the parts: apart from each other, one heading size */
html body .pf-part + .pf-part { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--cl-line); }
html body .pf-h2 { font-size: 28px; line-height: 1.2; }
html body .pf-sechead { margin-bottom: 18px; }
html body .pf-sechead .pf-sub, html body .pf-sechead--row .pf-sub { margin-top: 6px; font-size: 14.5px; color: var(--cl-ink-3); }
html body .pf-about .pf-h2 { margin-bottom: 16px; }
html body .pf-bio { font-size: 20px; line-height: 1.62; }
html body .pf-about .pf-lines { margin-top: 22px; }
html body .pf-about .pf-line.has-ic dt > .pf-line__ic { display: none; }
html body .pf-note { margin-top: 16px; font-size: 14px; color: var(--cl-ink-4); }

/* the leading post: like a card on Home */
html body .pf-lead__body { display: flex; flex-direction: column; gap: 12px; }
html body .pf-lead__sum { font-size: 16.5px; line-height: 1.6; color: var(--cl-ink-2); }
html body .pf-lead__why { padding-left: 14px; border-left: 2px solid color-mix(in srgb, var(--cl-lilac) 75%, transparent); font-size: 15.5px; line-height: 1.55; color: var(--cl-ink-2); }
html body .pf-lead__why b { margin-right: 8px; font-size: 14px; font-weight: 400; color: var(--cl-ink-4); }
html body .pf-lead .pf-meta { margin-top: 2px; font-size: 14px; }

/* ── 4. The right column: cards, each line with a small grey picture, the label above the value ──────────────────── */
html body .pf-side > .pf-sideblock { padding: 22px 22px 18px; border: 1px solid var(--cl-line); border-radius: 22px; background: var(--cl-surface); box-shadow: none; }
html body .pf-side > .pf-sideblock > .pf-h3 { margin-bottom: 12px; font-family: var(--cl-serif); font-size: 21px; letter-spacing: -.01em; color: var(--cl-ink); }
html body .pf-side > .pf-sideblock > .pf-sub { margin: -4px 0 12px; font-size: 14px; color: var(--cl-ink-3); }
html body .pf-book .pf-book__btn { width: 100%; justify-content: center; margin-bottom: 6px; }
html body .pf-book > .pf-sub { margin: 0 0 8px !important; text-align: center; }
/* Appointments stands out (the owner, 18 November 2026: it is important, it can be cooler and catch the eye more; then: in the
   brand's colours, the button black). The card wears a soft lilac wash and a lilac hairline, a calendar in a lilac tile beside
   its name, the line about scheduling under the name, then one wide ink button, as New post is. The practice facts below wear
   lilac tiles. The field's own colour stays on the band only. */
html body .pf-side > .pf-book { display: flex; flex-direction: column; padding: 22px 22px 16px; border-color: color-mix(in srgb, var(--cl-lilac) 32%, var(--cl-line)); background: linear-gradient(170deg, color-mix(in srgb, var(--cl-lilac) 11%, var(--cl-surface)) 0%, var(--cl-surface) 60%); box-shadow: 0 14px 34px -26px color-mix(in srgb, var(--cl-lilac) 70%, transparent); }
html:not(.light) body .pf-side > .pf-book { border-color: color-mix(in srgb, var(--cl-lilac) 30%, var(--cl-line)); background: linear-gradient(170deg, color-mix(in srgb, var(--cl-lilac) 14%, var(--cl-surface)) 0%, var(--cl-surface) 62%); box-shadow: none; }
html body .pf-side > .pf-book > .pf-book__h { order: 0; display: flex; align-items: center; gap: 12px; margin-bottom: 6px; font-size: 23px; }
html body .pf-book__ic { display: grid; flex: none; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--cl-lilac) 18%, var(--cl-surface)); font-size: 21px; color: color-mix(in srgb, var(--cl-lilac) 72%, var(--cl-ink)); }
html:not(.light) body .pf-book__ic { background: color-mix(in srgb, var(--cl-lilac) 26%, var(--cl-surface)); color: color-mix(in srgb, var(--cl-lilac) 70%, var(--cl-ink)); }
html body .pf-side > .pf-book > .pf-sub { order: 1; margin: 0 0 16px 54px !important; text-align: left !important; font-size: 14px; color: var(--cl-ink-3); }
html body .pf .pf-book .pf-book__btn { order: 2; display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 50px; margin: 0 0 8px; border: 0 !important; border-radius: 999px; background: var(--cl-ink) !important; color: var(--cl-surface) !important; font-size: 15.5px; font-weight: 400; box-shadow: 0 10px 22px -12px rgba(26, 26, 26, .5) !important; transition: background-color .18s var(--cl-out), box-shadow .25s var(--cl-out), scale .12s var(--cl-out); }
html body .pf .pf-book .pf-book__btn > i { font-size: 18px; color: var(--cl-surface) !important; }
html body .pf .pf-book .pf-book__btn:hover { background: color-mix(in srgb, var(--cl-ink) 86%, var(--cl-surface)) !important; box-shadow: 0 14px 26px -12px rgba(26, 26, 26, .55) !important; }
html body .pf .pf-book .pf-book__btn:active { scale: .98; }
html body .pf .pf-book .pf-book__btn:focus-visible { outline: 2px solid var(--cl-lilac); outline-offset: 3px; }
html:not(.light) body .pf .pf-book .pf-book__btn { box-shadow: none !important; }
html body .pf-side > .pf-book > .pf-lines { order: 3; }
html body .pf-side > .pf-book .pf-line__ic { background: color-mix(in srgb, var(--cl-lilac) 12%, var(--cl-surface)); color: color-mix(in srgb, var(--cl-lilac) 66%, var(--cl-ink)); }
html body .pf-side .pf-lines { margin: 0; border: 0; }
html body .pf-side .pf-line { position: relative; display: block; min-height: 36px; padding: 12px 0 12px 50px; border: 0; border-top: 1px solid var(--cl-line); }
html body .pf-side .pf-line:first-child { border-top: 0; }
html body .pf-side .pf-line__ic { position: absolute; top: 13px; left: 0; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: var(--cl-surface-2); font-size: 18px; color: var(--cl-ink-3); }
html body .pf-side .pf-line dt { margin-bottom: 2px; font-size: 13.5px; line-height: 1.35; color: var(--cl-ink-4); }
html body .pf-side .pf-line dd { font-size: 15.5px; line-height: 1.45; color: var(--cl-ink); }
html body .pf-side .pf-line__note { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--cl-ink-4); }
html body .pf-side .pf-check { display: flex; align-items: center; gap: 7px; }
html body .pf-side .pf-check > i { font-size: 15px; color: var(--cl-lilac); }
html body .pf-side .pf-out { display: inline-flex; max-width: 100%; align-items: center; gap: 6px; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--cl-line-3); text-underline-offset: 3px; }
html body .pf-side .pf-out:hover { text-decoration-color: currentColor; }
html body .pf-side .pf-out > i { flex: none; font-size: 14px; color: var(--cl-ink-4); }
html body .pf-peers { display: grid; gap: 2px; }
html body .pf-peer { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--cl-line); }
html body .pf-peer:first-child { border-top: 0; padding-top: 0; }
html body .pf-peer__who { min-width: 0; flex: 1; }
html body .pf-peer__txt b { font-size: 15px; color: var(--cl-ink); }
html body .pf-peer__txt span { font-size: 13.5px; color: var(--cl-ink-3); }
html body .pf-peer .follow-btn { height: 34px; padding: 0 12px; font-size: 13.5px; }

/* ── 5. Videos: white words over a dark veil in both themes ───────────────────────────────────── */
html body .pf-reel__title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 15.5px; line-height: 1.3; }
html body .pf-reel__meta { font-size: 14px; color: var(--cl-ink-4); }
html body .pp2-vfoot { display: grid; gap: 4px; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--cl-ink-4); }
html body .pp2-vfoot * { font-size: inherit; }
html body .pv-sec + .pv-sec { margin-top: 36px; }
html body .pv-sec__head { margin-bottom: 14px; }
html body .pv { --pv-ink: #fff; --pv-veil: rgba(14, 14, 18, .8); }
html body .pv-len { background: rgba(14, 14, 18, .72); color: #fff; }

/* ── 6. The foot: the app's footer closes the page (clean.css); the page's own foot keeps the medical note alone ────── */
html:not(.pf-public) body .pf-foot .pf-foot__links { display: none; }
/* the note sits on the reading column's own left edge and width, under a hairline, so the page keeps one alignment (the owner,
   18 November 2026: About on the left and the note centred under it looked odd) */
html:not(.pf-public) body .pf-foot { align-items: flex-start; max-width: 700px; margin: 40px 0 0; padding: 18px 0 0; border-top: 1px solid var(--cl-line); font-size: 13.5px; line-height: 1.55; text-align: left; color: var(--cl-ink-4); }
html:not(.pf-public) body .pf-foot p { margin: 0; padding: 0; }
/* the app's footer starts on the same left edge as the page above it */
html:not(.pf-public)[data-place="publicclin"] .cl-foot { max-width: 1120px; margin-top: 56px; padding-left: 0; padding-right: 0; }

/* ── 7. A phone: the facts flow, the row of parts under the phone's top bar ─────────────────────────────────────── */
@media (max-width: 1023.98px) {
  html body .pf-band { height: 96px; }
  html body .pf-cover-btn { top: 14px; right: 14px; height: 34px; font-size: 13.5px; }
  html body .pf-headrow { grid-template-columns: minmax(0, 1fr); padding: 0 16px 0; }
  html body .pf-portrait { width: 92px; height: 92px; margin-top: -46px; }
  html body .pf-name { font-size: 30px; }
  html body .pf-facts, html body .pf-brief { flex-direction: row !important; flex-wrap: wrap; gap: 6px 14px; }
  html body .pf-facts { font-size: 15.5px; }
  /* on a phone the line wraps, so each fact keeps its small picture instead of a hairline before it */
  html body .pf-facts > span:not(.pf-mark):not(.sc-mark) > i { display: inline; }
  html body .pf-facts > span + span::before { display: none !important; }
  html body .pf-brief { font-size: 14px; }
  html body .pf-actions { gap: 8px; padding-top: 18px; }
  html body .pf-bar { --pf-top-shown: var(--pf-stick, 56px); --pf-top-away: env(safe-area-inset-top, 0px); top: var(--pf-top-shown); padding: 6px 0 8px; }
  html.pf-public body .pf-bar { --pf-top-shown: 8px; }
  /* stuck under the phone's frosted bar, the row sits on the same frosted paper, edge to edge, and the bar's own hairline
     moves under the row: one header, no words of the page between the two */
  html body .pf-bar.is-stuck::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: color-mix(in srgb, var(--cl-surface) 90%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--cl-line); }
  html:has(.pf-bar.is-stuck) body #appTopbar { box-shadow: none !important; }
  html body .pf-seg button { height: 40px; min-height: 40px; padding: 0 14px !important; }
  html body .pf-part + .pf-part { margin-top: 40px; padding-top: 32px; }
  html body .pf-h2 { font-size: 25px; }
  html body .pf-bio { font-size: 19px; }
  html body .pf-side > .pf-sideblock { padding: 18px 18px 14px; }
  /* once the top bar has slid away (a phone says so with html.top-away, not html.is-down), the row of parts rises to the top
     of the screen with it, on the same curve; its frosted band reaches up under the status bar, so no words of the page run
     in a strip above it (19 November 2026) */
  html.top-away body .pf-bar { top: var(--pf-top-away); }
  html.top-away body .pf-bar.is-stuck::before { top: calc(0px - env(safe-area-inset-top, 0px)); }
}
/* a narrow phone: the row of parts keeps to the screen and slides sideways when its names are longer than it (Spanish at
   360-390 px); the part the reader is in is brought into view (discover2.js seeSeg), the plate under it moving with the row */
@media (max-width: 480px) {
  html body .pf-seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  html body .pf-seg button { padding: 0 10px !important; }
}
/* a tablet: Call the practice is a pill as wide as its words, not a slab across the page (19 November 2026: 698 px at 768) */
@media (min-width: 640px) and (max-width: 1023.98px) {
  html body .pf .pf-book .pf-book__btn { width: auto; align-self: flex-start; padding: 0 24px; }
}
@media (prefers-reduced-motion: reduce) { html body .pf-seg .tab-ind, html body .pf-bar { transition: none !important; } }
html.a11y-reduce-motion body .pf-seg .tab-ind, html.a11y-reduce-motion body .pf-bar { transition: none !important; }
