/* Professional data-density pass: larger type, restrained charts, flatter surfaces. */
:root{--bg:#f5f6f8;--line:#dfe3e8;--blue:#2563eb;--green:#0f766e;--coral:#d9485f;--sidebar:252px}
body{color:#111827;font-size:16px}.page{max-width:1800px;padding:30px 34px 60px}.topbar{height:78px;padding:0 34px}.topbar-left p{font-size:12px}.topbar-left h2{font-size:17px}.nav-group-title{font-size:12px}.nav-item{height:44px;font-size:13px}.sidebar-user strong{font-size:12px}.sidebar-user span{font-size:12px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:28px;letter-spacing:-.7px}.page-heading p{font-size:13px;line-height:1.6}.button{height:39px;font-size:12px}.global-filters{padding:12px 14px;border-radius:8px;margin-bottom:16px}.filter-segment button,.select,.updated-at{font-size:12px}.select{height:38px}.kpi-grid{gap:14px;margin-bottom:14px}.kpi-card{border-radius:8px;padding:18px;box-shadow:none}.kpi-head{font-size:12px}.kpi-value{font-size:30px}.kpi-foot{font-size:12px}.kpi-icon{border-radius:6px}.spark{height:18px}.spark .area{display:none}.spark path{stroke-width:1.5!important}.panel{border-radius:8px;box-shadow:none}.panel-head{padding:20px 20px 0}.panel-head h3{font-size:16px}.panel-head p{font-size:12px;line-height:1.5}.legend,.text-action{font-size:12px}.chart{height:290px;padding:18px 16px 14px}.chart.small{height:235px}.chart text{font-size:12px;fill:#64748b}.chart .grid-line{stroke:#e5e7eb;stroke-dasharray:none}.chart .axis{stroke:#cbd5e1}.chart .line{stroke-width:2.2;vector-effect:non-scaling-stroke}.chart .bar{opacity:.76;shape-rendering:crispEdges}.chart .bar:hover{opacity:1}.chart .end-point{stroke:#fff;stroke-width:1.5;vector-effect:non-scaling-stroke}.metric-strip{margin-top:14px}.strip-item{padding:15px 18px}.strip-item span{font-size:12px}.strip-item strong{font-size:18px}.strip-item em{font-size:12px}.funnel{padding:23px 20px}.funnel-step{border-radius:5px;padding:17px 11px}.funnel-step span{font-size:12px}.funnel-step strong{font-size:19px}.funnel-step em{font-size:12px}.donut-center span,.donut-legend span{font-size:12px}.alerts{padding:12px 20px 19px}.alert-row strong{font-size:12px}.alert-row p{font-size:12px}.alert-row time{font-size:12px}.toolbar{padding:13px 14px}.search-field input{font-size:12px}.toolbar-count{font-size:12px}.data-table th{height:43px;font-size:12px;padding:0 16px}.data-table td{height:59px;font-size:12px;padding:0 16px}.cell-main{font-size:12px}.cell-sub{font-size:12px}.status{font-size:12px}.pagination{font-size:12px}.mini-kpi{padding:17px;border-radius:8px}.mini-kpi span{font-size:12px}.mini-kpi strong{font-size:25px}.mini-kpi em{font-size:12px}.rank-row{font-size:12px;padding:11px 0}.progress{height:4px}.progress i{background:#475569}.retention th,.retention td{font-size:12px}.plan-card{border-radius:8px;padding:20px}.plan-name{font-size:16px}.plan-code{font-size:12px}.plan-price{font-size:28px}.plan-price small{font-size:12px}.intro-price{min-height:34px;margin:-8px 0 14px;padding:8px 10px;border-left:2px solid #94a3b8;background:#f8fafc;color:#475569;font-size:12px}.plan-meta{grid-template-columns:repeat(2,1fr);gap:7px}.plan-meta div{border-radius:5px;padding:9px}.plan-meta span{font-size:12px}.plan-meta strong{font-size:12px}.plan-features span{font-size:12px;line-height:1.55}.rule-banner{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;margin-bottom:14px;padding:15px 18px;border:1px solid #cbd5e1;border-left:3px solid #334155;background:#fff;border-radius:6px}.rule-banner strong{font-size:12px}.rule-banner span{font-size:12px;color:#475569}.rule-banner em{font-size:12px;color:#64748b;font-style:normal}.membership-bottom{margin-top:14px}.policy-list{padding:15px 20px 20px}.policy-list>div{display:grid;grid-template-columns:90px 1fr;gap:12px;padding:13px 0;border-bottom:1px solid #e5e7eb}.policy-list>div:last-child{border-bottom:0}.policy-list b{font-size:12px}.policy-list span{font-size:12px;color:#64748b;line-height:1.6}.policy-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.policy-grid article{display:flex;gap:13px;padding:16px;border:1px solid var(--line);border-radius:7px;background:#fff}.policy-grid article>span{font-size:12px;font-weight:700;color:#64748b}.policy-grid strong{display:block;font-size:13px}.policy-grid p{margin:6px 0 0;font-size:12px;color:#64748b;line-height:1.6}.detail-tabs button{font-size:12px}.detail-section h4{font-size:14px}.detail-field span,.timeline-item span,.issue-card p,.suggestion{font-size:12px}.detail-field strong,.timeline-item strong,.issue-card-head b{font-size:12px}
@media(max-width:1280px){.policy-grid{grid-template-columns:1fr 1fr}.plan-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.page{padding:20px 14px 44px}.page-heading h1{font-size:23px}.policy-grid,.plan-grid{grid-template-columns:1fr}.rule-banner{grid-template-columns:1fr}.data-table th,.data-table td{font-size:12px}}

/* Crisp enterprise charts and native Chinese typography. */
html,body,button,input,select,textarea{font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC","Noto Sans CJK SC","Segoe UI",Arial,sans-serif!important}
.chart,.chart.small{display:flex;flex-direction:column;gap:8px;height:auto!important;aspect-ratio:auto!important;padding:12px 18px 14px;overflow:visible}
.chart .business-chart,.chart.small .business-chart{display:block;width:100%;height:auto!important;aspect-ratio:1000/248;flex:none;overflow:visible;shape-rendering:geometricPrecision;text-rendering:geometricPrecision}
.chart.small .business-chart{aspect-ratio:1000/210}
.chart .business-chart *{vector-effect:non-scaling-stroke}
.chart text,.chart .axis-label{font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC","Segoe UI",Arial,sans-serif!important;font-size:12px!important;font-weight:400!important;fill:#667085!important;stroke:none!important;paint-order:normal!important}
.chart .grid-line{stroke:#eef1f4!important;stroke-width:1!important;stroke-dasharray:none!important}
.chart .axis{stroke:#e6eaef!important;stroke-width:1!important}
.chart .line{fill:none!important;stroke-width:2.25!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.chart .chart-area{stroke:none!important;opacity:1!important}
.chart .bar{stroke:none!important;opacity:.72!important;shape-rendering:geometricPrecision}
.chart-legend,.donut-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 16px;margin:0;color:#667085;font-size:12px}
.chart-legend span,.donut-legend span{display:inline-flex;align-items:center;gap:6px}
.funnel-step em{display:none}
.funnel:has(+ .metric-strip){padding-bottom:8px}
.funnel+.metric-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:0 20px 18px;padding:0;border-top:0}
.funnel+.metric-strip .strip-item{border:0;margin:0;padding:2px 8px 0;text-align:center}
.metric-strip.retention-strip{grid-template-columns:repeat(3,1fr)}
.chart-legend i{width:16px;height:3px;border-radius:2px;flex:none}
.donut-legend i{width:8px;height:8px;border-radius:50%;flex:none}
.mini-kpi{position:relative;padding-left:16px}
.mini-kpi:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:3px;background:var(--accent,#2563eb)}
.kpi-icon{box-shadow:inset 0 0 0 1px rgba(255,255,255,.65)}
.nav-item svg,.button svg,.kpi-icon svg,.icon-button svg,.top-action svg{stroke-width:1.8}
.chart .bar:hover{opacity:1!important}
.chart .end-point{vector-effect:non-scaling-stroke}
.chart-plot{position:relative}
.chart-tooltip{position:absolute;z-index:5;display:none;min-width:132px;padding:8px 10px;border:1px solid #e6eaef;border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(17,24,39,.12);color:#111827;font-size:12px;line-height:1.45;pointer-events:none}
.chart-tooltip.show{display:block}
.chart-tooltip strong{display:block;margin-bottom:4px;font-weight:600}
.chart-tooltip span{display:flex;align-items:center;gap:6px;color:#667085;white-space:nowrap}
.chart-tooltip b{margin-left:12px;color:#111827;font-weight:600}
.chart-tooltip i{width:8px;height:8px;border-radius:50%;flex:none}
.chart .chart-guide{stroke:#98a2b3;stroke-width:1;stroke-dasharray:3 3}
.chart .hover-point{vector-effect:non-scaling-stroke}
.legend{font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC","Segoe UI",Arial,sans-serif}
@media(max-width:900px){.chart .business-chart,.chart.small .business-chart{aspect-ratio:16/9}.chart text,.chart .axis-label{font-size:12px!important}}

/* Accessibility floor: semantic small text must never fall below the 12px product baseline. */
small{font-size:12px!important}

/* Command palette: structured quick navigation instead of an intrinsic-width button stack. */
.command{padding:8vh 20px 24px;background:rgba(15,23,42,.48);backdrop-filter:blur(4px)}
.command-box{width:min(760px,100%);max-height:84vh;display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.42);border-radius:14px;box-shadow:0 28px 90px rgba(15,23,42,.28);overflow:hidden}
.command-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 14px;background:#fff}
.command-head>div{display:flex;flex-direction:column;gap:4px}
.command-head span{color:#98a2b3;font-size:12px;font-weight:700;letter-spacing:1.4px}
.command-head strong{font-size:20px;line-height:1.25;color:#101828}
.command-head button{width:34px;height:34px;border:1px solid #e4e7ec;border-radius:8px;background:#fff;color:#667085;font-size:20px;line-height:1;cursor:pointer}
.command-head button:hover{border-color:#cfd4dc;background:#f9fafb;color:#101828}
.command-input{height:52px;margin:0 20px 16px;padding:0 14px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.command-input:focus-within{border-color:#667085;box-shadow:0 0 0 3px rgba(52,64,84,.08)}
.command-input input{font-size:14px!important;color:#101828}
.command-input input::placeholder{color:#98a2b3}
.command-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;padding:2px 20px 18px;overflow-y:auto;background:#fff}
.command-group{min-width:0;padding:10px;border:1px solid #e4e7ec;border-radius:10px;background:#f9fafb}
.command-group-head{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 8px}
.command-group-head span{font-size:13px;font-weight:700;color:#344054}
.command-group-head em{font-size:12px;font-style:normal;color:#98a2b3}
.command-group-list{display:flex;flex-direction:column;gap:4px}
.command-result{width:100%;min-height:42px;display:grid;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:8px;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:#344054;text-align:left;cursor:pointer;box-shadow:none}
.command-result:hover,.command-result:focus-visible{outline:0;background:#fff;color:#101828;box-shadow:0 1px 3px rgba(16,24,40,.08)}
.command-result svg{width:17px;height:17px;padding:6px;border-radius:7px;background:#eef2f6;color:#475467;box-sizing:content-box}
.command-result span{min-width:0;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.command-result i{font-size:14px;font-style:normal;color:#98a2b3;text-align:right}
.command-result:hover i{color:#344054;transform:translateX(2px)}
.command-foot{display:flex;align-items:center;justify-content:space-between;padding:11px 20px;border-top:1px solid #e4e7ec;background:#f9fafb;color:#667085}
.command-foot kbd{display:inline-grid;place-items:center;min-width:28px;height:24px;padding:0 6px;border:1px solid #d0d5dd;border-bottom-width:2px;border-radius:5px;background:#fff;color:#475467;font-family:inherit;font-size:12px}
@media(max-width:720px){.command{padding:24px 12px}.command-box{max-height:calc(100vh - 48px)}.command-results{grid-template-columns:1fr}.command-head,.command-results{padding-left:14px;padding-right:14px}.command-input{margin-left:14px;margin-right:14px}.command-foot{padding-left:14px;padding-right:14px}}

/* The corner disc was painted over the KPI glyph, so only a fragment of the icon showed. */
.kpi-card:after{content:none}
.kpi-head{align-items:center;gap:8px}
.kpi-head>span:first-child{min-width:0;line-height:1.35}
.kpi-icon{width:28px;height:28px;border-radius:8px;flex:0 0 28px}
.kpi-icon svg{width:15px;height:15px;display:block}
.table-scroll.fit{overflow-x:hidden}
.table-scroll.fit .data-table{table-layout:fixed}
.table-scroll.fit .data-table th,.table-scroll.fit .data-table td{overflow:hidden;text-overflow:ellipsis}
.table-scroll.fit .cell-clip .cell-main,.table-scroll.fit .cell-clip .cell-sub{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.table-scroll.fit td.row-actions,.table-scroll.fit td.op-cell{overflow:visible;text-overflow:clip}
.table-scroll.fit td.row-actions{text-align:right}
.op-cell .retry-link{padding-left:0}
.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:2px}
.retry-link{border:0;background:transparent;color:#dc2626;font-size:12px;padding:0 4px;cursor:pointer}
.retry-link:disabled{color:#9999a3;cursor:default}
.timeline.ok:before{background:#86efac}
.timeline.ok .timeline-item:before{background:#16a34a;box-shadow:0 0 0 1px #86efac}
.timeline.bad:before{background:#fecaca}
.timeline.bad .timeline-item:before{background:#dc2626;box-shadow:0 0 0 1px #fecaca}
.clip-stage{display:grid;grid-template-columns:220px minmax(0,1fr);gap:14px;align-items:stretch}
.clip-video,.clip-empty{width:100%;height:420px;border-radius:8px;background:#111827}
.clip-video{object-fit:contain}
.clip-empty{display:flex;align-items:center;justify-content:center;color:#cbd5e1;font-size:12px}
.cue-panel{display:flex;flex-direction:column;min-width:0;height:420px;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}
.cue-head{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid var(--line);color:#64748b;font-size:12px}
.cue-head em{font-style:normal}
.cue-list{overflow:auto}
.cue-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;width:100%;padding:10px 12px;border:0;border-bottom:1px solid #eef1f4;background:#fff;text-align:left;cursor:pointer}
.cue-row.on{background:#eef3ff}
.cue-meta{display:flex;flex-direction:column;gap:3px}
.cue-meta b{color:#2563eb;font-size:11px;font-weight:650}
.cue-meta i{color:#94a3b8;font-size:11px;font-style:normal}
.cue-text{color:#111827;font-size:13px;line-height:1.55}
.report-conclusion{margin-top:12px;padding:12px 14px;border-radius:6px;border-left:3px solid #2563eb;background:#f8fafc}
.report-conclusion b{display:block;font-size:13px}
.report-conclusion p{margin:6px 0 0;color:#475569;font-size:12px;line-height:1.6}
.report-ledger{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.report-ledger span{display:inline-flex;gap:6px;padding:6px 8px;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:12px;color:#475569}
.report-ledger b{color:#111827;font-weight:650}
.rubric{margin-top:10px;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.rubric-head{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:#f8fafc;font-size:13px}
.rubric-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:start;padding:10px 12px;border-top:1px solid #eef1f4}
.rubric-item strong{font-size:12px}
.rubric-item p{margin:4px 0 0;color:#64748b;font-size:12px;line-height:1.5}
.rubric-item em,.rubric-item i{font-style:normal;font-size:12px;white-space:nowrap}
.rubric-item .pass{color:#0f766e}
.rubric-item .warn{color:#d9485f}
.kpi-foot{flex-direction:column;align-items:flex-start;gap:2px}
.kpi-foot>span{max-width:100%;line-height:1.45}
.kpi-foot .delta,.mini-kpi em .delta{margin-right:4px;white-space:nowrap}
.kpi-foot .delta.up,.mini-kpi em .delta.up{color:var(--green)}
.kpi-foot .delta.negative,.mini-kpi em .delta.negative{color:var(--red)}
.kpi-foot .delta.flat,.mini-kpi em .delta.flat{color:#8b909a}
@media(max-width:760px){.clip-stage{grid-template-columns:1fr}.clip-video,.clip-empty,.cue-panel{height:320px}}

