/* REBLOC Product Finder - compact table with inline technical details */
.rpmf{--rpm-blue:#0897D3;max-width:1300px;margin:24px auto 60px;font-family:inherit;color:#20252a}
.rpmf *{box-sizing:border-box;border-radius:0!important}
.rpmf-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}
.rpmf-header h2{font-size:clamp(1.6rem,3vw,2.4rem);margin:0 0 6px}
.rpmf-header p{margin:0;color:#66717b}
.rpmf-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:36px;align-items:start}
.rpmf-scroll{overflow-x:auto}
.rpmf-table{border-collapse:collapse;width:100%;min-width:660px;table-layout:auto}
.rpmf-table thead th{background:#737373;color:#fff;font-size:14px;font-weight:700;padding:9px 12px;text-align:left}
.rpmf-table thead th:first-child{text-align:center}
.rpmf-table>tbody>tr.rpmf-result-row>td{padding:6px 10px;border-bottom:1px solid #aaa;font-size:14px;vertical-align:middle;background:#fff}
.rpmf-table>tbody>tr.rpmf-result-row:hover>td,.rpmf-table>tbody>tr.rpmf-row-open>td{background:#e1e1e1}
.rpmf-arrow-cell{width:34px;text-align:center;padding:0!important}
.rpmf-expand{background:transparent!important;color:var(--rpm-blue)!important;border:0!important;box-shadow:none!important;padding:2px 9px!important;cursor:pointer;font-size:32px!important;line-height:1!important;font-weight:400!important;min-height:40px}
.rpmf-expand span{display:inline-block;transition:transform .15s}
.rpmf-expand[aria-expanded=true] span{transform:rotate(90deg)}
.rpmf-expand:focus-visible{outline:2px solid var(--rpm-blue)!important;outline-offset:-2px}
.rpmf-badges{white-space:nowrap;width:105px}
.rpmf-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;max-width:115px;padding:4px 5px;margin-right:3px;white-space:normal;overflow-wrap:anywhere;text-align:center;color:#fff;font-size:12px;line-height:1.1;font-weight:700;vertical-align:middle}
.rpmf-badge-dark{background:#414141}.rpmf-badge-mid{background:#777}
.rpmf-name{min-width:150px}.rpmf-name a{color:#111!important;font-weight:700;text-decoration:none}.rpmf-name a:hover{color:var(--rpm-blue)!important}
.rpmf-detail-row[hidden]{display:none!important}
.rpmf-table>tbody>tr.rpmf-detail-row>td{padding:0;border-bottom:1px solid #999;background:#fff}
.rpmf-detail-content{display:grid;grid-template-columns:minmax(160px,32%) minmax(0,1fr);gap:26px;padding:36px 8px 48px}
.rpmf-detail-image{display:flex;align-items:center;justify-content:center;min-height:170px}
.rpmf-detail-image img{max-width:100%;height:auto;max-height:280px;object-fit:contain}
.rpmf-no-image{color:#777;font-size:13px}
.rpmf-detail-specs>table{width:100%;border-collapse:collapse}
.rpmf-detail-specs>table tr{border-bottom:1px solid #888}
.rpmf-detail-specs>table th,.rpmf-detail-specs>table td{padding:9px 7px;text-align:left;vertical-align:top;font-size:14px;line-height:1.4;background:transparent;border-left:0;border-right:0}
.rpmf-detail-specs>table th{width:43%;font-weight:700;color:#222}
.rpmf-detail-specs .rpmf-badge{min-height:27px}
.rpmf-download,.rpmf-detail-link a{color:var(--rpm-blue)!important;text-decoration:none;font-weight:600}
.rpmf-detail-link{text-align:right;margin:14px 0 0;font-size:13px}
.rpmf-sidebar{padding:0;background:#fff;color:#20252a;border:0}
.rpmf-sidebar h3{margin:0 0 16px;background:var(--rpm-blue);color:#fff;padding:10px;text-align:center;font-size:15px}
.rpmf-field{display:block;margin-bottom:16px}
.rpmf-field span{display:block;font-weight:700;font-size:13px;margin-bottom:6px;color:var(--rpm-blue);border-bottom:1px solid var(--rpm-blue);padding-bottom:6px}
.rpmf-field select,.rpmf-field input{width:100%;padding:9px;border:1px solid #b9c3ca;background:#fff;color:#20252a}
.rpmf-sidebar button{width:100%;border:0;background:var(--rpm-blue);color:#fff;padding:12px;font-weight:700;cursor:pointer}
.rpmf-reset{display:block;text-align:center;margin-top:14px;border:1px solid #999;padding:8px;color:#222!important;text-decoration:none}
.rpmf-pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.rpmf-pagination a{padding:6px 11px;border:1px solid #d0d9df}
.rpmf-pagination a[aria-current]{background:var(--rpm-blue);color:#fff}
@media(max-width:850px){.rpmf-layout{grid-template-columns:1fr}.rpmf-sidebar{grid-row:1}.rpmf-header{align-items:flex-start;flex-direction:column}.rpmf-detail-content{grid-template-columns:1fr;gap:10px;padding:22px 8px}.rpmf-detail-image img{max-height:180px}}

/* 0.9.2: square performance tiles and technical filter panel */
.rpmf .rpmf-badge{min-width:42px;min-height:42px;max-width:none;width:auto;overflow-wrap:normal;word-break:normal;padding:6px 7px;line-height:1.05;border-radius:0!important}
.rpmf .rpmf-detail-specs .rpmf-badge{min-width:36px;min-height:36px}
.rpmf .rpmf-sidebar .rpmf-group{border:0;margin:0 0 25px;padding:0;min-width:0}
.rpmf .rpmf-group legend,.rpmf .rpmf-width-group>label{display:block;width:100%;font-weight:700;color:#0897D3;border-bottom:1px solid #0897D3;padding:0 0 6px;margin-bottom:10px;font-size:15px}
.rpmf .rpmf-checks{display:flex;flex-direction:column;gap:6px}
.rpmf .rpmf-choice{display:flex;align-items:center;gap:9px;cursor:pointer;margin:0}
.rpmf .rpmf-checks input{appearance:none;-webkit-appearance:none;width:20px;height:20px;flex:none;border:1px solid #999;background:#fff;margin:0;position:relative;cursor:pointer}
.rpmf .rpmf-checks input:checked::after{content:'✔';position:absolute;left:3px;top:-3px;color:#0897D3;font-size:19px}
.rpmf .rpmf-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(42px,1fr));gap:5px}
.rpmf .rpmf-tiles .rpmf-choice{display:block;position:relative;min-width:0}
.rpmf .rpmf-tiles input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer;z-index:1}
.rpmf .rpmf-tiles .rpmf-choice span{display:flex;align-items:center;justify-content:center;text-align:center;min-width:42px;min-height:42px;padding:5px 3px;line-height:1.08;font-weight:700;font-size:11px;color:#fff;background:#444;overflow-wrap:anywhere;border:2px solid transparent}
.rpmf .rpmf-tiles.rpmf-mid span{background:#777}
.rpmf .rpmf-tiles.rpmf-outline span{background:#fff;color:#222;border:1px solid #777;font-weight:500}
.rpmf .rpmf-tiles input:checked+span{outline:3px solid #0897D3;outline-offset:-3px;background:#0897D3;color:#fff}
.rpmf .rpmf-tiles input:focus-visible+span{outline:3px solid #0897D3;outline-offset:2px}
.rpmf .rpmf-width-group input[type=range]{display:block;width:100%;padding:0;border:0;accent-color:#0897D3;background:transparent;cursor:pointer}
.rpmf .rpmf-width-group output{float:right;color:#20252a;font-weight:600}
.rpmf .rpmf-range-ends{display:flex;justify-content:space-between;font-size:12px;color:#666}
.rpmf .rpmf-detail-link{display:flex;justify-content:flex-end;gap:15px;flex-wrap:wrap}
.rpmf .rpmf-family-link{border:1px solid #0897D3;padding:8px 10px;text-decoration:none}

/* v0.9.4: accessible collapsible filter sections, matching the legacy finder */
.rpmf .rpmf-sidebar details.rpmf-accordion{display:block;margin:0 0 20px;padding:0;border:0;min-width:0}
.rpmf .rpmf-sidebar .rpmf-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;width:100%;padding:8px 0 10px;margin:0;border-bottom:1px solid var(--rpm-blue);font-size:17px;line-height:1.25;font-weight:700;color:var(--rpm-blue)}
.rpmf .rpmf-sidebar .rpmf-accordion>summary::-webkit-details-marker{display:none}
.rpmf .rpmf-sidebar .rpmf-accordion>summary::marker{content:''}
.rpmf .rpmf-sidebar .rpmf-accordion>summary:focus-visible{outline:2px solid var(--rpm-blue);outline-offset:3px}
.rpmf .rpmf-sidebar .rpmf-chevron{display:block;flex:0 0 12px;width:12px;height:12px;border-right:3px solid var(--rpm-blue);border-bottom:3px solid var(--rpm-blue);transform:rotate(-45deg);transition:transform .16s ease;margin-right:5px}
.rpmf .rpmf-sidebar .rpmf-accordion[open]>summary .rpmf-chevron{transform:rotate(45deg)}
.rpmf .rpmf-sidebar .rpmf-accordion-body{padding:12px 0 4px}
.rpmf .rpmf-sidebar .rpmf-width-group .rpmf-accordion-body>label{display:block;font-size:13px;color:#333;margin-bottom:10px}
.rpmf .rpmf-sidebar .rpmf-width-group .rpmf-accordion-body>label output{float:right}
@media(prefers-reduced-motion:reduce){.rpmf .rpmf-sidebar .rpmf-chevron{transition:none}}

/* v0.9.5: card view, grouped by system execution */
.rpmf-view-switch{display:flex;gap:0;justify-content:flex-end;margin:0 0 18px}
.rpmf-view-switch a{padding:9px 14px;border:1px solid #c8d0d5;text-decoration:none!important;color:#333!important;font-size:13px;font-weight:700}
.rpmf-view-switch a+a{border-left:0}
.rpmf-view-switch a[aria-current=true]{background:#0897D3;color:#fff!important;border-color:#0897D3}
.rpmf-view-switch a:focus-visible{outline:2px solid #0897D3;outline-offset:2px}
.rpmf-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rpmf-card{border:1px solid #d1d6d9;background:#fff;min-width:0;display:flex;flex-direction:column}
.rpmf-card-image{display:flex;align-items:center;justify-content:center;min-height:180px;height:210px;padding:16px;background:#f6f7f8;border-bottom:1px solid #e2e5e7}
.rpmf-card-image img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.rpmf-card-body{padding:16px;display:flex;flex:1;flex-direction:column;align-items:flex-start}
.rpmf-card-standard{font-size:11px;font-weight:700;letter-spacing:.06em;color:#0897D3;text-transform:uppercase}
.rpmf-card h3{margin:6px 0 8px;font-size:21px;line-height:1.2}
.rpmf-card h3 a{color:#222!important;text-decoration:none!important}
.rpmf-card h3 a:hover{color:#0897D3!important}
.rpmf-card-apps{font-size:13px;color:#657078;margin:0 0 14px}
.rpmf-card-performances{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.rpmf-card-test{display:flex;gap:3px}
.rpmf-card-count{font-size:12px;color:#687078;margin:12px 0}
.rpmf-card-link{display:block;width:100%;background:#0897D3;color:#fff!important;padding:10px 12px;text-align:center;font-weight:700;text-decoration:none!important;font-size:13px}
.rpmf-card-link:hover{background:#087eaf}
@media(max-width:600px){.rpmf-card-grid{grid-template-columns:1fr}.rpmf-card-image{height:190px}}

/* v0.9.7 live faceted filters */
.rpmf .rpmf-unavailable{opacity:.28;cursor:not-allowed}
.rpmf .rpmf-unavailable input,.rpmf .rpmf-unavailable span{cursor:not-allowed}
.rpmf.rpmf-loading .rpmf-results{opacity:.55;transition:opacity .12s}
.rpmf .rpmf-width-clear{background:#f0f2f3;color:#333;width:auto;padding:5px 10px;margin-top:8px;font-size:12px}
