:root{color-scheme:light;--bg: #f6f1ef;--panel: #fffdfb;--ink: #1f1416;--muted: #7a6468;--line: #eadfe1;--accent: #e11d48}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{font-family:PingFang SC,Noto Sans SC,Segoe UI,system-ui,sans-serif;color:var(--ink);background:radial-gradient(1200px 500px at 10% -10%,#ffd6de 0%,transparent 55%),radial-gradient(900px 400px at 90% 0%,#ffe8c8 0%,transparent 50%),var(--bg)}.page-title{margin:0 0 4px;font-size:22px;font-weight:700}.page-sub{margin:0 0 20px;color:var(--muted);font-size:13px}.stat-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px 18px}.stat-card .label{color:var(--muted);font-size:13px}.stat-card .value{margin-top:6px;font-size:28px;font-weight:700;letter-spacing:-.02em}.analytics-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px}.analytics-column{min-width:0;display:flex;flex-direction:column;gap:16px}.qr-box{width:240px;height:240px;border:1px dashed var(--line);border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden}.qr-box img{width:100%;height:100%;object-fit:contain}.note-content{white-space:pre-wrap;line-height:1.7;color:#3a2a2d}.layout-sider{background:#1f1416!important}.layout-sider .ant-menu{background:transparent!important}.app-header{background:#fffdfbd9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;padding-inline:24px}.connection-label{color:var(--muted);font-size:13px}.admin-login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(800px 420px at 12% 5%,rgba(255,190,202,.75),transparent 60%),radial-gradient(700px 400px at 92% 10%,rgba(255,224,176,.72),transparent 58%),linear-gradient(145deg,#f8f2f0,#f4eceb)}.admin-login-card{width:min(420px,100%);padding:18px 20px 12px;border:1px solid rgba(234,223,225,.9);box-shadow:0 22px 70px #4620271f;text-align:center}.admin-login-brand{width:52px;height:52px;margin:0 auto;display:grid;place-items:center;border-radius:16px;color:#fff;font-size:28px;font-weight:800;background:linear-gradient(135deg,#f43f5e,#be123c);box-shadow:0 10px 24px #e11d4840}.notes-page{height:calc(100vh - 112px);min-height:480px;display:flex;flex-direction:column;overflow:hidden}.notes-page .page-title,.notes-page .page-sub{flex:none}.notes-toolbar{flex:none;margin-bottom:16px}.notes-table-panel{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.notes-table-viewport{flex:1;min-height:0;overflow:hidden}.notes-table .ant-table{border-radius:0}.notes-table .ant-table-cell{white-space:nowrap}.notes-table .ant-table-body{scrollbar-gutter:stable}.notes-pagination{flex:none;min-height:58px;padding:12px 16px;display:flex;align-items:center;justify-content:flex-end;gap:16px;border-top:1px solid var(--line);background:var(--panel);z-index:2}.notes-pagination-total{margin-right:auto;color:var(--muted);white-space:nowrap}.leads-page{height:calc(100vh - 112px);min-height:480px;display:flex;flex-direction:column;overflow:hidden}.leads-page .page-title,.leads-page .page-sub{flex:none}.leads-toolbar{flex:none;margin-bottom:16px}.leads-table-panel{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.leads-table-viewport{flex:1;min-height:0;overflow:hidden}.leads-table .ant-table{border-radius:0}.leads-table .ant-table-body{scrollbar-gutter:stable}.leads-table .ant-table-cell{vertical-align:top}.leads-source,.leads-note{width:100%}.leads-source .ant-typography,.leads-note .ant-typography{display:block;max-width:100%;margin-bottom:0}.leads-ai-reason{font-size:12px}.leads-tag{max-width:150px;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis}.leads-pagination{flex:none;min-height:58px;padding:12px 16px;display:flex;align-items:center;justify-content:flex-end;gap:16px;border-top:1px solid var(--line);background:var(--panel);z-index:2}.leads-pagination-total{margin-right:auto;color:var(--muted);white-space:nowrap}@media (max-width: 900px){.notes-page,.leads-page{height:calc(100vh - 104px)}.notes-pagination,.leads-pagination{padding-inline:10px}.notes-pagination-total,.leads-pagination-total{display:none}}@media (max-width: 991px){.analytics-columns{grid-template-columns:minmax(0,1fr)}}
