/* v14.8.36: account exchange add modal and admin review */
.tm-account-quick-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px;align-items:center}
.tm-account-quick-actions .tm-account-password-link{margin:0}
.tm-exchange-open{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:8px 14px;border:1px solid #cfdcff;border-radius:10px;background:#fff;color:#225be4;font-weight:700;font-size:12px;line-height:1.35;font-family:inherit;cursor:pointer;box-shadow:0 3px 9px rgba(20,65,160,.04)}
.tm-exchange-open:hover,.tm-exchange-open:focus-visible{background:#edf3ff;border-color:#6b99ff}
.tm-exchange-dialog{width:min(520px,calc(100vw - 28px));max-height:min(89dvh,780px);margin:auto;padding:0;border:1px solid #dfE7f4;border-radius:20px;color:#182b4f;background:#fff;box-shadow:0 25px 85px rgba(13,33,78,.28);overscroll-behavior:contain}
.tm-exchange-dialog::backdrop{background:rgba(12,24,51,.60);backdrop-filter:blur(3px)}
.tm-exchange-dialog-inner{position:relative;padding:28px;overflow-y:auto;max-height:min(89dvh,780px)}
.tm-exchange-close{position:absolute;right:20px;top:18px;border:0;border-radius:9px;background:#f0f4fc;color:#34517d;width:34px;height:34px;cursor:pointer;font-size:19px}
.tm-exchange-dialog h2{font-size:22px;letter-spacing:-.045em;margin:0 42px 6px 0;color:#11234a}
.tm-exchange-dialog .tm-exchange-subtitle{font-size:13px;line-height:1.65;color:#788ba6;margin:0 0 22px}
.tm-exchange-request-form{display:flex;flex-direction:column;gap:16px}
.tm-exchange-request-form>label:not(.tm-exchange-confirm){display:grid;gap:8px;font-size:12px;font-weight:800;color:#263b62}
.tm-exchange-request-form input:not([type=checkbox]),.tm-exchange-request-form select{min-height:47px;border:1px solid #d9e4f6;border-radius:10px;background:#fff;color:#13284e;padding:12px 13px;font-size:14px;width:100%}
.tm-exchange-request-form input:focus,.tm-exchange-request-form select:focus{border-color:#3268f4;outline:2px solid #cedfff;outline-offset:0}
.tm-exchange-confirm{display:flex;align-items:flex-start;gap:10px;border-radius:11px;padding:13px;background:#f4f7fe;font-size:12px;font-weight:650;color:#354c75;line-height:1.6;cursor:pointer}
.tm-exchange-confirm input{accent-color:#2b62f2;width:17px;height:17px;flex-shrink:0;margin-top:1px}
.tm-exchange-request-submit{border:0;border-radius:11px;background:#2c62f3;color:white;font-size:14px;font-weight:800;padding:14px;cursor:pointer}
.tm-exchange-request-submit:disabled{background:#aebbd4;color:#f5f7ff;cursor:not-allowed;box-shadow:none}
.tm-exchange-dialog-history{margin-top:27px;padding-top:19px;border-top:1px solid #e9edf5}
.tm-exchange-dialog-history h3{font-size:15px;margin:0 0 12px;color:#172c50}
.tm-exchange-request-item{padding:12px 0;border-bottom:1px solid #ecf0f7;font-size:13px}
.tm-exchange-request-item:last-child{border-bottom:0}
.tm-exchange-request-main{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tm-exchange-request-main strong{font-size:13px}
.tm-exchange-request-item small{display:block;margin-top:5px;color:#7b8aa5;line-height:1.5;overflow-wrap:anywhere}
.tm-exchange-status{display:inline-block;font-weight:750;border-radius:7px;padding:5px 8px;background:#edf1f8;color:#465a78;font-size:11px;white-space:nowrap}
.tm-exchange-status.approved{background:#e8f6ed;color:#16824f}.tm-exchange-status.rejected{background:#fff0f0;color:#c13c47}.tm-exchange-status.pending{background:#ecf2ff;color:#235ddd}
.tm-exchange-empty{font-size:13px;color:#8897af;padding:15px 0}
.tm-exchange-admin-card{padding:26px;margin:22px 0}.tm-exchange-count{font-size:14px;color:#245bdb}
.tm-exchange-admin-row{display:flex;gap:22px;justify-content:space-between;align-items:center;padding:17px 0;border-bottom:1px solid #ecf0f6}
.tm-exchange-admin-row:last-child{border-bottom:0}.tm-exchange-admin-info{display:grid;gap:5px;min-width:0}
.tm-exchange-admin-info strong{font-size:14px}.tm-exchange-admin-info span,.tm-exchange-admin-info small{font-size:12px;color:#8190aa;overflow-wrap:anywhere}
.tm-exchange-admin-info b{color:#1d335a;font-size:13px}.tm-exchange-admin-info .tm-exchange-uid{color:#445d85}
.tm-exchange-admin-form{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.tm-exchange-admin-form input{width:180px;max-width:100%;padding:9px 10px;border-radius:9px;border:1px solid #dce5f4;font-size:12px}
.tm-exchange-review-buttons{display:flex;gap:6px}.tm-exchange-review-buttons button{border:1px solid #bdd2ff;color:#2053c9;background:#eef3ff;padding:8px 12px;min-height:33px;border-radius:8px;font-size:12px;font-weight:800;cursor:pointer}
.tm-exchange-review-buttons button.reject{color:#a94152;border-color:#f6d1d6;background:#fff4f5}
.tm-exchange-review-buttons button:hover{filter:brightness(.96)}
.tm-exchange-history-scroll{width:100%;overflow-x:auto}.tm-exchange-history-table{width:100%;border-collapse:collapse;min-width:630px;text-align:left;font-size:12px}
.tm-exchange-history-table th{color:#7285a3;border-bottom:1px solid #e7ecf5;padding:12px 10px;white-space:nowrap}
.tm-exchange-history-table td{padding:13px 10px;border-bottom:1px solid #edf1f7;color:#263c62}
.tm-exchange-history-table small{display:block;color:#8292ae;margin-top:5px}
.tm-login-preferences{display:flex;gap:10px 22px;align-items:center;flex-wrap:wrap;margin:0 0 1px}
.auth-form .tm-login-preferences label{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0;font-size:12px;font-weight:650;color:#596a86;cursor:pointer}
.auth-form .tm-login-preferences input[type=checkbox]{min-height:0;width:16px;height:16px;padding:0;margin:0;accent-color:#2d63f2;box-shadow:none}
@media(max-width:640px){.tm-exchange-dialog-inner{padding:22px 19px}.tm-exchange-admin-row{align-items:stretch;flex-direction:column;gap:12px}.tm-exchange-admin-form{justify-content:space-between}.tm-exchange-admin-form input{width:100%}.tm-exchange-admin-card{padding:19px 16px}}
@media(prefers-reduced-motion:reduce){.tm-exchange-dialog::backdrop{backdrop-filter:none}}

.tm-exchange-modal-feedback{font-size:12px;line-height:1.6;margin:0 0 15px;padding:12px;border-radius:9px}

/* v14.8.37 — compact registered exchange / UID overview (member dashboard only) */
.tm-registered-exchanges{display:flex;align-items:center;flex-wrap:wrap;gap:9px 16px;padding:13px 17px;margin:-6px 0 20px;background:#fff;border:1px solid #e1e9f6;border-radius:13px;min-width:0;box-shadow:0 3px 13px rgba(28,65,136,.025)}
.tm-registered-exchanges-head{flex:0 0 auto}
.tm-registered-exchanges-title{display:inline-flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap;font-weight:780;color:#243c63}
.tm-registered-exchanges-title b{font-size:10px;line-height:1;padding:4px 7px;border-radius:99px;background:#e9f0ff;color:#285fe7}
.tm-registered-exchanges-list{padding:0;margin:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap;list-style:none;min-width:0}
.tm-registered-exchange-item{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;max-width:100%;padding:6px 10px 6px 7px;background:#f6f8fe;border:1px solid #edf1f9;border-radius:9px}
.tm-registered-exchange-item img{height:26px;width:26px;object-fit:contain;border-radius:50%;flex-shrink:0}
.tm-registered-exchange-name{font-size:12px;color:#203659;font-weight:790}
.tm-registered-exchange-uid{font-size:11px;color:#8190aa;overflow-wrap:anywhere}
.tm-registered-exchange-uid b{font-weight:670;color:#5b6c89}
.tm-registered-exchange-fallback{height:26px;width:26px;border-radius:50%;background:#e3edff;color:#366bf5;font-size:12px;font-weight:850;display:grid;place-items:center}
.tm-registered-exchanges-empty{font-size:11px;line-height:1.7;color:#8998af}
@media(max-width:640px){.tm-registered-exchanges{gap:10px;margin:-7px 0 17px;padding:12px}.tm-registered-exchanges-head{flex-basis:100%}.tm-registered-exchange-item{gap:7px;padding:5px 9px 5px 6px}.tm-registered-exchange-item img{width:24px;height:24px}}
