.field-label {
  display: flex;
  justify-content: space-between;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 550;
}

.field-label span,
.analysis-heading span {
  color: var(--muted);
  font-size: 10px;
}

.field-label span {
  font-weight: 400;
}

.body-label {
  margin-top: 18px;
}

#title {
  display: block;
  width: 100%;
  border: 1px solid #eceae6;
  border-radius: 8px;
  background: #fafaf8;
  padding: 12px 14px;
  font: 14px inherit;
  color: var(--ink);
}

#title::placeholder {
  color: #a2a1a0;
}

#title:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.low-scores {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 12px;
}

.low-scores summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
}

.low-scores[open] summary {
  margin-bottom: 8px;
}

.low-scores .fill {
  background: #afa8c1;
}

#analysis {
  margin-top: 24px;
}

.analysis-section {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.analysis-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.analysis-heading h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.disagreement-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
}

.disagreement-card > div:first-child {
  display: flex;
  flex-direction: column;
}

.analysis-label {
  color: var(--muted);
  font-size: 10px;
}

.disagreement-card strong {
  color: var(--accent);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
}

.disagreement-card b {
  font-size: 14px;
}

.disagreement-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  gap: 8px;
  align-items: center;
  border-radius: 8px;
  background: #faf9f6;
  padding: 14px;
}

.comparison > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 8px;
}

.comparison span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 10px;
}

.comparison b {
  font-size: 16px;
}

.comparison small {
  align-self: center;
  color: var(--violet);
}

.comparison i {
  color: var(--muted);
  font-style: normal;
  text-align: center;
}

.route {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
}

.route-node {
  border-radius: 20px;
  padding: 7px 10px;
  white-space: nowrap;
}

.route-category {
  background: #f2eff5;
  color: var(--violet);
}

.route-mixed {
  background: #f1f0ed;
  color: var(--muted);
}

.segment-card {
  margin: 10px 0;
  border-left: 3px solid #d7d1df;
  border-radius: 0 8px 8px 0;
  background: #faf9f6;
  padding: 12px 14px;
}

.segment-card > div {
  display: flex;
  justify-content: space-between;
}

.segment-card b {
  font-size: 12px;
}

.segment-card span {
  color: var(--violet);
  font-size: 11px;
}

.segment-card p {
  margin: 7px 0 0;
  color: #64625f;
  font-size: 11px;
  line-height: 1.7;
}

.report-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  border: 1px solid rgba(164, 151, 179, 0.35);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 235, 245, 0.72));
  box-shadow: 0 12px 30px rgba(72, 61, 84, 0.09);
  padding: 14px 18px;
  color: #675f78;
  font-size: 13px;
  backdrop-filter: blur(16px);
}

.report-button:hover {
  transform: translateY(-1px);
  border-color: rgba(135, 117, 154, 0.55);
}

.report-button:disabled {
  transform: none;
  opacity: 0.55;
  cursor: wait;
}

.result {
  max-height: none;
}

@media (max-width: 760px) {
  .field-label span {
    display: none;
  }

  .disagreement-card {
    grid-template-columns: 90px 1fr;
  }
}
