#mc-root{--mc-ink:#0f172a;--mc-muted:#607086;--mc-blue:#2f6fff;--mc-green:#1f9254;--mc-line:#dbe5f2;color:var(--mc-ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}#mc-root [hidden]{display:none!important}.mc-header,.mc-list-heading,.mc-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.mc-header h2{margin:0;font-size:27px}.mc-header p,.mc-note,.mc-comparison p{color:#607086}.mc-admin{font-size:12px;color:#2f6fff;white-space:nowrap}.mc-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:18px 0}.mc-controls label{display:grid;gap:6px;font-size:12px;color:#607086}.mc-controls input,.mc-controls select{min-height:38px;padding:7px 10px;border:1px solid #c5d5ea;border-radius:7px;max-width:230px;color:#0f172a;background:#fff}.mc-controls #mc-status{font-size:12px;align-self:center;flex:1;min-width:180px}.mc-summary{display:grid;grid-template-columns:1fr 1fr 1.5fr;background:#fff;border:1px solid #dbe5f2;border-top:3px solid #2f6fff;border-radius:9px;margin:24px 0 16px}.mc-summary>div{padding:23px;border-right:1px solid #e2eaf4;display:grid;gap:8px}.mc-summary>div:last-child{border:0}.mc-summary span,.mc-summary small{color:#607086;font-size:12px}.mc-summary strong{font-size:29px;font-weight:650;font-variant-numeric:tabular-nums}.mc-summary em{font-size:14px;font-style:normal;margin-left:6px}.mc-funnel{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin:24px 0 14px}.mc-funnel>div{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:13px}.mc-funnel i{display:block;grid-column:1/-1;height:5px;background:linear-gradient(to right,#2f6fff var(--mc-width),#e5edf8 var(--mc-width));border-radius:3px}.mc-note{font-size:12px;line-height:1.7}.mc-list-heading{margin:26px 0 10px}.mc-list-heading h3{font-size:18px;margin:0}.mc-list-heading span{font-size:12px;color:#607086}.mc-row{background:white;border-top:1px solid #dbe5f2;padding:20px 12px;display:grid;grid-template-columns:minmax(260px,1fr) minmax(400px,1.6fr);gap:16px 25px}.mc-row:last-child{border-bottom:1px solid #dbe5f2}.mc-material{display:flex;gap:14px;min-width:0}.mc-material h4{margin:0 0 6px;font-size:15px;overflow-wrap:anywhere}.mc-material p{margin:0 0 9px;color:#607086;font-size:12px;line-height:1.7}.mc-preview{flex:0 0 90px;position:relative;min-height:100px;width:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #dbe5f2;border-radius:7px;background:#f2f6fc;color:#2f6fff;cursor:pointer;overflow:hidden}.mc-preview img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.mc-preview:has(img) span,.mc-preview:has(img) small{display:none}.mc-preview small{font-size:11px;color:#607086}.mc-signal{font-size:11px;color:#607086;background:#f0f4fa;padding:4px 8px;border-radius:4px;display:inline-block}.mc-signal.good{color:#126e3b;background:#e8f6ee}.mc-signal.review{color:#9b5606;background:#fff1dd}.mc-measures{display:grid;grid-template-columns:1fr 1.4fr 1.4fr 1.4fr;gap:14px;align-items:center}.mc-measures>div{display:grid;gap:8px}.mc-measures small{color:#607086;font-size:11px}.mc-measures b{font-size:16px;font-variant-numeric:tabular-nums}.mc-measures .mc-money{color:#126e3b;font-size:20px}.mc-comparison{font-size:12px;padding-left:104px}.mc-comparison p{margin:0 0 5px}.mc-comparison small{color:#607086;font-size:11px}.mc-row>button{justify-self:end;align-self:center}.mc-pager{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin:20px 0;font-size:12px}.mc-method{font-size:12px;line-height:1.8;color:#607086;background:#f5f8fc;padding:14px;border-radius:7px}.mc-method summary{cursor:pointer;color:#385777}.mc-empty{padding:35px;text-align:center;color:#607086}.mc-dialog{width:min(900px,calc(100vw - 32px));max-height:85vh;box-sizing:border-box;overflow:auto;border:1px solid #dbe5f2;border-radius:12px;padding:24px;color:#0f172a}.mc-dialog::backdrop{background:rgba(15,23,42,.35)}.mc-dialog p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.mc-dialog h3{margin:0;font-size:19px}.mc-order{background:#eaf6ef;padding:12px;border-left:3px solid #1f9254}.mc-inferred{background:#fff4df;border-color:#c77b16}.mc-leads article{border-top:1px solid #e2eaf4;padding:14px 0}.mc-leads p{margin:6px 0}.mc-leads small{color:#607086}.mc-lead{border:0;background:none;padding:0;color:#2f6fff;cursor:pointer}#mc-root button:focus-visible,.mc-dialog button:focus-visible{outline:3px solid #95b4ff;outline-offset:3px}@media(max-width:1100px){.mc-row{grid-template-columns:1fr}.mc-measures{padding-left:104px}.mc-row>button{grid-column:1}.mc-summary strong{font-size:25px}}@media(max-width:600px){.mc-header{align-items:start;flex-direction:column;gap:4px}.mc-controls label{flex:1 1 42%;min-width:0}.mc-controls input,.mc-controls select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.mc-summary{grid-template-columns:1fr}.mc-summary>div{padding:16px;border-right:0;border-bottom:1px solid #dbe5f2}.mc-funnel{gap:8px}.mc-funnel>div{grid-template-columns:1fr;font-size:11px}.mc-funnel b{font-size:18px}.mc-row{padding:17px 0}.mc-measures{padding-left:0;grid-template-columns:1fr 1fr;gap:17px}.mc-comparison{padding-left:0}.mc-list-heading{align-items:start;flex-direction:column;gap:5px}.mc-dialog{padding:16px}.mc-dialog-heading{align-items:start}.mc-row>button{width:100%}}
/* v2: 内容分析归因 */
#mc-root .da-kpis{margin-top:6px}
#mc-root .mc-table td:first-child{max-width:260px}#mc-root .mc-sort{appearance:none;border:0;background:none;padding:0;margin:0;font:inherit;font-weight:600;color:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}#mc-root .mc-sort i{font-style:normal;font-size:11px;color:#9db1cf}#mc-root .mc-sort:hover,#mc-root .mc-sort:focus-visible{color:#1d4ed8;text-decoration:underline}#mc-root .mc-sort.on,#mc-root .mc-sort.on i{color:#1d4ed8}
#mc-root .mc-kind-unidentified td,#mc-root .mc-kind-unallocated td{background:#fbfcfe}
#mc-dialog .mc-leads{display:grid;gap:8px}
#mc-dialog .mc-leads article{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;border:1px solid #e2eaf4;border-radius:7px;flex-wrap:wrap}
#mc-dialog .mc-leads article small{display:block;color:#607086;font-size:12px}
#mc-dialog .mc-leads article.mc-done{background:#eefaf3;border-color:#bfe6cf}
#mc-dialog .mc-tag{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
#mc-dialog .mc-tag select{max-width:300px;min-height:32px;border:1px solid #c5d5ea;border-radius:6px;padding:4px 6px}
#mc-dialog .mc-order{font-size:13px;line-height:1.7;margin:6px 0;padding:6px 10px;background:#f7f9fc;border-radius:6px}
#mc-dialog h4{margin:16px 0 8px;font-size:14px}
#mc-root .da-table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}
#mc-root .da-table th{background:#eef4ff;color:#415b83;text-align:left;font-weight:600;padding:12px 12px}
#mc-root .da-table td{padding:11px 12px;border-bottom:1px solid #eaf0f8;vertical-align:top;font-variant-numeric:tabular-nums}
#mc-root .da-table tbody tr:hover{background:#f7faff}
#mc-root .da-table-wrap{overflow-x:auto;background:#fff;border:1px solid #d7e2f2;border-radius:10px}
#mc-root .da-panel .da-table-wrap{border:0;border-radius:0}
#mc-root .da-table .da-note{max-width:250px}

/* 投放角色：不能补标 */
#mc-dialog.xa-delivery .mc-tag select,#mc-dialog.xa-delivery [data-mc-save],#mc-dialog.xa-delivery [data-mc-revoke]{display:none!important}
