/* Campaign-first reports: compact controls, one question per view. */
.marketing-workspace{max-width:1180px;margin-inline:auto}.report-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:4px}.report-period{display:flex;border:1px solid #dbe3ef;border-radius:10px;padding:3px;background:#fff}.report-period button{border:0;background:none;color:#52657d;padding:8px 13px;min-height:38px;border-radius:7px;font-size:12px;font-weight:600}.report-period button[aria-pressed=true]{background:#eaf1ff;color:#2157c5}.report-period button[aria-expanded=true]{background:#f0f4fa}.report-period-label{font-size:12px;color:#60718a}.report-toolbar>#marketing-refresh{margin-left:auto}.report-toolbar #marketing-custom{display:flex;align-items:end;gap:12px;width:100%;padding:14px;border:1px solid #dbe3ef;border-radius:10px;background:#fff}.report-toolbar input{font-size:14px;margin-top:4px}.report-feedback{font-size:11px;min-height:20px;margin:4px 0 18px;color:#64758c}.report-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.report-section-heading p{font-size:12px}.report-section-heading h2{font-size:20px}.report-campaign-list{display:grid;gap:10px}.report-campaign{width:100%;display:flex;align-items:center;gap:16px;padding:20px;background:#fff;border:1px solid #dde5ef;border-radius:13px;text-align:left;color:var(--ink);transition:border-color .12s,box-shadow .12s}.report-campaign:hover{border-color:#91aee9;box-shadow:0 3px 12px #254a8610}.report-link-icon{width:42px;height:42px;display:grid;place-items:center;background:#edf3ff;color:#3167e3;border-radius:12px;font-size:22px;flex-shrink:0}.report-campaign-name{flex:1;min-width:0}.report-campaign-name>strong{display:block;font-size:15px;overflow-wrap:anywhere}.report-campaign-name>small{display:block;font-size:11px;color:#64758c;margin-top:4px}.report-campaign-metrics{display:flex;gap:28px}.report-campaign-metrics>span{min-width:50px;text-align:right}.report-campaign-metrics strong{display:block;font-size:21px;font-variant-numeric:tabular-nums}.report-campaign-metrics small{display:block;font-size:10px;color:#61748f}.report-row-arrow{color:#6c83a4;font-size:21px;margin-left:8px}.report-other{margin-top:24px;border-top:1px solid #e1e7f1;padding-top:8px}.report-other>summary,.report-method>summary,.report-data>summary{cursor:pointer;min-height:44px;display:list-item;padding:12px 0;color:#526a8b;font-size:12px;font-weight:600}.report-source-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}.report-source-buttons button{font-size:11px}.report-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 22px}.report-detail-heading h2{font-size:28px;letter-spacing:-.04em;margin-top:3px;overflow-wrap:anywhere}.report-detail-heading p{font-size:11px;overflow-wrap:anywhere}.report-eyebrow{font-size:10px;color:#546c8d;letter-spacing:.07em;text-transform:uppercase}.report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #dfe6f0;border-radius:13px;margin-bottom:24px;padding:18px 0}.report-summary .marketing-stat{background:none;border:0;border-right:1px solid #e5ebf3;border-radius:0;padding:0 22px}.report-summary .marketing-stat:last-child{border:0}.report-summary .marketing-stat>span{font-size:11px;color:#596f8c}.report-summary .marketing-stat>strong{font-size:30px;line-height:1.3;color:#203450;margin:6px 0}.report-summary .marketing-stat>small{font-size:10px;color:#65768e}.report-tabs{display:flex;gap:24px;border-bottom:1px solid #dce4f0;margin-bottom:22px}.report-tabs button{display:flex;align-items:center;gap:8px;min-height:48px;font-size:11px;border:0;border-bottom:3px solid transparent;background:none;color:#64758c;padding:8px 0 13px;border-radius:0}.report-tabs button span{font-size:13px;font-weight:600}.report-tabs button[aria-selected=true]{color:#245bd0;border-bottom-color:#3167e3}.report-panel{padding:22px 24px;background:#fff;border:1px solid #dfe6f0;border-radius:13px;margin-bottom:18px}.report-panel h3{font-size:16px}.report-chart-total{display:flex;align-items:baseline;gap:6px;color:#62758f;white-space:nowrap}.report-chart-total strong{font-size:26px;color:#1a355b}.report-chart-total span{font-size:12px}#marketing-traffic-chart svg{display:block;width:100%;height:auto;min-height:180px;overflow:visible;stroke:none;fill:none}.report-gridline{stroke:#e7edf5;stroke-width:1;stroke-dasharray:4 5}.report-chart-label{fill:#5f7390;font-size:11px;font-family:inherit}.report-chart-bar{fill:#4878e6;stroke:none}.report-chart-target{fill:transparent;stroke:none}.report-chart-day:hover .report-chart-target,.report-chart-day:focus .report-chart-target{fill:#edf3ff}.report-chart-day:focus{outline:2px solid #3269cf;outline-offset:1px}.report-chart-day:hover .report-chart-bar,.report-chart-day:focus .report-chart-bar{fill:#2458be}.report-data{border-top:1px solid #e7edf5;margin-top:12px}.report-data>summary{font-size:11px}.report-next-hint{font-size:11px;margin-bottom:6px}.report-journey-row{display:flex;align-items:center;gap:16px}.report-step-number{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#edf3ff;color:#3062c9;font-size:12px;font-weight:700;flex-shrink:0}.report-journey-row>div{flex:1;min-width:0}.report-bar{padding:12px 0}.report-bar>div{display:flex;justify-content:space-between;align-items:baseline;gap:14px;font-size:12px;margin-bottom:8px}.report-bar strong{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.report-bar small{font-size:11px;font-weight:400;color:#637891;margin-left:10px}.report-bar progress{display:block;appearance:none;width:100%;height:10px;border:0;border-radius:6px;overflow:hidden;background:#edf2fa;accent-color:#4878e6}.report-bar progress::-webkit-progress-bar{background:#edf2fa}.report-bar progress::-webkit-progress-value{background:#4878e6;border-radius:6px}.report-bar progress::-moz-progress-bar{background:#4878e6;border-radius:6px}.report-journey-row:last-child progress{accent-color:#21988b}.report-journey-row:last-child progress::-webkit-progress-value{background:#21988b}.report-rate{font-size:11px;color:#157769;background:#ecf8f5;padding:8px 11px;border-radius:8px;white-space:nowrap}.report-form-flow{margin-top:18px}.report-form-flow h4{display:flex;justify-content:space-between;gap:10px;margin:0 0 4px;font-size:13px}.report-form-flow h4 small{font-size:11px;color:#64758c;font-weight:400}.report-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.report-small-stats{display:flex;gap:28px;flex-wrap:wrap;margin:16px 0}.report-small-stats .marketing-stat{background:none;border:0;border-radius:0;padding:0;min-width:120px}.report-small-stats .marketing-stat>strong{font-size:26px;color:#213956}.report-small-stats .marketing-stat>span,.report-small-stats .marketing-stat>small{color:#5c6e87;font-size:11px}.report-cohort-note{font-size:11px;line-height:1.7;margin:18px 0;color:#62758d}.report-method{margin-top:24px;padding-top:8px;border-top:1px solid #dfe6f0;font-size:12px;line-height:1.7}.report-method .marketing-exclusion{font-size:12px}.report-empty{padding:30px 18px;border:1px dashed #ccd9eb;border-radius:12px;color:#637891;text-align:center;background:#fff}.report-empty p{font-size:12px}.report-loading{opacity:.35;pointer-events:none}.report-error .report-summary,.report-error [role=tabpanel]{display:none}.marketing-workspace .marketing-table-wrap{margin:0}.marketing-workspace .marketing-table-wrap th,.marketing-workspace .marketing-table-wrap td{font-size:11px}.marketing-workspace .marketing-table-wrap thead th{background:#f6f8fc;color:#506685}
@media(max-width:1000px){.report-campaign-metrics{gap:16px}.report-summary .marketing-stat{padding-inline:14px}.report-tabs{gap:20px}}
@media(max-width:760px){.marketing-workspace .report-toolbar{gap:8px}.report-period{width:auto;flex:1}.report-period button{flex:1;padding-inline:8px;font-size:11px}.report-period-label{order:3;flex-basis:100%;font-size:11px}.report-toolbar>#marketing-refresh{padding:8px 10px;font-size:11px;min-height:44px}.report-toolbar #marketing-custom{flex-wrap:wrap;gap:10px;padding:12px}.report-toolbar #marketing-custom label{flex:1;min-width:110px}.report-toolbar #marketing-custom input{font-size:16px;max-width:100%}.report-toolbar #marketing-custom button{width:100%}.report-feedback{margin-bottom:12px}.report-section-heading{align-items:flex-start;gap:10px;margin-bottom:16px}.report-section-heading h2{font-size:18px}.report-section-heading p{font-size:11px}.report-section-heading>.primary{white-space:nowrap;padding:10px;font-size:11px}.report-campaign{padding:16px;gap:12px;flex-wrap:wrap}.report-campaign-name{flex-basis:calc(100% - 80px)}.report-campaign-name>strong{font-size:14px}.report-campaign-metrics{order:4;width:100%;gap:0;padding:12px 0 0;border-top:1px solid #edf1f7}.report-campaign-metrics>span{flex:1;text-align:left}.report-campaign-metrics strong{font-size:21px}.report-row-arrow{display:none}.report-detail-heading{align-items:flex-start;gap:8px;margin:6px 0 18px}.report-detail-heading h2{font-size:23px}.report-detail-heading>.secondary{padding:8px 10px;white-space:nowrap;font-size:10px}.report-summary{grid-template-columns:1fr 1fr;padding:0;margin-bottom:16px}.report-summary .marketing-stat{padding:14px 16px;border-bottom:1px solid #e5ebf3}.report-summary .marketing-stat:nth-child(2){border-right:0}.report-summary .marketing-stat:nth-child(3){border-bottom:0}.report-summary .marketing-stat:last-child{padding:14px 16px}.report-summary .marketing-stat>strong{font-size:26px;margin:4px 0}.report-summary .marketing-stat>span{font-size:10px}.report-summary .marketing-stat>small{font-size:9px;line-height:1.5}.report-tabs{gap:0;justify-content:space-between;margin-bottom:16px}.report-tabs button{gap:5px;font-size:10px}.report-tabs button span{font-size:11px}.report-panel{padding:18px 16px}.report-panel h3{font-size:14px}.report-panel>.report-section-heading{flex-wrap:wrap}.report-chart-total strong{font-size:24px}#marketing-traffic-chart svg{min-height:140px}.report-chart-label{font-size:11px}.report-two-columns{grid-template-columns:1fr;gap:0}.report-rate{font-size:10px}.report-form-flow h4{flex-wrap:wrap}.report-bar>div{font-size:11px}.report-journey-row{gap:10px}.report-small-stats{gap:18px}.report-small-stats .marketing-stat{flex:1;min-width:110px}.report-method{margin-top:18px}.report-source-buttons{flex-direction:column}.report-source-buttons button{justify-content:space-between}.report-cohort-note{font-size:10px}}

.report-loading .report-summary,.report-loading [role=tabpanel],.report-loading .report-tabs,.report-loading .report-cohort-note,.report-error .report-tabs,.report-error .report-cohort-note{display:none}.report-campaign:disabled{opacity:.6}
#dashboard:has(#tab-marketing:not([hidden]) #marketing-detail:not([hidden])) .page-heading{display:none}

#marketing-traffic-chart svg:focus-visible{outline:2px solid #3269cf;outline-offset:4px;border-radius:6px}
@media(max-width:760px){
 .report-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
 .report-summary .marketing-stat,.report-summary .marketing-stat:last-child{padding:12px 9px;border-bottom:0;border-right:1px solid #e5ebf3}
 .report-summary .marketing-stat:nth-child(2){border-right:1px solid #e5ebf3}.report-summary .marketing-stat:last-child{border-right:0}
 .report-summary .marketing-stat>span{font-size:10px;line-height:1.5;min-height:30px}
 .report-summary .marketing-stat>strong{font-size:clamp(16px,5vw,24px);margin:3px 0 0;overflow-wrap:anywhere}
 .report-summary .marketing-stat>small{display:none}
 #marketing-detail .report-detail-heading{margin-bottom:16px}
}

.report-search{display:block;margin:0 0 14px;max-width:400px}.report-search input{font-size:14px;min-height:44px;margin:0}@media(max-width:760px){.report-search input{font-size:16px}}
