.webdesy-llms-checker {
  margin: 48px 0;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  color: #172033;
}

.webdesy-llms-checker *,
.webdesy-llms-checker *::before,
.webdesy-llms-checker *::after {
  box-sizing: border-box;
}

.webdesy-llms-tool__top,
.webdesy-llms-tool__form,
.webdesy-llms-results {
  padding: 32px;
}

.webdesy-llms-tool__top {
  background: #f7fafc;
  border-bottom: 1px solid #e2e8f0;
}

.webdesy-llms-tool__top h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
}

.webdesy-llms-tool__top p,
.webdesy-llms-tool__form label,
.webdesy-llms-example,
.webdesy-llms-muted {
  color: #526174;
}

.webdesy-llms-tool__top p {
  max-width: 760px;
  margin: 0;
  line-height: 1.6;
}

.webdesy-llms-tool__form {
  border-bottom: 1px solid #e2e8f0;
}

.webdesy-llms-tool__form label {
  display: block;
  margin: 0 0 8px;
  font-weight: 800;
  line-height: 1.3;
}

.webdesy-llms-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.webdesy-llms-input-row input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c7d2df;
  border-radius: 6px;
  padding: 12px 14px;
  color: #111827;
  font: 16px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.webdesy-llms-input-row input:focus {
  border-color: #2563eb;
  outline: 3px solid #bfdbfe;
}

.webdesy-llms-input-row button,
.webdesy-llms-example button,
.webdesy-llms-action {
  min-height: 44px;
  border: 1px solid #111827;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  cursor: pointer;
  font: 800 14px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 10px 14px;
  text-decoration: none;
}

.webdesy-llms-input-row button:hover,
.webdesy-llms-input-row button:focus,
.webdesy-llms-action:hover,
.webdesy-llms-action:focus {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
  outline: 3px solid #bfdbfe;
  outline-offset: 2px;
}

.webdesy-llms-input-row button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.webdesy-llms-example {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
}

.webdesy-llms-example button {
  min-height: 36px;
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 8px 10px;
}

.webdesy-llms-example button:hover,
.webdesy-llms-example button:focus {
  border-color: #2563eb;
  background: #dbeafe;
  color: #1d4ed8;
}

.webdesy-llms-results {
  min-height: 132px;
}

.webdesy-llms-idle,
.webdesy-llms-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  background: #f8fafc;
  padding: 16px;
  color: #334155;
  font-weight: 800;
}

.webdesy-llms-idle__bars {
  display: inline-flex;
  align-items: end;
  gap: 3px;
  width: 26px;
  height: 22px;
}

.webdesy-llms-idle__bars span {
  display: block;
  width: 6px;
  height: 8px;
  border-radius: 4px;
  background: #22c55e;
  animation: webdesy-llms-bars 1s ease-in-out infinite;
}

.webdesy-llms-idle__bars span:nth-child(2) {
  animation-delay: 0.14s;
  background: #2563eb;
}

.webdesy-llms-idle__bars span:nth-child(3) {
  animation-delay: 0.28s;
  background: #f59e0b;
}

@keyframes webdesy-llms-bars {
  0%, 100% { height: 7px; }
  45% { height: 22px; }
}

.webdesy-llms-loading {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 132px;
  padding-top: 58px;
  border-color: #bfdbfe;
}

.webdesy-llms-loading::before,
.webdesy-llms-loading::after {
  content: "";
  position: absolute;
  top: 22px;
  height: 8px;
  border-radius: 999px;
}

.webdesy-llms-loading::before {
  right: 18px;
  left: 18px;
  background: #dbeafe;
}

.webdesy-llms-loading::after {
  left: 18px;
  width: 38%;
  background: linear-gradient(90deg, #2563eb, #22c55e, #f59e0b);
  animation: webdesy-llms-progress 1.2s ease-in-out infinite;
}

@keyframes webdesy-llms-progress {
  0% { transform: translateX(-115%); }
  55% { transform: translateX(95%); }
  100% { transform: translateX(235%); }
}

.webdesy-llms-progress-status {
  margin: 0 0 8px;
  color: #172033;
  font-weight: 900;
  line-height: 1.45;
}

.webdesy-llms-progress-note {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.webdesy-llms-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  background: #f8fafc;
}

.webdesy-llms-summary--pass { border-color: #bbf7d0; background: #f0fdf4; }
.webdesy-llms-summary--warn { border-color: #fed7aa; background: #fff7ed; }
.webdesy-llms-summary--fail { border-color: #fecaca; background: #fef2f2; }

.webdesy-llms-summary h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.webdesy-llms-summary p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}

.webdesy-llms-score {
  display: grid;
  place-items: center;
  min-width: 86px;
  min-height: 86px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid #c7d2df;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.webdesy-llms-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.webdesy-llms-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #d6dee8;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  padding: 6px 10px;
}

.webdesy-llms-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.webdesy-llms-action {
  border-color: #c7d2df;
  background: #fff;
  color: #172033;
}

.webdesy-llms-action--primary {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.webdesy-llms-copy-status {
  min-height: 20px;
  color: #526174;
  font-size: 13px;
  line-height: 1.4;
}

.webdesy-llms-priority {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #431407;
}

.webdesy-llms-priority h3,
.webdesy-llms-section-title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}

.webdesy-llms-priority ol {
  margin: 0;
  padding-left: 22px;
}

.webdesy-llms-priority li {
  margin: 8px 0;
  line-height: 1.45;
}

.webdesy-llms-priority strong {
  display: block;
  color: #111827;
}

.webdesy-llms-checks {
  display: grid;
  gap: 10px;
}

.webdesy-llms-check {
  border: 1px solid #d6dee8;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.webdesy-llms-check__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.webdesy-llms-check h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
}

.webdesy-llms-check p {
  margin: 10px 0 0;
  color: #334155;
  line-height: 1.55;
}

.webdesy-llms-status-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #fff;
}

.webdesy-llms-status-dot--pass { background: #16a34a; border: 1px solid #16a34a; }
.webdesy-llms-status-dot--warn { background: #f59e0b; border: 1px solid #f59e0b; }
.webdesy-llms-status-dot--fail { background: #dc2626; border: 1px solid #dc2626; }
.webdesy-llms-status-dot--info { background: #2563eb; border: 1px solid #2563eb; }

.webdesy-llms-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 26px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 5px 8px;
}

.webdesy-llms-badge--pass { background: #16a34a; }
.webdesy-llms-badge--warn { background: #d97706; }
.webdesy-llms-badge--fail { background: #dc2626; }
.webdesy-llms-badge--info { background: #2563eb; }

.webdesy-llms-fix {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e3a8a;
}

.webdesy-llms-fix strong {
  display: block;
  margin-bottom: 4px;
  color: #172554;
  font-size: 13px;
  text-transform: uppercase;
}

.webdesy-llms-contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
}

.webdesy-llms-contact-cta h3 {
  margin: 0 0 6px;
  color: #172554;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}

.webdesy-llms-contact-cta p {
  margin: 0;
  color: #1e3a8a;
  line-height: 1.5;
}

.webdesy-llms-contact-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  font-weight: 900;
  line-height: 1.2;
  padding: 10px 14px;
  text-decoration: none;
}

.webdesy-llms-contact-cta__button:hover,
.webdesy-llms-contact-cta__button:focus {
  background: #2563eb;
  color: #fff;
  outline: 3px solid #bfdbfe;
  outline-offset: 2px;
}

.webdesy-llms-raw {
  margin-top: 18px;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  background: #fff;
}

.webdesy-llms-raw summary {
  cursor: pointer;
  padding: 14px;
  color: #172033;
  font-weight: 900;
}

.webdesy-llms-raw pre {
  max-height: 360px;
  overflow: auto;
  margin: 0;
  border-top: 1px solid #e2e8f0;
  background: #111827;
  color: #e5e7eb;
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.5;
}

.webdesy-llms-error {
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #7f1d1d;
  padding: 16px;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .webdesy-llms-idle__bars span,
  .webdesy-llms-loading::after {
    animation: none;
  }
}

@media (max-width: 720px) {
  .webdesy-llms-tool__top,
  .webdesy-llms-tool__form,
  .webdesy-llms-results {
    padding: 28px;
  }

  .webdesy-llms-tool__top h2 {
    font-size: 24px;
  }

  .webdesy-llms-input-row,
  .webdesy-llms-summary,
  .webdesy-llms-check__head,
  .webdesy-llms-contact-cta {
    grid-template-columns: 1fr;
  }

  .webdesy-llms-input-row button,
  .webdesy-llms-action,
  .webdesy-llms-contact-cta__button {
    width: 100%;
  }

  .webdesy-llms-score {
    justify-self: start;
    min-width: 74px;
    min-height: 74px;
    font-size: 18px;
  }
}
