/* nanoPost List-Unsubscribe Live Tester */

.nanopost-tool--lult { display: block; max-width: 900px; }

.nanopost-tool--lult textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5em 0.75em;
  line-height: 1.4;
}

.nanopost-tool--lult input[type="url"] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55em 0.75em;
}

.nanopost-lult__abuse { margin-bottom: 1rem; }

.nanopost-lult__mode { border: none; padding: 0; margin: 0 0 1rem 0; }
.nanopost-lult__mode label {
  display: block;
  margin: 0.25rem 0;
  font-size: 0.95em;
}

.nanopost-lult__hint {
  font-size: 0.85em;
  color: #555;
  margin: 0.3rem 0 0 0;
}

.nanopost-lult__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.nanopost-lult__clear {
  padding: 0.6rem 1rem;
  background: transparent;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
}
.nanopost-lult__clear:hover { background: #f0f0f0; }

/* Verdict card */

.nanopost-lult__verdict {
  border-left: 6px solid #666;
  background: #f6f6f6;
  padding: 0.9rem 1rem;
  border-radius: 4px;
  margin: 1rem 0 1rem 0;
}
.nanopost-lult__verdict--pass { border-left-color: #1e8449; background: #eaf7ef; }
.nanopost-lult__verdict--fail { border-left-color: #b03a2e; background: #fdedec; }

.nanopost-lult__verdict-headline {
  font-weight: 600;
  font-size: 1.05em;
  margin-bottom: 0.35rem;
}
.nanopost-lult__verdict-detail { margin: 0; font-size: 0.93em; }

/* Meta table */

.nanopost-lult__meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.35rem 1rem;
  margin: 0 0 1.25rem 0;
  font-size: 0.93em;
}
.nanopost-lult__meta dt { font-weight: 600; color: #333; }
.nanopost-lult__meta dd { margin: 0; overflow-wrap: anywhere; }

/* Redirect hops */

.nanopost-lult__section-h {
  font-size: 0.95em;
  font-weight: 600;
  margin: 1.1rem 0 0.35rem 0;
  color: #333;
}

.nanopost-lult__hops {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 0 0 1rem 0;
}
.nanopost-lult__hop {
  margin-bottom: 0.6rem;
  padding: 0.5rem 0.7rem;
  background: #f8f8f8;
  border-radius: 3px;
  font-size: 0.9em;
}
.nanopost-lult__hop-status { font-weight: 600; }
.nanopost-lult__hop-elapsed { font-weight: 400; color: #666; }
.nanopost-lult__hop-url,
.nanopost-lult__hop-loc { margin-top: 0.15rem; overflow-wrap: anywhere; }
.nanopost-lult__hop-err {
  margin-top: 0.25rem;
  color: #b03a2e;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85em;
}

/* Response headers + body */

.nanopost-lult__resp-headers {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  font-size: 0.85em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.nanopost-lult__resp-headers li {
  padding: 0.15rem 0;
  border-bottom: 1px solid #eee;
  overflow-wrap: anywhere;
}
.nanopost-lult__resp-headers li:last-child { border-bottom: none; }

.nanopost-lult__snippet {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  padding: 0.7rem;
  border-radius: 3px;
  font-size: 0.85em;
  max-height: 220px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
