/* Phone compatibility directory. No device identifiers are collected. */
.device-page { padding: 116px 0 72px; }
.device-page .container { max-width: 1080px; }
.device-back { color: var(--text-muted); text-decoration: none; font-size: 14px; }
.device-back:hover { color: var(--rrugo-blue); }
.device-header { margin: 32px 0; }
.device-kicker { color: var(--rrugo-blue); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.device-header h1 { font: 700 clamp(32px, 4vw, 48px)/1.15 'Outfit', sans-serif; letter-spacing: -.03em; margin: 12px 0; }
.device-header p { color: var(--text-muted); font-size: 18px; }
.device-checks { background: #f0f5fd; border: 1px solid #dae6f8; border-radius: 22px; padding: 28px; margin-bottom: 32px; }
.device-checks summary { font: 600 20px 'Outfit', sans-serif; cursor: pointer; }
.device-checks[open] summary { margin-bottom: 18px; }
.device-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.device-check-grid h3 { font-size: 16px; margin-bottom: 8px; }
.device-check-grid p { color: #52617a; font-size: 14px; line-height: 1.8; }
.device-controls label { display: block; font-weight: 700; margin-bottom: 10px; }
.device-search-row { display: flex; gap: 10px; }
.device-search-row input { width: 100%; min-width: 0; padding: 15px 18px; border: 1px solid #b9c8dc; border-radius: 12px; font: 400 16px 'DM Sans', sans-serif; color: var(--text-dark); background: white; }
.device-search-row button { flex: none; border: 1px solid #dce4ef; background: #f5f7fa; border-radius: 12px; padding: 10px 18px; color: var(--text-dark); font: 600 14px 'DM Sans', sans-serif; cursor: pointer; }
.device-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.device-filters button { padding: 8px 16px; border-radius: 999px; border: 1px solid #dce4ef; background: white; color: #52617a; font: 600 14px 'DM Sans', sans-serif; cursor: pointer; }
.device-filters button[aria-pressed="true"] { background: var(--rrugo-blue); border-color: var(--rrugo-blue); color: white; }
.device-count { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.device-caveat { color: #52617a; font-size: 13px; line-height: 1.8; margin-bottom: 24px; }
.device-brand { border: 1px solid #e0e6ef; border-radius: 20px; padding: 26px; margin-bottom: 20px; }
.device-brand header { display: flex; align-items: center; gap: 12px; }
.device-monogram { width: 42px; height: 42px; border-radius: 12px; background: #edf4ff; color: var(--rrugo-blue); display: grid; place-items: center; font: 700 24px 'Outfit', sans-serif; }
.device-brand h2 { font: 600 26px 'Outfit', sans-serif; }
.device-brand-count { color: #52617a; font-size: 13px; margin-left: auto; background: #f5f7fa; padding: 4px 10px; border-radius: 999px; }
.device-brand-note { font-size: 13px; color: #52617a; line-height: 1.8; margin: 16px 0 20px; }
.device-brand-note a { color: var(--rrugo-blue); text-underline-offset: 3px; }
.device-brand ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
.device-brand li { background: #f7f9fc; border-radius: 9px; font-size: 14px; padding: 12px 14px; overflow-wrap: anywhere; }
.device-empty { border-radius: 18px; background: #f5f7fa; padding: 28px; }
.device-empty h2 { font: 600 24px 'Outfit', sans-serif; margin-bottom: 10px; }
.device-empty p { color: var(--text-muted); }
.device-reviewed { margin: 24px 0; color: var(--text-muted); font-size: 12px; }
.device-return { display: inline-flex; align-items: center; gap: 14px; border-radius: 12px; background: var(--rrugo-blue); color: white; text-decoration: none; padding: 12px 20px; font-weight: 700; }
.device-page :focus-visible { outline: 3px solid #92baff; outline-offset: 4px; }
.device-page [hidden] { display: none !important; }
@media (max-width: 700px) {
    .device-page { padding-top: 100px; }
    .device-check-grid { grid-template-columns: 1fr; gap: 20px; }
    .device-checks, .device-brand { padding: 22px; }
    .device-brand ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .device-search-row { flex-wrap: wrap; }
    .device-search-row button { padding: 8px 14px; }
}
@media (max-width: 400px) {
    .device-page .container { padding: 0 18px; }
    .device-brand, .device-checks { padding: 18px; }
    .device-brand li { padding: 10px; font-size: 13px; }
    .device-filters button { padding: 7px 12px; }
}
