/* Small modal date picker used by library + calendar integrations. */
.date-prompt-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3100;
}
.date-prompt-overlay[hidden] { display: none; }
.date-prompt-card {
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: 8px;
  padding: 18px 20px;
  min-width: 280px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
.date-prompt-title {
  margin: 0 0 12px;
  font-size: var(--fs-md);
  color: var(--txt);
}
.date-prompt-input {
  width: 100%;
}
.date-prompt-btns {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}
.date-prompt-btns button {
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid var(--bdr);
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 600;
  cursor: pointer;
}
.date-prompt-btns button.ghost {
  background: transparent;
  color: var(--dim);
}

/* The optional Clear button (TKF-297) sits away from OK/Cancel — it is a
   destructive third answer, not a variant of either, and putting it next to
   Cancel is how it gets pressed by accident. */
.date-prompt-btns .date-prompt-clear { margin-right: auto; }
