.accounts-dialog{box-sizing:border-box;width:min(1100px,96vw);max-width:96vw;max-height:94dvh;margin:auto;padding:0;border:0;border-radius:14px;background:#fff;color:#243247;box-shadow:0 24px 90px #0f172a55;overflow:auto}.accounts-dialog::backdrop{background:#0f172a99}.accounts-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:1;padding:18px 22px;border-bottom:1px solid #e2e8f0;background:#fff}.accounts-dialog h2{font-size:21px;margin:0 0 4px}.accounts-dialog header p{margin:0;color:#64748b;font-size:13px}.accounts-dialog>fieldset{margin:0;padding:18px 22px;border:0;min-width:0}.accounts-notice{padding:12px 14px;background:#eff6ff;color:#375176;border:1px solid #bfdbfe;border-radius:8px;font-size:13px;line-height:1.6;margin:0 0 16px}.accounts-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.accounts-toolbar>input{flex:1;min-width:170px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:7px}.accounts-toolbar>span{font-size:12px;color:#64748b}.accounts-table-wrap{overflow:auto;border:1px solid #e2e8f0;border-radius:8px}.accounts-table-wrap table{width:100%;min-width:690px;border-collapse:collapse;font-size:13px}.accounts-table-wrap th{padding:11px 12px;background:#f1f5f9;text-align:left;white-space:nowrap}.accounts-table-wrap td{padding:12px;border-top:1px solid #e2e8f0}.accounts-table-wrap td small{display:block;margin-top:4px;color:#64748b;font-size:11px}.accounts-badge{display:inline-block;padding:3px 6px;border-radius:5px;background:#e0e7ff;color:#3730a3;font-size:11px;margin-left:7px;white-space:nowrap}.accounts-editor{padding:16px;margin-top:18px;background:#f8fafc;border:1px solid #dbe3ef;border-radius:10px}.accounts-editor h3{margin:0 0 7px;font-size:17px}.accounts-editor p{font-size:12px;line-height:1.7;color:#64748b;margin:0 0 14px}.accounts-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.accounts-form-grid label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.accounts-form-grid input{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:7px;font:14px inherit}.accounts-form-grid input:focus,.accounts-toolbar input:focus{outline:2px solid #93c5fd;outline-offset:1px}.accounts-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:17px}#accounts-error{color:#b91c1c;white-space:pre-wrap;font-size:13px;line-height:1.6}.accounts-audit{font-size:13px;margin-top:16px;padding-top:12px;border-top:1px solid #e2e8f0}.accounts-audit summary{cursor:pointer;font-weight:600;color:#475569}.accounts-audit ul{list-style:none;margin:10px 0 0;padding:0}.accounts-audit li{padding:9px 0;border-bottom:1px solid #f1f5f9;line-height:1.6}.accounts-audit li span{display:block;color:#64748b;font-size:12px}.accounts-dialog [hidden],#maintab-accounts[hidden],#mobileMore-accounts[hidden]{display:none!important}@media(max-width:650px){.accounts-dialog{width:98vw;max-width:98vw;max-height:96dvh;border-radius:9px}.accounts-dialog>header,.accounts-dialog>fieldset{padding:14px}.accounts-form-grid{grid-template-columns:1fr}.accounts-actions{flex-direction:column}.accounts-actions .btn{width:100%}.accounts-editor{padding:13px}.accounts-dialog h2{font-size:18px}}

@media(max-width:650px){.accounts-table-wrap{border:0;overflow:visible}.accounts-table-wrap table{min-width:0;display:block}.accounts-table-wrap thead{display:none}.accounts-table-wrap tbody{display:block}.accounts-table-wrap tr{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px;margin-bottom:12px;border:1px solid #e2e8f0;border-radius:9px;background:#fff}.accounts-table-wrap td{padding:0;border:0;overflow-wrap:anywhere}.accounts-table-wrap td::before{content:attr(data-label);display:block;font-size:11px;color:#64748b;margin-bottom:4px}.accounts-table-wrap td:first-child,.accounts-table-wrap td:nth-child(3),.accounts-table-wrap td:last-child{grid-column:1/-1}.accounts-table-wrap td:first-child{font-size:15px}.accounts-table-wrap td:last-child button{width:100%;margin-top:3px}.accounts-badge{vertical-align:middle}}
