.overlap-editor {
  width: min(100%, 46rem); margin: 0 auto; color: var(--ink,#242824);
  padding: clamp(1.25rem,4vw,3rem) 1rem 5rem; box-sizing: border-box;
}
.overlap-editor *, .overlap-editor *::before, .overlap-editor *::after {box-sizing:border-box}
.ed-heading {margin-bottom:1.75rem}
.ed-back {display:inline-block; font-size:.92rem; color:inherit; text-underline-offset:4px; margin-bottom:1rem}
.ed-heading h1 {font-size:clamp(2rem,6vw,3.25rem); letter-spacing:-.065em; line-height:1.08; margin:0}
.ed-card {
  background:white; border:1px solid var(--line,#dbded7); border-radius:1.1rem;
  padding:clamp(1.1rem,3vw,1.7rem); margin:0 0 1rem;
}
.ed-card h2 {font-size:1.37rem; letter-spacing:-.04em; margin:0 0 1.1rem}
.ed-card .ed-subtitle {margin:-.55rem 0 1rem; color:#565954}
.ed-field {display:grid; gap:.45rem; margin:.85rem 0 0; font-size:.95rem; font-weight:600; min-width:0}
.ed-field[hidden] {display:none}
.overlap-editor input:not([type="checkbox"]), .overlap-editor select {
  width:100%; min-width:0; background:#fff; color:inherit; border:1px solid #bcbfb8;
  font:inherit; font-size:1rem; font-weight:400; border-radius:.6rem; min-height:2.85rem; padding:.56rem .75rem;
}
.overlap-editor :is(input,select,button,a):focus-visible {outline:3px solid #8b48b4; outline-offset:2px}
.ed-pair {display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.ed-pair > * {min-width:0}
.ed-map-preview {display:block; color:#545951; margin:.55rem 0 0; overflow-wrap:anywhere}
.ed-map-preview:empty {display:none}
.ed-days {display:grid; gap:.6rem; margin:1.25rem 0 .75rem}
.ed-day {border:1px solid var(--line,#dbded7); border-radius:.75rem; padding:.75rem; background:#faf9f7}
.ed-day-top,.ed-times,.ed-day-actions,.ed-time {display:flex; align-items:center; gap:.5rem; flex-wrap:wrap}
.ed-day-top {justify-content:space-between}
.ed-day-top input {max-width:11.75rem}
.ed-times {margin-top:.6rem}
.ed-time {flex-wrap:nowrap; border:1px solid #bcbfb8; border-radius:.5rem; background:#fff; gap:0}
.ed-time input[type="time"] {width:auto;min-height:2.45rem;border:0;background:transparent}
.ed-time button {font-size:1.15rem;min-width:2rem}
.ed-whole {font-size:.9rem; color:#565954; font-weight:500}
.overlap-editor button {cursor:pointer;font:inherit;font-weight:600}
.ed-quiet {padding:.4rem .5rem;color:#424a42; background:transparent;border:0;font-size:.9rem!important;min-height:2.5rem;border-radius:.4rem}
.ed-quiet:hover {background:#eeeae4}
.ed-secondary {padding:.55rem .85rem;border-radius:.55rem;background:#fff;border:1px solid #bcbfb8;color:inherit;min-height:2.75rem}
.ed-check {display:flex;align-items:center;gap:.5rem;min-height:2.75rem;cursor:pointer}
.ed-check input {width:1.2rem;height:1.2rem;accent-color:var(--ink,#242824)}
.ed-summary {margin:0 0 .35rem}
.ed-submit {background:var(--ink,#242824);color:white;border:0;border-radius:.7rem;padding:.85rem 1.4rem;min-height:3rem}
.ed-submit:disabled {opacity:.6;cursor:wait}
.ed-error {color:#9f2424;font-weight:500}
.ed-error:empty {display:none}
@media(max-width:540px) {
 .ed-pair {grid-template-columns:1fr;gap:0}
 .ed-day-top input {max-width:100%}
 .ed-submit {width:100%}
}
