.leaflet-marker-icon.objective-marker{display:grid;place-items:center;box-sizing:border-box;border:2px solid #71500d;border-radius:50%;background:#e4b83e;color:transparent;font-size:0;box-shadow:0 2px 6px #0005}
.objective-gallery-stage{position:relative;background:#e9ece4}.objective-gallery-stage>button{position:absolute;top:calc(50% - 22px);display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #ffffff66;border-radius:8px;background:#20372fe8;color:#fff;font-size:28px;line-height:1}.objective-gallery-previous{left:10px}.objective-gallery-next{right:10px}.objective-gallery-counter{position:absolute;bottom:10px;right:10px;background:#20372fe8;color:white;font-size:12px;border-radius:6px;padding:4px 8px}.objective-gallery-error{display:grid;place-content:center;min-height:220px;margin:0;padding:24px;font-size:14px;color:#52655b;text-align:center}.objective-gallery-error[hidden]{display:none}.objective-gallery-thumbnails{display:flex;gap:8px;padding:12px 20px;overflow:auto;background:#e9ece4}.objective-gallery-thumbnails>button{box-sizing:border-box;flex:0 0 66px;width:66px;height:54px;min-height:54px;padding:0;border:2px solid transparent;border-radius:6px;overflow:hidden;background:none}.objective-gallery-thumbnails>button[aria-pressed=true]{border-color:#ad5838}.objective-gallery-thumbnails img,body.map-first dialog.objective-dialog .objective-gallery-thumbnails img{display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:cover}.objective-image-gallery .objective-cover[hidden]{display:none}
.leaflet-marker-icon.objective-marker::after{content:'';width:18px;height:18px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d3019' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16M6 20V9l6-5 6 5v11M9 20v-5a3 3 0 0 1 6 0v5'/%3E%3C/svg%3E")}
.leaflet-marker-icon.objective-marker.objective-cluster{color:#3d3019;font-size:14px;font-weight:700}
.leaflet-marker-icon.objective-marker.objective-cluster::after{display:none}
.objective-cluster-choices{display:grid;gap:6px;min-width:190px}.objective-cluster-choices button{display:flex;align-items:center;gap:8px;text-align:left;min-height:44px}.objective-cluster-choices img{width:48px;height:42px;object-fit:cover;border-radius:4px}
.leaflet-marker-icon.objective-marker:hover,.leaflet-marker-icon.objective-marker:focus-visible{background-color:#f2cf6b;box-shadow:0 3px 9px #0007}
.objective-dialog{max-width:620px;width:min(620px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:0;border-radius:14px;background:#f7f7f0;padding:24px;color:#20372f}
.objective-dialog::backdrop{background:#10251ecc}.objective-close{float:right;font-size:24px}.objective-cover{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:8px}.objective-description{white-space:pre-wrap}.objective-post,.objective-nearby-post{display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin:8px 0}.objective-post img,.objective-nearby-post img{width:64px;height:52px;object-fit:cover}.objective-category{color:#775718}.objective-position-map{min-height:260px}.objective-post-picker{max-height:280px;overflow:auto}.objective-post-picker label{display:flex;gap:8px;align-items:center}
.objective-story-public{display:grid;gap:6px;margin:12px 0;padding:14px;border:1px solid #d8ddd3;border-radius:8px}.objective-story-public p{margin:0}.objective-story-public button{justify-self:start}.story-public-dialog{width:min(620px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:0;border-radius:14px;background:#f7f7f0;padding:24px;color:#20372f}.story-public-dialog::backdrop{background:#10251ecc}.story-public-dialog audio,.story-public-dialog video{width:100%;max-height:400px}.story-public-text{white-space:pre-wrap;line-height:1.65}.story-public-meta{color:#61746a}
.objective-dialog{padding:0;max-width:580px;background:#f8f7f1;box-shadow:0 18px 60px #10251e55}
.objective-dialog.objective-editor-preview{padding:24px}
.objective-dialog .objective-close{position:absolute;z-index:2;top:14px;right:14px;float:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff88;border-radius:50%;background:#20372fe8;color:white;font-size:25px;line-height:1}
.objective-dialog .objective-cover{height:260px;max-height:260px;border-radius:0;object-fit:contain;object-position:center;background:#e9ece4}
.objective-guide-intro{padding:24px 28px 8px}.objective-guide-intro .objective-category{margin:0 0 8px;font-size:11px;font-weight:700;letter-spacing:.12em}.objective-guide-intro h2{margin:0;font:normal 30px/1.15 Georgia,serif}.objective-guide-intro .objective-description{margin:12px 0 0;color:#52655b;font-size:14px;line-height:1.6}
.objective-guide-navigation{display:inline-flex;margin:4px 28px 20px;color:#365f49;font-size:13px;font-weight:600;text-underline-offset:3px}
.objective-guide{padding:22px 28px 26px;background:#e9efe5}.objective-guide-heading{margin-bottom:16px}.objective-guide-eyebrow{margin:0 0 6px;color:#866923;font-size:10px;font-weight:700;letter-spacing:.12em}.objective-guide-heading h3{margin:0;color:#20372f;font:normal 23px/1.2 Georgia,serif}.objective-guide-empty{margin:0;color:#52655b;font-size:14px;line-height:1.5}
.objective-dialog .objective-story-public{display:flex;align-items:center;gap:15px;margin:10px 0 0;padding:16px;border:1px solid #d9e1d5;border-radius:12px;background:#fffefa;box-shadow:0 2px 8px #20372f08}
.objective-dialog .objective-story-play{display:grid;place-items:center;box-sizing:border-box;flex:0 0 46px;width:46px;height:46px;min-height:46px;margin:0;padding:0;border:0;border-radius:50%;background:#20372f;color:white}.objective-dialog .objective-story-play::after{content:'';width:15px;height:16px;margin-left:2px;background:currentColor;clip-path:polygon(0 0,100% 50%,0 100%)}.objective-story-copy{display:grid;gap:7px;min-width:0}.objective-story-copy h4{margin:0;color:#20372f;font-size:16px;line-height:1.3;overflow-wrap:anywhere}.objective-story-meta{display:flex;flex-wrap:wrap;gap:5px;color:#52655b;font-size:12px}.objective-story-meta span:empty{display:none}.objective-story-meta span:not(:empty)~span:not(:empty)::before{content:'·';margin-right:5px;color:#87958b}.objective-story-format{font-weight:700}.objective-story-summary{color:#52655b;font-size:13px;line-height:1.5}.objective-dialog .objective-story-action{min-height:0;padding:0;border:0;background:none;color:#285a40;font-size:13px;font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:3px}
.objective-photo-fold{margin:0 28px;border-bottom:1px solid #dce2d8}.objective-photo-fold summary{padding:16px 0;cursor:pointer;font-weight:600;font-size:14px}.objective-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:8px;padding:0 0 16px}
.objective-historic-photos{margin:0 28px;padding:16px 0;border-bottom:1px solid #dce2d8}.objective-historic-photos h3{margin:0 0 12px;font-size:14px}.objective-historic-photos .objective-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:0}.objective-photos-more{margin-top:12px}
.objective-dialog .objective-photo-grid .objective-post,.objective-dialog .objective-photo-grid .objective-nearby-post{position:relative;display:block;width:100%;height:auto;min-height:0;aspect-ratio:1;margin:0;padding:0;overflow:hidden;border:0;border-radius:8px;background:#e4e9df}.objective-dialog .objective-photo-grid img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
body .objective-dialog .objective-photo-grid button.ui-control{padding:0!important;border:0!important;border-radius:8px!important;background:#e4e9df!important;min-height:0!important}
body.map-first dialog.objective-dialog .objective-photo-grid button img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:cover;object-position:center}
body .objective-dialog .objective-story-play.ui-control{padding:0!important;border:0!important;border-radius:50%!important;background:#20372f!important;color:#fff!important;box-shadow:none!important}
.objective-dialog .objective-photo-positions{min-height:44px;margin:12px 28px;color:#365f49;font-size:13px}
.story-public-back{min-height:44px;margin:0 0 12px;padding:0 10px;border:0;background:none;color:#285a40;font-size:13px;font-weight:700}
@media(max-width:600px){.objective-dialog{width:100%;max-width:none;max-height:88dvh;margin:auto 0 0;border-radius:16px 16px 0 0}.objective-dialog .objective-cover{height:220px;max-height:220px}.objective-guide-intro{padding:20px 20px 8px}.objective-guide-intro h2{font-size:27px}.objective-guide-navigation{margin-left:20px;margin-right:20px}.objective-guide{padding:20px}.objective-photo-fold{margin-left:20px;margin-right:20px}.objective-dialog .objective-photo-positions{margin-left:20px;margin-right:20px}}
.objective-opening-hours{white-space:pre-line}
@media(max-width:700px){
  body.map-first dialog.objective-dialog[open]{inset:auto 8px max(8px,env(safe-area-inset-bottom));margin:0;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(var(--app-visible-height,100dvh) - 16px);padding:0;overflow:auto;border-radius:16px;box-sizing:border-box}
  body.map-first dialog.objective-dialog .objective-cover{width:100%;height:clamp(160px,28dvh,220px);max-height:220px;object-fit:contain}
  body.map-first dialog.objective-dialog .objective-guide-intro{padding:20px 20px 12px}
  body.map-first dialog.objective-dialog .objective-guide-intro h2{padding-right:44px;overflow-wrap:anywhere}
  body.map-first dialog.objective-dialog .objective-guide{padding:18px 20px}
  body.map-first dialog.objective-dialog .objective-story-public{min-width:0}
  body.map-first dialog.objective-dialog .objective-historic-photos{margin:0 20px}
}
