/* V48 ADMIN (agent "admin") -- J13 / WB12 / WB14 return context + admin desktop presentation. Every rule is scoped to .pb48-admin
   (the admin lists / back link that opted in); colours = the EXISTING tokens (pb-tokens.css, Light / System / Dark resolved
   there), no new palette. The responsive list itself (.pb48-list cards < 600 / table rows >= 600) is the shared layout
   primitive of pb-v48-layout.css; this file only adds the admin density and the "returned to this record" mark. */

/* "back to the list" row of a detail page (Views/Shared/_V48BackToList.cshtml) */
.pb48-admin.pb48-backrow { margin: 0 0 12px; }
.pb48-admin .pb48-back { display: inline-flex; align-items: center; gap: 6px; min-block-size: var(--pb44-target, 48px); }
.pb48-admin .pb48-back svg { inline-size: 18px; block-size: 18px; flex: 0 0 auto; }

/* the record the admin came back to (pb-v48-return.js sets data-pb48-returned on the row it focuses) */
.pb48-admin [data-pb48-returned="1"],
.pb48-admin[data-pb48-returned="1"] { outline: 2px solid var(--pb-focus, #BD006E); outline-offset: -2px; }
.pb48-admin tr[data-pb48-returned="1"] > td { background: var(--pb-surface-selected, #FFF0F7); }
.pb48-admin [data-pb48-returned="1"]:focus:not(:focus-visible) { outline-style: dashed; }

/* key cell (order / payout number = the row's one open-item link) */
.pb48-admin .pb48-admin-key { font-weight: 700; }
.pb48-admin .pb48-admin-key a { display: inline-flex; align-items: center; min-block-size: 32px; }

/* dense desktop rows: an admin queue is a repeated task list -- tighter rows once the list is a table (>= 600 content width) */
@container (min-width: 600px) {
    .pb48-admin.pb48-list > .pb48-row > .pb48-cell { padding-block: 8px; padding-inline: 12px; }
    .pb48-admin.pb48-list > .pb48-row--head > .pb48-cell { white-space: nowrap; }
    .pb48-admin .pb48-admin-key { white-space: nowrap; }
}
@container (min-width: 1024px) {
    .pb48-admin.pb48-list > .pb48-row > .pb48-cell { padding-block: 6px; }
}
