/* Competitor research keeps independent filters and never freezes source table rows. */
.cmp-filterbar { display:flex; align-items:center; flex-wrap:wrap; gap:14px; padding:12px 15px; background:#fff; border:1px solid var(--line); border-radius:12px; }
.cmp-filterbar label { display:flex; gap:8px; align-items:center; font-size:12px; color:var(--muted); }
.cmp-filterbar input,.cmp-filterbar select { min-height:34px; padding:5px 10px; font-size:12px; }
.cmp-filterbar>[data-cmp-refresh] { margin-left:auto; }
.cmp-summary { display:grid; grid-template-columns:.8fr .8fr 1.4fr; gap:14px; margin-top:14px; }
.cmp-stat { display:flex; flex-direction:column; gap:8px; }
.cmp-stat>span { color:var(--muted); font-size:13px; }
.cmp-stat>strong { color:var(--navy); font-size:29px; font-weight:700; line-height:1.35; }
.cmp-stat>small { font-size:12px; }
.cmp-bars { display:grid; gap:12px; padding:5px 0; }
.cmp-bar-row { display:grid; grid-template-columns:40px 1fr 44px; align-items:center; gap:10px; font-size:12px; }
.cmp-bar-track { height:9px; background:#edf2fa; border-radius:6px; overflow:hidden; }
.cmp-bar-track i { display:block; height:100%; background:#4c7aee; border-radius:6px; }
.cmp-bar-row:nth-child(2) i { background:#90baff; }
.cmp-bar-row b { color:var(--navy); font-size:12px; text-align:right; font-variant-numeric:tabular-nums; }
.cmp-note { color:var(--muted); font-size:12px; margin-top:12px; line-height:1.7; }
.cmp-product { text-align:left; font-size:13px; font-weight:550; white-space:normal; overflow-wrap:anywhere; }
.cmp-product-table table { min-width:620px; }
.cmp-product-table td:first-child { min-width:230px; }
.cmp-product-table td,.cmp-product-table th { padding:10px; }
.cmp-product-table th:first-child { width:45%; }
.cmp-topics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.cmp-topic { padding:14px; border:1px solid var(--line); background:#fbfcff; border-radius:10px; min-width:0; }
.cmp-topic h3 { font-size:13px; margin-bottom:9px; line-height:1.65; }
.cmp-topic .actions { gap:4px 10px; }
.cmp-topic .link { font-size:12px; text-align:left; }
.cmp-archives summary { cursor:pointer; font-size:15px; font-weight:550; }
.cmp-archives summary span { color:var(--muted); margin-left:10px; font-size:12px; font-weight:400; }
.cmp-archives .tablewrap { margin-top:12px; }
.cmp-viewer-meta,.cmp-documents { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.cmp-documents { margin-top:10px; }
.cmp-documents .link { font-size:12px; }
.cmp-sheet-tabs { padding-bottom:9px; border-bottom:1px solid var(--line); }
.cmp-sheet-tabs button { font-size:12px; }
.cmp-sheet-table { max-height:680px; border:1px solid var(--line); }
.cmp-sheet-table table { width:max-content; min-width:100%; table-layout:fixed; }
.cmp-sheet-table td { min-width:150px; width:260px; max-width:360px; white-space:pre-wrap; overflow-wrap:anywhere; vertical-align:top; text-align:left; font-size:12px; line-height:1.75; }
.cmp-sheet-table td .link { white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; }
.cmp-sheet-table th { position:static!important; font-size:11px; }
.cmp-sheet-table tbody th { width:44px; min-width:44px; color:#74839b; text-align:right; vertical-align:top; }
.cmp-sheet-table tbody tr:nth-child(even) td { background:#f8faff; }
#cmp-viewer { scroll-margin-top:20px; }
#cmp-viewer .cardhead h2 { overflow-wrap:anywhere; }
@media(max-width:1100px) { .cmp-summary { grid-template-columns:1fr 1fr; } .cmp-summary>.card:last-child { grid-column:1/-1; } .cmp-topics { grid-template-columns:1fr 1fr; } }
@media(max-width:700px) { .cmp-filterbar { gap:10px; } .cmp-filterbar label { width:100%; justify-content:space-between; } .cmp-filterbar select,.cmp-filterbar input { width:70%; } .cmp-topics { grid-template-columns:1fr; } .cmp-summary { gap:9px; } .cmp-stat { padding:13px; } .cmp-stat>strong { font-size:25px; } .cmp-sheet-table td { min-width:200px; } }

/* Visual overview: scoped to competitor research. */
#competitor-panel { max-width:1500px; margin:0 auto; }
#competitor-panel .subheading { margin-bottom:20px; }
.cmp-overview { display:grid; grid-template-columns:1fr 1.15fr; gap:18px; margin:20px 0 28px; }
#competitor-panel .cmp-overview>.card { margin:0; padding:24px; }
.cmp-coverage { display:flex; align-items:center; gap:28px; height:100%; }
.cmp-donut { width:150px; height:150px; position:relative; flex-shrink:0; }
.cmp-donut svg { width:100%; height:100%; transform:rotate(-90deg); }
.cmp-donut>div { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.cmp-donut strong { font-size:34px; line-height:1.2; font-variant-numeric:tabular-nums; color:#132444; }
.cmp-donut span { font-size:11px; color:#63738c; margin-top:5px; }
.cmp-legend { flex:1; min-width:0; }
.cmp-legend h3 { margin:0 0 16px; font-size:15px; }
.cmp-legend>div { display:flex; gap:9px; align-items:center; margin:11px 0; font-size:13px; }
.cmp-legend i { width:8px; height:8px; border-radius:3px; }
.cmp-legend b { margin-left:auto; font-size:17px; }
.cmp-legend b small { font-size:11px; font-weight:400; }
.cmp-legend em { font-style:normal; color:#63738c; width:35px; text-align:right; font-size:12px; }
.cmp-legend>small { display:block; margin-top:16px; color:#63738c; font-size:11px; }
#competitor-panel .cmp-research-guide { background:linear-gradient(120deg,#edf3ff,#f8fbff); border-color:#d9e5ff; display:flex; flex-direction:column; justify-content:center; }
.cmp-eyebrow { font-size:10px; letter-spacing:2px; font-weight:650; color:#2459ed; }
.cmp-research-guide h2 { font-size:21px; margin:12px 0 8px; letter-spacing:-.3px; }
.cmp-research-guide p { font-size:12px; line-height:1.8; color:#63738c; margin:0; max-width:420px; }
.cmp-guide-facts { display:flex; gap:28px; margin-top:18px; color:#63738c; font-size:12px; }
.cmp-guide-facts b { font-size:20px; color:#132444; margin-right:5px; }
.cmp-section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:26px 0 15px; }
.cmp-section-heading h2 { font-size:18px; margin:0; }
.cmp-section-heading h2 span { font-size:12px; background:#e9efff; color:#2459ed; padding:3px 8px; border-radius:6px; vertical-align:middle; margin-left:6px; }
.cmp-section-heading p { margin:6px 0 0; color:#63738c; font-size:12px; }
.cmp-segments { display:flex; padding:4px; border:1px solid #e2e8f2; border-radius:9px; background:#edf1f7; flex-shrink:0; }
.cmp-segments button { background:transparent; border:0; color:#63738c; border-radius:6px; padding:7px 15px; font-size:12px; cursor:pointer; }
.cmp-segments button.active { background:white; color:#2459ed; box-shadow:0 1px 4px #142b5420; }
.cmp-product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.cmp-product-card { background:white; border:1px solid #dfe6f2; border-radius:14px; padding:20px; transition:box-shadow .18s,border-color .18s; min-width:0; }
.cmp-product-card:hover { border-color:#9bb6f8; box-shadow:0 5px 16px #24467e0b; }
.cmp-product-top { display:flex; align-items:center; justify-content:space-between; font-size:11px; color:#8290a6; }
.cmp-category { background:#edf2ff; color:#2459ed; padding:4px 8px; border-radius:5px; font-weight:600; }
.cmp-category.camp { background:#eaf6fc; color:#247b9b; }
.cmp-product-name { display:flex; align-items:flex-start; gap:9px; margin:18px 0 8px; min-height:44px; }
.cmp-product-name h3 { font-size:16px; line-height:1.5; margin:0; color:#132444; overflow-wrap:anywhere; }
.cmp-product-index { color:#aab8cd; font-size:11px; margin-top:5px; font-variant-numeric:tabular-nums; }
.cmp-product-card>p { margin:0 0 18px; font-size:11px; color:#8290a6; }
.cmp-product-footer { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #edf1f7; padding-top:13px; gap:10px; }
.cmp-product-footer .link { font-size:12px; }
.cmp-product-footer button { font-weight:600; }
.cmp-product-footer a { color:#6c7f9c; }
#competitor-panel .cmp-topics { grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:22px; }
#competitor-panel .cmp-topic { background:#fff; padding:17px 18px; }
#competitor-panel .cmp-topic h3 { margin:0 0 12px; }
#competitor-panel .cmp-archives { padding:16px 20px; margin-top:20px; }
.cmp-source-footer { display:flex; gap:12px; flex-wrap:wrap; font-size:11px; color:#8290a6; padding:16px 2px 6px; }
.cmp-source-footer .link { font-size:11px; }
.cmp-source-footer small { flex-basis:100%; font-size:11px; }
#cmp-viewer:empty { display:none; }
#cmp-viewer:not(:empty) { margin-top:24px; }
#competitor-panel button:focus-visible,#competitor-panel a:focus-visible { outline:2px solid #2459ed; outline-offset:3px; }
@media(max-width:1150px) { .cmp-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .cmp-coverage { gap:15px; } .cmp-donut { width:124px; height:124px; } .cmp-overview { grid-template-columns:1fr 1fr; } }
@media(max-width:850px) { .cmp-overview { grid-template-columns:1fr; } #competitor-panel .cmp-topics { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .cmp-product-grid,#competitor-panel .cmp-topics { grid-template-columns:1fr; } .cmp-section-heading { align-items:flex-start; flex-direction:column; } .cmp-research-guide h2 { font-size:19px; } .cmp-filterbar input,.cmp-filterbar select { min-width:0; } .cmp-guide-facts { gap:16px; } }
@media(prefers-reduced-motion:reduce) { .cmp-product-card { transition:none; } }
/* Automatic single-product comparison, each axis retains its source unit. */
.cmp-macro { margin-top:22px; }
.cmp-macro-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.cmp-macro-heading h2 { font-size:23px; margin:7px 0; }
.cmp-macro-heading p { color:#63738c; font-size:12px; margin:0; }
.cmp-macro-key { display:flex; align-items:center; gap:7px; font-size:12px; white-space:nowrap; }
.cmp-macro-key i { width:10px; height:10px; border-radius:3px; background:#2459ed; }
.cmp-macro-key i:nth-of-type(2) { margin-left:10px; background:#71a5dd; }
.cmp-macro-notice { padding:12px 15px; margin:18px 0; background:#f1f6ff; color:#526785; border-radius:8px; font-size:12px; line-height:1.8; }
.cmp-entity-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-bottom:20px; align-items:start; }
.cmp-entity { border:1px solid #e2e9f3; border-radius:9px; padding:12px; min-width:0; }
.cmp-entity.own { background:#f4f7ff; border-color:#cbd9ff; }
.cmp-entity summary { display:flex; gap:10px; cursor:pointer; font-size:12px; line-height:1.6; }
.cmp-entity summary>b { color:#2459ed; flex-shrink:0; }
.cmp-entity small { display:block; color:#64748b; font-size:11px; }
.cmp-entity p { font-size:12px; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
.cmp-entity p b { display:block; margin:10px 0 4px; }
.cmp-metric-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:start; }
.cmp-metric { border:1px solid #e0e8f3; padding:20px 16px 12px; border-radius:12px; min-width:0; background:#fff; }
.cmp-metric header { display:flex; justify-content:space-between; gap:10px; align-items:center; margin-bottom:40px; }
.cmp-metric h3 { margin:0; font-size:16px; }
.cmp-metric header>span { font-size:11px; color:#63738c; }
.cmp-columns { display:grid; grid-template-columns:36px repeat(var(--cmp-count),minmax(58px,1fr)); overflow-x:auto; padding-top:18px; }
.cmp-scale { height:180px; display:flex; flex-direction:column; justify-content:space-between; font-size:10px; color:#8b9aaf; padding-right:3px; }
.cmp-plot { height:180px; display:flex; align-items:flex-end; justify-content:center; position:relative; border-bottom:1px solid #cfd9e8; background:repeating-linear-gradient(to top,transparent 0,transparent 89px,#edf1f7 89px,#edf1f7 90px); }
.cmp-column-bar { width:52%; max-width:46px; background:#dceafb; position:relative; display:flex; align-items:flex-end; border-radius:4px 4px 0 0; }
.cmp-column-solid { background:#71a5dd; width:100%; border-radius:4px 4px 0 0; }
.cmp-column.own .cmp-column-bar { background:#ccd9ff; }
.cmp-column.own .cmp-column-solid { background:#2459ed; }
.cmp-column-value { position:absolute; bottom:100%; left:50%; transform:translateX(-50%); padding-bottom:6px; font-size:10px; font-weight:650; white-space:nowrap; color:#243a5e; }
.cmp-column-label { font-size:11px; line-height:1.5; text-align:center; padding:11px 4px 4px; overflow-wrap:anywhere; }
.cmp-column-label>b { font-size:10px; color:#8b9aaf; display:block; }
.cmp-column-label small { display:block; color:#2459ed; font-size:10px; }
.cmp-missing { font-size:11px; color:#8290a6; margin-bottom:8px; }
.cmp-chart-source { border-top:1px solid #edf1f7; margin-top:12px; padding-top:10px; font-size:11px; color:#63738c; }
.cmp-chart-source summary,.cmp-feature summary,.cmp-raw-details summary { cursor:pointer; padding:6px 0; }
.cmp-chart-source p { display:flex; justify-content:space-between; gap:10px; line-height:1.6; }
.cmp-chart-source b { font-weight:500; }
.cmp-chart-source p span { flex-shrink:0; max-width:45%; }
.cmp-feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; align-items:start; }
.cmp-feature { padding:12px 15px; border:1px solid #e2e9f3; border-radius:9px; min-width:0; }
.cmp-feature summary { font-size:13px; font-weight:550; }
.cmp-feature summary span { float:right; color:#8290a6; font-size:11px; font-weight:400; }
.cmp-feature>div { padding-top:13px; font-size:12px; }
.cmp-feature p { color:#63738c; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
.cmp-raw-details { margin-top:24px; padding-top:14px; border-top:1px solid #e2e9f3; font-size:13px; }
@media(max-width:1100px) { .cmp-metric-grid { grid-template-columns:1fr; } }
@media(max-width:600px) { .cmp-entity-list,.cmp-feature-grid { grid-template-columns:1fr; } .cmp-macro-heading { flex-wrap:wrap; } .cmp-metric { padding:15px 9px; } .cmp-column-value { font-size:9px; } }
.cmp-chart-footnote { color:#63738c; font-size:11px; line-height:1.7; margin:10px 0; }
