.map-editor{border-color:var(--line);border-left-color:#99734f;background:#f3edf4}
.map-editor-heading h3,.route-stop h4{color:var(--dark)}
.map-editor-heading p:not(.eyebrow){color:var(--muted)}
.map-editor-grid{align-items:start}
.route-stop{background:#fffdf9;border:1px solid var(--line);padding:clamp(10px,2vw,17px);min-width:0}
.route-stop h4{margin:0 0 14px;font-family:Georgia,serif;font-size:1.08rem;line-height:1.4;display:flex;align-items:center;gap:8px}
.route-stop h4::before{content:attr(data-number);display:inline-grid;place-items:center;width:1.5rem;height:1.5rem;border-radius:50%;background:#564375;color:white;font:700 .75rem Arial,sans-serif}
.route-stop label{display:block;font-size:.84rem;line-height:1.4;margin:10px 0 0;color:#382c47}
.route-stop input,.route-stop textarea,.route-stop select{display:block;width:100%;margin:4px 0 0;font-size:.92rem}
.route-stop select{min-width:0;text-overflow:ellipsis}
.route-settings{margin:14px 0 0;padding:11px 0 0;border-top:1px solid var(--line);color:#58436f}
.route-settings summary{font-size:.88rem;font-weight:700;cursor:pointer}
.route-settings small,.route-collection small{color:var(--muted);font-size:.79rem;line-height:1.45}
.route-collection{display:block;max-width:27rem;padding:0 0 12px}
.route-collection[hidden],.route-preservation[hidden]{display:none}
.route-collection select,.route-collection small{display:block;margin-top:4px}
@media(min-width:701px) and (max-width:880px){.map-editor-grid{grid-template-columns:1fr}}

.route-collection-tools{margin:0 0 14px}
.route-collection-tools[hidden],.route-suggest[hidden]{display:none}
.route-collection-tools .route-collection{padding-bottom:6px}
.route-collection-tools .route-advice{margin:6px 0}
.route-collection-tools .route-advice:empty{display:none}
.route-suggest{padding:6px 10px;font-size:.83rem}
