/* Shared presentation layer. Load after AppAsset; routes and measured values stay in PHP. */
:root {
    --cc-ink: #172b3a;
    --cc-muted: #5c7080;
    --cc-accent: #0f766e;
    --cc-accent-dark: #115e59;
    --cc-surface: #ffffff;
    --cc-page: #f3f6f9;
    --cc-line: #dce5ed;
    --cc-radius: 16px;
    --cc-shadow: 0 4px 20px rgba(23, 43, 58, .055);
}
html { scroll-padding-top: 24px; }
body {
    min-width: 0;
    background: var(--cc-page);
    color: var(--cc-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: break-word;
}
body a { color: var(--cc-accent); }
body a:hover { color: var(--cc-accent-dark); }
body a:focus-visible, body button:focus-visible, body input:focus-visible,
body select:focus-visible, body textarea:focus-visible, body [tabindex]:focus-visible {
    outline: 3px solid #0f766e;
    outline-offset: 3px;
}
body img { max-width: 100%; }
body h1, body h2, body h3, body .title { color: var(--cc-ink); line-height: 1.3; }
body h1 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.025em; }
body h2, body .title { font-size: clamp(21px, 2.5vw, 28px); font-weight: 700; }
body p { margin-bottom: 14px; }
body .breadcrumb { color: var(--cc-muted); flex-wrap: wrap; padding: 16px 0; margin-bottom: 0; }
body .block { margin-top: 32px; }
body .container { max-width: 1280px; }
body .row > [class*="col-"] { min-width: 0; }

/* The header grows with its controls, including longer translated menu names. */
body .header {
    height: auto;
    min-height: 0;
    padding: 20px 0 24px;
    background: #142c3e;
    border-bottom: 4px solid var(--cc-accent);
}
body .top-nav { gap: 18px; min-height: 48px; height: auto; }
body .top-nav-left { min-width: 0; gap: 20px; }
body .top-nav-right { flex-shrink: 0; }
body .logo img { max-width: 205px; height: auto; }
body .menu { margin-left: 0; top: 0; gap: 2px; }
body .menu-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 12px; font-weight: 600; }
body .menu-item:hover > .menu-link { color: var(--cc-accent-dark); }
body .menu-dropdown { padding: 8px; border: 1px solid var(--cc-line); border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.13); }
body .menu-dropdown-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    min-height: 44px;
    line-height: 1.45;
    border-radius: 7px;
    white-space: normal;
    color: var(--cc-ink);
}
body .menu-dropdown-link:hover { color: var(--cc-accent-dark); background: #edf7f5; }
body .lang-switcher-item { min-height: 38px; color: var(--cc-ink); }
body .lang-switcher .menu-dropdown { max-height: 70vh; overflow-y: auto; }
body .search { border-color: #6b8292; }
body .search input { font-size: 15px; color: #f1f5f9; }
body .search input::placeholder { color: #c2d1dc; }
body .header a:focus-visible, body .header button:focus-visible, body .header input:focus-visible { outline-color: #5eead4; }
body .search-result { border-radius: 12px; border: 1px solid var(--cc-line); }
body .search-result a { padding: 4px 8px; min-height: 36px; }

/* Keep the submit button in normal flow, outside both model selectors. */
body .tab-form { margin-top: 20px; }
body .tab-form .nav-tabs .nav-link { min-height: 40px; color: #dae5ec; border-color: #708394; padding: 8px 20px; }
body .tab-form .nav-tabs .nav-link.active { background: var(--cc-accent); color: white; border-color: #57c9b8; }
body .tab-form .tab-content { padding-top: 16px; }
body #cpu-compare, body #gpu-compare { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; }
body #cpu-compare > .row, body #gpu-compare > .row { min-width: 0; margin: 0 -6px; }
body #cpu-compare > .row > [class*="col-"], body #gpu-compare > .row > [class*="col-"] { padding-left: 6px; padding-right: 6px; }
body .autocomplete {
    border: 1px solid var(--cc-line);
    border-radius: 10px;
    min-height: 64px;
    height: auto;
    padding: 12px 16px;
    margin-bottom: 0;
    gap: 12px;
}
body .autocomplete-open { border-color: #2dd4bf; }
body .autocomplete-image { flex: 0 0 40px; width: 40px; min-width: 40px; margin: 0 !important; background-size: contain; }
body .autocomplete-right { justify-content: flex-start; }
body .autocomplete-right .autocomplete-image { order: -1; }
body .autocomplete-placeholder { font-size: 15px; line-height: 1.4; border: 0; min-width: 0; text-align: left !important; }
body .autocomplete-input { min-width: 0; font-size: 16px; line-height: 1.4; border-bottom-color: var(--cc-line); }
body .autocomplete-button, body .autocomplete-button.orange {
    position: static;
    transform: none;
    margin: 0;
    min-height: 48px;
    height: auto;
    width: auto;
    min-width: 120px;
    padding: 12px 20px;
    border-radius: 10px;
    color: white;
    background: var(--cc-accent);
    font-size: 15px;
    line-height: 1.4;
}
body .autocomplete-button:hover, body .autocomplete-button.orange:hover { background: var(--cc-accent-dark); }
body .autocomplete-button::before, body .autocomplete-button::after { content: none; }
body .autocomplete-dropdown { top: calc(100% + 6px); border-radius: 10px; border: 1px solid var(--cc-line); box-shadow: var(--cc-shadow); z-index: 40; }
body .autocomplete-dropdown-item { min-height: 56px; height: auto; padding: 10px 16px; line-height: 1.4; gap: 10px; }
body .autocomplete-dropdown-item img { max-width: 44px; max-height: 44px; object-fit: contain; }

/* Photo, caption and name occupy separate rows; no negative offsets or fixed card height. */
body .big-compare { margin-top: 20px; }
body .big-compare > .row { margin-left: -8px; margin-right: -8px; }
body .big-compare > .row > .col-md-6 { display: flex; padding: 8px; }
body .big-compare-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    min-height: 0;
    padding: 26px;
    border: 1px solid var(--cc-line);
    border-radius: var(--cc-radius);
    box-shadow: var(--cc-shadow);
    background: var(--cc-surface);
    margin-bottom: 0;
}
body .big-compare-top { align-items: flex-start; flex-wrap: wrap; min-height: 0; gap: 14px 22px; }
body .big-compare-reyting { font-size: 13px; color: var(--cc-muted); font-weight: 500; }
body .big-compare-reyting .stars { display: flex; gap: 4px; margin-top: 7px; }
body .big-compare-reyting .stars img { width: 18px; height: 18px; }
body .big-compare-date { width: auto; max-width: 55%; opacity: 1; font-size: 13px; color: var(--cc-muted); line-height: 1.55; }
body .big-compare-bottom {
    position: static;
    top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-width: 0;
    margin-top: 22px;
}
body .big-compare-image { width: 100%; max-width: 360px; text-align: center; }
body .big-compare-image > img {
    display: block;
    width: auto;
    height: 170px;
    max-height: 170px !important;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
}
body .big-compare-image .product-image-credit {
    position: static;
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--cc-muted);
    overflow-wrap: anywhere;
}
body .big-compare-bottom > .big-compare-name { width: 100%; margin: 0; font-size: 18px !important; line-height: 1.4; color: var(--cc-ink); }
body .big-compare-bottom h1.big-compare-name { margin: 0; font-size: clamp(23px,3vw,32px); line-height: 1.3; }
body .big-compare > .row > .big-compare-name { padding: 0 16px; }
body .big-compare > .row > .big-compare-name h1 { font-size: clamp(23px,3vw,32px); line-height: 1.35; }
body .big-compare-card > .box-title { margin-top: 22px; }
body .big-compare-card .text { margin-top: 18px; line-height: 1.7; color: #435969; }
body .big-compare-icon::after { content: none; }

/* Specification and result sections use a single spacing system. */
body .box, body .modern-benchmarks, body .review, body .mini-compare, body .sidebar-compare-item {
    border: 1px solid var(--cc-line);
    border-radius: var(--cc-radius);
    box-shadow: var(--cc-shadow);
    background: var(--cc-surface);
}
body .box { display: block; padding: 26px; margin-top: 22px; margin-bottom: 24px; }
body .box-title { font-size: 18px; line-height: 1.4; color: var(--cc-ink); gap: 12px; }
body .box-subtitle { color: var(--cc-muted); font-size: 15px; line-height: 1.6; }
body .box-list { margin: 20px -26px 0; }
body .box-list-item { padding: 14px 26px; border-color: #eaf0f4; line-height: 1.5; gap: 12px; font-size: 15px; }
body .box-list-item:nth-child(even) { background: #f8fafc; }
body .box-list-item .f1 { flex: 1 1 210px; min-width: 0; width: auto; }
body .box-list-item .f2 { flex: 1 1 240px; min-width: 0; width: auto; gap: 10px; }
body .box-list-item .f3 { width: 100%; min-width: 0; color: var(--cc-muted); opacity: 1; overflow-wrap: anywhere; }
body .box-list-item .f2 strong { flex: 1 1 0; min-width: 0; width: auto; font-size: 14px; overflow-wrap: anywhere; }
body .box-list-item .f2 img { flex: 0 0 auto; max-width: 30px; margin: 0; }
body .box-list-item p { margin-bottom: 4px; }
body .box-list-short .box-list-item .f1, body .box-list-short .box-list-item .f2 { min-width: 0; }
body .box-list-mini .box-list-item .f1, body .box-list-mini .box-list-item .f2 { min-width: 0; }
body .content-nav { padding: 8px; gap: 4px; border: 1px solid var(--cc-line); border-radius: 12px; box-shadow: none; }
body .content-nav a { margin: 0; padding: 8px 14px; min-height: 40px; font-size: 14px; line-height: 1.7; border-radius: 8px; }
body .content-nav a:hover, body .content-nav a.active { color: var(--cc-accent-dark); background: #e9f5f2; }
body .modern-benchmarks { padding: 24px; }
body .modern-benchmarks li { margin-bottom: 14px; }
body .modern-filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; gap: 16px; align-items: end; }
body .modern-filter-field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
body .modern-filter-field label { margin: 0; font-size: 14px; font-weight: 600; color: #435969; }
body .modern-filter-field select { width: 100%; padding: 8px 10px; background: white; }

/* Preserve data widths, simplify decorative bars, and keep small values legible. */
body .my-progres, body .my-progres.yellow, body .my-progres.orange { width: 100%; margin-left: 0; background: #e8eff3; border-radius: 8px; }
body .my-progres::before, body .my-progres::after,
body .my-progres .progress-bar::before, body .my-progres .progress-bar::after { content: none; }
body .my-progres .progress-bar, body .my-progres.yellow .progress-bar { background: #c7e8e1; color: #153e37; min-height: 38px; height: auto; padding: 0; border-radius: 8px; }
body .my-progres.orange .progress-bar { background: #d5e5f0; color: #17384b; }
body .my-progres .progress-bar > span { padding: 8px 10px; white-space: nowrap; line-height: 1.5; font-size: 14px; }

/* Wide ranking rows become labelled cards on tablets and phones. */
body .rating-table-body { border: 1px solid var(--cc-line); border-radius: 12px; box-shadow: var(--cc-shadow); overflow: hidden; }
body .rating-table-item { border-color: var(--cc-line); }
body .rating-table-item:hover { background: #f0f8f6; }
body .rating-table-content { min-width: 0; padding: 20px; gap: 4px; }
body .rating-table-number { min-width: 56px; width: 56px; color: var(--cc-muted); border-color: #e9eef2; font-variant-numeric: tabular-nums; }
body .rating-table .t1 { min-width: 0; }
body .rating-table .t1-flex { gap: 12px; line-height: 1.45; min-width: 0; }
body .rating-table .t1-flex img { width: 52px; height: 46px; margin-right: 0; flex-shrink: 0; object-fit: contain; }
body .rating-table .t1-flex a { color: var(--cc-ink); min-width: 0; }
body .rating-table .t1-flex a:hover { color: var(--cc-accent); }
body .rating-table-name { opacity: 1; color: var(--cc-muted); line-height: 1.4; }
body .rating-table-header .rating-table-content { padding-top: 8px; padding-bottom: 10px; }
body .rating-table-header .rating-table-name { cursor: auto; }
body .rating-table-header a .rating-table-name { cursor: pointer; }
body .table-responsive, body .grid-view { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
body .grid-view .table { min-width: 700px; margin-bottom: 0; font-size: 14px; background: white; }
body .table th { color: #435969; background: #edf3f6; font-weight: 600; }
body .table td, body .table th { padding: 12px 14px; border-color: var(--cc-line); vertical-align: middle; }
body .table-striped tbody tr:nth-of-type(odd) { background: #f7fafb; }
body .table tbody tr:hover { background: #edf7f5; }

/* Controls and pagination have useful touch targets and visible focus. */
body .btn { min-height: 42px; height: auto; border-radius: 9px; padding: 10px 16px; line-height: 1.35; }
body .btn-yellow, body .btn-orange, body .btn-yellow:hover, body .btn-orange:hover { color: #fff; background: var(--cc-accent); border-color: var(--cc-accent); }
body .btn-yellow:hover, body .btn-orange:hover { background: var(--cc-accent-dark); }
body .btn-yellow::before, body .btn-yellow::after, body .btn-orange::before, body .btn-orange::after { content: none; }
body .btn-medium { margin-left: 0; margin-right: 0; }
body .btn:focus-visible, body .autocomplete-button:focus-visible, body .search button:focus-visible { outline: 3px solid #0f766e; outline-offset: 3px; }
body .header .autocomplete-button:focus-visible, body .header .search button:focus-visible { outline-color: #5eead4; }
body .form-control, body select { min-height: 42px; border-radius: 8px; border-color: #bbcbd7; font-size: 16px; }
body .form-control:focus { border-color: var(--cc-accent); box-shadow: 0 0 0 3px rgba(15,118,110,.13); }
body .help-block { position: static; line-height: 1.5; margin-top: 5px; }
body .pagination { gap: 5px; flex-wrap: wrap; justify-content: center; padding: 8px 0; }
body .pagination li { width: 42px; height: 42px; margin: 0; border: 1px solid var(--cc-line); box-shadow: none; border-radius: 9px; }
body .pagination li a, body .pagination li span { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--cc-ink); }
body .pagination li:hover, body .pagination li.active { background: var(--cc-accent); border-color: var(--cc-accent); }
body .pagination li:hover a, body .pagination li.active a, body .pagination li.active span { color: white; }
body .pagination li.disabled { opacity: .55; background: white; }

body .review { padding: 24px; gap: 12px; line-height: 1.5; color: var(--cc-ink); }
body .review img { height: 96px; max-width: 100%; object-fit: contain; }
body .mini-compare { padding: 24px; gap: 20px; }
body .mini-compare > div { min-width: 0; }
body .mini-compare > div span { display: inline-block; margin: 8px 0; font-size: 15px; }
body .mini-compare > div img { max-width: 80px; height: 56px; object-fit: contain; }
body .sidebar-compare-item { padding: 22px; }
body .sidebar-compare-item span { line-height: 1.5; }
body .compare-card { border: 1px solid var(--cc-line); border-radius: 12px; box-shadow: var(--cc-shadow); overflow: hidden; }
body .compare-card-body { height: auto; min-height: 180px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
body .compare-card-body > div:not(.compare-card-icon) { width: auto; height: auto; padding: 20px 14px; min-width: 0; line-height: 1.45; }
body .compare-card-body > div img { max-width: 100%; object-fit: contain; }
body .compare-card-left { border: 0; }
body .compare-card-footer { height: auto; min-height: 40px; padding: 8px 12px; color: var(--cc-muted); }
body .compare-card.compact .compare-card-body { height: auto; min-height: 0; grid-template-columns: minmax(0,1fr); gap: 0; }
body .compare-card.compact .compare-card-body > div:not(.compare-card-icon) { height: auto; padding: 16px; }
body .compare-card.compact .compare-card-icon { display: none; }
body .footer { background: #142c3e; margin-top: 48px; padding: 36px 0; }
body .footer-link, body .footer-bottom { color: #d1e0e9; }
body .footer-link { min-height: 36px; line-height: 1.5; }
body .footer-link:hover { color: #5eead4; }
body .footer-title { color: white; line-height: 1.5; }

@media (min-width: 768px) {
    /* Match the legacy JS breakpoint, avoiding an inert tablet hamburger. */
    body .menu:not(.mobile) { display: flex; flex-wrap: wrap; }
    body .menu.mobile { display: none; }
    body .menu-item:focus-within > .menu-dropdown { display: block !important; }
    body .lang-switcher .menu-item:focus-within > .menu-dropdown { display: flex !important; position: absolute; }
    body .menu-dropdown { top: 100%; min-width: 260px; max-width: 380px; }
    body .lang-switcher .menu-dropdown { min-width: 280px; right: 0; left: auto; }
}
@media (min-width: 768px) and (max-width: 1099px) {
    body .top-nav { align-items: flex-start; }
    body .top-nav-left { flex-wrap: wrap; gap: 10px; }
    body .top-nav-left > .menu:not(.mobile) { flex-basis: 100%; }
    body .top-nav-right { margin-top: 4px; }
}
@media (max-width: 1199px) {
    body .rating-table-content { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding: 20px; }
    body .rating-table .t1 { grid-column: 1 / -1; width: 100%; margin-bottom: 0; }
    body .rating-table .t2, body .rating-table .t3, body .rating-table .t4,
    body .rating-table .t5, body .rating-table .t6, body .rating-table .t7, body .rating-table .t8 { width: auto; min-width: 0; padding: 0; margin-bottom: 0; gap: 2px; }
    body .rating-table .t1-flex { font-size: 15px; }
}
@media (max-width: 767px) {
    body .container { padding-left: 16px; padding-right: 16px; }
    body .header { padding: 12px 0 20px; }
    body .top-nav { gap: 8px; min-height: 48px; }
    body .top-nav-left { gap: 8px; }
    body .logo img { max-width: 145px; }
    body .menu.mobile { display: block; margin-left: 0; }
    body .menu-link { padding: 10px 8px; }
    body .menu .menu-item { height: auto; min-height: 48px; }
    body .menu-dropdown, body .menu-dropdown .menu-dropdown { top: 72px; height: calc(100% - 72px); padding: 12px; overflow-y: auto; overscroll-behavior: contain; border-radius: 0; }
    body .menu-dropdown .menu-dropdown { left: 0; width: 100%; }
    body .menu .menu-item a { line-height: 1.5; }
    body .menu-dropdown-link { font-size: 15px; padding: 12px; }
    body .lang-switcher .menu-dropdown { position: absolute; left: auto; right: -38px; height: auto; max-height: 65vh; min-width: 260px; max-width: calc(100vw - 32px); width: auto; top: 100%; border-radius: 12px; }
    body #cpu-compare, body #gpu-compare { grid-template-columns: minmax(0,1fr); gap: 10px; }
    body #cpu-compare > .row, body #gpu-compare > .row { row-gap: 10px; }
    body .autocomplete-button { width: 100%; min-height: 46px; }
    body .tab-form .nav-tabs .nav-link { font-size: 14px; padding: 8px 16px; }
    body .autocomplete { min-height: 56px; }
    body .autocomplete-image { flex-basis: 32px; width: 32px; min-width: 32px; }
    body .big-compare-card { padding: 20px; }
    body .big-compare-top { gap: 12px; }
    body .big-compare-reyting { text-align: left !important; }
    body .big-compare-date { text-align: right !important; max-width: 50%; }
    body .big-compare-bottom { margin-top: 18px; gap: 12px; }
    body .big-compare-image > img { height: 135px; max-height: 135px !important; }
    body .box { padding: 20px; margin-bottom: 20px; }
    body .box-list { margin-left: -20px; margin-right: -20px; }
    body .box-list-item { padding: 12px 20px; }
    body .box-list-item .f1, body .box-list-item .f2 { min-width: 0; flex-basis: 100%; }
    body .box-list-item .f2 { margin-top: 4px; }
    body .box-list-mini .box-list-item .f1 { flex-basis: 58%; }
    body .box-list-mini .box-list-item .f2 { flex-basis: 42%; }
    body .box-list-mini .box-list-item { gap: 8px; }
    body .box-list-mini .box-list-item .f2 { margin-top: 0; }
    body .rating-table-number { width: 100%; min-width: 0; padding: 12px 18px 0; align-items: center; flex-direction: row; justify-content: flex-start; gap: 8px; }
    body .rating-table-number .rating-table-name { margin: 0; }
    body .rating-table-content { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 16px 18px; gap: 14px; }
    body .rating-table .t1-flex img { width: 46px; height: 42px; }
    body .rating-table .t1-flex a { font-size: 15px; }
    body .content-nav { flex-wrap: nowrap; overflow-x: auto; }
    body .content-nav a { flex-shrink: 0; padding: 8px 12px; }
    body .modern-benchmarks { padding: 20px; }
    body .modern-benchmarks ul { padding-left: 20px; }
    body .modern-filters { grid-template-columns: minmax(0,1fr); gap: 12px; }
    body .mini-compare { padding: 18px; gap: 16px; }
    body .review { padding: 20px; min-height: 180px; }
    body .block { margin-top: 24px; }
}
@media (max-width: 575px) {
    body .compare-card-body { min-height: 0; grid-template-columns: minmax(0,1fr); gap: 0; }
    body .compare-card-body > div:not(.compare-card-icon) { height: auto; padding: 16px; }
    body .compare-card-body .compare-card-icon { display: none; }
    body .compare-card-left { border-bottom: 1px solid var(--cc-line); }
}
@media (max-width: 374px) {
    body .logo img { max-width: 115px; }
    body .menu.mobile .menu-link { font-size: 12px; padding-left: 5px; padding-right: 5px; }
    body .top-nav-right { gap: 4px; }
    body .big-compare-card { padding: 16px; }
    body .big-compare-top { gap: 8px; }
    body .big-compare-date, body .big-compare-reyting { font-size: 12px; }
    body .big-compare-reyting .stars { gap: 2px; }
    body .big-compare-reyting .stars img { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body .menu, body .btn, body .progress-bar { transition: none; }
}

/* The current layout disables the ad engine; empty legacy slots reserve no space. */
body .adsbygoogle:empty { display: none !important; }
body .block-ads:not(:has(.adsbygoogle:not(:empty))) { display: none; }
body .modern-filters .btn { background: var(--cc-accent); border-color: var(--cc-accent); }

/* Bound long model names to their own comparison column. */
body .mini-compare { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 56px; position: relative; }
body .mini-compare > div { width: auto; display: flex; align-items: center; gap: 12px; margin: 0; }
body .mini-compare > div span { flex: 1; min-width: 0; margin: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.45; }
body .mini-compare > div img { flex: 0 0 64px; width: 64px; max-width: 64px; }
body .mini-compare > div:last-child::before { content: none; }
body .mini-compare::after { content: ''; position: absolute; width: 32px; height: 20px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: url('../images/icons/range.svg') no-repeat center / contain; }
@media (max-width: 767px) {
    body .mini-compare { grid-template-columns: minmax(0,1fr); gap: 18px; }
    body .mini-compare > div:last-child { border-top: 1px solid var(--cc-line); padding-top: 18px; }
    body .mini-compare::after { content: none; }
}

/* A specification panel is an indivisible card, including in legacy multicolumn layouts. */
body .card-columns > .box { display: inline-block; width: 100%; vertical-align: top; break-inside: avoid; page-break-inside: avoid; }
