:root {
  color-scheme: light;
  --ink: #15251d;
  --muted: #68756e;
  --line: #dfe6e2;
  --soft: #f3f6f4;
  --paper: #ffffff;
  --green: #137a4b;
  --green-dark: #0b5132;
  --green-soft: #e5f4eb;
  --amber: #9d6512;
  --red: #a13d36;
  --blue: #286fa8;
  --shadow: 0 14px 38px rgba(24, 51, 38, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f4f6f4; }
button, input, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 18px; background: #10261b; color: #fff; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; padding: 0 8px 28px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; letter-spacing: -.02em; }
.brand small { color: #9eb5a8; margin-top: 1px; }
.brand-mark { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; background: #36b873; color: #092216; font-size: 28px; font-weight: 900; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.brand-mark-small { width: 38px; height: 38px; border-radius: 12px; font-size: 20px; }
.nav { display: grid; gap: 6px; }
.nav-section { margin: 0; padding: 0 12px 5px; color: #74dda8; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 800; }
.nav-item { border: 0; border-radius: 11px; padding: 11px 12px; color: #b7cabf; background: transparent; text-align: left; display: flex; align-items: center; gap: 12px; }
.nav-item span { width: 20px; text-align: center; font-size: 18px; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-item.active { color: #fff; background: #1f6846; box-shadow: inset 3px 0 #6ee5a5; }
.sidebar-user { margin-top: auto; padding: 15px 6px 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #d8f4e5; color: #0f603b; font-weight: 800; }
.sidebar-user-copy { min-width: 0; flex: 1; }
.sidebar-user-copy strong, .sidebar-user-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user-copy strong { font-size: 13px; }
.sidebar-user-copy small { color: #91a99b; font-size: 11px; margin-top: 3px; }
.icon-button { border: 0; color: #9eb5a8; background: transparent; font-size: 19px; }

.workspace { padding: 34px 40px 64px; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.topbar h1 { margin: 3px 0 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.04em; }
.topbar-actions { display: flex; gap: 10px; align-items: center; }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; line-height: 1.5; color: var(--green); font-weight: 800; }
.muted { color: var(--muted); line-height: 1.6; }
.status-pill, .badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; white-space: nowrap; }
.status-pill { padding: 9px 13px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 12px; }
.safety-dot { width: 8px; height: 8px; border-radius: 50%; background: #3dbe77; box-shadow: 0 0 0 4px rgba(61,190,119,.14); }
.button { border: 1px solid transparent; border-radius: 10px; min-height: 39px; padding: 0 16px; font-weight: 700; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.button-danger { background: #fff; color: var(--red); border-color: #efc9c6; }
.button-danger:hover { background: #fdebea; }
.button-wide { width: 100%; min-height: 46px; }
.button-small { min-height: 31px; padding: 0 11px; font-size: 12px; }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 15px; margin-bottom: 16px; }
.metric-card, .panel { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.metric-card { padding: 20px; border-radius: 15px; }
.metric-label { color: var(--muted); margin: 0 0 14px; font-size: 13px; }
.metric-value { display: block; font-size: 31px; letter-spacing: -.05em; }
.metric-card small { display: block; color: #87938c; margin-top: 8px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel { border-radius: 15px; padding: 22px; min-width: 0; }
.panel-wide { grid-column: 1 / -1; }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 18px; margin-bottom: 20px; }
.panel h2, .login-card h2 { margin: 4px 0 0; font-size: 24px; letter-spacing: -.025em; font-weight: 600; color: #060; }
.badge { padding: 6px 10px; background: var(--soft); font-size: 11px; font-weight: 800; color: var(--muted); }
.badge-soft { max-width: 230px; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: middle; }
.badge-success { background: var(--green-soft); color: var(--green-dark); }
.badge-warn { background: #fff0d6; color: var(--amber); }
.badge-info { background: #e5f1fa; color: var(--blue); }
.badge-error { background: #fdebea; color: var(--red); }
.badge-offline { background: #edf0ee; color: #68756e; }
.key-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 24px; }
.key-value { min-width: 0; display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid #edf1ee; }
.key-value span { color: var(--muted); overflow-wrap: anywhere; }
.key-value strong { text-align: right; overflow-wrap: anywhere; }

.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { color: #78847e; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; text-align: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
td { padding: 13px 12px; border-bottom: 1px solid #edf1ee; max-width: 280px; overflow-wrap: anywhere; text-align: center; }
tr:last-child td { border-bottom: 0; }
.clickable-row { cursor: pointer; }
.clickable-row:hover, .clickable-row:focus { background: var(--green-soft); outline: none; }
.lucide-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.user-directory-wrap { padding: 4px 5px; margin: -4px -5px; }
.user-directory-table { table-layout: fixed; min-width: 860px; }
.user-directory-table th:nth-child(1), .user-directory-table td:nth-child(1) { width: 88px; }
.user-directory-table th:nth-child(2), .user-directory-table td:nth-child(2) { width: 28%; }
.user-directory-table th:nth-child(3), .user-directory-table td:nth-child(3) { width: 31%; }
.user-directory-row { position: relative; transform-origin: center; transition: transform .14s ease, background-color .14s ease; }
.user-directory-row:hover, .user-directory-row:focus-within { z-index: 1; transform: scale(1.008); background: #f0f7f3; }
.user-header-control { display: flex; align-items: center; gap: 3px; min-width: 0; }
.user-header-input, .user-status-select { width: 100%; min-height: 32px; padding: 0; border: 0; border-radius: 0; outline: none; background: transparent; box-shadow: none; color: #78847e; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.user-header-input::placeholder { color: #78847e; opacity: 1; }
.user-header-input:focus, .user-status-select:focus { border: 0; box-shadow: none; color: var(--ink); }
.user-status-select { cursor: pointer; }
.user-sort-button, .user-row-action { flex: 0 0 auto; display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--muted); opacity: .42; transition: color .14s ease, opacity .14s ease, transform .14s ease; }
.user-sort-button { width: 28px; height: 28px; padding: 0; }
.user-sort-button .lucide-icon { width: 15px; height: 15px; }
.user-sort-button:hover, .user-sort-button:focus-visible, .user-sort-button.active { color: var(--green); opacity: 1; outline: none; }
.user-status-icon { width: 30px; height: 30px; display: inline-grid; place-items: center; opacity: .42; transition: opacity .14s ease, transform .14s ease; }
.user-status-icon:hover, .user-directory-row:hover .user-status-icon { opacity: 1; }
.user-status-success { color: var(--green); }
.user-status-error { color: var(--red); }
.user-status-warning { color: var(--amber); }
.user-status-processing { color: var(--blue); }
.user-name-cell, .user-email-cell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-office-content { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.user-office-codes { min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; }
.user-row-action { width: 32px; height: 32px; border-radius: 8px; }
.user-row-action:hover, .user-row-action:focus-visible, .user-directory-row:hover .user-row-action { color: var(--green); opacity: 1; outline: none; }
.user-row-action:hover { transform: translate(1px, -1px); }
.user-row-action:disabled { cursor: wait; opacity: .25; }
.user-directory-empty { padding: 34px 12px; color: var(--muted); text-align: center; }
.empty-state { padding: 34px 12px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); }
.queue-summary { margin: -6px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.diagnostic-list { display: block; }
.diagnostic-item { overflow: hidden; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 10px; background: var(--soft); }
.diagnostic-item.terminal { border-left-color: #9ba7a0; }
.diagnostic-item summary { padding: 12px 14px; cursor: pointer; font-weight: 700; }
.diagnostic-json { max-height: 56vh; margin: 0; padding: 15px; overflow: auto; border-top: 1px solid var(--line); background: #10261b; color: #d9f4e5; font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(8, 25, 17, .62); }
.modal-card { width: min(920px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 24px; border-radius: 16px; background: var(--paper); box-shadow: 0 24px 70px rgba(0,0,0,.28); outline: none; }
.modal-card .diagnostic-json { margin-top: 18px; border-radius: 10px; }
.loading { margin: 20px 0; min-height: 160px; display: grid; place-items: center; align-content: center; color: var(--muted); }
.loading span { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.collection-grid { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr); }
.collectors-grid { grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); align-items: stretch; }
.collector-table-panel .alert { margin-bottom: 14px; }
.collector-table-scroll { max-height: 540px; overflow: auto; overflow-anchor: none; }
.collectors-table { table-layout: fixed; min-width: 760px; }
.collectors-table th { position: sticky; top: 0; z-index: 2; background: var(--paper); }
.collectors-table th:nth-child(1), .collectors-table td:nth-child(1) { width: 12%; }
.collectors-table th:nth-child(2), .collectors-table td:nth-child(2) { width: 12%; }
.collectors-table th:nth-child(3), .collectors-table td:nth-child(3) { width: 9%; }
.collectors-table th:nth-child(4), .collectors-table td:nth-child(4) { width: 18%; text-align: left; }
.collectors-table th:nth-child(5), .collectors-table td:nth-child(5) { width: 7%; }
.collectors-table th:nth-child(6), .collectors-table td:nth-child(6) { width: 13%; }
.collectors-table th:nth-child(7), .collectors-table td:nth-child(7) { width: 29%; white-space: normal; overflow-wrap: anywhere; }
.collectors-table td { padding-top: 9px; padding-bottom: 9px; }
.collector-row { transition: transform .26s ease, background-color .16s ease; }
.collector-row[title] { cursor: help; }
.badge-approval { appearance: none; border: 1px solid #762637; transition: transform .16s ease, box-shadow .16s ease; }
.badge-approval:hover, .badge-approval:focus-visible { transform: scale(1.045); box-shadow: 0 3px 10px rgba(118, 38, 55, .16); outline: none; }
.badge-approval:disabled { cursor: wait; opacity: .6; }
.collector-summary { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.collector-summary .metric-card { min-width: 0; display: flex; min-height: 126px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.collector-summary .metric-label { margin-bottom: 10px; }
.metric-value-error { color: var(--red); }
.metric-value-warn { color: var(--amber); }
.metric-value-success { color: var(--green); }
.collector-today-summary { display: grid; gap: 0; }
.collector-today-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid #edf1ee; }
.collector-today-item:last-child { border-bottom: 0; }
.collector-today-item span { color: var(--muted); font-size: 13px; }
.collector-today-item strong { font-size: 20px; letter-spacing: -.035em; }
.collector-today-item strong > span { color: inherit; font-size: inherit; }
.collector-today-task-errors { color: var(--muted); font-size: .8em; font-weight: 600; }
.collector-queue-panel { margin-top: 16px; }
.queue-table-scroll { max-height: 620px; overflow: auto; overflow-anchor: none; }
.queue-grid { display: grid; grid-template-columns: minmax(90px, .6fr) minmax(180px, 1fr) minmax(280px, 2fr) minmax(140px, .8fr); align-items: center; gap: 0; }
.queue-header { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.queue-header span { padding: 10px 12px; color: #78847e; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.queue-row { overflow: visible; border: 0; border-bottom: 1px solid #edf1ee; border-radius: 0; background: transparent; transform-origin: top; transition: transform .28s ease, opacity .2s ease; }
.queue-row:last-child { border-bottom: 0; }
.queue-row summary { position: relative; padding: 0; list-style: none; font-weight: 400; transition: background-color .16s ease; }
.queue-row summary::-webkit-details-marker { display: none; }
.queue-row summary:hover, .queue-row summary:focus-visible { background: var(--green-soft); outline: none; }
.queue-row summary > span { min-width: 0; padding: 13px 12px; overflow-wrap: anywhere; text-align: center; }
.queue-row summary > .badge { width: max-content; max-width: calc(100% - 24px); justify-self: center; padding: 6px 10px; }
.queue-task-name { text-align: left !important; }
.queue-task-number { font-variant-numeric: tabular-nums; }
.queue-row[open] summary { background: var(--soft); }
.queue-row .diagnostic-json { border-top: 1px solid var(--line); }
.queue-row > .queue-error { margin: 12px; color: var(--ink); overflow-wrap: anywhere; }
.queue-row > button { margin: 0 12px 12px; }
.confirmation-card { width: min(430px, 100%); }
.confirmation-card h2 { margin: 6px 0 0; }
.confirmation-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.collection-grid .panel-wide { grid-column: auto; }
.action-panel h2 { margin: 5px 0 8px; }
.action-form { display: grid; gap: 12px; margin-top: 22px; }
.action-panel > .button { margin-top: 14px; }
.checkbox-label { display: flex !important; align-items: center; gap: 10px; }
.checkbox-label input { width: auto !important; }
.table-heading { margin-top: 24px; }
label span { display: block; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
input, select { width: 100%; min-height: 44px; border: 1px solid #ccd6d0; border-radius: 10px; padding: 0 12px; background: #fff; color: var(--ink); outline: none; }
input:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(19,122,75,.12); }
.cash-profile-fields { display: grid; gap: 14px; margin-top: 20px; }
.cash-profile-button { border: 0; cursor: pointer; }
.alert { padding: 11px 13px; border-radius: 9px; background: var(--soft); color: var(--ink); font-size: 13px; line-height: 1.5; }
.alert-error { background: #fdebea; color: var(--red); border: 1px solid #f3cfcc; }
.alert-success { background: var(--green-soft); color: var(--green-dark); border: 1px solid #c9e7d5; }

.login-page { min-height: 100vh; background: #0d2519; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(430px, .9fr); }
.login-brand { position: relative; overflow: hidden; padding: clamp(50px, 8vw, 110px); color: #fff; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 15% 15%, #215e40 0, transparent 38%), linear-gradient(145deg, #10291c, #081b12); }
.login-brand::after { content: ''; position: absolute; width: 520px; height: 520px; right: -220px; bottom: -260px; border: 1px solid rgba(109,229,165,.18); border-radius: 50%; box-shadow: 0 0 0 80px rgba(109,229,165,.04), 0 0 0 160px rgba(109,229,165,.025); }
.login-brand .eyebrow { margin-top: 32px; color: #74dda8; }
.login-brand h1 { margin: 8px 0 12px; font-size: clamp(44px, 6vw, 76px); line-height: .95; letter-spacing: -.06em; }
.login-lead { max-width: 520px; color: #b7cbbf; font-size: 18px; line-height: 1.6; }
.login-safety { margin-top: 42px; display: flex; align-items: center; gap: 11px; color: #b7cbbf; font-size: 13px; }
.login-card { padding: clamp(40px, 8vw, 110px); background: #f7f9f7; display: flex; flex-direction: column; justify-content: center; }
.login-card > * { width: 100%; max-width: 430px; margin-left: auto; margin-right: auto; }
.login-card h2 { font-size: 29px; }
.login-form { display: grid; gap: 18px; margin-top: 26px; }
.login-footnote { color: #7b8780; font-size: 11px; line-height: 1.6; margin-top: 20px; }

@media (max-width: 980px) {
  .app-shell { grid-template-columns: 76px minmax(0, 1fr); }
  .sidebar { padding: 20px 11px; }
  .brand { padding-inline: 8px; }
  .brand > span:last-child, .nav-item:not(.active)::after, .nav-item { font-size: 0; }
  .nav-item { justify-content: center; padding: 11px; }
  .nav-item span { font-size: 18px; }
  .nav-section { display: none; }
  .sidebar-user-copy, .icon-button { display: none; }
  .sidebar-user { justify-content: center; }
  .workspace { padding: 28px 24px 50px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .collector-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .app-shell { display: block; }
  .sidebar { position: static; width: 100%; height: auto; padding: 12px 16px; flex-direction: row; align-items: center; gap: 12px; overflow-x: auto; }
  .brand { padding: 0; }
  .brand > span:last-child { display: none; }
  .nav { display: flex; flex: 1; }
  .nav-item { flex: 0 0 44px; }
  .sidebar-user { border: 0; padding: 0; margin: 0; }
  .avatar { width: 34px; height: 34px; }
  .workspace { padding: 22px 16px 42px; }
  .topbar { align-items: flex-start; }
  .status-pill { display: none; }
  .metrics, .dashboard-grid, .collection-grid, .collectors-grid { grid-template-columns: 1fr; }
  .collector-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .queue-grid { grid-template-columns: 82px minmax(150px, 1fr) minmax(240px, 1.7fr) 130px; }
  .panel-wide { grid-column: auto; }
  .key-values { grid-template-columns: 1fr; }
  .login-layout { display: block; }
  .login-brand { min-height: 38vh; padding: 45px 28px; }
  .login-brand h1 { font-size: 46px; }
  .login-safety { margin-top: 22px; }
  .login-card { min-height: 62vh; padding: 45px 24px; }
}
/* Telegram recipient access stays compact until a recipient is opened. */
.telegram-filters { display: flex; gap: 12px; padding: 0 24px 20px; flex-wrap: wrap; }
.telegram-filters input { flex: 1; min-width: 220px; }
.telegram-list { padding: 0 24px 24px; }
.telegram-recipient { border-top: 1px solid var(--border, #e5e7eb); padding: 16px 0; }
.telegram-recipient summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; cursor: pointer; }
.telegram-recipient-heading { display: flex; flex-direction: column; min-width: 200px; flex: 1; }
.telegram-recipient-form { display: grid; gap: 16px; padding: 20px 0 0; }
.telegram-recipient-form > label { display: grid; gap: 6px; }
.telegram-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; max-height: 280px; overflow-y: auto; border: 1px solid var(--border, #e5e7eb); border-radius: 8px; padding: 16px; }
.telegram-offices label { display: flex; align-items: center; gap: 6px; }
.telegram-offices input { width: auto; }
.telegram-recipient-form > button { justify-self: start; }
[data-panel="telegram"] > .panel + .panel { margin-top: 20px; }
.telegram-recipient summary::before { content: '▸'; color: var(--muted); }
.telegram-recipient[open] summary::before { content: '▾'; }

/* MAX recipient access stays compact until a recipient is opened. */
.max-filters { display: flex; gap: 12px; padding: 0 24px 20px; flex-wrap: wrap; }
.max-filters input { flex: 1; min-width: 220px; }
.max-list { padding: 0 24px 24px; }
.max-recipient { border-top: 1px solid var(--border, #e5e7eb); padding: 16px 0; }
.max-recipient summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; cursor: pointer; }
.max-recipient-heading { display: flex; flex-direction: column; min-width: 200px; flex: 1; }
.max-recipient-form { display: grid; gap: 16px; padding: 20px 0 0; }
.max-recipient-form > label { display: grid; gap: 6px; }
.max-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; max-height: 280px; overflow-y: auto; border: 1px solid var(--border, #e5e7eb); border-radius: 8px; padding: 16px; }
.max-offices label { display: flex; align-items: center; gap: 6px; }
.max-offices input { width: auto; }
.max-recipient-form > button { justify-self: start; }
[data-panel="max"] > .panel + .panel { margin-top: 20px; }
.max-recipient summary::before { content: '▸'; color: var(--muted); }
.max-recipient[open] summary::before { content: '▾'; }

.cash-permissions { text-align: left; flex: 0 0 100%; min-width: 0; white-space: normal; }
.cash-permissions summary { cursor: pointer; color: var(--green); font-size: 12px; }
.cash-permission-office { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cash-permission-office > span:first-child { flex: 0 0 100%; font-weight: 700; }
.cash-permission-office label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; font-weight: 400; cursor: pointer; }
.cash-permission-office input[type="checkbox"] { flex: 0 0 16px; width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; accent-color: var(--green); }
.cash-permission-status { flex: 0 0 100%; min-width: 0; overflow-wrap: anywhere; font-size: 11px; color: var(--muted); }
.cash-permission-status.error { color: var(--red); }
.cash-permission-empty { font-size: 12px; color: var(--muted); }
