.quoted-details {
  margin: 1.1rem 0;
  padding: 1rem;
  border: 1px solid #d8e0ec;
  border-radius: 0.9rem;
  background: #f7f9fc;
}

.quoted-details h3 {
  margin: 0.2rem 0 1rem;
  font-size: 1.05rem;
  color: #18243a;
}

.quote-fieldset {
  min-width: 0;
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
}

.quote-fieldset legend,
.quote-crew-field {
  display: block;
  margin-bottom: 0.45rem;
  color: #34435b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.quote-choice-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-choice {
  position: relative;
  display: grid;
  min-height: 3.35rem;
  align-content: center;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.7rem;
  background: #fff;
  color: #25354d;
  cursor: pointer;
  transition: border-color 160ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.quote-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quote-choice span { font-weight: 750; font-size: 0.86rem; line-height: 1.15; }
.quote-choice small { color: #64748b; font-size: 0.72rem; }
.quote-choice:hover { border-color: #7c3aed; transform: translateY(-1px); }
.quote-choice:has(input:checked) { border-color: #6d28d9; background: #f5f3ff; box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.14); }
.quote-choice:has(input:focus-visible) { outline: 3px solid #93c5fd; outline-offset: 2px; }

.quote-crew-field select {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
  min-height: 2.8rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.7rem;
  background: #fff;
  color: #18243a;
  font: inherit;
}

.quote-crew-field select:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }

.quote-rate-card {
  display: grid;
  gap: 0.15rem;
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.75rem;
  background: #18243a;
  color: #fff;
}

.quote-rate-card[hidden] { display: none; }

.quote-rate-card span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #cbd5e1; }
.quote-rate-card strong { font-size: 1.35rem; line-height: 1.1; }
.quote-rate-card small { color: #dbeafe; font-size: 0.78rem; }

.outcome-button.danger {
  border-color: #e5aaa6;
  background: #fdf0ef;
  color: #943b34;
}

.outcome-button.danger:hover {
  border-color: #c75c54;
  box-shadow: 0 8px 17px rgba(169, 63, 55, 0.12);
}

.not-proceeding-details {
  margin: 1.1rem 0;
  padding: 1rem;
  border: 1px solid #f0c6c2;
  border-radius: 0.9rem;
  background: #fff8f7;
}

.not-proceeding-details h3 {
  margin: 0.2rem 0 1rem;
  font-size: 1.05rem;
  color: #6f2d28;
}

.not-proceeding-details select {
  display: block;
  width: 100%;
  min-height: 2.8rem;
  margin-top: 0.45rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #dca19b;
  border-radius: 0.7rem;
  background: #fff;
  color: #18243a;
  font: inherit;
}

.not-proceeding-details select:focus-visible {
  outline: 3px solid #f5b7b1;
  outline-offset: 2px;
}

@media (max-width: 430px) {
  .quote-choice-grid { grid-template-columns: 1fr; }
  .quote-choice-grid.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
