/* Account browser bindings. Keep the dialog independent of admin tables. */
.db-overlay{position:fixed;inset:0;z-index:9998;background:#211c3f80;display:flex;align-items:center;justify-content:center;padding:18px;overscroll-behavior:contain}
.db-dialog{box-sizing:border-box;width:min(760px,100%);max-height:90vh;max-height:90dvh;display:flex;flex-direction:column;background:#fff;border:1px solid #e5def4;border-radius:18px;box-shadow:0 20px 70px #211c3f40;color:#302a43;font:14px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif;overflow:hidden}
.db-dialog *{box-sizing:border-box}.db-dialog [hidden]{display:none!important}.db-dialog button,.db-dialog textarea{font:inherit}.db-dialog button{cursor:pointer}.db-dialog button:disabled{opacity:.5;cursor:default}.db-dialog button:focus-visible,.db-dialog textarea:focus-visible,.db-dialog summary:focus-visible{outline:3px solid #a78bfa;outline-offset:2px}.db-header{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid #eee9f6}.db-header h2{font-size:18px;margin:0;overflow-wrap:anywhere}.db-header p{margin:2px 0 0;font-size:14px;color:#82778f}.db-close{background:#f6f3fb;border:0;border-radius:9px;width:38px;min-width:38px;height:38px;font-size:23px!important;color:#72657f}.db-body{padding:18px 20px;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}.db-intro{padding:13px 15px;border-radius:12px;background:#f5f1ff;border:1px solid #e8defa;margin-bottom:17px}.db-overview{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:6px}.db-count{font-size:19px;font-weight:750;color:#6e50ca}.db-status{font-size:14px;font-weight:650;color:#337a64}.db-status.locked{color:#b45138}.db-help{font-size:14px;color:#71677f;margin:0}.db-section-head{display:flex;gap:9px;justify-content:space-between;align-items:center;margin:18px 0 10px}.db-section-head h3{font-size:15px;margin:0}.db-btn{border:1px solid #ded6ed;border-radius:9px;background:#fff;color:#675280;min-height:38px;padding:7px 12px}.db-btn.primary{background:#775be0;color:#fff;border-color:#775be0;font-weight:650}.db-btn.danger{background:#fff8f8;color:#b13c54;border-color:#ebcbd3}.db-tools{display:flex;gap:8px;flex-wrap:wrap}.db-binding-list,.db-log-list{display:grid;gap:9px}.db-binding{border:1px solid #e8e1f2;border-radius:12px;padding:13px;min-width:0}.db-binding-head{display:flex;gap:10px;justify-content:space-between;align-items:flex-start}.db-binding-name{font-size:15px;font-weight:650;min-width:0;overflow-wrap:anywhere}.db-tag{display:inline-block;border-radius:6px;background:#edf7f1;color:#388164;font-size:12px;padding:2px 7px;margin-left:6px;font-weight:500}.db-meta{display:flex;gap:4px 18px;flex-wrap:wrap;color:#807589;font-size:14px;margin-top:5px;overflow-wrap:anywhere}.db-device-id{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;color:#8a7e95;overflow-wrap:anywhere;margin-top:6px}.db-empty{color:#8a7e95;padding:18px;background:#faf9fc;border-radius:10px;text-align:center}.db-history{border-top:1px solid #eee9f5;margin-top:18px;padding-top:12px}.db-history summary,.db-log-details summary{cursor:pointer;color:#7c6b93;min-height:34px}.db-ip-list{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.db-ip-list span{background:#f6f3fa;border-radius:6px;padding:3px 8px;color:#736580;overflow-wrap:anywhere}.db-log{border-bottom:1px solid #eee9f5;padding:10px 0;min-width:0}.db-log-top{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap;color:#8b7d97}.db-outcome{font-weight:650;color:#398068}.db-outcome.rejected{color:#b84b5d}.db-outcome.legacy{color:#8a7a9b}.db-log-reason{overflow-wrap:anywhere;margin-top:4px}.db-log-details{font-size:13px;color:#82748f;margin-top:5px;overflow-wrap:anywhere}.db-log-details summary{min-height:25px}.db-footer{padding:13px 20px;border-top:1px solid #eee9f5;background:#fdfcfe}.db-message{color:#428068;font-size:14px;overflow-wrap:anywhere;min-height:22px}.db-message.error{color:#ba3f56}.db-action{padding:14px;margin:15px 0;border:1px solid #e9ced7;border-radius:12px;background:#fff9fa}.db-action h3{font-size:16px;margin:0 0 5px}.db-action p{color:#8b6172;margin:0 0 10px}.db-action label{display:block;margin-bottom:6px;font-weight:600}.db-action textarea{display:block;width:100%;min-height:78px;border:1px solid #dfd4e8;border-radius:9px;padding:9px;resize:vertical;background:#fff;color:#40344f}.db-action-controls{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}.db-loading{padding:26px;text-align:center;color:#82748f}.db-admin-note{background:#f2f8f5;color:#487a64;border-radius:10px;padding:12px}
@media(max-width:600px){.db-overlay{padding:9px;align-items:center}.db-dialog{max-height:94vh;max-height:94dvh;border-radius:14px}.db-header{padding:14px}.db-header h2{font-size:17px}.db-body{padding:14px}.db-footer{padding:11px 14px}.db-binding{padding:11px}.db-binding-head{gap:8px}.db-btn{min-height:42px;padding:8px 11px}.db-tools .db-btn{flex:1}.db-section-head{align-items:flex-start}.db-section-head:has(.db-tools){flex-wrap:wrap}.db-log-top{align-items:flex-start}.db-tag{margin-left:0;display:table;margin-top:4px}.db-meta{display:block}.db-meta span{display:block}.db-action-controls .db-btn{flex:1}}
