/* V123 WS-X (switch 76 v123_data_extensions) -- Follow on the public profile, Recently viewed in the library and the creator's
   per-model metrics table. Only existing PB semantic tokens (light + dark follow the tokens); logical properties (RTL + LTR);
   content targets at least 48x48 CSS px; no motion. Loaded only by the V123 partials (switch 76 on). */

/* Follow (one control on the public profile, never on a card) */
.pb123x-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-block-start: 8px; min-width: 0; }
.pb123x-follow-form { display: inline-flex; margin: 0; }
.pb123x-follow-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; min-width: 48px;
    padding-inline: 16px; }
.pb123x-follow-btn svg { width: 18px; height: 18px; flex: 0 0 18px; }
.pb123x-follow-btn--on { background: var(--pb-color-surface-selected); border-color: var(--pb-color-border-selected); }
.pb123x-follow-btn:focus-visible { outline: 2px solid var(--pb-color-focus); outline-offset: 2px; }
.pb123x-follow-count { font-variant-numeric: tabular-nums; }

/* Recently viewed (private to the account) */
.pb123x-recent-list { display: flex; gap: 12px; overflow-x: auto; padding-block-end: 6px; margin: 0; padding-inline: 0; list-style: none; }
.pb123x-recent-item { flex: 0 0 150px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pb123x-recent-item > .pb-card { flex: 0 0 auto !important; }
.pb123x-recent-remove { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 48px; width: 100%;
    margin: 0; }
.pb123x-recent-remove svg { width: 18px; height: 18px; }
.pb123x-recent-remove:focus-visible, .pb123x-recent-clear:focus-visible { outline: 2px solid var(--pb-color-focus); outline-offset: 2px; }
.pb123x-recent-clear { min-height: 48px; }
.pb123x-recent-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-block-end: 10px; }
.pb123x-recent-note { margin: 0 0 10px; }

/* Per-model metrics (management table, PB-C034 boundary: a table, not gallery cards) */
.pb123x-metrics-wrap { overflow-x: auto; max-width: 100%; }
.pb123x-metrics { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pb123x-metrics th, .pb123x-metrics td { padding: 10px 8px; text-align: start; border-block-end: 1px solid var(--pb-color-border); vertical-align: middle; }
.pb123x-metrics th[scope="col"] { color: var(--pb-color-text-muted); font-weight: 600; }
.pb123x-metrics td.pb123x-num, .pb123x-metrics th.pb123x-num { text-align: end; white-space: nowrap; }
.pb123x-metrics a { display: inline-flex; align-items: center; min-height: 48px; overflow-wrap: anywhere; }
.pb123x-unknown { color: var(--pb-color-text-muted); }
