@import url('./brand-browser.css');
/* The same compact brand controls as mice, with category-sized product images. */
.keyboards-page .brand-product-image{height:125px;margin-bottom:5px}
.keyboards-page .brand-product img{object-fit:contain}
#category-collection-dialog{box-sizing:border-box;width:min(1040px,calc(100vw - 48px));max-width:1040px;max-height:calc(100dvh - 48px);padding:30px 34px 24px;border:1px solid var(--line);border-radius:20px;background:var(--bg);color:var(--ink);overflow:auto;overscroll-behavior:contain}
#category-collection-dialog::backdrop{background:#29252455;backdrop-filter:blur(5px)}
.category-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}
.category-reviewed-brand{min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:18px}
.category-reviewed-brand h3{display:flex;align-items:center;gap:9px;font-size:17px;line-height:1.5;margin:0 0 16px}
.category-reviewed-brand .brand-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.category-reviewed-brand .brand-product-image{height:110px;margin-bottom:6px}
.category-reviewed-brand .brand-product{background:var(--bg);padding:12px}
.category-brand-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}
.category-brand-actions .brand-primary{font-size:10px;padding:9px 11px}
.category-brand-actions .brand-editorial{font-size:10px}
.category-evidence{font-size:11px;line-height:1.7;color:var(--muted);margin-top:14px}
.category-evidence summary{cursor:pointer;text-underline-offset:3px}
.category-evidence summary:hover{text-decoration:underline}
.category-evidence p{margin:9px 0}
.category-evidence a{display:block;color:inherit;font-size:10px;overflow-wrap:anywhere;margin:5px 0;text-underline-offset:3px}
.category-collection-footer{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;border-top:1px solid var(--line);margin-top:24px;padding-top:18px}
.category-collection-footer .category-evidence{max-width:650px;margin:0}
.category-collection-footer .brand-primary{flex-shrink:0}
#category-collection-dialog button:focus-visible,#category-collection-dialog summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media(max-width:700px){#category-collection-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:22px 16px 18px;border-radius:15px}.category-collection-grid{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:20px}.category-reviewed-brand{padding:15px}.category-collection-footer{flex-wrap:wrap;gap:16px}.category-collection-footer .brand-primary{margin-left:auto}.keyboards-page .brand-product-image{height:110px}}
