/* Duchesne City visitor palettes 2.2.6. CSS kept scoped to the city theme. */
html[data-dc-palette="forest"], html:not([data-dc-palette]) {--dc-p-header:#fffdf6;--dc-p-nav:#173c32;--dc-p-accent:#ddb968;--dc-p-paper:#f2f7f4;--dc-p-text:#243a32;--dc-p-link:#126251;--dc-p-button:#176a53;--dc-p-button-text:#ffffff;--dc-p-subtle:#f9faf6;}
html[data-dc-palette="red-rock"]{--dc-p-header:#fff7ed;--dc-p-nav:#803f32;--dc-p-accent:#d49a58;--dc-p-paper:#faf0e6;--dc-p-text:#442a25;--dc-p-link:#873b2b;--dc-p-button:#803f32;--dc-p-button-text:#fff;--dc-p-subtle:#fffaf6;}
html[data-dc-palette="mountain-blue"]{--dc-p-header:#f0f7fa;--dc-p-nav:#193f60;--dc-p-accent:#95d5e2;--dc-p-paper:#edf4f8;--dc-p-text:#1d3546;--dc-p-link:#175a84;--dc-p-button:#215c7f;--dc-p-button-text:#fff;--dc-p-subtle:#f7fbfe;}
html[data-dc-palette="sunset"]{--dc-p-header:#fff6ec;--dc-p-nav:#713d54;--dc-p-accent:#e8a65d;--dc-p-paper:#fff0e5;--dc-p-text:#4e3040;--dc-p-link:#813b60;--dc-p-button:#713d54;--dc-p-button-text:#fff;--dc-p-subtle:#fffbf8;}
html[data-dc-palette="dark-mountain"]{--dc-p-header:#192c33;--dc-p-nav:#101d23;--dc-p-accent:#e2bf72;--dc-p-paper:#22363b;--dc-p-text:#ecf4f2;--dc-p-link:#f7d58c;--dc-p-button:#e2bf72;--dc-p-button-text:#17272d;--dc-p-subtle:#263d43;}
html[data-dc-palette="winter"]{--dc-p-header:#fff;--dc-p-nav:#35546a;--dc-p-accent:#a8e2f2;--dc-p-paper:#f0f5f8;--dc-p-text:#263e4b;--dc-p-link:#255572;--dc-p-button:#35546a;--dc-p-button-text:#fff;--dc-p-subtle:#f9fcff;}
.duchesne-city-theme {--dc-gold:var(--dc-p-accent);--dc-teal:var(--dc-p-button);--dc-navy:var(--dc-p-nav);--dc-deep:var(--dc-p-nav);--dc-light:var(--dc-p-paper);--dc-line:color-mix(in srgb,var(--dc-p-nav) 18%,white);}
.duchesne-city-theme .dc-site-header{background:var(--dc-p-header)!important;}
.duchesne-city-theme .dc-nav-bar {background:var(--dc-p-nav)!important;border-bottom-color:var(--dc-p-accent)!important;}
.duchesne-city-theme .dc-primary-nav .current-menu-item>a,.duchesne-city-theme .dc-primary-nav a:hover{color:var(--dc-p-accent)!important;}
.duchesne-city-theme .dc-header-actions .dc-city-app-button .wp-block-button__link {color:var(--dc-p-text)!important;border-color:var(--dc-p-nav)!important;}
.duchesne-city-theme .dc-header-actions .dc-city-app-button .wp-block-button__link:hover{background:var(--dc-p-paper)!important;}
.duchesne-city-theme .dc-header-search .wp-block-search__button{color:var(--dc-p-link)!important;}
.duchesne-city-theme .dc-report-button a,.duchesne-city-theme .dc-cta-primary,.duchesne-city-theme .dc-task-row button{background:var(--dc-p-accent)!important;color:#182c28!important;}
.duchesne-city-theme .dc-meeting-card{background:var(--dc-p-paper)!important;border-left-color:var(--dc-p-button)!important;}
.duchesne-city-theme .dc-page-title-band{background-color:var(--dc-p-nav)!important;}
.duchesne-city-theme .dc-service-card h3,.duchesne-city-theme .dc-news-card .wp-block-post-title a{color:var(--dc-p-nav)!important;}
/* Custom HTML Community page: its original CSS hard-codes colors, so override relevant surfaces safely. */
.duchesne-city-theme .dc-community {--dc-green:var(--dc-p-button);--dc-dark:var(--dc-p-nav);--dc-light:var(--dc-p-paper);--dc-border:color-mix(in srgb,var(--dc-p-nav) 17%,white);--dc-text:var(--dc-p-text);}
.duchesne-city-theme .dc-community .dc-hero,.duchesne-city-theme .dc-community .dc-banner{background:var(--dc-p-nav)!important;}
.duchesne-city-theme .dc-community .dc-soft,.duchesne-city-theme .dc-community .dc-feature-box,.duchesne-city-theme .dc-community .dc-contact{background:var(--dc-p-paper)!important;}
.duchesne-city-theme .dc-community .dc-card{border-color:var(--dc-border)!important;}
.duchesne-city-theme .dc-community .dc-button{background:var(--dc-p-button)!important;color:var(--dc-p-button-text)!important;}
.duchesne-city-theme .dc-community .dc-button-outline{background:transparent!important;color:#fff!important;border-color:#fff!important;}
.duchesne-city-theme .dc-community .dc-card h3,.duchesne-city-theme .dc-community .dc-feature-box h3,.duchesne-city-theme .dc-community .dc-contact h2{color:var(--dc-p-nav)!important;}
.duchesne-city-theme .dc-community .dc-soft .dc-feature p,.duchesne-city-theme .dc-community .dc-soft .dc-feature-box li,.duchesne-city-theme .dc-community .dc-soft .dc-intro,.duchesne-city-theme .dc-community .dc-contact p {color:var(--dc-p-text)!important;}
.duchesne-city-theme .dc-community .dc-soft h2{color:var(--dc-p-text)!important;}
.duchesne-city-theme .dc-community .dc-banner h2{color:#fff!important;}
/* The dark variation must keep content legible: light cards remain light. */
html[data-dc-palette="dark-mountain"] .duchesne-city-theme .dc-community .dc-card{background:#f6faf9!important;color:#233b35!important;}
html[data-dc-palette="dark-mountain"] .duchesne-city-theme .dc-community .dc-card h3{color:#173c32!important;}
html[data-dc-palette="dark-mountain"] .duchesne-city-theme .dc-community .dc-feature-box,
html[data-dc-palette="dark-mountain"] .duchesne-city-theme .dc-community .dc-contact{color:#ecf4f2!important;}
html[data-dc-palette="dark-mountain"] .duchesne-city-theme .dc-community .dc-card p{color:#33443d!important;}
/* Accessible floating selector */
.dc-palette-launch{position:fixed;top:calc(var(--dc-sticky-admin-top,0px) + 14px);left:12px;z-index:999991;width:42px;height:42px;border-radius:50%;border:2px solid #fff;box-shadow:0 2px 14px #0005;background:#fff;color:#173c32;font-size:23px;display:grid;place-items:center;cursor:pointer;}
.dc-palette-launch:focus-visible,.dc-palette-panel button:focus-visible{outline:3px solid #f2c558;outline-offset:2px;}
.dc-palette-panel{position:fixed;top:calc(var(--dc-sticky-admin-top,0px) + 62px);left:12px;z-index:999992;width:min(310px,calc(100vw - 24px));max-height:calc(100dvh - 100px);overflow-y:auto;border-radius:15px;background:#fff;color:#172d30;border:1px solid #cbd5d6;box-shadow:0 8px 36px #0004;padding:15px;font:inherit;}
.dc-palette-panel[hidden],.dc-palette-launch[hidden]{display:none!important;}
.dc-palette-title{font-weight:800;font-size:17px;margin:0 0 3px;}
.dc-palette-help{font-size:12px;margin:0 0 11px;color:#465963;}
.dc-palette-options{display:grid;gap:6px;}
.dc-palette-choice{display:flex;align-items:center;gap:10px;text-align:left;background:#fff;color:#1e3440;border:1px solid #d4dddd;border-radius:9px;padding:10px;cursor:pointer;font-size:14px;width:100%;}
.dc-palette-choice[aria-pressed="true"]{outline:2px solid #176a53;outline-offset:-2px;background:#eef7f2;font-weight:700;}
.dc-palette-swatch{width:32px;height:20px;border-radius:4px;border:1px solid #0002;background:linear-gradient(90deg,var(--swatch-left) 60%,var(--swatch-right) 60%);flex-shrink:0;}
.dc-palette-reset{margin-top:11px;border:0;background:transparent;color:#135b70;text-decoration:underline;padding:8px;cursor:pointer;}
@media(max-width:600px){.dc-palette-launch{width:38px;height:38px;left:7px;top:calc(var(--dc-sticky-admin-top,0px) + 8px);}.dc-palette-panel{left:7px;top:calc(var(--dc-sticky-admin-top,0px) + 52px);}}
@media(forced-colors:active){.dc-palette-launch,.dc-palette-choice{border:1px solid ButtonText;}}

/* 2.2.7: Keep the palette control clear of the WordPress toolbar. */
body.admin-bar .dc-palette-launch {top:46px!important;}
body.admin-bar .dc-palette-panel {top:94px!important;max-height:calc(100dvh - 110px);}
@media(max-width:782px){body.admin-bar .dc-palette-launch{top:54px!important;}body.admin-bar .dc-palette-panel{top:104px!important;}}
/* Make the toggle visible above header, navigation and seasonal overlays. */
body .dc-palette-launch{z-index:2147483000!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
body .dc-palette-panel{z-index:2147483001!important;}
