/* Page-scoped rules for the admin operations pages (partners, services, service
   requests, interests, audit — templates/adminportal/*). Prefix every class with `admo-`; the shared
   vocabulary lives in app.css (docs/UI.md). Keep this sheet small. */

/* filter form sitting in a .toolbar next to the .seg tabs: the select must not stretch */
.admo-filter select{width:auto;min-width:190px}

/* skeleton / alert inset inside a flush panel body */
.admo-sk{padding:0 22px 16px}
.admo-inset{margin:16px 22px 0}

/* row / panel action groups: the forms stay real forms but lay out as one row */
.admo-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.admo-actions form{display:contents}
td .admo-actions{justify-content:flex-end;flex-wrap:nowrap}

/* side-by-side panels: the grid gap already separates them */
.admo-cols{margin-bottom:20px}
.admo-cols>.panel{margin-bottom:0}

/* status note under the publication key/values */
.admo-note{font-size:12.5px;color:var(--sec);margin:14px 0 16px}

/* request message folded under the service name */
.admo-msg{margin-top:4px;font-size:12px}
.admo-msg summary{cursor:pointer;color:var(--accent-ink);font-weight:600;list-style:none}
.admo-msg summary::-webkit-details-marker{display:none}
.admo-msg summary::before{content:"▸ ";color:var(--icon-muted)}
.admo-msg[open] summary::before{content:"▾ "}
.admo-msg p{margin:6px 0 0;color:var(--sec);max-width:44ch;white-space:normal}

/* interests: the row status select sits next to the "Assumir" link and must not stretch */
.admo-row-select{width:auto;min-width:150px;padding-top:7px;padding-bottom:7px;font-size:13px}
td.actions .field-error{text-align:right}

/* audit filters: the .form-grid opens to four columns so the eight filters sit in two quiet rows */
.admo-audit-filters{align-items:flex-end}
.admo-audit-grid{flex:1 1 100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 14px}
.admo-audit-grid .field{margin-bottom:12px}
.admo-audit-filters>.row{margin-top:-2px}
@media (max-width:900px){.admo-audit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* audit table: event type token, folded metadata dump, pager end caps */
.admo-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;background:var(--sunken);color:var(--ink);padding:2px 7px;border-radius:6px;white-space:nowrap}
.admo-meta{margin:6px 0 0;font-size:11.5px;line-height:1.45;color:var(--sec);background:var(--sunken);padding:8px 10px;border-radius:8px;max-width:52ch;overflow-x:auto;white-space:pre-wrap}
.admo-pager span[aria-disabled]{padding:7px 12px;font-size:13px;font-weight:600;color:var(--ter)}
