/* Sunflower Yellow: admin usage monitoring table and filters. */
.admin-layout .panel.pl:has(> .pl-eyebrow) {
  --usage-ink: #242622;
  --usage-line: #d8dbd5;
  color: var(--usage-ink);
  & > .pl-eyebrow { color: #685010; letter-spacing: .06em; }
  & > h1 { font-size: 24px; line-height: 1.2; margin-block: 4px 8px; }
  & > .pl-filters { gap: 8px; padding: 12px; border: 1px solid var(--usage-line); border-radius: 8px; background: #fafaf8; align-items: end; }
  & > .pl-filters :is(input,select,button) { box-sizing: border-box; height: 34px; min-height: 34px; font-size: 13px; }
  & > .pl-filters button { width: fit-content; padding-inline: 12px; background: #f4c430; color: #242622; border: 1px solid #cda51e; border-radius: 6px; }
  & > .pl-table th { background: #fff6d6; color: #39372e; font-weight: 600; }
  & > .pl-table :is(td,th) { padding: 7px 9px; font-size: 13px; line-height: 1.4; vertical-align: top; }
  & > .pl-table td small { margin-block: 2px; line-height: 1.35; }
  & > .pl-table .pl-record-actions { display: flex; flex-wrap: wrap; gap: 4px; }
  & > .pl-table .pl-record-actions button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: fit-content; height: 32px; min-height: 32px; padding: 0 8px; margin: 0; border: 1px solid var(--usage-line); border-radius: 6px; background: white; color: var(--usage-ink); font-size: 13px; font-weight: 500; }
  & > .pl-table .pl-record-actions button:hover { background: #fff6d6; }
  @media (max-width: 767px) {
    & > .pl-filters :is(input,select,button), & > .pl-table .pl-record-actions button { height: 44px; min-height: 44px; }
  }
}
/* Keep selected option text inside the compact control. */
.admin-layout .panel.pl:has(> .pl-eyebrow) > .pl-filters select {
  padding-block: 0;
  line-height: 1.5;
  min-width: 12ch;
  white-space: nowrap;
}


/* Shared admin portal actions, including detail dialogs and image controls. */
.admin-layout .panel.pl:has(> .pl-eyebrow) > :is(.pl-table,.pl-filters,.pl-image-grid,.form) :is(button,a.button):not([aria-pressed]):not([role="combobox"]) {
  text-decoration: none !important;
}
.admin-layout .panel.pl:has(> .pl-eyebrow) > :is(.pl-table,.pl-image-grid,.form) :is(button,a.button):not([aria-pressed]) {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  width: fit-content; min-width: 0; height: auto; min-height: 32px; padding: 4px 8px;
  border: 1px solid #d8dbd5; border-radius: 6px; background: #fff; color: #242622;
  font-size: 13px; line-height: 1.35; font-weight: 500; text-decoration: none !important;
}
.admin-layout .panel.pl:has(> .pl-eyebrow) > .pl-table .pl-record-actions:has(> button:nth-child(4)) > button:first-child,
.admin-layout .panel.pl:has(> .pl-eyebrow) > .form button.button { background: #f4c430; color: #242622; border-color: #cda51e; }
.admin-layout .panel.pl:has(> .pl-eyebrow) > .pl-filters button { padding-block: 0; }
.admin-layout .panel.pl:has(> .pl-eyebrow) :is(button,a.button):focus-visible { outline: 2px solid #806300; outline-offset: 2px; }
@media(max-width:767px){
  .admin-layout .panel.pl:has(> .pl-eyebrow) > :is(.pl-table,.pl-image-grid,.form) :is(button,a.button):not([aria-pressed]) {min-height:44px;}
}
