/* RBM 2.1.2 — scoped visited places, responsive controls. */
.rbm212-editor,.rbm212-public{--rbm212-ink:#202b35;--rbm212-orange:#b7472a;--rbm212-bg:#f6f4f0;color:var(--rbm212-ink)}
.rbm212-editor *,.rbm212-public *{box-sizing:border-box}
.rbm212-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:17px}
.rbm212-section-head h3{margin:0 0 5px}.rbm212-section-head p{color:#667480;margin:0;font-size:14px;line-height:1.5}
.rbm212-add,.rbm212-pick{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #b7472a!important;border-radius:9px!important;padding:10px 14px!important;font-weight:700!important;font-size:14px!important;background:#b7472a!important;color:#fff!important;cursor:pointer}
.rbm212-rows{display:grid;gap:13px}.rbm212-place-row{border:1px solid #dfe2e5;border-radius:14px;padding:16px;background:#fcfcfc;min-width:0}
.rbm212-place-row.is-selected{border-color:#b7472a;box-shadow:0 0 0 2px #b7472a13}
.rbm212-row-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px}.rbm212-row-top strong{font-size:16px}
.rbm212-row-actions{display:flex;gap:5px;flex-wrap:wrap}
.rbm212-row-actions button{background:#fff!important;border:1px solid #cfd5d9!important;border-radius:7px!important;padding:6px 10px!important;color:#34414d!important;font-size:13px!important;min-width:33px!important;cursor:pointer}
.rbm212-row-actions [data-rbm212-remove]{color:#9d392b!important;border-color:#eaccc5!important}
.rbm212-fieldgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rbm212-place-row label{display:block;margin-bottom:12px;font-size:13px;color:#2c3d49;font-weight:650;min-width:0}
.rbm212-place-row :is(input[type=text],input[type=url],input[type=number],textarea){display:block;width:100%;min-width:0;max-width:100%;margin-top:5px;border:1px solid #cbd3d9;border-radius:9px;padding:10px 12px;font-size:14px;background:#fff;color:#202b35}
.rbm212-place-row input[type=file]{display:block;width:100%;max-width:100%;font-size:12px;margin-top:7px}
.rbm212-place-row textarea{resize:vertical}
.rbm212-pick{background:#fff!important;color:#a6472f!important;margin:0 0 13px!important}
.rbm212-map-panel{margin:19px 0 10px;background:#f9faf9;border:1px solid #e1e3e3;border-radius:14px;padding:12px}
.rbm212-map-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px;flex-wrap:wrap}
.rbm212-map-head span{color:#92513e;font-size:13px}.rbm212-map{height:340px;width:100%;border-radius:10px;z-index:0;background:#e6e9e9}
.rbm212-map-status{font-size:12px;color:#556572;margin:10px 0 0;line-height:1.5}
.rbm212-existing-photo{display:flex;align-items:center;gap:13px;margin-bottom:12px}.rbm212-existing-photo img{width:92px;height:65px;object-fit:cover;border-radius:7px}
.rbm212-existing-photo label{display:flex;gap:6px;align-items:center;margin:0}
.rbm212-public{margin:30px 0;border:1px solid #e4e6e6;background:#fff;border-radius:18px;padding:clamp(16px,3vw,28px)}
.rbm212-public-heading h2{font-size:clamp(22px,3vw,29px);margin:0 0 4px}.rbm212-public-heading p{color:#647380;margin:0 0 20px;font-size:14px}
.rbm212-public-map{height:360px;width:100%;border-radius:12px;background:#e6e9e9;margin:8px 0 24px;z-index:0}
.rbm212-timeline{list-style:none!important;display:grid;gap:12px;padding:0!important;margin:0!important;counter-reset:none}
.rbm212-stop{display:flex;align-items:flex-start;gap:12px;border:1px solid #e6e7e8;border-radius:12px;padding:14px;margin:0!important;min-width:0}
.rbm212-stop-number{display:flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#b7472a;color:#fff;font-size:14px;font-weight:700}
.rbm212-stop-info{flex:1;min-width:0}.rbm212-stop-info h3{font-size:17px;margin:0 0 5px}.rbm212-stop-info p{margin:0 0 9px;font-size:14px;line-height:1.6;white-space:pre-line}
.rbm212-stop-info a{color:#a1442f;font-size:13px;font-weight:700;display:inline-block;margin:4px 12px 0 0}
.rbm212-stop-info small{display:block;color:#60707a;font-size:12px}
.rbm212-stop-photo{width:145px;height:95px;object-fit:cover;border-radius:9px;flex:none}
.rbm212-route-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:20px 0 8px;font-size:14px}.rbm212-route-links a{border-radius:9px;background:#f5e9e5;color:#99412b;padding:8px 12px;text-decoration:none;font-weight:750;font-size:13px}
.rbm212-route-note{font-size:12px;color:#68737c;margin:0}
.rbm212-map-icon{background:transparent;border:0}.rbm212-map-icon span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:3px solid #fff;box-shadow:0 1px 7px #0005;border-radius:50% 50% 50% 4px;background:#b7472a;color:#fff;font-weight:800;font-size:12px;transform:rotate(-45deg)}
.rbm212-map-icon span::first-letter{transform:rotate(45deg)}.rbm212-map-icon.is-active span{background:#202b35}
@media(max-width:700px){.rbm212-fieldgrid{grid-template-columns:1fr;gap:0}.rbm212-section-head{align-items:stretch}.rbm212-add{width:100%}.rbm212-place-row{padding:12px}.rbm212-row-top{align-items:start}.rbm212-map{height:270px}.rbm212-public-map{height:280px}.rbm212-stop{flex-wrap:wrap}.rbm212-stop-photo{width:100%;height:auto;max-height:220px;object-fit:cover}.rbm212-stop-info{flex:1;min-width:calc(100% - 45px)}}

/* RBM 2.6.2: approved POI association control */
.rbm212-editor .rbm262-existing-poi{width:100%;max-width:100%;min-height:44px}
.rbm212-editor .rbm262-poi-tip{font-size:13px;color:#63727b;line-height:1.5;margin:5px 0 12px}

/* RBM 2.6.3 */
.rbm212-editor .rbm263-poi-search{width:100%;max-width:100%;min-height:44px}
.rbm212-editor .rbm263-search-status{font-size:13px;line-height:1.5;color:#52636d;margin:0 0 8px;min-height:18px}

/* RBM 2.6.4 public journey and partner selector */
.rbm212-editor .rbm264-existing-partner{width:100%;max-width:100%;min-height:44px}
.rbm264-story-map-action{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 18px}
.rbm264-story-map-action a{display:inline-flex;align-items:center;padding:11px 16px;background:#BD5034;color:#fff!important;border-radius:10px;font-weight:750;text-decoration:none}
.rbm264-story-map-action a:hover,.rbm264-story-map-action a:focus-visible{background:#983e28;color:#fff!important}
.rbm264-story-map-action small{color:#647380;line-height:1.5}
@media(max-width:700px){.rbm264-story-map-action{display:flex;flex-direction:column;align-items:stretch}.rbm264-story-map-action a{justify-content:center;text-align:center}}
