.search-workspace { display: grid; gap: 16px; }
.search-heading, .search-panel-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.search-heading h1 { font-size: 25px; letter-spacing: -.025em; }
.search-panel-heading h2 { font-size: 14px; }
.search-workspace .commerce-panel { margin-bottom: 0; }
.search-heading p, .search-report-card p, .search-kpi p { margin: 5px 0 0; }
.search-heading p, .search-panel-heading p, .search-muted, .search-market, .search-kpi p { color: var(--report-muted, #536079); }
.search-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.search-filters label, .search-panel-heading label { display: grid; gap: 4px; }
.search-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.search-kpi h2 { font-size: .85rem; font-weight: 500; }
.search-kpi strong { display: block; margin-top: 4px; font-size: 1.35rem; }
.search-kpi p { font-size: .8rem; }
.search-table-scroll { overflow-x: auto; margin-top: 12px; }
.search-data-table { width: 100%; }
.search-data-table :is(th,td) { white-space: nowrap; text-align: left; }
.search-data-table tbody th { color: var(--report-text, #25304a); background: transparent; font-size: inherit; font-weight: 650; text-transform: none; }
.ranking-store { display: inline-flex; align-items: center; gap: 6px; }
.ranking-store svg { width: 8px; height: 8px; flex: none; }
.commerce-workspace .search-data-table th button { background: none; border: 0; color: inherit; padding: 0; font: inherit; cursor: pointer; }
.search-data-table th[aria-sort="ascending"] button::after { content: " ↑"; }
.search-data-table th[aria-sort="descending"] button::after { content: " ↓"; }
.search-result-url { max-width: 18rem; overflow: hidden; text-overflow: ellipsis; }
.ranking-position { display: inline-block; min-width: 2em; padding: 2px 5px; border-radius: 5px; text-align: center; background: color-mix(in srgb, currentColor 10%, transparent); }
.ranking-position.ranking-top { color: var(--report-link, #8065c5); background: color-mix(in srgb, currentColor 14%, transparent); font-weight: 700; }
.ranking-sparkline { display: block; width: 72px; height: 20px; color: var(--report-link, #8065c5); }
.search-gain { color: var(--report-up, #14805a); font-weight: 700; }
.search-drop { color: var(--report-down, #c74c63); font-weight: 700; }
.search-message { padding: 16px; border: 1px solid currentColor; border-radius: 8px; }
.ranking-keyword { display: inline-flex; align-items: center; gap: 6px; }
.commerce-workspace .search-data-table .ranking-favorite { min-width: 24px; min-height: 24px; font-size: 15px; line-height: 1; text-align: center; }
.commerce-workspace .search-data-table .ranking-favorite[aria-pressed="true"] { color: var(--report-gold, #b4771e); }
.reporting-shell:not(.theme-light) .search-data-table .ranking-favorite[aria-pressed="true"] { color: var(--report-gold, #f6c473); }
.search-filter-panel summary { cursor: pointer; font-weight: 650; }
.search-filter-panel .search-filters { margin-top: 10px; }
.search-comparison-value { display: block; color: var(--report-muted, #536079); font-size: .78em; }
.search-filters select { max-width: min(230px, 75vw); }
.search-trends { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.search-trend-chart { min-width: 0; margin: 0; }
.search-trend-chart figcaption { color: var(--report-muted); font-weight: 600; }
.search-trend-chart svg { display: block; width: 100%; height: auto; }
.search-trend-chart text { fill: var(--report-muted); font-size: 10px; }
.search-trend-current, .search-trend-previous { fill: none; stroke-width: 2; }
.search-trend-current { stroke: var(--report-link); }
.search-trend-previous { stroke: var(--report-muted); stroke-dasharray: 4 4; }
@media (max-width: 720px) {
 .search-trends { grid-template-columns: minmax(0, 1fr); }
}
.search-trend-options { display: flex; flex-wrap: wrap; gap: 5px 10px; min-width: 0; margin: 0; padding: 5px 8px; border: 1px solid var(--report-line); border-radius: 5px; }
.search-trend-options legend { color: var(--report-muted); padding: 0 3px; }
.search-trend-options label { display: inline-flex; align-items: center; gap: 4px; }
.commerce-workspace .search-trend-options input { min-height: auto; width: 1rem; height: 1rem; margin: 0; accent-color: var(--report-link); }
.search-performance:has(#searchTrendclicks:not(:checked)) #searchChartclicks,
.search-performance:has(#searchTrendimpressions:not(:checked)) #searchChartimpressions,
.search-performance:has(#searchTrendctr:not(:checked)) #searchChartctr,
.search-performance:has(#searchTrendposition:not(:checked)) #searchChartposition { display: none; }
