.reference-editor{display:grid;gap:18px}.reference-editor .panel{margin:0}.reference-editor label{display:grid;gap:6px}.reference-node{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;padding:15px 0;border-bottom:1px solid #dce5e5}.reference-node .node-notes,.reference-node .actions{grid-column:1/-1}.reference-lodging{display:grid;grid-template-columns:2fr 2fr 3fr;gap:12px;margin:16px 0}.point-picker{display:block;position:relative;min-width:0}.point-picker input{width:100%;box-sizing:border-box}.point-options{position:absolute;z-index:60;top:100%;left:0;right:0;max-height:240px;overflow:auto;background:#fff;border:1px solid #a4baba;box-shadow:0 6px 20px #203d3d20;border-radius:8px}.point-options button{display:block;border:0;border-radius:0;width:100%;text-align:left;background:#fff;color:#163f3c;padding:10px}.point-options button:hover,.point-options [aria-selected=true]{background:#e6f3f0}.traffic-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.traffic-form label{display:grid;gap:6px}.traffic-form .full{grid-column:1/-1}.traffic-record{padding:12px 0;border-bottom:1px solid #ddd}.reference-raw{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.favorite-star{font-size:25px;line-height:1;background:transparent;border:0;color:#52645f;padding:7px;cursor:pointer}.favorite-star[aria-pressed=true]{color:#ad7500}.favorite-star svg{width:24px;height:24px;fill:white;stroke:currentColor;stroke-width:1.8}.favorite-star[aria-pressed=true] svg{fill:#ffd34c}.filter-bar input[name=q]{min-height:42px;box-sizing:border-box;border:1px solid var(--border,#d7dce0);border-radius:10px;padding:10px 12px;background:white;font:inherit;width:100%}.filter-bar label{min-width:0}
@media(max-width:600px){.reference-node,.reference-lodging,.traffic-form{grid-template-columns:minmax(0,1fr)}.reference-node .node-notes,.reference-node .actions{grid-column:1}.reference-editor .actions{flex-wrap:wrap}.reference-editor input,.reference-editor select{max-width:100%;min-width:0}.point-options{max-height:200px}}

.itinerary-routes .reference-row{grid-template-columns:minmax(0,1fr) auto auto auto}.reference-name{min-width:0}.reference-name h2{overflow-wrap:anywhere}@media(max-width:700px){.itinerary-routes .reference-row{grid-template-columns:minmax(0,1fr) auto auto}.itinerary-routes .reference-row .reference-actions{grid-column:1/-1}}

.reference-editor input,.reference-editor select,.reference-editor textarea,.traffic-form input,.traffic-form select,#editor-region{font:inherit;min-height:42px;padding:10px 12px;border:1px solid var(--border,#d9dfda);border-radius:9px;background:#fff;color:inherit;box-sizing:border-box;width:100%}
.reference-editor textarea{min-height:76px}.reference-editor .actions{display:flex;gap:8px}.reference-day-heading{display:flex;gap:12px;justify-content:space-between;align-items:center}
.reference-editor button:not(.button),.traffic-record button{font:inherit;padding:8px 12px;border:1px solid #d3dcd7;border-radius:8px;background:#f8faf9;color:#28473e;cursor:pointer}
#editor-region{width:auto;min-width:160px;margin:8px}.reference-editor .point-options button{width:100%;text-align:left;border:0;border-radius:0}

.itinerary-routes .reference-name .muted{overflow-wrap:anywhere}
