/* PrepBuddy shared: Profile module (profile screens 00 My profile and 01 Other user's profile; 02 Chat info reuses the hero later). The identity
   hero, the completeness panel, the badge strip and sheet, the About rows, the My stuff tiles, the share card. Tokens only; every class is prefixed
   pf- (one name, one meaning). Flutter: ProfileHero, CompletenessPanel, BadgeStrip, AboutRow, StuffTile; activity rows are the shared list item (.lrow).
   Inline actions are round icon buttons (.tbtn / .cta, theme.css + cards.css; tokens §7). */

/* ---------- identity header (user, 2026-10-03: "I don't like the profile design" → mock B + D): flat, on the canvas, no hero surface, no glow.
   Avatar in the completeness ring (gold conic, --p = %; the % chip sits on it) beside three counts, then name, @username, path, bio, joined.
   Your actions sit in the page bar; someone else's buddy-state actions are flat labelled round icons under the text. Flutter: ProfileHeader. ---------- */
.pf-idc { display: flex; flex-direction: column; gap: 12px; padding: 4px 2px 2px; }
.pf-id { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }   /* the counts drop under the avatar when their labels cannot fit beside it (320 dp, large text, Tamil) */
.pf-av { --p: 0; position: relative; flex-shrink: 0; width: 92px; height: 92px; border-radius: 999px; padding: 4px; box-sizing: border-box; background: conic-gradient(var(--reward) calc(var(--p) * 1%), var(--border) 0); }
.pf-av.plain { background: transparent; padding: 0; width: 84px; height: 84px; }
.pf-av.pf-avb { display: block; cursor: zoom-in; } .pf-av.pf-avb:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.pf-av .pb-avatar { width: 100% !important; height: 100% !important; box-shadow: 0 0 0 3px var(--bg); } .pf-av.plain .pb-avatar { box-shadow: none; }
.pf-av .pf-pct { position: absolute; bottom: -4px; inset-inline-end: -8px; min-width: 36px; height: 24px; padding: 0 8px; border-radius: 999px; box-sizing: border-box; background: var(--reward-container); color: var(--reward-ink); box-shadow: 0 0 0 2px var(--bg); font-size: 11px; font-weight: 800; line-height: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.pf-counts { flex: 1 1 max-content; min-width: 0; display: flex; justify-content: space-around; align-items: center; }   /* its one-line width decides beside or under the avatar; under it, a label may still wrap */
.pf-ct { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 56px; min-height: 48px; padding: 0 8px; border-radius: 12px; color: var(--text-primary); text-decoration: none; text-align: center; }
.pf-ct b { font-size: calc(18px * var(--font-scale)); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pf-ct span { font-size: calc(12px * var(--font-scale)); color: var(--text-secondary); overflow-wrap: anywhere; }
a.pf-ct:hover, button.pf-ct:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); }
.pf-who { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pf-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: calc(18px * var(--font-scale)); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; overflow-wrap: anywhere; }
.pf-name .pf-flag { font-size: calc(16px * var(--font-scale)); line-height: 1; }   /* prototype: emoji; Flutter: a bundled flag asset (design-to-flutter (mobile-v2 docs)) */
.pf-role { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: var(--reward-container); color: var(--reward-ink); font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.pf-role .mi { font-size: 14px; }
/* @username is a button: a tap copies it */
.pf-user { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: -10px 0 -10px; padding: 0 2px; border-radius: 8px; color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); font-weight: 500; }
.pf-user .mi { font-size: 16px; }
.pf-user:hover { color: var(--primary-text); }
.pf-line { font-size: calc(14px * var(--font-scale)); color: var(--text-secondary); line-height: 1.4; overflow-wrap: anywhere; } .pf-line b { color: var(--text-primary); font-weight: 600; }
.pf-bio { font-size: calc(14px * var(--font-scale)); line-height: 1.5; overflow-wrap: anywhere; }
.pf-mut { display: flex; align-items: center; gap: 8px; font-size: calc(12px * var(--font-scale)); color: var(--text-secondary); margin-top: 2px; }
.pf-mut .stack .pb-avatar { width: 20px; height: 20px; box-shadow: 0 0 0 2px var(--bg); margin-inline-start: -6px; } .pf-mut .stack .pb-avatar:first-child { margin-inline-start: 0; }
.pf-since { font-size: calc(12px * var(--font-scale)); color: var(--text-secondary); margin-top: 2px; }
.pf-common { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: calc(13px * var(--font-scale)); font-weight: 600; color: var(--primary-text); } .pf-common .mi { font-size: 16px; }   /* what you share with this person */
.pf-status { display: flex; align-items: center; gap: 8px; font-weight: 600; } .pf-status .pf-on { width: 8px; height: 8px; border-radius: 999px; background: var(--success); }
/* someone else's actions: flat labelled round icons (cta without the hero variant) */
.pf-acts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 2px; }
.pf-acts .pf-act { margin-top: 0; gap: 8px; min-width: 56px; font-size: calc(12px * var(--font-scale)); color: var(--text-primary); }
.pf-acts .pf-act .tbtn { width: 48px; height: 48px; } .pf-acts .pf-act .tbtn .mi { font-size: 22px; }
.pf-acts .pf-act.pending .tbtn { background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--primary-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 40%, var(--surface)); }   /* = .tbtn.pending (theme.css) */
.pf-blocked { margin: 0; font-size: calc(14px * var(--font-scale)); color: var(--text-secondary); line-height: 1.5; }
/* page sections (Badges, About, Your activity): the heading on the page with its count or See all (cards.css .sec-h), the panel under it */
.pf-sec { margin-top: 4px; } .pf-sec .sec-h { margin-bottom: 12px; }
.pf-sec .link, .pf-act .link { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 4px; border-radius: 8px; color: var(--primary-text); font-size: calc(14px * var(--font-scale)); font-weight: 700; text-decoration: none; }
.pf-sec .link .mi { font-size: 18px; }

/* ---------- panel header (title, count, See all) ---------- */
.pf-h { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.pf-h h2 { margin: 0; flex: 1; min-width: 0; font-size: calc(16px * var(--font-scale)); font-weight: 700; letter-spacing: -0.01em; }
.pf-h .pf-n, .sec-h .pf-n { font-size: calc(12px * var(--font-scale)); font-weight: 700; color: var(--text-secondary); font-variant-numeric: tabular-nums; }   /* a count that is not a link (someone else's certificates) */

/* ---------- the steps panel (own profile): each missing step a row (icon tile, step, hint, chevron), then the instructor row; the rows are links or buttons ---------- */
.pf-stepsp { padding-block: 8px; }
.pf-prog { display: block; width: 100%; text-align: start; color: var(--text-primary); cursor: pointer; } .pf-prog .pf-h { margin-bottom: 12px; } .pf-prog .pf-n { font-size: calc(14px * var(--font-scale)); font-weight: 500; }
/* the completeness bar is the shared .progress.lg.reward (components.css; was .pf-bar until 2026-10-19), gold like the ring */
.pf-step { width: 100%; box-sizing: border-box; text-align: start; color: var(--text-primary); text-decoration: none; border-radius: 12px; }
.pf-step .pf-tx b { font-size: calc(15px * var(--font-scale)); font-weight: 600; }
.pf-step + .pf-step { border-start-start-radius: 0; border-start-end-radius: 0; }   /* the divider is an inset shadow: with the row's 12 dp radius it curled up at both ends (2026-11-15) */
.pf-go { flex-shrink: 0; color: var(--text-secondary); display: inline-flex; } .pf-go .mi { font-size: 20px; }

/* ---------- badges: a strip of 44 dp discs (earned = gold, locked = dimmed with a lock), tap opens the sheet grid ---------- */
.pf-strip { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; overflow: hidden; padding: 2px 0; text-align: start; border-radius: 12px; color: var(--text-primary); }
.pf-bd { width: 44px; height: 44px; border-radius: 999px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--reward-container); color: var(--reward-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--reward) 40%, transparent); position: relative; }
.pf-bd .mi { font-size: 24px; }
.pf-bd.lock { background: var(--surface); color: var(--text-secondary); box-shadow: inset 0 0 0 1px var(--edge); opacity: .6; }
.pf-bd .pf-lk { position: absolute; bottom: -3px; inset-inline-end: -3px; width: 18px; height: 18px; border-radius: 999px; background: var(--text-secondary); color: var(--surface); display: flex; align-items: center; justify-content: center; }
.pf-bd .pf-lk .mi { font-size: 11px; }
.pf-more { margin-inline-start: auto; font-size: calc(13px * var(--font-scale)); font-weight: 700; color: var(--primary-text); display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.pf-more .mi { font-size: 18px; } .pf-more .pf-n:empty { display: none; }
.pf-bgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; margin-top: 4px; }
.pf-bgrid button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 0; border-radius: 12px; font-size: calc(12px * var(--font-scale)); font-weight: 600; text-align: center; color: var(--text-primary); line-height: 1.3; }
.pf-bgrid .pf-bd { width: 60px; height: 60px; } .pf-bgrid .pf-bd .mi { font-size: 32px; }
.pf-bgrid button.lock { color: var(--text-secondary); }
/* the badge sheet is the shared .state-col (components.css, 2026-10-19) with the 88 dp badge and an 18 sp title */
.pf-bdet .pf-bd { width: 88px; height: 88px; } .pf-bdet .pf-bd .mi { font-size: 48px; }
.pf-bdet h3 { margin: 8px 0 0; font-size: calc(18px * var(--font-scale)); }
.pf-when { font-size: calc(12px * var(--font-scale)); font-weight: 700; color: var(--reward-ink); background: var(--reward-container); padding: 3px 10px; border-radius: 999px; }
.pf-when.lock { background: var(--surface); color: var(--text-secondary); box-shadow: inset 0 0 0 1px var(--edge); }
.pf-bacts { display: flex; justify-content: center; gap: 24px; margin-top: 8px; }

/* ---------- About rows: duotone icon tile, value and label, a dense pencil on the own profile ---------- */
.pf-rows { display: flex; flex-direction: column; }
.pf-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; }
.pf-row + .pf-row { box-shadow: inset 0 1px 0 var(--border); }
.pf-ic { width: 36px; height: 36px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--accent, var(--primary)) 16%, transparent); color: var(--accent, var(--primary)); }
.pf-ic .mi { font-size: 20px; }
.pf-row .pf-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pf-row .pf-tx b { font-size: calc(15px * var(--font-scale)); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.pf-row .pf-tx span { font-size: calc(12px * var(--font-scale)); color: var(--text-secondary); }
.pf-row .pf-tx b span { font-size: inherit; color: inherit; }   /* a span inside the value (the data-noloc name in "B.Tech · VIT Vellore · Aug 2023–May 2027", the flag and country on Edit profile) is the value, not the label: it read small and grey beside a large date (2026-11-15) */
.pf-row .pf-tx .pf-empty { color: var(--text-secondary); font-weight: 500; }
.pf-row .tbtn { margin-inline-start: auto; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0; }
.pf-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: calc(12px * var(--font-scale)); font-weight: 600; background: var(--surface); box-shadow: inset 0 0 0 1px var(--edge); }
.pf-chip small { font-weight: 500; color: var(--text-secondary); margin-inline-start: 4px; }
a.pf-chip { text-decoration: none; color: var(--primary-text); gap: 8px; min-height: 36px; position: relative; } a.pf-chip .mi { font-size: 16px; }
/* the link chip's hit area is the vertical-only rule below (the shared 44 dp recipe is .hit in components.css; a dead copy of it was removed here 2026-10-19) */
button.pf-chip, a.pf-chip, .pf-chip .pf-x { position: relative; } button.pf-chip::after, a.pf-chip::after { content: ""; position: absolute; inset: -7px 0; } a.pf-chip::after { inset: -4px 0; } .pf-chip .pf-x::after { content: ""; position: absolute; inset: -10px; }   /* 30 and 36 dp chips and the 24 dp remove keep a 44 dp touch target */

/* ---------- My stuff: shortcut tiles (the bento recipe: accent icon, label, count, 3 dp accent bar), gated by module flags ---------- */
.pf-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 104px; width: 100%; transition: box-shadow 150ms ease; }
/* a last tile that would sit alone on its row takes the whole row (the count changes with the module flags, so no fixed number of tiles is even at every width; 2026-11-15) */
.pf-grid > .pf-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* .pf-tile only: Practice's tests grid shares .pf-grid */
@media (min-width: 600px) { .pf-grid > .pf-tile:last-child:nth-child(odd) { grid-column: auto; } .pf-grid > .pf-tile:last-child:nth-child(3n + 1) { grid-column: 1 / -1; } }
.pf-tile .pf-tx { display: flex; flex-direction: column; gap: 2px; margin-top: auto; width: 100%; min-width: 0; }
.pf-tile b { font-size: calc(14px * var(--font-scale)); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.pf-tile span { font-size: calc(12px * var(--font-scale)); color: var(--text-secondary); overflow-wrap: anywhere; }

/* ---------- share sheet: a hero-styled card with the profile's code ---------- */
.pf-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 16px; border-radius: 20px; background: var(--hero); color: var(--on-hero); box-shadow: inset 0 0 0 1px var(--hero-edge), var(--hero-glow); margin: 4px 0 16px; text-align: center; }
.pf-code { width: 132px; height: 132px; border-radius: 16px; background: var(--on-hero); display: grid; grid-template-columns: repeat(9, 1fr); padding: 12px; gap: 2px; box-sizing: border-box; margin-bottom: 4px; }
.pf-code i { background: var(--hero-solid); border-radius: 4px; } .pf-code i.o { background: transparent; }
.pf-qr b { font-size: calc(16px * var(--font-scale)); } .pf-qr span { font-size: calc(13px * var(--font-scale)); color: var(--on-hero-muted); }

@media (max-width: 359px) { .pf-av { width: 84px; height: 84px; } .pf-id { gap: 12px; } .pf-ct { min-width: 48px; } }
@media (prefers-reduced-motion: reduce) { .pf-tile { transition: none; } }

/* ---------- 02 Edit profile: the photo block, removable chips, the switch, the sheet fields and footers ---------- */
.pf-photo { display: flex; align-items: center; gap: 16px; }
.pf-photo .pf-av { width: 104px; height: 104px; } .pf-photo .pf-av.plain { background: color-mix(in srgb, var(--primary) 16%, var(--surface)); }
.pf-photo .pf-av .pb-avatar { box-shadow: 0 0 0 3px var(--surface); }
.pf-photo .pf-cam { position: absolute; bottom: -2px; inset-inline-end: -2px; } .pf-photo .pf-cam .mi { font-size: 20px; }
.pf-photo .pf-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pf-photo .pf-tx b { font-size: calc(15px * var(--font-scale)); } .pf-photo .pf-tx span { font-size: calc(13px * var(--font-scale)); color: var(--text-secondary); line-height: 1.45; }
.pf-chip.rm { padding-inline-end: 4px; } .pf-chip .pf-x { width: 24px; height: 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; margin-inline-start: 4px; color: var(--text-secondary); } .pf-chip .pf-x .mi { font-size: 14px; } .pf-chip .pf-x:hover { background: color-mix(in srgb, var(--error) 14%, transparent); color: var(--error-text); }
button.pf-chip { cursor: pointer; } button.pf-chip:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 50%, var(--surface)); }
.pf-chip.add { color: var(--primary-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 35%, var(--surface)); } .pf-chip.add .mi { font-size: 14px; margin-inline-end: 4px; }
/* a chosen chip is the shared .tint.on (components.css; was .pf-chip.on until 2026-10-19) */
.pf-h .tbtn { margin-inline-start: 8px; }   /* the add button of a section, next to its count */
.pf-chips:last-child { margin-bottom: 4px; }
.pf-lock { color: var(--text-secondary); display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; margin-inline-start: auto; } .pf-lock .mi { font-size: 18px; }
/* sheets: fields (the Input recipe from stepper.css), counters, the footer with Cancel / Remove and Done */


/* the Bio counter is the shared .f-count (components.css, 2026-10-19; was pf-cnt) */
.pf-date { width: 100%; justify-content: space-between; text-align: start; cursor: pointer; color: var(--text-primary); font-size: calc(14px * var(--font-scale)); } .pf-date .phold { color: var(--text-secondary); } .pf-date .mi { font-size: 18px; color: var(--text-secondary); }
.pf-date.on { border: 2px solid var(--primary); padding: 0 11px; } .pf-date[disabled] { opacity: .5; cursor: default; }
.pf-wheel { margin-top: -4px; }
.pf-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } .pf-two > * { min-width: 0; } .pf-two .field { min-width: 0; }
.pf-swrow span { flex: 1; font-size: calc(14px * var(--font-scale)); }
.pf-sug { max-height: 220px; overflow: auto; margin-top: -6px; } .pf-sug .acts button { min-height: 44px; }
.pf-sh { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 8px; font-size: calc(12px * var(--font-scale)); font-weight: 700; letter-spacing: .04em; color: var(--text-secondary); }   /* a group head in a suggestion list: Suggested (AI), Searching… */
.pf-fs .help { margin: 8px 0 0; }
.pf-foot { display: flex; gap: 8px; margin-top: 16px; } .pf-foot .btn { flex: 1; }
.pf-foot .btn-out.danger { color: var(--error-text); border-color: color-mix(in srgb, var(--error) 50%, transparent); }
.sheet2 .acts button .pf-flag { font-size: 20px; width: 28px; text-align: center; }

/* ---------- Your activity on 00 / 01 (user, 2026-10-03): the heading on the page with See all (cards.css .sec-h, as Today's sections), then one panel of the shared list rows ---------- */
.pf-act { margin-top: 4px; }
.pf-act .sec-h { margin-bottom: 12px; }
.pf-act .card { padding-block: 8px; }
.pf-rows .lrow .tx b, .pf-rows .lrow .tx span { white-space: normal; overflow-wrap: anywhere; }   /* activity and certificate rows wrap: the shared list row cut "… · 18 reactions · 4 c…" and most Tamil lines (2026-11-15) */
/* tablet and web (2026-10-03): from 1024 dp My profile (00) and someone else's profile (01) take two columns in the 1160 dp frame, the identity header in a
   sticky column beside the sections, as the Instructor profile (07-10) does; below 1024 dp the wrappers vanish and the page is the one column it was */
.pf-layout, .pf-aside, .pf-main { display: contents; }
@media (min-width: 1024px) {
  body.pf-wide .page-col { max-width: 1160px; }
  body.pf-wide .page-bar { padding: 0 max(12px, calc((100% - 1160px) / 2 - 12px)); }
  .pf-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 40px; align-items: start; }
  .pf-aside { display: block; position: sticky; top: 80px; }
  .pf-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
}


/* ---------- the request screens (08 Become an Instructor, 10 Represent your organisation; moved out of 08 on 2026-10-11): the why rows, the file rows with their upload
   state (PbFileRow: a type tile, the name, "PDF · 1.2 MB · Uploaded" or a progress bar, Retry on failure, Remove; the dashed Add tile), the status card (a big state
   icon, a title, one line), the three-step line (PbStepLine), the reason box, the icon calls to action under it, the summary rows, the one primary button ---------- */
.in-why { display: flex; flex-direction: column; gap: 12px; }
.in-why .pf-row { min-height: 48px; padding: 4px 0; } .in-why .pf-row + .pf-row { box-shadow: none; }
/* credentials: each picked file is a row (type tile, name, "PDF · 1.2 MB · Uploaded" or a progress bar, Retry on failure, Remove), then the dashed Add a file tile */
.in-files { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.in-file { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--field-bg); box-shadow: inset 0 0 0 1px var(--border); }
.in-file[data-st="fail"] { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--error) 55%, transparent); }
.in-file .pf-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.in-file b { font-size: calc(14px * var(--font-scale)); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* a long name is cut; the type line and the tile say what it is */
.in-file .pf-tx > span { font-size: calc(12px * var(--font-scale)); color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.in-file[data-st="ok"] .pf-tx > span { color: var(--success-text); } .in-file[data-st="fail"] .pf-tx > span { color: var(--error-text); font-weight: 600; }
.in-file .tbtn { background: transparent; box-shadow: none; } .in-file .tbtn[data-retry] { color: var(--primary-text); }
.in-bar { height: 4px; border-radius: 999px; background: color-mix(in srgb, var(--text-secondary) 25%, transparent); overflow: hidden; margin-top: 4px; }
.in-bar i { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 999px; transition: width 150ms linear; }
.in-up { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 12px; border-radius: 12px; border: 1px dashed var(--outline); background: var(--field-bg); width: 100%; text-align: start; color: var(--text-primary); }
.in-up .pf-ic { background: color-mix(in srgb, var(--primary) 16%, transparent); color: var(--primary-text); }
.in-up b { font-size: calc(14px * var(--font-scale)); } .in-up span { font-size: calc(12px * var(--font-scale)); color: var(--text-secondary); }
.in-up:hover, .in-up:focus-visible { border-color: var(--primary); }
/* the status card: a big state icon, a title, one line, then the three steps of the request as a line */
/* the status card is the shared .state-col and the step line the shared .steps / .step (components.css, 2026-10-19; were .in-state, .in-steps and .in-step at 40 dp): the badge's state tints stay here,
   and .in-step keeps only the label states of its plain-text steps (the whole label, not a b line, takes the state colour) */
/* the state hero (2026-10-27, the owner: no disc over an icon): a bare two-tone icon at 48 dp, the state colour as the outline and a second hue as the layer (tokens.md section 6, Two-tone); skill badges (.pf-bd elsewhere) keep their disc, a badge is a disc */
.state-col .pf-bd { width: 72px; height: 72px; margin-bottom: 4px; border-radius: 0; background: none; box-shadow: none; opacity: 1; } .state-col .pf-bd .mi { font-size: 48px; } .state-col .pf-bd .mi::before { opacity: 1; color: var(--duo); }
.state-col .pf-bd[data-st="ok"] { color: var(--success); --duo: color-mix(in srgb, var(--success) 45%, transparent); }
.state-col .pf-bd[data-st="no"] { color: var(--error); --duo: color-mix(in srgb, var(--error) 45%, transparent); }
.state-col .pf-bd[data-st="wait"] { color: var(--primary); --duo: var(--tertiary); }
.in-step.done { color: var(--text-primary); }
.in-step.cur { color: var(--text-primary); font-weight: 700; }
.in-step.no { color: var(--error-text); font-weight: 700; }
.in-reason { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--error-container); color: var(--text-primary); font-size: calc(14px * var(--font-scale)); line-height: 1.5; text-align: start; }
.in-reason b { display: block; color: var(--error-text); font-size: calc(12px * var(--font-scale)); letter-spacing: .04em; margin-bottom: 2px; }
.in-reason.ask { background: var(--warning-container); } .in-reason.ask b { color: var(--warning-text); }   /* the approver asked for more proof (10): the same box, the warning tint */
.in-acts { display: flex; justify-content: center; gap: 24px; margin-top: 16px; }
.in-sum .pf-row { min-height: 48px; padding: 4px 0; } .in-sum .pf-row + .pf-row { box-shadow: none; }
.in-send { margin-top: 4px; }
.in-send .btn { width: 100%; }
