/* Scoped project, reporting and campaign inventory presentation. */
.project-workspace{--workspace-blue:#2868a9;--workspace-line:#dce6ed;--workspace-muted:#536779;color:#242a30}.project-workspace .page-heading{max-width:850px;margin-bottom:28px}.workspace-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 24px}.workspace-summary-grid article{padding:20px;border:1px solid var(--workspace-line);border-radius:14px;background:#f0f6fb}.workspace-summary-grid article span{display:block;color:#425e76;font-size:13px}.workspace-summary-grid article strong{display:block;font-size:32px;color:#205381;margin-top:7px;font-variant-numeric:tabular-nums}.workspace-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.workspace-toolbar h2{margin:0 0 6px}.workspace-toolbar p{margin:0;max-width:740px}.workspace-table-region{overflow-x:auto;max-width:100%;border:1px solid var(--workspace-line);border-radius:12px}.workspace-data-table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}.workspace-data-table caption{text-align:left;padding:12px;color:#536779}.workspace-data-table th,.workspace-data-table td{padding:15px 16px;border-bottom:1px solid #e7edf2;vertical-align:middle}.workspace-data-table thead th{background:#f2f6f9;color:#425e76;font-weight:600;font-size:12px;white-space:nowrap}.workspace-data-table tbody tr:last-child>*{border-bottom:0}.workspace-data-table tbody tr:hover{background:#f8fbfd}.workspace-data-table tbody th{font-weight:600;min-width:170px}.workspace-data-table .secondary{white-space:nowrap;font-size:13px;min-height:38px}.workspace-data-table input[type=checkbox]{width:18px;height:18px;accent-color:#a83a05}.workspace-status{display:inline-flex;gap:5px;align-items:center;padding:4px 8px;border-radius:6px;background:#eaf3fa;color:#205381;font-size:11px;font-weight:600;line-height:1.4}.workspace-notice{padding:13px 16px;border-left:3px solid #2868a9;background:#f0f6fb;color:#425e76;font-size:13px;line-height:1.6;border-radius:0 8px 8px 0}.workspace-empty{padding:30px 18px;text-align:center;background:#f7fafc;border:1px dashed #b9cad7;border-radius:12px}.workspace-empty h3{margin-top:0}.workspace-row-detail{padding:18px;background:#f8fbfd;border-top:1px solid var(--workspace-line)}.workspace-row-detail h3{margin-top:0}.project-workspace details>summary{cursor:pointer;padding:14px 0;font-weight:600}.project-workspace :is(button,a,input,select,summary):focus-visible,.workspace-table-region:focus-visible{outline:3px solid #2868a9;outline-offset:3px}.project-workspace .error{overflow-wrap:anywhere}.project-workspace .panel{margin-bottom:20px}.project-workspace .actions{flex-wrap:wrap}.project-workspace .workspace-chart{height:260px;max-width:100%}.project-workspace .workspace-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:16px 0}.project-workspace .workspace-filters label{display:grid;gap:6px;min-width:150px}.project-workspace .workspace-description{display:block;color:#536779;font-size:12px;margin-top:5px;font-weight:400;line-height:1.5}.project-workspace .workspace-selection{padding:15px;background:#eff5fa;border-radius:10px;display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:14px 0}.project-workspace [aria-busy=true]{cursor:progress}.project-workspace .workspace-downloads{display:flex;gap:8px;flex-wrap:wrap}.project-workspace .workspace-kpis{display:flex;gap:14px;flex-wrap:wrap;color:#205381;font-variant-numeric:tabular-nums}.project-workspace .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}@media(max-width:700px){.workspace-summary-grid{grid-template-columns:1fr;gap:8px}.workspace-summary-grid article{display:flex;align-items:center;justify-content:space-between;padding:14px 16px}.workspace-summary-grid article strong{margin:0;font-size:25px}.workspace-toolbar{flex-direction:column;gap:12px}.workspace-data-table th,.workspace-data-table td{padding:12px}.project-workspace .workspace-filters label{flex:1;min-width:130px}.project-workspace .workspace-selection{align-items:stretch;flex-direction:column}.project-workspace .workspace-chart{height:220px}}@media(prefers-reduced-motion:reduce){.project-workspace *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}@media print{.project-workspace .workspace-downloads,.project-workspace button{display:none}.workspace-table-region{overflow:visible}.workspace-data-table{font-size:10pt}.project-workspace .panel{break-inside:avoid}}
.project-workspace .table-wrap{overflow-x:auto;max-width:100%;border:1px solid #dce6ed;border-radius:12px;margin-top:18px}.project-workspace .table-wrap table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}.project-workspace .table-wrap th,.project-workspace .table-wrap td{padding:15px 16px;border-bottom:1px solid #e7edf2;vertical-align:middle}.project-workspace .table-wrap thead th{background:#f2f6f9;color:#425e76;font-size:12px;white-space:nowrap}.project-workspace .table-wrap tbody tr:last-child>*{border-bottom:0}.project-workspace .table-wrap tbody tr:hover{background:#f8fbfd}.project-workspace .table-wrap .text{font-weight:600;color:#205381;text-align:left;padding:6px 0;text-decoration:underline;text-underline-offset:3px}.project-workspace .table-wrap caption{padding:12px 16px;text-align:left;color:#536779;font-size:12px}.project-workspace .table-wrap:focus-visible{outline:3px solid #2868a9;outline-offset:3px}.project-workspace .table-wrap input[type=checkbox]{width:18px;height:18px;accent-color:#a83a05}.project-workspace .table-wrap .secondary{min-height:38px;font-size:13px;white-space:nowrap}
.project-workspace .workspace-chart-bar{display:grid;grid-template-columns:minmax(90px,140px) minmax(100px,1fr) minmax(60px,auto);align-items:center;gap:12px;padding:8px 0;font-size:13px;color:#425e76;font-variant-numeric:tabular-nums}.project-workspace .workspace-chart-bar meter{width:100%;height:16px;accent-color:#2868a9}.project-workspace .workspace-chart-bar meter::-webkit-meter-bar{background:#edf3f8;border:0;border-radius:4px}.project-workspace .workspace-chart-bar meter::-webkit-meter-optimum-value{background:#2868a9;border-radius:4px}.project-workspace label:has(input[type=checkbox]){display:flex;gap:9px;align-items:flex-start;margin:14px 0;line-height:1.6}.project-workspace label>input[type=checkbox]{flex:0 0 auto;margin-top:5px;accent-color:#a83a05}.project-workspace .text{color:#205381;min-height:40px}.project-workspace figure{margin:22px 0;padding:18px;border-radius:12px;background:#f5f9fc}.project-workspace figcaption{font-weight:600;color:#205381;margin-bottom:10px}@media(max-width:500px){.project-workspace .workspace-chart-bar{grid-template-columns:85px minmax(60px,1fr) 55px;gap:7px;font-size:12px}}
/* Reports archive states: useful next actions without implying a report or job exists. */
.project-workspace .workspace-report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:22px;border-bottom:1px solid #dce6ed;margin-bottom:22px}.project-workspace .workspace-report-header h1{margin:5px 0 10px;font-size:clamp(28px,3vw,38px);letter-spacing:-.03em;line-height:1.15}.project-workspace .workspace-report-header p{max-width:690px;color:#536779;line-height:1.65}.project-workspace .workspace-report-meta{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;color:#425e76;font-size:12px;overflow-wrap:anywhere}.project-workspace .workspace-report-meta>span{padding:5px 9px;background:#edf4f9;border-radius:6px}.project-workspace .workspace-list-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.project-workspace .workspace-empty{margin-top:20px;padding:36px 26px;text-align:left;max-width:none;background:linear-gradient(115deg,#f0f6fb,#fafcfe);border:1px solid #d7e4ee;border-radius:14px}.project-workspace .workspace-empty h2,.project-workspace .workspace-empty h3{font-size:21px;letter-spacing:-.015em;color:#233f57;margin:0 0 10px}.project-workspace .workspace-empty p{max-width:660px;color:#536779;line-height:1.7;margin:10px 0 18px}.project-workspace .workspace-empty .actions{justify-content:flex-start}.project-workspace .workspace-error{margin:20px 0;padding:18px 20px;border:1px solid #e4c5b3;border-left:4px solid #a83a05;border-radius:10px;background:#fff6f0;color:#713519;overflow-wrap:anywhere}.project-workspace .workspace-error h2,.project-workspace .workspace-error h3{font-size:17px;margin:0 0 8px}.project-workspace .workspace-error p{line-height:1.65;max-width:720px}.project-workspace .workspace-error .actions{margin-top:14px}.project-workspace .workspace-loading{padding:22px;border:1px solid #dce6ed;border-radius:12px;background:#f5f9fc;color:#425e76;margin-top:18px;line-height:1.65}.project-workspace .workspace-report-detail{padding:24px 0;border:0;box-shadow:none;border-radius:0}.project-workspace .workspace-report-detail>h2{font-size:28px;line-height:1.25;margin:22px 0 12px}.project-workspace .workspace-report-detail section{margin:24px 0;max-width:100%}.project-workspace .workspace-report-detail section>h3{font-size:18px;color:#233f57}.project-workspace .workspace-report-detail p{line-height:1.75;max-width:850px}.project-workspace .workspace-report-summary{border-left:3px solid #2868a9;background:#f3f8fc;border-radius:0 10px 10px 0;padding:14px 18px;margin:18px 0}.project-workspace .workspace-report-summary p:last-child{margin-bottom:0}.project-workspace .workspace-report-detail .table-wrap{margin:16px 0 24px}.project-workspace .workspace-list-actions button:disabled{opacity:.65;cursor:wait}.project-workspace .workspace-empty .primary,.project-workspace .workspace-error .primary{min-height:42px}@media(max-width:650px){.project-workspace .workspace-report-header{flex-direction:column;gap:10px}.project-workspace .workspace-empty{padding:24px 18px}.project-workspace .workspace-report-detail{padding-top:14px}.project-workspace .workspace-report-detail>h2{font-size:23px}.project-workspace .workspace-list-actions{align-items:stretch}.project-workspace .workspace-list-actions>.primary,.project-workspace .workspace-list-actions>.secondary{flex:1;text-align:center;white-space:normal}}
/* Child-level performance cards retain readable identity outside report pages too. */
.entity-performance{min-width:0;max-width:100%;overflow-wrap:anywhere}
.entity-performance .chart-source-list>div{color:#425e76;font-size:12px}
.entity-performance .chart-source-list>div>span:last-child{min-width:0}
.entity-performance .chart-source-list strong{color:#233f57}
.entity-performance .chart-source-list small,.entity-performance .chart-source-note,.entity-performance caption{color:#425e76;font-size:12px;line-height:1.6;white-space:normal}
.entity-performance .chart-source-note{background:#edf5fb}
.entity-performance .table-wrap{max-width:100%;overflow-x:auto}
.entity-performance .table-wrap:focus-visible,.entity-performance :is(button,select,summary):focus-visible{outline:3px solid #2868a9;outline-offset:3px}
.entity-performance .chart-data-disclosure>summary,.entity-performance button,.entity-performance select{min-height:44px;font-size:13px}
.entity-performance .chart-data-disclosure>summary{color:#235583;align-items:center}
.entity-performance .chart-export-actions button{min-height:44px;font-size:13px}
.entity-performance th:not(:first-child){min-width:120px;white-space:normal;overflow-wrap:anywhere}
.entity-performance .workspace-chart-bar{display:grid;grid-template-columns:90px minmax(60px,1fr) minmax(50px,auto);gap:10px;align-items:center;padding:7px 0;color:#425e76;font-size:12px;font-variant-numeric:tabular-nums}
.entity-performance .workspace-chart-bar meter{width:100%;height:16px;accent-color:#2868a9}
.entity-performance .workspace-chart-bar meter::-webkit-meter-bar{background:#edf5fb;border:0;border-radius:4px}
.entity-performance .workspace-chart-bar meter::-webkit-meter-optimum-value{background:#2868a9;border-radius:4px}
.entity-performance figure{margin:18px 0;padding:14px;background:#f3f8fc;border-radius:10px}
.entity-performance figcaption{color:#235583;font-size:13px;line-height:1.6;margin-bottom:10px}
.entity-performance .chart-canvas-wrap:has(canvas[hidden]){display:none}
@media(max-width:500px){.entity-performance{padding:14px}.entity-performance .chart-card-heading{flex-wrap:wrap}.entity-performance .chart-export-actions>*{flex:1 1 140px}}
/* Exact shared-creative review remains readable in the conversation column. */
.snapchat-headline-review{padding:22px;min-width:0;max-width:100%;overflow-wrap:anywhere}
.snapchat-headline-review p{line-height:1.7;white-space:normal}
.snapchat-headline-review .notice{background:#edf5fb;border-left:3px solid #2868a9;color:#235583;padding:12px 14px;border-radius:0 8px 8px 0}
.snapchat-headline-review .review-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.snapchat-headline-review .review-summary-grid>div{min-width:0;border:1px solid #dce6ed;border-radius:10px;padding:14px;background:#f5f9fc}
.snapchat-headline-review .table-wrap{max-width:100%;overflow-x:auto;border:1px solid #dce6ed;border-radius:10px;margin:12px 0 18px}
.snapchat-headline-review table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}
.snapchat-headline-review th,.snapchat-headline-review td{padding:12px;min-width:150px;border-bottom:1px solid #dce6ed;vertical-align:top;white-space:normal;overflow-wrap:anywhere}
.snapchat-headline-review th{background:#edf5fb;color:#235583}
.snapchat-headline-review caption{padding:12px;text-align:left;color:#425e76;line-height:1.6}
.snapchat-headline-review pre{max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6;background:#f5f9fc;padding:14px;border-radius:10px}
.snapchat-headline-review details>summary,.snapchat-headline-review button{min-height:44px}
.snapchat-headline-review details>summary{display:flex;align-items:center;color:#235583;cursor:pointer}
.snapchat-headline-review button{margin:8px 8px 0 0;white-space:normal}
.snapchat-headline-review :is(button,input,summary):focus-visible,.snapchat-headline-review .table-wrap:focus-visible{outline:3px solid #2868a9;outline-offset:3px}
@media(max-width:500px){.snapchat-headline-review{padding:16px}.snapchat-headline-review .review-summary-grid{grid-template-columns:1fr}.snapchat-headline-review button{width:100%;margin-right:0}}
.chatgpt-description-review{padding:22px;max-width:100%;min-width:0;overflow-wrap:anywhere}
.chatgpt-description-review p{white-space:normal;line-height:1.7}
.chatgpt-description-review .notice{padding:12px 14px;border-left:3px solid #2868a9;background:#edf5fb;color:#235583;border-radius:0 8px 8px 0}
.chatgpt-description-review .review-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.chatgpt-description-review .review-summary-grid>div{min-width:0}
.chatgpt-description-review pre{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;border:1px solid #dce6ed;border-radius:10px;background:#f5f9fc;color:#233f57;font-size:13px;line-height:1.7}
.chatgpt-description-review details>summary,.chatgpt-description-review button{min-height:44px}
.chatgpt-description-review details>summary{display:flex;align-items:center;cursor:pointer;color:#235583}
.chatgpt-description-review button{margin:8px 8px 0 0;white-space:normal}
.chatgpt-description-review :is(button,input,summary,pre):focus-visible{outline:3px solid #2868a9;outline-offset:3px}
@media(max-width:500px){.chatgpt-description-review{padding:16px}.chatgpt-description-review .review-summary-grid{grid-template-columns:1fr}.chatgpt-description-review button{width:100%;margin-right:0}}
.chatgpt-copy-review{padding:22px;max-width:100%;min-width:0;overflow-wrap:anywhere}
.chatgpt-copy-review p{white-space:normal;line-height:1.7}
.chatgpt-copy-review .notice{padding:12px 14px;border-left:3px solid #2868a9;background:#edf5fb;color:#235583;border-radius:0 8px 8px 0}
.chatgpt-copy-review .review-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.chatgpt-copy-review .review-summary-grid>div{min-width:0}
.chatgpt-copy-review pre{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;border:1px solid #dce6ed;border-radius:10px;background:#f5f9fc;color:#233f57;font-size:13px;line-height:1.7}
.chatgpt-copy-review details>summary,.chatgpt-copy-review button{min-height:44px}
.chatgpt-copy-review details>summary{display:flex;align-items:center;cursor:pointer;color:#235583}
.chatgpt-copy-review button{margin:8px 8px 0 0;white-space:normal}
.chatgpt-copy-review :is(button,input,summary,pre):focus-visible{outline:3px solid #2868a9;outline-offset:3px}
@media(max-width:500px){.chatgpt-copy-review{padding:16px}.chatgpt-copy-review .review-summary-grid{grid-template-columns:1fr}.chatgpt-copy-review button{width:100%;margin-right:0}}
.chatgpt-strategy-review{padding:22px;max-width:100%;min-width:0;overflow-wrap:anywhere}
.chatgpt-strategy-review p{white-space:normal;line-height:1.7}
.chatgpt-strategy-review .notice{padding:12px 14px;border-left:3px solid #2868a9;background:#edf5fb;color:#235583;border-radius:0 8px 8px 0}
.chatgpt-strategy-review .review-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.chatgpt-strategy-review .review-summary-grid>div{min-width:0}
.chatgpt-strategy-review pre{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;border:1px solid #dce6ed;border-radius:10px;background:#f5f9fc;color:#233f57;font-size:13px;line-height:1.7}
.chatgpt-strategy-review details>summary,.chatgpt-strategy-review button{min-height:44px}
.chatgpt-strategy-review details>summary{display:flex;align-items:center;cursor:pointer;color:#235583}
.chatgpt-strategy-review button{margin:8px 8px 0 0;white-space:normal}
.chatgpt-strategy-review :is(button,input,summary,pre):focus-visible{outline:3px solid #2868a9;outline-offset:3px}
@media(max-width:500px){.chatgpt-strategy-review{padding:16px}.chatgpt-strategy-review .review-summary-grid{grid-template-columns:1fr}.chatgpt-strategy-review button{width:100%;margin-right:0}}
.social-group-pause-review{padding:22px;max-width:100%;min-width:0;overflow-wrap:anywhere}
.social-group-pause-review p{white-space:normal;line-height:1.7}
.social-group-pause-review .notice{padding:12px 14px;border-left:3px solid #2868a9;background:#edf5fb;color:#235583;border-radius:0 8px 8px 0}
.social-group-pause-review .review-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.social-group-pause-review .review-summary-grid>div{min-width:0;padding:14px;border:1px solid #dce6ed;border-radius:10px;background:#f5f9fc;color:#233f57}
.social-group-pause-review pre{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;border:1px solid #dce6ed;border-radius:10px;background:#f5f9fc;color:#233f57;font-size:13px;line-height:1.7}
.social-group-pause-review details>summary,.social-group-pause-review button{min-height:44px}
.social-group-pause-review details>summary{display:flex;align-items:center;cursor:pointer;color:#235583}
.social-group-pause-review button{margin:8px 8px 0 0;white-space:normal}
.social-group-pause-review :is(button,input,summary,pre):focus-visible{outline:3px solid #2868a9;outline-offset:3px}
@media(max-width:500px){.social-group-pause-review{padding:16px}.social-group-pause-review .review-summary-grid{grid-template-columns:1fr}.social-group-pause-review button{width:100%;margin-right:0}}
.social-ad-pause-review{padding:22px;max-width:100%;min-width:0;overflow-wrap:anywhere}
.social-ad-pause-review p{white-space:normal;line-height:1.7}
.social-ad-pause-review .notice{padding:12px 14px;border-left:3px solid #2868a9;background:#edf5fb;color:#235583;border-radius:0 8px 8px 0}
.social-ad-pause-review pre{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;border:1px solid #dce6ed;border-radius:10px;background:#f5f9fc;color:#233f57;font-size:13px;line-height:1.7}
.social-ad-pause-review details>summary,.social-ad-pause-review button{min-height:44px}
.social-ad-pause-review details>summary{display:flex;align-items:center;cursor:pointer;color:#235583}
.social-ad-pause-review button{margin:8px 8px 0 0;white-space:normal}
.social-ad-pause-review :is(button,input,summary,pre):focus-visible{outline:3px solid #2868a9;outline-offset:3px}
@media(max-width:500px){.social-ad-pause-review{padding:16px}.social-ad-pause-review button{width:100%;margin-right:0}}
.categorical-performance{min-width:0;max-width:100%;overflow-wrap:anywhere}
.categorical-performance p{white-space:normal;line-height:1.7}
.categorical-performance .notice{padding:12px 14px;border-left:3px solid #2868a9;background:#edf5fb;color:#235583;border-radius:0 8px 8px 0}
.categorical-performance .chart-canvas-wrap:has(canvas[hidden]){display:none}
.categorical-performance figure{margin:18px 0;padding:14px;border-radius:10px;background:#f3f8fc}
.categorical-performance figcaption{font-size:13px;line-height:1.6;color:#235583;margin-bottom:10px}
.categorical-performance .workspace-chart-bar{display:grid;grid-template-columns:minmax(80px,150px) minmax(60px,1fr) minmax(50px,auto);gap:10px;align-items:center;padding:7px 0;color:#425e76;font-size:12px;font-variant-numeric:tabular-nums}
.categorical-performance meter{width:100%;height:16px;accent-color:#2868a9}
.categorical-performance meter::-webkit-meter-bar{background:#edf5fb;border:0;border-radius:4px}
.categorical-performance meter::-webkit-meter-optimum-value{background:#2868a9;border-radius:4px}
.categorical-performance .table-wrap{max-width:100%;overflow-x:auto;border:1px solid #dce6ed;border-radius:10px;margin:16px 0}
.categorical-performance table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}
.categorical-performance th,.categorical-performance td{padding:12px;border-bottom:1px solid #dce6ed;text-align:left}
.categorical-performance th{color:#235583}
.categorical-performance thead th{background:#edf5fb}
.categorical-performance caption{padding:12px;color:#425e76;text-align:left;font-size:12px;line-height:1.6}
.categorical-performance .table-wrap:focus-visible{outline:3px solid #2868a9;outline-offset:3px}
@media(max-width:500px){.categorical-performance{padding:14px}.categorical-performance .workspace-chart-bar{grid-template-columns:minmax(65px,95px) minmax(50px,1fr) minmax(40px,auto);gap:7px}.categorical-performance th,.categorical-performance td{padding:10px}}
.categorical-comparison{max-width:100%;min-width:0;overflow-wrap:anywhere}
.categorical-comparison p{white-space:normal;line-height:1.7}
.categorical-comparison .notice{padding:12px 14px;border-left:3px solid #2868a9;background:#edf5fb;color:#235583;border-radius:0 8px 8px 0}
.categorical-comparison>.table-wrap{max-width:100%;overflow:auto;border:1px solid #dce6ed;border-radius:10px;margin:18px 0}
.categorical-comparison>.table-wrap table{width:100%;min-width:680px;border-collapse:collapse;text-align:left;font-size:13px}
.categorical-comparison>.table-wrap th,.categorical-comparison>.table-wrap td{padding:12px;border-bottom:1px solid #dce6ed;text-align:left;vertical-align:top;white-space:normal}
.categorical-comparison>.table-wrap th{color:#235583}
.categorical-comparison>.table-wrap thead th{background:#edf5fb}
.categorical-comparison>.table-wrap caption{padding:12px;text-align:left;font-size:12px;line-height:1.6;color:#425e76}
.categorical-comparison>.table-wrap:focus-visible{outline:3px solid #2868a9;outline-offset:3px}
.categorical-comparison>.categorical-performance{margin-top:24px;padding-top:18px;border-top:1px solid #dce6ed}
@media(max-width:500px){.categorical-comparison>.table-wrap th,.categorical-comparison>.table-wrap td{padding:10px}}
.snapchat-entity-performance pre{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;border:1px solid #dce6ed;border-radius:10px;background:#f5f9fc;color:#233f57;font-size:12px;line-height:1.7}
.snapchat-entity-performance pre:focus-visible{outline:3px solid #2868a9;outline-offset:3px}
.workspace-panel-heading .workspace-panel-tabs{grid-template-columns:repeat(5,minmax(64px,1fr));overflow-x:auto}
.workspace-panel-heading .workspace-panel-tabs button{min-height:44px}
.project-brief{padding:18px;max-width:100%;min-width:0;overflow-wrap:anywhere}
.project-brief>h3{font-size:18px;line-height:1.4}
.project-brief-summary{display:grid;gap:0;margin:16px 0}
.project-brief-summary>div{padding:12px 0;border-bottom:1px solid #dce6ed}
.project-brief-summary dt{color:#425e76;font-size:12px;font-weight:600;margin-bottom:5px}
.project-brief-summary dd{margin:0;color:#233f57;font-size:13px;line-height:1.65;white-space:pre-wrap}
.project-brief-editor>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;color:#235583;font-weight:600}
.project-brief-editor form{display:grid;gap:14px;margin-top:14px}
.project-brief .field{display:grid;gap:6px;min-width:0;margin:0}
.project-brief :is(input,select,textarea){width:100%;min-width:0;max-width:100%}
.project-brief :is(select,button){min-height:44px}
.project-brief textarea{resize:vertical;line-height:1.65}
.project-brief-country-picker{display:grid;gap:10px;padding:12px;border:1px solid #c5d7e7;background:#edf5fb;border-radius:10px}
.project-brief-country-picker>button{justify-self:start}
#project-brief-country-chips{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.project-brief-country-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:4px 4px 4px 10px;background:white;border:1px solid #c5d7e7;color:#235583;border-radius:9px;font-size:12px;line-height:1.5}
.project-brief-country-chip button{flex:none;min-width:40px;padding:6px!important}
.project-brief .actions{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0}
.project-brief .actions button{white-space:normal}
.project-brief :is(button,input,select,textarea,summary):focus-visible{outline:3px solid #2868a9;outline-offset:3px}
@media(max-width:520px){.project-brief{padding:14px}.project-brief .actions{flex-direction:column}.project-brief .actions button{width:100%}}
/* Campaigns and Reports: compact account collections */
.workspace-collection{min-width:0;background:#fff;overflow-wrap:anywhere}
.workspace-collection>h1,.workspace-collection h1{margin-bottom:10px}
.workspace-collection>.workspace-empty,.workspace-collection .workspace-error{margin:24px 0;padding:24px;border:1px solid #cbddeb;border-radius:14px;background:#f2f6fa}
.workspace-collection .table-wrap{max-width:100%;overflow:auto;border:1px solid #dce6ed;border-radius:12px;margin:18px 0;background:white}
.workspace-collection table{width:100%;min-width:690px;border-collapse:collapse;font-size:13px;text-align:left}
.workspace-collection caption{padding:14px;text-align:left;color:#526778;font-size:12px;background:#f8fafc}
.workspace-collection th,.workspace-collection td{padding:16px 14px;border-bottom:1px solid #e4ebf1;vertical-align:top;white-space:normal}
.workspace-collection thead th{background:#edf4fa;color:#244e73;font-size:12px}
.workspace-collection tbody tr:last-child td{border-bottom:0}
.workspace-collection tbody tr:hover{background:#f7fafc}
.workspace-collection td .small{margin:6px 0;line-height:1.6;color:#526778}
.collection-title{font-weight:650!important;line-height:1.5!important;text-align:left;color:#235b8d!important}
.collection-pill{display:inline-block;padding:4px 9px;border-radius:7px;background:#eaf3fb;color:#235583;font-size:11px;line-height:1.6;font-weight:600}
.collection-count{font-size:12px;color:#526778;font-variant-numeric:tabular-nums}
.collection-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:18px 0 0}
.collection-toolbar .field{display:grid;gap:7px;max-width:420px;flex:1;font-size:12px;font-weight:600}
.collection-toolbar input{min-height:44px;width:100%}
.collection-group{border:1px solid #dce6ed;border-radius:12px;margin:16px 0;overflow:hidden}
.collection-group>summary{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;background:#f2f6fa;cursor:pointer;font-size:14px;font-weight:650;color:#244e73}
.collection-group>summary:before{content:'›';font-size:24px;line-height:1}
.collection-group[open]>summary:before{content:'⌄'}
.collection-group>summary>span:first-of-type{flex:1}
.collection-group .table-wrap{margin:0;border:0;border-radius:0}
.workspace-collection :is(button,select,summary){min-height:44px}
.workspace-collection input[type=checkbox]{width:20px;height:20px;accent-color:#2868a9}
.workspace-collection :is(button,input,select,summary,.table-wrap):focus-visible{outline:3px solid #2868a9;outline-offset:3px}
.workspace-report-detail>section{margin-top:24px;padding-top:18px;border-top:1px solid #e4ebf1}
@media(max-width:620px){.workspace-collection{padding:16px}.collection-toolbar{align-items:stretch;flex-direction:column;gap:8px}.collection-toolbar .field{max-width:none}.collection-group>summary{padding:12px;gap:9px}.workspace-collection th,.workspace-collection td{padding:12px}.workspace-collection>.workspace-empty{padding:18px}.workspace-collection .workspace-report-header{align-items:stretch;flex-direction:column}}

/* Saved reports wrap within the page at both desktop and phone widths. */
.reports-collection .workspace-report-header > div,
.reports-collection .collection-toolbar .field {
  min-width: 0;
}
.reports-collection .workspace-report-header > button {
  flex: 0 0 auto;
}
.reports-collection .report-archive-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  border: 1px solid #dce6ed;
  border-radius: 12px;
}
.reports-collection .report-archive-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px 22px;
  padding: 16px 18px;
}
.reports-collection .report-archive-row + .report-archive-row {
  border-top: 1px solid #e4ebf1;
}
.reports-collection .report-archive-row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}
.reports-collection .report-archive-title button {
  max-width: 100%;
  white-space: normal;
  padding-inline: 0;
}
.reports-collection .report-archive-title p {
  margin: 2px 0 8px;
  line-height: 1.6;
  color: #536779;
}
.reports-collection .report-archive-meta {
  display: grid;
  gap: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: #536779;
}
.reports-collection .report-archive-meta span:first-child {
  color: #233f57;
  font-weight: 600;
}
.reports-collection .report-archive-meta time {
  font-variant-numeric: tabular-nums;
}
.reports-collection .workspace-report-detail {
  min-width: 0;
  overflow-wrap: anywhere;
}
.reports-collection .workspace-report-detail figure {
  min-width: 0;
}
.reports-collection .workspace-report-detail .workspace-chart-bar {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
}
@media (max-width: 680px) {
  .reports-collection .report-archive-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }
  .reports-collection .report-archive-row > button {
    justify-self: start;
  }
  .reports-collection .workspace-report-detail .workspace-chart-bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .reports-collection .workspace-report-detail .workspace-chart-bar meter {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
.reports-collection .workspace-report-detail .workspace-chart-value {
  grid-column: -2 / -1;
  text-align: end;
}

/* The app shell sets a fixed height on header elements. The report header
   contains wrapping project metadata and must size to its full content. */
.reports-collection .workspace-report-header {
  height: auto;
  padding: 0 0 18px;
  background: transparent;
}
.reports-collection .workspace-report-header p:last-child {
  margin-bottom: 0;
}
#weekly-project-review {
  margin-top: 20px;
  padding: clamp(16px, 2.5vw, 28px);
  overflow-wrap: anywhere;
}
#weekly-project-review > button {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
}
#weekly-project-review label.field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
#weekly-project-review label.field input[type=checkbox] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 3px 0 0;
  padding: 0;
  accent-color: #2868a9;
}

/* Signed-out trial notice stays visible below the composer, without an approval control. */
.studio-chat .trial-prompt-notice{display:block;margin:10px 0 0;padding:0;color:#526477;font-size:13px;line-height:1.6;max-width:100%;overflow-wrap:anywhere}
.studio-chat .trial-prompt-notice a{color:#235583;text-decoration:underline;text-underline-offset:3px;font-weight:600}
.studio-chat .trial-prompt-notice a:focus-visible{outline:3px solid #2868a9;outline-offset:3px}
