.fremdly-planner { max-width: 850px; color: #101b37; }

.fremdly-planner > p { max-width: 65ch; }
.fremdly-planner-fields, .fremdly-planner-result {
  margin: 26px 0;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid #c1cbe0;
  border-radius: 12px;
  background: #fffaf0;
}

.fremdly-planner-fields legend { font-weight: 700; padding-inline: 8px; }
.fremdly-planner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fremdly-planner-grid label { display: grid; gap: 6px; align-content: start; font-weight: 700; }
.fremdly-planner-grid input, .fremdly-planner-grid select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  color: #101b37;
  background: white;
  border: 1px solid #7485a6;
  border-radius: 6px;
  padding: 8px 12px;
}

.fremdly-planner button {
  background: #101b37;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  margin-top: 20px;
  font-weight: 700;
}

.fremdly-planner button:disabled { opacity: .6; }
.fremdly-planner-result h2 { margin: 0 0 12px; }
.fremdly-planner-result dt { font-weight: 700; }
.fremdly-planner-result dd { margin: 0 0 16px; }
.fremdly-planner :is(button, select, input, a):focus-visible, .fremdly-planner-result:focus {
  outline: 3px solid #254de0;
  outline-offset: 3px;
}

@media (max-width: 640px) { .fremdly-planner-grid { grid-template-columns: minmax(0, 1fr); } }
