.account-sync-actions { display: flex; gap: 5px; align-items: center; }
.strategy-sidebar .account-catalog-heading { display: flex !important; align-items: center; flex-wrap: nowrap; gap: 5px; min-height: 32px; padding: 0 3px 10px !important; }
.account-catalog-title { display: flex; flex: none; align-items: center; gap: 4px; white-space: nowrap; }
.account-catalog-title > span { font-size: 12px; }
.account-catalog-title > strong { margin-left: 0; padding: 1px 3px; font-size: 10px; }
.account-catalog-heading .account-sync-actions { flex: none; gap: 4px; }
.strategy-sidebar .account-catalog-heading .account-sync-actions button { width: auto !important; min-width: 0; min-height: 27px; height: 27px; padding: 0 5px !important; font-size: 10px !important; line-height: 1; border-radius: 7px !important; }
.account-sync-actions .account-sync-button { padding: 5px 7px; font-size: 11px; white-space: nowrap; }
.account-switch-button { border: 1px solid #cde7df; border-radius: 7px; padding: 5px 7px; color: #21876d; background: #f1faf6; font-size: 11px; font-weight: 600; white-space: nowrap; }
.account-switch-button:hover { background: #e6f6ef; border-color: #a1d4c1; }
.account-switch-button:disabled { opacity: .5; cursor: default; }
.app-modal.account-switch-dialog { width: min(820px, calc(100vw - 28px)); }
.account-switch-dialog .app-modal-symbol { color: #278e76; background: #eaf7f2; }
.account-switch-dialog .app-modal-head small { font-size: 0; }
.account-switch-dialog .app-modal-head small::after { content: '账户同步'; font-size: 11px; }
.account-switch-dialog .app-modal-confirm { background: #268b72; border-color: #268b72; }
.account-switch-fields { display: grid; gap: 12px; min-width: 0; margin-top: 16px; }
.account-switch-fields label { display: grid; gap: 7px; color: #48627d; font-size: 13px; font-weight: 600; }
.account-switch-fields input, .account-switch-fields select { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 12px; border: 1px solid #dbe6ef; border-radius: 8px; color: #3d5570; background: #fff; font-size: 13px; }
.account-switch-fields input:focus, .account-switch-fields select:focus { outline: 2px solid #c2e3d7; outline-offset: 1px; }
.account-switch-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.account-switch-panel { display: grid; grid-template-rows: auto 38px minmax(0, 1fr); gap: 10px; min-width: 0; padding: 14px; border: 1px solid #e1e9f0; border-radius: 12px; background: #f8fafc; }
.account-switch-panel-heading { display: flex; align-items: center; justify-content: space-between; color: #425d77; font-size: 13px; }
.account-switch-panel-heading small { color: #8b9caf; font-size: 11px; }
.account-switch-panel-hint { display: flex; align-items: center; margin: 0; color: #8496a9; font-size: 12px; }
.account-switch-options { min-width: 0; height: 294px; overflow: auto; scrollbar-width: thin; padding: 2px; }
.account-switch-fields .account-switch-option { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; box-sizing: border-box; margin-bottom: 7px; padding: 10px; border: 1px solid #e4ebf1; border-radius: 9px; background: #fff; cursor: pointer; }
.account-switch-option:hover { border-color: #bad9cf; }
.account-switch-fields .account-switch-option.is-selected { border-color: #72bcaa; background: #eef9f4; }
.account-switch-option:focus-within { outline: 2px solid #a5d7c9; outline-offset: 1px; }
.account-switch-option input[type="radio"] { position: absolute; width: 1px; height: 1px; opacity: 0; padding: 0; border: 0; }
.account-switch-avatar { position: relative; display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: #e4eef5; color: #6c8ba3; font-size: 15px; }
.account-switch-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.account-switch-option-copy { display: grid; gap: 3px; flex: 1; min-width: 0; }
.account-switch-option-copy strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #3d5a71; font-size: 13px; }
.account-switch-option-copy small { color: #899bae; font-size: 11px; font-weight: 400; overflow-wrap: anywhere; }
.account-switch-option-copy .account-switch-owner { color: #6e9688; font-size: 10px; }
.account-switch-check { flex: 0 0 17px; width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #d6e1e8; border-radius: 50%; font-size: 11px; color: #fff; }
.is-selected .account-switch-check { border-color: #3eaa8c; background: #3eaa8c; }
.account-switch-recent { flex: none; color: #4d9d86; font-size: 10px; font-weight: 400; }
.account-switch-empty { color: #8b9aaa; font-size: 12px; text-align: center; padding: 30px 0; }
.account-switch-preview { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 13px; border: 1px solid #d9ede5; border-radius: 8px; background: #f4faf7; font-size: 13px; color: #688078; overflow-wrap: anywhere; }
.account-switch-preview strong { color: #21876d; }
.account-switch-preview i { font-style: normal; }
.account-switch-preview > span { text-align: right; }
.account-switch-note { margin: 0; color: #8291a4; font-size: 12px; line-height: 1.7; }
.account-switch-error { margin: 0; padding: 10px 12px; border-radius: 7px; color: #bd4956; background: #fff2f3; font-size: 13px; overflow-wrap: anywhere; }
.strategy-node.has-migration-error { border-color: #e58a96; background: #fff5f6; }
@media (max-width: 560px) {
  .account-switch-columns { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .account-switch-panel { padding: 10px; gap: 8px; }
  .account-switch-options { height: 170px; }
  .account-switch-preview { align-items: flex-start; flex-direction: column; gap: 6px; }
  .account-switch-preview > span { text-align: left; }
}
