.opr-search-hero{display:grid;grid-template-columns:1fr 1fr;border-radius:18px;box-shadow:0 8px 30px #183c2415;isolation:isolate;background:#f5f5e9;margin-bottom:24px}.opr-search-copy{position:relative;padding:32px;min-width:0;border-radius:18px 0 0 18px}.opr-search-copy:before{content:"";position:absolute;inset:0;background:url('assets/neuruppin-background.png') center/cover;opacity:.3;z-index:-1;border-radius:inherit}.opr-search-copy h1{font-size:clamp(27px,3vw,39px);line-height:1.12;margin:0 0 16px}.opr-entry .opr-search-benefit{display:inline-block;font-size:16px;font-weight:800;background:#fff3ca;padding:8px 12px;border-radius:6px;margin:0 0 20px}.opr-search-photo{width:100%;height:100%;min-height:380px;object-fit:cover;object-position:center;border-radius:0 18px 18px 0}.opr-search-field{position:relative;margin-bottom:15px}.opr-search-field label{display:block;font-size:16px;font-weight:700;margin-bottom:6px}.opr-search-field input{display:block;box-sizing:border-box;width:100%;min-height:54px;padding:13px 15px;border:2px solid #000066;border-radius:8px;background:#056816!important;color:#000066!important;-webkit-text-fill-color:#000066;font:700 18px/1.4 inherit;caret-color:#ffffff;color-scheme:light}.opr-search-field input::placeholder{color:#000066;opacity:1}.opr-search-field input:focus-visible{outline:3px solid #d99b00;outline-offset:3px}.opr-search-field input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #056816 inset;-webkit-text-fill-color:#000066}.opr-search-results{position:absolute;top:100%;left:0;right:0;z-index:1100;margin:5px 0 0;padding:5px;list-style:none;border:1px solid #000066;border-radius:8px;background:#f5f5e9;box-shadow:0 8px 20px #0003;max-height:300px;overflow:auto}.opr-search-results[hidden]{display:none}.opr-search-results li{padding:11px 10px;color:#000066;font-size:15px;cursor:pointer;border-radius:4px}.opr-search-results li:hover,.opr-search-results li[aria-selected=true]{background:#d5e6cd}.opr-search-maplink{display:inline-block;margin-top:7px;font-weight:700;color:#000066}.opr-entry .opr-search-status{font-size:14px;line-height:1.4;min-height:20px;margin:8px 0}.opr-search-credit{font-size:10px;line-height:1.4;margin-top:14px}.opr-search-credit a{color:#24392b}.opr-planning-map{height:520px;border-radius:12px;background:#e3eadf;isolation:isolate}.opr-map-tools{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 12px}.opr-map-tools button{font:600 16px/1.3 inherit;padding:10px 16px;border:2px solid #245938;background:#f4f5e8;border-radius:7px;color:#173c27;cursor:pointer}.opr-map-tools button[aria-pressed=true]{background:#245938;color:#fff}.opr-map-tools button:focus-visible{outline:3px solid #d99b00;outline-offset:3px}.opr-endpoint{display:grid;place-items:center;background:#000066;color:white;font:bold 17px sans-serif;border:3px solid white;border-radius:50%;box-shadow:0 2px 5px #0005}.opr-map-poi{display:grid;place-items:center;border:2px solid white;border-radius:50%;color:white;background:#245938;font:bold 13px sans-serif;box-shadow:0 1px 4px #0005}.opr-video-help{margin:28px 0 0;border-top:1px solid #c4cebb;padding-top:18px}.opr-video-help>summary{font-size:19px;font-weight:700;cursor:pointer;color:#245938;padding:10px 0}.opr-video-help .opr-tutorial{margin-top:20px}.opr-entry .opr-video-help #tutorial-title{font-size:26px}.opr-search-heading-help{margin:12px 0 20px}.opr-search-heading-help a{font-weight:700;color:#245938}@media(max-width:740px){.opr-search-hero{grid-template-columns:1fr}.opr-search-copy{padding:24px 18px;border-radius:18px 18px 0 0}.opr-search-photo{height:auto;min-height:0;max-height:260px;object-fit:contain;background:#d5e5d2;border-radius:0 0 18px 18px}.opr-planning-map{height:440px}.opr-search-results{max-height:240px}}
.opr-search-field input{font-family:inherit;font-size:18px;font-weight:700;line-height:1.4}.opr-map-tools button{font-family:inherit;font-size:16px;font-weight:600;line-height:1.3}

/* Planner full width: this stylesheet is loaded only for art=rad. */
.site-main > .opr-entry{box-sizing:border-box;width:100%;max-width:none;padding-left:clamp(12px,2vw,32px);padding-right:clamp(12px,2vw,32px)}
.opr-search-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.opr-search-photo{min-width:0}
@media(max-width:740px){.opr-search-hero{grid-template-columns:minmax(0,1fr)}}

/* Distinct start and destination pins. Animate the artwork, not Leaflet positioning. */
.opr-search-field #opr-end{background:#f00717!important}
.opr-search-field #opr-end:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #f00717 inset}
.opr-location-pin{background:none;border:0}
.opr-pin-art{position:relative;width:104px;height:151px;transform-origin:50% 148px;animation:opr-pin-pulse 1.6s ease-in-out 3;filter:drop-shadow(0 2px 2px #fff) drop-shadow(0 3px 4px #0006)}
.opr-pin-art img{display:block;width:104px;height:151px;max-width:none}
.opr-pin-caption{position:absolute;left:20%;top:13.08%;width:60%;height:41.32%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:50%;background:white;color:#000066;font-family:Arial,sans-serif;font-weight:700;line-height:1;white-space:nowrap;text-align:center}
@keyframes opr-pin-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}
@media(prefers-reduced-motion:reduce){.opr-pin-art{animation:none}}

/* Shrink around the fixed map coordinate after three pulses. */
.opr-location-pin{pointer-events:none!important}
.opr-pin-art{pointer-events:auto;animation:opr-pin-pulse 1.6s ease-in-out 3,opr-pin-settle .45s ease-out 4.8s 1 forwards}
@keyframes opr-pin-settle{from{transform:scale(1)}to{transform:scale(.35)}}
.opr-planning-map.leaflet-grab{cursor:grab}
.opr-planning-map.leaflet-grabbing{cursor:grabbing}
@media(prefers-reduced-motion:reduce){.opr-pin-art{animation:none;transform:scale(.35)}}

/* Compact credits at the bottom edge of this planning map. */
#opr-planning-map .leaflet-control-attribution{font-size:10px;line-height:1.35;padding:2px 5px;max-width:100%;box-sizing:border-box;background:rgba(255,255,255,.9);color:#334238;overflow-wrap:anywhere}
#opr-planning-map .leaflet-control-attribution a{color:#334238}
#opr-planning-map .leaflet-bottom.leaflet-right{max-width:100%}
/* Small, reversible choice of planning method. */
#opr-method-choice[hidden],#opr-search-fields[hidden],#opr-method-back[hidden]{display:none!important}
.opr-method-title{font-size:22px;line-height:1.35;margin:4px 0 20px}
.opr-method-buttons{display:grid;gap:14px}
.opr-method-buttons button,#opr-method-back,.opr-map-switch button{font-family:inherit;cursor:pointer;border:2px solid #245938;border-radius:8px;padding:13px 18px;font-size:17px;line-height:1.35;color:#173c27;background:#f5f5e9;text-align:left}
.opr-method-buttons button{font-weight:700;background:#245938;color:white}
#opr-method-back{font-size:15px;padding:8px 12px;margin:0 0 18px}
.opr-map-switch{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.opr-map-switch button{font-size:15px;padding:9px 15px;text-align:center}
.opr-map-switch button[aria-pressed=true]{background:#245938;color:white}
.opr-method-buttons button:focus-visible,#opr-method-back:focus-visible,.opr-map-switch button:focus-visible{outline:3px solid #d99b00;outline-offset:3px}
.opr-elevation{margin:16px 0 24px;padding:18px 20px;border:1px solid #bacab2;border-radius:10px;background:#ffffffb3}
.opr-elevation h2{font-size:20px;margin:0 0 8px}
.opr-entry .opr-elevation p{font-size:15px;line-height:1.5;margin:0}
@media(max-width:500px){.opr-map-switch{display:grid;grid-template-columns:1fr 1fr}.opr-map-switch button{padding:10px 7px;font-size:14px}.opr-method-title{font-size:20px}}

.opr-search-hero[hidden],#opr-point-tools[hidden],.opr-edit-button[hidden]{display:none!important}
.opr-edit-button{font:600 15px/1.4 inherit;color:#173c27;background:#f5f5e9;border:2px solid #245938;border-radius:7px;padding:9px 12px;margin-top:8px;cursor:pointer}
.opr-edit-button:focus-visible{outline:3px solid #d99b00;outline-offset:2px}
#opr-point-tools{align-items:center}#opr-point-tools p{margin:0;flex:1;min-width:200px}
.opr-pin-rest{animation:none!important;transform:scale(.35)}
.opr-pin-art{touch-action:none;cursor:grab}.opr-pin-art:active{cursor:grabbing}
.opr-route-point{display:grid;place-items:center;background:#000066;color:white;font:bold 15px Arial;border:2px solid white;border-radius:50%;box-shadow:0 2px 5px #0005;touch-action:none}
#opr-draft-status:empty{display:none}

/* Only this planner's point controls: compact back button, vertical actions. */
#opr-point-tools{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
#opr-point-tools[hidden],#opr-point-tools [hidden]{display:none!important}
#opr-point-tools p{flex:none;min-width:0;margin:0;max-width:100%}
#opr-point-tools #opr-points-back{font-size:14px;padding:5px 10px;font-weight:400}
#opr-point-tools #opr-connect,#opr-point-tools #opr-finish{background:#245938;color:white}
#opr-point-tools button:disabled{opacity:.55;cursor:default}
#opr-route-status:empty{display:none}
#opr-route-summary{font-weight:700}
#opr-elevation-chart svg{width:100%;height:auto;max-height:210px;display:block}

/* Section editing uses the existing map and draft. */
.nordost-section-editor{margin:12px 0;padding:14px 18px;border:1px solid #a5c6a7;border-radius:12px;background:#edf7e9;color:#183c24}
.nordost-section-editor h3{margin:0 0 10px}.nordost-section-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.nordost-section-controls select{min-width:180px;max-width:100%;padding:10px;background:white;border:1px solid #7b9c7e;border-radius:6px}
.nordost-section-controls button{padding:10px 14px;min-height:44px;border:1px solid #7b9c7e;border-radius:6px;background:white;color:#183c24;font:inherit;cursor:pointer}
.nordost-section-controls button[aria-pressed="true"]{background:#126d3f;color:white}.nordost-section-controls button:disabled{opacity:.6;cursor:default}
.nordost-section-editor p{margin:10px 0 0}.nordost-section-editor [hidden],.nordost-section-editor[hidden]{display:none!important}
#nordost-section-feedback:empty{display:none}#nordost-section-gap{font-weight:bold;color:#7b4000}
.nordost-manual-handle{border:3px solid #ab4d00;border-radius:50%;background:white;box-shadow:0 1px 4px #0005;cursor:move}
.nordost-section-popup button{display:block;margin:8px 0;padding:10px;min-height:44px}
@media(max-width:600px){.nordost-section-controls{align-items:stretch}.nordost-section-controls select{width:100%}.nordost-section-controls button{flex:1 1 40%}.nordost-section-editor{padding:12px}}
