
/* ###### BEGIN Tool Analysis Premium Mini Header Patch ###### */
.tool-shell.has-result .tool-hero {
  padding-bottom: 1.15rem;
  margin-bottom: 1rem;
}

.tool-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
}
.tool-form label,
.tool-form .tool-form__hint { grid-column: 1 / -1; }
.tool-form input[type="url"] {
  min-height: 56px;
  border-radius: 18px;
  padding: 0 18px;
}
.tool-form button[type="submit"] {
  min-height: 56px;
  min-width: 170px;
  border-radius: 18px;
  padding: 0 24px;
  align-self: end;
}
.tool-shell.has-result .tool-form__hint {
  opacity: .88;
  margin-top: 2px;
  margin-bottom: 0;
}

.ta-loading, .ta-error {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(79,215,255,.18);
  background: linear-gradient(180deg, rgba(11,23,40,.72), rgba(5,14,25,.92));
}

.ta-header {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  margin-bottom: 16px;
}
.ta-header--triple {
  grid-template-columns: minmax(260px, 1.45fr) minmax(180px, .9fr) minmax(180px, .95fr);
}
.ta-status-card,
.ta-score-card,
.ta-panel {
  border: 1px solid rgba(79,215,255,.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(7,18,34,.92), rgba(4,11,22,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02), 0 10px 26px rgba(0,0,0,.20);
}
.ta-status-card {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ta-status-card__eyebrow {
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 10px;
}
.ta-status-card__title {
  font-size: 1.02rem;
  line-height: 1.34;
  font-weight: 800;
  max-width: 30ch;
}
.ta-status-card__meta { margin-top: 14px; }

.ta-score-card {
  padding: 16px 16px 14px;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ta-score-card__label {
  font-size: .98rem;
  font-weight: 800;
}
.ta-score-card__value {
  font-size: 3.1rem;
  line-height: 1;
  font-weight: 900;
  margin: 12px 0;
}
.ta-score-card__footer {
  margin-top: auto;
}

.ta-pill,
.ta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}
.ta-pill--warm {
  color: #ffd38b;
  border: 1px solid rgba(255, 180, 70, .42);
  background: rgba(78, 53, 17, .40);
}
.ta-pill--cool {
  color: #b6fff3;
  border: 1px solid rgba(35, 220, 188, .45);
  background: rgba(11, 79, 71, .33);
}

.ta-panel {
  padding: 18px;
  margin-top: 16px;
}
.ta-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.ta-panel__head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.ta-findings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ta-finding-card {
  border: 1px solid rgba(79,215,255,.16);
  border-radius: 20px;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, rgba(9,20,37,.7), rgba(5,13,25,.92));
}
.ta-finding-card.is-bad {
  border-color: rgba(255, 91, 122, .42);
}
.ta-finding-card.is-good {
  border-color: rgba(35, 220, 188, .24);
}
.ta-finding-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.ta-finding-card__head h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}
.ta-finding-card p {
  margin: 0;
  line-height: 1.48;
}

.ta-badge.is-bad,
.ta-badge--prio {
  color: #ffd1db;
  border: 1px solid rgba(255, 91, 122, .42);
  background: rgba(99, 20, 39, .33);
}
.ta-badge.is-good {
  color: #b6fff3;
  border: 1px solid rgba(35, 220, 188, .45);
  background: rgba(11, 79, 71, .33);
}
.ta-badge.is-warn {
  color: #ffd38b;
  border: 1px solid rgba(255, 180, 70, .42);
  background: rgba(78, 53, 17, .40);
}

.ta-rec-list {
  display: grid;
  gap: 16px;
}
.ta-rec-item {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  align-items: start;
}
.ta-rec-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 8px;
  background: #1ee8ef;
  box-shadow: 0 0 0 5px rgba(30,232,239,.10);
}
.ta-rec-item__title {
  font-weight: 800;
  margin-bottom: 6px;
}
.ta-rec-item__title .ta-badge { transform: translateY(-1px); margin-left: 8px; }
.ta-rec-item p { margin: 0; line-height: 1.48; opacity: .96; }

@media (max-width: 980px) {
  .tool-form { grid-template-columns: 1fr; }
  .tool-form button[type="submit"] { width: 100%; }
  .ta-header--triple { grid-template-columns: 1fr; }
  .ta-score-card { min-height: 148px; }
}
@media (max-width: 760px) {
  .ta-findings-grid { grid-template-columns: 1fr; }
  .ta-status-card__title { max-width: none; }
}
/* ###### END Tool Analysis Premium Mini Header Patch ###### */
