.apple-id-admin-overlay { position:fixed; inset:0; z-index:20000; display:flex; align-items:center; justify-content:center; padding:24px; background:rgba(15,23,42,.45); }
.apple-id-admin-dialog { width:min(1080px,100%); max-height:92vh; display:flex; flex-direction:column; overflow:hidden; border-radius:10px; background:#fff; color:#334155; box-shadow:0 15px 55px rgba(15,23,42,.2); font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; }
.apple-id-admin-dialog * { box-sizing:border-box; }
.apple-id-admin-header { display:flex; align-items:center; justify-content:space-between; padding:18px 22px; border-bottom:1px solid #e8edf3; }
.apple-id-admin-header h2 { margin:0; font-size:19px; font-weight:600; color:#24364b; }
.apple-id-admin-close { width:32px; height:32px; border:0; border-radius:5px; background:#f1f5f9; color:#52647a; font-size:24px; line-height:1; cursor:pointer; }
.apple-id-admin-body { padding:20px 22px; overflow:auto; }
.apple-id-admin-period { margin:0 0 14px; color:#64748b; font-size:13px; }
.apple-id-admin-toolbar { display:flex; align-items:center; gap:9px; margin:0 0 14px; flex-wrap:wrap; }
.apple-id-admin-dialog input { height:36px; padding:6px 11px; border:1px solid #d5deea; border-radius:5px; color:#334155; background:#fff; font:inherit; }
.apple-id-admin-search { flex:1; min-width:170px; max-width:400px; }
.apple-id-admin-button { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:6px 13px; border:1px solid #d5deea; border-radius:5px; background:#fff; color:#34506f; font:500 13px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; cursor:pointer; white-space:nowrap; }
.apple-id-admin-button:hover { background:#f1f5fa; }
.apple-id-admin-primary { border-color:#184995; background:#184995; color:#fff; }
.apple-id-admin-primary:hover { background:#123c7d; color:#fff; }
.apple-id-admin-button:disabled,.apple-id-admin-close:disabled { opacity:.55; cursor:default; }
.apple-id-admin-dialog :focus-visible { outline:2px solid #007aff; outline-offset:2px; }
.apple-id-admin-message { padding:9px 12px; margin:0 0 14px; border-radius:5px; background:#edf5ff; color:#2d5b8f; overflow-wrap:anywhere; }
.apple-id-admin-message[data-kind="error"] { color:#a63c39; background:#fff1f0; }
.apple-id-admin-table-wrap { overflow:auto; border:1px solid #e8edf3; border-radius:6px; }
.apple-id-admin-table { width:100%; min-width:620px; border-collapse:collapse; margin:0; }
.apple-id-admin-table th,.apple-id-admin-table td { padding:10px 12px; border-bottom:1px solid #edf0f5; text-align:left; vertical-align:middle; }
.apple-id-admin-table th { background:#f6f8fb; font-size:13px; font-weight:600; white-space:nowrap; }
.apple-id-admin-table tbody tr:last-child td { border-bottom:0; }
.apple-id-admin-email { max-width:330px; overflow-wrap:anywhere; }
.apple-id-admin-pagination { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-top:14px; font-size:13px; }
.apple-id-admin-edit { padding:16px; border:1px solid #dce7f7; border-radius:6px; background:#f6f9fe; margin:16px 0 0; }
.apple-id-admin-edit-title { margin:0 0 12px; font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.apple-id-admin-edit-fields { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.apple-id-admin-count { width:85px; }
.apple-id-admin-edit-buttons { display:flex; gap:9px; margin-top:12px; }
.apple-id-admin-hint { color:#64748b; font-size:12px; margin:10px 0 0; }
.apple-id-admin-dialog [hidden] { display:none!important; }
.apple-id-admin-stats { margin-bottom:18px; }
.apple-id-admin-stat-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.apple-id-admin-stat { border:1px solid #dfe8f4; border-radius:7px; padding:13px 16px; background:#f6f9fe; }
.apple-id-admin-stat span { display:block; color:#64748b; font-size:13px; }
.apple-id-admin-stat strong { display:block; margin-top:4px; color:#184995; font-size:25px; font-weight:600; }
.apple-id-admin-stats-note { color:#64748b; font-size:12px; margin:9px 0; }
.apple-id-admin-stats-details summary { color:#34506f; cursor:pointer; font-size:13px; }
.apple-id-admin-stat-tables { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; max-height:280px; overflow:auto; margin-top:10px; }
.apple-id-admin-stat-tables h3 { font-size:13px; margin:0 0 6px; }
.apple-id-admin-stat-tables table { width:100%; font-size:12px; border-collapse:collapse; }
.apple-id-admin-stat-tables th,.apple-id-admin-stat-tables td { padding:5px 7px; border-bottom:1px solid #edf0f5; text-align:left; }
@media(max-width:600px) { .apple-id-admin-overlay { padding:12px; } .apple-id-admin-header,.apple-id-admin-body { padding:15px; } .apple-id-admin-pagination { justify-content:space-between; gap:7px; } }
