body[data-page="devices"] .promo-bar { display: none; }
.devices-page {
  padding: 30px 24px 56px;
  background: linear-gradient(120deg, #d8e6fa 0%, #eef7fb 47%, #dce6fa 100%);
}
.devices-shell {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 52px 54px 54px;
  border: 1px solid rgba(225, 233, 244, .9);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(32, 71, 123, .035);
}
.devices-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.devices-heading h1 {
  margin: 0;
  color: #111b2a;
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.2;
}
.devices-heading h1 em { color: #288ef4; font-style: normal; }
.devices-heading-art { flex: 0 0 auto; width: 56px; height: 56px; object-fit: contain; }
.compatibility-note {
  overflow: hidden;
  padding: 14px 18px 16px;
  border-radius: 12px;
  background: linear-gradient(105deg, #f5f6f8 0%, #f8f9fb 62%, #fff 100%);
}
.compatibility-copy h2 { margin: 0 0 8px; color: #182234; font-size: 17px; font-weight: 500; }
.compatibility-copy p { margin: 5px 0; color: #788394; font-size: 16px; line-height: 1.58; }
.compatibility-copy .guide-intro { margin-top: 10px; }
.compatibility-copy ol { margin: 3px 0; padding-left: 0; color: #788394; line-height: 1.58; list-style-position: inside; }
.compatibility-copy li { padding-left: 0; }
.compatibility-copy code { margin-left: 4px; padding: 0; border-radius: 0; background: transparent; color: #172133; font-family: inherit; font-weight: 600; }
.compatibility-copy .eid-success { margin-top: 12px; color: #182234; font-weight: 500; }
.device-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  margin-top: 28px;
  padding: 4px 6px 4px 15px;
  border: 1px solid #e8ebf0;
  border-radius: 11px;
  background: #f6f7fa;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.device-search:focus-within { border-color: #91c2ff; background: #fff; box-shadow: 0 0 0 3px rgba(40, 142, 244, .08); }
.device-search input {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #152033;
  font-size: 15px;
}
.device-search input::placeholder { color: #939cab; }
.device-search input::-webkit-search-cancel-button { display: none; }
.device-search-clear {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #788394;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.device-search-clear[hidden] { display: none; }
.device-search-clear:hover { background: #e9edf3; }
.device-search-submit {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #288ef4;
  cursor: pointer;
}
.device-search-submit img { display: block; width: 40px; height: 40px; object-fit: cover; }
.device-search-submit:focus-visible,
.device-search-clear:focus-visible,
.device-tabs button:focus-visible,
.device-retry:focus-visible { outline: 2px solid #1477dc; outline-offset: 2px; }
.device-tabs {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 22px 0 18px;
  padding: 4px;
  border-radius: 24px;
  background: #f0f1f4;
}
.device-tabs button {
  min-width: 125px;
  padding: 9px 18px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: #273346;
  font-size: 15px;
  transition: background .18s, color .18s, box-shadow .18s;
  cursor: pointer;
}
.device-tabs button:hover { background: rgba(255, 255, 255, .55); }
.device-tabs button.active,
.device-tabs button[aria-selected="true"] { background: #3095f6; color: #fff; box-shadow: 0 1px 2px rgba(26, 114, 205, .16); }
.device-tabs button.active:hover,
.device-tabs button[aria-selected="true"]:hover { background: #278bea; }
.device-list { display: grid; gap: 15px; }
.device-brand {
  overflow: hidden;
  border: 1px solid #e7ebf1;
  border-radius: 18px;
  background: #fff;
  transition: border-color .18s, background .18s;
}
.device-brand[open] {
  border-color: #c4d9ff;
  background: linear-gradient(120deg, #f6f9ff 0%, #e7f0ff 100%);
}
.device-brand summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 26px;
  color: #263347;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.device-brand summary::-webkit-details-marker { display: none; }
.device-brand summary::marker { content: ''; }
.device-brand summary:focus-visible { outline: 2px solid #288ef4; outline-offset: -4px; border-radius: 16px; }
.device-brand summary img { display: block; width: 22px; height: 22px; object-fit: contain; }
.device-model-panel {
  margin: 0 26px 25px;
  padding: 17px 18px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .82);
}
.device-models { margin: 0; padding: 0; list-style: none; }
.device-models li { padding: 5px 0; color: #344155; font-size: 15px; line-height: 1.52; }
.device-message { margin: 0; padding: 34px 20px; color: #758196; text-align: center; }
.device-message-error p { margin: 0 0 14px; }
.device-retry {
  padding: 9px 20px;
  border: 1px solid #288ef4;
  border-radius: 8px;
  background: #fff;
  color: #2087ee;
  cursor: pointer;
}
.device-retry:hover { background: #f1f7ff; }
@media (max-width: 900px) {
  .devices-page { padding: 22px 18px 48px; }
  .devices-shell { padding: 40px 34px 42px; }
  .device-tabs button { min-width: 108px; }
}
@media (max-width: 640px) {
  .devices-page { padding: 16px 12px 36px; }
  .devices-shell { padding: 28px 18px 30px; border-radius: 20px; }
  .devices-heading { gap: 12px; margin-bottom: 18px; }
  .devices-heading h1 { font-size: clamp(28px, 8vw, 36px); letter-spacing: -1px; }
  .devices-heading-art { width: 42px; height: 42px; }
  .compatibility-note { padding: 13px 12px 14px; }
  .compatibility-copy h2 { font-size: 16px; }
  .compatibility-copy p, .compatibility-copy ol { font-size: 14px; }
  .device-search { margin-top: 22px; }
  .device-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: 18px; }
  .device-tabs button { min-width: 0; padding: 9px 10px; }
  .device-list { gap: 11px; }
  .device-brand { border-radius: 15px; }
  .device-brand summary { min-height: 60px; padding: 0 17px; }
  .device-model-panel { margin: 0 13px 14px; padding: 13px 14px; }
  .device-models li { font-size: 14px; }
}
