.tc-account-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:20px;border:1px solid var(--border,#dce5e0);border-radius:20px;background:var(--surface,#fff);color:var(--text,#19251e);box-shadow:0 20px 70px #0004;overflow:auto;box-sizing:border-box}
.tc-account-dialog::backdrop{background:#0b171d80;backdrop-filter:blur(4px)}
.tc-account-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.tc-account-head h2{font:inherit;font-weight:700;font-size:20px;margin:0}.tc-account-head button,.tc-account-remove{display:grid;place-items:center;border:0;border-radius:10px;background:var(--surface-2,#f2f6f3);color:var(--text-2,#53665b);width:36px;height:36px;font-size:23px;cursor:pointer}
.tc-account-description,.tc-account-empty,.tc-account-notice{font-size:13px;line-height:1.5;color:var(--text-2,#5f7266);margin:10px 0 16px}.tc-account-notice:empty{display:none}
.tc-account-list{display:grid;gap:8px}.tc-account-row{display:flex;align-items:center;gap:5px;border:1px solid var(--border,#e3ebe6);border-radius:14px;padding:5px;min-width:0}.tc-account-row.is-active{background:var(--selection-bg,var(--surface-2,#f2f6f3));color:var(--selection-ink,var(--text,#19251e));border-color:var(--selection-border,var(--border,#e3ebe6))}
.tc-account-select{display:flex;align-items:center;gap:10px;flex:1;min-width:0;background:none;border:0;padding:8px;color:inherit;text-align:start;cursor:pointer;font:inherit}.tc-account-select:disabled{opacity:1;cursor:default}.tc-account-select>span:not(.tc-account-avatar):not(.tc-account-current){display:grid;gap:4px;min-width:0;flex:1}.tc-account-select strong,.tc-account-select small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tc-account-select strong{font-size:14px}.tc-account-select small{font-size:11px;color:var(--text-2,#64756b)}
.tc-account-avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:12px;background:var(--surface-2,#e8f1eb);color:var(--text,#204830);font-size:13px;font-weight:700}.tc-account-current{font-size:10px;color:var(--selection-ink,var(--text,#19251e));max-width:80px}.tc-account-remove{width:32px;height:34px;flex:none}
.tc-account-add{display:block;width:100%;border:0;border-radius:12px;padding:13px;margin-top:16px;background:var(--brand,#159b59);color:var(--on-brand,#fff);font:inherit;font-weight:650;cursor:pointer}.tc-account-dialog button:focus-visible{outline:2px solid var(--brand,#159b59);outline-offset:2px}.tc-account-transition body{visibility:hidden}
@media(max-width:480px){.tc-account-dialog{padding:16px}.tc-account-current{max-width:60px}.tc-account-select{gap:8px}.tc-account-select strong{font-size:13px}}

.tc-account-avatar{overflow:hidden;border-radius:50%}.tc-account-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}

.tc-account-row.is-active .tc-account-select small{color:var(--selection-muted,var(--text-2,#64756b))}
