.social-toolbar,.social-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.social-toolbar{justify-content:space-between;margin:12px 0 22px}.social-filters label{display:grid;gap:7px;font-size:13px;font-weight:650}.social-filters select{min-width:160px}.social-example-control{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted)}.social-example-control input{width:18px;height:18px;accent-color:var(--green)}.social-example{display:flex;align-items:center;gap:15px;padding:16px 20px;margin-bottom:22px;border:1px solid #d9c88b;border-radius:10px;background:#fff9e6;color:#614e1b;font-size:13px}.social-example strong{white-space:nowrap}.social-metrics .metric{cursor:default;min-height:148px}.social-metrics .metric strong{font-size:35px}.social-platforms{margin:24px 0}.social-platforms .panel-heading,.social-posts .panel-heading{padding:24px 26px}.social-platforms h2,.social-detail-grid h2,.social-posts h2{margin:0;font-size:23px}.social-platforms .muted,.social-posts .muted{font-size:13px;margin:8px 0 0}.social-platforms table{width:100%;min-width:1020px}.social-platforms th{font-size:11px}.social-platforms td{font-size:14px;vertical-align:middle;font-variant-numeric:tabular-nums}.social-platform-label{display:flex;align-items:center;gap:13px;min-width:145px}.social-platform-label small{display:block;color:var(--muted);margin-top:5px;font-size:11px}.social-platform-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;color:#fff;background:#0c4c36;font-size:24px;font-weight:750;flex:none}.social-facebook{background:#1767d1}.social-instagram{background:#92502f}.social-tiktok{background:#19342c}.social-youtube{background:#bd3936;font-size:19px}.social-setup-button{background:transparent;border:1px solid var(--line);color:var(--green);border-radius:8px;padding:9px 15px;min-height:42px;cursor:pointer;font-size:12px;font-weight:650}.social-setup-button:hover{background:var(--pale)}.social-table-note{padding:17px 26px;border-top:1px solid var(--line);margin:0;font-size:12px;line-height:1.6}.social-detail-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(275px,1fr);gap:24px;margin:24px 0}.social-detail-grid>.panel{padding:26px;min-width:0}.social-trend{min-height:242px;display:flex;flex-direction:column;justify-content:center}.social-trend svg{display:block;width:100%;height:auto;max-height:235px;overflow:visible}.social-chart-line{fill:none;stroke:var(--green);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.social-chart-grid{stroke:#dce6df;stroke-width:1}.social-chart-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding:0 15px}.social-empty-state{color:var(--muted);font-size:14px;text-align:center;padding:45px 20px}.social-history summary{cursor:pointer;font-size:13px;font-weight:650;padding-top:20px}.social-history table{width:100%;min-width:300px}.social-history .table-scroll{max-height:250px;margin-top:15px}.social-ad-panel{background:#f1f6ed}.social-ad-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#dceacc;color:var(--green);font-weight:700;margin-bottom:20px;font-size:23px}.social-ad-panel>p{font-size:14px;line-height:1.7}.social-ad-panel .panel-note{font-size:12px;margin:20px 0}.social-ad-line{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);font-size:13px;padding:11px 0}.social-posts{margin:24px 0}.social-post{display:grid;grid-template-columns:minmax(0,1fr) 100px 100px;gap:20px;align-items:center;border-top:1px solid var(--line);padding:20px 26px;font-size:14px}.social-post small{display:block;margin-top:7px;font-size:11px;color:var(--muted)}.social-post>div:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}#social-setup-dialog{max-width:730px}#social-setup-dialog>.muted{font-size:14px;line-height:1.7}.social-provider-setup{padding:14px 0;border-bottom:1px solid var(--line)}#social-setup-content h3{font-size:18px;margin:15px 0 10px}#social-setup-content p,#social-setup-content li{font-size:14px;line-height:1.8}#social-setup-content ol{padding-left:24px}#social-setup-content li{margin:10px 0}#social-setup-content .field-help{font-size:12px}#social-status:empty{display:none}
.social-platforms .table-scroll{position:relative;max-width:100%}
.social-detail-grid{grid-template-columns:minmax(0,1fr)}
.social-chart-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0 14px}
.social-series-controls{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:12px;border:1px solid var(--line);border-radius:10px;padding:14px;margin:0;min-width:0}
.social-series-controls legend{font-size:13px;font-weight:700;padding:0 6px}
.social-series-controls label,.social-chart-options label,.social-custom-dates label{display:grid;gap:6px;min-width:0;font-size:12px;font-weight:650}
.social-series-controls select,.social-chart-options select{width:100%;min-width:0;font-size:13px;min-height:44px}
.social-series-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:7px;flex:none}
.series-one{background:#126449}.series-two{background:#a64d15}
.social-chart-options{display:flex;gap:14px;flex-wrap:wrap}.social-chart-options label{flex:0 1 200px}
.social-chart-legend{display:flex;gap:20px;flex-wrap:wrap;margin:22px 0 10px;font-size:13px}
.social-chart-legend small{display:block;color:var(--muted);font-size:12px;margin:5px 0 0 17px}
#social-setup-content .field-help{overflow-wrap:anywhere}
.social-chart-help{margin:8px 0 12px}.social-chart-help summary{cursor:pointer;font-size:12px;color:var(--green);padding:8px 0}
#social-chart-note{line-height:1.7;margin:8px 0 0}
.social-trend{min-height:0;margin-top:18px}.social-trend svg{max-height:none;overflow:hidden;touch-action:pan-y}
.social-trend svg:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:4px}
.social-chart-tick{font:11px system-ui,sans-serif;fill:#4d645a}
.social-axis-labels{display:flex;justify-content:space-between;gap:20px;font-size:12px;font-weight:650}.social-axis-labels span{max-width:46%;overflow-wrap:anywhere}.social-axis-labels span:last-child{text-align:right}
.social-chart-detail{min-height:42px;margin:8px 0 0;font-size:12px;line-height:1.65;color:var(--muted);font-variant-numeric:tabular-nums}
.social-history summary{min-height:44px}.social-history td,.social-history th{font-variant-numeric:tabular-nums;text-align:right}.social-history td:first-child,.social-history th:first-child{text-align:left}
.social-custom-dates{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:0 0 20px}.social-custom-dates input{min-height:44px;min-width:0}.social-custom-dates p{flex-basis:100%;margin:0}.social-custom-dates[hidden]{display:none}
@media(max-width:1100px){.social-chart-controls{grid-template-columns:1fr}}
@media(max-width:600px){.social-detail-grid>.social-trend-panel{padding:16px}.social-series-controls{grid-template-columns:minmax(0,1fr) 82px;padding:10px;gap:8px}.social-series-controls select{padding-left:8px;padding-right:24px;font-size:12px}.social-chart-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.social-chart-options select{font-size:12px;padding-left:8px;padding-right:24px}.social-chart-legend{display:grid;gap:12px}.social-custom-dates{display:grid;grid-template-columns:1fr 1fr}.social-custom-dates input{width:100%;font-size:13px}.social-custom-dates p{grid-column:1/-1}.social-custom-dates .button{grid-column:1/-1}.social-axis-labels{font-size:11px}}
@media(max-width:900px){.social-detail-grid{grid-template-columns:1fr}.social-platforms .panel-heading{display:block}.social-platforms #social-sync-note{margin-top:12px}.social-metrics .metric strong{font-size:30px}}
@media(max-width:600px){#social-view>.page-heading{display:block}#social-view>.page-heading>.button{margin-top:18px}.social-filters{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:12px}.social-filters select{min-width:0;width:100%}.social-example{align-items:start;flex-direction:column;gap:7px;line-height:1.6}.social-metrics .metric{min-height:142px}.social-metrics .metric strong{font-size:27px}.social-detail-grid>.panel{padding:20px}.social-platforms .panel-heading,.social-posts .panel-heading{padding:20px}.social-table-note{padding:15px 20px}.social-post{grid-template-columns:minmax(0,1fr) 70px;gap:12px;padding:19px 20px;font-size:13px}.social-post>div:last-child{display:none}.social-platforms table{min-width:950px}.social-trend{min-height:195px}}
.social-chart-mode{display:flex;gap:4px;background:#eef3f0;border-radius:10px;padding:4px;margin-bottom:20px;width:fit-content;max-width:100%}
.social-chart-mode button{border:0;background:transparent;color:#334f43;min-height:44px;padding:8px 14px;border-radius:7px;font:inherit;font-weight:650;cursor:pointer}
.social-chart-mode button[aria-pressed="true"]{background:#fff;color:#0b4934;box-shadow:0 1px 4px #123e241a}
.social-source-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.social-source-summary>div{padding-left:12px;border-left:3px solid #126449}
.social-source-summary>div:nth-child(2){border-color:#2469ad}.social-source-summary>div:nth-child(3){border-color:#7d8994}
.social-source-summary span{display:block;font-size:13px;color:#52675e;min-height:36px}.social-source-summary strong{display:block;font-size:24px;overflow-wrap:anywhere}
.social-chart-options .social-source-spend{display:flex;align-items:center;gap:10px;min-height:44px}.social-source-spend input{width:20px;height:20px}
.social-trend-panel [hidden]{display:none!important}

/* Social overview: advertising first, details on demand. */
#social-view .social-report-context{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 18px}
#social-view .social-report-context p{margin:0}
#social-view .social-report-context>p:first-child{font-weight:650}
#social-view .social-connection-alert{padding:14px 18px;border:1px solid #dfc78a;background:#fff8e5;border-radius:10px;font-size:14px}
#social-view .social-metrics{margin-bottom:24px}
#social-view .social-metrics .metric{min-height:132px}
#social-view .social-metrics .metric:first-child{background:#0e4937;color:#fff;border-color:#0e4937}
#social-view .social-metrics .metric:first-child small,#social-view .social-metrics .metric:first-child>span{color:#d9e9df}
#social-view .social-ad-platforms{padding:0;overflow:hidden}
#social-view .social-ad-platforms .panel-heading{padding:24px 26px 10px}
#social-view .social-ad-platforms h2,#social-view .social-audience h2{margin:0 0 8px}
#social-view .social-ad-platforms table,#social-view .social-audience table{width:100%;min-width:0;table-layout:auto}
#social-view .social-ad-platforms th,#social-view .social-ad-platforms td{padding:16px 18px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
#social-view .social-ad-platforms th:first-child,#social-view .social-ad-platforms td:first-child{text-align:left;white-space:normal}
#social-view .social-ad-platforms td:nth-child(2),#social-view .social-ad-platforms td:nth-child(3){font-size:19px;font-weight:750;color:#123e2f}
#social-view .social-ad-platforms th{font-size:12px;color:var(--muted);font-weight:600}
#social-view .social-ad-platforms .social-platform-label strong{white-space:normal}
#social-view #social-ad-coverage{padding:0 26px;margin:16px 0 0}
#social-view .social-table-note{padding:16px 26px;margin:0}
#social-view .social-table-note p{line-height:1.65}
#social-view .social-chart-customize{border-bottom:1px solid var(--line);margin-bottom:18px}
#social-view .social-chart-customize>summary{cursor:pointer;min-height:44px;font-size:13px;font-weight:650;color:#15533c}
#social-view .social-chart-customize[open]>summary{margin-bottom:12px}
#social-view .social-chart-help{margin-top:12px}
#social-view .social-audience{margin-block:24px}
#social-view .social-posts{padding:22px 26px;margin-block:24px}
#social-view .social-posts>summary{cursor:pointer;min-height:32px;font-size:18px;font-weight:700}
#social-view .social-post-caption{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5}
#social-view .social-sync-tools{padding:0 4px;margin-top:22px}
@media(max-width:1100px){
 #social-view .social-ad-platforms th,#social-view .social-ad-platforms td{padding-inline:12px}
}
@media(max-width:760px){
 #social-view .social-ad-platforms table,#social-view .social-ad-platforms tbody{display:block;width:100%}
 #social-view .social-ad-platforms thead{display:none}
 #social-view .social-ad-platforms tr{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;padding:20px;border-top:1px solid var(--line)}
 #social-view .social-ad-platforms td{display:flex;flex-direction:column;text-align:left;padding:0;border:0;white-space:normal;min-width:0;font-size:17px}
 #social-view .social-ad-platforms td:before{content:attr(data-label);font-size:12px;font-weight:400;color:var(--muted);margin-bottom:5px}
 #social-view .social-ad-platforms td:first-child{grid-column:1/-1;display:block;margin-bottom:3px}
 #social-view .social-ad-platforms td:first-child:before{display:none}
 #social-view .social-ad-platforms td:nth-child(2),#social-view .social-ad-platforms td:nth-child(3){font-size:26px}
 #social-view .social-ad-platforms .panel-heading{padding:20px 20px 8px}
 #social-view #social-ad-coverage{padding-inline:20px}
 #social-view .social-table-note{padding:16px 20px}
 #social-view .social-audience table,#social-view .social-audience tbody{display:block;width:100%}
 #social-view .social-audience thead{display:none}
 #social-view .social-audience tr{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;padding:18px 20px;border-top:1px solid var(--line)}
 #social-view .social-audience td{border:0;min-width:0}
 #social-view .social-audience td:first-child{grid-column:1/-1;padding-bottom:4px}
 #social-view .social-audience td:not(:first-child){display:flex;flex-direction:column;text-align:left;gap:5px;padding:0;font-size:18px;font-weight:650}
 #social-view .social-audience td:before{content:attr(data-label);font-size:12px;color:var(--muted);font-weight:400;white-space:normal}
 #social-view .social-audience td:first-child:before{display:none}
 #social-view .social-posts{padding:20px}
 #social-view .social-post{padding:18px 0}
 #social-view .social-report-context{font-size:13px;gap:6px}
 #social-view .social-report-context p{flex-basis:100%}
}
@media(max-width:420px){.social-source-summary{gap:8px}.social-source-summary>div{padding-left:8px}.social-source-summary strong{font-size:20px}.social-source-summary span{font-size:12px}.social-chart-mode{width:100%}.social-chart-mode button{flex:1;font-size:13px;padding:8px}}
