*{box-sizing:border-box}html,body{margin:0;padding:0;background:#f5f7fa;color:#1f2430;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px}.app{min-height:100vh}.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.login-card{width:100%;max-width:360px;background:#fff;border:1px solid #e6eaf2;border-radius:14px;padding:32px 28px;box-shadow:0 10px 30px #1f2d4e0f}.login-title{font-size:22px;font-weight:600;text-align:center}.login-sub{margin-top:6px;margin-bottom:24px;text-align:center;color:#8a93a6;font-size:13px}.login-hint{margin-top:18px;color:#a0a8b8;font-size:12px;text-align:center;line-height:1.6}.input{width:100%;height:42px;padding:0 12px;border:1px solid #dfe4ee;border-radius:8px;outline:none;font-size:14px;background:#fbfcfe;transition:border-color .15s,background .15s}.input:focus{border-color:#2f6bed;background:#fff}.btn-primary{width:100%;height:42px;margin-top:14px;border:none;border-radius:8px;background:#2f6bed;color:#fff;font-size:15px;cursor:pointer;transition:opacity .15s}.btn-primary:hover{opacity:.92}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.error-text{margin-top:12px;color:#e34d59;font-size:13px;line-height:1.5}.topbar{height:58px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e9edf5;position:sticky;top:0;z-index:10}.brand{font-size:16px;font-weight:600}.topbar-actions{display:flex;gap:10px}.btn-ghost{height:34px;padding:0 14px;border:1px solid #dfe4ee;border-radius:8px;background:#fff;color:#3d4658;font-size:13px;cursor:pointer}.btn-ghost:hover{border-color:#2f6bed;color:#2f6bed}.btn-ghost.danger:hover{border-color:#e34d59;color:#e34d59}.btn-ghost:disabled{opacity:.6;cursor:not-allowed}.content{max-width:1180px;margin:0 auto;padding:22px 20px 48px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat-card{background:#fff;border:1px solid #e9edf5;border-radius:12px;padding:18px 20px}.stat-num{font-size:26px;font-weight:600;color:#1f2430}.stat-num.warning{color:#e34d59}.stat-label{margin-top:6px;color:#8a93a6;font-size:13px}.panel{background:#fff;border:1px solid #e9edf5;border-radius:12px;padding:18px 20px 8px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.panel-title{font-size:15px;font-weight:600}.input.search{width:240px;height:36px}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.table th,.table td{padding:11px 10px;text-align:left;border-bottom:1px solid #f0f3f8}.table th{color:#8a93a6;font-weight:500;background:#fafbfd}.table tbody tr:hover{background:#fafcff}.table .mono{font-family:Consolas,Menlo,monospace;color:#3d4658}.empty{text-align:center!important;color:#a0a8b8;padding:26px 0!important}.tag{display:inline-block;padding:2px 8px;border-radius:999px;font-size:12px;line-height:18px}.tag-blue{background:#eaf1ff;color:#2f6bed}.tag-gray{background:#f1f3f7;color:#6b7488}.tag-green{background:#e8f8ee;color:#23a455}.tag-red{background:#fdecee;color:#e34d59}.btn-mini{height:28px;padding:0 10px;margin-right:6px;border:1px solid #2f6bed;border-radius:6px;background:#2f6bed;color:#fff;font-size:12px;cursor:pointer}.btn-mini.ghost{background:#fff;color:#2f6bed}.btn-mini:disabled{opacity:.5;cursor:not-allowed}.modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#141a2673;display:flex;align-items:center;justify-content:center;padding:20px;z-index:50}.modal{width:100%;max-width:460px;max-height:88vh;background:#fff;border-radius:14px;box-shadow:0 20px 60px #141a2633;display:flex;flex-direction:column}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #eef1f7}.modal-title{font-size:16px;font-weight:600}.modal-close{border:none;background:transparent;color:#8a93a6;font-size:20px;line-height:1;padding:4px 6px;cursor:pointer}.modal-close:hover{color:#1f2430}.modal-body{padding:16px 18px 6px;overflow-y:auto}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.field>span{font-size:13px;color:#5b657a}.modal-note{color:#a0a8b8;font-size:12px;line-height:1.6;margin-bottom:10px}.modal-foot{display:flex;justify-content:flex-end;gap:10px;padding:14px 18px 18px}.modal-save{width:96px;height:36px;margin-top:0;font-size:14px}.user-cell{display:flex;align-items:center;gap:8px}.u-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:0 0 28px;display:block}.u-avatar-ph{display:flex;align-items:center;justify-content:center;background:#eef3fb;color:#409eff;font-size:13px}.copyable{cursor:pointer;border-radius:4px;transition:background .15s,color .15s}.copyable:hover{color:#2f6bff;background:#eef3ff}.toast{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);min-width:150px;padding:14px 22px;border-radius:10px;color:#fff;font-size:14px;text-align:center;z-index:99;box-shadow:0 12px 30px #1f2d4e2e}.toast-ok{background:#23a455}.toast-fail{background:#e34d59}@media (max-width: 720px){.stats-grid{grid-template-columns:repeat(2,1fr)}.content{padding:16px 12px 36px}.panel{padding:14px 12px 6px}.panel-head{flex-direction:column;align-items:stretch}.input.search{width:100%}.topbar{padding:0 12px}}
