:root{--primary:#4056F4;--primary2:#7B61FF;--ink:#172033;--muted:#737b91;--bg:#f5f6fb;--line:#e7e9f2;--white:#fff;--danger:#dc3f58;--success:#179b6b;--info:#3478f6;--shadow:0 12px 35px rgba(33,42,94,.08);--radius:18px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:var(--ink);background:var(--bg)}a{color:var(--primary);text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.admin-shell{display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:245px;background:linear-gradient(180deg,#101734 0%,#18214b 55%,#281d57 100%);color:#fff;padding:24px 18px;display:flex;flex-direction:column;z-index:20}.brand,.client-brand{display:flex;align-items:center;gap:12px}.brand-mark,.login-logo{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#6e7bff,#9d6cff);display:grid;place-items:center;font-weight:900;color:#fff;box-shadow:0 10px 25px rgba(100,90,255,.35)}.brand strong,.client-brand strong{display:block;font-size:15px}.brand span,.client-brand span{display:block;font-size:10px;opacity:.7;margin-top:3px;letter-spacing:.5px}.sidebar nav{display:flex;flex-direction:column;gap:7px;margin-top:34px}.sidebar nav a{color:#d7dbf6;padding:12px 14px;border-radius:12px;font-size:14px}.sidebar nav a:hover,.sidebar nav a.active{background:linear-gradient(90deg,rgba(93,107,255,.35),rgba(123,97,255,.18));color:#fff}.sidebar-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.1);padding-top:18px;display:flex;align-items:center;justify-content:space-between}.user-mini span,.user-mini small{display:block}.user-mini small{opacity:.55;margin-top:3px}.main{margin-left:245px;width:calc(100% - 245px);padding:28px 32px 50px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.topbar h1{font-size:26px;margin:0}.topbar p{color:var(--muted);margin:7px 0 0;font-size:13px}.top-actions,.row-actions,.card-actions,.inline-actions{display:flex;gap:10px;align-items:center}.btn{border:0;border-radius:11px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;white-space:nowrap}.btn.primary{color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary2));box-shadow:0 8px 20px rgba(83,85,235,.22)}.btn.secondary{background:#eceeff;color:#3d4ad2}.btn.ghost{background:#fff;color:#4b5267;border:1px solid var(--line)}.btn.danger{background:var(--danger);color:#fff}.btn.danger-light{background:#fff0f2;color:var(--danger)}.btn.wide{width:100%}.text-btn{border:0;background:transparent;color:inherit;padding:0}.danger-text{color:var(--danger)!important}.flash{padding:13px 16px;border-radius:12px;margin-bottom:18px;background:#eaf9f2;color:#117855;border:1px solid #ccefe1}.flash.error{background:#fff0f2;color:#b82f46;border-color:#ffd5dc}.panel{background:#fff;border:1px solid rgba(226,229,240,.9);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px;margin-bottom:20px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.panel-head h2,.section-title h2{margin:0;font-size:17px}.panel-head p,.section-title span{margin:5px 0 0;color:var(--muted);font-size:12px}.metric-grid{display:grid;gap:16px;margin-bottom:20px}.metric-grid.five{grid-template-columns:repeat(5,1fr)}.metric-grid.four{grid-template-columns:repeat(4,1fr)}.metric-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:var(--shadow);position:relative;overflow:hidden}.metric-card:after{content:"";position:absolute;width:80px;height:80px;border-radius:50%;right:-28px;top:-30px;background:linear-gradient(135deg,rgba(64,86,244,.12),rgba(123,97,255,.05))}.metric-card.accent{background:linear-gradient(135deg,#4056F4,#7B61FF);color:#fff;border:0}.metric-card span{display:block;font-size:12px;color:var(--muted)}.metric-card.accent span,.metric-card.accent small{color:rgba(255,255,255,.76)}.metric-card strong{display:block;font-size:28px;margin:10px 0 6px}.metric-card small{color:var(--muted)}.two-col{display:grid;grid-template-columns:1.45fr 1fr;gap:20px}.details-layout{grid-template-columns:1fr 1fr}.svg-chart{height:300px;position:relative}.svg-chart.tall{height:340px}.svg-chart svg{width:100%;height:calc(100% - 28px);overflow:visible}.grid-line{stroke:#e8eaf3;stroke-width:1}.axis-text{fill:#8b91a5;font-size:10px}.chart-legend{display:flex;gap:18px;justify-content:center;font-size:12px;color:var(--muted)}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:9px;height:9px;border-radius:50%}.chart-empty,.empty{padding:38px!important;text-align:center;color:var(--muted)}.bar-list{display:flex;flex-direction:column;gap:14px}.bar-label{display:flex;justify-content:space-between;font-size:13px}.bar-track{height:7px;background:#eff1f7;border-radius:99px;overflow:hidden;margin:7px 0}.bar-track i{height:100%;display:block;background:linear-gradient(90deg,var(--primary),var(--primary2));border-radius:99px}.bar-row small{color:var(--muted)}.table-wrap{overflow:auto}.table-wrap.wide{max-width:100%}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{text-align:left;padding:13px 12px;border-bottom:1px solid var(--line);font-size:12px}th{color:#6f7689;background:#fafbfe;font-weight:700}tbody tr:hover{background:#fbfbff}.pill,.status{display:inline-flex;border:0;border-radius:999px;padding:5px 9px;font-size:11px;background:#f0f1f6;color:#60677b}.pill.platform{background:#eef0ff;color:#4a4fd2}.status.success{background:#e7f8f1;color:#147d59}.status.info{background:#eaf2ff;color:#246dd5}.status.muted-status{background:#f0f1f4;color:#808697}.filter-panel{padding:15px 18px}.filter-form{display:flex;gap:10px;align-items:center}.filter-form.wrap{flex-wrap:wrap}.filter-form input,.filter-form select{max-width:240px}.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.merchant-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;box-shadow:var(--shadow)}.merchant-head{display:flex;gap:12px;align-items:center}.merchant-head>div:nth-child(2){min-width:0;flex:1}.merchant-head h3{font-size:15px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.merchant-head p{font-size:11px;color:var(--muted);margin:5px 0}.merchant-logo{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#edf0ff,#e8deff);display:grid;place-items:center;color:#4d4bd1;font-weight:900;overflow:hidden}.merchant-logo.large{width:72px;height:72px;font-size:23px;flex:none}.merchant-logo img,.client-logo-img{width:100%;height:100%;object-fit:cover}.merchant-card dl{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:20px 0}.merchant-card dl div{min-width:0}.merchant-card dt,.detail-list dt{font-size:10px;color:var(--muted)}.merchant-card dd,.detail-list dd{font-size:12px;margin:4px 0 0;overflow:hidden;text-overflow:ellipsis}.merchant-card .card-actions{justify-content:flex-end;border-top:1px solid var(--line);padding-top:15px}.empty-state{grid-column:1/-1;text-align:center;background:#fff;border:1px dashed #d8dbea;border-radius:18px;padding:55px}.form-panel{max-width:1200px}.form-panel.compact{max-width:none}.section-title{display:flex;align-items:end;justify-content:space-between;margin:8px 0 16px;padding-bottom:11px;border-bottom:1px solid var(--line)}.form-grid{display:grid;gap:16px;margin-bottom:24px}.form-grid.two{grid-template-columns:repeat(2,1fr)}.form-grid.three{grid-template-columns:repeat(3,1fr)}.form-grid.four{grid-template-columns:repeat(4,1fr)}.form-grid .span-2{grid-column:span 2}.form-grid .span-3{grid-column:span 3}.form-grid.align-end{align-items:end}.form-grid label,.stack-form label{font-size:12px;font-weight:700;color:#545b70;display:flex;flex-direction:column;gap:8px}.check-label{flex-direction:row!important;align-items:center!important;margin-top:28px}.check-label input{width:auto}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:10px}.stack-form{display:flex;flex-direction:column;gap:16px}input,select,textarea{width:100%;border:1px solid #dfe2ed;background:#fff;border-radius:10px;padding:10px 12px;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:#7b7cff;box-shadow:0 0 0 3px rgba(75,85,245,.1)}textarea{resize:vertical}.merchant-hero{display:flex;gap:18px;align-items:center}.grow{flex:1}.title-row{display:flex;gap:12px;align-items:center}.title-row h2{margin:0}.merchant-hero p{color:var(--muted);font-size:13px}.meta-line{display:flex;gap:16px;color:#555d72;font-size:12px;flex-wrap:wrap}.link-box{display:flex;gap:10px}.link-box code{flex:1;background:#f5f6fb;border:1px solid var(--line);border-radius:10px;padding:12px;overflow:auto}.detail-list{margin:0}.detail-list div{display:grid;grid-template-columns:120px 1fr;padding:10px 0;border-bottom:1px solid var(--line)}.tag-cloud{display:flex;flex-wrap:wrap;gap:9px}.keyword-tag{padding:9px 11px;border:1px solid #e0e2ef;background:#fafaff;border-radius:10px;font-size:12px}.keyword-tag small{display:block;color:var(--muted);margin-top:4px}.inline-form{display:inline}.inline-form select{padding:6px 8px}.inline-actions form,.row-actions form,.toggle-group form{margin:0}.metric-inputs input{font-size:18px;font-weight:800;color:#4056F4}.upload-box{border:1px dashed #bfc4dd;border-radius:14px;padding:30px!important;text-align:center;align-items:center;background:#fafbff;cursor:pointer}.upload-box input{border:0;background:transparent}.upload-box span{font-weight:400;color:var(--muted)}.step-list{padding-left:20px;color:#5e6579;line-height:2}.error-panel{border-color:#ffd0d8}.error-panel ul{color:#b73249;line-height:1.8}.platform-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.platform-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;gap:14px;align-items:center;box-shadow:var(--shadow)}.platform-card h3{margin:0;font-size:15px}.platform-card p,.platform-card small{margin:5px 0;color:var(--muted);font-size:11px}.platform-icon{width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#4056F4,#7B61FF);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:900;flex:none}.platform-icon.small{width:38px;height:38px;border-radius:11px}.toggle-group{display:flex;flex-direction:column;gap:8px;align-items:flex-end}.log-detail{max-width:520px;white-space:normal}.login-page,.client-login-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top left,#28356c,#10162e 55%,#160f2e);position:relative;overflow:hidden;padding:24px}.login-glow{position:absolute;border-radius:50%;filter:blur(12px);opacity:.35}.login-glow.one{width:420px;height:420px;background:#5f6fff;left:-170px;top:-140px}.login-glow.two{width:360px;height:360px;background:#9c5fff;right:-120px;bottom:-120px}.login-card,.client-login-card{position:relative;width:min(430px,100%);background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.35);border-radius:24px;padding:38px;box-shadow:0 30px 80px rgba(0,0,0,.32);text-align:center}.login-card .login-logo,.client-login-card .login-logo{margin:auto;width:58px;height:58px;font-size:18px}.login-card h1,.client-login-card h1{font-size:23px;margin:14px 0 8px}.eyebrow{font-size:10px;letter-spacing:2px;color:#656fe8;text-transform:uppercase;font-weight:800}.muted{color:var(--muted)}.login-card form,.client-login-card form{text-align:left;margin-top:24px}.demo-tip{font-size:11px;color:#83899b;margin-top:18px;background:#f5f6fb;padding:10px;border-radius:10px}.client-page{background:#f4f6fb}.client-header{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(25px,calc((100vw - 1200px)/2));position:sticky;top:0;z-index:10}.client-brand .brand-mark{width:40px;height:40px}.client-actions{display:flex;gap:10px}.client-container{max-width:1200px;margin:auto;padding:34px 20px 60px}.client-hero{border-radius:24px;padding:32px;color:#fff;background:linear-gradient(135deg,#2639cb,#7457f7);display:flex;align-items:flex-end;justify-content:space-between;box-shadow:0 20px 50px rgba(69,75,204,.22);margin-bottom:20px;position:relative;overflow:hidden}.client-hero:after{content:"";position:absolute;width:350px;height:350px;border:1px solid rgba(255,255,255,.18);border-radius:50%;right:-100px;top:-170px}.client-hero h1{font-size:28px;margin:7px 0}.client-hero p{opacity:.84}.client-logo-img{width:58px;height:58px;border-radius:16px;object-fit:cover;background:#fff}.period-switch{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);padding:5px;border-radius:12px;display:flex;position:relative;z-index:1}.period-switch a{color:#fff;padding:8px 12px;border-radius:8px;font-size:12px}.period-switch a.active{background:#fff;color:#4d51d8}.client-metrics .metric-card{box-shadow:none}.client-panel{box-shadow:none}.mini-stat-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mini-stat-list div{background:#f7f8fc;border:1px solid var(--line);border-radius:13px;padding:18px}.mini-stat-list span,.mini-stat-list b{display:block}.mini-stat-list span{font-size:11px;color:var(--muted)}.mini-stat-list b{font-size:22px;margin-top:7px}.platform-report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.platform-report-grid article{border:1px solid var(--line);border-radius:15px;padding:16px}.platform-report-grid h3{font-size:14px;margin:10px 0}.platform-report-grid dl{margin:0}.platform-report-grid dl div{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px dashed #e5e7ef}.platform-report-grid dt,.platform-report-grid dd{font-size:11px;margin:0}.platform-report-grid dt{color:var(--muted)}.client-footer{display:flex;justify-content:space-between;color:var(--muted);border-top:1px solid var(--line);padding:24px 2px;margin-top:20px;font-size:11px}.client-footer strong{color:var(--ink)}
@media(max-width:1100px){.metric-grid.five{grid-template-columns:repeat(3,1fr)}.card-grid{grid-template-columns:repeat(2,1fr)}.platform-report-grid{grid-template-columns:repeat(3,1fr)}.form-grid.four{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.sidebar{width:78px;padding:18px 10px}.sidebar .brand>div:last-child,.sidebar nav a,.sidebar-bottom{font-size:0}.sidebar nav a{height:42px}.sidebar nav a:before{content:"•";font-size:25px;display:block;text-align:center}.main{margin-left:78px;width:calc(100% - 78px);padding:20px}.two-col,.details-layout{grid-template-columns:1fr}.metric-grid.four,.metric-grid.five{grid-template-columns:repeat(2,1fr)}.card-grid,.platform-grid{grid-template-columns:1fr}.platform-report-grid{grid-template-columns:repeat(2,1fr)}.client-hero{align-items:flex-start;flex-direction:column;gap:20px}.client-header{padding:0 16px}.client-brand span{display:none}}
@media(max-width:560px){.sidebar{display:none}.main{margin:0;width:100%;padding:16px}.topbar{align-items:flex-start;gap:15px}.top-actions{flex-wrap:wrap;justify-content:flex-end}.topbar h1{font-size:21px}.metric-grid.four,.metric-grid.five,.form-grid.two,.form-grid.three,.form-grid.four,.platform-report-grid,.mini-stat-list{grid-template-columns:1fr}.form-grid .span-2,.form-grid .span-3{grid-column:span 1}.card-grid{grid-template-columns:1fr}.client-actions .btn.ghost{display:none}.client-brand strong{font-size:12px}.client-container{padding:20px 12px}.client-hero{padding:24px}.period-switch{width:100%;overflow:auto}.client-footer{flex-direction:column;gap:12px}.filter-form{align-items:stretch;flex-direction:column}.filter-form input,.filter-form select{max-width:none}.link-box{flex-direction:column}.row-actions{flex-wrap:wrap}.metric-card strong{font-size:24px}}
@media print{.client-header,.period-switch,.client-actions{display:none!important}.client-container{padding:0}.client-page{background:#fff}.panel,.metric-card,.client-hero{box-shadow:none;break-inside:avoid}.client-hero{color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}}
/* v1.1 核心业务词、问题词库与文章发布 */
.sidebar{overflow-y:auto}.sidebar nav{margin-top:24px}.sidebar nav a{padding:10px 14px}.question-cell{max-width:420px;white-space:normal;line-height:1.55}.question-cell small{display:block;color:var(--muted);margin-top:4px}.pagination{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:20px;color:var(--muted);font-size:12px}.publishing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.publishing-card{display:flex;gap:12px;border:1px solid var(--line);border-radius:16px;padding:16px;background:#fbfbff}.publishing-card h3{margin:0 0 12px;font-size:15px}.publishing-card label{font-size:11px;color:var(--muted);display:block;margin-top:9px}.publishing-card input{margin-top:6px}.check-grid{align-items:stretch}.check-card{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;border:1px solid var(--line);border-radius:12px;padding:13px;background:#fafbff}.check-card input{width:18px;height:18px}.check-card span{font-weight:700;color:var(--ink)}.publication-report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.publication-report-grid article{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:15px;padding:16px}.publication-report-grid h3{font-size:13px;margin:0 0 5px}.publication-report-grid strong{font-size:24px;color:var(--primary)}.publication-report-grid span{font-size:12px;margin-left:3px}.publication-report-grid small{display:block;color:var(--muted);margin-top:5px}.article-total{text-align:right}.article-total span,.article-total small{display:block;color:var(--muted);font-size:11px}.article-total strong{font-size:28px;color:var(--primary)}
@media(max-width:1100px){.publishing-grid{grid-template-columns:repeat(2,1fr)}.publication-report-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.publishing-grid{grid-template-columns:1fr}.publication-report-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.publication-report-grid{grid-template-columns:1fr}.article-total{text-align:left}}
/* v1.2 官方API接入与AI自动检测 */
.api-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.api-setting-card{position:relative}.test-form{position:absolute;right:22px;bottom:22px}.field-help,.field-label{font-size:12px;color:var(--muted)}.test-message{font-size:12px;background:#f6f7fc;border:1px solid var(--line);border-radius:10px;padding:10px;margin-top:12px;word-break:break-all}.danger-status{background:#fff0f2;color:var(--danger)}.provider-checks{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:8px}.provider-checks .check-card{display:grid!important;grid-template-columns:22px 1fr;align-items:center}.provider-checks .check-card small{grid-column:2;color:var(--muted)}.disabled-card{opacity:.55}.notice-box{margin-top:16px;padding:13px 15px;border-radius:12px;background:#f0f2ff;color:#4952bd;font-size:12px}.small-metric{font-size:20px!important}.live-panel{display:flex;align-items:center;justify-content:space-between;border-color:#cfd5ff}.live-panel h2{margin:0}.live-panel p{margin:6px 0 0;color:var(--muted)}.answer-cell{max-width:520px}.answer-cell summary{cursor:pointer;color:var(--primary);font-weight:700}.answer-text{white-space:pre-wrap;line-height:1.7;margin-top:10px;padding:12px;background:#f7f8fc;border-radius:10px;max-height:360px;overflow:auto}.field-label{display:block;margin-bottom:7px;font-weight:700;color:var(--ink)}
@media(max-width:1000px){.api-setting-grid{grid-template-columns:1fr}.provider-checks{grid-template-columns:1fr}}
/* v1.2.1 核心业务词客户报表手动调整 */
.manual-dot{display:inline-block;width:7px;height:7px;margin-left:4px;border-radius:50%;background:#7B61FF;vertical-align:middle}.adjustment-reference{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:0}.adjustment-reference .metric-card strong{font-size:23px}.adjustment-fields label small{font-size:11px;color:var(--muted);font-weight:400}.adjustment-fields input::placeholder{font-size:12px;font-weight:400;color:#a1a6b7}.danger-zone{display:flex;align-items:center;justify-content:space-between;border-color:#ffd9df}.danger-zone h2{margin:0;font-size:16px}.danger-zone p{margin:6px 0 0;color:var(--muted);font-size:12px}
@media(max-width:820px){.adjustment-reference{grid-template-columns:repeat(2,minmax(0,1fr))}.danger-zone{align-items:flex-start;flex-direction:column;gap:16px}}
@media(max-width:560px){.adjustment-reference{grid-template-columns:1fr}}

/* v1.2.2 automatic calculation */
.compact-notice{margin:0;display:flex;align-items:center;min-height:42px}
#summary-count-panel.is-disabled{opacity:.5}
.question-cell small{display:block;margin-top:4px;color:#7b8198;white-space:nowrap}

/* v1.2.4 client/case enhancements */
.client-page-tech{background:linear-gradient(180deg,#eef2ff 0%,#f7f8fc 22%,#f4f6fb 100%)}
.tech-header{backdrop-filter:blur(12px);background:rgba(255,255,255,.92)}
.tech-hero{background:radial-gradient(circle at top right,rgba(255,255,255,.18),transparent 28%),linear-gradient(135deg,#1e2fb3 0%,#4056F4 45%,#7B61FF 100%);border:1px solid rgba(255,255,255,.16)}
.hero-brand-row{display:flex;gap:18px;align-items:center}.hero-merchant-logo{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.16)}
.hero-copy{position:relative;z-index:1}.hero-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.hero-tag{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);font-size:12px;color:#fff}
.hero-sidecard{width:330px;max-width:100%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);padding:16px;border-radius:20px;position:relative;z-index:1}.hero-side-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.hero-side-metrics div{background:rgba(255,255,255,.12);border-radius:14px;padding:14px}.hero-side-metrics span{display:block;font-size:11px;opacity:.8}.hero-side-metrics strong{display:block;font-size:24px;margin-top:8px}
.glow-panel{border-color:#e1e6ff;box-shadow:0 14px 36px rgba(62,79,204,.06)}
.platform-report-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:0 12px 24px rgba(80,86,210,.04)}
.platform-report-top{display:flex;align-items:center;gap:12px;margin-bottom:10px}.platform-logo-img,.platform-logo-admin{width:54px;height:54px;border-radius:15px;object-fit:cover;background:#fff;border:1px solid #e8ebf6;box-shadow:0 8px 22px rgba(70,76,194,.08)}.platform-logo-img{width:44px;height:44px;border-radius:12px}
.tech-footer .footer-links{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.tech-footer a{font-weight:700}
.logo-preview-box{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700;color:#545b70}
.platform-card-rich{align-items:flex-start}.mini-platform-form{margin-top:12px}.mini-platform-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:8px}
.case-page .client-container{max-width:1280px}.case-hero{align-items:center}.case-search{width:360px;max-width:100%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);padding:16px;border-radius:20px;position:relative;z-index:1}.case-search label{display:flex;flex-direction:column;gap:10px;color:#fff;font-size:12px;font-weight:700}.search-row{display:flex;gap:10px}.search-row input{background:rgba(255,255,255,.95);border:0}
.case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.case-card{background:#fff;border:1px solid #e4e8f8;border-radius:20px;padding:20px;box-shadow:0 14px 32px rgba(57,67,176,.06)}.case-card-head{display:flex;gap:14px;align-items:center}.case-card h3{margin:0 0 5px;font-size:18px}.case-card p{margin:0;color:var(--muted)}.case-desc{margin:16px 0!important;min-height:42px}.case-card small{color:var(--muted)}.case-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:16px 0}.case-metrics div{padding:14px;border-radius:14px;background:#f7f8ff;border:1px solid #ecefff}.case-metrics span{display:block;font-size:11px;color:var(--muted)}.case-metrics strong{display:block;font-size:22px;margin-top:8px}.case-card-actions{display:flex;gap:10px}
@media(max-width:1100px){.case-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.hero-brand-row{align-items:flex-start;flex-direction:column}.hero-sidecard,.case-search{width:100%}.tech-footer .footer-links{align-items:flex-start}.platform-logo-admin{width:46px;height:46px}.case-grid{grid-template-columns:1fr}.mini-platform-grid{grid-template-columns:1fr}}
@media(max-width:560px){.hero-side-metrics,.case-metrics{grid-template-columns:1fr}.hero-tags,.case-card-actions,.search-row{flex-direction:column}.search-row .btn{width:100%}}


.platform-card-rich{display:flex;flex-direction:column;gap:14px}
.platform-icon.logo-mode{background:#f5f7ff;border:1px solid #e7e9ff;width:68px;height:68px;border-radius:18px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.platform-icon.logo-mode img,.platform-logo-img{width:42px;height:42px;object-fit:contain;display:block}
.inline-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end;width:100%;margin-top:6px}
.inline-edit-grid .span-2{grid-column:span 2}
.hero-brand-row{display:flex;align-items:center;gap:16px}
.hero-merchant-logo{width:72px;height:72px;font-size:26px;border-radius:20px}
.client-logo-img{width:100%;height:100%;object-fit:cover}
.platform-report-top{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.platform-report-card{padding:18px;border:1px solid #e7e9f2;border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 12px 32px rgba(75,88,230,.08)}
.platform-report-card dl div{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dashed #e8ebf6}
.platform-report-card dl div:last-child{border-bottom:none}
.case-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.case-card{border:1px solid #e7e9f2;background:rgba(255,255,255,.96);border-radius:22px;padding:22px;box-shadow:0 18px 44px rgba(64,86,244,.09)}
.case-card-top{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.case-card h3{margin:0;font-size:20px}
.case-card p{margin:0;color:#667085}
.case-desc{min-height:46px;margin-bottom:14px!important}
.case-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:14px 0}
.case-stats div,.hero-side-metrics div{padding:12px 14px;border-radius:16px;background:linear-gradient(180deg,#f7f8ff,#eef1ff);border:1px solid #e8ebff}
.case-stats span,.hero-side-metrics span{display:block;color:#65708a;font-size:12px;margin-bottom:4px}
.case-stats strong,.hero-side-metrics strong{font-size:22px;color:#1d2b53}
.case-actions{display:flex;flex-direction:column;gap:10px}
.share-link-input{width:100%;border:1px solid #dde2f0;border-radius:12px;padding:10px 12px;background:#fafbff;color:#5d6883}
.case-search{display:flex;gap:12px;align-items:center;background:rgba(255,255,255,.78);padding:16px;border-radius:20px;border:1px solid rgba(255,255,255,.48);backdrop-filter:blur(8px)}
.case-search input{min-width:300px;border:1px solid #dbe1f4;border-radius:12px;padding:12px 14px;background:#fff}
.cases-hero{align-items:center;justify-content:space-between}
.tech-header,.tech-footer{position:relative;overflow:hidden}
.tech-header::after,.tech-footer::after{content:"";position:absolute;inset:auto -40px -40px auto;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.22),rgba(255,255,255,0));pointer-events:none}
.client-page-tech{background:linear-gradient(180deg,#edf2ff 0%,#f7f9ff 100%)}
.client-hero.tech-hero{background:linear-gradient(135deg,#4056F4,#7B61FF);color:#fff;border-radius:28px;padding:30px;display:flex;justify-content:space-between;gap:24px;box-shadow:0 28px 60px rgba(75,88,230,.22)}
.client-hero .eyebrow{letter-spacing:.18em;font-size:12px;opacity:.85;margin-bottom:10px}
.hero-tag{display:inline-flex;padding:8px 12px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(255,255,255,.12);margin-right:8px;margin-top:10px;font-size:12px}
.hero-sidecard{min-width:280px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:22px;padding:18px;backdrop-filter:blur(8px)}
.period-switch{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-bottom:16px}
.period-switch a{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.25)}
.period-switch a.active{background:#fff;color:#4056F4}
.client-panel.glow-panel{border-radius:24px;box-shadow:0 18px 44px rgba(64,86,244,.08)}
@media (max-width: 900px){.inline-edit-grid{grid-template-columns:1fr}.cases-hero,.client-hero.tech-hero{flex-direction:column}.case-search{width:100%;flex-direction:column;align-items:stretch}.case-search input{min-width:0;width:100%}}

/* v1.4.0 web inspection + weekly/monthly reports */
.strong-notice{margin-bottom:20px;border:1px solid #cbd3ff;background:linear-gradient(135deg,#f3f5ff,#faf8ff);color:#35416f;line-height:1.8}
.login-platform-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.login-platform-card{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px;border:1px solid #e3e7f5;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfcff);box-shadow:0 10px 24px rgba(64,86,244,.05)}
.login-platform-logo{width:56px;height:56px;border-radius:16px;background:#f2f4ff;border:1px solid #e2e6ff;display:grid;place-items:center;font-weight:900;color:#4056F4;overflow:hidden}.login-platform-logo img{width:42px;height:42px;object-fit:contain}
.login-platform-card h3{margin:0 0 6px;font-size:15px}.login-platform-card p{margin:0;color:#8a91a7;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.btn.small{padding:8px 12px;font-size:12px}.copy-question-box{display:flex;align-items:flex-end}.check-row{display:flex;flex-wrap:wrap;gap:18px;padding:14px;border-radius:14px;background:#f8f9ff;border:1px solid #e9ecf8}.check-row .check-label{margin:0}.question-cell{max-width:360px;overflow:hidden;text-overflow:ellipsis}
.platform-config-card{align-items:flex-start}.platform-logo-box{width:68px;height:68px;flex:0 0 68px;border-radius:18px;background:#f4f6ff;border:1px solid #e3e7fa;display:grid;place-items:center;overflow:hidden}.platform-logo-box img{width:52px;height:52px;object-fit:contain}.platform-edit-form{margin-top:14px}.compact-fields{gap:10px!important;margin-bottom:10px!important}.compact-fields input{padding:8px 10px}.inline-actions{justify-content:flex-start}
.form-grid .span-4{grid-column:span 4}.report-editor-panel{max-width:none}.report-prefill-form{padding-bottom:18px;border-bottom:1px solid var(--line)}.report-save-form{margin-top:20px}.report-tip{font-size:12px;color:#6b7287;line-height:1.7;padding:12px 14px;border:1px dashed #ccd3f5;border-radius:12px;background:#f8f9ff}.link-button,.danger-link{border:0;background:transparent;padding:0;color:var(--primary);font-size:12px}.danger-link{color:var(--danger)}td.actions{display:flex;align-items:center;gap:10px}.actions form{display:inline}
.report-client-page{background:radial-gradient(circle at 12% 0%,rgba(64,86,244,.14),transparent 28%),linear-gradient(180deg,#edf1ff 0%,#f6f8ff 35%,#f4f6fb 100%)}
.report-header{height:78px;padding:0 5vw;border-bottom:1px solid rgba(214,220,243,.9);box-shadow:0 8px 30px rgba(34,48,124,.06)}
.report-container{max-width:1500px;padding-top:28px}
.report-hero{min-height:430px;position:relative;overflow:hidden;border-radius:34px;padding:42px 46px;display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:36px;color:#fff;background:linear-gradient(128deg,#17288f 0%,#4056F4 48%,#7B61FF 100%);box-shadow:0 30px 80px rgba(52,69,196,.28);margin-bottom:24px}
.report-hero:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;right:-160px;top:-230px;border:1px solid rgba(255,255,255,.18);box-shadow:0 0 0 60px rgba(255,255,255,.035),0 0 0 125px rgba(255,255,255,.025)}
.report-hero-grid{position:absolute;inset:0;opacity:.08;background-image:linear-gradient(rgba(255,255,255,.7) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.7) 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(90deg,#000,transparent 75%)}
.report-hero-main,.report-hero-side{position:relative;z-index:2}.report-client-name span{font-size:12px;letter-spacing:.13em;opacity:.82}.report-client-name h1{font-size:30px;margin:7px 0 0}.report-title-block{margin-top:46px}.report-kind-badge{display:inline-flex;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);font-size:13px;font-weight:800}.report-title-block h2{font-size:46px;line-height:1.18;margin:18px 0 14px;letter-spacing:-1px}.report-date-range{font-size:18px;font-weight:700;margin:0 0 14px}.report-summary{max-width:800px;font-size:14px;line-height:1.9;color:rgba(255,255,255,.82);margin:0}.report-hero .hero-tags{margin-top:28px}.report-hero .hero-tags span{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);font-size:12px}
.report-hero-side{padding:24px;border-radius:24px;background:rgba(12,20,86,.22);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px);align-self:stretch}.report-switch-title{font-weight:800;margin-bottom:14px}.report-switch-list{display:flex;flex-direction:column;gap:9px;max-height:255px;overflow:auto}.report-switch-list a{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;border-radius:12px;color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}.report-switch-list a.active{background:#fff;color:#4056F4}.report-switch-list a span{font-size:11px}.report-switch-list a b{font-size:13px}.empty-mini{font-size:12px;opacity:.75}.report-generated{position:absolute;left:24px;right:24px;bottom:24px;padding-top:16px;border-top:1px solid rgba(255,255,255,.16);font-size:11px;line-height:1.7;color:rgba(255,255,255,.7)}.report-generated strong{font-size:14px;color:#fff}
.growth-overview{border-radius:26px}.growth-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.growth-card{position:relative;padding:22px;border-radius:20px;border:1px solid #e3e7f5;background:linear-gradient(180deg,#fff,#f9faff);overflow:hidden}.growth-card:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-48px;top:-52px;background:rgba(64,86,244,.07)}.growth-card>span{font-size:12px;color:#6f7890}.growth-card>strong{display:block;font-size:32px;margin:12px 0}.growth-tag{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}.growth-tag.up{background:#e5f8ef;color:#14805a}.growth-tag.down{background:#fff0f2;color:#c23850}.growth-tag.flat{background:#f0f2f7;color:#747b8e}.growth-card small{display:block;margin-top:8px;color:#969bad}.report-charts-row{grid-template-columns:1.6fr .8fr}.report-mini-stats div{padding:18px}.report-footer{margin-bottom:20px}
@media(max-width:1180px){.login-platform-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-hero{grid-template-columns:1fr;min-height:auto}.report-hero-side{min-height:300px}.growth-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-charts-row{grid-template-columns:1fr}}
@media(max-width:820px){.login-platform-grid{grid-template-columns:1fr}.login-platform-card{grid-template-columns:50px 1fr}.login-platform-card .btn{grid-column:1/-1}.form-grid .span-4{grid-column:span 1}.report-header{height:auto;padding:14px 18px;align-items:flex-start}.report-header .client-actions{flex-wrap:wrap;justify-content:flex-end}.report-container{padding:16px}.report-hero{padding:28px 22px;border-radius:24px}.report-title-block h2{font-size:34px}.report-client-name h1{font-size:24px}.growth-grid{grid-template-columns:1fr}.report-hero-side{min-height:330px}.check-row{flex-direction:column;gap:10px}}

/* v1.4.2 case center share links */
.case-center-share-box{margin-top:22px;max-width:720px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border-radius:18px;background:rgba(13,23,101,.22);border:1px solid rgba(255,255,255,.24);backdrop-filter:blur(8px)}
.case-center-share-box>div{min-width:0}.case-center-share-box span{display:block;font-size:11px;color:rgba(255,255,255,.68);margin-bottom:5px}.case-center-share-box strong{display:block;color:#fff;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.btn.light-on-gradient{background:#fff;color:#4056F4;box-shadow:0 8px 20px rgba(24,33,115,.18)}
.case-action-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.share-link-field{position:relative;display:flex;align-items:center}.share-link-field .share-link-input{padding-right:66px}.copy-link-button{position:absolute;right:6px;border:0;border-radius:9px;padding:7px 11px;background:#e9ecff;color:#4056F4;font-size:12px;font-weight:800}
.copy-toast{position:fixed;z-index:1000;left:50%;bottom:34px;transform:translate(-50%,20px);padding:11px 18px;border-radius:999px;background:rgba(19,28,73,.94);color:#fff;font-size:13px;box-shadow:0 14px 32px rgba(18,27,76,.26);opacity:0;pointer-events:none;transition:.2s ease}.copy-toast.show{opacity:1;transform:translate(-50%,0)}
.footer-share-button{border:0;background:transparent;color:#4056F4;font-weight:800;padding:0;cursor:pointer;text-align:right}
@media(max-width:820px){.case-center-share-box{align-items:stretch;flex-direction:column}.case-action-row{grid-template-columns:1fr}.case-center-share-box strong{white-space:normal;word-break:break-all}}


/* v1.4.3 premium report visual upgrade */
.report-client-page{
  background:
    radial-gradient(circle at 8% 12%, rgba(123,97,255,.18), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(64,86,244,.16), transparent 26%),
    radial-gradient(circle at 70% 72%, rgba(92,115,255,.10), transparent 30%),
    linear-gradient(180deg,#eef2ff 0%,#f5f7ff 28%,#eef2fb 100%);
}
.report-container{position:relative}
.report-container:before{
  content:"";position:fixed;left:-120px;top:180px;width:260px;height:260px;border-radius:50%;
  background:radial-gradient(circle, rgba(123,97,255,.14), rgba(123,97,255,0));pointer-events:none;filter:blur(6px);z-index:0;
}
.report-container:after{
  content:"";position:fixed;right:-110px;bottom:80px;width:300px;height:300px;border-radius:50%;
  background:radial-gradient(circle, rgba(64,86,244,.13), rgba(64,86,244,0));pointer-events:none;filter:blur(10px);z-index:0;
}
.report-container > *{position:relative;z-index:1}
.client-panel,.growth-overview{
  background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(250,251,255,.92) 100%);
  border:1px solid rgba(219,225,245,.96);
  box-shadow:0 18px 48px rgba(40,58,150,.08), inset 0 1px 0 rgba(255,255,255,.72);
  border-radius:28px;
}
.glow-panel{position:relative;overflow:hidden}
.glow-panel:before,.growth-overview:before{
  content:"";position:absolute;right:-70px;top:-70px;width:180px;height:180px;border-radius:50%;
  background:radial-gradient(circle, rgba(123,97,255,.11), rgba(123,97,255,0) 70%);
}
.glow-panel:after,.growth-overview:after{
  content:"";position:absolute;left:-80px;bottom:-80px;width:200px;height:200px;border-radius:50%;
  background:radial-gradient(circle, rgba(64,86,244,.08), rgba(64,86,244,0) 70%);
}
.panel-head{margin-bottom:22px}
.panel-head h2{font-size:28px;letter-spacing:-.4px;color:#17224a}
.panel-head p{font-size:13px;color:#6f7894}
.growth-card{
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff 0%,#f6f8ff 100%);
  border:1px solid #e5e9f7;
  box-shadow:0 16px 30px rgba(84,94,180,.08);
}
.growth-card strong{font-size:48px;color:#162656;letter-spacing:-1px}
.growth-card > span{font-weight:700;color:#6d7692}
.metric-card{
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff 0%,#f8f9ff 100%);
  border:1px solid #e6eaf8;
  box-shadow:0 16px 30px rgba(77,91,191,.06);
}
.metric-card strong{font-size:46px;letter-spacing:-1px;color:#152554}
.metric-card span{font-size:13px;font-weight:700;color:#6e7693}
.detection-metrics .metric-card:nth-child(1){background:linear-gradient(180deg,#ffffff 0%,#f5f8ff 100%)}
.detection-metrics .metric-card:nth-child(2){background:linear-gradient(180deg,#ffffff 0%,#faf6ff 100%)}
.detection-metrics .metric-card:nth-child(3){background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%)}
.detection-metrics .metric-card:nth-child(4){background:linear-gradient(180deg,#ffffff 0%,#f8f9ff 100%)}
.report-mini-stats div{
  border-radius:18px;
  background:linear-gradient(180deg,#fbfcff 0%,#f4f6ff 100%);
  border:1px solid #e6eaf8;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.report-mini-stats b{font-size:22px;color:#1b2b62}
.report-mini-stats span{font-weight:700;color:#6d7591}
.platform-report-card{
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff 0%,#f9faff 100%);
  border:1px solid #e6e9f6;
  box-shadow:0 16px 36px rgba(75,88,230,.08);
}
.platform-report-top h3{font-size:20px;color:#192753}
.platform-report-card dl div{padding:10px 0;border-bottom:1px dashed #dfe5f4}
.platform-report-card dt{font-size:13px;color:#7a829c}
.platform-report-card dd{font-size:20px;font-weight:800;color:#1a2857}
.table-wrap table{background:rgba(255,255,255,.56);border-radius:18px;overflow:hidden}
.table-wrap thead th{
  background:linear-gradient(180deg,#f5f7ff 0%,#eef2ff 100%);
  color:#5f6a8a;font-size:13px;border-bottom:1px solid #dde3f4;
}
.table-wrap tbody td{font-size:13px;color:#2a355a}
.table-wrap tbody tr:nth-child(even){background:rgba(245,247,255,.55)}
.table-wrap tbody tr:hover{background:rgba(235,240,255,.75)}
.report-footer{
  background:linear-gradient(135deg,#182a91 0%,#4157f4 55%,#7b61ff 100%);
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px;
  padding:26px 28px;
  box-shadow:0 20px 50px rgba(52,69,196,.20);
}
.report-footer strong,.report-footer p,.report-footer a,.report-footer span{color:#fff !important}
.report-footer p{opacity:.82}
.report-footer .footer-links{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.report-footer .footer-links a{padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)}
@media(max-width:820px){
  .panel-head h2{font-size:22px}
  .growth-card strong,.metric-card strong{font-size:36px}
}


/* =========================================================
   v1.4.3 客户周报/月报高级科技视觉升级
   仅作用于客户报告页，不影响后台管理页面
   ========================================================= */

.report-client-page{
  position:relative;
  min-height:100vh;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 8% 8%,rgba(55,94,255,.22),transparent 28%),
    radial-gradient(circle at 92% 18%,rgba(130,74,255,.20),transparent 30%),
    radial-gradient(circle at 55% 78%,rgba(36,168,255,.10),transparent 36%),
    linear-gradient(145deg,#e9efff 0%,#f4f6ff 38%,#eef2ff 72%,#f8f9ff 100%) !important;
}

.report-client-page:before,
.report-client-page:after{
  content:"";
  position:fixed;
  pointer-events:none;
  z-index:0;
  filter:blur(2px);
}

.report-client-page:before{
  width:540px;
  height:540px;
  right:-200px;
  top:160px;
  border-radius:50%;
  border:1px solid rgba(98,91,255,.14);
  box-shadow:
    0 0 0 58px rgba(98,91,255,.035),
    0 0 0 118px rgba(64,86,244,.025),
    0 0 100px rgba(90,85,255,.10);
}

.report-client-page:after{
  width:420px;
  height:420px;
  left:-190px;
  bottom:80px;
  border-radius:38%;
  background:linear-gradient(135deg,rgba(55,94,255,.08),rgba(123,97,255,.03));
  transform:rotate(28deg);
}

.report-client-page .report-header,
.report-client-page .report-container{
  position:relative;
  z-index:2;
}

.report-client-page .report-container{
  max-width:1500px;
  padding-bottom:56px;
}

/* 公共面板：玻璃拟态、蓝紫高光边缘 */
.report-client-page .panel,
.report-client-page .client-panel{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(135deg,rgba(255,255,255,.93),rgba(247,249,255,.82)) !important;
  border:1px solid rgba(255,255,255,.92) !important;
  box-shadow:
    0 20px 55px rgba(40,56,145,.11),
    inset 0 1px 0 rgba(255,255,255,.95),
    0 0 0 1px rgba(94,103,220,.06) !important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.report-client-page .panel:before,
.report-client-page .client-panel:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,#4056F4 0%,#7B61FF 52%,#22A6F2 100%);
  opacity:.9;
}

.report-client-page .panel:after,
.report-client-page .client-panel:after{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  right:-120px;
  top:-135px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(101,94,255,.11),transparent 68%);
  pointer-events:none;
}

.report-client-page .panel-head{
  position:relative;
  z-index:2;
  padding-bottom:14px;
  border-bottom:1px solid rgba(106,115,190,.12);
}

.report-client-page .panel-head h2{
  font-size:20px;
  letter-spacing:.01em;
  color:#121b45;
}

.report-client-page .panel-head h2:before{
  content:"";
  display:inline-block;
  width:5px;
  height:20px;
  margin-right:10px;
  vertical-align:-4px;
  border-radius:999px;
  background:linear-gradient(180deg,#4056F4,#7B61FF);
  box-shadow:0 4px 12px rgba(64,86,244,.28);
}

.report-client-page .panel-head p{
  margin-left:15px;
  color:#737c9d;
}

/* 核心成果卡片 */
.report-client-page .growth-overview{
  background:
    linear-gradient(135deg,rgba(255,255,255,.95),rgba(241,245,255,.86)) !important;
}

.report-client-page .growth-card{
  min-height:184px;
  border:1px solid rgba(107,114,225,.14) !important;
  background:
    linear-gradient(155deg,rgba(255,255,255,.98),rgba(239,243,255,.92)) !important;
  box-shadow:
    0 14px 34px rgba(62,75,177,.10),
    inset 0 1px 0 rgba(255,255,255,1);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.report-client-page .growth-card:hover{
  transform:translateY(-4px);
  border-color:rgba(87,91,240,.28) !important;
  box-shadow:0 22px 45px rgba(65,75,188,.16);
}

.report-client-page .growth-card:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  border-radius:20px 0 0 20px;
  background:linear-gradient(180deg,#4056F4,#7B61FF);
}

.report-client-page .growth-card>strong{
  color:#111a43;
  font-size:34px;
  letter-spacing:-.6px;
}

.report-client-page .growth-card.up{
  background:
    linear-gradient(145deg,rgba(244,255,251,.98),rgba(237,247,255,.94)) !important;
}

.report-client-page .growth-card.down{
  background:
    linear-gradient(145deg,rgba(255,247,249,.98),rgba(245,245,255,.94)) !important;
}

/* AI 检索概览卡片 */
.report-client-page .detection-metrics .metric-card{
  min-height:152px;
  border:1px solid rgba(105,112,220,.15);
  background:
    linear-gradient(145deg,rgba(255,255,255,.98),rgba(239,243,255,.90)) !important;
  box-shadow:0 14px 34px rgba(63,74,174,.09);
}

.report-client-page .detection-metrics .metric-card:nth-child(1){
  background:linear-gradient(145deg,#f8f9ff,#edf2ff) !important;
}
.report-client-page .detection-metrics .metric-card:nth-child(2){
  background:linear-gradient(145deg,#fbf8ff,#f0edff) !important;
}
.report-client-page .detection-metrics .metric-card:nth-child(3){
  background:linear-gradient(145deg,#f4fbff,#eaf5ff) !important;
}
.report-client-page .detection-metrics .metric-card:nth-child(4){
  background:linear-gradient(145deg,#f7faff,#eef0ff) !important;
}

.report-client-page .detection-metrics .metric-card strong{
  color:#101941;
  font-size:32px;
}

.report-client-page .metric-card:after{
  width:118px;
  height:118px;
  right:-42px;
  top:-52px;
  background:
    radial-gradient(circle,rgba(80,84,246,.13),rgba(123,97,255,.035) 62%,transparent 64%);
}

/* 趋势图 */
.report-client-page .report-charts-row .panel:first-child{
  background:
    linear-gradient(145deg,rgba(255,255,255,.96),rgba(239,245,255,.88)) !important;
}

.report-client-page .svg-chart{
  border-radius:18px;
  padding:18px 12px 4px;
  background:
    linear-gradient(180deg,rgba(250,252,255,.96),rgba(241,245,255,.72));
  border:1px solid rgba(107,115,205,.10);
}

.report-client-page .grid-line{
  stroke:#dfe5f7;
}

.report-client-page .axis-text{
  fill:#7b83a4;
}

/* 其他指标 */
.report-client-page .report-mini-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.report-client-page .report-mini-stats div{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(97,108,209,.12);
  border-radius:18px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.98),rgba(239,243,255,.90));
  box-shadow:0 10px 28px rgba(63,76,174,.07);
}

.report-client-page .report-mini-stats div:after{
  content:"";
  position:absolute;
  width:76px;
  height:76px;
  right:-30px;
  top:-34px;
  border-radius:50%;
  background:rgba(92,87,244,.075);
}

.report-client-page .report-mini-stats span{
  color:#737c9b;
}

.report-client-page .report-mini-stats b{
  color:#111a43;
  font-size:28px;
}

/* AI平台卡片 */
.report-client-page .platform-report-grid{
  gap:18px;
}

.report-client-page .platform-report-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(101,109,219,.15) !important;
  background:
    linear-gradient(150deg,rgba(255,255,255,.98),rgba(238,243,255,.90)) !important;
  box-shadow:
    0 16px 36px rgba(52,67,163,.10),
    inset 0 1px 0 rgba(255,255,255,.95) !important;
  transition:transform .25s ease,box-shadow .25s ease;
}

.report-client-page .platform-report-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 48px rgba(52,67,163,.16) !important;
}

.report-client-page .platform-report-card:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,#4056F4,#7B61FF,#22A6F2);
}

.report-client-page .platform-report-top h3{
  color:#121a44;
}

.report-client-page .platform-logo-img{
  box-shadow:
    0 8px 20px rgba(64,86,244,.18),
    0 0 0 4px rgba(255,255,255,.75);
}

.report-client-page .platform-report-card dl{
  position:relative;
  z-index:2;
}

.report-client-page .platform-report-card dl div{
  border-bottom-color:rgba(110,119,195,.15);
}

.report-client-page .platform-report-card dt{
  color:#75809e;
}

.report-client-page .platform-report-card dd{
  color:#111a43;
  font-weight:800;
}

/* 核心业务词表格 */
.report-client-page .table-wrap{
  position:relative;
  z-index:2;
  border-radius:18px;
  border:1px solid rgba(105,113,210,.12);
  overflow:auto;
  background:rgba(255,255,255,.72);
}

.report-client-page table{
  background:transparent;
}

.report-client-page th{
  background:
    linear-gradient(180deg,rgba(236,240,255,.96),rgba(245,247,255,.92));
  color:#535e86;
  border-bottom:1px solid rgba(99,108,200,.15);
}

.report-client-page td{
  color:#293252;
  border-bottom-color:rgba(115,123,190,.12);
}

.report-client-page tbody tr{
  transition:background .2s ease;
}

.report-client-page tbody tr:hover{
  background:rgba(72,87,240,.045);
}

/* 页脚 */
.report-client-page .report-footer{
  border-radius:24px;
  padding:26px 30px;
  color:#eaf0ff;
  background:
    linear-gradient(135deg,#17245f 0%,#2739a7 46%,#5c46dc 100%) !important;
  border:1px solid rgba(255,255,255,.15) !important;
  box-shadow:0 24px 55px rgba(31,44,130,.24) !important;
}

.report-client-page .report-footer strong{
  color:#fff;
  font-size:17px;
}

.report-client-page .report-footer p,
.report-client-page .report-footer span{
  color:rgba(235,240,255,.76);
}

.report-client-page .report-footer a{
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.35);
}

/* 顶部导航也更精致 */
.report-client-page .report-header{
  background:rgba(246,248,255,.82);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(111,120,204,.13);
  box-shadow:0 12px 38px rgba(42,54,139,.09);
}

/* 手机端 */
@media(max-width:820px){
  .report-client-page .report-mini-stats{
    grid-template-columns:1fr;
  }
  .report-client-page .panel,
  .report-client-page .client-panel{
    border-radius:20px;
  }
  .report-client-page .growth-card{
    min-height:160px;
  }
}

/* 打印保持清晰，避免深色背景影响PDF/纸张 */
@media print{
  .report-client-page{
    background:#fff !important;
  }
  .report-client-page:before,
  .report-client-page:after{
    display:none !important;
  }
  .report-client-page .panel,
  .report-client-page .client-panel,
  .report-client-page .growth-card,
  .report-client-page .metric-card,
  .report-client-page .platform-report-card{
    background:#fff !important;
    box-shadow:none !important;
    border:1px solid #e4e7f0 !important;
  }
  .report-client-page .report-footer{
    background:#263899 !important;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }
}


/* =========================================================
   v1.4.6 PDF/打印版式修复
   - 保留蓝紫科技背景
   - 第一页独立封面
   - 隐藏封面中的历史报告列表
   - 后续页面保留浅蓝紫层次
   ========================================================= */

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  html,
  body,
  .report-client-page {
    margin: 0 !important;
    padding: 0 !important;
    width: 210mm !important;
    min-height: 297mm !important;
    background: #eef2ff !important;
    color: #111a43 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .report-client-page:before,
  .report-client-page:after {
    display: none !important;
  }

  .report-client-page .report-header,
  .report-client-page .client-actions {
    display: none !important;
  }

  .report-client-page .report-container {
    width: 210mm !important;
    max-width: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background:
      linear-gradient(180deg,#eef2ff 0%,#f6f8ff 42%,#eef2ff 100%) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* 第一页：固定为完整封面 */
  .report-client-page .report-hero {
    box-sizing: border-box !important;
    width: 210mm !important;
    height: 297mm !important;
    min-height: 297mm !important;
    margin: 0 !important;
    padding: 25mm 18mm 20mm !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: block !important;
    overflow: hidden !important;
    color: #fff !important;
    background:
      radial-gradient(circle at 85% 12%,rgba(255,255,255,.18),transparent 28%),
      radial-gradient(circle at 18% 88%,rgba(42,186,255,.14),transparent 32%),
      linear-gradient(128deg,#17288f 0%,#4056F4 48%,#7B61FF 100%) !important;
    box-shadow: none !important;
    break-after: page !important;
    page-break-after: always !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .report-client-page .report-hero,
  .report-client-page .report-hero *,
  .report-client-page .report-hero h1,
  .report-client-page .report-hero h2,
  .report-client-page .report-hero p,
  .report-client-page .report-hero span,
  .report-client-page .report-hero strong {
    color: #fff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .report-client-page .report-hero-grid {
    display: block !important;
    opacity: .10 !important;
    background-image:
      linear-gradient(rgba(255,255,255,.7) 1px,transparent 1px),
      linear-gradient(90deg,rgba(255,255,255,.7) 1px,transparent 1px) !important;
    background-size: 38px 38px !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .report-client-page .report-hero:before {
    display: block !important;
  }

  .report-client-page .report-hero-main {
    position: relative !important;
    z-index: 2 !important;
    max-width: 168mm !important;
  }

  .report-client-page .report-client-name h1 {
    font-size: 27pt !important;
    margin-top: 4mm !important;
  }

  .report-client-page .report-client-name span {
    font-size: 9.5pt !important;
  }

  .report-client-page .report-title-block {
    margin-top: 28mm !important;
  }

  .report-client-page .report-title-block h2 {
    max-width: 168mm !important;
    margin: 8mm 0 5mm !important;
    font-size: 31pt !important;
    line-height: 1.22 !important;
    letter-spacing: -.5pt !important;
  }

  .report-client-page .report-date-range {
    margin: 0 0 5mm !important;
    font-size: 14pt !important;
  }

  .report-client-page .report-summary {
    max-width: 150mm !important;
    font-size: 10pt !important;
    line-height: 1.85 !important;
    color: rgba(255,255,255,.84) !important;
  }

  .report-client-page .report-kind-badge {
    padding: 2.5mm 5mm !important;
    border-color: rgba(255,255,255,.36) !important;
    background: rgba(255,255,255,.15) !important;
  }

  .report-client-page .report-hero .hero-tags {
    position: absolute !important;
    left: 18mm !important;
    bottom: 24mm !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 3mm !important;
    margin: 0 !important;
  }

  .report-client-page .report-hero .hero-tags span {
    padding: 2.2mm 4mm !important;
    background: rgba(255,255,255,.13) !important;
    border: 1px solid rgba(255,255,255,.25) !important;
  }

  /* PDF封面不需要历史报告切换区，防止第一页大面积空白 */
  .report-client-page .report-hero-side {
    display: none !important;
  }

  .report-client-page .hero-merchant-logo {
    width: 22mm !important;
    height: 22mm !important;
    border-radius: 6mm !important;
    background: rgba(255,255,255,.17) !important;
    border: 1px solid rgba(255,255,255,.24) !important;
  }

  /* 第二页开始的正文 */
  .report-client-page .growth-overview,
  .report-client-page .client-panel,
  .report-client-page .panel {
    width: calc(210mm - 24mm) !important;
    margin: 10mm 12mm 7mm !important;
    padding: 7mm !important;
    border-radius: 6mm !important;
    background:
      linear-gradient(145deg,#ffffff 0%,#edf2ff 100%) !important;
    border: 1px solid #dbe2fa !important;
    box-shadow: none !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .report-client-page .growth-card,
  .report-client-page .metric-card,
  .report-client-page .platform-report-card,
  .report-client-page .report-mini-stats div {
    background:
      linear-gradient(145deg,#ffffff 0%,#edf2ff 100%) !important;
    border: 1px solid #dfe5fa !important;
    box-shadow: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .report-client-page .growth-card.up {
    background: linear-gradient(145deg,#f4fff9 0%,#edf4ff 100%) !important;
  }

  .report-client-page .growth-card.down {
    background: linear-gradient(145deg,#fff6f8 0%,#f1f2ff 100%) !important;
  }

  .report-client-page .panel:before,
  .report-client-page .client-panel:before {
    display: block !important;
    height: 1.2mm !important;
    background: linear-gradient(90deg,#4056F4,#7B61FF,#22A6F2) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .report-client-page .panel:after,
  .report-client-page .client-panel:after {
    display: none !important;
  }

  .report-client-page .report-charts-row {
    display: block !important;
  }

  .report-client-page .report-charts-row .panel {
    width: calc(210mm - 24mm) !important;
  }

  .report-client-page .svg-chart {
    background: #f4f7ff !important;
    border: 1px solid #dfe5fa !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .report-client-page .table-wrap {
    overflow: visible !important;
    background: #f8faff !important;
    border-color: #dfe5fa !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .report-client-page th {
    background: #eaf0ff !important;
    color: #42507b !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .report-client-page .report-footer {
    width: calc(210mm - 24mm) !important;
    margin: 10mm 12mm !important;
    padding: 7mm !important;
    color: #fff !important;
    background: linear-gradient(135deg,#17245f,#3449be,#684fe2) !important;
    border-radius: 6mm !important;
    box-shadow: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .report-client-page .report-footer * {
    color: #fff !important;
  }

  /* 避免链接地址自动打印在正文底部 */
  .report-client-page a[href]:after {
    content: none !important;
  }
}


/* v1.4.7 客户报告分享与浏览器原生PDF */
.report-share-actions{flex-wrap:wrap}
.report-share-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin:0 0 22px;
  padding:18px 22px;
  border:1px solid rgba(255,255,255,.92);
  border-radius:20px;
  background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(238,243,255,.86));
  box-shadow:0 16px 40px rgba(50,65,166,.10),inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.report-share-panel>div:first-child span{
  display:block;
  margin-bottom:5px;
  font-size:12px;
  color:#727b9b;
}
.report-share-panel>div:first-child strong{
  display:block;
  color:#151e49;
  font-size:15px;
}
.report-share-link{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:min(680px,60%);
}
.report-share-link input{
  min-width:300px;
  background:rgba(255,255,255,.82);
  border-color:rgba(91,99,211,.18);
  color:#4d587e;
}
@media(max-width:900px){
  .report-share-panel{align-items:stretch;flex-direction:column}
  .report-share-link{min-width:0;width:100%;flex-wrap:wrap}
  .report-share-link input{min-width:100%;flex:1}
}
@media print{
  .no-print,.report-share-panel,.report-share-actions{display:none!important}
}


/* =========================================================
   v1.4.8 横竖版PDF与封面重叠修复
   该段位于样式文件末尾，用于覆盖之前的打印规则。
   ========================================================= */

.print-cover-footer{display:none}

@media print{
  /* 统一清除浏览器响应式样式对打印封面的干扰 */
  html,body{
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    background:#edf2ff!important;
    -webkit-print-color-adjust:exact!important;
    print-color-adjust:exact!important;
  }

  .report-client-page{
    margin:0!important;
    padding:0!important;
    min-width:0!important;
    background:#edf2ff!important;
    -webkit-print-color-adjust:exact!important;
    print-color-adjust:exact!important;
  }

  .report-client-page.print-layout-portrait{
    --print-page-w:210mm;
    --print-page-h:297mm;
    --print-content-w:186mm;
    --print-side-margin:12mm;
  }

  .report-client-page.print-layout-landscape{
    --print-page-w:297mm;
    --print-page-h:210mm;
    --print-content-w:273mm;
    --print-side-margin:12mm;
  }

  .report-client-page .report-container{
    width:var(--print-page-w)!important;
    max-width:var(--print-page-w)!important;
    min-width:var(--print-page-w)!important;
    margin:0!important;
    padding:0!important;
    background:linear-gradient(180deg,#edf2ff 0%,#f7f9ff 48%,#edf2ff 100%)!important;
  }

  /* 第一页封面：完全独立，杜绝缩放和重叠 */
  .report-client-page .report-hero{
    position:relative!important;
    box-sizing:border-box!important;
    display:block!important;
    width:var(--print-page-w)!important;
    max-width:var(--print-page-w)!important;
    min-width:var(--print-page-w)!important;
    height:var(--print-page-h)!important;
    min-height:var(--print-page-h)!important;
    max-height:var(--print-page-h)!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    overflow:hidden!important;
    box-shadow:none!important;
    break-after:page!important;
    page-break-after:always!important;
    background:
      radial-gradient(circle at 83% 12%,rgba(255,255,255,.18),transparent 27%),
      radial-gradient(circle at 12% 88%,rgba(29,181,255,.13),transparent 33%),
      linear-gradient(128deg,#17288f 0%,#4056F4 48%,#7B61FF 100%)!important;
    color:#fff!important;
  }

  .report-client-page.print-layout-portrait .report-hero{
    padding:24mm 18mm 20mm!important;
  }

  .report-client-page.print-layout-landscape .report-hero{
    padding:17mm 22mm 15mm!important;
  }

  .report-client-page .report-hero-grid{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    opacity:.09!important;
    background-image:
      linear-gradient(rgba(255,255,255,.68) 1px,transparent 1px),
      linear-gradient(90deg,rgba(255,255,255,.68) 1px,transparent 1px)!important;
    background-size:38px 38px!important;
  }

  .report-client-page .report-hero-main{
    position:relative!important;
    z-index:2!important;
    display:block!important;
    width:100%!important;
    max-width:none!important;
    height:100%!important;
  }

  /* 覆盖移动端的纵向排列，固定LOGO和客户名为横向 */
  .report-client-page .hero-brand-row{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:6mm!important;
    width:100%!important;
  }

  .report-client-page .hero-merchant-logo{
    flex:0 0 auto!important;
    width:22mm!important;
    height:22mm!important;
    border-radius:6mm!important;
    margin:0!important;
    background:rgba(255,255,255,.16)!important;
    border:1px solid rgba(255,255,255,.28)!important;
  }

  .report-client-page .report-client-name{
    display:block!important;
    text-align:left!important;
  }

  .report-client-page .report-client-name span{
    display:block!important;
    margin:0 0 2mm!important;
    font-size:9.5pt!important;
    line-height:1.4!important;
    letter-spacing:.08em!important;
    color:rgba(255,255,255,.82)!important;
  }

  .report-client-page .report-client-name h1{
    margin:0!important;
    font-size:25pt!important;
    line-height:1.25!important;
    color:#fff!important;
  }

  .report-client-page .report-title-block{
    position:static!important;
    display:block!important;
    width:100%!important;
    margin-left:0!important;
    text-align:left!important;
  }

  .report-client-page.print-layout-portrait .report-title-block{
    margin-top:27mm!important;
  }

  .report-client-page.print-layout-landscape .report-title-block{
    margin-top:15mm!important;
  }

  .report-client-page .report-kind-badge{
    display:inline-flex!important;
    margin:0!important;
    padding:2.5mm 5mm!important;
    font-size:10pt!important;
    line-height:1!important;
    color:#fff!important;
    background:rgba(255,255,255,.15)!important;
    border:1px solid rgba(255,255,255,.34)!important;
  }

  .report-client-page .report-title-block h2{
    position:static!important;
    display:block!important;
    margin:8mm 0 5mm!important;
    padding:0!important;
    color:#fff!important;
    line-height:1.22!important;
    letter-spacing:-.5pt!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  .report-client-page.print-layout-portrait .report-title-block h2{
    max-width:170mm!important;
    font-size:30pt!important;
  }

  .report-client-page.print-layout-landscape .report-title-block h2{
    max-width:245mm!important;
    font-size:29pt!important;
  }

  .report-client-page .report-date-range{
    display:block!important;
    margin:0 0 5mm!important;
    font-size:13pt!important;
    line-height:1.5!important;
    color:#fff!important;
  }

  .report-client-page .report-summary{
    display:block!important;
    margin:0!important;
    max-width:170mm!important;
    font-size:9.5pt!important;
    line-height:1.8!important;
    color:rgba(255,255,255,.84)!important;
  }

  .report-client-page.print-layout-landscape .report-summary{
    max-width:220mm!important;
  }

  /* PDF中隐藏网页标签，避免压到标题上 */
  .report-client-page .report-hero .hero-tags{
    display:none!important;
  }

  .report-client-page .report-hero-side{
    display:none!important;
  }

  .report-client-page .print-cover-footer{
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:space-between!important;
    gap:10mm!important;
    padding-top:6mm!important;
    border-top:1px solid rgba(255,255,255,.24)!important;
    color:#fff!important;
  }

  .report-client-page .print-cover-footer>div{
    display:flex!important;
    flex-direction:column!important;
    gap:1.5mm!important;
  }

  .report-client-page .print-cover-footer>div:last-child{
    text-align:right!important;
  }

  .report-client-page .print-cover-footer strong{
    font-size:10pt!important;
    line-height:1.4!important;
    color:#fff!important;
  }

  .report-client-page .print-cover-footer span{
    font-size:8pt!important;
    line-height:1.4!important;
    color:rgba(255,255,255,.76)!important;
  }

  /* 正文统一宽度 */
  .report-client-page .growth-overview,
  .report-client-page .client-panel,
  .report-client-page .panel{
    box-sizing:border-box!important;
    width:var(--print-content-w)!important;
    max-width:var(--print-content-w)!important;
    margin:8mm var(--print-side-margin) 6mm!important;
    padding:6mm!important;
    border-radius:5mm!important;
    background:linear-gradient(145deg,#ffffff 0%,#edf2ff 100%)!important;
    border:1px solid #dce3fb!important;
    box-shadow:none!important;
    overflow:hidden!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }

  .report-client-page .panel:after,
  .report-client-page .client-panel:after{
    display:none!important;
  }

  .report-client-page .panel-head{
    padding-bottom:4mm!important;
    margin-bottom:5mm!important;
  }

  .report-client-page .panel-head h2{
    font-size:14pt!important;
  }

  .report-client-page .panel-head p{
    font-size:8.5pt!important;
  }

  /* 竖版：卡片2列；横版：卡片4列 */
  .report-client-page.print-layout-portrait .growth-grid,
  .report-client-page.print-layout-portrait .metric-grid.four{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:4mm!important;
  }

  .report-client-page.print-layout-landscape .growth-grid,
  .report-client-page.print-layout-landscape .metric-grid.four{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4mm!important;
  }

  .report-client-page .growth-card,
  .report-client-page .metric-card{
    min-width:0!important;
    min-height:35mm!important;
    padding:5mm!important;
    box-shadow:none!important;
  }

  .report-client-page .growth-card>strong,
  .report-client-page .metric-card strong{
    font-size:22pt!important;
  }

  /* 趋势图与辅助指标 */
  .report-client-page.print-layout-portrait .report-charts-row{
    display:block!important;
  }

  .report-client-page.print-layout-landscape .report-charts-row{
    display:grid!important;
    grid-template-columns:1.55fr .85fr!important;
    gap:0!important;
    width:var(--print-page-w)!important;
  }

  .report-client-page.print-layout-landscape .report-charts-row .panel:first-child{
    width:176mm!important;
    margin-right:4mm!important;
  }

  .report-client-page.print-layout-landscape .report-charts-row .panel:last-child{
    width:93mm!important;
    margin-left:0!important;
  }

  .report-client-page .svg-chart{
    height:72mm!important;
    padding:4mm!important;
    background:#f5f7ff!important;
  }

  /* AI平台卡片 */
  .report-client-page.print-layout-portrait .platform-report-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:4mm!important;
  }

  .report-client-page.print-layout-landscape .platform-report-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4mm!important;
  }

  .report-client-page .platform-report-card{
    min-width:0!important;
    padding:4mm!important;
    box-shadow:none!important;
  }

  /* 表格 */
  .report-client-page .table-wrap{
    overflow:visible!important;
  }

  .report-client-page table{
    table-layout:fixed!important;
    white-space:normal!important;
  }

  .report-client-page th,
  .report-client-page td{
    padding:2.6mm 2mm!important;
    font-size:7.5pt!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  /* 页脚改为浅色，避免浏览器关闭背景图形后白字消失 */
  .report-client-page .report-footer{
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8mm!important;
    width:var(--print-content-w)!important;
    margin:8mm var(--print-side-margin)!important;
    padding:5mm 6mm!important;
    color:#17245f!important;
    background:linear-gradient(135deg,#e9efff,#f5f7ff)!important;
    border:1px solid #cfd9fb!important;
    border-radius:5mm!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }

  .report-client-page .report-footer:after{
    display:none!important;
  }

  .report-client-page .report-footer strong,
  .report-client-page .report-footer p,
  .report-client-page .report-footer span,
  .report-client-page .report-footer a{
    color:#17245f!important;
    text-shadow:none!important;
  }

  .report-client-page .report-footer p{
    margin:1mm 0 0!important;
    line-height:1.5!important;
  }

  .report-client-page .report-footer .footer-links{
    flex:0 0 auto!important;
    text-align:right!important;
  }

  .report-client-page a[href]:after{
    content:none!important;
  }

  .no-print,
  .report-share-panel,
  .report-share-actions{
    display:none!important;
  }
}


/* =========================================================
   v1.4.9 云皓品牌标题清晰度修复
   ========================================================= */

.report-client-name .report-brand-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:7px;
  line-height:1.25;
  opacity:1;
}

.report-client-name .report-brand-title strong{
  display:block;
  color:#fff;
  font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif;
  font-size:14px;
  font-weight:800;
  letter-spacing:.02em;
  line-height:1.3;
  opacity:1;
  text-shadow:none;
}

.report-client-name .report-brand-title span{
  display:inline-flex;
  align-items:center;
  padding-left:10px;
  border-left:1px solid rgba(255,255,255,.42);
  color:rgba(255,255,255,.95);
  font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif;
  font-size:12px;
  font-weight:600;
  letter-spacing:.02em;
  line-height:1.3;
  opacity:1;
  text-shadow:none;
}

.report-client-name h1{
  margin-top:0!important;
}

@media(max-width:820px){
  .report-client-name .report-brand-title{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }

  .report-client-name .report-brand-title span{
    padding-left:0;
    border-left:0;
  }
}

@media print{
  .report-client-page .report-client-name .report-brand-title{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:3.5mm!important;
    margin:0 0 2.5mm!important;
    opacity:1!important;
  }

  .report-client-page .report-client-name .report-brand-title strong{
    display:block!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif!important;
    font-size:11pt!important;
    font-weight:800!important;
    letter-spacing:.01em!important;
    line-height:1.25!important;
    opacity:1!important;
    text-shadow:none!important;
    -webkit-font-smoothing:antialiased!important;
  }

  .report-client-page .report-client-name .report-brand-title span{
    display:block!important;
    margin:0!important;
    padding:0 0 0 3.5mm!important;
    border-left:0.4mm solid rgba(255,255,255,.55)!important;
    color:#fff!important;
    font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif!important;
    font-size:9.5pt!important;
    font-weight:700!important;
    letter-spacing:.01em!important;
    line-height:1.25!important;
    opacity:1!important;
    text-shadow:none!important;
    -webkit-font-smoothing:antialiased!important;
  }

  .report-client-page .report-client-name h1{
    margin:0!important;
  }

  .report-client-page.print-layout-landscape .report-client-name .report-brand-title strong{
    font-size:11.5pt!important;
  }

  .report-client-page.print-layout-landscape .report-client-name .report-brand-title span{
    font-size:10pt!important;
  }
}


/* v1.5.0 三项辅助指标与平台自动汇总提示 */
.report-mini-stats.three-stats div:last-child{
  grid-column:1/-1;
}
.report-save-form label small{
  display:block;
  margin-top:5px;
  color:#7b8298;
  font-size:11px;
  font-weight:400;
  line-height:1.45;
}
@media print{
  .report-client-page .report-mini-stats.three-stats div:last-child{
    grid-column:1/-1!important;
  }
}
