/* Scoped to the everyday booking form; the surrounding laptop layout stays intact. */
#expense-form .booking-money { position: relative; }
#expense-form .booking-money input { padding-right: 66px; }
#expense-form .booking-currency { position: absolute; right: 14px; bottom: 15px; color: var(--muted); font-size: 14px; font-weight: 600; pointer-events: none; }
#expense-form .booking-people { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
#expense-form .booking-people legend { font-size: 15px; font-weight: 600; padding: 0; margin-bottom: 7px; }
#expense-form .booking-people > .field-help { margin: 0 0 10px; }
#expense-form .booking-members { display: flex; flex-wrap: wrap; gap: 8px; }
#expense-form .booking-members .check-label { display: flex; gap: 8px; align-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 7px; padding: 8px 12px; overflow-wrap: anywhere; max-width: 100%; }
#expense-form .booking-members .check-label:has(:checked) { background: #edf5f6; border-color: #90bcbc; }
#expense-form .booking-members input { flex: none; }
#expense-form .booking-disclosure { margin: 12px 0 0; border-top: 1px solid var(--line); }
#expense-form .booking-disclosure > summary { cursor: pointer; min-height: 44px; padding: 13px 0; color: var(--ink); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
#expense-form .booking-disclosure > summary::marker { color: var(--accent); }
#expense-form .booking-disclosure > summary small { display: block; margin: 5px 0 0 17px; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.45; }
#expense-form .booking-disclosure > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
#expense-form .booking-disclosure[open] > summary { margin-bottom: 8px; }
#expense-form .booking-split-inputs { padding: 12px 14px; margin: 0 0 12px; background: #f7f9fb; border: 1px solid var(--line); border-radius: 7px; }
#expense-form .booking-split-inputs .split-row { gap: 12px; }
#expense-form .booking-split-inputs label { flex: 1; overflow-wrap: anywhere; min-width: 0; font-size: 15px; }
#expense-form .booking-split-inputs input { width: 115px; flex: none; min-height: 44px; }
#expense-form .booking-split-inputs [hidden], #expense-form [hidden] { display: none !important; }
#expense-form .booking-options-body { padding-top: 2px; }
#expense-form .booking-date input { min-width: 0; }
#expense-form #entry-refund-help { margin: 0 0 16px; }
@media (max-width: 700px) {
  #expense-form .dialog-actions { bottom: 0; margin-bottom: 0; }
  #expense-form .booking-main-row { grid-template-columns: minmax(0, 1fr); }
  #expense-form .booking-members .check-label { flex: 1 1 120px; }
  #expense-form .booking-split-inputs { padding: 10px; }
  #expense-form .booking-disclosure > summary { font-size: 14px; }
}
