.aqe-requests {
  --aqe-ink: #13243b;
  --aqe-muted: #617084;
  --aqe-line: #dce5eb;
  --aqe-surface: #ffffff;
  --aqe-soft: #f4f8fa;
  --aqe-navy: #0b3158;
  --aqe-teal: #0f7470;
  --aqe-focus: #006fcb;
  color: var(--aqe-ink);
  background: var(--aqe-surface);
  border: 1px solid var(--aqe-line);
  border-radius: 22px;
  box-shadow: 0 18px 54px rgba(19, 36, 59, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}
.aqe-requests *, .aqe-requests *::before, .aqe-requests *::after { box-sizing: border-box; }
.aqe-requests__header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding:28px 30px 22px; }
.aqe-requests__eyebrow { margin:0 0 7px; color:var(--aqe-teal); font-size:.72rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.aqe-requests h2 { margin:0; color:var(--aqe-navy); font-size:clamp(1.55rem,2vw,2.2rem); line-height:1.1; }
.aqe-requests__intro { margin:9px 0 0; color:var(--aqe-muted); font-size:.96rem; }
.aqe-requests__context { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:7px; min-width:220px; }
.aqe-requests__filters { display:grid; grid-template-columns:repeat(6,minmax(118px,1fr)); gap:12px; padding:18px 30px; background:var(--aqe-soft); border-block:1px solid var(--aqe-line); }
.aqe-requests__filters label { display:grid; gap:6px; color:var(--aqe-muted); font-size:.72rem; font-weight:700; letter-spacing:.03em; }
.aqe-requests__filters select, .aqe-requests__filters input { width:100%; min-height:42px; padding:8px 10px; color:var(--aqe-ink); background:#fff; border:1px solid #cbd8df; border-radius:10px; font:inherit; font-size:.86rem; font-weight:600; }
.aqe-requests__filters select:focus-visible, .aqe-requests__filters input:focus-visible, .aqe-button:focus-visible, .aqe-future-detail:focus-visible { outline:3px solid color-mix(in srgb,var(--aqe-focus) 35%,transparent); outline-offset:2px; }
.aqe-requests__filter-actions { grid-column:1/-1; display:flex; justify-content:flex-end; gap:9px; }
.aqe-button { min-height:42px; padding:9px 16px; border-radius:11px; border:1px solid transparent; font:inherit; font-size:.84rem; font-weight:750; cursor:pointer; transition:transform .16s ease,background .16s ease,border-color .16s ease; }
.aqe-button:not(:disabled):hover { transform:translateY(-1px); }
.aqe-button--primary { color:#fff; background:var(--aqe-navy); }
.aqe-button--quiet { color:var(--aqe-navy); background:#fff; border-color:#cbd8df; }
.aqe-button:disabled { opacity:.55; cursor:wait; }
.aqe-requests__status { padding-inline:30px; }
.aqe-message { margin:22px 0; padding:18px 20px; border-radius:13px; border:1px solid var(--aqe-line); background:var(--aqe-soft); }
.aqe-message strong { display:block; color:var(--aqe-navy); font-size:1rem; }
.aqe-message p { margin:4px 0 0; color:var(--aqe-muted); }
.aqe-message--error { background:#fff6f4; border-color:#f1c9c2; }
.aqe-message--empty { background:#f6fbfb; border-color:#c5e8e5; }
.aqe-requests__skeleton { display:grid; gap:1px; background:var(--aqe-line); }
.aqe-requests__skeleton[hidden] { display:none; }
.aqe-requests__skeleton span { display:block; height:76px; background:linear-gradient(90deg,#f3f7f8 25%,#fff 50%,#f3f7f8 75%); background-size:200% 100%; animation:aqe-shimmer 1.2s infinite linear; }
.aqe-requests__table-wrap { overflow-x:auto; }
.aqe-requests__table { width:100%; border-collapse:collapse; font-size:.82rem; }
.aqe-requests__table th { padding:13px 14px; color:var(--aqe-muted); background:#fbfcfd; border-bottom:1px solid var(--aqe-line); font-size:.68rem; letter-spacing:.045em; text-align:left; text-transform:uppercase; white-space:nowrap; }
.aqe-requests__table td { min-width:105px; padding:15px 14px; border-bottom:1px solid #e8eef2; vertical-align:top; }
.aqe-requests__table tbody tr:hover { background:#fbfdfd; }
.aqe-reference, .aqe-request-copy, .aqe-state-stack { display:grid; gap:5px; }
.aqe-reference strong { color:var(--aqe-navy); font-size:.8rem; }
.aqe-reference span, .aqe-risk { color:var(--aqe-muted); font-size:.72rem; }
.aqe-request-copy { min-width:220px; max-width:390px; }
.aqe-request-copy strong { color:var(--aqe-ink); font-size:.88rem; line-height:1.35; }
.aqe-reference, .aqe-request-copy, .aqe-request-copy strong, .aqe-request-copy p { overflow-wrap:anywhere; }
.aqe-request-copy p { display:-webkit-box; margin:0; color:var(--aqe-muted); font-size:.76rem; line-height:1.4; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.aqe-future-detail { justify-self:start; padding:0; color:var(--aqe-teal); background:none; border:0; font:inherit; font-size:.7rem; font-weight:750; }
.aqe-future-detail:disabled { color:#7d8b99; }
.aqe-detail-unavailable { justify-self:start; color:#687787; font-size:.7rem; font-weight:700; }
.aqe-badge { display:inline-flex; align-items:center; width:max-content; max-width:100%; min-height:24px; padding:3px 8px; border-radius:999px; color:#334b62; background:#edf3f6; font-size:.68rem; font-weight:750; white-space:nowrap; }
.aqe-badge--context { color:#165f5d; background:#e5f6f4; }
.aqe-badge--state { color:#334b62; background:#edf3f6; }
.aqe-badge--resolution { color:#5c4b78; background:#f0ebf8; }
.aqe-badge--channel { color:#31506a; background:#eef5f8; }
.aqe-badge--priority-urgent { color:#8a271b; background:#fdeae6; }
.aqe-badge--priority-high { color:#805106; background:#fff1d7; }
.aqe-badge--priority-normal { color:#275379; background:#e8f2fa; }
.aqe-badge--priority-low { color:#526271; background:#edf1f3; }
.aqe-requests__footer { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:70px; padding:14px 30px; background:#fbfcfd; }
.aqe-requests__footer p { margin:0; color:var(--aqe-muted); font-size:.73rem; }
.aqe-requests__pagination { display:flex; gap:9px; }
.aqe-requests--message { padding:24px; }
@keyframes aqe-shimmer { to { background-position:-200% 0; } }

@media (max-width: 1100px) {
  .aqe-requests__filters { grid-template-columns:repeat(3,minmax(150px,1fr)); }
  .aqe-requests__table { min-width:980px; }
}
@media (max-width: 720px) {
  .aqe-requests { border-radius:16px; }
  .aqe-requests__header { display:grid; padding:22px 18px 18px; }
  .aqe-requests__context { justify-content:flex-start; min-width:0; }
  .aqe-requests__filters { grid-template-columns:repeat(2,minmax(0,1fr)); padding:16px 18px; }
  .aqe-requests__filter-actions { justify-content:stretch; }
  .aqe-requests__filter-actions .aqe-button { flex:1; }
  .aqe-requests__table { min-width:0; }
  .aqe-requests__table thead { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  .aqe-requests__table, .aqe-requests__table tbody, .aqe-requests__table tr, .aqe-requests__table td { display:block; width:100%; }
  .aqe-requests__table tbody { display:grid; gap:12px; padding:14px; background:var(--aqe-soft); }
  .aqe-requests__table tr { padding:15px; background:#fff; border:1px solid var(--aqe-line); border-radius:14px; box-shadow:0 5px 18px rgba(19,36,59,.05); }
  .aqe-requests__table td { display:grid; grid-template-columns:105px minmax(0,1fr); gap:10px; min-width:0; padding:8px 0; border:0; }
  .aqe-requests__table td::before { content:attr(data-label); color:var(--aqe-muted); font-size:.66rem; font-weight:800; letter-spacing:.035em; text-transform:uppercase; }
  .aqe-request-copy { min-width:0; }
  .aqe-requests__footer { align-items:stretch; padding:15px 18px; flex-direction:column; }
  .aqe-requests__pagination { display:grid; grid-template-columns:1fr 1fr; }
}
@media (max-width: 440px) {
  .aqe-requests__filters { grid-template-columns:1fr; }
  .aqe-requests__table td { grid-template-columns:92px minmax(0,1fr); }
  .aqe-requests__pagination { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .aqe-requests *, .aqe-requests *::before, .aqe-requests *::after { scroll-behavior:auto !important; transition:none !important; animation-duration:.001ms !important; animation-iteration-count:1 !important; }
}
