#approvals-view .workspace-toolbar:has(> #ws-add-request) { display: none; }
#approvals-view { margin-block-start: 0; padding-block: 20px 24px; }
#approval-board { container-type: inline-size; }
.aq-scopes { display: flex; gap: 4px 8px; flex-wrap: wrap; border-block-end: 1px solid var(--line); }
.aq-scopes button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 12px;
  border: 0; border-block-end: 2px solid transparent; background: transparent; color: var(--muted); font-weight: 650;
}
.aq-scopes button:hover { color: var(--ink); background: #eaf2f6; }
.aq-scopes button[hidden] { display: none; }
.aq-scopes button[aria-pressed="true"] { color: #006682; border-block-end-color: #0084a6; }
.aq-scopes b { background: #e5ebf1; color: #35465a; border-radius: 5px; min-width: 24px; padding: 2px 5px; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.aq-scopes [aria-pressed="true"] b { background: #dceff4; color: #006682; }
.aq-filters { display: grid; grid-template-columns: minmax(170px, 1.5fr) repeat(5, minmax(110px, 1fr)) auto; align-items: end; gap: 10px; margin-block: 16px; }
.aq-filters label { display: grid; gap: 5px; min-width: 0; font-weight: 650; }
.aq-filters input, .aq-filters select { width: 100%; min-width: 0; min-height: 38px; padding: 7px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-weight: 400; }
.aq-filters .aq-clear { min-height: 38px; padding: 7px 10px; }
.aq-clear:disabled, .aq-pagination button:disabled { opacity: .45; cursor: default; }
.aq-range-error:empty, .aq-pagination[hidden] { display: none; }
.aq-results { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.aq-table { border-collapse: collapse; table-layout: fixed; width: 100%; min-width: 0; font-size: 13px; }
.aq-table th, .aq-table td { padding: 10px 12px; text-align: start; vertical-align: middle; overflow-wrap: anywhere; }
.aq-table th { color: var(--muted); font-size: 12px; font-weight: 700; border-block-end: 1px solid var(--line); }
.aq-table th:nth-child(1) { width: 18%; }
.aq-table th:nth-child(2) { width: 27%; }
.aq-table th:nth-child(3) { width: 24%; }
.aq-table th:nth-child(4) { width: 10%; }
.aq-table td { border-block-end: 1px solid #e8edf2; }
.aq-table tbody tr:last-child td { border-block-end: 0; }
.aq-table tbody tr:hover, .aq-table tbody tr:focus-within { background: #f5fafc; }
.aq-table small { display: block; margin-block-start: 3px; color: var(--muted); font-size: 12px; }
.aq-table .status-pill { padding: 4px 7px; border-radius: 5px; font-weight: 700; max-width: 100%; }
.aq-open { display: inline-flex; align-items: center; gap: 3px; max-width: 100%; min-height: 24px; padding: 0; border: 0; background: transparent; color: #006682; font-weight: 750; text-align: start; }
.aq-open:hover { text-decoration: underline; }
.aq-open svg { flex: 0 0 16px; }
.aq-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; color: var(--muted); }
.aq-pagination { display: flex; gap: 6px; }
.aq-pagination button { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; }
.aq-empty { padding: 32px 14px; color: var(--muted); text-align: center; }
[dir="rtl"] .aq-open svg, [dir="rtl"] .aq-pagination svg { transform: scaleX(-1); }
#notification-request-detail .request-card { min-width: 0; overflow-wrap: anywhere; }
#notification-request-detail .request-card header { flex-wrap: wrap; }
@media (max-width: 650px) {
  #approvals-view { margin-inline: 0; }
}
@container (max-width: 920px) {
  .aq-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 590px) {
  .aq-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aq-filters label:first-child { grid-column: 1/-1; }
  .aq-scopes button { gap: 5px; padding-inline: 6px; }
  .aq-table, .aq-table tbody { display: block; }
  .aq-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .aq-table tbody tr { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 7px 12px; padding: 12px; border-block-end: 1px solid var(--line); }
  .aq-table tbody tr:last-child { border-block-end: 0; }
  .aq-table td { display: block; padding: 0; border: 0; }
  .aq-table td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .aq-table td:nth-child(2) { grid-column: 1/-1; grid-row: 2; }
  .aq-table td:nth-child(3) { grid-column: 1; grid-row: 3; }
  .aq-table td:nth-child(4) { grid-column: 2; grid-row: 3; justify-self: end; }
  .aq-table td:nth-child(5) { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; }
}
