.tls-renew-plan {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
}

.tls-renew-plan__form {
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(250, 250, 250, 0.7);
}

.tls-field,
.tls-fieldset {
  margin-bottom: 1rem;
}

.tls-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.tls-field input[type="date"],
.tls-field input[type="number"] {
  width: min(280px, 100%);
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font: inherit;
}

.tls-fieldset {
  border: 1px dashed rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.tls-fieldset legend {
  font-weight: 600;
  padding: 0 0.35rem;
}

.tls-radio {
  display: block;
  margin-bottom: 0.5rem;
}

.tls-hint {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.55);
  margin-top: 0.25rem;
}

.tls-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.tls-actions button {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #111;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.tls-actions button#copy-button {
  background: #f1f1f1;
  color: #111;
}

.tls-messages {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.tls-messages--error {
  color: #c0392b;
}

.tls-messages--warn {
  color: #b06b00;
}

.tls-summary {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.04);
}

.tls-summary__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.tls-summary__grid span {
  display: block;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 0.2rem;
}

.tls-summary__grid strong {
  font-size: 1.05rem;
}

.tls-table-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
}

.tls-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.tls-table th,
.tls-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  text-align: left;
}

.tls-table thead th {
  background: rgba(0, 0, 0, 0.04);
  font-weight: 600;
}
