/* 2026-11-05 Setup → Access rights (access.js). The dashboard's own tokens (core/dashboard.css): light and dark follow. */
.ar-title { margin: 0 0 4px; }
.ar-mode-h { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.ar-mode-h > div:first-child { flex: 1; min-width: 260px; }
.ar-rules { margin-top: 10px; line-height: 1.6; }
.ar-tabs { margin: 0 0 12px; width: max-content; }
.ar-n { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 99px; background: #b42318; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.ar-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 10px; }
.ar-h { margin: 0 0 6px; }
.ar-t { width: 100%; }
.ar-t tr.ar-g th, .ar-t tr.ar-g td { background: var(--page); text-align: left; font-weight: 700; padding: 8px 10px; }
.ar-t td { padding: 5px 10px; vertical-align: middle; border-bottom: 1px solid var(--line); }
.ar-p { min-width: 260px; }
.ar-need { white-space: nowrap; }
/* 2026-11-14 what each level does on a case desk; the special rights (changing a filled BR 5) stand out */
.ar-hint { font-size: 12px; line-height: 1.35; margin-top: 2px; max-width: 520px; white-space: normal; }
tr.ar-right td { background: #fff7e6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) tr.ar-right td { background: #3a2c12; } }
:root[data-theme="dark"] tr.ar-right td { background: #3a2c12; }
.ar-need > * + * { margin-left: 8px; }
.ar-lock { font-size: 12px; color: var(--crit); font-weight: 600; }
.ar-sys { font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; background: var(--page); color: var(--ink-2); margin-left: 4px; }
.ar-sys.ar-lc { color: #7a3fa0; }
.ar-ed { color: var(--amber-d); font-style: normal; font-size: 11px; }
.ar-seg { width: max-content; }
.ar-seg button.ar-b { padding: 5px 10px; font-size: 12.5px; }
.ar-seg button.ar-b:disabled { cursor: not-allowed; opacity: .4; }
.ar-seg button.ar-b.on.ar-on0 { background: var(--muted); color: #fff; }
.ar-seg button.ar-b.on.ar-on1 { background: var(--s1); color: #fff; }
.ar-seg button.ar-b.on.ar-on2 { background: var(--s3); color: #fff; }
.ar-seg button.ar-b.on.ar-on3 { background: var(--navy); color: #fff; }
.ar-lv { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; }
.ar-lv0 { background: var(--page); color: var(--muted); }
.ar-lv1 { background: #d1e9ff; color: #175cd3; }
.ar-lv2 { background: var(--green-bg); color: var(--good-ink); }
.ar-lv3 { background: var(--navy); color: #fff; }
.ar-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; align-items: end; margin: 10px 0 6px; }
.ar-form .ar-wide { grid-column: span 2; }
.ar-form input, .ar-form select { width: 100%; }
tr.ar-past td { color: var(--muted); }
@media (max-width: 700px) { .ar-form .ar-wide { grid-column: auto; } .ar-p { min-width: 160px; } }
/* 2026-11-09 the phones' sign-in date; the categories of field staff */
.ar-signin { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: var(--page); }
.ar-signin-f { display: inline-flex; gap: 6px; align-items: center; margin-left: auto; }
.ar-catform { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 4px 0 12px; padding: 10px; border: 1px dashed var(--line); border-radius: 10px; }
.ar-catform .f { min-width: 220px; flex: 1; }
.ar-catform input, .ar-catform select { width: 100%; }
