.oa-page { min-width: 0; }
.oa-period, .oa-chart-options, .oa-chart-legend, .oa-pagination, .oa-summary-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.oa-period { margin: 16px 0; }
.oa-period label, .oa-chart-options label, .oa-filters label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #58616d; }
.oa-period .input { width: 150px; }
.oa-period [aria-pressed="true"] { background: #e1f3ee; border-color: #8ec5b7; color: #146f60; }
.oa-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid #e4e7eb; border-bottom: 1px solid #e4e7eb; margin: 16px 0 10px; }
.oa-kpis > div { padding: 14px 12px; border-right: 1px solid #e4e7eb; min-width: 0; }
.oa-kpis span, .oa-detail-metrics span { display: block; font-size: 12px; color: #68717d; }
.oa-kpis strong { font-size: 20px; display: block; margin-top: 5px; overflow-wrap: anywhere; }
.oa-source-line { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 11px; color: #68717d; }
.oa-gm-line { margin-top: 8px; }
.oa-warnings { padding: 10px 12px; margin-top: 12px; border-left: 3px solid #b98b2b; background: #fff9eb; font-size: 12px; }
.oa-warnings p { margin: 4px 0; }
.oa-loading { min-height: 30px; font-size: 13px; color: #58616d; }
.oa-chart-section, .oa-table-section { margin-top: 24px; min-width: 0; }
.oa-chart-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid #dfe3e8; gap: 4px 16px; }
.oa-chart-tabs button { border: 0; border-bottom: 2px solid transparent; background: none; padding: 12px 0; cursor: pointer; color: #616a75; font-size: 13px; }
.oa-chart-tabs button[aria-selected="true"] { color: #151b24; border-bottom-color: #159382; font-weight: 600; }
.oa-filters { display: grid; grid-template-columns: minmax(180px, 2fr) repeat(3, minmax(105px, 1fr)) 110px 95px 95px; align-items: center; gap: 8px; padding: 14px 0 10px; }
.oa-filters .input, .oa-chart-options .input { min-width: 0; max-width: 100%; font-size: 12px; height: 32px; }
.oa-chart-options .input { width: 112px; }
.oa-filters label .input { width: 65px; }
.oa-segment { display: flex; flex-shrink: 0; border: 1px solid #d8dde3; border-radius: 4px; overflow: hidden; }
.oa-segment button { border: none; padding: 7px 12px; background: white; color: #616a75; cursor: pointer; font-size: 12px; }
.oa-segment button[aria-pressed="true"] { background: #e1f3ee; color: #146f60; }
.oa-scale { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.8fr); width: 300px; max-width: 100%; flex-shrink: 1; }
.oa-scale button { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.oa-chart-layout { display: flex; gap: 16px; align-items: stretch; margin-top: 12px; min-width: 0; }
.oa-chart-host { position: relative; flex: 1 1 0; min-width: 0; height: 400px; border: 1px solid #e4e7eb; border-radius: 4px; overflow: hidden; }
.oa-chart-host canvas { width: 100%; height: 400px; display: block; cursor: crosshair; }
.oa-tooltip { box-sizing: border-box; position: absolute; width: min(340px, calc(100% - 8px)); max-height: 370px; overflow: auto; padding: 10px; background: #fff; color: #222; border: 1px solid #c5ccd5; border-radius: 4px; font-size: 11px; box-shadow: 0 2px 8px #0001; z-index: 2; }
.oa-tooltip-name { display: block; color: #68717d; margin: 4px 0 8px; overflow-wrap: anywhere; }
.oa-tooltip-metrics { display: grid; gap: 4px; }
.oa-point-summary { flex: 0 0 320px; width: 320px; min-width: 0; padding: 0 0 0 16px; border-left: 1px solid #e4e7eb; max-height: 400px; overflow: auto; font-size: 12px; overflow-wrap: anywhere; }
.oa-summary-heading { justify-content: space-between; }
.oa-point-summary > span { color: #68717d; display: block; margin: 6px 0 14px; }
.oa-detail-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.oa-detail-metrics strong { display: block; margin-top: 3px; font-size: 13px; }
.oa-members { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; }
.oa-composition, .oa-campaign-details { margin: 12px 0 16px; min-width: 0; }
.oa-composition h3, .oa-campaign-details h3 { margin: 0 0 8px; font-size: 12px; color: #343d48; }
.oa-composition h3 small { color: #68717d; font-weight: 400; }
.oa-composition-scroll { max-height: 210px; overflow: auto; scrollbar-gutter: stable; overscroll-behavior: contain; }
.oa-composition table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 11px; }
.oa-composition th, .oa-composition td { padding: 7px 4px; border-bottom: 1px solid #e4e7eb; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.oa-composition th:first-child, .oa-composition td:first-child { width: 58%; }
.oa-composition th:last-child, .oa-composition td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.oa-composition thead th { position: sticky; top: 0; background: #f7f8fa; z-index: 1; }
.oa-composition .table-link { padding: 0; text-align: left; font-size: inherit; overflow-wrap: anywhere; }
.oa-campaign-details ul { list-style: none; padding: 0; margin: 0; }
.oa-campaign-details li { padding: 7px 0; border-bottom: 1px solid #e4e7eb; overflow-wrap: anywhere; }
.oa-campaign-details small { display: block; color: #68717d; margin-top: 4px; }
.oa-campaign-details small.oa-campaign-running { color: #147568; }
.oa-campaign-name { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.oa-articles-table { min-width: 1640px; }
.oa-table .oa-campaign-cell { width: 240px; }
.oa-campaign-cell > span { display: flex; flex-direction: column; justify-content: center; height: 40px; min-width: 0; }
.oa-chart-legend { font-size: 11px; color: #68717d; min-height: 32px; }
.oa-chart-legend span { display: flex; align-items: center; gap: 4px; }
.oa-chart-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.oa-table-wrap { max-height: 440px; overflow: auto; scrollbar-gutter: stable; overflow-anchor: none; }
.oa-table { min-width: 1400px; table-layout: fixed; }
.oa-table:has([data-oa-select]) th:first-child, .oa-table:has([data-oa-select]) td:first-child { width: 30px; }
.oa-table:has([data-oa-select]) th:nth-child(2), .oa-table:has([data-oa-select]) td:nth-child(2), .oa-table:not(:has([data-oa-select])) th:first-child, .oa-table:not(:has([data-oa-select])) td:first-child { width: 260px; }
.oa-table small { display: block; color: #737c88; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.oa-table td { font-size: 12px; padding: 8px; font-variant-numeric: tabular-nums; }
.oa-table th { font-size: 11px; position: sticky; top: 0; background: #f7f8fa; z-index: 1; }
.oa-zone { font-size: 11px; font-weight: 600; }
.oa-zone.Z1 { color: #c23c4d; }.oa-zone.Z2 { color: #9b6b11; }.oa-zone.Z3 { color: #147568; }.oa-zone.Z4 { color: #426fb1; }.oa-zone.unknown { color: #77808c; }
.oa-pagination { justify-content: flex-end; margin-top: 8px; font-size: 12px; }
.oa-table-section h2 { font-size: 17px; }.oa-table-section h2 small { color: #77808c; font-weight: 400; }
.oa-warning { color: #996417; font-size: 11px; }.oa-unallocated { padding: 16px 0; font-size: 12px; }
.oa-performance-status { display: block; color: #b42332; font-size: 12px; font-weight: 600; }
.oa-performance-alert { margin: 0 0 16px; padding: 14px 0; border-top: 2px solid #b42332; border-bottom: 1px solid #ecc5ca; color: #8f1d2a; overflow-wrap: anywhere; }
.oa-performance-alert strong { display: block; font-size: 15px; }
.oa-performance-alert p { margin: 8px 0 12px; color: #6c3940; font-size: 13px; }
.oa-performance-alert .btn { max-width: 100%; white-space: normal; text-align: left; color: #8f1d2a; border-color: #dca3ab; }
.oa-comparison-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 12px; margin-bottom: 12px; }
.oa-comparison-controls label, .oa-check { display: inline-flex; align-items: center; gap: 6px; }
.oa-comparison-controls .input { min-width: 0; max-width: 100%; width: 210px; font-size: 12px; }
.oa-comparison-controls select.input { width: 260px; }
.oa-comparison-controls input[type="date"] { width: 145px; }
.oa-comparison-controls [role="status"] { color: #68717d; overflow-wrap: anywhere; }
.oa-advanced { margin: 4px 0 12px; font-size: 12px; }
.oa-advanced > summary { cursor: pointer; color: #343d48; padding: 6px 0; }
.oa-advanced-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.oa-advanced fieldset { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; padding: 8px; border: 1px solid #dfe3e8; border-radius: 4px; margin: 0; }
.oa-advanced legend { font-size: 11px; color: #58616d; padding: 0 4px; }
.oa-advanced .oa-zones { grid-column: 1 / -1; }
.oa-deltas { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; margin: 8px 0; font-variant-numeric: tabular-nums; }
.oa-deltas small { color: #68717d; }
.oa-point-summary .oa-deltas, .oa-tooltip .oa-deltas { display: grid; gap: 5px; }
.oa-recommendation-detail { border-top: 1px solid #e4e7eb; margin-top: 12px; }
.oa-recommendations table { width: 100%; min-width: 650px; table-layout: fixed; }
.oa-recommendations th:first-child { width: 18%; }
.oa-recommendations th:last-child { width: 30%; }
.oa-recommendations td { vertical-align: top; font-size: 12px; overflow-wrap: anywhere; }
.oa-recommendations p { margin: 0 0 8px; }
.oa-table-comparison { min-width: 2000px; }
.oa-table th:last-child, .oa-table td:last-child { width: 190px; white-space: normal; overflow-wrap: anywhere; }
.oa-target-key { border-bottom: 2px dashed #a23e82; padding-bottom: 2px; }
@media (max-width: 760px) { .oa-advanced-grid { grid-template-columns: minmax(0, 1fr); }.oa-comparison-controls select.input { width: 100%; }.oa-comparison-controls label { flex-wrap: wrap; }.oa-advanced fieldset label { flex: 1 1 90px; }.oa-deltas { gap: 6px 12px; } }
@media (max-width: 1200px) { .oa-filters { grid-template-columns: minmax(180px, 2fr) repeat(3, 1fr); }.oa-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }.oa-point-summary { flex-basis: 280px; width: 280px; } }
@media (max-width: 760px) { .oa-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }.oa-filters > input { grid-column: 1 / -1; }.oa-chart-layout { flex-direction: column; }.oa-point-summary { width: 100%; flex-basis: auto; max-height: none; border-left: 0; border-top: 1px solid #e4e7eb; padding: 12px 0; }.oa-chart-host { flex: none; width: 100%; }.oa-kpis strong { font-size: 16px; }.oa-chart-tabs { gap: 4px 10px; }.oa-chart-tabs button { font-size: 12px; text-align: left; }.oa-chart-options label { flex-wrap: wrap; }.oa-period { gap: 6px; } }
