/* Britain is the canonical presentation for every country. Reuse this frame,
   shared styles, clocks and components; vary country content and practices.
   Legacy selectors stay available to each map engine. */
body.planner-shell{--planner-paper:#fbf8ef;--planner-ink:#24364a;--planner-line:#d5c6a2;color:var(--planner-ink);background-color:#102e47;background-image:url("navy-wallpaper.svg?v=2");background-size:150px 170px;background-attachment:scroll}
body.planner-shell>header,body.planner-shell>main{max-width:1640px;margin-inline:auto}
body.planner-shell>header.planner-header{position:relative;isolation:isolate;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px;min-height:0;text-align:left}
.planner-header .planner-title,.planner-header #edition-title{position:static!important;inset:auto!important;margin:0;padding:0;background:none!important;max-width:310px;font:27px/1.15 Georgia,serif;color:#f1eddb;text-align:left}
.planner-header .eyebrow,.planner-header>p{display:none}
.planner-header .planner-title{order:-1}
.planner-header .planner-dials{position:relative;display:flex;align-items:start;justify-content:flex-end;padding:0;margin:0;gap:12px}
.planner-header :is(.planner-title,#edition-title){position:relative!important}
.planner-header :is(.planner-title,#edition-title,.planner-dials,.indulgence-week-ribbon)::before{content:'';position:absolute;inset:-18px -20px;z-index:-1;pointer-events:none;border-radius:50%;background:radial-gradient(ellipse at center,#102e47d9 0%,#102e47b3 44%,#102e4700 76%);filter:blur(5px)}
.planner-header :is(.dial,.prayer-dial,.year-dial-captioned) :is(strong,small){background:none}
.planner-header-support{display:flex;flex-direction:column;align-items:flex-end;align-self:flex-end;gap:4px;max-width:540px;min-width:44px;margin-left:auto}
.planner-header-support>.indulgence-week-ribbon{position:relative;margin:0;max-width:100%}
.planner-header .indulgence-ribbon-label{font-size:14px;color:#f1db9b;text-shadow:0 1px 3px #071c30}
.planner-header .planner-donation-control{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;border:0;border-radius:50%;padding:0;background:transparent;cursor:pointer;touch-action:manipulation}
.planner-donation-face{display:grid;place-items:center;width:34px;height:34px;box-sizing:border-box;border:1px solid #8c3c45;border-radius:50%;background:#fffdf7;color:#8c3c45;font:500 11px/1 Georgia,serif;letter-spacing:.02em;text-shadow:none;box-shadow:none;pointer-events:none}
.planner-header .planner-donation-control:hover{background:transparent}
.planner-donation-control:hover .planner-donation-face{border-color:#672b33;color:#672b33}
.planner-header .planner-donation-control:focus-visible{outline:2px solid #8c3c45;outline-offset:2px}
.planner-support-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(360px,calc(100vw - 32px));max-height:75vh;padding:20px;border:1px solid #c6ae73;border-radius:14px;background:#faf7ee;color:#243551;box-shadow:0 8px 30px #10253d33;overflow:auto}
.planner-support-dialog::backdrop{background:#10274180}
.planner-support-dialog h2{font:23px/1.25 Georgia,serif;margin:0 0 12px;clear:both}
.planner-support-dialog p{font:14px/1.5 system-ui,sans-serif;margin:0}
.planner-support-dialog .planner-support-close{display:block;margin:0 0 12px auto;padding:6px 10px;min-height:36px;border:1px solid #c4ae78;border-radius:6px;background:#fffdf6;color:#243551;font:13px system-ui,sans-serif}
@media(min-width:851px){.planner-header .header-tools{margin-right:auto}}
.planner-header .prayer-dials{display:contents}
.planner-header :is(.year-dial-captioned,.prayer-dial,.dial){width:122px;min-width:0;text-align:center;display:grid;justify-items:center;gap:3px}
.planner-header .dial button{display:grid;justify-items:center;gap:3px}
.planner-header :is(.calendar-medallion,.prayer-dial svg,.dial svg){width:110px;height:110px}
.planner-header #edition-year-medallion{display:block;width:110px;height:110px;border:3px solid #d5b45b;border-radius:50%;background:#fffdf7;overflow:hidden}
.planner-header #edition-year-medallion svg{width:100%;height:100%}
.planner-header :is(.dial,.prayer-dial,.year-dial-captioned) strong{display:block;min-height:32px;margin:3px 0 0;padding:0 2px;font:14px/1.2 Georgia,serif;color:#f1eddb}
.planner-header :is(.dial,.prayer-dial,.year-dial-captioned) small{display:block;min-height:18px;padding:0 2px;font:12px/1.25 system-ui,sans-serif;color:#d8c79a}
body.planner-shell>main{width:calc(100% - 40px);padding:18px 24px 24px;background:#f7f5ef;border:1px solid #d0b26866;border-radius:18px;margin:0 auto 28px;box-shadow:0 12px 38px #091c3533}
.planner-workspace{min-width:0}
.planner-workspace .planner-toolbar{background:var(--planner-paper);border:1px solid #c4ae78;border-radius:10px;padding:12px 14px;margin:0 0 12px}
.planner-toolbar .area-main{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(230px,1fr) minmax(210px,1.2fr);gap:10px 14px;align-items:end}
.planner-toolbar .area-actions{grid-column:1/-1;gap:12px}
.planner-toolbar label,.planner-toolbar label.field{font-size:12px;font-weight:500;margin:0}
.planner-toolbar :is(select,input){font-size:14px;padding:7px 9px;border:1px solid #bdb49e;border-radius:6px;background:#fffdf6;color:var(--planner-ink)}
.planner-toolbar :is(button,a){font-size:13px}
.planner-toolbar .area-meta{margin-top:8px}
.planner-toolbar .kingdom-hint{font-size:11px}
.planner-workspace>.planner-grid{display:grid;grid-template-columns:246px minmax(0,1fr);gap:12px;align-items:start}
.planner-grid>.planner-layers{grid-column:1;grid-row:1;background:var(--planner-paper);border:1px solid #c4ae78;border-radius:10px;padding:12px;max-height:none;overflow:visible;align-self:stretch;position:static}
.planner-layer-drawer{margin:0}
.planner-layer-drawer>summary{font:18px/1.25 Georgia,serif;cursor:pointer;padding:0 0 10px;border:0;list-style:none;display:flex;justify-content:space-between;align-items:center}
.planner-layer-drawer>summary::after{content:'+';font:18px Georgia,serif;color:#7b704d}
.planner-layer-drawer[open]>summary::after{content:'−'}
.planner-layer-drawer>summary::-webkit-details-marker{display:none}
.planner-layer-drawer>summary #active-layers-summary{display:none}
.planner-layers .controls-body{padding:0}
.planner-layers .planner-group{margin:0;padding:0 0 6px;border:0;border-top:1px solid var(--planner-line);border-radius:0;background:none}
.planner-layers .planner-group>summary{display:flex;align-items:center;gap:8px;padding:11px 0;font:600 14px/1.35 system-ui,sans-serif;color:#344657;list-style:none;cursor:pointer}
.planner-layers .planner-group>summary::before{content:'+';width:11px;flex:none;font:16px Georgia,serif;color:#8c794d}
.planner-layers .planner-group[open]>summary::before{content:'−'}
.planner-layers .planner-group>summary::-webkit-details-marker{display:none}
.planner-group-title{flex:1;min-width:0}
.planner-group-count{font:12px/1 system-ui,sans-serif;color:#88764c;min-width:10px;text-align:right}
.planner-layers .group-status{display:none}
.planner-layers .planner-subgroup{background:none;border:0;border-top:1px solid #e7dfcc;padding:3px 0 0;margin:6px 0}
.planner-layers .planner-subgroup>summary{font:13px/1.35 system-ui,sans-serif;padding:8px 0}
.planner-layers :is(.layer,.layerbox>.check,.layerbox>.layername){display:flex;align-items:start;gap:8px;font-size:14px!important;line-height:1.4;padding:6px 0;margin:0;cursor:pointer}
.planner-layers .layer small{font-size:11px;margin-left:auto;padding-top:3px;white-space:nowrap}
.planner-layers :is(.layer input,.layerbox>.check input){width:16px;height:16px;flex:none;margin:3px 0 0;accent-color:#1c4164}
.planner-layers .swatch{width:8px;height:8px;margin-top:6px;border-radius:50%;flex:none}
.planner-layers .planner-layer-dot{width:8px;height:8px;margin-top:6px;border-radius:50%;flex:none;display:inline-block;pointer-events:none}
.planner-layers .layerbox{padding:3px 0!important;background:none!important;border:0!important;border-radius:0;border-bottom:1px solid #e7dfcc!important;margin:0}
.planner-layers .layerbox>.check strong{font-weight:400}
.planner-layers :is(.layer-settings,.planner-row-options){margin:0 0 4px 24px;font-size:13px}
.planner-layers :is(.layer-settings,.planner-row-options)>summary{padding:2px 0;color:#7b7057;font:12px/1.4 system-ui,sans-serif;cursor:pointer}
.planner-layers select{font-size:13px;width:100%;max-width:100%;padding:6px;margin:5px 0}
.planner-layers .layer-section-title{font:14px Georgia,serif;margin:12px 0 6px}
.planner-layers .combined-layer-state{font-size:11px;margin-left:24px;color:#81755c}
.planner-grid>.planner-map-column{grid-column:2;grid-row:1;min-width:0;width:auto;position:static;top:auto}
.planner-map-stage{position:relative;isolation:isolate;min-width:0}
.planner-map-column :is(#map,#edition-map){height:calc(100vh - 280px);min-height:480px;max-height:850px;border:1px solid #c4ae78;border-radius:9px;z-index:0}
.planner-map-column .calendar-ribbon{min-height:48px;margin:0 0 9px;padding:8px 11px;border:1px solid #c4ae78;border-radius:9px;background:var(--planner-paper);gap:9px;color:#24364a}
.planner-map-column .calendar-ribbon :is(strong,.calendar-ribbon-body>strong){font:15px/1.3 Georgia,serif;color:#173c6c}
.planner-map-column .calendar-ribbon :is(small,.calendar-ribbon-body>span){font:12px/1.35 system-ui,sans-serif;color:#886a30}
.planner-map-column .calendar-ribbon button{font-size:12px;min-height:36px;padding:5px 8px;white-space:nowrap;background:#e9e2cf;color:#173c6c;border:1px solid #c4ae78;border-radius:6px}
.planner-map-stage>.planner-local-year{position:absolute;top:8px;right:8px;bottom:8px;z-index:2;width:clamp(280px,34%,360px);max-width:calc(100% - 20px);margin:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;background:var(--planner-paper);border:1px solid #c6ae73;border-radius:9px;box-shadow:0 3px 16px #14244040;scrollbar-width:thin;color:var(--planner-ink)}
.planner-map-stage>.planner-local-year:not(.is-open):not(#edition-calendar){bottom:auto;height:0;overflow:visible;border:0;background:transparent;box-shadow:none;pointer-events:none}
.planner-local-year-head{display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;top:-12px;background:var(--planner-paper);padding:5px 0 10px;z-index:2;border-bottom:1px solid var(--planner-line)}
.planner-local-year-head h2{font:22px Georgia,serif;margin:0}
.planner-local-year-head button{font-size:12px;min-height:34px}
.planner-local-agenda{border-top:1px solid var(--planner-line);margin-top:12px;padding-top:11px}
.planner-local-agenda .calendar-agenda-day{padding:9px 0;border-bottom:1px solid #ddd4bf}
.planner-local-agenda .calendar-agenda-day>button{display:block;background:transparent;border:0;padding:2px 0;text-align:left;min-height:32px;font:13px/1.3 system-ui,sans-serif;color:#173c6c}
.planner-local-agenda .calendar-agenda-item{margin:6px 0;font:13px/1.45 system-ui,sans-serif;border-left:3px solid var(--event-colour,#173c6c);padding-left:8px;overflow-wrap:anywhere}
.planner-local-agenda .calendar-agenda-item strong{font-weight:600}
.planner-local-agenda .calendar-agenda-item small{display:block;color:#72654b;font-size:12px;margin:3px 0}
.planner-local-agenda .calendar-agenda-item button{font-size:12px;padding:5px 7px;min-height:34px;margin:3px 0}
.planner-event-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:5px}
.planner-event-actions a{font-size:12px;line-height:1.4;padding:6px 0;min-height:30px}
.planner-local-agenda .planner-event-time{font-weight:600;color:#24364a}
.planner-programme details{margin-top:4px;font-size:12px}
.planner-programme details summary{cursor:pointer;min-height:30px;line-height:1.7}
.planner-programme details p,.planner-agenda-empty{font:12px/1.5 system-ui,sans-serif;color:#657067}
.planner-local-agenda button:focus-visible,.planner-event-actions a:focus-visible{outline:3px solid #4279ab;outline-offset:2px}
.planner-map-column>#edition-status{font-size:11px;color:#65756c}
/* Britain is the common source of map badge presentation in every edition. */
.planner-shell .cathedral-marker,.planner-shell .calendar-place-icon{background:transparent;border:0}
.planner-shell .cathedral-marker span{display:flex;align-items:center;justify-content:center;margin:11px 12px;width:20px;height:22px;box-sizing:border-box;border:2px solid #d8b85a;border-radius:50% 50% 45% 45%;background:var(--cathedral-fill,#7e3249);color:#fff4c1;font-size:16px;box-shadow:0 0 0 2px #fffdf7e6,0 2px 5px #0d183955}
.planner-shell .cathedral-marker.is-upcoming span{animation:planned-event-breathe 3.6s ease-in-out infinite}
@keyframes planned-event-breathe{0%,100%{box-shadow:0 0 0 1px var(--planned-colour),0 0 0 3px color-mix(in srgb,var(--planned-colour) 10%,transparent)}50%{box-shadow:0 0 0 1px var(--planned-colour),0 0 0 8px color-mix(in srgb,var(--planned-colour) 28%,transparent)}}
@media(prefers-reduced-motion:reduce){.planner-shell .cathedral-marker.is-upcoming span{animation:none}}
.planner-shell .martyrdom-marker{background:transparent;border:0;display:grid!important;place-items:center}
.planner-shell .martyrdom-marker>svg{display:block;pointer-events:none;filter:drop-shadow(0 1px 1px #0003)}
.planner-shell .calendar-place-icon .calendar-place-dot{display:block;width:9px;height:9px;margin:17.5px;box-sizing:border-box;border:1px solid #7d5e24;background:#e2c56c;border-radius:50%;box-shadow:0 0 0 2px #fffdf7b3}
.planner-shell .indulgence-marker{border:0;background:none}
.planner-shell .indulgence-marker span{display:block;width:11px;height:11px;margin:16px;border:2px solid #fffdf7;box-sizing:border-box;transform:rotate(45deg);border-radius:3px;background:#267b78;box-shadow:0 0 0 1px #155b58}
.planner-shell .indulgence-marker.historical span,.planner-shell .indulgence-marker.expired span{background:#b9ae94;border-color:#fff;box-shadow:0 0 0 1px #766950}
.planner-shell .indulgence-marker.is-upcoming span{animation:indulgence-pulse 3.6s ease-in-out infinite}
.planner-shell .indulgence-marker:focus-visible{outline:2px solid #267b78;border-radius:50%}
@keyframes indulgence-pulse{50%{box-shadow:0 0 11px 8px #267b7859}}
@media(prefers-reduced-motion:reduce){.planner-shell .indulgence-marker.is-upcoming span{animation:none}}
@media(max-width:850px){
 body.planner-shell>header.planner-header{flex-wrap:wrap;padding:14px 16px;gap:13px}
 .planner-header .planner-title,.planner-header #edition-title{font-size:24px;max-width:100%;width:100%;padding-right:50px}
 body[data-planner-edition="country"] .planner-header>div:first-child{width:100%;min-width:0;max-width:100%}
 .planner-header .header-tools{width:100%;justify-content:center}
 .planner-header .planner-dials{width:100%;justify-content:center;gap:8px}
 .planner-header :is(.planner-title,#edition-title,.planner-dials,.indulgence-week-ribbon)::before{inset:-14px -8px}
 .planner-header-support{display:contents;position:static}
 .planner-header-support>.indulgence-week-ribbon{width:100%;max-width:none;justify-content:center;margin:0}
 .planner-header .planner-donation-control{position:absolute;top:8px;right:10px}
 .planner-donation-face{width:30px;height:30px;font-size:10px}
 .planner-header :is(.year-dial-captioned,.prayer-dial,.dial){width:98px}
 .planner-header :is(.calendar-medallion,.prayer-dial svg,.dial svg){width:80px;height:80px}
 .planner-header #edition-year-medallion{width:80px;height:80px}
 .planner-header :is(.dial,.prayer-dial,.year-dial-captioned) strong{font-size:13px;min-height:30px}
 .planner-header :is(.dial,.prayer-dial,.year-dial-captioned) small{font-size:11px;min-height:27px}
 body.planner-shell>main{width:calc(100% - 24px);padding:12px 10px 18px;border-radius:14px}
 .planner-workspace .planner-toolbar{padding:9px 10px;margin-bottom:10px}
 .planner-toolbar .area-main{grid-template-columns:1fr 1fr;gap:9px}
 .planner-toolbar .area-search{grid-column:1/-1}
 .planner-toolbar .area-actions{justify-content:start;gap:8px 12px}
 .planner-workspace>.planner-grid{display:flex;flex-direction:column;gap:10px}
 .planner-grid>.planner-layers{width:100%;max-height:none;padding:10px 12px;overflow:visible;order:0}
 .planner-grid>.planner-map-column{width:100%;order:1}
 .planner-layer-drawer>summary{padding:0;font-size:16px}
 .planner-layer-drawer[open]>summary{padding-bottom:9px}
 .planner-map-column :is(#map,#edition-map){height:60vh;min-height:350px;max-height:600px}
 .planner-map-column .calendar-ribbon{min-height:44px;flex-wrap:nowrap;padding:6px 8px}
 .planner-map-column .calendar-ribbon :is(strong,.calendar-ribbon-body>strong){font-size:12.5px;line-height:1.25;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:clip}
 .planner-map-column .calendar-ribbon :is(small,.calendar-ribbon-body>span){font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .planner-map-column .calendar-ribbon .ribbon-folk:not([hidden]){white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.25;text-overflow:clip}
 .planner-map-stage>.planner-local-year{top:6px;right:6px;bottom:auto;width:min(250px,72%);height:auto;max-height:min(300px,72%);padding:10px}
 .planner-map-stage>.planner-local-year:not(.is-open):not(#edition-calendar){height:0;max-height:0;padding:0}
 .planner-local-year-head h2{font-size:18px}
}

/* The daily prayer panels use the same paper, frame and dimmed background. */
/* Keep a direct return to the live date beside each liturgical date picker. */
.calendar-date-reset{display:flex;align-items:flex-end;gap:7px;margin:10px 0;max-width:310px}
.calendar-date-reset .calendar-date-label{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;font:14px system-ui,sans-serif}
.calendar-date-reset input[type=date]{width:100%;min-width:0;box-sizing:border-box;border:1px solid #c4ae78;border-radius:6px;padding:7px;background:#fffdf6;color:#243551;font:14px system-ui,sans-serif;min-height:36px}
body.planner-shell .calendar-today-button{flex:none;min-height:36px;max-width:100%;padding:7px 9px;border:1px solid #b9a16f;border-radius:6px;background:#eee6d3;color:#173c6c;font:14px system-ui,sans-serif;cursor:pointer;white-space:nowrap}
body.planner-shell .calendar-today-button:hover{background:#e5d8b9}
.calendar-date-reset :is(button,input):focus-visible{outline:3px solid #4279ab;outline-offset:2px}
#year-dialog:has(#calendar-year-wheel[hidden]) #edition-clock-date-controls{display:none}
body.planner-shell dialog:is(#prayer-hours-dialog,#daily-prayer-menu){position:fixed;inset:0;margin:auto;padding:20px;width:min(430px,calc(100vw - 28px));max-width:none;max-height:85vh;border:1px solid #c6ae73;border-radius:14px;background:#faf7ee;color:#243551;box-shadow:0 8px 30px #10253d33;box-sizing:border-box;overflow:auto}
body.planner-shell dialog:is(#prayer-hours-dialog,#daily-prayer-menu,#calendar-expanded,#year-dialog)::backdrop{background:#10274180}
body.planner-shell dialog:is(#prayer-hours-dialog,#daily-prayer-menu) h2{margin:0 60px 15px 0;font:24px/1.2 Georgia,serif;color:#243551}
body.planner-shell dialog:is(#prayer-hours-dialog,#daily-prayer-menu) :is(p,table){font-size:14px;line-height:1.5}
body.planner-shell dialog:is(#prayer-hours-dialog,#daily-prayer-menu) :is(.menu-close,button[aria-label^="Close"]){float:right;position:static;min-height:36px;padding:6px 10px;border:1px solid #c4ae78;border-radius:6px;background:#fffdf6;color:#243551;font:13px system-ui,sans-serif}
.planner-header #calendar-medallion-wheel{display:block;width:100%;height:100%}

body.planner-shell #place-evidence-dialog{width:min(880px,94vw);max-height:88vh;overflow:auto;padding:18px 22px;border:1px solid #c6ae73;border-radius:14px;background:#faf7ee;color:#243551;box-sizing:border-box}
body.planner-shell #place-evidence-dialog::backdrop{background:#10274180}
#place-evidence-dialog .evidence-close{position:sticky;top:0;float:right;z-index:2;padding:6px 12px;min-height:36px;background:#fffdf6;border:1px solid #c4ae78;border-radius:6px;color:#243551}
#place-evidence-dialog .directory-panel{margin:0;padding:0;background:none;border:0}
body.planner-shell>footer.planner-citations-footer{padding:14px 24px;margin:0;background:none;border:0;text-align:center;color:#e5d7b5;font-size:12px}
.planner-citations-footer>.planner-citations-link{color:#e5d7b5;text-underline-offset:3px}

.planner-shell .medallion-day{font:76px Georgia,serif;fill:#173c6c}.planner-shell .medallion-month{font:38px system-ui,sans-serif;letter-spacing:3px;fill:#806329}
.modern-calendar-entry{padding:8px 0;color:#4a5059;font-size:.9em;line-height:1.45}
.modern-calendar-entry strong,.modern-calendar-entry small{display:block}
.modern-calendar-entry small{color:#767064;font-size:.82em;margin-top:3px}
.modern-calendar-entry p{margin:.4em 0;font-size:.9em}
.modern-calendar-entry a{font-size:.82em}
.calendar-modern-agenda{border-color:#c7baa1!important;background:#faf8f2!important}
.calendar-modern-details,.year-modern{margin-top:12px}

/* Shared indulgence ribbon, including editions without the British place stylesheet. */
.indulgence-week-ribbon{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;max-width:540px;margin:8px 0 0 auto}.indulgence-week-ribbon[hidden]{display:none}.indulgence-week-ribbon button{display:grid;gap:2px;text-align:left;background:#97403b;color:#fff1cc;border:1px solid #d7b66b;border-radius:5px;padding:7px 10px;font:12px/1.3 system-ui;max-width:270px}.indulgence-week-ribbon button.week{background:#b66a26}.indulgence-week-ribbon button>span{font:10px/1.3 system-ui;text-transform:uppercase;letter-spacing:.045em}.indulgence-week-ribbon button strong{font-weight:500}.indulgence-week-ribbon button:focus-visible{outline:2px solid #e2bd66;outline-offset:3px}.indulgence-week-ribbon button.ongoing{background:#263b50;color:#d4c6a0;border-color:#8e805966}.indulgence-week-ribbon button.ongoing small{font-size:10px;line-height:1.35;color:#c4b791}.indulgence-ribbon-label{align-self:center;color:#f1dc9c;font:14px Georgia,serif;letter-spacing:.035em;padding:0 4px}
@media(max-width:850px){.indulgence-week-ribbon{justify-content:center;margin:9px auto 0;max-width:100%}.indulgence-week-ribbon button{font-size:11px;max-width:44vw;padding:6px 8px}}

.historic-cathedral-services{font-size:13px;line-height:1.5;margin:10px 0}.historic-cathedral-services h4{font:17px Georgia,serif;margin:8px 0}.historic-cathedral-services p{margin:7px 0}.historic-cathedral-services details{margin-top:8px;border-top:1px solid #ddd0b6;padding-top:7px}.historic-cathedral-services summary{cursor:pointer;color:#234e7c}.historic-service-highlight{border-left:3px solid #b9944b;background:#f3ead7;padding:9px 11px;border-radius:5px;color:#203a57}.historic-service-source{font-size:11px;line-height:1.4}.historic-cathedral-services article{border-top:1px solid #ddd0b6;padding-top:6px}

.shared-tradition-guides{grid-column:1/-1;margin:.7rem 0;padding:.7rem;background:var(--paper,#f7f1e5);border:1px solid #cdbb94;border-radius:9px}.shared-tradition-guides>details{margin:.65rem 0;padding:.55rem;border-top:1px solid #d4c6ad}.local-tradition-guide li{margin:.3rem 0}

.planner-search-wrap{position:relative;min-width:0;width:100%}
.planner-search-suggestions{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:1100;max-height:320px;overflow:auto;background:#fffdf7;border:1px solid #baa477;border-radius:7px;box-shadow:0 4px 12px #10244322}
.planner-search-suggestions[hidden]{display:none}
.planner-search-suggestions>button{display:block;width:100%;min-height:44px;text-align:left;padding:9px 12px;border:0;border-bottom:1px solid #e7dfcf;border-radius:0;background:#fffdf7;color:#243551;font:14px/1.3 system-ui,sans-serif}
.planner-search-suggestions>button small{display:block;margin-top:3px;color:#665c49;font-size:11px}
.planner-search-suggestions>button:hover,.planner-search-suggestions>button[aria-selected=true]{background:#eee8da}

.indulgence-featured{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0}.indulgence-featured[hidden]{display:none}.indulgence-featured>small{flex-basis:100%;color:#6d624c}.indulgence-featured>button{background:#fffdf7;border:1px solid #baa477;border-radius:20px;padding:8px 12px;min-height:40px;color:#243551;font:13px/1.3 system-ui,sans-serif}

.cathedral-cross{display:block;flex:none;overflow:visible}.current-cathedral-key .cathedral-cross{display:inline-block;vertical-align:middle;width:10px;height:14px}

.planner-shell .cathedral-marker.is-historic span{border:0;background:transparent;box-shadow:none;width:22px;height:24px;margin:10px 11px}.former-cathedral-key{display:inline-flex;vertical-align:middle;margin-left:12px}.former-cathedral-key svg{width:17px;height:19px}

.planner-shell .cathedral-marker.is-ancient span{border:0;background:transparent;box-shadow:none;width:22px;height:24px;margin:10px 11px}.ancient-bishoprics-controls .layername::before{background:#b7bac0}

.monastery-marker{display:flex;align-items:center;justify-content:center;background:none;border:0}.monastery-marker svg{width:22px;height:25px;overflow:visible;pointer-events:none}.monastery-marker.is-ruined svg{width:20px;height:23px}

/* Approved white-and-vermilion mitre; shared by every edition. */
.planner-shell .cathedral-marker.is-current span{width:22px;height:24px;margin:10px 11px;border:0;background:none;box-shadow:none}
.cathedral-marker.is-current .cathedral-mitre{width:22px;height:24px;pointer-events:none}
.current-cathedral-key .cathedral-mitre{width:16px;height:18px}

/* Shared pilgrimage artwork; a quiet marker with keyboard and touch access. */
.pilgrimage-marker{background:none;border:0;display:flex;align-items:center;justify-content:center}
.pilgrimage-marker svg{width:19px;height:23px;pointer-events:none}
.pilgrimage-marker:focus-visible{outline:2px solid #b28b48;outline-offset:1px;border-radius:5px}

.pilgrimage-marker.is-upcoming::before{content:"";position:absolute;inset:5px;border-radius:50%;border:1px solid #a72f61;box-shadow:0 0 8px #a72f6155;animation:pilgrim-nearby 3s ease-in-out infinite;pointer-events:none}
@keyframes pilgrim-nearby{50%{opacity:.35;transform:scale(1.18)}}
@media(prefers-reduced-motion:reduce){.pilgrimage-marker.is-upcoming::before{animation:none}}

/* Long place profiles remain inside the map, with a discreet scrolling cue. */
.planner-shell .leaflet-popup-content{max-height:min(430px,55vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-bottom:16px;box-sizing:border-box}
.planner-shell .leaflet-popup-content-wrapper{position:relative}
.planner-shell .leaflet-container:has(.leaflet-popup) .leaflet-control-zoom{visibility:hidden}
.planner-shell .popup-scroll-hint{position:absolute;bottom:3px;left:50%;transform:translateX(-50%);font-size:10px;line-height:16px;white-space:nowrap;color:#713e3e;background:#fff9ed;border-radius:8px;padding:0 8px;pointer-events:none}
.planner-shell .popup-scroll-hint[hidden]{display:none}
@media(max-width:600px){.planner-shell .leaflet-popup-content{max-height:min(350px,48vh);max-width:calc(100vw - 90px);overflow-wrap:anywhere}}

/* Fine gold radiance marks selected ancient centres; the monk stays still. */
.monastery-marker.is-ancient-monastic{position:absolute}
.ancient-monastic-radiance{position:absolute;left:0;top:0;width:44px;height:44px;pointer-events:none}
.monastery-marker .ancient-monastic-radiance svg{width:100%;height:100%;overflow:visible}
.monastery-marker.is-ancient-monastic>svg{position:relative;z-index:1}

.feast-calendar-label{color:#b7bdc5;font-weight:400;text-shadow:none}
#calendar-day .feast-calendar-label,#edition-day .feast-calendar-label{color:#727b86}

.map-symbol-key{display:grid;gap:5px;padding:8px 0;border-top:1px solid var(--ui-line,#d8d0bd);font-size:12px;line-height:1.35}.map-symbol-row{display:flex;align-items:center;gap:8px}.map-symbol-glyph{position:relative;display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px}.map-symbol-glyph>svg{position:relative;width:22px;height:25px;z-index:1}.map-symbol-glyph .ancient-monastic-radiance{position:absolute;inset:0;width:36px;height:36px;animation:none}.map-symbol-glyph .ancient-monastic-radiance svg{width:36px;height:36px}

.folk-leaf-marker{display:flex;align-items:center;justify-content:center;background:none;border:0}.folk-leaf-marker svg{width:21px;height:24px;pointer-events:none}.folk-leaf-marker:focus-visible{outline:2px solid #32804a;outline-offset:1px;border-radius:4px}

.chapel-marker{display:flex;align-items:center;justify-content:center;background:none;border:0}.chapel-marker svg{width:23px;height:25px;pointer-events:none}.chapel-marker:focus-visible{outline:2px solid #813d35;outline-offset:1px;border-radius:4px}

/* Layer choices stay compact from their first paint. */
.planner-layers .layerbox:not(.monastic-families) > :not(label.layername):not(label.layer){display:none!important}
.planner-layers .combined-layer-state,.planner-layers .planner-group-count,.planner-layers .group-status{display:none!important}
.planner-layers .controls-body > .display-options,.planner-layers .controls-body > .quickviews-options,.planner-layers .controls-body > label.field{display:none!important}

.planner-layers .event-date-choice{display:none!important}

.planner-layers .layer-settings{display:none!important}
.planner-layers .monastic-families > summary{display:list-item!important}

.planner-layers .monastic-families > select{display:block!important}

.planner-layers .monastic-families > :not(summary):not(select){display:none!important}

.planner-layers .planned-events-controls{display:none!important}
.planner-layers .monastic-families{border:0!important;margin:0!important}

.explore-places-title{margin:0;padding:12px 14px;font:20px/1.2 Georgia,serif;border-bottom:1px solid #d5cbb6;color:#263b40}

/* Equal padding above and below each label, allowing natural text height. */
.planner-layers .layerbox{padding:0!important}
.planner-layers .layerbox > label.layername,.planner-layers .layerbox > label.layer{box-sizing:border-box;min-height:0;padding:7px 0!important;align-items:center;line-height:1.35}
.planner-layers .layerbox > label.layername input,.planner-layers .layerbox > label.layer input,.planner-layers .layerbox > label .planner-layer-dot,.planner-layers .layerbox > label .development-dot{margin-top:0!important}

.planner-layers label:is(.layername,.layer) :is(.swatch,.planner-layer-dot,.development-dot,.calendar-key-dot,.pilgrim-route-swatch){box-sizing:border-box;width:8px!important;height:8px!important;min-width:8px!important;max-width:8px!important;flex:0 0 8px!important;border:0!important;border-radius:50%!important;margin:0!important;display:inline-block!important}

.planner-layers label.layer > small{display:none!important}

.planner-layers label:is(.layername,.layer) > strong,.planner-layers label.layer > span{order:1;flex:1;min-width:0}
.planner-layers label:is(.layername,.layer) :is(.swatch,.planner-layer-dot,.development-dot,.calendar-key-dot,.pilgrim-route-swatch){order:2;margin-left:auto!important;margin-right:3px!important}

/* One shared cross-shaped selected state, independent of platform checkbox glyphs. */
.planner-layers input[type="checkbox"]{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:16px;height:16px;border:1px solid #8b938f;border-radius:3px;background:#fffdf7;cursor:pointer}
.planner-layers input[type="checkbox"]:checked{border-color:#254763;background:#fffdf7 url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22%3E%3Cpath d=%22M8 2v12M4 6h8%22 fill=%22none%22 stroke=%22%23254763%22 stroke-width=%222%22 stroke-linecap=%22square%22/%3E%3C/svg%3E") center/14px 14px no-repeat}
.planner-layers input[type="checkbox"]:focus-visible{outline:2px solid #b89847;outline-offset:3px}
@media(forced-colors:active){.planner-layers input[type="checkbox"]{appearance:auto;-webkit-appearance:auto}}

/* Additional feasts are visible on desktop, with a compact disclosure on phones. */
#calendar-ribbon-liturgical .feast-calendar-label{color:#858e99}
.calendar-ribbon .ribbon-more-feasts{display:none}
@media(max-width:700px){
 .planner-map-column #calendar-ribbon-liturgical{display:block;overflow:visible;-webkit-line-clamp:unset}
 #calendar-ribbon-liturgical .ribbon-extra-feasts{display:none}
 #calendar-ribbon-liturgical.is-expanded .ribbon-extra-feasts{display:inline}
 .planner-map-column .calendar-ribbon .ribbon-more-feasts{display:inline;padding:2px 5px;margin-left:5px;min-height:28px;background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;color:#657282;font-size:11px}
}

/* The places menu folds away on phones and remains open beside desktop maps. */
.planner-layer-drawer>.explore-places-title{margin:0;padding:0 0 10px;font:20px/1.2 Georgia,serif;border:0}
@media(min-width:851px){
 .planner-layer-drawer>.explore-places-title{cursor:default}
 .planner-layer-drawer>.explore-places-title::after{display:none}
}
@media(max-width:850px){
 .planner-layer-drawer>.explore-places-title{padding:0;font-size:17px;min-height:28px}
 .planner-layer-drawer[open]>.explore-places-title{padding-bottom:10px}
}
.planner-journeys{padding:0;margin-bottom:10px}.planner-journey-choices{display:flex;gap:8px;flex-wrap:wrap}.planner-journey-choices button{flex:1;background:transparent;color:var(--planner-ink);border:1px solid #d5c6a2;font-size:13px;padding:9px 12px;min-height:42px}.planner-journey-choices button[aria-pressed=true]{background:#e8dfcc;border-color:#7e3249}.planner-journey-status{font-size:12px;margin:6px 0 0}@media(max-width:550px){.planner-journey-choices{display:grid;grid-template-columns:1fr}.planner-journey-choices button{text-align:left}}
.planner-shell #map-key{font-size:11px;line-height:1.35}.planner-shell #map-key :is(.legend,.map-symbol-row,.cathedral-reference-key,.calendar-gold-key,.indulgence-legend,p){font-size:11px;line-height:1.35}.planner-shell #map-key .map-symbol-glyph{transform:scale(.86);transform-origin:center}.planner-shell #map-key .map-symbol-row{gap:6px}
.planner-workspace>.planner-toolbar{margin-top:12px;margin-bottom:12px}
.planner-map-column .calendar-ribbon{background:#eadbb8;border-color:#b59a60}
.planner-layer-drawer>summary .planner-clear-layers{margin-left:auto;background:#d8ceb8;color:#24364a;border:1px solid #b9ab8e;font:11px/1.2 system-ui,sans-serif;min-height:30px;padding:5px 9px;border-radius:5px}.planner-layer-drawer>summary{display:flex;align-items:center;gap:8px}
.england-dowry-label{pointer-events:none!important;background:none;border:0}.england-dowry-label>span{display:block;text-align:center;font:italic 16px/1.1 Georgia,serif;color:#744237;background:#f4e7c7e8;border-block:1px solid #b7985d;padding:5px 12px;clip-path:polygon(0 0,100% 0,96% 50%,100% 100%,0 100%,4% 50%)}.england-dowry-label small{display:block;font:10px/1.25 Georgia,serif;letter-spacing:.12em;text-transform:uppercase;color:#74603c}@media(max-width:550px){.england-dowry-label>span{font-size:14px}}
.planner-map-column .calendar-ribbon{background:var(--ribbon-fill,#f4efdf);color:var(--ribbon-ink,#24364a);border-color:#b52c36}.planner-map-column .calendar-ribbon :is(strong,small,.calendar-ribbon-date,#calendar-ribbon-date,.calendar-ribbon-context,.calendar-ribbon-body>span,#calendar-ribbon-liturgical,.ribbon-label,.ribbon-folk){color:var(--ribbon-ink,#24364a)}.planner-map-column .calendar-ribbon #calendar-ribbon-date{font-weight:600;opacity:1}.planner-map-column .calendar-ribbon .calendar-ribbon-context{color:var(--ribbon-label-ink,#46505f);opacity:1}.planner-map-column .calendar-ribbon .feast-calendar-label{color:var(--ribbon-label-ink,#7c8590)}
.planner-header :is(.dial,.prayer-dial,.year-dial-captioned){row-gap:2px}.planner-header :is(.dial,.prayer-dial,.year-dial-captioned) strong{display:flex;align-items:center;justify-content:center;min-height:34px;margin:0;line-height:1.2}.planner-header :is(.dial,.prayer-dial,.year-dial-captioned) small{margin:0;min-height:30px;line-height:1.25}.england-dowry-label>span{font-size:13px;padding:6px 9px}@media(max-width:850px){.planner-header :is(.dial,.prayer-dial,.year-dial-captioned) strong{font-size:12.5px;min-height:30px}.planner-header :is(.dial,.prayer-dial,.year-dial-captioned) small{font-size:11px;min-height:28px}}

/* One quiet, aligned family of sacred-place symbols. */
.planner-shell #map-key :is(.cathedral-reference-key,.map-symbol-key){display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:4px 16px;padding:0;margin:0;border:0;color:inherit}.planner-shell #map-key .cathedral-reference-key{margin-bottom:4px}.planner-shell #map-key .map-symbol-row{min-height:26px;gap:6px}.planner-shell #map-key .map-symbol-glyph{width:26px;height:26px;flex:0 0 26px;border:0;border-radius:0;background:none;box-shadow:none}.planner-shell #map-key .map-symbol-glyph svg{width:18px;height:20px}

.planner-shell #map-key .map-symbol-glyph{margin:0;transform:none}.planner-shell #map-key .map-symbol-glyph .ancient-monastic-radiance{inset:0;width:26px;height:26px}.planner-shell #map-key .map-symbol-glyph .ancient-monastic-radiance svg{width:26px;height:26px}.planner-shell #map-key .map-symbol-key{gap:4px 16px}.planner-shell #map-key>div{margin-block:0}.planner-shell #map-key{display:grid;gap:6px;padding:8px 10px}.planner-shell #map-key .cathedral-reference-key{margin:0}

.planner-shell #map-key .map-legend-section{border:0;border-radius:0;padding:0;display:grid;gap:4px;background:none}.planner-shell #map-key .map-legend-section:not(:has(> :not([hidden]))){display:none}.planner-shell #map-key .map-legend-section>:is(.legend,.house-legend,.rail-legend,.water-legend,.indulgence-legend,.calendar-gold-key){border:0;border-radius:0;background:none;padding:0;margin:0}.planner-shell #map-key .map-legend-section>.map-symbol-key{padding:0;border:0}.planner-shell #map-key .map-legend-section>p{margin:0}

.planner-shell #map-key .map-legend-notes{display:grid;gap:4px;padding-top:3px}.planner-shell #map-key .map-legend-notes p{font-size:11px;line-height:1.4;color:#6c7278;margin:0}

.map-patron-label{pointer-events:none!important;background:none;border:0}.map-patron-label>span{display:block;text-align:center;font:italic 10px/1.1 Georgia,serif;color:#744237;background:#f4e7c7e8;border-block:1px solid #b7985d;padding:3px 7px;clip-path:polygon(0 0,100% 0,96% 50%,100% 100%,0 100%,4% 50%)}.map-patron-label small{display:block;font:8px/1.15 Georgia,serif;color:#74603c}

.map-sea-ornament{pointer-events:none!important;background:none;border:0}.map-sea-ornament img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;transform-origin:center;opacity:.76;filter:saturate(.825)}

/* Compact area choices with comfortable touch controls. */
.planner-toolbar .area-main{gap:8px 12px;align-items:end}
.planner-toolbar .area-main label{display:flex;flex-direction:column;gap:4px;min-width:0}
.planner-toolbar .area-main :is(select,input){width:100%;min-width:0;min-height:40px}
.planner-toolbar .area-actions{display:flex;flex-wrap:wrap;align-items:center;margin-top:2px}
@media(max-width:600px){.planner-toolbar .area-main{grid-template-columns:1fr;gap:8px}.planner-toolbar .area-search{grid-column:auto}.planner-toolbar .area-actions{gap:8px}.planner-toolbar .area-actions button{min-height:40px}.planner-toolbar .area-meta{margin-top:6px}}

.marian-shrine-marker{background:transparent;border:0;display:grid!important;place-items:center}.marian-shrine-marker>svg{display:block;width:60%;height:60%;pointer-events:none}

.celtic-church-marker{background:transparent;border:0;display:grid!important;place-items:center}.celtic-church-marker>svg{display:block;width:50%;height:50%;pointer-events:none}

.calendar-ribbon-body[role="button"]{cursor:pointer}.calendar-ribbon-body[role="button"]:focus-visible{outline:2px solid currentColor;outline-offset:3px}.liturgical-colour-legend{background:var(--ui-paper,#f4efdf);color:#24364a;border:1px solid #b8a986;border-radius:0 0 9px 9px;padding:4px 5px;margin-top:-3px;margin-bottom:6px;font-size:11px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px 5px}.liturgical-colour-legend[hidden]{display:none}.liturgical-colour-row{display:flex;gap:5px;align-items:flex-start;padding:2px 3px;border:1px solid transparent;border-radius:4px;line-height:1.2;min-width:0}.liturgical-colour-row>span{min-width:0}.liturgical-colour-row>i{width:8px;height:8px;margin-top:2px;border:1px solid #93866c;border-radius:50%;flex:none}.liturgical-colour-row.is-current{background:#e8dec8;border-color:#8b3444}.liturgical-colour-row.is-current strong::after{content:" · current";font-weight:normal;color:#8b3444}

/* A native disclosure saves mobile space without duplicating the legend. */
.planner-shell details#map-key>summary{display:none}
@media(max-width:850px){.planner-shell details#map-key>summary{display:list-item;cursor:pointer;font-size:13px;color:#45544c;padding:5px 2px;min-height:32px}.planner-shell details#map-key:not([open])>:not(summary){display:none!important}}

.royal-saint-marker{background:transparent;border:0;display:grid!important;place-items:center}.royal-saint-marker>svg{display:block;width:70.710678%;height:70.710678%;pointer-events:none}

.royal-saint-composite{overflow:visible!important;isolation:isolate}.royal-saint-badge{position:absolute;z-index:1000;left:calc(50% + 7px);top:13px;transform:translateX(-50%);width:10px;height:12px;display:block;pointer-events:none}.royal-saint-composite .royal-saint-badge>svg{display:block;width:100%;height:100%}

.royal-orb-bottom .royal-saint-badge{top:auto;bottom:3px;left:calc(50% + 8px)}

.celtic-church-marker.royal-orb-bottom .royal-saint-badge{left:calc(50% + 5px);bottom:5px}

/* Only ordinary illustrated markers wait for two zoom steps.
   Monasteries, cathedrals, Marian shrines, royal saints and upcoming places stay visible. */
.map-overview-symbols .chapel-marker:not(.royal-saint-composite):not(.overview-important),
.map-overview-symbols .celtic-church-marker:not(.royal-saint-composite):not(.overview-important),
.map-overview-symbols .folk-leaf-marker:not(.overview-important),
.map-overview-symbols .calendar-place-icon:not(.is-upcoming):not(.overview-important) { display:none!important; }

.map-mid-symbols .chapel-marker:not(.royal-saint-composite):not(.overview-important):not(.overview-first-step),
.map-mid-symbols .celtic-church-marker:not(.royal-saint-composite):not(.overview-important):not(.overview-first-step),
.map-mid-symbols .folk-leaf-marker:not(.overview-important):not(.overview-first-step),
.map-mid-symbols .calendar-place-icon:not(.is-upcoming):not(.overview-important):not(.overview-first-step) { display:none!important; }

/* Related legend variants share a label while retaining individual descriptions. */
.planner-shell #map-key .map-symbol-group{display:inline-flex;align-items:center;gap:0;flex:0 0 auto}.planner-shell #map-key .map-symbol-group .map-symbol-glyph{width:21px;flex-basis:21px}

/* Mobile area choices start closed, leaving the map within reach. */
.planner-toolbar .planner-area-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:40px;padding:4px 0;border:0;background:transparent;color:var(--planner-ink);font:600 13px/1.3 system-ui,sans-serif;text-align:left}.planner-area-toggle-sign{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid #bdb49e;border-radius:4px;font-size:18px;font-weight:400}.planner-toolbar .planner-area-toggle[hidden],.planner-area-drawer-body[hidden]{display:none!important}@media(max-width:850px){.planner-toolbar .planner-area-toggle[aria-expanded=true]{margin-bottom:9px}}

/* Matching headings distinguish area selection from map layer options. */
.planner-toolbar .area-main>label.field:has(>#area-mode),.planner-toolbar .planner-area-toggle,.planner-layer-drawer>.explore-places-title{font:500 17px/1.2 Georgia,serif;color:var(--planner-ink)}

/* One disclosure badge for both mobile exploration drawers. */
@media(max-width:850px){
 .planner-area-toggle-sign,.planner-layer-drawer>.explore-places-title::after{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;box-sizing:border-box;width:24px;height:24px;border:1px solid #bdb49e;border-radius:4px;background:transparent;color:var(--planner-ink);font:400 18px/1 Georgia,serif}
}

/* Shared interactive liturgical clock; markers stay still. */
#calendar-year-wheel [data-wheel-title],#calendar-large-wheel [data-wheel-title]{cursor:pointer}#calendar-year-wheel [data-wheel-title]:focus-visible,#calendar-large-wheel [data-wheel-title]:focus-visible{outline:2px solid #ad2539;outline-offset:3px}#calendar-wheel-explainer::backdrop{background:#10274166}#calendar-wheel-explainer button{min-height:40px;padding:6px 14px}#calendar-wheel-explainer p{margin:8px 0 14px}

/* The dated observance tab sits behind the shared ribbon. */
.calendar-ribbon-wrap{position:relative;isolation:isolate}
.calendar-ribbon-wrap.has-observance-bookmark{padding-top:43px}
.calendar-ribbon-wrap>.calendar-ribbon{position:relative;z-index:1}
.calendar-observance-bookmark{position:absolute;z-index:0;top:0;left:108px;min-width:143px;max-width:calc(100% - 125px);height:64px;padding:8px 12px 24px;border:1px solid #624173;border-radius:2px 2px 0 0;background:#735087;color:#fffdf8;box-shadow:1px 1px 4px #24172c24;text-align:center;cursor:pointer}
.calendar-observance-bookmark[hidden]{display:none}
.calendar-observance-bookmark b{display:block;font:16px/19px Georgia,serif}
.calendar-observance-bookmark small{display:block;font:9px/12px system-ui;letter-spacing:.2px;margin-top:3px}
.calendar-observance-bookmark.is-rogation{background:linear-gradient(to right,#735087 0 5px,#fffdf7 5px calc(100% - 5px),#735087 calc(100% - 5px));color:#624173;border-color:#9678a5}
.calendar-observance-bookmark:focus-visible{outline:3px solid #4279ab;outline-offset:2px}
@media(max-width:850px){.calendar-observance-bookmark{left:71px;min-width:139px;max-width:calc(100% - 83px)}}

.cathedral-marker.is-rumoured{overflow:visible!important}
.planner-shell .cathedral-marker.is-rumoured .cathedral-rumour-question{position:absolute;z-index:10;top:8px;left:18px;width:17px;height:23px;display:block;text-align:center;font:bold 21px/23px Georgia,serif;color:#75283d;background:transparent;-webkit-text-stroke:1px #fffdf3;paint-order:stroke fill;text-shadow:0 1px 1px #fffdf3,1px 0 1px #fffdf3,-1px 0 1px #fffdf3;pointer-events:none}

#calendar-year-wheel .wheel-date-band,#calendar-large-wheel .wheel-date-band{cursor:crosshair}

/* Keep small royal overlays independent of the cathedral span styling. */
.planner-shell .leaflet-marker-icon.royal-saint-composite .royal-saint-badge{width:10px;height:12px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;display:block;animation:none}
.romano-british-marker{background:transparent;border:0;display:grid!important;place-items:center}.romano-british-marker>svg{display:block;width:16.8px;height:21px;pointer-events:none}.place-early-christian-connection{font-size:12px;line-height:1.4;color:#793c43}

body.planner-shell .unmapped-place-dialog{width:min(560px,94vw);max-height:88vh;overflow:auto;padding:18px 22px;border:1px solid #c6ae73;border-radius:14px;background:#faf7ee;color:#243551;box-sizing:border-box}
.unmapped-place-dialog::backdrop{background:#10274180}
.unmapped-place-dialog .evidence-close{position:sticky;top:0;float:right;z-index:2;padding:6px 12px;min-height:36px;background:#fffdf6;border:1px solid #c4ae78;border-radius:6px;color:#243551}
.unmapped-place-dialog a{overflow-wrap:anywhere}

/* Give the title and clocks room before the compact phone layout takes over. */
@media (min-width:851px) and (max-width:1200px){
 body.planner-shell>header.planner-header{display:grid;grid-template-columns:minmax(190px,1fr) auto;column-gap:20px;row-gap:10px}
 .planner-header .planner-title,.planner-header #edition-title{max-width:310px;width:auto}
 .planner-header .planner-dials,.planner-header .header-tools{justify-self:end;margin-right:0}
 .planner-header-support{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-end;width:100%;max-width:none;margin-left:0}
 .planner-header-support>.indulgence-week-ribbon{flex:0 1 auto}
}
