/* css/views/approvals.css — Approvals queue (js/views/approvals.js). */
.approvals { max-width: 1320px; }
.ap-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0 18px; }
.ap-kpis .kpi .v { font-size: 26px; }
.ap-tabs { margin-bottom: 16px; }
.ap-thd, .ap-row { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.2fr) 112px 110px minmax(0, 1.25fr) 118px minmax(0, 1.25fr) 76px; gap: 14px; align-items: center; }
.ap-thd { padding: 0 18px 9px; font: 500 11px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.ap-thd .r { text-align: right; }
.ap-tbl { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.ap-row { position: relative; min-height: 60px; padding: 11px 18px; border-top: 1px solid var(--line); font-size: 13.5px; transition: background var(--t-fast), box-shadow var(--t-fast); }
.ap-row:first-child { border-top: 0; }
.ap-row:hover { background: var(--bg); box-shadow: var(--shadow); z-index: 1; }
.ap-row.is-mine { box-shadow: inset 3px 0 0 var(--emph); }
.ap-c { min-width: 0; }
.ap-t { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; }
.ap-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--nested); color: var(--mut); display: inline-flex; align-items: center; justify-content: center; }
.ap-ic svg { width: 15px; height: 15px; }
.ap-row.is-mine .ap-ic { background: var(--emph-t); color: var(--emph); }
.ap-name { display: block; text-align: left; font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--ink); padding: 0; }
.ap-name::after { content: ""; position: absolute; inset: 0; }
.ap-row:has(.ap-name:focus-visible) { outline: 2px solid var(--bblue); outline-offset: -2px; }
.ap-name:focus-visible { outline: none; }
.ap-sub { font-size: 12px; color: var(--mut); margin-top: 3px; }
.ap-sub .mono { font-family: var(--mono); font-size: 11px; color: var(--mut2); }
.ap-amt { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.ap-amt b { font-size: 13px; }
.ap-amt small, .ap-time small { font: 500 10px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--mut2); }
.ap-time { display: flex; flex-direction: column; font-size: 12.5px; }
.ap-over { color: var(--danger-fg); font-weight: 700; }
.ap-who { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.ap-m { color: var(--mut2); font-size: 12.5px; }
.ap-row .state { white-space: normal; line-height: 1.25; }
.ap-act { display: flex; justify-content: flex-end; position: relative; z-index: 2; }
.ap-empty { margin-top: 4px; }
.ap-disc { margin-top: 14px; }
.ap-dw .kv > div { grid-template-columns: 110px 1fr; }
.ap-dw .sechd { margin-top: 20px; }
.ap-dw-ft { margin-top: 18px; }
@media (max-width: 1180px) {
  .ap-thd, .ap-row { grid-template-columns: minmax(0, 2.4fr) 112px 110px 118px minmax(0, 1.25fr) 76px; }
  .ap-thd > :nth-child(2), .ap-row > :nth-child(2), .ap-thd > :nth-child(5), .ap-row > :nth-child(5) { display: none; }
  .ap-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
