/* Appearance controls and palette overrides, scoped to community and native auth pages. */
.dcc-theme-toggle,.dcc-site-header button.dcc-theme-toggle,.dcc-app button.dcc-theme-toggle{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;min-height:0;padding:0!important;border:1px solid #dbe7e1!important;border-radius:50%!important;background:#edf5f1!important;color:#0b3c63!important;cursor:pointer}
.dcc-site-header-inner>.dcc-theme-toggle{margin-left:auto}.dcc-theme-toggle:hover{background:#dcece2!important}.dcc-theme-toggle:focus-visible{outline:3px solid #168447;outline-offset:3px}.dcc-theme-toggle svg{display:block}.dcc-theme-toggle .dcc-theme-sun{display:none}html[data-dcc-theme=dark] .dcc-theme-toggle .dcc-theme-sun{display:block}html[data-dcc-theme=dark] .dcc-theme-toggle .dcc-theme-moon{display:none}.dcc-native-theme{display:flex;justify-content:center;margin:16px auto}.dcc-native-auth-links{margin-top:12px}
html[data-dcc-theme=dark]{color-scheme:dark;--dcc-night-bg:#101b27;--dcc-night-panel:#182737;--dcc-night-raised:#213448;--dcc-night-line:#34495e;--dcc-night-text:#e1ebf3;--dcc-night-muted:#aebfce;--dcc-night-link:#8fd4ba}
html[data-dcc-theme=dark] body.dcc-community-page,html[data-dcc-theme=dark] body.login{background:var(--dcc-night-bg)!important;background-image:none!important;color:var(--dcc-night-text)!important}
html[data-dcc-theme=dark] .dcc-app{--dcc-primary:#c4e2f6;--dcc-green:#8fd4ba;--dcc-text:#e1ebf3;color:var(--dcc-night-text)}
html[data-dcc-theme=dark] :is(.dcc-site-header,.dcc-mobile-header,.dcc-mobile-menu,.dcc-site-header nav,.dcc-page-dock,.dcc-mobile-dock,.dcc-toolbar,.dcc-results,.dcc-results-title,.dcc-card,.dcc-empty,.dcc-map-panel,.dcc-auth-card,.dcc-auth-shell,.dcc-submit form,.dcc-review-section,.dcc-detail,.dcc-selected-sheet,.dcc-upload-panel,.dcc-report-panel,.dcc-join-panel,.dcc-community-links){background:var(--dcc-night-panel)!important;color:var(--dcc-night-text)!important;border-color:var(--dcc-night-line)!important}
html[data-dcc-theme=dark] .dcc-map-app{background:var(--dcc-night-bg)!important}
html[data-dcc-theme=dark] :is(.dcc-my-spots article,.dcc-edit-panel,.dcc-info-panel,.dcc-notices li,.dcc-auth-tabs,.dcc-notices .is-unread,.dcc-about-feature-grid article,.dcc-about-world,.dcc-about-faq details,.dcc-detail-grid,.dcc-no-photo){background:var(--dcc-night-raised)!important;color:var(--dcc-night-text)!important;border-color:var(--dcc-night-line)!important}
html[data-dcc-theme=dark] .dcc-app :is(h1,h2,h3,dt,strong),html[data-dcc-theme=dark] .dcc-native-auth-heading{color:#d8ebf8!important}
html[data-dcc-theme=dark] .dcc-app :is(label,p,dd),html[data-dcc-theme=dark] .dcc-toolbar label{color:var(--dcc-night-text)}
html[data-dcc-theme=dark] .dcc-app :is(small,.dcc-note,.dcc-status,.dcc-card-meta,.dcc-auth-back a,.dcc-text-link,.dcc-auth-divider,.dcc-auth-options label,.dcc-review-date){color:var(--dcc-night-muted)!important}
html[data-dcc-theme=dark] .dcc-app :is(input:not([type=checkbox]):not([type=radio]),select,textarea),html[data-dcc-theme=dark] .login :is(input:not([type=checkbox]),select){background-color:#122131!important;color:var(--dcc-night-text)!important;border-color:#476078!important;box-shadow:none!important}
html[data-dcc-theme=dark] .dcc-app ::placeholder,html[data-dcc-theme=dark] .login ::placeholder{color:#a0b3c5!important;opacity:1}
html[data-dcc-theme=dark] .dcc-app .dcc-btn,html[data-dcc-theme=dark] .login .button-primary{background:#23865c!important;color:#fff!important;border-color:#23865c!important}
html[data-dcc-theme=dark] .dcc-app .dcc-btn:hover,html[data-dcc-theme=dark] .login .button-primary:hover{background:#2a9c6c!important;border-color:#2a9c6c!important}
html[data-dcc-theme=dark] .dcc-app :is(.dcc-btn-secondary,.dcc-btn-ghost){background:var(--dcc-night-raised)!important;color:#c4e2f6!important;border-color:#476078!important}
html[data-dcc-theme=dark] :is(.dcc-theme-toggle,.dcc-site-header button,.dcc-app .dcc-mobile-header button,.dcc-app .dcc-filter-toggle,.dcc-app .dcc-sheet-close,.dcc-app .dcc-selected-heading button){background:var(--dcc-night-raised)!important;color:#c4e2f6!important;border-color:var(--dcc-night-line)!important}
html[data-dcc-theme=dark] .dcc-app :is(a:not(.dcc-btn):not(.nsl-container a),.dcc-eyebrow,.dcc-about-kicker),html[data-dcc-theme=dark] :is(.dcc-site-header nav a,.dcc-mobile-menu a,.dcc-page-dock a,.dcc-mobile-dock a,.dcc-community-links a){color:var(--dcc-night-link)!important}
html[data-dcc-theme=dark] .dcc-site-header nav a:hover,html[data-dcc-theme=dark] .dcc-site-header nav .dcc-header-account,html[data-dcc-theme=dark] .dcc-app .dcc-header-account,html[data-dcc-theme=dark] .dcc-auth-tabs a[aria-current=page]{background:var(--dcc-night-raised)!important;color:var(--dcc-night-link)!important}
html[data-dcc-theme=dark] .dcc-site-brand,html[data-dcc-theme=dark] .dcc-mobile-brand{background:#fff;border-radius:10px;padding:5px 8px}
html[data-dcc-theme=dark] .dcc-badge,html[data-dcc-theme=dark] .dcc-results-title span{background:#234437!important;color:#a9e6c7!important}html[data-dcc-theme=dark] .dcc-badge.service{background:#2a4057!important;color:#c4e2f6!important}
html[data-dcc-theme=dark] :is(.dcc-success,[data-dcc-join-status]:not(:empty)){background:#204538!important;color:#d7f4e5!important;border-color:#3f7560!important}
html[data-dcc-theme=dark] .dcc-about-section{border-color:var(--dcc-night-line)!important}html[data-dcc-theme=dark] .dcc-about-principles{background:var(--dcc-night-panel)!important;color:#d8ebf8!important;border-color:var(--dcc-night-line)!important}html[data-dcc-theme=dark] .dcc-about-feature-grid article a{color:var(--dcc-night-link)!important}
html[data-dcc-theme=dark] .dcc-auth-story :is(h2,p){color:#e8f3ed!important}html[data-dcc-theme=dark] .dcc-auth-brand{background:#fff}
/* Keep provider branding and map tiles in their original palette. */
html[data-dcc-theme=dark] .dcc-social-login .nsl-button{color-scheme:light;border-color:#7b8a92!important}html[data-dcc-theme=dark] .dcc-social-login .nsl-button-label-container{color:#273b30!important}html[data-dcc-theme=dark] .leaflet-container{color-scheme:light}
html[data-dcc-theme=dark] .login form,html[data-dcc-theme=dark] .login :is(.message,.success,#login_error){background:var(--dcc-night-panel)!important;color:var(--dcc-night-text)!important;border-color:var(--dcc-night-line)!important}
html[data-dcc-theme=dark] .login :is(label,#nav a,#backtoblog a,.dcc-native-auth-links a){color:#c4e2f6!important}html[data-dcc-theme=dark] .login h1 a{background-color:#fff!important;border-radius:12px}
html[data-dcc-theme=dark] body.dcc-community-page .elementor-location-footer,html[data-dcc-theme=dark] body.dcc-community-page .elementor-location-footer .elementor-section{background:var(--dcc-night-panel)!important;border-color:var(--dcc-night-line)!important}
html[data-dcc-theme=dark] .elementor-location-footer .elementor-widget-text-editor,html[data-dcc-theme=dark] .elementor-location-footer p{color:var(--dcc-night-muted)!important}html[data-dcc-theme=dark] .elementor-location-footer .elementor-social-icon{background:var(--dcc-night-raised)!important}html[data-dcc-theme=dark] .elementor-location-footer .elementor-social-icon :is(i,svg){color:#c4e2f6!important;fill:#c4e2f6!important}html[data-dcc-theme=dark] .elementor-location-footer .elementor-widget-image img{background:#fff;padding:5px;border-radius:10px}
@media(max-width:767px){.dcc-site-header-inner>.dcc-theme-toggle{flex:0 0 34px;width:34px;height:34px}.dcc-app .dcc-mobile-header{gap:3px;padding:0 8px}.dcc-app .dcc-mobile-brand .dcc-logo{width:100px}.dcc-app .dcc-region-chip{width:82px;min-width:0;flex:0 0 82px}.dcc-app .dcc-region-chip select{font-size:11px}.dcc-app .dcc-mobile-header .dcc-theme-toggle,.dcc-app .dcc-mobile-header [data-dcc-menu-toggle]{width:32px;height:32px;flex:0 0 32px}.dcc-app .dcc-mobile-header .dcc-profile-shortcut{width:28px;height:28px;flex:0 0 28px}.dcc-app .dcc-mobile-header .dcc-member-avatar{width:28px!important;height:28px!important}html[data-dcc-theme=dark] .dcc-mobile-brand{padding:3px 4px}.dcc-site-brand{flex-shrink:0}}
html[data-dcc-theme=dark] .dcc-app :is(.dcc-overline,.dcc-auth-kicker,.dcc-review-avatar+div small){color:#a9d7c3!important}html[data-dcc-theme=dark] .dcc-app :is(.dcc-mobile-chips button,.dcc-view-toggle button){background:var(--dcc-night-panel)!important;color:#c4e2f6!important;border-color:var(--dcc-night-line)!important}html[data-dcc-theme=dark] .dcc-app :is(.dcc-mobile-chips button[aria-pressed=true],.dcc-view-toggle button[aria-pressed=true]){background:#234437!important;color:#a9e6c7!important}

/* Match the region control to its flex slot, including native WebKit selects. */
@media(max-width:767px){
 .dcc-app .dcc-mobile-header{justify-content:flex-start;column-gap:6px}
 .dcc-app .dcc-mobile-brand{flex:0 0 auto;min-width:0}
 .dcc-app .dcc-region-chip{position:relative;box-sizing:border-box;flex:0 0 82px;max-width:82px}
 .dcc-app .dcc-region-chip select{box-sizing:border-box;width:100%!important;max-width:100%;min-width:0;display:block;-webkit-appearance:none;appearance:none;background-image:none;padding:0 20px 0 8px;line-height:30px;font-size:11px;letter-spacing:0;text-align:left}
 .dcc-app .dcc-region-chip::after{content:"";position:absolute;right:9px;top:50%;width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none;color:#527765}
 html[data-dcc-theme=dark] .dcc-region-chip::after{color:#c4e2f6}
 .dcc-app .dcc-mobile-header .dcc-theme-toggle{margin-left:0;margin-right:0}
 .dcc-app .dcc-mobile-header [data-dcc-menu-toggle]{margin-left:0;flex-shrink:0}
 .dcc-site-header-inner>.dcc-theme-toggle{margin-left:0;margin-right:0}
}

/* Complete the About page palette without changing the light appearance. */
html[data-dcc-theme=dark] .dcc-about :is(.dcc-about-manifesto,.dcc-about-two-worlds,.dcc-about-values){background:var(--dcc-night-panel)!important;border-color:var(--dcc-night-line)!important;color:var(--dcc-night-text)}
html[data-dcc-theme=dark] .dcc-about :is(.dcc-about-manifesto>div,.dcc-about-values li){color:var(--dcc-night-muted);border-color:var(--dcc-night-line)}
html[data-dcc-theme=dark] .dcc-about :is(.dcc-about-manifesto>span,.dcc-about-steps article>span){color:var(--dcc-night-link)}
html[data-dcc-theme=dark] .dcc-about .dcc-about-feature-icon{background:#234437;color:#a9e6c7}
html[data-dcc-theme=dark] .dcc-about .dcc-about-steps article{border-color:var(--dcc-night-line)}
html[data-dcc-theme=dark] .dcc-about .dcc-about-values li::before{background:var(--dcc-night-link)}
html[data-dcc-theme=dark] .dcc-about .dcc-about-faq details{padding:18px;border:1px solid var(--dcc-night-line);border-radius:12px;margin-bottom:10px}
html[data-dcc-theme=dark] .dcc-about .dcc-about-faq summary{color:var(--dcc-night-text)}
html[data-dcc-theme=dark] .dcc-about .dcc-about-faq details[open] summary,html[data-dcc-theme=dark] .dcc-about .dcc-about-faq summary:hover{color:var(--dcc-night-link)}
html[data-dcc-theme=dark] .dcc-about .dcc-about-faq summary:focus-visible{outline-color:var(--dcc-night-link)}

/* Make account navigation and controls distinguishable in the night palette. */
html[data-dcc-theme=dark] .dcc-app.dcc-auth-shell .dcc-auth-card .dcc-auth-tabs{background:var(--dcc-night-bg)!important;border:1px solid var(--dcc-night-line)}
html[data-dcc-theme=dark] .dcc-app.dcc-auth-shell .dcc-auth-card .dcc-auth-tabs a{background:transparent!important;color:#c9d7e3!important;border:1px solid transparent;box-shadow:none}
html[data-dcc-theme=dark] .dcc-app.dcc-auth-shell .dcc-auth-card .dcc-auth-tabs a:hover{background:var(--dcc-night-raised)!important;color:var(--dcc-night-text)!important;border-color:#59728a}
html[data-dcc-theme=dark] .dcc-app.dcc-auth-shell .dcc-auth-card .dcc-auth-tabs a[aria-current=page],html[data-dcc-theme=dark] .dcc-app.dcc-auth-shell .dcc-auth-card .dcc-auth-tabs a[aria-current=page]:hover{background:#8fd4ba!important;color:#102b22!important;border-color:#8fd4ba;box-shadow:0 2px 8px #0003}
html[data-dcc-theme=dark] .dcc-app .dcc-new-account{color:var(--dcc-night-muted);border-color:var(--dcc-night-line)}
html[data-dcc-theme=dark] .dcc-app .dcc-auth-divider::before,html[data-dcc-theme=dark] .dcc-app .dcc-auth-divider::after{background:var(--dcc-night-line)}
html[data-dcc-theme=dark] .dcc-app .dcc-password-wrap button{background:var(--dcc-night-raised)!important;color:#c4e2f6!important;border:1px solid #59728a!important;border-radius:7px;min-height:30px;padding:4px 9px}
html[data-dcc-theme=dark] .dcc-app .dcc-password-wrap button:hover{background:#34495e!important;color:#fff!important}
html[data-dcc-theme=dark] .dcc-auth-card :is(a,button,input):focus-visible{outline:3px solid #8fd4ba!important;outline-offset:3px}
html[data-dcc-theme=dark] .dcc-auth-card input:not([type=checkbox]):focus{border-color:#8fd4ba!important}
html[data-dcc-theme=dark] .dcc-auth-card input[type=checkbox]{accent-color:#8fd4ba}
.dcc-auth-card .dcc-social-login .nsl-container-buttons{gap:10px}

/* Map selection and report disclosure must use the night palette too. */
html[data-dcc-theme=dark] .dcc-app .dcc-selected-heading{background:var(--dcc-night-panel)!important;color:var(--dcc-night-text)!important;border-color:var(--dcc-night-line)!important}
html[data-dcc-theme=dark] .dcc-app .dcc-selected-heading strong{color:var(--dcc-night-text)!important}
html[data-dcc-theme=dark] .dcc-app :is(.dcc-report-panel,.dcc-join-panel)>summary{color:var(--dcc-night-link)!important}
html[data-dcc-theme=dark] .dcc-app :is(.dcc-report-panel,.dcc-join-panel)>summary::marker{color:var(--dcc-night-link)}
html[data-dcc-theme=dark] .dcc-app :is(.dcc-report-panel,.dcc-join-panel)>summary::-webkit-details-marker{color:var(--dcc-night-link)}
html[data-dcc-theme=dark] .dcc-app :is(.dcc-report-panel,.dcc-join-panel)>summary:focus-visible{outline:2px solid var(--dcc-night-link);outline-offset:4px;border-radius:4px}
html[data-dcc-theme=dark] .dcc-map-app .dcc-map-footer .dcc-status{background:var(--dcc-night-panel)!important;color:var(--dcc-night-text)!important;border-color:var(--dcc-night-line)!important}
