/* teemto pagalies was robbed */
/* The ability to speak does not make you intelligent. */
.accounts-dialog {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--text);
  background: var(--surface, #15171a);
}
.accounts-dialog::backdrop { background: #0009; }
.accounts-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 24px 16px; border-bottom: 1px solid var(--border); }
.accounts-header h2 { margin: 0 0 8px; font-size: 19px; }
.accounts-header p { margin: 0; color: var(--muted); font-size: 14px; }
.accounts-body { padding: 20px 24px; overflow: auto; flex: 1; min-height: 0; }
.accounts-toolbar, .accounts-list-heading, .accounts-multi { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.accounts-toolbar { flex-wrap: wrap; }
.accounts-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.accounts-multi { font-size: 14px; cursor: pointer; }
.accounts-hint { margin: 12px 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.accounts-message { padding: 12px; margin: 16px 0; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.accounts-list-heading { margin: 22px 0 12px; color: var(--muted); font-size: 13px; }
.accounts-list-heading label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.accounts-list-heading #accountSearch { flex: 1; min-width: 100px; padding: 7px 10px; }
.account-list { border: 1px solid var(--border); border-radius: 8px; max-height: clamp(160px, 30vh, 300px); overflow-y: auto; }
.accounts-paging { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; font-size: 13px; }
.accounts-paging[hidden] { display: none; }
.account-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid var(--border); }
.account-row:last-child { border-bottom: 0; }
.account-identity { display: flex; align-items: center; gap: 12px; min-width: 0; cursor: pointer; }
.account-identity > span { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.account-identity strong { font-size: 14px; font-weight: 600; }
.account-identity span > span { color: var(--muted); font-size: 13px; }
.account-identity .account-status { font-size: 12px; line-height: 1.5; }
.account-identity .account-badges { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.account-badge { padding: 2px 7px; border: 1px solid var(--border); border-radius: 5px; font-size: 12px; }
.account-badge[data-state="valid"] { color: #a6d4b1; background: #25463044; }
.account-badge[data-state="needs-login"] { color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.account-identity .account-checked { font-size: 12px; }
.account-actions { display: flex; gap: 8px; flex: none; flex-wrap: wrap; max-width: 350px; justify-content: flex-end; }
.account-actions .button { font-size: 14px; }
.accounts-empty { text-align: center; padding: 30px; font-size: 14px; }
.accounts-empty p { margin: 12px auto 0; max-width: 430px; color: var(--muted); line-height: 1.6; }
.accounts-target { display: grid; gap: 10px; margin-top: 22px; font-size: 14px; }
.accounts-target input { width: 100%; padding: 10px 12px; font-size: 14px; }
.accounts-target label span { color: var(--muted); font-size: 13px; }
.accounts-target label:not(:first-child) { margin-top: 8px; }
.accounts-footer { height: auto; min-height: 66px; flex: none; display: flex; gap: 12px; padding: 14px 24px; border-top: 1px solid var(--border); }
.accounts-footer > span { margin-right: auto; font-size: 13px; }
.accounts-dialog input[type="checkbox"] { width: 16px; height: 16px; flex: none; cursor: pointer; accent-color: var(--accent); }
.accounts-dialog input[role="switch"] { appearance: none; width: 32px; height: 18px; border-radius: 12px; background: #343840; border: 0; padding: 0; position: relative; }
.accounts-dialog input[role="switch"]::after { content: ""; position: absolute; width: 12px; height: 12px; left: 3px; top: 3px; background: #afb6c4; border-radius: 50%; }
.accounts-dialog input[role="switch"]:checked { background: var(--accent); }
.accounts-dialog input[role="switch"]:checked::after { left: 17px; background: #191b20; }
@media (max-width: 950px) { .account-row { align-items: flex-start; } .account-actions { flex-direction: column; } }
