/* Consistent action controls; calendar dates, maps and icon controls keep their own layout. */
html body main button:not(:where(.pca-day,.leaflet-control button,[aria-label],[aria-expanded],[id$="admin-toggle"],[data-edit],[data-member],[data-member-slot])),
html body main input[type=submit],
html body main :is(.pcc-button,.wp-block-button__link){box-sizing:border-box;font:700 20px/1.2 'PCRRMN DIN Condensed','Arial Narrow',Arial,sans-serif!important;padding:9px 16px!important;border-radius:2px!important;border:0;border-bottom:3px solid #ce2b1b;min-height:40px;max-width:100%;white-space:normal;cursor:pointer}
html body main button:not(:where(.pca-day,.leaflet-control button,[aria-label],[aria-expanded],[aria-pressed="true"],[id$="admin-toggle"],[data-edit],[data-member],[data-member-slot],.is-destructive,.is-playing,.is-listening,#pcc-listen,.ppr-listen-toggle,.pcr-live-player button,[data-pcr-listen],[data-listen-live])),
html body main input[type=submit],html body main :is(.pcc-button,.wp-block-button__link){background-color:#676f38!important;color:#f4f1ec!important}
html body main button:not(:where(.pca-day,.leaflet-control button,[aria-label],[aria-expanded],[id$="admin-toggle"],[data-edit],[data-member],[data-member-slot])):hover,
html body main input[type=submit]:hover,html body main :is(.pcc-button,.wp-block-button__link):hover{background-color:#ce2b1b!important;color:#fff!important}
html body main :is(button,input,select,textarea,a):focus-visible{outline:2px solid #af9370;outline-offset:3px}
html body main :is(button,input):disabled{opacity:.55;cursor:not-allowed}
/* Field sizing and labels match across public and frontend-admin forms. */
html body main :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]):not([type=file]):not([type=color]),select,textarea){box-sizing:border-box;min-width:0;max-width:100%;font:400 16px/1.4 Arial,Helvetica,sans-serif!important;padding:10px!important;border:1px solid #676f38!important;border-radius:2px!important;background:#f4f1ec!important;color:#272727!important}
html body main :is(.pcr-front-editor,.pcrt-editor,.ps-editor,.pcc-editor,.pcm-editor){font:14px/1.5 Arial,Helvetica,sans-serif;color:#272727;background:#af9370;border-top:3px solid #ce2b1b;box-sizing:border-box;max-width:100%;min-width:0}
html body main :is(.pcrt-admin,.ps-admin,.pcc-admin,.pca-admin-access,.pnb-admin,.pcm-admin)>summary{font:400 16px/1.4 Arial,Helvetica,sans-serif!important;cursor:pointer}
html body main :is(.pcrt-admin,.ps-admin,.pcc-admin,.pca-admin-access,.pnb-admin,.pcm-admin)>summary:hover{text-decoration:underline}
html body form[id^="pcr-front-login"][id][method]{box-sizing:border-box;width:260px!important;max-width:100%!important;padding:16px!important;margin:12px 0 12px auto;background:#30302d!important;color:#f4f1ec!important;border:1px solid #676f38;border-top:3px solid #ce2b1b;border-radius:2px;font:14px/1.5 Arial,Helvetica,sans-serif}
html body form[id^="pcr-front-login"][id][method] label{display:block;color:#af9370!important;font:700 14px/1.5 Arial,Helvetica,sans-serif!important}
html body form[id^="pcr-front-login"][id][method] input[type=password]{display:block;width:100%;margin:8px 0 12px}
html body form[id^="pcr-front-login"][id][method] button{display:block;width:100%}
html body main .pcrt-editor:has(form[id^="pcr-front-login"]){width:260px;max-width:100%;padding:0;background:transparent;border:0;margin-left:auto}
/* Match table typography and headers without overriding live status/TX row colors. */
html body main :is(figure.wp-block-table,.pcm-table-wrap,.gmrs-quick-scroll,#ppr-member-table,#ppr-repeater-table) :is(th,td){font-family:Arial,Helvetica,sans-serif!important;font-size:14px!important;line-height:1.5!important;padding:9px 10px!important;box-sizing:border-box}
html body main :is(figure.wp-block-table,.pcm-table-wrap,.gmrs-quick-scroll,#ppr-member-table,#ppr-repeater-table) th{background:#676f38!important;color:#f4f1ec!important;font-weight:700!important}
@media(max-width:650px){html body form[id^="pcr-front-login"][id][method]{width:260px!important}html body main :is(.pcc-button,.wp-block-button__link){padding:9px 12px!important}}

html body form[id^="pcr-front-login"][id][method] button{font:700 20px/1.2 'PCRRMN DIN Condensed','Arial Narrow',Arial,sans-serif!important;background:#676f38!important;color:#f4f1ec!important;border:0!important;border-bottom:3px solid #ce2b1b!important;border-radius:2px!important;padding:9px 16px!important;min-height:40px;max-width:100%;cursor:pointer}
html body form[id^="pcr-front-login"][id][method] input[type=password]{box-sizing:border-box;width:100%;max-width:100%;font:400 16px/1.4 Arial,sans-serif!important;padding:10px!important;background:#f4f1ec!important;color:#272727!important;border:1px solid #676f38!important;border-radius:2px!important}
html body .ppr-content-admin>summary{font:400 16px/1.4 Arial,sans-serif!important}
/* Every frontend edit sign-in has the same compact Admin entry. */
html body .pcr-admin-entry[data-pcr-admin-entry="1"]{display:block!important;box-sizing:border-box!important;width:fit-content!important;min-width:80px!important;max-width:100%!important;margin:12px 0 0 auto!important;padding:8px 14px!important;background:#30302d!important;color:#f4f1ec!important;border:1px solid #676f38!important;border-bottom:3px solid #ce2b1b!important;border-radius:2px!important;font:400 16px/1.4 Arial,Helvetica,sans-serif!important;text-align:center!important;list-style:none!important;text-decoration:none!important;letter-spacing:normal!important;cursor:pointer!important}
html body .pcr-admin-entry[data-pcr-admin-entry="1"]::-webkit-details-marker{display:none!important}
html body .pcr-admin-entry[data-pcr-admin-entry="1"]::marker{content:''!important}
html body .pcr-admin-entry[data-pcr-admin-entry="1"]::before,html body .pcr-admin-entry[data-pcr-admin-entry="1"]::after{content:none!important;display:none!important}
html body .pcr-admin-entry[data-pcr-admin-entry="1"]:hover{background:#676f38!important;color:#fff!important}
html body .pcr-admin-entry[data-pcr-admin-entry="1"]:focus-visible{outline:2px solid #af9370;outline-offset:3px}

.pcr-private-access .pcr-login-progress{display:flex;align-items:center;justify-content:center;gap:12px;margin:16px 0 0!important;font:14px/1.5 Arial,sans-serif;color:#f4f1ec}
.pcr-login-spinner{display:inline-block;box-sizing:border-box;width:24px;height:24px;flex:0 0 24px;border:3px solid #676f38;border-top-color:#ce2b1b;border-radius:50%;animation:pcr-login-spin .8s linear infinite}
@keyframes pcr-login-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.pcr-login-spinner{animation:none;border-top-color:#af9370}}

.pcr-login-progress.is-granted{border-color:#676f38}.pcr-login-door{display:inline-block;position:relative;width:22px;height:29px;border:2px solid #af9370;perspective:70px;flex:0 0 22px}.pcr-login-door i{position:absolute;inset:0;background:#676f38;transform-origin:left;animation:pcr-door-open .6s ease forwards}.pcr-login-door i:after{content:"";position:absolute;right:3px;top:13px;width:3px;height:3px;border-radius:50%;background:#f4f1eb}@keyframes pcr-door-open{to{transform:rotateY(-65deg)}}@media(prefers-reduced-motion:reduce){.pcr-login-door i{animation:none;transform:rotateY(-65deg)}}

.pcr-widget-fallback{position:absolute;inset:35px 8px auto;min-height:150px;box-sizing:border-box;border:1px solid #676f38;border-top:3px solid #ce2b1b;background:#272727;padding:22px 12px;display:flex;flex-direction:column;justify-content:center;gap:12px;text-align:center;color:#f4f1eb}.pcr-widget-fallback strong{font:22px/1.2 'PCRRMN DIN Condensed','Arial Narrow',Arial,sans-serif}.pcr-widget-fallback span{font:12px/1.5 Arial,sans-serif;color:#af9370}.pcr-counter-unavailable{font:12px/1.3 Arial,sans-serif;color:#af9370}

.ps-delivery-simple{margin-top:22px;border-top:1px solid #676f38;padding-top:18px}.ps-review-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.ps-review-actions form{margin:0!important;padding:0!important;border:0!important}.ps-preview-button{display:inline-block;background:#676f38;color:#fff!important;padding:10px 16px;text-decoration:none;border-bottom:3px solid #ce2b1b;font:22px/1.2 'PCRRMN DIN Condensed',Arial,sans-serif}.ps-delivery-help{font:13px/1.5 Arial,sans-serif!important}.ps-schedule-status{padding:14px;border-left:4px solid #676f38;background:#f4f1ec55;font:15px/1.6 Arial,sans-serif!important}.ps-schedule-simple{display:grid;gap:12px;max-width:460px;margin:18px 0}.ps-schedule-simple label>span{display:block;font:13px/1.5 Arial,sans-serif}.ps-approval{display:flex!important;align-items:flex-start;gap:8px;font:14px/1.5 Arial,sans-serif!important}.ps-approval input{width:auto!important;margin-top:4px}.ps-more-options{margin-top:22px;border-top:1px solid #676f38;padding-top:12px}.ps-more-options>summary{font:16px/1.4 Arial,sans-serif;cursor:pointer}.ps-more-options form{margin:15px 0}.ps-more-options p{font:13px/1.5 Arial,sans-serif!important}

.pcr-mobile-group-toggle{display:none!important}
@media(max-width:782px){
.pcr-original-navigation .wp-block-navigation__responsive-container.is-menu-open{padding:0!important;background:#272727!important;color:#f4f1eb!important;border-top:4px solid #ce2b1b;overflow-y:auto!important}
.pcr-original-navigation .is-menu-open .wp-block-navigation__responsive-close{max-width:580px!important;width:100%!important;margin:0 auto!important}
.pcr-original-navigation .is-menu-open .wp-block-navigation__responsive-dialog{padding:66px 20px 28px!important;margin:0!important}
.pcr-original-navigation .is-menu-open .wp-block-navigation__responsive-dialog:before{content:"Explore the network.";position:absolute;top:20px;left:20px;color:#af9370;font:28px/1.2 'PCRRMN DIN Condensed','Arial Narrow',Arial,sans-serif}
.pcr-original-navigation .is-menu-open .wp-block-navigation__responsive-container-close{position:absolute!important;top:12px!important;right:14px!important;width:44px!important;height:44px!important;display:flex!important;justify-content:center;align-items:center;color:#f4f1eb!important;background:#34352c!important;border:1px solid #676f38!important;border-radius:3px}
.pcr-original-navigation .is-menu-open .wp-block-navigation__responsive-container-content{padding:0!important;align-items:stretch!important;gap:0!important}
.pcr-original-navigation .is-menu-open .wp-block-navigation__container{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:4px!important;padding:0!important;margin:0!important}
.pcr-original-navigation .is-menu-open .wp-block-navigation__container>li{display:block!important;width:100%!important;border-bottom:1px solid #676f3855;padding:0!important;margin:0!important}
.pcr-original-navigation .is-menu-open .wp-block-navigation-item__content{display:flex!important;align-items:center;box-sizing:border-box;width:100%!important;min-height:46px;padding:10px 12px!important;text-align:left!important;justify-content:flex-start!important;color:#f4f1eb!important;font:22px/1.2 'PCRRMN DIN Condensed','Arial Narrow',Arial,sans-serif!important;border:0!important;text-decoration:none!important;white-space:normal!important}
.pcr-original-navigation .is-menu-open .wp-block-navigation-item__content[aria-current=page]{background:#676f38!important;border-left:3px solid #ce2b1b!important}
.pcr-original-navigation .is-menu-open .pcr-mobile-nav-group>.wp-block-navigation-item__content,.pcr-original-navigation .is-menu-open .pcr-mobile-nav-group>.wp-block-navigation-submenu__toggle{display:none!important}
.pcr-original-navigation .is-menu-open .pcr-mobile-group-toggle{display:flex!important;justify-content:space-between;align-items:center;box-sizing:border-box;width:100%;min-height:48px;margin:0;padding:10px 12px!important;color:#af9370!important;background:#30302d!important;border:0!important;text-align:left;font:22px/1.2 'PCRRMN DIN Condensed','Arial Narrow',Arial,sans-serif!important;cursor:pointer}
.pcr-original-navigation .is-menu-open .pcr-mobile-group-toggle>span:last-child{font:24px/1 Arial,sans-serif;margin-left:12px}
.pcr-original-navigation .is-menu-open .pcr-mobile-nav-group>.wp-block-navigation__submenu-container{display:none!important}
.pcr-original-navigation .is-menu-open .pcr-mobile-nav-group.pcr-mobile-expanded>.wp-block-navigation__submenu-container{display:flex!important;position:static!important;visibility:visible!important;opacity:1!important;flex-direction:column!important;align-items:stretch!important;box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;padding:4px 0 8px 12px!important;margin:0!important;border:0!important;border-left:2px solid #676f38!important;background:#272727!important;gap:0!important}
.pcr-original-navigation .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content{font:18px/1.3 'PCRRMN DIN Condensed','Arial Narrow',Arial,sans-serif!important;min-height:44px;padding:9px 12px!important;color:#e5dfd3!important}
.pcr-original-navigation .is-menu-open a:hover,.pcr-original-navigation .is-menu-open .pcr-mobile-group-toggle:hover{background:#3c402b!important}
.pcr-original-navigation .is-menu-open a:focus-visible,.pcr-original-navigation .is-menu-open button:focus-visible{outline:2px solid #af9370!important;outline-offset:-2px}
}

.ps-subscriber-directory{margin:18px 0;border-top:1px solid #676f38;padding-top:14px;min-width:0}.ps-subscriber-directory>summary{cursor:pointer;font:700 20px/1.3 'PCRRMN DIN Condensed',Arial,sans-serif;color:#272727}.ps-subscriber-directory>p{font:14px/1.5 Arial,sans-serif}.ps-subscriber-filters{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin:14px 0}.ps-subscriber-filters label{font:14px/1.5 Arial,sans-serif}.ps-subscriber-filters input,.ps-subscriber-filters select{display:block;width:100%;box-sizing:border-box;margin-top:5px}.ps-subscriber-table{width:100%;table-layout:fixed;border-collapse:collapse;font:14px/1.5 Arial,sans-serif;color:#272727}.ps-subscriber-table th{padding:10px;background:#676f38;color:#fff;text-align:left}.ps-subscriber-table td{padding:10px;border-bottom:1px solid #676f3855;overflow-wrap:anywhere;vertical-align:middle}.ps-subscriber-table a{color:inherit!important;font:inherit!important}.ps-subscriber-table tr[hidden]{display:none!important}.ps-subscriber-badge{display:inline-block;padding:3px 7px;background:#676f38;color:#fff;font:700 12px/1.4 Arial,sans-serif}.ps-subscriber-badge.is-unsubscribed{background:#a9251a}.ps-subscriber-badge.is-pending{background:#555}
@media(max-width:650px){.ps-subscriber-filters{grid-template-columns:1fr}.ps-subscriber-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ps-subscriber-table,.ps-subscriber-table tbody,.ps-subscriber-table tr{display:block;width:100%}.ps-subscriber-table tr{border:1px solid #676f38;margin:10px 0}.ps-subscriber-table td{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px}.ps-subscriber-table td:before{content:attr(data-label);font-weight:700}}

/* Shared control sizing, including page actions and editors opened outside main. */
html body :is(main,dialog,.pcr-front-editor,.ppr-content-admin) :is(.home-button,.pcr-contact-button,.gmrs-license-button,.pnb-button,.pcc-button,.wp-block-button__link,.ppr-join-button),
html body :is(main,dialog,.pcr-front-editor,.ppr-content-admin) :is(button,input[type=submit]):not(:where(.pca-day,.leaflet-control button,[aria-label],[id$="admin-toggle"],[data-edit],[data-member],[data-member-slot],.pcr-admin-entry)){
 box-sizing:border-box!important;font:700 20px/1.2 'PCRRMN DIN Condensed','Arial Narrow',Arial,sans-serif!important;padding:9px 16px!important;min-height:44px!important;max-width:100%!important;border-radius:2px!important;border:0!important;border-bottom:3px solid #ce2b1b!important;white-space:normal!important;text-align:center!important;text-decoration:none!important;cursor:pointer
}
html body :is(main,dialog,.pcr-front-editor,.ppr-content-admin) :is(.home-button,.pcr-contact-button,.gmrs-license-button,.pnb-button,.ppr-join-button){background:#676f38!important;color:#f4f1ec!important}
html body :is(main,dialog,.pcr-front-editor,.ppr-content-admin) :is(.home-button,.pcr-contact-button,.gmrs-license-button,.pnb-button,.ppr-join-button):hover{background:#ce2b1b!important;color:#fff!important}
html body :is(main,dialog,.pcr-front-editor,.ppr-content-admin) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]):not([type=file]):not([type=color]),select,textarea){box-sizing:border-box!important;min-width:0!important;max-width:100%!important;font:400 16px/1.4 Arial,Helvetica,sans-serif!important;padding:10px!important;border:1px solid #676f38!important;border-radius:2px!important;background:#f4f1ec!important;color:#272727!important}
html body :is(.pca-admin-access,.pca-gallery-admin,.ps-admin,.pcc-admin,.pcm-site-admin,.pnb-admin-control,.pcrt-admin,.ppr-content-admin,.pcr-front-editor,#ppr-member-admin,#ppr-map-admin) details>summary:not(.pcr-admin-entry){font:700 20px/1.3 'PCRRMN DIN Condensed','Arial Narrow',Arial,sans-serif!important;cursor:pointer}
html body :is(.pca-submit,.pnb,.pcm-directory) details>summary:not(.pcr-admin-entry):not(.ppr-join-button){font-family:'PCRRMN DIN Condensed','Arial Narrow',Arial,sans-serif}
html body :is(.ps-subscriber-table,.ppr-admin-table) :is(th,td){font:14px/1.5 Arial,Helvetica,sans-serif;box-sizing:border-box;padding:9px 10px}
@media(max-width:650px){html body :is(main,dialog,.pcr-front-editor,.ppr-content-admin) :is(.home-button,.pcr-contact-button,.gmrs-license-button,.pnb-button,.pcc-button,.wp-block-button__link,.ppr-join-button){padding:9px 12px!important}html body :is(dialog,.pcr-front-editor,.ppr-content-admin){max-width:calc(100% - 24px);box-sizing:border-box}html body :is(dialog,.pcr-front-editor,.ppr-content-admin) :is(input,select,textarea){min-width:0;max-width:100%}}

html body .ppr-content-admin button{background:#676f38!important;color:#f4f1ec!important}html body .ppr-content-admin button:hover{background:#ce2b1b!important;color:#fff!important}
html body .ppr-content-admin :is(form,label){font:14px/1.5 Arial,Helvetica,sans-serif}

/* File pickers use the same field surface and action treatment. */
html body :is(main,dialog,.pcr-front-editor,.ppr-content-admin) input[type=file]{box-sizing:border-box;max-width:100%;min-width:0;padding:10px!important;font:400 16px/1.4 Arial,Helvetica,sans-serif!important;background:#f4f1ec!important;color:#272727!important;border:1px solid #676f38!important;border-radius:2px!important}
html body :is(main,dialog,.pcr-front-editor,.ppr-content-admin) input[type=file]::file-selector-button{font:700 20px/1.2 'PCRRMN DIN Condensed','Arial Narrow',Arial,sans-serif;background:#676f38;color:#f4f1ec;border:0;border-bottom:3px solid #ce2b1b;border-radius:2px;padding:9px 16px;margin-right:10px;min-height:44px;cursor:pointer}
html body :is(main,dialog,.pcr-front-editor,.ppr-content-admin) input[type=file]::file-selector-button:hover{background:#ce2b1b;color:#fff}

/* Keep both calendar filters readable and full width on phones. */
@media(max-width:600px){
 .pca-calendar .pca-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
 .pca-calendar .pca-filters label{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;width:100%;min-width:0}
 .pca-calendar .pca-filters label select{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;font-size:16px}
}

/* Quiet administrator sign-in links; member account controls retain their button styling. */
html body .pcr-admin-entry[data-pcr-admin-entry="1"]:not(#ppr-my-account>summary){min-width:0!important;padding:4px 7px!important;margin:8px 0 0 auto!important;background:transparent!important;color:inherit!important;opacity:.8!important;border:0!important;border-radius:2px!important;font:400 13px/1.5 Arial,Helvetica,sans-serif!important;text-align:right!important}
html body .pcr-admin-entry[data-pcr-admin-entry="1"]:not(#ppr-my-account>summary):hover{background:transparent!important;color:inherit!important;opacity:1!important;text-decoration:underline!important}
html body .pcr-admin-entry[data-pcr-admin-entry="1"]:not(#ppr-my-account>summary):focus-visible{outline:2px solid #af9370!important;outline-offset:2px!important;color:inherit!important;opacity:1!important}
@media(max-width:760px){html body .pcr-admin-entry[data-pcr-admin-entry="1"]:not(#ppr-my-account>summary){min-height:44px!important;min-width:52px!important;padding:12px 7px!important}}

/* Stack repeater and mesh tables on phones without sideways scrolling. */
@media(max-width:760px){body .pcr-mobile-table{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;border:0!important;table-layout:fixed}body .pcr-mobile-table thead{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}body .pcr-mobile-table tbody{display:block!important;width:100%}body .pcr-mobile-table tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #676f38;margin:0 0 12px;background:#af9370}body .pcr-mobile-table tbody td{display:block!important;box-sizing:border-box;min-width:0!important;width:auto!important;text-align:center!important;padding:10px!important;border:0!important;border-bottom:1px solid #676f3850!important;overflow-wrap:anywhere;font:14px/1.5 Arial,Helvetica,sans-serif;white-space:normal!important}body .pcr-mobile-table tbody td::before{content:attr(data-mobile-label);display:block;font:700 12px/1.4 Arial,Helvetica,sans-serif;color:#272727;margin-bottom:5px}body .pcr-mobile-table tbody td:first-child,body .pcr-mobile-table tbody td.pcr-mobile-full{grid-column:1/-1}body .wp-block-table .pcr-mobile-table tbody td:nth-child(2){grid-column:1/-1}body .pcr-mobile-table tbody td img{max-width:100%;height:auto}body .pcr-mobile-table tbody td [style*="white-space"]{white-space:normal!important}}

@media(max-width:760px){body .wp-block-table .pcr-mobile-table tbody td:nth-child(7),body .wp-block-table .pcr-mobile-table tbody td:nth-child(8){grid-column:1/-1}}
