/* Shared compatibility finder: homepage and generated country pages. */
.modal.device-compatibility {
  width: 760px;
  max-width: calc(100% - 40px);
  max-height: min(860px, calc(100dvh - 48px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--exa-neutral-line, #e3e2e4);
  border-radius: 22px;
  color: var(--ink, #292333);
  background: #fff;
}
.device-compatibility[open] { display: flex; flex-direction: column; }
.device-dialog-header { position: relative; flex: none; padding: 28px 72px 22px 32px; }
.device-eyebrow { display: block; margin-bottom: 8px; color: var(--violet-dark, #5030be); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.device-compatibility .device-dialog-header h2 { margin: 0; padding: 0; font-size: 32px; line-height: 1.15; letter-spacing: -.035em; text-align: left; text-wrap: pretty; }
.device-close, .device-search-clear { display: grid; place-items: center; padding: 0; min-width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: transparent; color: #635d6b; cursor: pointer; }
.device-close { position: absolute; top: 22px; right: 20px; background: #f4f5f5; }
.device-close:hover, .device-search-clear:hover { background: var(--exa-neutral-line, #e3e2e4); color: var(--ink, #292333); }
.device-close .icon, .device-search-clear .icon { width: 20px; height: 20px; }
.device-dialog-body { min-height: 0; padding: 0 32px 12px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--exa-neutral-line-strong, #c4c1c6) transparent; scroll-padding-top: 192px; }
.device-requirements { padding: 17px 20px; border: 1px solid var(--exa-neutral-line, #e3e2e4); border-radius: 12px; background: var(--exa-neutral-surface, #f5f5f5); }
.device-requirements > p { margin: 0 0 10px; font-size: 14px; font-weight: 650; line-height: 1.5; }
.device-requirements ul { display: grid; gap: 7px; list-style: none; margin: 0; padding: 0; }
.device-requirements li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.5; }
.device-requirements .icon { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--violet-dark, #5030be); }
.device-finder-controls { position: sticky; top: 0; z-index: 1; padding: 23px 0 0; background: #fff; }
.device-finder-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 12px; margin-bottom: 15px; }
.device-finder-heading h3 { margin: 0; font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
.device-finder-heading p { margin: 0; color: #6b6572; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.device-search-form { display: grid; grid-template-columns: minmax(0, 1fr) 185px; gap: 10px; margin: 0; }
.device-search-field, .device-brand-field { min-width: 0; }
.device-search-input { position: relative; display: flex; align-items: center; height: 52px; border: 1px solid var(--exa-neutral-line-strong, #c4c1c6); border-radius: 10px; background: #fff; }
.device-search-input:focus-within { border-color: var(--violet, #6745df); box-shadow: 0 0 0 3px #6745df14; }
.device-search-icon { position: relative; flex: none; width: 16px; height: 16px; margin-left: 17px; margin-right: 11px; border: 1.7px solid #736b7c; border-radius: 50%; transform: scale(.85); }
.device-search-icon::after { position: absolute; right: -5px; bottom: -3px; width: 7px; height: 1.7px; border-radius: 1px; background: #736b7c; transform: rotate(45deg); content: ''; }
.device-search-input input { width: 100%; min-width: 0; height: 100%; padding: 0 8px 0 0; outline: none; border: 0; border-radius: inherit; background: transparent; font: inherit; font-size: 16px; color: inherit; -webkit-appearance: none; appearance: none; }
.device-search-input input::placeholder { color: #77717e; opacity: 1; }
.device-search-input input::-webkit-search-cancel-button { -webkit-appearance: none; }
.device-search-clear { flex: none; margin-right: 3px; min-width: 44px; min-height: 44px; }
.device-search-clear .icon { width: 16px; height: 16px; }
.device-brand-field { position: relative; }
.device-brand-field select { display: block; width: 100%; height: 52px; padding: 0 36px 0 15px; border: 1px solid var(--exa-neutral-line-strong, #c4c1c6); border-radius: 10px; background: #fff; color: inherit; font: inherit; font-size: 15px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.device-select-arrow { position: absolute; top: 21px; right: 17px; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.device-search-hint { margin: 8px 0 0; color: #6b6572; font-size: 12px; line-height: 1.6; }
.device-results-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 45px; margin-top: 7px; border-bottom: 1px solid var(--exa-neutral-line, #e3e2e4); }
.device-results-meta p { margin: 0; color: #6b6572; font-size: 12px; line-height: 1.5; }
.device-reset { flex: none; min-height: 44px; padding: 0; color: var(--violet-dark, #5030be); font: inherit; font-size: 12px; font-weight: 700; }
.device-reset:hover { text-decoration: underline; text-underline-offset: 3px; }
.device-compatibility .device-brand { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--exa-neutral-line, #e3e2e4); border-radius: 0; background: #fff; }
.device-brand > summary { display: flex; align-items: center; gap: 14px; min-height: 62px; margin: 0; padding: 14px 3px; list-style: none; cursor: pointer; }
.device-brand > summary::-webkit-details-marker { display: none; }
.device-brand > summary::after { content: none; }
.device-brand > summary:hover .device-brand-name { color: var(--violet-dark, #5030be); }
.device-brand-name { font-size: 16px; font-weight: 750; line-height: 1.5; }
.device-brand-count { margin-left: auto; color: #6b6572; font-size: 12px; line-height: 1.5; font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
.device-brand-toggle { position: relative; flex: none; width: 24px; height: 24px; margin-left: 5px; border-radius: 50%; background: var(--exa-neutral-surface, #f5f5f5); }
.device-brand-toggle::before, .device-brand-toggle::after { position: absolute; top: 11px; left: 7px; width: 10px; height: 1.5px; border-radius: 1px; background: #665d74; content: ''; }
.device-brand-toggle::after { transform: rotate(90deg); }
.device-brand[open] .device-brand-toggle { background: var(--exa-neutral-hover, #efeff0); }
.device-brand[open] .device-brand-toggle::after { display: none; }
.device-models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; list-style: none; margin: 0; padding: 0 3px 17px; }
.device-models li { position: relative; padding: 8px 0 8px 14px; color: #51495d; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.device-models li::before { position: absolute; top: 16px; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--exa-icon-neutral, #39303f); content: ''; }
.device-models mark { padding: 1px 0; border-radius: 2px; color: var(--exa-icon-neutral, #39303f); background: var(--exa-neutral-hover, #efeff0); font-weight: 650; }
.device-dialog-footer { flex: none; padding: 17px 32px 21px; border-top: 1px solid var(--exa-neutral-line, #e3e2e4); background: var(--exa-neutral-surface, #f5f5f5); }
.device-dialog-footer p { margin: 0; color: #6b6572; font-size: 12px; line-height: 1.65; }
.device-dialog-footer p + p { margin-top: 5px; }
.device-dialog-footer strong { color: #51495d; font-weight: 700; }
.device-search-empty { padding: 35px 20px; text-align: center; }
.device-search-empty h4 { margin: 0 0 10px; font-size: 19px; font-weight: 750; line-height: 1.3; }
.device-search-empty p { max-width: 400px; margin: 6px auto 0; color: #6b6572; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.device-browse-all { min-height: 44px; margin-top: 17px; padding: 10px 18px; border: 1px solid var(--exa-neutral-line, #e3e2e4); border-radius: 9px; color: var(--violet-dark, #5030be); background: var(--exa-neutral-surface, #f5f5f5); font: inherit; font-size: 14px; font-weight: 700; }
.device-browse-all:hover { background: var(--exa-neutral-hover, #efeff0); }
.device-compatibility :is(button, select, summary):focus-visible { outline: 3px solid var(--violet, #6745df); outline-offset: 2px; }
.device-brand > summary:focus-visible { outline-offset: -3px; border-radius: 6px; }
@media (max-width: 600px) {
  .modal.device-compatibility { width: calc(100% - 24px); max-width: none; max-height: calc(100dvh - 24px); border-radius: 18px; }
  .device-dialog-header { padding: 23px 56px 18px 21px; }
  .device-eyebrow { font-size: 10px; letter-spacing: .065em; }
  .device-compatibility .device-dialog-header h2 { font-size: 27px; line-height: 1.1; }
  .device-close { top: 15px; right: 10px; }
  .device-dialog-body { padding: 0 20px 8px; scroll-padding-top: 12px; }
  .device-requirements { padding: 14px; }
  .device-requirements > p, .device-requirements li { font-size: 13px; }
  .device-requirements li { gap: 7px; }
  .device-requirements .icon { width: 14px; height: 14px; }
  .device-finder-controls { position: static; padding-top: 21px; }
  .device-finder-heading { display: grid; gap: 5px; margin-bottom: 13px; }
  .device-finder-heading h3 { font-size: 23px; }
  .device-search-form { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .device-brand-field select { height: 46px; font-size: 16px; }
  .device-select-arrow { top: 18px; }
  .device-search-hint { font-size: 11px; }
  .device-brand > summary { min-height: 58px; }
  .device-models { grid-template-columns: minmax(0, 1fr); }
  .device-dialog-footer { padding: 13px 20px 16px; }
  .device-dialog-footer p { font-size: 11px; }
  .device-search-empty { padding: 26px 0; }
}
@media (max-height: 650px) {
  .device-finder-controls { position: static; }
  .device-dialog-body { scroll-padding-top: 12px; }
  .device-dialog-header { padding-top: 16px; padding-bottom: 14px; }
  .device-eyebrow { display: none; }
  .device-dialog-footer { padding-top: 10px; padding-bottom: 10px; }
}
