/* ============================================================================
 * La2etlak — 5K PUBLIC / OWNER PROFILE
 * ============================================================================
 * Ported from the locked design package:
 *
 *   docs/design/locked/2026-08-11/phase-5k-public-profile.html
 *   (modified Option C — one public profile, one canonical URL, two
 *    SERVER-RENDERED views)
 *
 * PORT, DO NOT INTERPRET. Every value below is copied from the locked source.
 *
 * -- WHAT THIS FILE OWNS -----------------------------------------------------
 * ONE family over TWO presentations of the same public data:
 *
 *   PUBLIC PROFILE   GET /users/{user}, guest and authenticated non-owner,
 *                    inside the accepted Public Shell
 *   OWNER PROFILE    GET /users/{user}?section=profile, inside the accepted
 *                    Phase 4B Account Shell
 *
 * and the language they share: the public identity hero, the statistics row,
 * the Reports / Ratings view navigation, the collection head, the report grid's
 * PLACEMENT, the ratings summary and list, the empty states, the page-position
 * line, the Report-user safety region and its in-page form, and the owner's
 * compact public-profile summary.
 *
 * -- WHAT THIS FILE DOES NOT OWN, AND MUST NEVER RE-DECLARE -------------------
 *   public shell    .hd .hdi .mainnav .util .ftr .drawer ...
 *                       -> public-shell.css
 *   account shell   .acid .acbody .acgrid .acrail .acmain .acm
 *                       -> account-shell.css
 *   report card     .rc .rcm .rcb .rcfoot .tchip .schip .nof
 *                       -> report-card.css  (5K places the grid, never the card)
 *   buttons         .btn .b-sec .b-pri .b-cta .b-quiet
 *   icons           .ico .i-*              -> foundation.css
 *   tokens          every --*              -> foundation.css
 *   paginator       .pager .pgl            -> foundation.css
 *   5I dialogs      .dlg-*                 -> dialogs-media.css (5K renders NO
 *                                             5I trigger: Report user is an
 *                                             in-page FORM, never an overlay)
 *
 * -- FAMILY PREFIX -----------------------------------------------------------
 * Every 5K-owned member carries prf-, for the reason 5E carries msg-, 5F ntf-,
 * 5G dsh-, 5H set- and 5J rcl- (ledger §42.2): the board's short names (.pub
 * .pid .med .meta .stats .empty .crumb .num .val .who .ff .fld .ctl .of .n)
 * either already have owners in this layer or are far too generic to claim.
 * Correspondence with the board is by the parity map, never by class name.
 *
 * -- SCOPE TRANSLATION -------------------------------------------------------
 *   proof                     production
 *   .pg                    ->  .la2-pg
 *   .pg.dark X / .dark X   ->  [data-bs-theme="dark"] .la2-pg X
 *   .pg[dir=rtl]           ->  [dir="rtl"] .la2-pg
 *   .pg.narrow             ->  (owner) the account shell's own 1280 edge
 *   .pg.m   (public)       ->  @media (max-width: 767.98px)
 *   .pg.m   (owner)        ->  @media (max-width: 1023.98px)
 *   .pg.ios                ->  the REAL env(safe-area-inset-bottom)
 *
 * NEITHER BREAKPOINT IS CHOSEN HERE. 767.98 is the Public Shell / Homepage /
 * Search content edge this layer already uses for a phone; 1023.98 is the
 * account shell's own collapse point, read off the 4B board and frozen by 5G.
 * 5K composes inside those two shells and adopts their edges rather than
 * inventing a third. The board's .ios class is a LABELLED SPECIMEN: production
 * honours the real inset with a 0 fallback, so an Android phone gets no iOS
 * geometry and a notch phone gets its real clearance — the same resolution 5I
 * reached for .safe / .mvsafe.
 *
 * -- THE REPORT GRID RAMP ----------------------------------------------------
 * The board declares three states and no more: 4 across on the public desktop
 * page, 3 inside the account shell, 1 on a phone. The step between 4 and 3 on
 * the PUBLIC page is not drawn by any 5K frame, so it is not invented here: it
 * is the Homepage's own ramp for the very same shared card at the very same
 * 1240/40 content measure (homepage.css .grid), adopted unchanged.
 * ========================================================================== */


/* ============================================================================
 * 1 · THE PUBLIC CONTENT SHELL   (board line 187)
 * ----------------------------------------------------------------------------
 * The shared 1240 / 40 content measure the Homepage pilot verified, plus the
 * board's own vertical rhythm. The OWNER presentation does not use this: it
 * composes inside .acmain, which the account shell already measures.
 * ========================================================================== */
.la2-pg .prf-pub {
    max-width: 1240px;
    margin: 0 auto;
    padding: 26px 40px 52px;
    min-width: 0;
}


/* ============================================================================
 * 2 · BREADCRUMB   (board lines 158-162)
 * ----------------------------------------------------------------------------
 * ONE TREE AT EVERY WIDTH. The board's 360 frame drops the "Browse" crumb and
 * its 375 frame truncates the current label; production renders the same items
 * at every width and lets the current label wrap. A crumb is content, and
 * content is not deleted at a breakpoint — the same resolution 5G, 5H and 5J
 * reached for their hand-flattened narrow frames.
 * ========================================================================== */
.la2-pg .prf-crumb {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--muted);
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.la2-pg .prf-crumb li { display: flex; align-items: center; gap: 7px; min-width: 0; }

.la2-pg .prf-crumb li + li::before { content: "/"; color: var(--edge); }

.la2-pg .prf-crumb a { display: inline-flex; align-items: center; min-height: 28px; }

.la2-pg .prf-cur { overflow-wrap: anywhere; min-width: 0; }


/* ============================================================================
 * 3 · PUBLIC IDENTITY HERO   (board lines 188-196)
 * ----------------------------------------------------------------------------
 * The name is the page's single H1 and the largest element on it. Verification
 * sits WITH the name as a compact mark; Premium and Partner sit on their own
 * line below at label scale, so a commercial badge never outweighs the person.
 * ========================================================================== */
.la2-pg .prf-phero {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.la2-pg .prf-pav {
    width: 104px;
    height: 104px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--nav);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 34px/1 'IBM Plex Sans', sans-serif;
    flex: none;
    letter-spacing: .02em;
}

[data-bs-theme="dark"] .la2-pg .prf-pav { background: var(--navSoft); }

.la2-pg .prf-pav img { width: 100%; height: 100%; object-fit: cover; }

.la2-pg .prf-pid { min-width: 0; }

.la2-pg .prf-pid h1 {
    font-size: 32px;
    line-height: 1.16;
    display: flex;
    align-items: center;
    gap: 11px;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
}

[dir="rtl"] .la2-pg .prf-pid h1 { font-size: 30px; line-height: 1.45; }

/* The verification mark is a WORD plus a visual mark, never a bare tick, and it
   is ABSENT rather than negated when an account is not verified — the design
   never publishes a negative claim about a person (board §13). */
.la2-pg .prf-vmark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 600 12.5px/1 'IBM Plex Sans', sans-serif;
    color: var(--okI);
    background: var(--okBg);
    border: 1px solid var(--okEd);
    border-radius: 999px;
    padding: 5px 11px;
    white-space: nowrap;
    flex: none;
    align-self: center;
}

[dir="rtl"] .la2-pg .prf-vmark { font-family: 'IBM Plex Sans Arabic', sans-serif; }

.la2-pg .prf-vmark .ico { width: 14px; height: 14px; }

.la2-pg .prf-bdgs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.la2-pg .prf-bdg {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 26px;
    padding: 0 11px;
    border-radius: 6px;
    font: 600 11.5px/1 'IBM Plex Sans', sans-serif;
    letter-spacing: .03em;
    white-space: nowrap;
    border: 1px solid var(--edge);
    color: var(--muted);
    background: transparent;
}

[dir="rtl"] .la2-pg .prf-bdg {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 12px;
    letter-spacing: 0;
}

.la2-pg .prf-bdg .ico { width: 14px; height: 14px; }

.la2-pg .prf-prem { color: var(--warnInk); border-color: var(--warnEdge); background: var(--warnBg); }

.la2-pg .prf-part { color: var(--secInk); border-color: var(--secEdge); background: var(--band); }

[data-bs-theme="dark"] .la2-pg .prf-part { color: var(--body); }

.la2-pg .prf-pbio {
    margin: 13px 0 0;
    font-size: 15px;
    color: var(--body);
    max-width: 70ch;
    overflow-wrap: anywhere;
}

.la2-pg .prf-pbio.prf-none { color: var(--muted); font-style: italic; }

.la2-pg .prf-pjoin {
    margin: 11px 0 0;
    font-size: 13.5px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}


/* ============================================================================
 * 4 · PUBLIC STATISTICS   (board lines 197-201)
 * ----------------------------------------------------------------------------
 * Exactly the three truthful runtime statistics, as a description list. With
 * user_ratings off, the second and third are ABSENT — never a disabled tile and
 * never a fabricated "0.0 / 5". With ratings on and none received, the count
 * prints zero and the average tile is absent, because there is no average.
 * ========================================================================== */
.la2-pg .prf-pstats {
    display: flex;
    gap: 0;
    margin: 20px 0 0;
    padding: 0;
    flex-wrap: wrap;
    border: 1px solid var(--line);
    border-radius: var(--r2);
    background: var(--band2);
    overflow: hidden;
}

.la2-pg .prf-pstats > div {
    padding: 12px 20px;
    min-width: 0;
    flex: 0 0 auto;
    border-inline-end: 1px solid var(--line);
}

.la2-pg .prf-pstats > div:last-child { border-inline-end: 0; }

.la2-pg .prf-pstats dt {
    font: 600 11.5px/1 'IBM Plex Sans', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 6px;
}

[dir="rtl"] .la2-pg .prf-pstats dt {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    letter-spacing: 0;
    text-transform: none;
    font-size: 12.5px;
}

.la2-pg .prf-pstats dd {
    margin: 0;
    font: 600 20px/1.1 'Source Serif 4', Georgia, serif;
    color: var(--head);
}

[dir="rtl"] .la2-pg .prf-pstats dd { font-family: 'Noto Naskh Arabic', serif; }

.la2-pg .prf-pstats dd .prf-u {
    font: 500 12.5px/1 'IBM Plex Sans', sans-serif;
    color: var(--muted);
    margin-inline-start: 5px;
}

[dir="rtl"] .la2-pg .prf-pstats dd .prf-u { font-family: 'IBM Plex Sans Arabic', sans-serif; }


/* ============================================================================
 * 5 · VIEW NAVIGATION — ORDINARY LINKS, NEVER TABS   (board lines 202-211)
 * ----------------------------------------------------------------------------
 * A named nav landmark holding a list of two real anchors. The selected one
 * carries aria-current="page", and it is marked by WEIGHT and an UNDERLINE and a
 * leading square as well as by colour, so the selection never depends on colour
 * alone. There is no role="tablist", no role="tab", no aria-selected, no
 * data-bs-toggle and no hidden inactive panel: the unselected collection is not
 * in the document at all.
 * ========================================================================== */
.la2-pg .prf-vnav { margin: 22px 0 20px; border-bottom: 1px solid var(--line); }

.la2-pg .prf-vnav ul {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
}

.la2-pg .prf-vnav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 16px;
    color: var(--body);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.la2-pg .prf-vnav a:hover { color: var(--act); text-decoration: none; background: var(--band); }

.la2-pg .prf-vnav a[aria-current] { color: var(--head); font-weight: 700; border-bottom-color: var(--curEdge); }

.la2-pg .prf-vnav a[aria-current]::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--curEdge);
    flex: none;
}

[data-bs-theme="dark"] .la2-pg .prf-vnav a[aria-current] { border-bottom-color: var(--act); }

[data-bs-theme="dark"] .la2-pg .prf-vnav a[aria-current]::before { background: var(--act); }

.la2-pg .prf-vnav a .prf-n {
    font: 600 12px/1 'IBM Plex Sans', sans-serif;
    color: var(--muted);
    background: var(--band);
    border-radius: 999px;
    padding: 4px 8px;
}

[dir="rtl"] .la2-pg .prf-vnav a .prf-n { font-family: 'IBM Plex Sans Arabic', sans-serif; }


/* ============================================================================
 * 6 · COLLECTION HEAD   (board lines 212-215)
 * ----------------------------------------------------------------------------
 * EVERY number printed here comes from the paginator's own total() or from the
 * statistics bag the page has already built. Nothing on this page counts
 * anything a second time.
 *
 * The owner's H1 sits in this block and takes 30px — which is what the board
 * RENDERS, not what it declares: the board leaves the UA's h1 { font-size:2em }
 * standing against its own 15px base. Bootstrap Reboot replaces that with
 * 2.5rem at this width, so the value has to be stated rather than inherited.
 * The same finding 5F recorded on its pager link and 5J on its row title:
 * reproduce the RENDERED RESULT, never the declaration.
 * ========================================================================== */
.la2-pg .prf-vhead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin: 0 0 16px;
}

.la2-pg .prf-vhead h1 { font-size: 30px; }

.la2-pg .prf-vhead h2 { font-size: 21px; }

.la2-pg .prf-cnt { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }

.la2-pg .prf-cnt b { color: var(--ink); font-weight: 600; }


/* ============================================================================
 * 7 · THE PUBLIC REPORT GRID — PLACEMENT ONLY   (board lines 216-217)
 * ----------------------------------------------------------------------------
 * 5K places the SHARED report card and never styles it. The board embeds its own
 * copy of the card (.rc / .med / .rb / .rt / .meta / .rfoot, a body status row
 * and a stretched title link); SHARED-COMPONENT-AUTHORITY-002 §25.1 gives that
 * component to phase-5a-search-browse.html, the only board that draws the
 * complete card, and 5G-P02 already settled that its title link is NOT
 * stretched. Declared in the parity map, never forked here.
 * ========================================================================== */
.la2-pg .prf-pgrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

/* Inside the account shell the rail takes a track, so the owner's grid is three
   across at every desktop width — the board declares exactly this. */
.la2-pg .acmain .prf-pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.la2-pg .prf-vwa { margin: 20px 0 0; display: flex; justify-content: center; }


/* ============================================================================
 * 8 · RATINGS — READ ONLY   (board lines 218-232)
 * ----------------------------------------------------------------------------
 * Every rating prints its numeric value IN WORDS beside the stars. The stars are
 * aria-hidden decoration and the value carries the meaning, so nothing depends
 * on colour or on counting glyphs. A low rating gets the SAME neutral row as a
 * high one — no red plaque, no warning icon, no dispute affordance. There is no
 * reply, no helpful vote, no filter, no sort and no rating form: the collection
 * is display-only in both presentations.
 * ========================================================================== */
.la2-pg .prf-ravg {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border: 1px solid var(--line);
    background: var(--band2);
    border-radius: var(--r2);
    padding: 14px 18px;
    margin: 0 0 18px;
}

.la2-pg .prf-ravg .prf-num { font: 600 30px/1 'Source Serif 4', Georgia, serif; color: var(--head); }

[dir="rtl"] .la2-pg .prf-ravg .prf-num { font-family: 'Noto Naskh Arabic', serif; }

.la2-pg .prf-ravg .prf-of { font-size: 13.5px; color: var(--muted); }

.la2-pg .prf-stars { display: inline-flex; gap: 3px; color: var(--warnInk); }

.la2-pg .prf-stars i {
    width: 16px;
    height: 16px;
    display: block;
    background: currentColor;
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.la2-pg .prf-stars i.prf-e { opacity: .24; }

.la2-pg .prf-rlist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--r2);
    overflow: hidden;
}

.la2-pg .prf-rrow {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.la2-pg .prf-rrow:last-child { border-bottom: 0; }

.la2-pg .prf-rhd { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0; }

.la2-pg .prf-rhd .prf-val {
    font: 600 13.5px/1 'IBM Plex Sans', sans-serif;
    color: var(--head);
    white-space: nowrap;
}

[dir="rtl"] .la2-pg .prf-rhd .prf-val { font-family: 'IBM Plex Sans Arabic', sans-serif; }

.la2-pg .prf-rhd .prf-who {
    font: 600 14.5px/1.3 'IBM Plex Sans', sans-serif;
    color: var(--head);
    min-width: 0;
    overflow-wrap: anywhere;
}

[dir="rtl"] .la2-pg .prf-rhd .prf-who { font-family: 'IBM Plex Sans Arabic', sans-serif; }

.la2-pg .prf-rhd .prf-when {
    font-size: 12.5px;
    color: var(--muted);
    margin-inline-start: auto;
    white-space: nowrap;
}

.la2-pg .prf-rcmt { margin: 0; font-size: 14px; color: var(--body); overflow-wrap: anywhere; max-width: 88ch; }

.la2-pg .prf-rcmt.prf-none { color: var(--muted); font-style: italic; font-size: 13px; }


/* ============================================================================
 * 9 · EMPTY STATES   (board line 233)
 * ----------------------------------------------------------------------------
 * A visitor is told the plain truth and nothing about drafts or moderation; the
 * OWNER gets the actionable version, because the owner already has the right to
 * that information. Neither invites anyone to rate.
 * ========================================================================== */
.la2-pg .prf-empty {
    border: 1px dashed var(--edge);
    border-radius: var(--r3);
    background: var(--band2);
    padding: 30px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}

.la2-pg .prf-empty b {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--head);
}

[dir="rtl"] .la2-pg .prf-empty b { font-family: 'Noto Naskh Arabic', serif; }

.la2-pg .prf-empty p { margin: 0; font-size: 14px; color: var(--muted); max-width: 56ch; }


/* ============================================================================
 * 10 · PAGE-POSITION LINE   (board line 165)
 * ----------------------------------------------------------------------------
 * Printed on every paginated state, INCLUDING the one where the collection fits
 * a single page and the paginator control itself is not drawn (board §08).
 * currentPage(), lastPage() and total() — no new count query.
 * ========================================================================== */
.la2-pg .prf-pgpos { text-align: center; font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }


/* ============================================================================
 * 11 · REPORT-USER SAFETY REGION   (board lines 234-238)
 * ----------------------------------------------------------------------------
 * ONE quiet secondary control at the END of the page, after the collection,
 * where it cannot compete with the person's identity or their reports. It is
 * rendered ONLY for an authenticated non-owner: a guest gets neither the control
 * nor the form markup, and the owner never reaches this partial at all.
 *
 * IT IS NOT A PHASE 5I DIALOG. There is no overlay, no scrim, no focus trap and
 * no consequence card — this file declares nothing from dialogs-media.css and
 * the page loads neither its stylesheet nor its module.
 * ========================================================================== */
.la2-pg .prf-safety {
    margin: 34px 0 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--r2);
    background: var(--band2);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.la2-pg .prf-sx { min-width: 0; flex: 1 1 320px; }

.la2-pg .prf-safety h2 {
    font-size: 15px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    color: var(--head);
}

[dir="rtl"] .la2-pg .prf-safety h2 { font-family: 'IBM Plex Sans Arabic', sans-serif; }

.la2-pg .prf-safety p { margin: 4px 0 0; font-size: 13px; color: var(--muted); max-width: 74ch; }


/* ============================================================================
 * 12 · THE IN-PAGE ABUSE-REPORT FORM   (board lines 239-256)
 * ----------------------------------------------------------------------------
 * The EXISTING mutation, composed as the board draws it: same POST /reports,
 * same CSRF token, same hidden reported_user_id, same five USER_REASONS, same
 * optional 1000-character description, same throttle, same policy, same
 * service. No new endpoint and no AJAX.
 * ========================================================================== */
.la2-pg .prf-rform {
    margin: 34px 0 0;
    border: 1px solid var(--edge);
    border-radius: var(--r3);
    background: var(--bg);
    box-shadow: var(--csh);
    padding: 20px 22px;
    max-width: 640px;
}

.la2-pg .prf-rform h2 { font-size: 20px; margin-bottom: 6px; }

.la2-pg .prf-lede2 { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }

.la2-pg .prf-fld { margin: 0 0 15px; }

.la2-pg .prf-fld label {
    display: block;
    font: 600 13.5px/1.3 'IBM Plex Sans', sans-serif;
    color: var(--ink);
    margin-bottom: 6px;
}

[dir="rtl"] .la2-pg .prf-fld label { font-family: 'IBM Plex Sans Arabic', sans-serif; }

.la2-pg .prf-opt { font-weight: 500; color: var(--muted); }

.la2-pg .prf-ctl {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--secEdge);
    border-radius: var(--r2);
    background: var(--bg);
    color: var(--ink);
    font: 400 15px/1.5 'IBM Plex Sans', sans-serif;
    padding: 11px 13px;
}

[dir="rtl"] .la2-pg .prf-ctl { font-family: 'IBM Plex Sans Arabic', sans-serif; }

.la2-pg textarea.prf-ctl { min-height: 104px; resize: vertical; }

/* A word AND a border AND an icon — never colour alone. */
.la2-pg .prf-ctl.prf-bad { border-color: var(--erI); border-width: 2px; }

.la2-pg .prf-fmsg {
    margin: 6px 0 0;
    font-size: 12.5px;
    color: var(--erI);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.la2-pg .prf-fmsg .ico { width: 15px; height: 15px; }

.la2-pg .prf-fhint { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }

.la2-pg .prf-fwarn {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--warnEdge);
    border-inline-start: 4px solid var(--warnInk);
    background: var(--warnBg);
    color: var(--warnInk);
    border-radius: 9px;
    padding: 11px 13px;
    font-size: 13px;
    margin: 0 0 16px;
}

.la2-pg .prf-fwarn .ico { width: 17px; height: 17px; margin-top: 2px; }

.la2-pg .prf-ff {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding-top: 6px;
}

.la2-pg .prf-ff .prf-prog {
    margin-inline-end: auto;
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.la2-pg .prf-spin {
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 999px;
    display: inline-block;
    animation: prf-sp .85s linear infinite;
    flex: none;
}

@keyframes prf-sp { to { transform: rotate(360deg); } }

/* Reduced motion stops the spinner and leaves a static mark — the status is
   still announced, so nothing depends on the animation. */
@media (prefers-reduced-motion: reduce) {
    .la2-pg .prf-spin { animation-duration: 0s; border-top-color: currentColor; opacity: .5; }
}

.la2-pg .prf-alrt {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--erEd);
    border-inline-start: 4px solid var(--erI);
    background: var(--erBg);
    color: var(--erI);
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 13.5px;
    font-weight: 500;
    margin: 0 0 16px;
}

.la2-pg .prf-alrt .ico { width: 17px; height: 17px; margin-top: 1px; }


/* ============================================================================
 * 13 · OWNER COMPACT SUMMARY   (board lines 257-263)
 * ----------------------------------------------------------------------------
 * The owner's content region opens with a compact PUBLIC PROFILE summary, never
 * a second hero: the Account Shell identity strip is the account's ONLY avatar /
 * name / verification block (ledger §7.10), and repeating it is exactly the
 * Option A defect every locked board corrects.
 *
 * ONE VISIBLE EDIT PROFILE ACTION AT EVERY WIDTH. Above the account collapse the
 * shared identity strip owns it; below, the strip's inline action drops out and
 * this summary carries the full-width one. Never both, never neither, and no
 * JavaScript decides it — the two are one responsive composition. prf-wide and
 * prf-narrow are 5K's OWN classes: the strip's action wears prf-wide through the
 * shell component's generic actionClass prop, so no shared rule is redeclared
 * and no other consumer of that shell moves.
 * ========================================================================== */
.la2-pg .prf-osum {
    border: 1px solid var(--line);
    border-radius: var(--r3);
    background: var(--band2);
    padding: 18px 20px;
    margin: 0 0 4px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.la2-pg .prf-ox { min-width: 0; }

.la2-pg .prf-obio { margin: 0; font-size: 14.5px; color: var(--body); max-width: 70ch; overflow-wrap: anywhere; }

.la2-pg .prf-obio.prf-none { color: var(--muted); font-style: italic; }

.la2-pg .prf-ometa { margin: 9px 0 0; font-size: 13px; color: var(--muted); }

.la2-pg .prf-osum .prf-bdgs { margin: 0 0 10px; }

.la2-pg .prf-narrow { display: none; }

.la2-pg .prf-pubnote {
    margin: 14px 0 0;
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.la2-pg .prf-pubnote .ico { width: 15px; height: 15px; }


/* ============================================================================
 * 14 · OWNER — BELOW THE ACCOUNT SHELL'S OWN COLLAPSE   (board lines 300-311)
 * ----------------------------------------------------------------------------
 * 1023.98 is the account shell's edge, not a third one invented here.
 * ========================================================================== */
@media (max-width: 1023.98px) {
    .la2-pg .acmain .prf-pgrid { grid-template-columns: 1fr; }

    .la2-pg .prf-osum { grid-template-columns: 1fr; }

    .la2-pg .prf-wide { display: none; }

    .la2-pg .prf-narrow { display: inline-flex; width: 100%; }
}


/* ============================================================================
 * 15 · PUBLIC — THE NARROW COMPOSITION   (board lines 300-313)
 * ----------------------------------------------------------------------------
 * 1079.98 and 767.98 are the Public Shell / Homepage / Search content edges,
 * not a third one invented here.
 * ========================================================================== */
@media (max-width: 1079.98px) {
    .la2-pg .prf-pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    /* The real inset, with a ZERO fallback: an Android phone gets no iOS
       geometry and a notch phone gets its real clearance. The board's .ios class
       is a labelled specimen and its 34px fallback is specimen apparatus, not a
       production measurement (the 5I .safe resolution). */
    .la2-pg .prf-pub { padding: 16px 16px calc(30px + env(safe-area-inset-bottom, 0px)); }

    .la2-pg .prf-phero { grid-template-columns: 1fr; gap: 14px; }

    .la2-pg .prf-pav { width: 72px; height: 72px; font-size: 24px; }

    .la2-pg .prf-pid h1 { font-size: 25px; }

    [dir="rtl"] .la2-pg .prf-pid h1 { font-size: 23px; }

    .la2-pg .prf-pstats { width: 100%; }

    .la2-pg .prf-pstats > div { flex: 1 1 0; padding: 11px 12px; }

    .la2-pg .prf-pstats dd { font-size: 18px; }

    .la2-pg .prf-pgrid { grid-template-columns: 1fr; }

    /* The one horizontally scrolling region on the page, bled to the gutter so a
       scrolled link is never clipped by the page padding. */
    .la2-pg .prf-vnav ul { margin-inline: -16px; padding-inline: 16px; }

    .la2-pg .prf-crumb a {
        min-height: 44px;
        min-width: 44px;
        justify-content: flex-start;
        padding-inline: 8px;
        margin-inline: -8px;
        margin-block: -8px;
    }

    .la2-pg .prf-vwa .btn {
        width: 100%;
        white-space: normal;
        height: auto;
        min-height: 44px;
        padding-block: 9px;
    }

    .la2-pg .prf-safety { flex-direction: column; align-items: stretch; }

    .la2-pg .prf-safety .btn { width: 100%; }

    .la2-pg .prf-rform { padding: 16px; margin-top: 24px; }

    .la2-pg .prf-ff { flex-direction: column-reverse; align-items: stretch; }

    .la2-pg .prf-ff .btn { width: 100%; }

    .la2-pg .prf-ff .prf-prog { margin: 0 0 4px; justify-content: center; }

    .la2-pg .prf-rhd .prf-when { margin-inline-start: 0; width: 100%; }
}
