/* Optional review evidence and comparison surfaces. */
.ksn-ranked-list, .ksn-evidence-section, .ksn-comparison-matrix { color: #243249; margin-bottom: 32px; }
.ksn-ranked-list { container-type: inline-size; }
.entry-content.content-area:has(.ksn-ranked-list) { width: 100%; min-width: 0; flex: 1 1 0; }
.ksn-list-filters { margin-bottom: 12px; }
.ksn-list-filters > summary { display: flex; align-items: center; gap: 7px; width: fit-content; padding: 7px 0; cursor: pointer; color: #526781; font-size: 12px; font-weight: 600; list-style: none; }
.ksn-list-filters > summary::-webkit-details-marker { display: none; }
.ksn-list-filters > summary svg { width: 15px; height: 15px; }
.ksn-list-filters[open] > summary > svg:last-child { transform: rotate(90deg); }
.ksn-list-filters[open] .ksn-list-controls { margin-top: 10px; }
.ksn-ranked-list *, .ksn-evidence-section *, .ksn-comparison-matrix * { box-sizing: border-box; }
.ksn-ranked-list svg, .ksn-evidence-section svg, .ksn-fact-checker svg, .ksn-sticky-offer svg { width: 18px; height: 18px; flex-shrink: 0; }
.ksn-ranked-list [hidden], .ksn-sticky-offer[hidden] { display: none !important; }
body .ksn-ranked-list :is(h3,p,ul,ol), body .ksn-evidence-section :is(h2,h3,p,ul) { margin: 0; }
.ksn-list-controls { display: grid; grid-template-columns: minmax(160px,1.4fr) repeat(4,minmax(105px,1fr)); gap: 12px; padding: 0 0 18px; border-bottom: 1px solid #dde3ea; margin-bottom: 18px; }
.ksn-list-controls > label { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 12px; font-weight: 600; color: #556277; }
.ksn-list-controls :is(input[type=search],select) { width: 100%; height: 42px; min-width: 0; margin: 0; border: 1px solid #d8e0eb; border-radius: 4px; padding: 0 10px; background: #fff; color: #243249; font: inherit; font-size: 14px; font-weight: 500; }
.ksn-list-controls > .ksn-list-search { position: relative; justify-content: flex-end; }
.ksn-list-search > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ksn-list-search > svg { position: absolute; left: 12px; bottom: 12px; color: #8290a1; }
.ksn-list-controls .ksn-list-search input { padding-left: 38px; }
.ksn-list-filter-footer { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; min-height: 30px; font-size: 12px; }
.ksn-country-filter { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.ksn-country-filter input { accent-color: var(--ksn-blue,#1100fe); width: 15px; height: 15px; padding: 0; margin: 0; }
.ksn-list-filter-footer output { margin-left: auto; color: #69758a; }
.entry-content .ksn-list-filter-footer button { color: #3255c6; background: transparent; border: 0; border-radius: 0; padding: 3px; font-size: 12px; font-weight: 600; cursor: pointer; }
body .ksn-ranked-entries { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
body .entry-content .ksn-ranked-entries { list-style: none; margin: 0; padding: 0; }
body .ksn-rank-card { margin: 0; padding: 0; background: #fff; border: 1px solid #dce2ed; border-radius: 8px; overflow: clip; box-shadow: 0 2px 5px #14243b08; }
.ksn-rank-main { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(180px,.9fr) minmax(0,1.15fr) 156px; align-items: center; gap: 12px; padding: 6px 12px; }
.ksn-rank-main > div { min-width: 0; }
.ksn-rank-brand { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 4px 10px; align-items: center; }
.ksn-rank-number { position: absolute; z-index: 1; top: -5px; left: -5px; background: #fff; color: var(--ksn-blue); font-size: 12px; line-height: 1; font-weight: 700; border: 1px solid #dce0f4; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 4px; }
.ksn-rank-logo { position: relative; align-self: center; }
.ksn-rank-logo img { width: 56px; height: 56px; border-radius: 5px; object-fit: contain; }
.ksn-rank-name { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
body .entry-content .ksn-ranked-list .ksn-rank-name h3 { margin: 0; }
body .ksn-rank-brand h3 { font-size: 22px; line-height: 1.25; padding-top: 0; font-weight: 700; overflow-wrap: anywhere; }
body .ksn-rank-brand h3 a { text-decoration: none !important; color: #17243b !important; }
.ksn-rank-rating { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 3px 6px; border-radius: 4px; background: #fff5dc; color: #4e3d1c; font-size: 16px; line-height: 1.1; }
.ksn-rank-rating svg { width: 16px; height: 16px; fill: #f6b500; color: #f6b500; stroke-width: 0; }
.ksn-rank-rating > span { color: #6a5c41; font-size: 14px; }
.ksn-best-for { grid-column: 1 / -1; width: fit-content; max-width: 100%; border-left: 2px solid #e8bb4d; padding: 2px 6px; background: #fffbef; color: #725619; font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.ksn-label { display: block; font-size: 11px; color: #7a8595; font-weight: 600; margin-bottom: 8px; }
body .ksn-ranked-list .ksn-rank-offer p { position: relative; display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 10px; border-left: 3px solid #d3ceff; border-radius: 4px; background: #f0efff; color: var(--ksn-blue); font-size: 18px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.ksn-rank-offer p > svg { width: 24px; height: 24px; }
.ksn-rank-offer p > strong { min-width: 0; }
.ksn-rank-offer .ksn-label { margin-bottom: 4px; }
.ksn-rank-terms { display: block; margin-top: 4px; font-size: 14px; line-height: 1.3; color: #5d6571; }
.ksn-rank-expanded .ksn-rank-highlights { margin-bottom: 18px; }
body .ksn-rank-highlights ul { list-style: none; padding: 0; display: grid; gap: 7px; }
.ksn-rank-highlights li { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; line-height: 1.4; margin: 0; }
.ksn-rank-highlights li svg { width: 15px; height: 15px; color: #426459; margin-top: 1px; }
body .ksn-rank-payout { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 10px; color: #227052; font-size: 12px; }
.ksn-rank-payout svg { width: 15px; height: 15px; }
.ksn-rank-payout > span { color: #768376; }
.ksn-rank-payment-icons { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 11px; font-size: 11px; color: #607088; }
.ksn-rank-payment-icons > span { display: inline-flex; align-items: center; gap: 4px; }
.ksn-rank-payment-icons svg { width: 15px; height: 15px; }
.ksn-rank-actions { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.ksn-rank-actions a.ksn-feature-button { min-height: 44px; padding: 10px 8px; font-size: 16px; background-image: linear-gradient(135deg,#4932ff,var(--ksn-blue)); }
.ksn-rank-actions a.ksn-review-link { min-height: 22px; font-size: 14px; }
body a.ksn-feature-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 13px; border-radius: 5px; color: #fff !important; background: var(--ksn-blue,#1100fe); text-decoration: none !important; font-size: 14px; line-height: 1.3; font-weight: 700; }
body a.ksn-feature-button:hover { background: var(--ksn-blue-hover,#332ba0); }
body .ksn-review-link { display: inline-flex; justify-content: center; gap: 7px; align-items: center; color: #3c526f !important; text-decoration: none !important; font-size: 12px; font-weight: 600; min-height: 26px; }
.ksn-rank-country { display: flex; align-items: center; min-width: 0; font-size: 14px; line-height: 1.4; font-weight: 400; color: #5d6571; }
.ksn-rank-country [data-country-flag] { display: block; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; overflow: hidden; }
.ksn-rank-country [data-country-flag] :is(svg,img) { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.ksn-rank-country [data-supported-class] { border: 0; overflow-wrap: anywhere; }
.ksn-rank-country .geo-wrapper[data-supported="true"] [data-supported-class] { box-shadow: 0 2px 0 #00b75b; }
.ksn-rank-country .geo-wrapper[data-supported="false"] [data-supported-class] { box-shadow: 0 2px 0 #ff354b; }
.ksn-rank-country .geo-loader { display: block; width: 100%; height: 16px; }
.ksn-rank-country .geo-loader.hidden { display: none; }
.ksn-rank-country .geo-wrapper { align-items: center; gap: 6px; }
.ksn-rank-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; padding: 6px 12px; border-top: 1px solid #e8edf3; background: #fafbff; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ksn-blue); list-style: none; }
.ksn-rank-toggle { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ksn-rank-toggle .ksn-rank-less, .ksn-rank-details[open] > summary .ksn-rank-more { display: none; }
.ksn-rank-details[open] > summary .ksn-rank-less { display: inline; }
.ksn-rank-details > summary::-webkit-details-marker, .ksn-asset-list summary::-webkit-details-marker { display: none; }
.ksn-rank-toggle > svg { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .15s; }
.ksn-rank-details[open] .ksn-rank-toggle > svg { transform: rotate(-90deg); }
.ksn-rank-expanded { grid-column: 1 / -1; padding: 16px; border-top: 1px solid #e8edf3; background: #fdfdff; }
.ksn-rank-details:not([open]) > .ksn-rank-expanded { display: none; }
.ksn-rank-expanded .ksn-facts-grid dt { font-size: 14px; }
.ksn-rank-expanded .ksn-facts-grid dd, .ksn-rank-expanded .ksn-rank-highlights li, .ksn-rank-expanded .ksn-rank-payment-icons { font-size: 16px; }
.ksn-rank-expanded [data-tone] { --ksn-fact-ink: #4935ba; --ksn-fact-fill: #efecff; }
.ksn-rank-expanded [data-tone="green"] { --ksn-fact-ink: #16724e; --ksn-fact-fill: #e8f7ef; }
.ksn-rank-expanded [data-tone="gold"] { --ksn-fact-ink: #93651a; --ksn-fact-fill: #fff5de; }
.ksn-rank-expanded [data-tone="teal"] { --ksn-fact-ink: #137584; --ksn-fact-fill: #e5f7fa; }
.ksn-rank-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 0; padding: 0 0 16px; border-bottom: 1px solid #e5e5f2; }
.ksn-rank-facts > div { display: grid; grid-template-columns: 32px minmax(0,1fr); align-content: start; gap: 3px 8px; min-width: 0; }
.ksn-rank-facts dt { display: contents; font-size: 14px; line-height: 1.35; color: #5d6571; }
.ksn-rank-fact-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 32px; height: 36px; border-radius: 5px; color: var(--ksn-fact-ink); background: var(--ksn-fact-fill); }
.ksn-rank-fact-icon svg { width: 24px; height: 24px; }
.ksn-rank-facts dd { grid-column: 2; margin: 0; color: #17243b; font-size: 16px; line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.ksn-rank-lists { margin: 0; }
.ksn-rank-list { display: grid; grid-template-columns: 158px minmax(0,1fr); align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #e5e5f2; }
.ksn-rank-list dt { display: flex; align-items: center; gap: 8px; color: #273750; font-size: 14px; line-height: 1.35; font-weight: 600; }
.ksn-rank-list-icon { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; color: var(--ksn-fact-ink); }
.ksn-rank-list-icon svg { width: 24px; height: 24px; }
.ksn-rank-list dd { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; margin: 0; font-size: 16px; line-height: 1.4; }
.ksn-rank-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 8px; border-radius: 4px; color: var(--ksn-fact-ink); background: var(--ksn-fact-fill); overflow-wrap: anywhere; }
.ksn-rank-chip svg { width: 20px; height: 20px; }
.ksn-rank-list .ksn-info-more { margin: 0; min-height: 32px; font-size: 14px; border-color: #d4cefc; }
.ksn-rank-unlisted { color: #5d6571; }
.ksn-rank-extra-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px 16px; margin: 0; padding: 16px 0 0; }
.ksn-rank-extra-facts dt { font-size: 14px; color: #5d6571; }
.ksn-rank-extra-facts dd { margin: 4px 0 0; font-size: 16px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.ksn-rank-expanded .ksn-rank-highlights { margin: 16px 0 0; }
.ksn-rank-expanded .ksn-rank-highlights ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ksn-rank-expanded .ksn-rank-highlights li svg { width: 18px; height: 18px; color: #00b75b; }
.ksn-recommendation { margin: 0 0 22px; padding-left: 14px; border-left: 3px solid #d9e3fd; }
body .ksn-recommendation p { font-size: 14px; line-height: 1.6; }
.ksn-facts-grid { margin: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px 20px; }
.ksn-facts-grid > div { min-width: 0; }
.ksn-facts-grid dt { font-size: 11px; color: #798596; margin-bottom: 5px; }
.ksn-facts-grid dd { margin: 0; font-size: 13px; line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
body .ksn-fact-note { font-size: 12px; color: #607088; line-height: 1.6; margin-top: 16px; }
body .ksn-checked { margin-top: 16px; font-size: 11px; color: #7a8595; line-height: 1.5; }
.ksn-checked a { display: inline-flex; align-items: center; gap: 4px; }
.ksn-checked svg { width: 12px; height: 12px; }
.ksn-review-payment-facts { padding: 18px 0 24px; }
.ksn-rank-expanded .ksn-evidence-section { margin: 24px 0 0; }
.ksn-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding: 0 0 14px; margin-bottom: 16px; border-bottom: 1px solid #e1e6ed; }
body .ksn-section-heading h2 { font-size: 22px; line-height: 1.3; font-weight: 700; color: #17243b; }
.ksn-section-heading > span { font-size: 11px; color: #7b8798; }
.ksn-section-heading > a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.ksn-rank-expanded .ksn-section-heading h2 { font-size: 16px; }
.ksn-test-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.ksn-test-card { border: 1px solid #dce7e0; border-top: 3px solid #64a186; border-radius: 6px; background: #f8fcfa; padding: 18px; min-width: 0; }
.ksn-test-card[data-evidence-status=reported] { border-color: #e8dfc9; border-top-color: #d4b66c; background: #fffdf7; }
.ksn-test-card[data-evidence-status=unchecked] { border-color: #e2e6eb; background: #fafbfc; }
.ksn-test-label { display: flex; align-items: center; gap: 8px; color: #567063; }
body .ksn-test-label h3 { font-size: 12px; font-weight: 600; line-height: 1.4; }
body .ksn-test-result { font-size: 27px; line-height: 1.25; font-weight: 700; margin: 14px 0 7px; color: #213b30; overflow-wrap: anywhere; }
body .entry-content .ksn-test-result { margin: 14px 0 7px; }
.ksn-evidence-status { display: inline-flex; align-items: center; gap: 5px; color: #327254; font-size: 10px; font-weight: 600; }
.ksn-evidence-status::before { content: ''; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
[data-evidence-status=reported] .ksn-evidence-status { color: #927136; }
[data-evidence-status=unchecked] .ksn-evidence-status { color: #798596; }
body .ksn-test-note { font-size: 12px; line-height: 1.6; margin-top: 12px; color: #66786f; }
.ksn-test-meta { border-top: 1px solid #dfebe3; margin: 14px 0 0; padding-top: 12px; display: grid; gap: 6px; }
.ksn-test-meta > div { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; line-height: 1.5; }
.ksn-test-meta dt { color: #7d8d83; }
.ksn-test-meta dd { color: #415a4b; margin: 0; text-align: right; }
body .ksn-evidence-link { display: inline-flex; align-items: center; gap: 6px; color: #386b55; font-size: 11px; margin-top: 12px; }
.ksn-gallery-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,calc((100% - 28px) / 3)); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.ksn-gallery-thumb { display: block; text-align: left; cursor: zoom-in; min-width: 0; scroll-snap-align: start; }
.ksn-gallery-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid #dce3ec; border-radius: 6px; background: #f3f5f7; }
.ksn-gallery-thumb > span { display: block; margin-top: 8px; font-size: 11px; color: #64748b; line-height: 1.4; }
.ksn-gallery-dialog { position: fixed; inset: 0; width: min(1000px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 14px; border: 1px solid #d7dfe9; border-radius: 8px; background: #fff; color: #243249; overflow-y: auto; }
.ksn-gallery-dialog::backdrop { background: #102039bb; backdrop-filter: blur(5px); }
.ksn-gallery-toolbar, .ksn-gallery-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ksn-gallery-toolbar { margin-bottom: 12px; }
body .ksn-gallery-toolbar p { font-size: 12px; color: #6e7b8f; }
.ksn-gallery-dialog button { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; cursor: pointer; border: 1px solid #e2e7ee; border-radius: 4px; }
.ksn-gallery-dialog button:hover { background: #f2f5fa; }
.ksn-gallery-dialog > img { width: 100%; height: auto; max-height: 68dvh; object-fit: contain; background: #f6f8fb; }
.ksn-gallery-bottom { margin-top: 14px; }
body .ksn-gallery-bottom p { text-align: center; font-size: 13px; line-height: 1.5; }
body.ksn-gallery-open { overflow: hidden; }
.ksn-asset-list { border-bottom: 1px solid #e3e8ef; }
.ksn-asset-list summary { display: flex; align-items: center; gap: 14px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 13px; }
.ksn-asset-title { display: flex; align-items: center; gap: 9px; font-weight: 600; min-width: 150px; }
.ksn-asset-title svg { color: #7e8ca2; }
.ksn-asset-preview { flex: 1; color: #7a8595; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ksn-asset-count { display: flex; align-items: center; gap: 7px; color: #6d7a8f; font-size: 11px; }
.ksn-asset-count svg { width: 14px; height: 14px; transition: transform .15s; }
.ksn-asset-list[open] .ksn-asset-count svg { transform: rotate(90deg); }
body .ksn-icon-items { list-style: none; padding: 0 0 18px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.ksn-icon-items li { display: flex; align-items: center; gap: 9px; font-size: 12px; line-height: 1.5; margin: 0; }
.ksn-icon-items svg { width: 23px; height: 23px; color: #73849a; }
.ksn-score-layout { display: grid; grid-template-columns: minmax(170px,.75fr) minmax(0,2fr); gap: 32px; }
.ksn-score-summary { padding-right: 26px; border-right: 1px solid #e2e7ee; }
.ksn-score-summary > span { display: block; font-size: 12px; color: #6e7b8f; }
body .ksn-score-summary > p { font-size: 15px; color: #8591a2; margin: 10px 0 18px; }
.ksn-score-summary > p > strong { font-size: 45px; line-height: 1; color: #25364b; font-weight: 700; }
.ksn-score-summary b { color: #465975; }
body .ksn-score-summary p.ksn-score-note { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: #798596; }
.ksn-score-rows { display: grid; gap: 16px; align-content: start; }
.ksn-score-row { display: grid; grid-template-columns: minmax(130px,1.4fr) minmax(50px,1fr) 45px; align-items: center; gap: 18px; font-size: 12px; }
.ksn-score-row > span > small { display: block; color: #8a94a3; font-size: 10px; margin-top: 3px; }
.ksn-score-row b { text-align: right; }
.ksn-score-row b small { font-weight: 400; color: #8a94a3; margin-left: 2px; }
.ksn-score-row meter { width: 100%; height: 7px; background: #eaf0f8; border-radius: 0; }
.ksn-score-row meter::-webkit-meter-bar { background: #eaf0f8; border: 0; border-radius: 0; }
.ksn-score-row meter::-webkit-meter-optimum-value { background: #7d95d2; border-radius: 0; }
.ksn-score-row meter::-moz-meter-bar { background: #7d95d2; }
.ksn-reputation-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.ksn-reputation-item { padding: 18px 20px; border: 1px solid #e1e6ed; border-radius: 6px; }
.ksn-reputation-item > a { display: inline-flex; justify-content: space-between; gap: 12px; width: 100%; font-weight: 600; font-size: 14px; text-decoration: none !important; }
body .ksn-reputation-item > p { font-size: 12px; line-height: 1.6; color: #6c7a8f; margin-top: 12px; }
body .ksn-reputation-item > .ksn-reputation-score { color: #8994a5; font-size: 13px; display: flex; align-items: baseline; gap: 5px; }
.ksn-reputation-score strong { font-size: 29px; line-height: 1.2; font-weight: 700; color: #283a51; }
.ksn-reputation-score > span { margin-left: auto; font-size: 11px; }
.ksn-fact-checker { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ksn-fact-checker > img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ksn-fact-checker > div { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.ksn-fact-checker span, .ksn-fact-checker small { color: #7d8898; font-size: 10px; }
.ksn-fact-checker a { font-weight: 700; text-decoration: none; }
.ksn-fact-checker > svg { width: 15px; height: 15px; color: #3f9269; }
.ksn-author-bar:has(.ksn-fact-checker) { grid-template-columns: minmax(0,1fr) auto minmax(0,1.2fr) auto; gap: 18px; }
.ksn-matrix-scroll { width: 100%; overflow-x: auto; border: 1px solid #dfe5ec; border-radius: 6px; }
body table.ksn-decision-matrix { border: 0; border-collapse: separate; border-spacing: 0; width: 100%; margin: 0; box-shadow: none; table-layout: auto; }
.ksn-decision-matrix caption { text-align: left; padding: 16px 18px; font-size: 18px; font-weight: 700; background: #fff; color: #243249; }
body .ksn-decision-matrix :is(th,td) { padding: 14px 18px; border: 0; border-top: 1px solid #e4e9f0; min-width: 180px; text-align: left; font-size: 12px; line-height: 1.5; background: #fff; vertical-align: middle; color: #36485f; }
body .ksn-decision-matrix thead th { background: #f4f7fc; font-size: 14px; font-weight: 700; }
.ksn-decision-matrix thead a { display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: #243249 !important; }
.ksn-decision-matrix img { width: 36px; height: 36px; object-fit: contain; border-radius: 4px; }
body .ksn-decision-matrix tr > th:first-child { position: sticky; left: 0; z-index: 1; min-width: 155px; width: 155px; background: #fafbfd; border-right: 1px solid #e4e9f0; font-weight: 600; }
body .ksn-decision-matrix tbody tr:nth-child(even) td { background: #fafbfd; }
.ksn-sticky-offer { position: fixed; z-index: 45; bottom: 0; left: 0; right: 0; border-top: 1px solid #dce3ec; background: #fff; box-shadow: 0 -4px 20px #10243b0d; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }
.ksn-sticky-inner { display: flex; align-items: center; gap: 14px; max-width: 1100px; margin: 0 auto; }
.ksn-sticky-inner > img { width: 44px; height: 44px; object-fit: contain; border-radius: 4px; }
.ksn-sticky-copy { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px; flex: 1; min-width: 0; font-size: 13px; }
.ksn-sticky-copy strong { font-weight: 700; }
.ksn-sticky-copy > span { color: #576b85; }
.ksn-sticky-copy > small { grid-column: 1 / -1; font-size: 10px; color: #8a94a3; }
.ksn-sticky-inner > button { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; color: #8490a1; cursor: pointer; }
body.ksn-sticky-visible { padding-bottom: var(--ksn-offer-space,90px); }
body.ksn-sticky-visible #scroll-top { bottom: calc(var(--ksn-offer-space,90px) + 12px); }
body .ksn-filter-empty { padding: 30px 0; text-align: center; color: #66758a; font-size: 14px; }
:is(.ksn-ranked-list,.ksn-evidence-section,.ksn-sticky-offer) :is(a,button,input,select,summary):focus-visible { outline: 2px solid #587cdc; outline-offset: 3px; }
@container (max-width: 720px) {
  .ksn-list-controls { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .ksn-list-controls .ksn-list-search { grid-column: 1 / -1; }
}
@container (max-width: 619px) {
  .ksn-list-controls { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .ksn-list-filter-footer { flex-wrap: wrap; gap: 8px 14px; }
  .ksn-list-filter-footer output { font-size: 11px; }
  .ksn-list-filter-footer button { margin-left: auto; }
  .ksn-rank-main { grid-template-columns: 56px minmax(0,1fr); gap: 4px 10px; padding: 8px 12px; }
  .ksn-rank-brand { display: contents; }
  .ksn-rank-logo { grid-column: 1; grid-row: 1 / 3; }
  .ksn-rank-name { grid-column: 2; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 8px; }
  .ksn-rank-rating { margin: 2px 0 0; }
  .ksn-best-for { grid-column: 1 / -1; }
  .ksn-rank-offer { grid-column: 2; }
  body .ksn-ranked-list .ksn-rank-offer p { padding: 6px 8px; gap: 6px; }
  .ksn-rank-offer p > svg { width: 20px; height: 20px; }
  .ksn-rank-actions { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 8px; margin-top: 6px; }
  .ksn-rank-actions a.ksn-review-link { min-height: 44px; padding: 8px 6px; border: 1px solid #d9d5ff; border-radius: 5px; color: var(--ksn-blue) !important; }
  .ksn-rank-actions a.ksn-review-link svg { width: 16px; height: 16px; }
  .ksn-rank-actions:not(:has(.ksn-feature-button)) { grid-template-columns: minmax(0,1fr); }
  .ksn-rank-expanded { padding: 18px; }
  .ksn-rank-facts, .ksn-rank-extra-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 12px; }
  .ksn-rank-list { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .ksn-rank-list dd { padding-left: 0; }
  .ksn-rank-expanded .ksn-facts-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .ksn-facts-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 16px; }
  .ksn-test-grid { grid-template-columns: minmax(0,1fr); }
  .ksn-test-card { padding: 18px; }
  body .ksn-test-result { font-size: 26px; }
  .ksn-test-meta > div { font-size: 11px; }
  .ksn-gallery-rail { grid-auto-columns: 78%; }
  .ksn-section-heading h2 { font-size: 20px; }
  .ksn-asset-list summary { flex-wrap: wrap; gap: 7px 12px; }
  .ksn-asset-title { flex: 1; min-width: 0; }
  .ksn-asset-preview { order: 3; flex-basis: 100%; padding-left: 27px; }
  body .ksn-icon-items { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ksn-score-layout { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .ksn-score-summary { border-right: 0; padding-right: 0; }
  .ksn-score-row { grid-template-columns: minmax(130px,1.3fr) minmax(40px,1fr) 40px; gap: 12px; }
  .ksn-reputation-grid { grid-template-columns: minmax(0,1fr); }
  .ksn-author-bar:has(.ksn-fact-checker) { grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
  .ksn-author-bar:has(.ksn-fact-checker) .ksn-author-date { grid-column: 1; grid-row: 3; }
  .ksn-author-bar .ksn-fact-checker { grid-column: 1; grid-row: 2; }
  .ksn-author-bar:has(.ksn-fact-checker) .ksn-disclosures { grid-row: 1 / 4; }
  .ksn-fact-checker > img { width: 30px; height: 30px; }
  .ksn-sticky-offer { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .ksn-sticky-inner { flex-wrap: wrap; gap: 9px; }
  .ksn-sticky-inner > img { width: 32px; height: 32px; }
  .ksn-sticky-copy { grid-template-columns: minmax(0,1fr); font-size: 11px; gap: 3px; }
  .ksn-sticky-inner > a.ksn-feature-button { min-height: 38px; font-size: 12px; padding: 8px 10px; }
  .ksn-sticky-inner > button { width: 22px; }
  .ksn-gallery-dialog { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { .ksn-rank-toggle > svg, .ksn-asset-count svg { transition: none; } }
/* Compact short-review facts and top-layer searchable lists. */
.ksn-summary-facts { margin: 0; }
.ksn-summary-fact { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 8px 20px; padding: 12px 14px; border-bottom: 3px solid #fff; background: #f0f3fa; line-height: 1.5; }
.ksn-summary-fact dt { color: #65748a; font-size: 12px; align-self: center; }
.ksn-summary-fact dd { margin: 0; font-size: 14px; font-weight: 600; color: #273750; overflow-wrap: anywhere; }
.ksn-info-more { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 32px; margin-left: 6px; padding: 3px 8px; border: 1px solid #dbe0ef; border-radius: 4px; background: #fff; color: var(--ksn-blue); font-size: 12px; font-weight: 700; vertical-align: middle; cursor: pointer; }
.ksn-info-more:hover { border-color: var(--ksn-blue); background: #f7f6ff; }
.ksn-info-popover { position: fixed; inset: auto; margin: 0; width: min(340px,calc(100vw - 24px)); max-height: min(380px,calc(100dvh - 24px)); padding: 16px; border: 1px solid #dce2ec; border-radius: 8px; background: #fff; color: #273750; box-shadow: 0 12px 40px #17274226; font-size: 14px; font-weight: 400; overflow: auto; }
.ksn-info-popover:popover-open { display: flex; flex-direction: column; gap: 10px; }
.ksn-info-popover-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-shrink: 0; }
.ksn-info-popover-heading strong { font-size: 16px; }
.ksn-info-popover-heading button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 4px; background: #f0f3fa; color: #65748a; cursor: pointer; }
.ksn-info-popover-heading svg { width: 15px; height: 15px; }
.ksn-info-search { display: block; flex-shrink: 0; }
body .ksn-info-search input { box-sizing: border-box; width: 100%; min-height: 42px; margin: 0; border: 1px solid #dce2ec; border-radius: 4px; padding: 8px 11px; background: #f8fafd; color: #273750; font-size: 16px; }
body .ksn-info-popover p.ksn-info-count, body .ksn-info-popover p.ksn-info-empty { margin: 0; color: #65748a; font-size: 12px; }
body .ksn-info-popover ul.list-none { overflow-y: auto; overscroll-behavior: contain; min-height: 40px; list-style: none; padding: 0; margin: 0; scrollbar-width: thin; scrollbar-color: #c5cce0 #f5f7fb; }
.ksn-info-popover li { padding: 9px 4px; border-bottom: 1px solid #edf0f6; margin: 0; }
.ksn-info-popover li:last-child { border: 0; }
.ksn-info-popover [hidden] { display: none; }
.ksn-info-more:focus-visible, .ksn-info-popover :focus-visible { outline: 2px solid var(--ksn-blue); outline-offset: 2px; }
.ksn-summary-pros-cons > :only-child { grid-column: 1 / -1; }
@media (max-width:639px) { .ksn-summary-fact { grid-template-columns: minmax(0,1fr); gap: 3px; padding: 11px 12px; } .ksn-info-more { min-height: 36px; } }
