/* Local names kept for the existing rules; values come from design-system.css so the report follows light/dark. */
.ads-report{--ink:var(--ds-ink);--muted:var(--ds-ink-2);--accent:var(--ds-accent);--accent-dark:var(--ds-accent-strong);--accent-soft:var(--ds-accent-soft);--line:var(--ds-line);--surface:var(--ds-surface);--canvas:var(--ds-canvas);--gray:var(--ds-ink-2);--amber:var(--ds-warn);--amber-bg:var(--ds-warn-soft);--blue:var(--ds-accent);--radius:var(--ds-radius-lg);--font:var(--ds-font-sans)}
.ads-report *{box-sizing:border-box}
.ads-report{scroll-behavior:smooth;scroll-padding-top:24px}
.ads-report{margin:0;background:var(--canvas);color:var(--ink);font-family:var(--font);font-size:15px;line-height:1.55;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.ads-report button,.ads-report input,.ads-report select{font:inherit;color:inherit}
.ads-report button,.ads-report a,.ads-report summary,.ads-report select{touch-action:manipulation}
.ads-report button,.ads-report select,.ads-report summary{cursor:pointer}
.ads-report button{border:0;background:none}
.ads-report button:hover{filter:brightness(.96)}
.ads-report a{color:inherit;text-decoration:none}
.ads-report button:focus-visible,.ads-report a:focus-visible,.ads-report summary:focus-visible,.ads-report select:focus-visible,.ads-report input:focus-visible{outline:3px solid var(--ds-accent);outline-offset:3px}
.ads-report button,.ads-report select,.ads-report input{min-height:44px}
.ads-report button{transition:background-color .15s,color .15s}
.ads-report h1,.ads-report h2,.ads-report h3,.ads-report p{margin:0}
.ads-report h2{font-size:21px;font-weight:650;line-height:1.4;letter-spacing:-.035em}
.ads-report h3{font-size:17px;font-weight:650}
.ads-report svg{display:block}
.ads-report button svg{width:var(--ds-icon-md);height:var(--ds-icon-md);stroke:currentColor;fill:none;stroke-width:1.75}
.ads-report .skip{position:fixed;left:12px;top:-100px;padding:12px;background:var(--ds-surface);z-index:99}
.ads-report .skip:focus{top:12px}
.ads-report .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ads-report .sidebar{position:fixed;inset:0 auto 0 0;width:204px;background:var(--ds-surface);border-right:1px solid var(--line);padding:32px 18px;display:flex;flex-direction:column}
.ads-report .brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:720;letter-spacing:-.06em;margin:0 10px 48px}
.ads-report .brand-mark{width:32px;height:32px;background:var(--accent);color:var(--ds-on-accent);display:grid;place-items:center;border-radius:9px;font-size:23px;font-weight:550}
.ads-report .brand div>span{display:block;font-size:var(--ds-font-xs);letter-spacing:.15em;font-weight:600;color:var(--muted);margin-top:1px}
.ads-report .nav-caption{font-size:var(--ds-font-xs);color:var(--muted);padding:0 14px;margin-bottom:10px}
.ads-report .nav-caption.second{margin-top:30px}
.ads-report .nav-item{min-height:44px;display:flex;align-items:center;gap:12px;padding:0 14px;color:var(--ds-ink-2);font-size:14px;margin:3px 0;border-radius:7px}
.ads-report .nav-item>span{font-size:20px;width:18px;text-align:center;color:var(--ds-ink-2)}
.ads-report .nav-item svg{width:18px;stroke:currentColor;stroke-width:1.7}
.ads-report .nav-item.selected{background:var(--accent-soft);color:var(--accent);font-weight:680}
.ads-report .sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 10px 0;display:flex;align-items:center;gap:10px;font-size:13px}
.ads-report .avatar{display:grid;place-items:center;width:31px;height:31px;background:var(--ds-sunken);border-radius:50%;font-size:var(--ds-font-xs);font-weight:650}
.ads-report .sidebar-bottom div>span{display:block;font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report main{max-width:1484px;margin-left:204px;padding:0 48px}
.ads-report .prototype-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:var(--ds-font-xs);border-bottom:1px solid var(--line);min-height:46px}
.ads-report .prototype-bar>span{display:flex;align-items:center;gap:7px}
.ads-report .prototype-bar b{font-weight:550;border-left:1px solid var(--ds-line-strong);padding-left:8px}
.ads-report .prototype-bar label{display:flex;align-items:center;gap:5px}
.ads-report .prototype-bar select{border:none;background:transparent;font-size:var(--ds-font-xs);min-height:38px;width:91px}
.ads-report .demo-dot{width:5px;height:5px;border-radius:50%;background:var(--amber)}
.ads-report .page-header{display:flex;align-items:center;justify-content:space-between;padding:32px 0 26px}
.ads-report .eyebrow{font-size:var(--ds-font-xs);color:var(--muted);font-weight:600;letter-spacing:.12em;margin-bottom:7px}
.ads-report h1{font-size:34px;line-height:1.2;font-weight:680;letter-spacing:-.05em}
.ads-report .subtitle{color:var(--muted);font-size:14px;margin-top:8px}
.ads-report .subtle-link{font-size:12px;display:flex;align-items:center;gap:16px;padding:12px 0;white-space:nowrap}
.ads-report .subtle-link:hover{color:var(--accent)}
.ads-report .period-controls{background:var(--ds-surface);border:1px solid var(--line);border-radius:var(--radius);padding:10px 20px 0}
.ads-report .period-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:9px}
.ads-report .presets{display:flex;gap:4px}
.ads-report .presets button{padding:0 17px;border-radius:7px;color:var(--muted);font-size:13px;min-height:38px}
.ads-report .presets button[aria-pressed=true]{color:var(--ds-on-accent);background:var(--accent-dark);font-weight:600}
.ads-report .presets button:hover:not([aria-pressed=true]){background:var(--ds-canvas)}
.ads-report .date-button{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:550;padding:0 6px}
.ads-report .date-button>span:last-child{padding-left:12px;color:var(--muted)}
.ads-report .period-bottom{border-top:1px solid var(--ds-line);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;min-height:42px;color:var(--muted)}
.ads-report .comparison-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.ads-report .comparison-controls select{border:0;background:transparent;font-size:12px;min-height:40px;max-width:156px}
.ads-report .comparison-date{font-size:12px;color:var(--muted);min-height:40px;padding:0 4px;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--ds-ink-3)}
.ads-report .timezone{font-size:var(--ds-font-xs);white-space:nowrap}
.ads-report .period-feedback:empty{display:none}
.ads-report .period-feedback{font-size:12px;color:var(--amber);margin:10px 0 0}
.ads-report .section-kicker{display:flex;align-items:center;gap:12px;margin:27px 0 12px}
.ads-report .section-kicker h2{font-size:15px;font-weight:650}
.ads-report .section-kicker>span{font-size:12px;color:var(--muted)}
.ads-report .metrics{display:grid;grid-template-columns:1.15fr 1.1fr 1fr 1fr;background:var(--ds-surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.ads-report .metric{padding:23px 24px 20px;position:relative;min-width:0}
.ads-report .metric+.metric{border-left:1px solid var(--line)}
.ads-report .metric.primary{background:var(--accent-soft)}
.ads-report .metric-heading{font-size:13px;font-weight:550;display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:23px}
.ads-report .primary .metric-heading{color:var(--accent-dark)}
.ads-report .badge{font-size:var(--ds-font-xs);font-weight:450;background:var(--ds-surface);padding:1px 6px;border-radius:4px;color:var(--accent);white-space:nowrap}
.ads-report .badge.pending{background:var(--amber-bg);color:var(--amber)}
.ads-report .metric-value{display:flex;align-items:baseline;gap:6px;white-space:nowrap;font-size:36px;line-height:1.2;font-weight:650;letter-spacing:-.05em;margin-top:14px}
.ads-report .primary .metric-value{color:var(--accent-dark);font-size:47px;margin-top:6px}
.ads-report .unit{font-size:13px;font-weight:450;letter-spacing:0;color:var(--muted)}
.ads-report .delta{font-size:12px;color:var(--accent);margin-top:10px;min-height:19px}
.ads-report .delta.down{color:var(--ds-warn)}
.ads-report .delta.neutral{color:var(--muted)}
.ads-report .delta .previous{margin-left:5px;color:var(--muted);font-size:var(--ds-font-xs)}
.ads-report .metric-foot{color:var(--muted);font-size:var(--ds-font-xs);margin-top:16px;min-height:18px}
.ads-report .gap-note{color:var(--amber);font-weight:600}
.ads-report .insight{display:flex;align-items:center;gap:10px;margin-top:14px;padding:11px 2px 16px;font-size:13px;border-bottom:1px solid var(--line)}
.ads-report .insight-symbol{color:var(--accent);font-size:18px}
.ads-report .insight p{flex:1}
.ads-report .insight strong{font-weight:650}
.ads-report .insight-label{font-size:var(--ds-font-xs);color:var(--muted);white-space:nowrap}
.ads-report .section{margin-top:34px}
.ads-report .section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:19px}
.ads-report .section-heading p{font-size:12px;color:var(--muted);margin-top:4px}
.ads-report .chart-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-size:12px;color:var(--muted)}
.ads-report #chart-caption{color:var(--ink);font-size:13px}
.ads-report .legend{display:flex;gap:18px;font-size:var(--ds-font-xs)}
.ads-report .legend>span{display:flex;align-items:center;gap:6px}
.ads-report .legend i{display:block;width:17px;border-top:2px solid var(--accent)}
.ads-report .legend i.dashed{border-color:var(--ds-series-muted);border-top-style:dashed}
.ads-report .chart{height:225px;width:100%;overflow:hidden;position:relative}
.ads-report .chart svg{width:100%;height:100%;overflow:visible;display:block}
/* Date columns over the chart; the tooltip stays inside the chart box, so it never widens the page. */
.ads-report .chart-hits{position:absolute;inset:0 0 30px 0}
.ads-report .chart-hit{position:absolute;top:0;bottom:0;margin:0;padding:0;border:0;border-radius:6px;background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ads-report .chart-hit:focus{outline:none}
.ads-report .chart-hit:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}
.ads-report .chart circle.is-active{stroke-width:3}
.ads-report .chart-tip{position:absolute;z-index:2;top:0;left:0;width:max-content;min-width:180px;max-width:min(280px,calc(100% - 8px));padding:10px 12px;background:var(--ds-surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.12);font-size:12px;line-height:1.45;pointer-events:none}
.ads-report .chart-tip[hidden]{display:none}
.ads-report .chart-tip>strong{display:block;font-size:12px;font-weight:650;margin-bottom:6px}
.ads-report .chart-tip dl{display:grid;gap:6px;margin:0}
.ads-report .chart-tip dt{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:var(--ds-font-xs)}
.ads-report .chart-tip dt i{display:block;width:14px;border-top:2px solid var(--accent)}
.ads-report .chart-tip .tip-compare dt i{border-color:var(--ds-series-muted);border-top-style:dashed}
.ads-report .chart-tip dd{margin:1px 0 0;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
.ads-report .chart-tip dd b{font-size:15px;font-weight:700;color:var(--ink)}
.ads-report .chart-tip dd span{font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report .chart-tip .tip-partial dd span{color:var(--amber);font-weight:600}
.ads-report .chart-tip .tip-missing dd b,.ads-report .chart-tip .tip-restricted dd b,.ads-report .chart-tip .tip-none dd b,.ads-report .chart-tip .tip-not_published dd b{font-size:13px;font-weight:600;color:var(--muted)}
.ads-report .chart svg text{font-family:var(--font);font-size:var(--ds-font-xs);fill:var(--muted)}
.ads-report .chart svg .chart-point:focus{outline:none}
.ads-report .chart svg .chart-point:focus circle{stroke:var(--blue);stroke-width:3}
.ads-report .chart-tooltip{background:var(--ds-surface);border:1px solid var(--line);padding:10px}
.ads-report .chart-table-details{margin-top:7px}
.ads-report .chart-table-details>summary{font-size:var(--ds-font-xs);color:var(--muted);min-height:44px;display:flex;align-items:center;justify-content:flex-end;list-style:none}
.ads-report .chart-table-details>summary::after{content:'＋';margin-left:7px}
.ads-report .chart-table-details[open]>summary::after{content:'−'}
.ads-report .table-scroll{overflow-x:auto}
.ads-report table{border-collapse:collapse;width:100%;font-size:13px;text-align:right}
.ads-report th{font-weight:500;color:var(--muted);font-size:var(--ds-font-xs);border-bottom:1px solid var(--line);padding:12px 10px}
.ads-report td{padding:15px 10px;border-bottom:1px solid var(--ds-line)}
.ads-report th:first-child,.ads-report td:first-child{text-align:left}
.ads-report caption{text-align:left}
.ads-report .section-period{font-size:var(--ds-font-xs);color:var(--muted);white-space:nowrap}
.ads-report .media-section{padding-top:25px;border-top:1px solid var(--line);margin-top:20px}
.ads-report .media-layout{display:grid;grid-template-columns:225px 1fr;gap:32px;background:var(--ds-surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.ads-report .mini-label{font-size:12px;color:var(--muted)}
.ads-report .source-total{display:flex;gap:6px;align-items:baseline;margin-top:9px;font-size:32px;line-height:1.2;letter-spacing:-.04em;font-weight:600}
.ads-report .source-total>span:last-child{font-size:12px;font-weight:400;color:var(--muted)}
.ads-report .source-bar{display:flex;gap:2px;height:12px;overflow:hidden;border-radius:3px;margin:22px 0 17px}
.ads-report .source-bar>span{height:100%}
.ads-report .source-legend{padding:0;list-style:none;margin:0}
.ads-report .source-legend li{display:flex;align-items:center;gap:8px;font-size:12px;line-height:2.4}
.ads-report .source-legend li b{margin-left:auto;font-weight:500}
.ads-report .dot{display:inline-block;width:7px;height:7px;border-radius:2px;flex:0 0 auto}
.ads-report .quiet-note{font-size:var(--ds-font-xs);line-height:1.8;color:var(--muted);margin-top:18px}
.ads-report .media-table-wrap{min-width:0}
.ads-report .media-table th{padding-top:0;padding-bottom:14px;white-space:nowrap}
.ads-report .media-table td{padding:13px 10px}
.ads-report .media-table td:first-child{font-weight:550;white-space:nowrap}
.ads-report .source-name{display:flex;align-items:center;gap:8px}
.ads-report .media-table tbody tr:last-child td{border-bottom:0}
.ads-report .media-table td:nth-child(2){font-weight:650}
.ads-report .media-table .change{color:var(--muted);font-size:var(--ds-font-xs)}
.ads-report .unknown{font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report .muted{color:var(--muted)}
.ads-report .sort-arrow{color:var(--accent)}
.ads-report .table-note{font-size:var(--ds-font-xs);color:var(--muted);text-align:right;margin-top:8px}
.ads-report .media-table small{font-size:var(--ds-font-xs);font-weight:400;color:var(--muted)}
.ads-report .ga4-traffic{margin-top:14px;background:var(--ds-surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px 24px}
.ads-report .ga4-summary{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.ads-report .ga4-summary>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.ads-report .ga4-summary strong{font-size:26px;font-weight:600;letter-spacing:-.03em}
.ads-report .ga4-summary strong .unit{font-size:12px;font-weight:400;color:var(--muted);margin-left:3px}
.ads-report .ga4-summary>div>span:last-child{font-size:12px;color:var(--muted)}
.ads-report .ga4-traffic>.quiet-note{margin-top:8px}
.ads-report .ga4-table td{padding:10px}
.ads-report .behavior-section{padding-top:25px;border-top:1px solid var(--line)}
.ads-report .behavior-layout{display:grid;grid-template-columns:1fr 260px;gap:24px;align-items:stretch}
.ads-report .journey{display:flex;align-items:center;gap:38px;padding:28px;background:var(--ds-surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0}
.ads-report .journey-start{display:flex;flex-direction:column;min-width:100px;align-items:flex-start}
.ads-report .journey-start strong{font-size:34px;line-height:1.3;font-weight:600;margin:8px 0 0;letter-spacing:-.04em}
.ads-report .journey-start>span:last-child{font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report .journey-branches{flex:1;position:relative;padding-left:26px;border-left:1px solid var(--ds-line-strong)}
.ads-report .journey-branches::before{content:'';position:absolute;left:-28px;width:28px;top:50%;height:1px;background:var(--ds-line-strong)}
.ads-report .journey-end{display:flex;align-items:center;gap:6px;position:relative}
.ads-report .journey-end+.journey-end{margin-top:28px}
.ads-report .journey-end:before{position:absolute;content:'';left:-26px;width:17px;height:1px;background:var(--ds-line-strong)}
.ads-report .journey-end div{flex:1}
.ads-report .journey-end div>span{font-size:13px;font-weight:550}
.ads-report .journey-end small{display:block;font-size:var(--ds-font-xs);color:var(--muted);margin-top:3px}
.ads-report .journey-end strong{font-size:27px;font-weight:600;color:var(--accent-dark);letter-spacing:-.03em}
.ads-report .behavior-note{padding:22px 24px;background:var(--ds-sunken);border-radius:var(--radius)}
.ads-report .label-outline{font-size:var(--ds-font-xs);color:var(--accent-dark);font-weight:550}
.ads-report .behavior-note h3{font-size:18px;line-height:1.45;letter-spacing:-.04em;margin-top:10px}
.ads-report .behavior-note p{font-size:var(--ds-font-xs);color:var(--muted);margin-top:12px;line-height:1.8}
.ads-report .exit-details{margin-top:18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--ds-surface)}
.ads-report .exit-details>summary{padding:18px 24px;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ads-report .exit-details strong{font-size:14px;font-weight:550}
.ads-report .exit-details small{color:var(--muted);font-size:var(--ds-font-xs);display:inline-block;margin-left:12px}
.ads-report .expand-label{color:var(--muted);font-size:var(--ds-font-xs);white-space:nowrap}
.ads-report .expand-label>span{margin-left:12px}
.ads-report .exit-details[open] .expand-label>span{display:inline-block;transform:rotate(45deg)}
.ads-report .exit-content{padding:0 24px 18px}
.ads-report .exit-content>.quiet-note{margin-top:0}
.ads-report .exit-table td:last-child{width:40%}
.ads-report .exit-share{display:flex;align-items:center;justify-content:flex-end;gap:14px}
.ads-report .exit-share .track{width:110px;height:5px;background:var(--ds-sunken);border-radius:3px}
.ads-report .exit-share .track i{display:block;height:100%;background:var(--ds-accent);border-radius:3px}
.ads-report .exit-share>span{min-width:34px}
.ads-report .data-notes{border-top:1px solid var(--line);margin-top:40px;font-size:12px;scroll-margin-top:20px}
.ads-report .data-notes>summary{min-height:58px;display:flex;align-items:center;justify-content:space-between;list-style:none;color:var(--muted)}
.ads-report .notes-content{border-bottom:1px solid var(--line);padding:0 0 24px;color:var(--muted);line-height:1.8}
.ads-report .notes-content strong{color:var(--ink)}
.ads-report .notes-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 32px;margin-top:20px}
.ads-report .notes-grid h3{font-size:13px;margin-bottom:6px;color:var(--ink)}
.ads-report footer{display:flex;justify-content:space-between;gap:14px;padding:20px 0 32px;font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report footer>span:first-child{font-weight:550;letter-spacing:.04em}
.ads-report .footer-separator{margin:0 10px;color:var(--ds-ink-2)}
.ads-report .state-banner{display:flex;gap:10px;align-items:center;font-size:12px;color:var(--amber);background:var(--amber-bg);border:1px solid var(--ds-warn);border-radius:8px;padding:10px 14px;margin-top:16px}
.ads-report .empty-state{padding:70px 20px;text-align:center;background:var(--ds-surface);border:1px solid var(--line);border-radius:var(--radius);margin:24px 0}
.ads-report .empty-state h2{margin-bottom:8px}
.ads-report .empty-state p{color:var(--muted);font-size:13px;line-height:1.8}
.ads-report .empty-state button{margin-top:22px}
.ads-report .empty-icon{font-size:28px;color:var(--accent);margin-bottom:14px}
.ads-report .button-primary{background:var(--accent-dark);color:var(--ds-on-accent);border-radius:7px;padding:0 20px;font-size:13px}
.ads-report .button-secondary{background:var(--ds-surface);border:1px solid var(--ds-line-strong);border-radius:7px;padding:0 20px;font-size:13px}
.ads-report .error-text{font-size:12px;color:var(--ds-danger);margin-top:12px;min-height:19px}
@media(min-width:1688px){.ads-report main{margin-left:calc(204px + (100vw - 1688px)/2)}
}
@media(max-width:1200px){.ads-report main{padding:0 30px}
.ads-report .sidebar{width:178px;padding-left:12px;padding-right:12px}
.ads-report .brand{font-size:18px;gap:8px;margin-left:5px}
.ads-report main{margin-left:178px}
.ads-report .metric{padding:20px 17px}
.ads-report .metric-value{font-size:31px}
.ads-report .primary .metric-value{font-size:42px}
.ads-report .media-layout{grid-template-columns:190px 1fr;gap:20px;padding:21px}
.ads-report .media-table th,.ads-report .media-table td{padding-left:7px;padding-right:7px}
.ads-report .behavior-layout{grid-template-columns:1fr 225px;gap:16px}
.ads-report .journey{gap:23px;padding:22px}
.ads-report .journey-end small{max-width:130px}
}
@media(max-width:1000px){.ads-report .sidebar{width:76px;padding:28px 12px}
.ads-report .brand{margin:0 0 36px;justify-content:center}
.ads-report .brand>div,.ads-report .nav-caption,.ads-report .nav-item:not(.selected),.ads-report .sidebar-bottom{display:none}
.ads-report .nav-item.selected{font-size:0;padding:0;justify-content:center}
.ads-report .nav-item.selected svg{width:22px}
.ads-report .brand-mark{width:36px;height:36px}
.ads-report main{margin-left:76px}
.ads-report .metrics{grid-template-columns:1fr 1fr}
.ads-report .metric:nth-child(3){border-left:0;border-top:1px solid var(--line)}
.ads-report .metric:nth-child(4){border-top:1px solid var(--line)}
.ads-report .metric{padding:20px 24px}
.ads-report .metric-value{font-size:37px}
.ads-report .metric-foot{margin-top:10px}
.ads-report .primary .metric-value{font-size:46px}
.ads-report .media-layout{grid-template-columns:1fr}
.ads-report .source-overview{display:none}
.ads-report .behavior-layout{grid-template-columns:1fr 215px}
.ads-report .journey{gap:28px}
.ads-report .section-heading{align-items:flex-start}
}
@media(max-width:700px){.ads-report{font-size:14px}
.ads-report .sidebar{display:none}
.ads-report main{margin:0;padding:0 20px}
.ads-report .prototype-bar{font-size:var(--ds-font-xs);min-height:41px}
.ads-report .prototype-bar label{font-size:var(--ds-font-xs)}
.ads-report .prototype-bar select{font-size:var(--ds-font-xs);min-height:36px}
.ads-report .page-header{padding:25px 0 22px;align-items:flex-start}
.ads-report h1{font-size:30px}
.ads-report .eyebrow{font-size:var(--ds-font-xs)}
.ads-report .subtitle{font-size:12px;margin-top:7px}
.ads-report .subtle-link{font-size:var(--ds-font-xs);gap:6px;margin-top:20px}
.ads-report .period-controls{padding:10px 12px 0}
.ads-report .period-top{flex-direction:column;align-items:stretch;gap:5px}
.ads-report .presets{justify-content:space-between}
.ads-report .presets button{flex:1;min-height:44px;padding:0 10px;font-size:12px}
.ads-report .date-button{justify-content:center;min-height:44px;font-size:13px}
.ads-report .period-bottom{justify-content:center}
.ads-report .comparison-controls{gap:5px;justify-content:center;font-size:var(--ds-font-xs)}
.ads-report .comparison-controls select{font-size:var(--ds-font-xs);max-width:135px;min-height:44px}
.ads-report .comparison-date{font-size:var(--ds-font-xs);min-height:44px}
.ads-report .timezone{display:none}
.ads-report .section-kicker{margin-top:23px;margin-bottom:11px}
.ads-report .section-kicker h2{font-size:14px}
.ads-report .section-kicker>span{font-size:var(--ds-font-xs)}
.ads-report .metrics{grid-template-columns:1fr 1fr}
.ads-report .metric{padding:17px 16px 16px}
.ads-report .metric-heading{font-size:12px;gap:5px}
.ads-report .badge{font-size:var(--ds-font-xs);padding:1px 5px}
.ads-report .metric-value{font-size:30px;margin-top:10px;gap:4px}
.ads-report .primary .metric-value{font-size:39px;margin-top:3px}
.ads-report .unit{font-size:var(--ds-font-xs)}
.ads-report .delta{font-size:var(--ds-font-xs);margin-top:8px}
.ads-report .delta .previous{display:block;margin:2px 0 0;font-size:var(--ds-font-xs)}
.ads-report .metric-foot{font-size:var(--ds-font-xs);margin-top:10px}
.ads-report .insight{align-items:flex-start;padding-bottom:16px;gap:8px;font-size:12px;line-height:1.7}
.ads-report .insight-symbol{line-height:1.4}
.ads-report .insight-label{display:none}
.ads-report .section{margin-top:28px}
.ads-report h2{font-size:20px}
.ads-report .section-heading{display:block;margin-bottom:17px}
.ads-report .section-heading p{font-size:var(--ds-font-xs)}
.ads-report .chart-topline{display:block;margin-bottom:13px}
.ads-report #chart-caption{font-size:12px}
.ads-report .legend{font-size:var(--ds-font-xs);margin-top:9px;gap:14px}
.ads-report .chart{height:210px}
.ads-report .chart svg text{font-size:var(--ds-font-xs)}
.ads-report .chart-table-details>summary{font-size:var(--ds-font-xs)}
.ads-report .section-period{display:block;margin-top:7px}
.ads-report .media-section{margin-top:15px;padding-top:26px}
.ads-report .media-layout{display:block;padding:4px 14px 14px}
.ads-report .media-table{font-size:12px}
.ads-report .media-table thead{display:none}
.ads-report .media-table tbody{display:grid;grid-template-columns:1fr}
.ads-report .media-table tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);padding:12px 0;gap:3px 12px}
.ads-report .media-table tr:last-child{border-bottom:0}
.ads-report .media-table td{padding:0;border:0;text-align:right!important;font-size:12px}
.ads-report .media-table td:first-child{grid-row:1;grid-column:1;text-align:left!important;font-size:13px;margin-bottom:4px}
.ads-report .media-table td:nth-child(2){grid-row:1;grid-column:2;font-size:16px;line-height:1.3}
.ads-report .media-table td:nth-child(2)::after{content:' 회';font-size:var(--ds-font-xs);font-weight:400;color:var(--muted)}
.ads-report .media-table td:nth-child(3){grid-row:2;grid-column:2}
.ads-report .media-table td:nth-child(4){grid-row:2;grid-column:1;text-align:left!important;font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report .media-table td:nth-child(4)::before{content:'광고비 ';color:var(--muted);font-size:var(--ds-font-xs)}
.ads-report .media-table td:nth-child(5){grid-column:1 / -1;font-size:var(--ds-font-xs);text-align:left!important}
.ads-report .media-table td:nth-child(5)::before{content:'실제 문의 ';font-size:var(--ds-font-xs)}
.ads-report .table-note{text-align:left;font-size:var(--ds-font-xs);margin-top:12px}
.ads-report .behavior-layout{display:block}
.ads-report .journey{padding:22px 16px;gap:28px}
.ads-report .journey-start{min-width:69px}
.ads-report .journey-start strong{font-size:28px}
.ads-report .journey-start .mini-label{font-size:var(--ds-font-xs)}
.ads-report .journey-branches{padding-left:18px}
.ads-report .journey-end::before{left:-18px;width:10px}
.ads-report .journey-end div>span{font-size:var(--ds-font-xs)}
.ads-report .journey-end small{font-size:var(--ds-font-xs);max-width:110px}
.ads-report .journey-end strong{font-size:23px}
.ads-report .journey-end .unit{font-size:var(--ds-font-xs)}
.ads-report .behavior-note{margin-top:12px;padding:16px 18px;display:grid;grid-template-columns:auto 1fr;gap:3px 12px}
.ads-report .behavior-note .label-outline{grid-row:1 / 3;padding-top:2px}
.ads-report .behavior-note h3{font-size:13px;margin:0}
.ads-report .behavior-note h3 br,.ads-report .behavior-note p br{display:none}
.ads-report .behavior-note p{font-size:var(--ds-font-xs);margin-top:2px;grid-column:2}
.ads-report .exit-details>summary{padding:16px}
.ads-report .exit-details strong{font-size:13px}
.ads-report .exit-details small{font-size:var(--ds-font-xs);display:block;margin:3px 0 0}
.ads-report .expand-label{font-size:var(--ds-font-xs)}
.ads-report .expand-label>span{margin-left:4px}
.ads-report .exit-content{padding:0 16px 12px}
.ads-report .exit-table{font-size:var(--ds-font-xs)}
.ads-report .exit-table th{font-size:var(--ds-font-xs);padding:10px 4px}
.ads-report .exit-table td{padding:12px 4px}
.ads-report .exit-share .track{display:none}
.ads-report .quiet-note{font-size:var(--ds-font-xs)}
.ads-report .data-notes{margin-top:28px;font-size:var(--ds-font-xs)}
.ads-report .notes-grid{grid-template-columns:1fr;gap:16px}
.ads-report .notes-grid h3{font-size:12px}
.ads-report footer{display:block;font-size:var(--ds-font-xs)}
.ads-report footer>span{display:block}
.ads-report footer>span+span{margin-top:6px}
}
@media(max-width:370px){.ads-report main{padding:0 14px}
.ads-report .metric{padding-left:12px;padding-right:12px}
.ads-report .metric-value{font-size:27px}
.ads-report .primary .metric-value{font-size:36px}
.ads-report .subtle-link{font-size:var(--ds-font-xs)}
.ads-report .comparison-controls{gap:2px}
.ads-report .journey{padding:18px 12px;gap:18px}
.ads-report .journey-branches::before{left:-18px;width:18px}
}
@media(prefers-reduced-motion:reduce){.ads-report{scroll-behavior:auto}
.ads-report *{transition:none!important}
}
.ads-report [hidden]{display:none!important}
.ads-report .insight-symbol{font-size:var(--ds-font-xs);font-weight:650;white-space:nowrap;line-height:1.6;background:var(--ds-accent-soft);border-radius:3px;padding:1px 5px}
.ads-report .legend i.dashed{border-color:var(--ds-series-muted)}
@media(max-width:700px){.ads-report .metric-value .long-number{font-size:clamp(21px,6.1vw,26px)}
.ads-report .metric-foot{font-size:var(--ds-font-xs)}
.ads-report .delta .previous{font-size:var(--ds-font-xs)}
.ads-report .insight-symbol{margin-top:2px}
.ads-report .media-table td:nth-child(5),.ads-report .media-table td:nth-child(5)::before{font-size:var(--ds-font-xs)}
.ads-report .journey-end small{font-size:var(--ds-font-xs)}
.ads-report .behavior-note p{font-size:var(--ds-font-xs)}
}
.ads-report .skip:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0}
@media(max-width:700px){.ads-report .journey{display:block;padding:20px}
.ads-report .journey-start{flex-direction:row;align-items:baseline;gap:8px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.ads-report .journey-start .mini-label{font-size:12px}
.ads-report .journey-start strong{margin:0 0 0 auto;font-size:29px}
.ads-report .journey-branches{padding-left:0;border-left:0}
.ads-report .journey-branches::before,.ads-report .journey-end::before{display:none}
.ads-report .journey-end div>span{font-size:12px}
.ads-report .journey-end small{max-width:none;font-size:var(--ds-font-xs)}
.ads-report .journey-end+.journey-end{margin-top:20px}
.ads-report .journey-end strong{font-size:26px}
}
.ads-report{-webkit-font-smoothing:antialiased}
.ads-report .sidebar{background:var(--ds-surface)}
.ads-report .brand{font-size:14px;letter-spacing:-.02em;gap:11px}
.ads-report .brand-mark{width:34px;height:34px;font-size:12px;font-weight:750;border-radius:10px;box-shadow:0 7px 16px rgba(0,113,227,.2)}
.ads-report .brand div>span{letter-spacing:.1em}
.ads-report .nav-item{border-radius:11px;font-size:13px;font-weight:590}
.ads-report .nav-item.selected{color:var(--ink);background:var(--ds-accent-soft)}
.ads-report .nav-item.selected svg{color:var(--accent)}
.ads-report .period-controls,.ads-report .metrics,.ads-report .media-layout,.ads-report .journey,.ads-report .exit-details,.ads-report .empty-state{box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(0,0,0,.04)}
.ads-report .presets button,.ads-report .button-primary,.ads-report .button-secondary{border-radius:10px}
.ads-report .presets button[aria-pressed=true],.ads-report .button-primary{background:var(--accent)}
.ads-report .delta{color:var(--ds-ok)}
.ads-report .delta.down{color:var(--ds-danger)}
.ads-report .delta.neutral{color:var(--muted)}
@media(max-width:1000px) and (min-width:701px){.ads-report .nav-item.selected{font-size:0}
}
.ads-report .badge,.ads-report .insight-symbol{color:var(--accent-dark)}
.ads-report .delta{color:var(--ds-ok)}
.ads-report .delta.down{color:var(--ds-danger)}
.ads-report .delta.neutral{color:var(--muted)}

.ads-report{--font:inherit;font-family:inherit;background:transparent;max-width:none}
.ads-report .report-chart-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;background:var(--ds-surface);border:1px solid var(--line);border-radius:var(--ds-radius-lg);padding:20px;font-size:13px;color:var(--muted)}
.ads-report .report-chart-empty strong{font-size:16px;color:var(--ink)}
.ads-report .metric-value{font-size:clamp(24px,2.4vw,36px)}
.ads-report .primary .metric-value{font-size:clamp(28px,3vw,47px)}
.ads-report .metric-value:has(.long-number){font-size:24px}
.ads-report .source-total .unit{font-size:12px}
.ads-report .journey-end strong{font-size:clamp(19px,2vw,27px);white-space:nowrap}
.ads-report .media-table tbody th{font-size:13px;font-weight:550;color:var(--ink);padding:13px 10px;white-space:nowrap}
.ads-report .media-table small{display:block;font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report .chart-table-details table{min-width:430px}
.ads-report .chart-table-details tbody th{white-space:nowrap}
.ads-report .chart{height:225px}
.ads-report .button-primary{border:0}
.adv-report-tools{margin-top:22px;border-top:1px solid var(--adv-line);font-size:13px}
.adv-report-tools>summary{color:var(--adv-muted);padding:18px 0}
.adv-workspace{--adv-ink:var(--ds-ink);--adv-muted:var(--ds-ink-2);--adv-line:var(--ds-line);--adv-blue:var(--ds-accent)}
.adv-workspace .adv-panel,.adv-workspace .adv-metric{border-radius:var(--ds-radius-lg);box-shadow:0 1px 2px #0000000a,0 8px 24px #0000000a}
.adv-workspace .adv-metric.primary{background:var(--ds-accent-soft);color:var(--ds-accent-strong);border-color:var(--adv-line)}
.adv-workspace .adv-heading{margin-top:8px;margin-bottom:26px}
.adv-workspace .adv-heading h1{font-size:34px;margin:7px 0 0;line-height:1.2}
.adv-workspace .adv-heading p{font-size:14px;margin-top:8px}
.adv-workspace .adv-eyebrow{font-size:var(--ds-font-xs);color:var(--ds-ink-2);font-weight:600}
.adv-workspace :focus-visible{outline:3px solid var(--ds-accent);outline-offset:3px}
@media(max-width:700px){
.ads-report .metric-value{font-size:27px}.ads-report .primary .metric-value{font-size:36px}
.ads-report .media-table tbody th{grid-row:1;grid-column:1;font-size:13px;padding:0;border:0;white-space:normal;margin-bottom:4px}
.ads-report .media-table td:nth-child(2)::after{content:none}
.ads-report .media-table td:nth-child(3)::before{content:'방문 비교 ';font-size:var(--ds-font-xs)}
.ads-report .metric-value:has(.long-number){font-size:21px}
.ads-report .journey-end strong{font-size:23px}
.ads-report .comparison-controls{flex-wrap:wrap}
.ads-report .comparison-date{font-size:var(--ds-font-xs);white-space:normal}
.adv-workspace .adv-heading h1{font-size:30px}
}
/* Only the advertising page gets the approved neutral report canvas. */
.order-workspace-content:has(>.ads-workspace-page){background:var(--ds-canvas)}
.adv-workspace .adv-tools-actions{justify-content:flex-start;padding:0 0 16px}
@media(max-width:700px){
.adv-workspace .adv-heading{display:flex;gap:12px;align-items:center}
.adv-workspace .adv-actions{margin:0;flex-shrink:0}
.adv-workspace .adv-heading .adv-actions .button{font-size:12px;padding:0 12px}
}

.ads-report .metric:nth-child(2) .delta{color:var(--muted)}
.ads-report .metric-value .long-number{white-space:normal;overflow-wrap:anywhere;min-width:0}
.ads-report .metric-value:has(.long-number){align-items:flex-end}

.ads-report .collection-status{margin:16px 0 24px;padding:16px 20px;background:var(--ds-surface);border:1px solid var(--line);border-radius:var(--ds-radius-md);font-size:13px;line-height:1.7;color:var(--muted)}
.ads-report .collection-status strong{color:var(--ink);font-weight:600;margin-right:8px}
.ads-report .collection-status p{margin:4px 0 0;overflow-wrap:anywhere}
.ads-report [data-report-all]{margin-left:12px;min-height:44px;padding:4px 12px;color:var(--blue);border:1px solid var(--line);border-radius:8px;background:var(--ds-surface);font:inherit;cursor:pointer}
.ads-report .collected-details{margin:20px 0;padding:18px 0;border-top:1px solid var(--line);font-size:13px}
.ads-report .collected-details summary{cursor:pointer;min-height:44px;align-content:center;font-weight:600}
.ads-report .collected-details .table-scroll{max-height:330px;overflow:auto}
@media(max-width:700px){.ads-report [data-report-all]{display:block;margin:8px 0 0}.ads-report .collection-status{padding:14px}.ads-report .metric-foot{overflow-wrap:anywhere}}

/* Review list: why a number is not final, where to check, what changes. Tone is always spelled out in text. */
.ads-report .review-queue{margin:20px 0 4px;padding:20px 22px;background:var(--ds-surface);border:1px solid var(--line);border-radius:var(--radius)}
.ads-report .review-queue h2:focus{outline:none}
.ads-report .insight-jump{flex-shrink:0;min-height:44px;padding:4px 12px;border:1px solid var(--line);border-radius:8px;background:var(--ds-surface);color:var(--accent-dark);font:inherit;font-size:12px;font-weight:650;cursor:pointer;white-space:nowrap}
.ads-report .insight-jump:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.ads-report .review-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.ads-report .review-head h2{font-size:17px;font-weight:650;margin:0;display:flex;align-items:center;gap:8px}
.ads-report .review-head p{font-size:12px;color:var(--muted);margin:4px 0 0}
.ads-report .review-count{font-size:12px;font-weight:650;min-width:24px;padding:1px 8px;border-radius:10px;background:var(--canvas);color:var(--ink);text-align:center}
.ads-report .review-summary{white-space:nowrap;font-weight:600;color:var(--ink)!important}
.ads-report .metric-states{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none;margin:14px 0 4px;padding:10px 0 12px;border-bottom:1px solid var(--line);font-size:12px}
.ads-report .metric-states li{display:flex;gap:6px;align-items:baseline;color:var(--muted)}
.ads-report .metric-states strong{font-weight:650;color:var(--ink)}
.ads-report .metric-states small{font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report .metric-states .state-missing strong,.ads-report .metric-states .state-reviewing strong{color:var(--amber)}
.ads-report .metric-states .state-unconnected strong,.ads-report .metric-states .state-not_applicable strong,.ads-report .metric-states .state-restricted strong{color:var(--muted);font-weight:500}
.ads-report .review-list{list-style:none;margin:0;padding:0}
.ads-report .review-item{display:grid;grid-template-columns:150px minmax(0,1fr) 190px;gap:8px 20px;padding:16px 0;border-bottom:1px solid var(--ds-line)}
.ads-report .review-list>.review-item:last-child{border-bottom:0}
.ads-report .review-state{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.ads-report .review-scope{font-size:var(--ds-font-xs);color:var(--muted);line-height:1.45}
.ads-report .review-main h3{font-size:14px;font-weight:600;margin:0;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
.ads-report .review-main h3 strong{font-size:15px;font-weight:700}
.ads-report .tone-stopped h3 strong{color:var(--ds-danger)}
.ads-report .tone-missing h3 strong{color:var(--amber)}
.ads-report .review-problem{font-size:13px;margin:4px 0 0}
.ads-report .review-detail{margin-top:4px;font-size:12px}
.ads-report .review-detail>summary{cursor:pointer;min-height:44px;align-content:center;width:fit-content;color:var(--accent-dark);font-weight:600}
.ads-report .review-detail>summary:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.ads-report .review-steps{display:grid;grid-template-columns:1fr 1fr;gap:6px 20px;margin:10px 0 0;font-size:12px;line-height:1.6}
.ads-report .review-steps dt{font-size:var(--ds-font-xs);font-weight:650;color:var(--muted)}
.ads-report .review-steps dd{margin:2px 0 0}
.ads-report .review-code{font-size:var(--ds-font-xs);color:var(--muted);margin:8px 0 0}
.ads-report .review-code code,.ads-report .review-codes code{font-size:var(--ds-font-xs);background:var(--canvas);padding:0 4px;border-radius:4px;overflow-wrap:anywhere}
.ads-report .review-codes{font-size:12px;margin-top:6px}
.ads-report .review-codes summary{cursor:pointer;min-height:44px;align-content:center;color:var(--accent-dark)}
.ads-report .review-codes ul{margin:4px 0 0;padding-left:18px;line-height:1.7}
.ads-report .review-action{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.ads-report .review-action small{font-size:var(--ds-font-xs);color:var(--muted);line-height:1.45}
.ads-report .review-button{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:4px 14px;border:1px solid var(--line);border-radius:8px;background:var(--ds-surface);color:var(--accent-dark);font:inherit;font-size:13px;font-weight:600;text-decoration:none;cursor:pointer}
.ads-report .review-button:hover{border-color:var(--accent)}
.ads-report .review-button:focus-visible,.ads-report .review-codes summary:focus-visible,.ads-report .review-more summary:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.ads-report .review-no-action{font-size:var(--ds-font-xs);color:var(--muted);margin:0}
.ads-report .review-more{border-top:1px solid var(--ds-line)}
.ads-report .review-more summary{cursor:pointer;min-height:44px;align-content:center;font-size:13px;font-weight:600;color:var(--accent-dark)}
.ads-report .review-empty,.ads-report .review-restricted{font-size:12px;color:var(--muted);margin:12px 0 0}
@media(max-width:1000px){.ads-report .review-item{grid-template-columns:minmax(0,1fr)}.ads-report .review-state{flex-direction:row;flex-wrap:wrap;align-items:center}.ads-report .review-action{flex-direction:row;flex-wrap:wrap;align-items:center}}
@media(max-width:700px){.ads-report .review-queue{padding:16px 14px}.ads-report .review-head{flex-direction:column;gap:6px}.ads-report .review-summary{white-space:normal}.ads-report .review-steps{grid-template-columns:1fr}.ads-report .metric-states{gap:4px 14px}}

/* Collection and review are separate states. Diagnosis is a read-only disclosure. */
.ads-report .recovery-plan{margin:20px 0 28px;border:1px solid var(--line);border-radius:var(--ds-radius-lg);background:var(--ds-surface)}
.ads-report .recovery-plan>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:16px 22px;cursor:pointer;list-style:none}
.ads-report .recovery-plan>summary::-webkit-details-marker{display:none}
.ads-report .recovery-plan>summary strong{font-size:14px}
.ads-report .recovery-plan>summary small{display:block;color:var(--muted);font-size:var(--ds-font-xs);margin-top:5px}
.ads-report .recovery-plan>summary:focus-visible{outline:2px solid var(--blue,#0873ce);outline-offset:3px;border-radius:var(--ds-radius-lg)}
.ads-report .recovery-content{padding:0 22px 22px;font-size:12px;line-height:1.7}
.ads-report .recovery-stages{display:flex;flex-wrap:wrap;gap:8px 26px;padding:12px 0 12px 20px;color:var(--muted)}
.ads-report .recovery-items{list-style:none;padding:0;margin:8px 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.ads-report .recovery-items li{border-top:1px solid var(--line);padding:14px 0;min-width:0}
.ads-report .recovery-items li>div{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.ads-report .recovery-items p{margin:7px 0 0;color:var(--muted);overflow-wrap:anywhere}
.ads-report .recovery-state{font-size:var(--ds-font-xs);color:var(--ds-warn);background:var(--ds-warn-soft);padding:2px 7px;border-radius:5px}
.ads-report .recovery-state.is-complete{background:var(--ds-ok-soft);color:var(--ds-ok)}
.ads-report .recovery-next strong{font-weight:600;color:var(--ink,#172029)}
.ads-report .ga4-traffic>h3{font-size:16px;margin:0 0 16px}
.ads-report .ga4-sns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.ads-report .ga4-sns>div{border:1px solid var(--line);border-radius:10px;padding:13px 15px;min-width:0}
.ads-report .ga4-sns span,.ads-report .ga4-sns strong,.ads-report .ga4-sns small{display:block}
.ads-report .ga4-sns span{font-size:12px}
.ads-report .ga4-sns strong{font-size:18px;margin:6px 0}
.ads-report .ga4-sns small{font-size:var(--ds-font-xs);color:var(--muted);font-weight:400}
@media(max-width:600px){
 .ads-report .recovery-plan>summary{padding:16px}
 .ads-report .recovery-content{padding:0 16px 18px}
 .ads-report .recovery-items{grid-template-columns:1fr}
 .ads-report .ga4-sns{gap:6px}
 .ads-report .ga4-sns>div{padding:10px 8px}
 .ads-report .media-table.attribution-table thead{display:table-header-group}
 .ads-report .media-table.attribution-table tbody{display:table-row-group}
 .ads-report .media-table.attribution-table tr{display:table-row}
 .ads-report .media-table.attribution-table th,.ads-report .media-table.attribution-table td{display:table-cell;padding:12px 5px;white-space:normal;font-size:var(--ds-font-xs);line-height:1.5;border-bottom:1px solid var(--line)}
 .ads-report .media-table.attribution-table td::before,.ads-report .media-table.attribution-table td::after{content:none}
 .ads-report .media-table.attribution-table th:first-child{width:40%}
}

/* SNS profile link → homepage inflows: reuses the KPI card grid, kept as its own section. */
.ads-report .sns-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.ads-report .sns-section .metric-foot{line-height:1.6;overflow-wrap:anywhere}
.ads-report .sns-section .sns-source{margin-top:12px}
.ads-report .sns-section .sns-missing{color:var(--muted)}
@media(max-width:1000px){.ads-report .sns-metrics{grid-template-columns:1fr 1fr}}

/* SNS → homepage: post links and profile links share the section, one view at a time. */
.ads-report .sns-view-switch{margin:2px 0 18px}
.ads-report .sns-view[hidden]{display:none}
.ads-report .sns-view-title{font-size:16px}
.ads-report .sns-view-title:focus{outline:none}
.ads-report .sns-view-title:focus-visible{outline:3px solid var(--ds-accent);outline-offset:3px}
.ads-report .sns-view-desc{font-size:12px;color:var(--muted);margin:4px 0 14px}
.ads-report .sns-post-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:14px}
.ads-report .sns-post-filters label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.ads-report .sns-post-filters select{min-width:120px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--ds-surface);color:var(--ink);font-size:13px}
.ads-report .sns-link-chip{display:flex;align-items:center;gap:8px;max-width:100%;padding:0 4px 0 12px;border-radius:999px;background:var(--accent-soft);color:var(--accent-dark);font-size:12px;min-width:0}
.ads-report .sns-link-chip strong{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.ads-report .sns-link-chip button,.ads-report .sns-post-detail-head button{padding:0 12px;border-radius:999px;font-size:12px;color:var(--accent-dark);text-decoration:underline;text-underline-offset:3px;flex:0 0 auto}
.ads-report .sns-none{font-size:14px;font-weight:500;letter-spacing:-.02em;color:var(--muted);white-space:normal}
.ads-report .sns-post-categories{margin-top:18px}
.ads-report .sns-post-categories h4,.ads-report .sns-post-list-title{font-size:13px;font-weight:600;margin:0 0 8px}
.ads-report .sns-post-list-title{margin-top:24px}
.ads-report .sns-post-list-title span{font-weight:400;color:var(--muted);margin-left:4px}
.ads-report .sns-post-categories ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.ads-report .sns-post-categories li{display:flex;align-items:baseline;gap:6px;border:1px solid var(--line);border-radius:999px;padding:5px 12px;font-size:12px;background:var(--ds-surface)}
.ads-report .sns-post-categories li strong{font-variant-numeric:tabular-nums}
.ads-report .sns-post-categories li small{font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report .sns-post-categories li.is-selected{border-color:var(--accent);background:var(--accent-soft)}
.ads-report .sns-post-categories li[data-state=open]{background:var(--amber-bg)}
.ads-report .sns-post-table{background:var(--ds-surface)}
.ads-report .sns-post-table th,.ads-report .sns-post-table td{text-align:left;vertical-align:middle}
.ads-report .sns-post-table .post-value{text-align:right;white-space:nowrap}
.ads-report .sns-post-table .post-value small{display:block;font-size:var(--ds-font-xs)}
.ads-report .sns-post-table .post-date,.ads-report .sns-post-table .post-platform{white-space:nowrap}
.ads-report .sns-post-table th.post-title{color:var(--ink);font-size:13px;font-weight:500;border-bottom:1px solid var(--ds-line);padding:4px 10px}
.ads-report .post-title button{text-align:left;padding:0;line-height:1.45;overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:var(--ds-line-strong);text-underline-offset:3px}
.ads-report .post-title button[aria-pressed=true]{color:var(--accent-dark);font-weight:650}
.ads-report .sns-post-table tr.is-selected td,.ads-report .sns-post-table tr.is-selected th{background:var(--accent-soft)}
.ads-report .sns-post-original{color:var(--accent-dark);white-space:nowrap;display:inline-flex;align-items:center;min-height:44px}
.ads-report .sns-post-detail{margin-top:18px;background:var(--ds-surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px}
.ads-report .sns-post-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ads-report .sns-post-detail-head h4{margin:0;font-size:16px;font-weight:650;overflow-wrap:anywhere;min-width:0;padding-top:10px}
.ads-report .sns-post-detail dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.ads-report .sns-post-detail dl div{background:var(--canvas);border-radius:10px;padding:10px 12px;min-width:0}
.ads-report .sns-post-detail dt{font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report .sns-post-detail dd{margin:3px 0 0;font-size:13px;overflow-wrap:anywhere}
.ads-report .sns-post-detail code,.ads-report .sns-link-absent code{font-size:var(--ds-font-xs);word-break:break-all}
.ads-report .sns-post-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.ads-report .sns-post-actions small{font-size:var(--ds-font-xs);color:var(--muted);flex-basis:100%}
.ads-report .sns-post-days{max-width:420px}
@media(max-width:1000px){.ads-report .sns-post-detail dl{grid-template-columns:1fr 1fr}}
@media(max-width:700px){
 .ads-report .sns-view-switch{display:flex}
 .ads-report .sns-post-filters label{flex:1 1 140px}
 .ads-report .sns-post-filters select{flex:1;min-width:0}
 .ads-report .sns-link-chip{flex-basis:100%}
 .ads-report .sns-post-table thead{display:none}
 .ads-report .sns-post-table,.ads-report .sns-post-table tbody{display:block}
 .ads-report .sns-post-table tr{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:2px 10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
 .ads-report .sns-post-table th,.ads-report .sns-post-table td{border:0;padding:0;font-size:12px}
 .ads-report .sns-post-table th.post-title{grid-row:1;grid-column:1 / -1;padding:0;border:0;font-size:14px}
 .ads-report .sns-post-table .post-date{grid-row:2;grid-column:1;color:var(--muted)}
 .ads-report .sns-post-table .post-platform{grid-row:2;grid-column:2}
 .ads-report .sns-post-table .post-category{grid-row:2;grid-column:3;color:var(--muted)}
 .ads-report .sns-post-table .post-value{grid-row:2 / 4;grid-column:4;font-size:17px;font-weight:600}
 .ads-report .sns-post-table .post-link{grid-row:3;grid-column:1 / 4}
 .ads-report .post-title button{min-height:44px}
 .ads-report .sns-post-detail{padding:16px}
 .ads-report .sns-post-detail dl{grid-template-columns:1fr 1fr;gap:6px}
}

/* Keep the in-progress explanation for today inside its card on narrow screens. */
.ads-report .metric-value.inquiry-today{flex-direction:column;align-items:flex-start;gap:4px;white-space:normal}
.ads-report .metric-value.inquiry-today .unit{font-size:var(--ds-font-xs);line-height:1.45;max-width:100%}

/* Contact volume versus new leads: three totals, then one compact split row. */
.ads-report .contact-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}
.ads-report .contact-totals div{background:var(--canvas);border-radius:10px;padding:12px 14px;min-width:0}
.ads-report .contact-totals dt{font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report .contact-totals dd{margin:4px 0 0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px}
.ads-report .contact-totals dd strong{font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}
.ads-report .contact-totals dd span{font-size:12px;color:var(--muted)}
.ads-report .contact-totals dd small{flex-basis:100%;font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report .contact-split{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:12px 0 0;padding:0}
.ads-report .contact-split li{display:flex;align-items:baseline;gap:6px;border:1px solid var(--ds-line);border-radius:999px;padding:4px 12px;font-size:12px}
.ads-report .contact-split li strong{font-variant-numeric:tabular-nums}
.ads-report .contact-split li.is-pending{background:var(--amber-bg);color:var(--amber);border-color:transparent}
.ads-report .contact-breakdown .quiet-note{margin-top:10px}
@media(max-width:700px){.ads-report .contact-totals{grid-template-columns:1fr}.ads-report .contact-totals dd strong{font-size:18px}}
/* Dropdown calendars (analysis, comparison, graph range): anchored under their button, never a modal. */
.ads-report .date-anchor{position:relative;display:inline-flex;align-items:center}
.ads-report .date-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:max-content;max-width:calc(100vw - 32px);padding:14px 16px 12px;background:var(--ds-surface);border:1px solid var(--line);border-radius:var(--ds-radius-lg);box-shadow:0 14px 40px #0000001f;color:var(--ink);font-size:13px;text-align:left;letter-spacing:-.01em}
.ads-report .date-popover[hidden]{display:none}
/* Text rows wrap to the month grids instead of widening the panel (zero intrinsic width, full used width). */
.ads-report .date-popover .date-chosen,.ads-report .date-popover .date-hint,.ads-report .date-popover .error-text{width:0;min-width:100%}
.ads-report .date-anchor.align-start .date-popover{left:0;right:auto}
.ads-report .date-popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ads-report .date-popover-head strong{font-size:15px;font-weight:650}
.ads-report .date-close{min-width:44px;font-size:24px;font-weight:300;border-radius:8px;color:var(--muted);display:inline-grid;place-items:center}
.ads-report .date-presets{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 8px}
.ads-report .date-presets button{min-height:36px;padding:0 14px;border:1px solid var(--line);border-radius:999px;font-size:12px}
.ads-report .date-months{display:flex;align-items:flex-start;gap:14px}
.ads-report .date-nav{display:inline-grid;place-items:center;min-width:36px;min-height:36px;margin-top:4px;border-radius:8px;font-size:22px;line-height:1}
.ads-report .date-nav:disabled{color:var(--ds-ink-3);cursor:not-allowed}
.ads-report .date-grid{width:auto;border-collapse:separate;border-spacing:0 2px;table-layout:auto;font-size:13px;text-align:center}
.ads-report .date-grid caption{font-size:13px;font-weight:650;padding:10px 0 6px;text-align:center;color:var(--ink)}
.ads-report .date-grid th,.ads-report .date-grid th:first-child{padding:4px 0;font-size:var(--ds-font-xs);font-weight:500;color:var(--muted);text-align:center;border:0}
.ads-report .date-grid th.sun{color:var(--ds-danger)}
.ads-report .date-grid td,.ads-report .date-grid td:first-child{padding:0;text-align:center;border:0}
.ads-report .date-day{width:36px;height:36px;min-height:0;border-radius:8px;font-size:13px;font-variant-numeric:tabular-nums}
.ads-report .date-day:hover:not(:disabled){background:var(--ds-sunken)}
.ads-report .date-day:focus-visible{outline:2px solid var(--accent);outline-offset:0}
.ads-report .date-day:disabled{color:var(--ds-ink-3);cursor:not-allowed}
.ads-report .date-day.in-range,.ads-report .date-day.in-preview{background:var(--accent-soft);border-radius:0}
.ads-report .date-day.is-start,.ads-report .date-day.is-end{background:var(--accent-dark);color:var(--ds-on-accent);font-weight:650;border-radius:8px}
.ads-report .date-day.is-today:not(.is-start):not(.is-end){box-shadow:inset 0 0 0 1px var(--accent)}
.ads-report .date-chosen{margin-top:8px;font-size:12px;font-weight:600}
.ads-report .date-hint{margin-top:2px;font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report .date-popover .error-text{margin-top:4px;min-height:0}
.ads-report .date-popover .error-text:empty{display:none}
.ads-report .date-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.ads-report .date-actions button{min-height:40px}
.ads-report .date-anchor .comparison-date{min-height:40px}
/* Graph range and metric slots (ad-console style: pick up to three, each with its own colour). */
.ads-report .trend-range{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.ads-report .trend-step{min-width:40px;min-height:40px;border:1px solid var(--line);border-radius:8px;background:var(--ds-surface);font-size:18px;line-height:1}
.ads-report .trend-step:disabled{color:var(--ds-ink-3);cursor:not-allowed}
.ads-report .trend-date{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--ds-surface);font-size:13px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}
.ads-report .trend-date .calendar-icon{width:15px;height:15px;color:var(--muted);flex:none}
.ads-report .trend-reset{min-height:40px;padding:0 6px;font-size:12px;color:var(--accent-dark);text-decoration:underline;text-underline-offset:3px}
.ads-report .trend-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}
.ads-report .trend-metric{border:1px solid var(--line);border-radius:var(--ds-radius-md);background:var(--ds-surface);padding:6px 14px 12px}
.ads-report .trend-metric.is-empty{background:var(--ds-sunken);border-style:dashed}
.ads-report .trend-metric-pick{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--ds-line)}
.ads-report .trend-metric select{flex:1;min-width:0;border:0;background:transparent;font-size:13px;font-weight:600;color:var(--ink)}
.ads-report .series-dot{display:block;width:9px;height:9px;border-radius:50%;background:var(--ds-line-strong);flex:none}
.ads-report .trend-metric.slot-0 .series-dot{background:var(--ds-series-1)}
.ads-report .trend-metric.slot-1 .series-dot{background:var(--ds-series-2)}
.ads-report .trend-metric.slot-2 .series-dot{background:var(--ds-series-3)}
.ads-report .trend-metric.is-empty .series-dot{background:var(--ds-line-strong)}
.ads-report .trend-metric-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;margin-top:8px;min-height:32px}
.ads-report .trend-metric-value strong{font-size:22px;font-weight:650;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.ads-report .trend-metric-value strong .unit{margin-left:3px}
.ads-report .trend-metric-value strong.is-muted{font-size:15px;font-weight:550;color:var(--muted)}
.ads-report .trend-metric-value small{font-size:var(--ds-font-xs);color:var(--muted)}
.ads-report .legend .slot-1 i{border-color:var(--ds-series-2)}
.ads-report .legend .slot-2 i{border-color:var(--ds-series-3)}
.ads-report .chart-tip.slot-1 .tip-current dt i,.ads-report .chart-tip .tip-metric.slot-1 dt i{border-color:var(--ds-series-2)}
.ads-report .chart-tip.slot-2 .tip-current dt i,.ads-report .chart-tip .tip-metric.slot-2 dt i{border-color:var(--ds-series-3)}
.ads-report .chart-tip .tip-metric dt i{border-top-width:3px}
.ads-report .chart-tip .tip-not_applicable dd b{color:var(--muted)}
/* Cold e-mail visits: one card in the SNS card style. */
.ads-report .coldmail-metrics{grid-template-columns:minmax(0,380px);width:fit-content;max-width:100%}
.ads-report .coldmail-section .metric-foot{line-height:1.6;overflow-wrap:anywhere}
.ads-report .coldmail-section .sns-source{margin-top:12px}
.ads-report .coldmail-section .sns-missing{color:var(--muted)}
@media(max-width:1000px){.ads-report .trend-section .section-heading{flex-direction:column;align-items:stretch}
.ads-report .trend-range{justify-content:flex-start}
.ads-report .trend-range .date-popover{left:0;right:auto}
}
@media(max-width:700px){.ads-report .date-anchor{position:static;display:block}
.ads-report .trend-section .trend-range{margin-top:14px}
.ads-report .period-controls,.ads-report .trend-range{position:relative}
.ads-report .date-popover,.ads-report .date-anchor.align-start .date-popover{top:calc(100% + 6px);left:0;right:0;width:auto;max-width:none;padding:12px 10px}
.ads-report .date-months{gap:4px;justify-content:center}
.ads-report .date-day{width:min(40px,calc((100vw - 150px) / 7));height:40px}
.ads-report .date-nav{min-width:32px}
.ads-report .trend-range{flex-wrap:nowrap}
.ads-report .trend-range>.date-anchor{flex:1;min-width:0}
.ads-report .trend-date{width:100%;justify-content:center;min-height:44px}
.ads-report .trend-step{min-width:44px;min-height:44px}
.ads-report .trend-reset{white-space:nowrap}
.ads-report .trend-metrics{grid-template-columns:1fr;gap:6px}
.ads-report .trend-metric{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 12px}
.ads-report .trend-metric-pick{flex:1;min-width:0;border:0}
.ads-report .trend-metric-value{margin:0;min-height:0;justify-content:flex-end;text-align:right}
.ads-report .trend-metric-value strong{font-size:17px}
.ads-report .trend-metric-value small{flex-basis:100%}
.ads-report .date-anchor .date-button{width:100%}
}

/* B5: period events and the current snapshot share the existing report card language. */
.ads-report .pipeline-section{min-width:0}
.ads-report .pipeline-section>h3{margin:28px 0 12px;font-size:17px}
.ads-report .pipeline-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ads-report .pipeline-card{min-width:0;padding:18px;border:1px solid var(--line);border-radius:var(--ds-radius-md);overflow-wrap:anywhere}
.ads-report .pipeline-card h4{margin:0 0 12px;font-size:14px}
.ads-report .pipeline-value{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;font-size:22px;font-variant-numeric:tabular-nums}
.ads-report .pipeline-value small{flex-basis:100%;font-size:12px;color:var(--muted)}
.ads-report .pipeline-value .is-muted{font-size:16px;color:var(--muted)}
.ads-report .pipeline-card ul{padding-left:16px;margin:12px 0;font-size:12px;line-height:1.8}
.ads-report .pipeline-card li small{display:block}
.ads-report .pipeline-note{margin:12px 0 0;font-size:12px;line-height:1.6;color:var(--muted)}
.ads-report .pipeline-filter{display:flex;align-items:center;gap:8px;font-size:13px}
.ads-report .pipeline-filter select{min-height:44px;max-width:100%;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:var(--ds-surface)}
.ads-report [data-pipeline-retry]{min-height:44px}
.ads-report .pipeline-buckets{display:flex;flex-wrap:wrap;gap:16px;margin:0;font-size:14px}
.ads-report .pipeline-buckets dd{margin:6px 0 0;font-weight:600}
.ads-report .pipeline-section .table-scroll{max-width:100%;margin-top:24px}
.ads-report .pipeline-section .table-scroll:focus-visible{outline:3px solid var(--ds-accent);outline-offset:3px}
.ads-report .pipeline-cohorts{min-width:1000px;width:100%;font-size:12px;border-collapse:collapse}
.ads-report .pipeline-cohorts caption{text-align:left;padding:12px 0;font-weight:600}
.ads-report .pipeline-cohorts th,.ads-report .pipeline-cohorts td{padding:12px 10px;white-space:nowrap;border-bottom:1px solid var(--line);text-align:right}
.ads-report .pipeline-cohorts th:first-child{text-align:left}
.ads-report .pipeline-cohorts small{display:block;font-size:var(--ds-font-xs)}
.ads-report .pipeline-observation{overflow-wrap:anywhere;font-size:var(--ds-font-xs);line-height:1.8}
@media(max-width:1000px){.ads-report .pipeline-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ads-report .pipeline-cards{grid-template-columns:minmax(0,1fr)}.ads-report .pipeline-section .section-heading{flex-direction:column;align-items:stretch}.ads-report .pipeline-filter{margin-top:12px}}

.ads-report .core-metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.ads-report [data-pipeline-highlights]{display:contents}
.ads-report .core-metrics .metric{padding:16px 12px;min-width:0}
.ads-report .core-metrics .metric-value{font-size:24px;flex-wrap:wrap;overflow-wrap:anywhere}
.ads-report .metric-status{display:block;flex-basis:100%;font-size:12px;font-weight:400;color:var(--muted);line-height:1.5}
.ads-report .metric-value .is-muted{color:var(--muted)}
.ads-report .collection-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0;padding:0;border:0;background:transparent}
.ads-report .collection-status small{font-size:12px;color:var(--muted)}
.ads-report .report-stages{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
.ads-report .report-stage{flex:1;min-width:80px;font-size:13px}
.ads-report .report-stage>div{font-size:20px;margin-top:6px}
.ads-report .stage-ratio{flex:1;min-width:80px;color:var(--muted);font-size:var(--ds-font-xs)}
.ads-report .stage-ratio>span:not(.badge),.ads-report .stage-ratio small{display:block}
.ads-report .stage-ratio strong{font-size:12px}
.ads-report .report-stages>p{flex-basis:100%;margin:0}
.ads-report .report-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-top:24px}
.ads-report .report-tabs button{flex:1;min-height:44px;padding:8px;color:var(--muted);border-bottom:2px solid transparent}
.ads-report .report-tabs [aria-selected="true"]{color:var(--accent-dark);border-bottom-color:var(--accent);font-weight:600}
.ads-report [data-report-panel][hidden]{display:none}
.ads-report .channel-details{border-bottom:1px solid var(--line);padding:8px 0}
.ads-report .channel-details>summary{font-size:14px;font-weight:600;min-height:44px;display:flex;align-items:center;cursor:pointer}
.ads-report .channel-details>summary::before{content:'＋';margin-right:8px}
.ads-report .channel-details[open]>summary::before{content:'−'}
.ads-report .channel-details .section{margin-top:12px;padding-top:12px;border:0}
.ads-report .channel-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}
.ads-report .pipeline-line{font-size:12px;line-height:1.7;margin:10px 0}
.ads-report .pipeline-card>details>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:12px;color:var(--muted)}
.ads-report .pipeline-secondary .pipeline-value{font-size:15px}
.ads-report .pipeline-card>details{border:0;background:transparent}
.ads-report .report-tabs button:focus-visible,.ads-report summary:focus-visible,.ads-report [data-review-jump]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.ads-report button,.ads-report select,.ads-report summary{min-height:44px}
.ads-report [data-report-panel]{min-width:0}
.ads-report .report-state-legend{font-size:12px}
@media(max-width:1000px){.ads-report .core-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.ads-report .core-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ads-report .report-tabs{gap:0}.ads-report .report-tabs button{font-size:12px}.ads-report .report-stages{gap:10px}.ads-report .channel-metrics{grid-template-columns:minmax(0,1fr)}}
.ads-report .core-metrics .metric-value{white-space:normal;font-size:22px}
.ads-report .core-metrics .metric-value strong{min-width:0;overflow-wrap:anywhere}
.ads-report .metric-value:has(.metric-status){flex-wrap:wrap}
.ads-report .report-stage .is-muted{color:var(--muted)}
.ads-report .report-stages .unit{font-size:12px}

.ads-report .source-total:has(.metric-status){flex-wrap:wrap}
.ads-report .source-total .is-muted{color:var(--muted);font-size:16px;font-weight:400}
.ads-report .metric-value .is-muted,.ads-report .report-stage .is-muted{font-weight:400}

.coldmail-detail-filter { display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin:16px 0; }
.coldmail-detail-filter label { display:grid; gap:6px; flex:1 1 140px; min-width:0; }
.coldmail-detail-filter select { width:100%; min-height:44px; max-width:100%; }
.coldmail-detail .metric-value { font-size:clamp(1.4rem,3vw,2.4rem); }
.coldmail-detail .quiet-note { overflow-wrap:anywhere; }
.ads-report .coldmail-collection{font-size:var(--ds-font-xs);color:var(--muted);margin:12px 0;overflow-wrap:anywhere}
.ads-report .coldmail-collection p+p{margin-top:4px}

/* Registered-link arrivals are independent from the imported GA4/Cafe24 totals. */
.sns-measurement .sns-measurement-basis{font-size:12px;color:var(--muted,#656b72);margin:0 0 18px}
.sns-measurement-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sns-measurement-cards article{padding:18px;border:1px solid var(--line,#ddd);border-radius:var(--ds-radius-md);display:flex;flex-direction:column;gap:9px;min-width:0}
.sns-measurement-cards strong{font-size:30px;font-variant-numeric:tabular-nums}.sns-measurement-cards small,.sns-measurement-health{font-size:12px;color:var(--muted,#656b72)}
.sns-measurement-empty{font-size:14px;font-weight:500}.sns-measurement-health{display:flex;flex-wrap:wrap;gap:8px 20px;padding:12px 0;border-top:1px solid var(--line,#ddd)}
.sns-measurement .sns-platform-tabs{margin-top:15px}
.sns-measurement button:focus-visible,.sns-measurement summary:focus-visible{outline:3px solid var(--ds-warn);outline-offset:3px}
.sns-measurement-table{min-width:680px}.sns-measurement-table th small{display:block;max-width:300px;white-space:normal;font-weight:400;margin-top:5px}.sns-measurement-table td{text-align:right;font-variant-numeric:tabular-nums}
.sns-measurement-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;padding:0;list-style:none}.sns-measurement-days li{display:flex;justify-content:space-between;gap:10px;font-size:12px}
.sns-measurement-warning{color:var(--ds-warn);background:var(--ds-warn-soft);padding:12px;border-radius:8px}.sns-measurement summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
@media(max-width:768px){.sns-measurement-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sns-measurement-cards article{padding:14px}.sns-measurement-cards strong{font-size:26px}}

.sns-measurement{background:var(--ds-surface);border:1px solid var(--ds-line);border-radius:var(--ds-radius-lg);padding:24px;box-shadow:0 2px 4px #1e293b08;scroll-margin-top:64px}
.sns-measurement .sns-placement-filter{display:flex;align-items:center;gap:10px;margin:14px 0;font-size:13px}.sns-placement-filter select{min-height:44px;border:1px solid var(--ds-line-strong);border-radius:7px;padding:8px;background:var(--ds-surface);font:inherit}
.sns-measurement-scroll-note{display:none}.sns-measurement .table-scroll:focus-visible{outline:3px solid var(--ds-warn);outline-offset:2px}
@media(max-width:768px){.sns-measurement{padding:18px 14px}.sns-measurement-scroll-note{display:block}}

.ads-report .measurement-detail-table{min-width:860px;table-layout:auto}
.ads-report .acquisition-section .attribution-table{table-layout:fixed;min-width:0;margin:0 0 14px}
.ads-report .acquisition-section .attribution-table th:first-child{width:44%}
.ads-report .measurement-detail-table th,.ads-report .measurement-detail-table td{word-break:normal;overflow-wrap:anywhere;min-width:90px;line-height:1.6}
.ads-report .acquisition-section .table-scroll:focus-visible,.ads-report .ga4-traffic .table-scroll:focus-visible{outline:3px solid var(--ds-accent);outline-offset:3px}
/* Chart colours are written as SVG attributes by ads-report.js; CSS maps them to tokens so the chart follows light/dark. */
.ads-report .chart [stroke="#e1e1e5"]{stroke:var(--ds-line)}
.ads-report .chart [stroke="#b8b8bf"]{stroke:var(--ds-line-strong)}
.ads-report .chart circle[fill="#fff"]{fill:var(--ds-surface)}
.ads-report .chart [stroke="#76767d"]{stroke:var(--ds-series-muted)}
.ads-report .chart [stroke="#0071e3"]{stroke:var(--ds-series-1)}
.ads-report .chart [stroke="#e8590c"]{stroke:var(--ds-series-2)}
.ads-report .chart [stroke="#c2255c"]{stroke:var(--ds-series-3)}
.ads-report .chart [stroke="#a56a17"]{stroke:var(--ds-warn)}
.ads-report .chart [fill="#0071e3"]{fill:var(--ds-series-1)}
.ads-report .chart [fill="#e8590c"]{fill:var(--ds-series-2)}
.ads-report .chart [fill="#c2255c"]{fill:var(--ds-series-3)}
.ads-report .attribution-table{background:var(--ds-surface)}
.ads-report .date-button .ds-icon{width:var(--ds-icon-sm);height:var(--ds-icon-sm);color:var(--muted);vertical-align:-3px}
.ads-report .trend-step{display:inline-grid;place-items:center;color:var(--ds-ink-2)}
@media(max-width:480px){.ads-report .presets button{flex:1 1 auto;padding:0 6px;white-space:nowrap}}
/* Header period control (rendered in the screen header, outside the report body). */
.adv-page-header .ads-period-dates .date-button{min-height:var(--ds-control-md);padding:0 var(--ds-space-3);border:1px solid var(--ds-line-strong);border-radius:var(--ds-radius-md);background:var(--ds-surface);font-size:var(--ds-font-sm);font-weight:var(--ds-weight-strong);gap:var(--ds-space-2)}
.adv-page-header .ads-period-dates .date-button:hover{background:var(--ds-sunken);filter:none}
.adv-page-header .comparison-controls{gap:var(--ds-space-1);font-size:var(--ds-font-sm);color:var(--ds-ink-2)}
.adv-page-header .comparison-controls label{font-weight:var(--ds-weight-medium);color:var(--ds-ink-2)}
.adv-page-header .comparison-controls select{min-height:var(--ds-control-md);max-width:none;font-size:var(--ds-font-sm);color:var(--ds-ink);padding:0 var(--ds-space-1)}
.adv-page-header .comparison-date{min-height:var(--ds-control-md);font-size:var(--ds-font-sm);color:var(--ds-ink-2)}
.adv-page-header .ads-presets>button{min-height:var(--ds-control-sm)}
@media(max-width:900px),(pointer:coarse){.adv-page-header .ads-period-dates .date-button,.adv-page-header .comparison-controls select,.adv-page-header .comparison-date,.adv-page-header .ads-presets>button{min-height:var(--ds-touch)}}
@media(max-width:600px){.adv-page-header .ads-period-dates .date-button{width:100%;justify-content:space-between}.adv-page-header .comparison-controls{justify-content:flex-start}}
/* The one "needs checking" line: shown only when the review queue has items or the comparison is unequal. */
.ads-report .ads-notice{display:flex;align-items:center;flex-wrap:wrap;gap:var(--ds-space-1) var(--ds-space-4);margin:0 0 var(--ds-space-4)}
.ads-report .ads-notice-jump{display:inline-flex;align-items:center;gap:var(--ds-space-2);min-height:var(--ds-control-md);padding:0 var(--ds-space-3) 0 var(--ds-space-2);border-radius:var(--ds-radius-md);color:var(--ds-warn);font-size:var(--ds-font-sm);font-weight:var(--ds-weight-strong)}
.ads-report .ads-notice-jump:hover{background:var(--ds-warn-soft);filter:none}
.ads-report .ads-notice-jump .ds-icon{width:var(--ds-icon-sm);height:var(--ds-icon-sm)}
.ads-report .ads-notice .period-feedback{margin:0;font-size:var(--ds-font-xs);color:var(--ds-ink-2)}
/* Summary row: 광고비 · 문의 수 · SNS 유입 · 콜드메일 유입 · 홈페이지 방문 in one box. */
.ads-report .summary-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
.ads-report .summary-metrics>.metric{padding:var(--ds-space-4) var(--ds-space-4) var(--ds-space-3)}
.ads-report .summary-metrics .metric-heading{white-space:nowrap}
.ads-report .summary-metrics .metric-value{font-size:var(--ds-font-3xl);min-height:36px;align-items:baseline}
.ads-report .summary-metrics .metric-value:has(.long-number){font-size:24px}
.ads-report .summary-metrics .metric-foot{font-size:var(--ds-font-xs);margin-top:var(--ds-space-2);color:var(--ds-ink-2)}
.ads-report .summary-metrics .delta{margin-top:var(--ds-space-1)}
.ads-report .summary-metrics .metric-note{display:block;flex-basis:100%;font-size:var(--ds-font-xs);font-weight:var(--ds-weight-regular);color:var(--ds-ink-2);letter-spacing:0;white-space:normal}
@container adv (max-width:1000px){
  .ads-report .summary-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}
  .ads-report .summary-metrics>.metric{grid-column:span 2}
  .ads-report .summary-metrics>.metric:nth-child(-n+2){grid-column:span 3}
  .ads-report .summary-metrics>.metric:nth-child(3){border-left:0}
  .ads-report .summary-metrics>.metric:nth-child(n+3){border-top:1px solid var(--line)}
}
@container adv (max-width:560px){
  .ads-report .summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ads-report .summary-metrics>.metric,.ads-report .summary-metrics>.metric:nth-child(-n+2){grid-column:span 1;padding:var(--ds-space-3)}
  .ads-report .summary-metrics>.metric:nth-child(odd){border-left:0}
  .ads-report .summary-metrics>.metric:nth-child(3){border-left:0}
  .ads-report .summary-metrics>.metric:nth-child(4){border-left:1px solid var(--line)}
  .ads-report .summary-metrics>.metric:nth-child(5){grid-column:1/-1}
  .ads-report .summary-metrics .metric-value{font-size:22px;min-height:30px}
  .ads-report .summary-metrics .metric-heading{white-space:normal}
}
/* A missing value is one quiet line everywhere: a dash and its reason at reading size. */
.ads-report .metric-value:has(> .metric-status),.ads-report .source-total:has(> .metric-status),.ads-report .pipeline-value:has(> .metric-status),.ads-report .report-stage>div:has(> .metric-status),.ads-report .stage-ratio:has(> .metric-status){flex-wrap:nowrap;align-items:baseline;gap:var(--ds-space-1)}
.ads-report strong.is-muted[aria-hidden="true"]{font-size:var(--ds-font-md);font-weight:var(--ds-weight-regular);color:var(--ds-ink-2);letter-spacing:0}
.ads-report .metric-status{display:inline;flex-basis:auto;font-weight:var(--ds-weight-regular);line-height:1.5;color:var(--ds-ink-2);letter-spacing:0}
.ads-report .stage-ratio>.metric-status,.ads-report .report-stage .metric-status{display:inline}
/* B2B figures once, folded under the daily numbers. */
.ads-report .b2b-summary{margin-top:var(--ds-space-6);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.ads-report .b2b-summary>summary{display:flex;align-items:center;gap:var(--ds-space-2);min-height:48px;font-size:var(--ds-font-md);font-weight:var(--ds-weight-strong);cursor:pointer;list-style:none}
.ads-report .b2b-summary>summary::-webkit-details-marker{display:none}
.ads-report .b2b-summary>summary::before{content:"";width:8px;height:8px;margin:0 4px 0 2px;border:solid var(--ds-ink-2);border-width:0 2px 2px 0;transform:rotate(-45deg);transition:transform var(--ds-duration) var(--ds-ease)}
.ads-report .b2b-summary[open]>summary::before{transform:rotate(45deg)}
.ads-report .b2b-summary-body{padding:var(--ds-space-2) 0 var(--ds-space-4)}
.ads-report .b2b-summary [data-pipeline-highlights]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px;box-shadow:none}
.ads-report .b2b-summary .report-stages{border-bottom:0}
.ads-report .b2b-summary .ds-button{min-height:var(--ds-control-sm)}
/* Design-system segmented controls inside the report (the report's own button reset would flatten them). */
.ads-report .ds-segmented>button{min-height:var(--ds-control-sm);border-radius:calc(var(--ds-radius-md) - 2px)}
.ads-report .ds-segmented>button:is([aria-pressed="true"],[aria-checked="true"]){background:var(--ds-raised)}
.ads-report .ds-segmented>button:hover{filter:none}
@media(max-width:900px),(pointer:coarse){.ads-report .ds-segmented>button{min-height:var(--ds-touch)}}
.sns-measurement-empty{font-size:var(--ds-font-md);font-weight:var(--ds-weight-regular);color:var(--ds-ink-2)}
.ads-report strong.is-muted[aria-hidden="true"]{display:inline}
.ads-report strong.is-muted[aria-hidden="true"]+.metric-status{display:inline;margin-left:var(--ds-space-1)}
.ads-report .ds-button{border:1px solid var(--ds-line-strong);background:var(--ds-surface)}
.ads-report .ds-button:hover{background:var(--ds-sunken);filter:none}
.ads-report .ds-button--link{border-color:transparent;background:transparent;color:var(--ds-accent)}
.ads-report .ds-button--link:hover{background:var(--ds-accent-soft)}
.ads-report .metric-status{font-size:var(--ds-font-md)}
.ads-report :is(td,.stage-ratio,.report-stage,.pipeline-secondary) :is(strong.is-muted[aria-hidden="true"],.metric-status){font-size:var(--ds-font-sm)}
.ads-report .media-table small{font-size:var(--ds-font-xs)}
/* Header calendars open under the header, inside the content edge (the period sits right of the title now). */
.adv-page-header .ads-period-dates .date-anchor{position:static}
@media(min-width:701px){
  .adv-page-header .ads-period-dates .date-popover{top:calc(100% + 8px);left:0;right:auto}
  .adv-page-header .comparison-controls .date-anchor.align-start .date-popover{left:auto;right:0}
}
@media(max-width:600px){.adv-page-header .ads-period-dates .date-button{padding:0 var(--ds-space-2) 0 var(--ds-space-3);gap:var(--ds-space-1);white-space:nowrap}}
/* Narrow screens: the graph's metric name keeps its full width (no "홈페이지 방…"); its value wraps under it if needed. */
.ads-report .trend-metric-value small{font-size:var(--ds-font-xs)}
@media(max-width:700px){
  .ads-report .trend-metric-pick{flex:1 1 0;min-width:min(58%,11rem)}
  .ads-report .trend-metric-value{flex:0 1 auto;min-width:0}
  .ads-report .trend-metric-value .metric-status{flex-basis:auto}
  /* The shared .attribution-table margin and box from styles.css pushed this table past its card. */
  .ads-report .media-table.attribution-table{margin:0;border:0;border-radius:0}
}
@media(max-width:900px),(pointer:coarse){.ads-report .ads-notice-jump{min-height:var(--ds-touch)}}
/* Today's 문의 수: dash and 집계 중 on one line, the explanation under it. */
.ads-report .metric-value.inquiry-today:has(> .metric-status){flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:0 var(--ds-space-1)}
/* Inside a sentence (B2B card lines, notes) a missing value takes the sentence's size. */
.ads-report :is(.pipeline-line,p,li) :is(strong.is-muted[aria-hidden="true"],.metric-status){font-size:inherit}

/* Information text is 12px at least: a <small> inside a table head would otherwise shrink below it. */
.ads-report th small{font-size:var(--ds-font-xs)}
/* Blue text on the canvas (outside a card) takes the strong accent so it reads at 4.5:1. */
.ads-report .b2b-summary .ds-button--link{color:var(--ds-accent-strong)}
