.troubleshooting-intro {
  padding-block: clamp(42px, 6vw, 74px) 34px;
}

.troubleshooting-intro h1 {
  max-width: 950px;
  font-size: clamp(36px, 5.7vw, 68px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.troubleshooting-layout {
  display: grid;
  gap: clamp(24px, 3vw, 38px);
  padding-bottom: clamp(54px, 8vw, 100px);
}

.troubleshooting-finder {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(20px, 3vw, 38px);
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--night-line, #dce6f2);
  border-radius: 24px;
  background: var(--night-well, #f5f9ff);
}

.troubleshooting-search label {
  display: block;
  margin-bottom: 8px;
  color: var(--night-text, #203850);
  font-size: 15px;
  font-weight: 650;
}

.troubleshooting-search-row {
  display: flex;
  gap: 8px;
}

.troubleshooting-search-row input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--night-line, #9fb6d0);
  border-radius: 12px;
  background: var(--night-panel, #fff);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.troubleshooting-search-row input::-webkit-search-cancel-button {
  display: none;
}

.troubleshooting-search-row button {
  min-height: 48px;
  padding-inline: 12px;
  border: 1px solid var(--night-line, #b8cbe0);
  border-radius: 12px;
  background: var(--night-panel, #fff);
  color: var(--night-blue, #15518e);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.troubleshooting-search-status:not(:empty) {
  margin-top: 8px;
  color: var(--night-secondary, #435772);
  font-size: 14px;
}

.troubleshooting-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 8px;
}

.troubleshooting-search[hidden] + .troubleshooting-topics {
  grid-column: 1 / -1;
}

.troubleshooting-topics a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--night-line, #c9d9eb);
  border-radius: 99px;
  background: var(--night-panel, #fff);
  color: var(--night-blue, #164d86);
  font-size: 14px;
  text-decoration: none;
}

.troubleshooting-topics a:hover,
.troubleshooting-search-row button:hover {
  border-color: var(--night-blue, #82addc);
  background: var(--night-tint-blue, #eaf3ff);
}

.troubleshooting-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 2.5vw, 26px);
}

.troubleshooting-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  scroll-margin-top: 104px;
  border: 1px solid var(--night-line, #dfe7f0);
  border-radius: 24px;
  background: var(--night-panel, #fff);
}

.troubleshooting-card:target {
  border-color: var(--night-blue, #8aafd9);
  box-shadow: 0 0 0 3px #e9f3ff;
}

.troubleshooting-wide {
  grid-column: 1 / -1;
}

.troubleshooting-care {
  border-color: var(--night-amber, #efd6aa);
  background: var(--night-well, #fffaf0);
}

.troubleshooting-card h2,
.troubleshooting-next h2 {
  font-size: clamp(23px, 2.55vw, 34px);
  line-height: 1.17;
  letter-spacing: -.035em;
}

.troubleshooting-card p,
.troubleshooting-card ol,
.troubleshooting-card ul,
.troubleshooting-next p {
  margin: 13px 0 0;
  color: var(--night-secondary, #43536a);
  font-size: 15px;
  line-height: 1.65;
}

.troubleshooting-card ol,
.troubleshooting-card ul {
  padding-left: 1.35em;
}

.troubleshooting-card li + li {
  margin-top: 8px;
}

.troubleshooting-card a {
  color: var(--night-blue, #15518e);
  text-underline-offset: 3px;
}

.troubleshooting-models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 4px;
}

.troubleshooting-models section {
  padding: 16px 18px;
  border: 1px solid var(--night-line, #e0e9f3);
  border-radius: 16px;
  background: var(--night-panel, #f7faff);
}

.troubleshooting-models h3 {
  color: var(--night-text, #203850);
  font-size: 18px;
  letter-spacing: -.015em;
}

.troubleshooting-models p {
  margin-top: 5px;
  font-size: 14px;
}

.troubleshooting-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 4px;
  margin-top: auto;
  padding-top: 14px;
}

.troubleshooting-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
}

.troubleshooting-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--night-line, #dce6f2);
  border-radius: 24px;
  background: var(--night-well, #f5f9ff);
}

.troubleshooting-next p {
  max-width: 60ch;
}

.troubleshooting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.troubleshooting-actions .button {
  min-height: 45px;
  padding: 12px 16px;
  font-size: 14px;
  white-space: normal;
}

.troubleshooting-layout :is(a, button, input):focus-visible {
  outline: 3px solid var(--night-focus, #1668ba);
  outline-offset: 3px;
}

.troubleshooting-layout [hidden] {
  display: none;
}

@media (max-width: 880px) {
  .troubleshooting-finder {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 680px) {
  .troubleshooting-grid,
  .troubleshooting-models {
    grid-template-columns: minmax(0, 1fr);
  }
}
