/* WIMIP troubleshooting guide: compact decision aid in all three site themes. */
.wimip .wimip-guide {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  width: 100%;
}

.wimip .wimip-guide-hero {
  max-width: 820px;
}

.wimip .wimip-guide-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.04;
}

.wimip .wimip-guide-hero > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

.wimip .wimip-guide-eyebrow,
.wimip .wimip-guide-result-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wimip .wimip-guide-console {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 3vw, 26px);
}

.wimip .wimip-guide-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wimip .wimip-guide-status > span {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.wimip .wimip-guide-console > h2 {
  margin: 0;
  font-size: clamp(21px, 3vw, 30px);
}

.wimip .wimip-guide-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wimip .wimip-guide-choices button {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(127, 127, 127, .35);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color .16s ease, transform .16s ease, background .16s ease;
}

.wimip .wimip-guide-choices button:hover,
.wimip .wimip-guide-choices button:focus-visible {
  border-color: var(--accent);
  background: rgba(127, 127, 127, .08);
  transform: translateY(-2px);
}

.wimip .wimip-guide-choices button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 2px;
}

.wimip .wimip-guide-choices strong {
  color: var(--text);
  font-size: 16px;
}

.wimip .wimip-guide-choices span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.wimip .wimip-guide-result {
  padding: clamp(17px, 3vw, 24px);
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.wimip .wimip-guide-result h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 3vw, 27px);
}

.wimip .wimip-guide-result > p:not(.wimip-guide-result-label) {
  max-width: 780px;
  margin: 0 0 14px;
}

.wimip .wimip-guide-result ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 22px;
}

.wimip .wimip-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.wimip .wimip-guide-article {
  display: grid;
  gap: 22px;
}

.wimip .wimip-guide-article > section {
  padding: clamp(16px, 3vw, 24px);
}

.wimip .wimip-guide-article h2,
.wimip .wimip-guide-article h3 {
  margin-top: 0;
}

.wimip .wimip-symptom-section > p:not(.wimip-guide-eyebrow) {
  max-width: 850px;
}

.wimip .wimip-symptom-form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.wimip .wimip-symptom-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.wimip .wimip-symptom-form legend {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wimip .wimip-symptom-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wimip .wimip-symptom-options label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 92px;
  padding: 15px;
  border: 1px solid rgba(127, 127, 127, .3);
  border-radius: 13px;
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.wimip .wimip-symptom-options label:hover,
.wimip .wimip-symptom-options label:has(input:focus-visible),
.wimip .wimip-symptom-options label:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.wimip .wimip-symptom-options label:hover {
  transform: translateY(-1px);
}

.wimip .wimip-symptom-options label:has(input:focus-visible) {
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 2px;
}

.wimip .wimip-symptom-options input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.wimip .wimip-symptom-options span {
  display: grid;
  gap: 4px;
}

.wimip .wimip-symptom-options strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.wimip .wimip-symptom-options small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.wimip .wimip-symptom-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.wimip .wimip-symptom-result {
  margin-top: 20px;
  padding: clamp(17px, 3vw, 24px);
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.wimip .wimip-symptom-result > h3 {
  margin: 0 0 8px;
  font-size: clamp(21px, 3vw, 28px);
}

.wimip .wimip-symptom-result > h3:focus {
  outline: none;
}

.wimip .wimip-symptom-result > p:not(.wimip-guide-result-label) {
  max-width: 780px;
  margin: 0 0 18px;
}

.wimip .wimip-symptom-causes {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wimip .wimip-symptom-causes li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(127, 127, 127, .28);
  border-radius: 12px;
  background: rgba(0, 0, 0, .08);
}

.wimip .wimip-symptom-rank {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 800;
}

.wimip .wimip-symptom-causes strong {
  display: block;
  margin: 2px 0 4px;
  color: var(--text);
  font-size: 16px;
}

.wimip .wimip-symptom-causes p {
  margin: 0;
  color: var(--muted);
}

.wimip .wimip-symptom-causes .wimip-symptom-check {
  margin-top: 7px;
  color: var(--text);
  font-weight: 650;
}

.wimip[data-theme="neon"] .wimip-guide-result,
.wimip[data-theme="neon"] .wimip-guide-choices button:hover,
.wimip[data-theme="neon"] .wimip-symptom-result,
.wimip[data-theme="neon"] .wimip-symptom-options label:has(input:checked) {
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 12%, transparent);
}

.wimip[data-theme="win95"] .wimip-guide-choices button,
.wimip[data-theme="win95"] .wimip-guide-result,
.wimip[data-theme="win95"] .wimip-symptom-options label,
.wimip[data-theme="win95"] .wimip-symptom-result,
.wimip[data-theme="win95"] .wimip-symptom-causes li {
  border: 2px solid #000;
  border-right-color: #fff;
  border-bottom-color: #fff;
  border-radius: 0;
  background: #e5e5e5;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #000;
}

.wimip[data-theme="win95"] .wimip-guide-choices button:active {
  border-color: #fff #000 #000 #fff;
  transform: translateY(1px);
}

.wimip[data-theme="msdos"] .wimip-guide-choices button,
.wimip[data-theme="msdos"] .wimip-guide-result,
.wimip[data-theme="msdos"] .wimip-symptom-options label,
.wimip[data-theme="msdos"] .wimip-symptom-result,
.wimip[data-theme="msdos"] .wimip-symptom-causes li {
  border: 1px dashed var(--accent);
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.wimip[data-theme="msdos"] .wimip-guide-choices button::before {
  content: ">";
  color: var(--accent);
}

@media (max-width: 760px) {
  .wimip .wimip-guide-choices,
  .wimip .wimip-symptom-options {
    grid-template-columns: 1fr;
  }

  .wimip .wimip-guide-choices button {
    min-height: 0;
  }

  .wimip .wimip-symptom-options label {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .wimip-speed-template .wimip-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .wimip-speed-template .wimip-header > .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
  }

  .wimip-speed-template .wimip-header > .row .btn {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wimip .wimip-guide-choices button,
  .wimip .wimip-symptom-options label {
    transition: none;
  }
}
