/* TBWS Core: site-wide dark theme (same palette as the dark home map). Active when <html data-tbws-theme="dark">. */
html[data-tbws-theme=dark]{color-scheme:dark;
--wp--preset--color--base:#0B1724;--wp--preset--color--contrast:#EEF2F6;
--wp--preset--color--accent-1:#F2B544;--wp--preset--color--accent-2:#142638;--wp--preset--color--accent-3:#8EC1EE;
--wp--preset--color--accent-4:#9AABBB;--wp--preset--color--accent-5:#0F1E2E;--wp--preset--color--accent-6:#22364B;
--wp--preset--color--white:#0F1E2E;--wp--preset--color--black:#EEF2F6;
background:#0B1724}
html[data-tbws-theme=dark] body{background-color:#0B1724;color:#EEF2F6}
html[data-tbws-theme=dark] a:where(:not(.wp-element-button)):hover{color:#EEF2F6}
/* buttons: amber like the primary action on the dark map */
html[data-tbws-theme=dark] :where(.wp-element-button,.wp-block-button__link){background-color:#F2B544;color:#0B1724}
html[data-tbws-theme=dark] :where(.wp-element-button,.wp-block-button__link):hover{background-color:#F6C76B;color:#0B1724}
html[data-tbws-theme=dark] .wp-block-navigation__responsive-container.is-menu-open{background-color:#0B1724;color:#EEF2F6}
html[data-tbws-theme=dark] hr,html[data-tbws-theme=dark] .wp-block-separator{border-color:#22364B;color:#22364B}
html[data-tbws-theme=dark] :where(table) :where(td,th){border-color:#22364B}
html[data-tbws-theme=dark] :where(input,select,textarea){color-scheme:dark}
html[data-tbws-theme=dark] :where(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),select,textarea){background-color:#0F1E2E;color:#EEF2F6;border-color:#2B4057}
html[data-tbws-theme=dark] ::placeholder{color:#7A8EA2}
html[data-tbws-theme=dark] :where(pre,code,kbd){background-color:#0F1E2E;color:#EEF2F6}
html[data-tbws-theme=dark] .wp-block-image img,html[data-tbws-theme=dark] .wp-block-post-featured-image img{filter:none}
/* TBWS Core guide blocks */
html[data-tbws-theme=dark] .tbws-quick{background:#0F1E2E}
html[data-tbws-theme=dark] .tbws-table td,html[data-tbws-theme=dark] .tbws-table th,html[data-tbws-theme=dark] .tbws-sources{border-color:rgba(255,255,255,.12)}
html[data-tbws-theme=dark] .tbws-pill--aligned{background:rgba(52,199,123,.16);color:#7EE2A8}
html[data-tbws-theme=dark] .tbws-pill--offset{background:rgba(242,181,68,.16);color:#F2B544}
html[data-tbws-theme=dark] .tbws-pill--none{background:rgba(240,90,80,.16);color:#FDA29B}
/* TBWS Community + Photo Sets */
html[data-tbws-theme=dark] .tbws-c{--c-accent:#F2B544;--c-accent-hover:#F6C76B;--c-ink:#EEF2F6;--c-muted:#9AABBB;--c-border:#22364B;--c-soft:#0F1E2E;--c-card:#12233A;--c-star:#F2B544;--c-star-off:#2B4057;--tbws-c-line:#2B4057}
html[data-tbws-theme=dark] .tbws-c-btn--primary,html[data-tbws-theme=dark] .tbws-c-scale input:checked+label,html[data-tbws-theme=dark] .tbws-c-avatar{color:#0B1724!important}
html[data-tbws-theme=dark] .tbws-c-sort a[aria-current]{background:#EEF2F6;border-color:#EEF2F6;color:#0B1724}
html[data-tbws-theme=dark] .tbws-c input[type=email],html[data-tbws-theme=dark] .tbws-c input[type=month],html[data-tbws-theme=dark] .tbws-c input[type=password],html[data-tbws-theme=dark] .tbws-c input[type=text],html[data-tbws-theme=dark] .tbws-c input[type=number],html[data-tbws-theme=dark] .tbws-c input[type=search],html[data-tbws-theme=dark] .tbws-c select,html[data-tbws-theme=dark] .tbws-c textarea,html[data-tbws-theme=dark] .comment-form-seat input,html[data-tbws-theme=dark] .tbws-c-login-extra input{background:#0F1E2E;color:#EEF2F6;border-color:#2B4057}
html[data-tbws-theme=dark] .tbws-c-drop{border-color:#2B4057}
html[data-tbws-theme=dark] .tbws-c-btn--danger,html[data-tbws-theme=dark] .tbws-c-link-btn{color:#FDA29B!important;border-color:rgba(253,162,155,.4)}
html[data-tbws-theme=dark] .tbws-c-btn--danger:hover{background:rgba(240,90,80,.12)}
html[data-tbws-theme=dark] .tbws-c-notice--ok,html[data-tbws-theme=dark] .tbws-c-status--live{background:rgba(52,199,123,.14);border-color:rgba(52,199,123,.4);color:#7EE2A8}
html[data-tbws-theme=dark] .tbws-c-notice--error{background:rgba(240,90,80,.14);border-color:rgba(253,162,155,.45);color:#FDA29B}
html[data-tbws-theme=dark] .tbws-c-status--pending{background:rgba(242,181,68,.14);color:#F2B544}
html[data-tbws-theme=dark] .tbws-c-seat{background:#142638;color:#8EC1EE}
html[data-tbws-theme=dark] .tbws-c a:focus-visible,html[data-tbws-theme=dark] .tbws-c button:focus-visible,html[data-tbws-theme=dark] .tbws-c input:focus-visible,html[data-tbws-theme=dark] .tbws-c select:focus-visible,html[data-tbws-theme=dark] .tbws-c textarea:focus-visible,html[data-tbws-theme=dark] .tbws-c-btn:focus-visible,html[data-tbws-theme=dark] .tbws-c-scale input:focus-visible+label{outline-color:#8EC1EE}
/* comments */
html[data-tbws-theme=dark] .wp-block-comments :where(input,textarea){background:#0F1E2E;color:#EEF2F6;border-color:#2B4057}
/* theme switch in the header */
.tbws-theme{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:36px;height:36px;margin-left:.35rem;padding:0;border:1px solid rgba(127,127,127,.35);border-radius:50%;background:transparent;color:inherit;cursor:pointer}
.tbws-theme:hover{background:rgba(127,127,127,.15)}
.tbws-theme:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.tbws-theme svg{width:16px;height:16px}
.tbws-theme__sun{display:none;color:#F2B544}
html[data-tbws-theme=dark] .tbws-theme__sun{display:block}
html[data-tbws-theme=dark] .tbws-theme__moon{display:none}
@media (max-width:600px){.tbws-theme{width:32px;height:32px;margin-left:.15rem}}
/* Complianz cookie banner in brand colours (its default buttons were violet). Accept and Deny stay equally prominent. */
html[data-tbws-theme]{--cmplz_button_accept_background_color:#0E2238;--cmplz_button_accept_border_color:#0E2238;--cmplz_button_deny_background_color:#0E2238;--cmplz_button_deny_border_color:#0E2238;--cmplz_hyperlink_color:#1F5FA0;--cmplz_slider_active_color:#1F5FA0;--cmplz_text_color:#0E2238}
html[data-tbws-theme=dark]{--cmplz_banner_background_color:#0F1E2E;--cmplz_banner_border_color:#22364B;--cmplz_text_color:#EEF2F6;--cmplz_hyperlink_color:#8EC1EE;--cmplz_button_accept_background_color:#F2B544;--cmplz_button_accept_border_color:#F2B544;--cmplz_button_accept_text_color:#0B1724;--cmplz_button_deny_background_color:#F2B544;--cmplz_button_deny_border_color:#F2B544;--cmplz_button_deny_text_color:#0B1724;--cmplz_button_settings_background_color:#142638;--cmplz_button_settings_border_color:#2B4057;--cmplz_button_settings_text_color:#EEF2F6;--cmplz_slider_active_color:#8EC1EE;--cmplz_slider_inactive_color:#2B4057}
html[data-tbws-theme=dark] .cmplz-cookiebanner .cmplz-close,html[data-tbws-theme=dark] .cmplz-cookiebanner .cmplz-close svg{color:#EEF2F6;fill:#EEF2F6}
