.omp-app { --omp-green:#2d7a7a; max-width:1200px; margin:24px auto; font-family:inherit; color:#243333; }
.omp-app * { box-sizing:border-box; }
.omp-app .omp-search { margin:0 0 12px; }
.omp-app .omp-search > label { display:block; margin:0 0 7px; font-weight:600; }
.omp-app .omp-controls { display:flex; flex-wrap:wrap; align-items:stretch; gap:8px; }
.omp-app .omp-name { flex:1 1 280px; min-width:0; border:1px solid #b8cece; padding:10px 12px; border-radius:8px; background:#fff; color:#243333; font:inherit; }
.omp-app .omp-controls button { border:1px solid var(--omp-green); border-radius:8px; padding:10px 16px; background:var(--omp-green); color:#fff; cursor:pointer; font:inherit; }
.omp-app .omp-controls .omp-reset { color:var(--omp-green); background:#fff; }
.omp-app .omp-summary { display:flex; gap:8px 20px; align-items:center; flex-wrap:wrap; margin:8px 0; font-size:.9em; }
.omp-app .omp-status { margin:0; flex:1 1 240px; }
.omp-app .omp-summary label { margin:0; display:flex; align-items:center; gap:6px; font-weight:400; }
.omp-app .omp-help { font-size:.9em; margin:8px 0 12px; }
.omp-app .omp-map { height:var(--omp-height,650px); min-height:350px; border:1px solid #b8cece; border-radius:12px; background:#eef4f3; z-index:0; }
.omp-app .leaflet-control-attribution { font-size:11px; line-height:1.5; max-width:100%; background:rgba(255,255,255,.95); }
.omp-app .leaflet-control-attribution a { color:#245f5f; }
.omp-app .leaflet-control-zoom a { color:#243333; text-decoration:none !important; }
.omp-app .omp-church-icon { background:none; border:0; }
.omp-app .omp-church-icon svg { width:34px; height:40px; display:block; filter:drop-shadow(0 2px 2px #0003); }
.omp-app .omp-cluster { display:grid; place-items:center; border:3px solid #fff; border-radius:50%; color:#fff; background:var(--omp-green); box-shadow:0 1px 6px #0005; font:bold 14px/1 system-ui,sans-serif; }
.omp-app .omp-parish-label { max-width:250px; white-space:normal; text-align:center; color:#245f5f; border-color:#c2d7d7; font-weight:600; font-family:inherit; }
.omp-app .leaflet-popup-content { margin:15px; width:auto !important; font-family:inherit; }
.omp-app .omp-popup { color:#243333; font-size:14px; min-width:200px; max-width:350px; overflow-wrap:anywhere; }
.omp-app .omp-popup h3 { margin:0 0 12px; color:var(--omp-green); font-size:17px; font-weight:700; line-height:1.35; }
.omp-app .omp-popup h4 { margin:14px 0 6px; font-size:14px; font-weight:700; }
.omp-app .omp-meta { display:block; margin:0; }
.omp-app .omp-meta dt { margin:8px 0 1px; font-weight:600; white-space:nowrap; }
.omp-app .omp-meta dd { margin:0; }
.omp-app .omp-times { white-space:pre-line; line-height:1.55; }
.omp-app .omp-text-link { display:inline; color:var(--omp-green); background:none; padding:0; margin:0; border:0; border-radius:0; box-shadow:none; font:inherit; text-align:left; text-decoration:none !important; cursor:pointer; white-space:normal; }
.omp-app .omp-text-link:hover { color:#173f3f; }
.omp-app .omp-times a { color:var(--omp-green); text-decoration:underline; }
.omp-app .omp-map-link { display:inline-block; margin-top:14px; padding:8px 12px; border-radius:7px; background:var(--omp-green); color:#fff; text-decoration:none !important; }
.omp-app button:focus-visible, .omp-app input:focus-visible, .omp-app a:focus-visible { outline:3px solid #b0a72a; outline-offset:3px; }
.omp-app .omp-tile-error { padding:10px; margin:10px 0; background:#fff6d8; color:#665400; }
.omp-app .omp-tile-error[hidden] { display:none !important; }
.omp-app .omp-dialog { width:min(850px,calc(100% - 28px)); max-height:85vh; padding:22px; background:#fff; color:#243333; border:0; border-radius:14px; font-family:inherit; box-shadow:0 12px 60px #0005; }
.omp-app .omp-dialog::backdrop { background:rgba(0,0,0,.5); }
.omp-app .omp-dialog-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:8px; }
.omp-app .omp-dialog-heading h3 { margin:0; color:var(--omp-green); font-size:1.3rem; }
.omp-app .omp-close { background:#edf4f4; color:#243333; border:1px solid #c2d7d7; border-radius:6px; font-size:26px; line-height:1; padding:4px 9px; cursor:pointer; }
.omp-app .omp-dialog-priests { font-size:.95em; line-height:1.5; }
.omp-app .omp-table { width:100%; table-layout:fixed; border-collapse:collapse; margin-top:12px; font-size:.9rem; line-height:1.4; }
.omp-app .omp-table th, .omp-app .omp-table td { text-align:left; vertical-align:top; border:0; border-bottom:1px solid #dce6e6; padding:7px; overflow-wrap:anywhere; }
.omp-app .omp-table thead th { background:#edf5f5; color:#245f5f; }
.omp-app .omp-table tbody th { font-weight:600; }
.omp-app .omp-table th:first-child { width:45%; }
@media(max-width:600px) { .omp-app .omp-map { height:min(var(--omp-height,650px),70vh); } .omp-app .omp-controls button { flex:1; } .omp-app .omp-dialog { padding:15px; } .omp-app .omp-popup { max-width:245px; } .omp-app .omp-table { font-size:.8rem; } .omp-app .omp-table th, .omp-app .omp-table td { padding:6px 4px; } }

.omp-app .omp-boundary-key { display:inline-block; width:22px; height:0; border-top:3px solid #b34335; flex:none; }
.omp-app .omp-summary label[hidden] { display:none !important; }

.omp-app .leaflet-control-layers { font-family:inherit; font-size:13px; border-radius:8px; }
.omp-app .leaflet-control-layers label { margin:3px 0; font-weight:500; }
.omp-app .leaflet-control-layers-selector { margin-right:5px; }
.omp-app .omp-position-icon { display:grid; place-items:center; background:rgba(52,122,209,.2); border-radius:50%; }
.omp-app .omp-position-icon span { display:block; width:15px; height:15px; background:#347ad1; border:3px solid white; border-radius:50%; box-shadow:0 1px 5px #0005; }
.omp-app .omp-nearby[hidden], .omp-app .omp-base-note[hidden] { display:none !important; }
.omp-app .omp-nearby { margin-top:24px; }
.omp-app .omp-nearby > h3 { margin:0 0 8px; color:var(--omp-green); font-size:1.2em; }
.omp-app .omp-nearby-status { font-size:.95em; margin:0 0 12px; }
.omp-app .omp-nearby-list { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.omp-app .omp-nearby-card { padding:15px; margin:0; min-width:0; overflow-wrap:anywhere; background:#f7fbfb; border:1px solid #d6e4e4; border-radius:10px; }
.omp-app .omp-nearby-card h4 { margin:0 0 8px; font-size:1em; }
.omp-app .omp-nearby-distance { display:inline-block; padding:4px 8px; margin:0 0 4px; background:#eef2ce; border-radius:12px; color:#5b590e; font-size:.85em; }
.omp-app .omp-nearby-card .omp-meta { font-size:.9em; }
.omp-app .omp-nearby-times-title { margin:14px 0 6px; font-size:1em; font-weight:600; }
.omp-app .omp-base-note { margin:8px 0; font-size:.85em; color:#536565; }
.omp-app .omp-fullscreen-button { display:block; border:0; border-radius:2px; padding:8px 10px; background:#fff; color:#243333; font:600 13px/1.4 system-ui,sans-serif; cursor:pointer; }
.omp-app .omp-fullscreen-button:hover { background:#edf5f5; }
.omp-app .omp-fullscreen-button:focus-visible { outline:3px solid #347ad1; outline-offset:2px; }
.omp-app.omp-fullscreen { width:100% !important; height:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; background:#eef4f3; overflow:hidden; }
.omp-app.omp-fullscreen-fallback { position:fixed !important; inset:0 !important; z-index:2147483647 !important; }
.omp-app.omp-fullscreen > :not(.omp-map):not(.omp-dialog) { display:none !important; }
.omp-app.omp-fullscreen .omp-map { width:100% !important; height:100% !important; min-height:0; border:0; border-radius:0; }

.omp-app .omp-status:empty { display:none; }
.omp-app .omp-pin-bg { transition:fill .15s; }
.omp-app .omp-church-icon:hover .omp-pin-bg, .omp-app .omp-church-icon:focus-visible .omp-pin-bg { fill:#b16c27; }
.omp-app .omp-label-button { display:block; width:100%; background:none; border:0; border-radius:0; margin:0; padding:0; color:inherit; font:inherit; text-align:inherit; cursor:pointer; }
.omp-app .omp-label-button:focus-visible { outline:2px solid #347ad1; outline-offset:3px; }
.omp-app .omp-popup-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.omp-app .omp-popup-actions .omp-map-link { margin:0; border:0; font:inherit; cursor:pointer; }
.omp-app .omp-share-status { margin:8px 0 0; font-size:.9em; }
.omp-app .omp-share-status:empty { display:none; }
.omp-app .omp-share-url { box-sizing:border-box; width:100%; padding:8px; margin-top:8px; font:inherit; }

.omp-app .omp-contacts { margin:12px 0 0; }
.omp-app .omp-contact-row { display:flex; align-items:flex-start; gap:8px; margin-top:7px; line-height:1.45; }
.omp-app .omp-contact-icon { display:block; flex:0 0 18px; width:18px; height:18px; margin-top:2px; color:#2d7a7a; }
.omp-app .omp-contact-row a { color:#245f5f; text-decoration:none !important; overflow-wrap:anywhere; min-width:0; }
.omp-app .omp-contact-row span { overflow-wrap:anywhere; min-width:0; }
.omp-app .omp-contact-row a:focus-visible { outline:2px solid #2d7a7a; outline-offset:3px; }

.omp-app .omp-show-priest { margin:0 0 14px; border:0; font:inherit; cursor:pointer; }
.omp-app .omp-show-priest:hover { background:#245f5f; }
.omp-app .omp-show-priest:focus-visible { outline:3px solid #347ad1; outline-offset:3px; }
.omp-app .omp-show-priest:disabled { opacity:.6; cursor:default; }

.omp-app .omp-parish-label { max-width:none; }
.omp-app .omp-label-place,.omp-app .omp-label-patron { display:block; text-align:center; white-space:nowrap; }
.omp-app .omp-label-patron { font-weight:400; }
.omp-app .omp-label-button { transition:color .15s; }
.omp-app .omp-church-icon.omp-is-active .omp-pin-bg { fill:#b16c27; }
.omp-app .omp-label-button.omp-is-active { color:#b16c27; }
.omp-app .omp-cluster.omp-cluster-selected { background:#b16c27; }

.omp-app .omp-web-link { margin:0 0 12px; }
.omp-app .omp-photo-frame { margin:0; }
.omp-app .omp-photo-frame[hidden] { display:none !important; }
.omp-app .omp-photo-frame a { display:block; }
.omp-app .omp-popup-photo { margin:0 0 14px; }
.omp-app .omp-popup-photo img { display:block; width:100%; height:auto; max-height:260px; object-fit:contain; border-radius:8px; }
.omp-app .omp-detail-sheet { margin:0 0 32px; color:#243333; }
.omp-app .omp-detail-title { margin:16px 0 24px; color:var(--omp-green); font-size:clamp(1.6rem,3vw,2.3rem); line-height:1.25; }
.omp-app .omp-detail-back { color:var(--omp-green); }
.omp-app .omp-detail-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; align-items:start; }
.omp-app .omp-detail-layout.omp-with-photo { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); }
.omp-app .omp-detail-photo { background:#f4f8f7; padding:12px; border-radius:12px; border:1px solid #d6e4e4; }
.omp-app .omp-detail-photo img { display:block; width:100%; height:auto; max-height:720px; object-fit:contain; border-radius:6px; }
.omp-app .omp-detail-info { min-width:0; padding:22px; border:1px solid #d6e4e4; border-radius:12px; background:#f8fbfb; }
.omp-app .omp-detail-info h3 { margin:0 0 12px; font-size:1.2rem; color:var(--omp-green); }
.omp-app .omp-detail-meta { margin:0; }
.omp-app .omp-detail-row { margin:0 0 12px; }
.omp-app .omp-detail-row dt { font-weight:600; }
.omp-app .omp-detail-row dd { margin:3px 0 0; overflow-wrap:anywhere; }
.omp-app .omp-detail-schedule { margin-top:22px; }
.omp-app .omp-detail-map-heading { margin:0 0 16px; color:var(--omp-green); }
@media(max-width:720px) { .omp-app .omp-detail-layout.omp-with-photo { grid-template-columns:minmax(0,1fr); } .omp-app .omp-detail-info { padding:16px; } .omp-app .omp-detail-photo img { max-height:70vh; } }
