.mail-account-bar { display:grid; gap:10px; padding:0 0 14px; margin-bottom:18px; border-bottom:1px solid #dce5df; }
.mail-account-selector { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:8px; min-width:0; }
.mail-account-choice { display:grid; grid-template-columns:20px minmax(0,1fr) auto; align-items:center; gap:10px; min-height:66px; padding:10px 12px; border:1px solid #d8e2dc; border-radius:6px; background:#f7f9f8; color:#334c3f; text-align:left; min-width:0; }
.mail-account-choice:hover:not(:disabled) { background:#edf4f0; color:#145e40; border-color:#9ebaab; }
.mail-account-choice.active,.mail-account-choice.active:hover { background:#e6f3eb; color:#145e40; border-color:#217a55; box-shadow:inset 0 -3px #217a55; }
.mail-account-choice:focus-visible { outline:2px solid #217a55; outline-offset:2px; }
.mail-account-choice:disabled { cursor:wait; opacity:.75; }
.mail-account-choice > svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; }
.mail-account-label { display:grid; gap:3px; min-width:0; color:inherit; }
.mail-account-label strong { font-size:14px; overflow-wrap:anywhere; }
.mail-account-label small { font-size:12px; color:#52675a; font-weight:400; overflow-wrap:anywhere; }
.mail-account-count { display:inline-grid; place-items:center; min-width:24px; height:24px; padding:0 6px; border-radius:12px; background:#e3e9e5; color:#52675a; font-size:12px; font-weight:800; white-space:nowrap; }
.mail-account-count.has-unread { background:#b83534; color:#fff; }
.mail-account-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.mail-account-kind { font-size:12px; color:#52675a; }
.mail-account-footer button { min-height:34px; font-size:12px; }
#mailMarkAllRead:hover:not(:disabled) { background:#d8e9df; color:#145e40; }
#mailMarkAllRead:disabled { background:#eef2ef; color:#647067; cursor:default; }
.mail-accounts-table { width:100%; border-collapse:collapse; table-layout:fixed; }
.mail-accounts-table th,.mail-accounts-table td { padding:12px; border-bottom:1px solid #dfe6e1; text-align:left; overflow-wrap:anywhere; vertical-align:middle; }
.mail-accounts-table th { background:#edf4ef; font-size:12px; }
.mail-accounts-table th:first-child { width:36%; }.mail-accounts-table th:last-child { width:120px; }
.mail-accounts-table small { display:block; margin-top:5px; color:#607168; }
.mail-accounts-table td:last-child,.mail-accounts-table th:last-child { text-align:center; }
.mail-accounts-table button { white-space:nowrap; }
[data-page="mailAccounts"] .employee-table-frame { overflow-x:auto; }
@media(max-width:600px){
  .mail-account-choice{grid-template-columns:20px minmax(0,1fr);gap:7px;padding:10px;align-content:start}
  .mail-account-label{grid-column:1/-1;grid-row:2}
  .mail-account-label strong{font-size:13px}
  .mail-account-count{grid-column:2;grid-row:1;justify-self:end}
  .mail-accounts-table{min-width:0}
  .mail-accounts-table thead{display:none}
  .mail-accounts-table tbody{display:block}
  .mail-accounts-table tr{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px 12px;padding:14px;border-bottom:1px solid #dfe6e1}
  .mail-accounts-table tr:last-child{border-bottom:0}
  .mail-accounts-table td{padding:0;border:0;min-width:0;grid-column:1}
  .mail-accounts-table td:first-child{grid-row:1}
  .mail-accounts-table td:nth-child(2){grid-row:2;font-size:13px;color:#52675a}
  .mail-accounts-table td:nth-child(3){grid-row:3;font-size:12px;font-weight:700}
  .mail-accounts-table td:last-child{grid-column:2;grid-row:1/4;align-self:start}
}
