/* The log with filters (D-173, app/js/audit-log.js): admin "יומן" tab and desk "יומן" tab.
   Desk density (--ctl-desk), tokens only (light / dark / high contrast from brand.css). */
.al { display: block; }
.al-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; margin: 0 0 8px; }
.al-f { display: flex; flex-direction: column; gap: 3px; margin: 0; font-size: .8rem; font-weight: 700; color: var(--muted); }
.al-f[hidden] { display: none; }
.al-f select, .al-f input {
  font: inherit; font-size: .9rem; font-weight: 400; color: var(--ink); background: var(--card);
  min-height: var(--ctl-desk); padding: 0 10px; margin: 0; width: auto; min-width: 0;
  border: 1px solid var(--line-field); border-radius: var(--r-sm);
}
.al-f input[type="date"] { width: 9.5em; }
.al-f input[type="text"] { width: 10em; }
.al-f-q { flex: 1 1 14em; }
.al-f-q input { width: 100%; }
.al-f select:focus-visible, .al-f input:focus-visible, .al-segbtn:focus-visible, .al-morebtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.al-seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; }
.al-segbtn {
  font: inherit; font-weight: 700; font-size: .86rem; min-height: var(--ctl-desk); padding: 0 12px; margin: 0;
  border: 0; border-inline-start: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; white-space: nowrap;
}
.al-segbtn:first-child { border-inline-start: 0; }
.al-segbtn[aria-pressed="true"] { background: var(--brand); color: var(--on-ink); }
.al-msg { margin: 0 0 6px; min-height: 1.2em; font-size: .86rem; color: var(--muted); }
.al-msg.bad { color: var(--bad); font-weight: 700; }
.al-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.al-table { width: 100%; border-collapse: collapse; font-size: .86rem; color: var(--ink); }
.al-table th, .al-table td { padding: 6px 10px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.al-table th { position: sticky; top: 0; background: var(--surface-2); color: var(--ink-2); font-weight: 700; white-space: nowrap; }
.al-table tbody tr:last-child td { border-bottom: 0; }
.al-at, .al-who, .al-act { white-space: nowrap; }
.al-target { max-width: 16em; overflow-wrap: anywhere; }
.al-mill { max-width: 12em; }
.al-details { color: var(--ink-2); overflow-wrap: anywhere; }
.al-dim, .al-empty { color: var(--muted); }
.al-more { display: flex; justify-content: center; margin-top: 8px; }
.al-more .btn { width: auto; margin: 0; min-height: var(--ctl-desk); }
.al-more .btn[hidden] { display: none; }
