/* Shared locations settings and Optimize: explicit gaps prevent collapsed form rows. */
.planner-locations { color:var(--ink); font-family:var(--f-body); min-width:0; width:100%; }
.planner-locations__stack { display:flex; flex-direction:column; gap:14px; min-width:0; }
.planner-locations__card { display:flex; flex-direction:column; gap:14px; border:1px solid var(--hair); border-radius:var(--r); background:var(--card); padding:14px; min-width:0; }
.planner-locations__field { display:flex; flex-direction:column; gap:8px; min-width:0; width:100%; }
.planner-locations__text,.planner-locations__status { margin:0; overflow-wrap:anywhere; white-space:pre-wrap; }
.planner-locations__status:empty { display:none; }
.planner-locations :is(input,select,button) { box-sizing:border-box; min-height:48px; min-width:0; max-width:100%; }
.planner-locations input,.planner-locations select,.planner-locations input[type="date"],.planner-locations input[type="time"] { display:block; width:100%; inline-size:100%; }
.planner-locations button { white-space:normal; overflow-wrap:anywhere; }
.planner-locations :is(input,select,button):focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
@media (max-width:600px) { .planner-locations .btn { width:100%; } .planner-locations input { font-size:16px; } }

/* Retained provider display keeps its transient attribution after suggestion edits. */
.planner-locations__credits { display:flex; flex-direction:column; gap:8px; min-width:0; }
.planner-locations__credits:empty { display:none; }

/* The WK settings/Optimize date controls must honor their parent field width.
   Actual iPhone/iPad layout exposed native appearance adding padding outside it. */
.planner-locations input:is([type="date"],[type="time"],[type="datetime-local"]) {
  -webkit-appearance:none;
  appearance:none;
  box-sizing:border-box;
  width:100%;
  inline-size:100%;
  min-width:0;
  min-inline-size:0;
  max-width:100%;
  max-inline-size:100%;
}
