:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#19233a;background:#f5f7fb;font-synthesis:none;--blue:#3158ef;--muted:#6e788b;--line:#e5e9f0;--surface:#fff}*{box-sizing:border-box}body{margin:0;font-size:16px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8dacf8;outline-offset:3px}.topbar{height:86px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5%}.brand{display:flex;align-items:center;gap:12px}.brand strong{font-size:23px;letter-spacing:2px}.brand-caption{color:#677189;font-size:14px}.brand-divider{height:18px;width:1px;background:#d8deea;margin:0 7px}.header-actions{display:flex;align-items:center;gap:16px}.environment{font-size:13px;color:#627086;background:#f2f4f8;padding:7px 12px;border-radius:6px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:9px 16px;border:1px solid #dfe4ed;border-radius:8px;background:white;color:#39445b;font-size:14px;font-weight:500;transition:background .15s}.button:hover{background:#f1f4f9}.button.primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 3px 6px #3158ef13}.button.primary:hover{background:#2448d8}.button.quiet{border-color:transparent;background:transparent}.button.small{padding:4px 11px;min-height:30px;font-size:20px}.full{width:100%}main{max-width:1536px;margin:auto;padding:30px 5% 24px}.mode-banner{display:flex;align-items:center;gap:10px;background:#eaf0ff;color:#36538e;border:1px solid #dce5ff;border-radius:8px;padding:13px 16px;font-size:14px;line-height:1.6}.banner-icon{border:1.5px solid currentColor;flex:none;font-size:12px;font-weight:700;width:17px;height:17px;border-radius:50%;text-align:center;line-height:15px}.mode-banner a{margin-left:auto;white-space:nowrap;color:#2c51d7;font-weight:600}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:36px 0 28px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;color:#8b95a8;margin-bottom:10px}h1{font-size:30px;letter-spacing:.4px;line-height:1.4;margin:0 0 9px;font-weight:650}.muted{color:var(--muted);font-size:14px;line-height:1.8;margin:0}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.site-picker{display:flex;align-items:center;gap:11px}.site-mark{background:#fff;border:1px solid var(--line);display:grid;place-items:center;border-radius:8px;width:36px;height:36px;color:var(--blue);font-size:24px}.site-picker select{font-size:15px;border:0;background:transparent;color:#34415b;font-weight:600;max-width:280px;padding:9px 4px}.date-actions{display:flex;align-items:center;gap:10px}.timezone{font-size:13px;color:#8a94a5;margin-right:4px}input[type=date]{font-size:14px;background:#fff;border:1px solid #dfe4ed;color:#4c5870;border-radius:8px;min-height:42px;padding:7px 12px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:28px}.stat{border:1px solid var(--line);border-radius:12px;background:#fff;padding:21px 25px 19px;position:relative}.stat:first-child{border-top:3px solid var(--blue);padding-top:19px}.stat-label{font-size:14px;color:#616d82;display:flex;align-items:center;justify-content:space-between}.stat-symbol{color:#8190a8;font-size:20px;line-height:1}.stat-value{display:flex;align-items:baseline;gap:9px;margin:12px 0 9px;font-variant-numeric:tabular-nums}.stat-value strong{font-size:42px;line-height:1.2;letter-spacing:-1.5px;font-weight:600}.stat:first-child .stat-value strong{color:var(--blue)}.stat-value span{font-size:14px;color:#939cad}.stat p{font-size:12px;color:#939bac;margin:0;line-height:1.6}.records{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.records-heading{padding:23px 25px;display:flex;align-items:center;justify-content:space-between;gap:15px}.records-title{display:flex;align-items:center;gap:10px}h2{font-size:17px;margin:0;font-weight:600}.count{font-size:12px;color:#7b87a0;background:#f2f5fa;border-radius:5px;padding:4px 8px}.updated{font-size:12px;color:#8c97aa}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:14px;font-weight:500;color:#778298;background:#f8fafd;padding:13px 18px;border-bottom:1px solid var(--line);border-top:1px solid var(--line)}th:first-child,td:first-child{padding-left:25px}th:last-child,td:last-child{padding-right:25px}td{padding:17px 18px;border-bottom:1px solid #eff2f7;font-size:14px;color:#35415a;height:77px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdff}.cell-main{font-variant-numeric:tabular-nums;line-height:1.6}.cell-sub{font-size:14px;color:#929caf;margin-top:3px;line-height:1.5;max-width:190px;overflow:hidden;text-overflow:ellipsis}.device-cell{display:flex;align-items:center;gap:10px}.device-icon{height:30px;width:30px;display:grid;place-items:center;border-radius:7px;background:#f3f5f9;color:#8996ab}.device-icon svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.5;fill:none}.source{font-size:14px;font-weight:500;display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:5px;background:#f3f5fa;color:#65718a}.source-facebook{background:#edf3ff;color:#3c69c7}.source-instagram{background:#f8edfa;color:#a663aa}.source-tiktok{background:#edf1f6;color:#3a465d}.source-wechat{background:#eaf7f0;color:#43825d}.duration{font-weight:600;font-size:15px;font-variant-numeric:tabular-nums;color:#23365b}.duration small{font-weight:400;font-size:12px;color:#909bad;margin-left:4px}.status{font-size:12px;color:#8892a5}.status.recent{color:#4066bf}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:15px 25px;color:#8d97aa;font-size:12px}.pagination{display:flex;align-items:center;gap:13px;font-variant-numeric:tabular-nums}.bottom-notes{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:#949caf;line-height:1.7}.bottom-notes p{margin:16px 0}.empty-state{text-align:center;padding:60px 20px 65px;border-top:1px solid var(--line)}.empty-icon{color:#7d97da;background:#f0f4fc;width:52px;height:52px;border-radius:14px;font-size:32px;display:grid;place-items:center;margin:0 auto 20px}.empty-state h3{font-size:17px;font-weight:600;margin:0 0 9px}.empty-state p{font-size:14px;color:var(--muted);margin:0 0 22px;line-height:1.8}.auth-panel{max-width:460px;margin:60px auto;padding:34px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:0 16px 60px #19233a05}.auth-panel h1{font-size:25px}.auth-panel form{margin-top:27px}.auth-panel label{display:block;font-size:14px;margin:19px 0 8px;color:#53617a}.auth-panel input{width:100%;height:46px;border:1px solid #dce2ed;border-radius:8px;padding:10px 12px}.auth-note{font-size:12px;color:#939daf;line-height:1.8;margin:25px 0 0}.auth-preview{display:block;text-align:center;font-size:14px;margin-top:22px;color:var(--blue)}.error{font-size:14px;color:#b42335;line-height:1.7;min-height:8px}.error-strip{padding:12px 16px;border:1px solid #f0cfd3;background:#fff5f6;color:#a8434f;font-size:14px;border-radius:8px;margin-bottom:16px}.initial-loading{text-align:center;margin:100px 0;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;width:min(500px,calc(100vw - 32px));color:#243049;box-shadow:0 20px 90px #14204026}dialog::backdrop{background:#1a284b55;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.dialog-heading h2{font-size:21px}.dialog-heading button{font-size:24px;padding:0 8px;min-height:30px}.steps{padding-left:22px;margin:25px 0;color:#3e60af}.steps li{padding:4px 0 18px 7px;font-size:15px}.steps strong{color:#3f4d66;display:block;font-weight:500}.steps span{display:block;font-size:13px;color:#8893a5;line-height:1.8;margin-top:3px}.dialog-note{font-size:13px;line-height:1.8;background:#f5f7fb;padding:13px 15px;border-radius:7px;color:#7c889d;margin-bottom:21px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.test-panel{max-width:680px;margin:45px auto}.test-panel h1{font-size:28px}.test-card{padding:30px;margin:24px 0;border:1px solid var(--line);background:white;border-radius:12px}.test-time{font-size:56px;color:var(--blue);margin:20px 0;font-variant-numeric:tabular-nums}.test-time small{font-size:16px;color:var(--muted);margin-left:8px}.test-label{font-size:14px;color:#7f8ba0}.test-instructions{font-size:15px;color:#68758e;line-height:2}.test-links{display:flex;gap:12px;flex-wrap:wrap}
@media(min-width:1600px){main{padding-left:45px;padding-right:45px}}@media(max-width:1050px){.stats{gap:12px}.stat{padding:20px}.stat:first-child{padding-top:18px}h1{font-size:26px}.stat-value strong{font-size:36px}.bottom-notes{display:block}.bottom-notes p{margin:9px 0}.timezone{display:none}}@media(max-width:680px){.topbar{height:70px;padding:0 20px}.brand{gap:9px}.brand-caption,.brand-divider{display:none}.brand strong{font-size:21px}.environment{font-size:12px;padding:6px 8px}.header-actions{gap:2px}main{padding:18px 16px}.mode-banner{font-size:12px;flex-wrap:wrap;gap:8px}.mode-banner a{margin-left:25px}.page-heading{align-items:flex-start;margin:27px 0 24px;gap:12px}.page-heading h1{font-size:23px}.page-heading>.button{white-space:nowrap;padding:8px 11px;font-size:12px}.page-heading .muted{font-size:13px}.eyebrow{font-size:12px}.toolbar{align-items:flex-start;flex-wrap:wrap;gap:12px}.date-actions{width:100%;justify-content:space-between}.date-actions input{flex:1}.stats{grid-template-columns:1fr;gap:10px;margin-bottom:20px}.stat{padding:18px 20px}.stat:first-child{padding-top:16px}.stat-value{margin:5px 0}.stat-value strong{font-size:34px}.stat p{font-size:12px}.records-heading{padding:19px 17px;flex-wrap:wrap}.table-footer{padding:14px 17px}.auth-panel{margin:24px auto;padding:26px}.auth-panel h1{font-size:23px}.test-card{padding:23px}.test-panel{margin-top:28px}}
.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.site-picker{flex-wrap:wrap;min-width:0}.site-picker select{max-width:240px}.management-form{margin-top:22px;border-top:1px solid var(--line);padding-top:12px}.management-form h3{font-size:16px;font-weight:600}.management-form label{display:block;font-size:14px;color:#53617a;margin:16px 0 7px}.management-form input,.management-form select{width:100%;min-height:44px;border:1px solid #dce2ed;border-radius:8px;padding:9px 11px;background:#fff;color:#35415a}.management-form input:disabled{background:#f3f5f9;color:#7a8496}.management-list{max-height:260px;overflow:auto;margin-top:18px}.management-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}.management-row>div{min-width:0}.management-row strong{font-size:14px;overflow-wrap:anywhere}.management-row p{font-size:12px;color:var(--muted);margin:5px 0;overflow-wrap:anywhere}.management-row button{flex:none;font-size:12px;padding:7px 10px}.form-actions{display:flex;gap:10px}#site-result,#user-result{margin-top:14px}.cell-sub.version{max-width:230px;white-space:normal;min-width:120px}dialog{max-height:88vh;overflow:auto}.header-actions{gap:8px}.header-actions .muted{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1050px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-caption,.brand-divider{display:none}}@media(max-width:680px){.topbar{height:auto;min-height:70px;flex-wrap:wrap;gap:10px;padding:14px 16px}.header-actions{flex-wrap:wrap;gap:3px}.header-actions .button{font-size:12px;padding:6px 9px;min-height:34px}.header-actions .muted{font-size:12px;max-width:150px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:15px}.stat:first-child{padding-top:13px}.stat-label{font-size:12px}.stat-value strong{font-size:30px}.site-picker select{max-width:calc(100vw - 110px)}.toolbar{gap:14px}.site-picker{width:100%}.stat p{font-size:11px}}
textarea { box-sizing: border-box; width: 100%; resize: vertical; font: 12px/1.6 monospace; padding: 10px; border: 1px solid #dce2ec; border-radius: 8px; }
