/* Shared seasonal palettes. Normal retains the established EVERPEAK design. */
html[data-epv-theme="halloween"] {
  color-scheme:dark; --ep:#ff8a2b !important; --ep-dark:#db6813 !important; --ep-soft:#302117 !important; --brand:#ff8a2b !important; --ink:#f7f5f2 !important; --muted:#c0b8b1 !important; --line:#46372f !important; --bg:#0d0d0f !important;
  --season-surface:#191719 !important; --season-raised:#222024 !important; --season-ink:#f7f5f2 !important; --season-muted:#c0b8b1 !important; --season-accent:#ff8a2b !important; --season-soft:#302117 !important;
  --tblr-body-bg:#0d0d0f !important; --tblr-body-color:#f7f5f2 !important; --tblr-primary:#ff8a2b !important; --tblr-primary-rgb:255,138,43 !important;
}
html[data-epv-theme="christmas"] {
  --ep:#20584e; --ep-dark:#173e37; --ep-soft:#e6f0e9; --brand:#20584e; --ink:#263d34; --muted:#657c70; --line:#d9e6dd; --bg:#f4f8f5;
  --season-surface:#fff; --season-raised:#f1f6f2; --season-ink:#263d34; --season-muted:#657c70; --season-accent:#20584e; --season-soft:#e6f0e9;
}
html:is([data-epv-theme="halloween"],[data-epv-theme="christmas"]) body {background:var(--bg); color:var(--ink);}
html[data-epv-theme="halloween"] :is(.studio-app,.public-site,.support-site,.auth-page,.auth-shell,.auth-card) {background:var(--bg); color:var(--ink);}
html[data-epv-theme="halloween"] :is(.card,.modal-panel,.modal-body,.modal-footer,.modal-panel>header,.shared-header,.shared-navigation,.mobile-bottom-navigation,.profile-popover,.navigation-popover,.team-member-menu,.teammate-menu,.settings-nav,.auth-card,.public-payment-card,.support-home-search,.support-article,.support-contact-card,.support-topbar,.business-mail-layout,.business-mail-panel,.business-mail-toolbar,.business-mail-row,.chat-main,.chat-list,.chat-thread,.chat-composer,.reference-chat,.chat-thread-list,.dropdown-menu,.public-nav,.portal-card,.team-member-stats,.profile-card-stats) {
  background:var(--season-surface)!important; color:var(--season-ink)!important; border-color:var(--line)!important;
}
html[data-epv-theme="halloween"] :is(.card,.modal-panel,.auth-page,.support-site,.workspace-content,.shared-header,.shared-navigation,.mobile-navigation-modal,.profile-popover,.mobile-bottom-navigation) :is(h1,h2,h3,h4,h5,h6,label,legend,strong,dt,dd,th,td,p,small) {color:var(--season-ink);}
html[data-epv-theme="halloween"] :is(.card,.auth-page,.support-site,.workspace-content) :is(p,small,.text-secondary,.text-muted,.form-hint) {color:var(--season-muted)!important;}
html[data-epv-theme="halloween"] :is(.form-control,.form-select,.control-block input,.control-block textarea,.mobile-navigation-search,.global-search,.team-directory-search,.business-mail-search,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),textarea,select) {
  background:#222024!important; color:#f7f5f2!important; border-color:#5a4840!important; caret-color:#ff8a2b;
}
html[data-epv-theme="halloween"] :is(input,textarea)::placeholder {color:#b1a69e!important;}
html[data-epv-theme="halloween"] option {background:#222024;color:#fff;}
html[data-epv-theme="halloween"] :is(.btn-primary,.btn-blue,.btn-azure,.btn-info) {background:#ff8a2b!important;border-color:#ff8a2b!important;color:#17110c!important;}
html[data-epv-theme="halloween"] :is(.btn-primary,.btn-blue,.btn-azure,.btn-info) :is(span,strong,small) {color:#17110c!important;}
html[data-epv-theme="halloween"] :is(.btn-outline-primary,.btn-outline-secondary,.btn-outline-info,.btn-outline-blue,.icon-btn,.profile-button) {background:transparent!important;color:#f7f5f2!important;border-color:#675044!important;}
html[data-epv-theme="halloween"] :is(.shared-navigation,.mobile-bottom-navigation,.mobile-nav-links,.settings-nav,.profile-popover,.teammate-menu,.navigation-popover) :is(a,button) {color:#f7f5f2!important;}
html[data-epv-theme="halloween"] :is(.shared-navigation,.mobile-bottom-navigation,.mobile-nav-links,.settings-nav,.profile-popover,.teammate-menu,.navigation-popover) :is(a,button):is(:hover,.active,[aria-current=page],[aria-expanded=true],.current-section) {background:#38251a!important;color:#ffb578!important;}
html[data-epv-theme="halloween"] :is(.page-heading h1,.section-head h2,.auth-card h1,.support-home h1,.workspace-content a:not(.btn),.support-site a:not(.btn)) {color:#ffad6b!important;}
html[data-epv-theme="halloween"] :is(.teammate-cover,.profile-cover) {background:linear-gradient(135deg,#4c2d1a,#211a19)!important;}
html[data-epv-theme="halloween"] :is(.team-avatar,.profile-avatar,.avatar) {background:#36261e!important;color:#ffb578!important;border-color:#191719!important;}
html[data-epv-theme="halloween"] :is(.table,.table-responsive,table,thead,tbody,tr,td,th) {background:transparent!important;color:#f7f5f2!important;border-color:#46372f!important;}
html[data-epv-theme="halloween"] :is(.table-tabs,.settings-nav,.card .section-head,.modal-footer) {border-color:#46372f!important;}
html[data-epv-theme="halloween"] :is(.table-tabs button,.settings-nav button,.business-mail-folders button) {color:#c0b8b1!important;}
html[data-epv-theme="halloween"] :is(.table-tabs button,.settings-nav button).active {background:#302117!important;color:#ffad6b!important;}
html[data-epv-theme="halloween"] :is(.header-brand,.public-brand,.auth-brand,.support-brand) img {filter:grayscale(1) brightness(0) invert(1);}
html[data-epv-theme="halloween"] :is(.status-pill,.team-presence,.badge,.notification-toggle,.misc-switch) {border-color:#665449;}
html[data-epv-theme="halloween"] .app-footer {color:#bfb5ad;border-color:#46372f;}
html[data-epv-theme="halloween"] .mobile-navigation-modal .modal-panel {background:#191719;}
html[data-epv-theme="halloween"] .mobile-navigation-modal .mobile-nav-links section h3 {color:#ffad6b;}
html[data-epv-theme="christmas"] :is(.teammate-cover,.profile-cover) {background:linear-gradient(135deg,#c4ded0,#f2f6ed 60%,#e8d3cf)!important;}
html[data-epv-theme="christmas"] :is(.page-heading h1,.section-head h2,.auth-card h1) {color:#20584e;}
html[data-epv-theme="christmas"] :is(.card,.modal-panel) {border-color:#d9e6dd;}
html[data-epv-theme="christmas"] .team-grid .teammate {box-shadow:0 4px 18px #20584e0c;}
html[data-epv-theme="christmas"] :is(.page-heading .eyebrow,.auth-eyebrow,.support-eyebrow) {color:#a04449;}
.epv-default-snow {position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden;pointer-events:none;z-index:0;opacity:.26;transform:translate3d(0,var(--scroll-y,0px),0);will-change:transform;}
.epv-default-snow>span {position:absolute;top:-24px;left:var(--x);animation:epv-shared-snow var(--duration) linear var(--delay) infinite both;}
.epv-default-snow svg {width:var(--size);height:var(--size);color:#d4e2dc;filter:drop-shadow(0 1px 1px #46675b66);}
@keyframes epv-shared-snow {from{transform:translate3d(0,0,0);opacity:.6}to{transform:translate3d(25px,calc(100dvh + 50px),0);opacity:.6}}
html[data-epv-theme="christmas"] body {background:transparent!important;}
html[data-epv-theme="christmas"] #root {position:relative;z-index:1;background:transparent!important;}
html[data-epv-theme="christmas"] :is(.studio-app,.app-body,.client-portal,.public-site,.support-site) {background-color:transparent!important;}
@media(prefers-reduced-motion:reduce){.epv-default-snow{display:none;}}
html[data-epv-theme="halloween"] :is(.team-presence,.status-pill,.badge) {background:#302117!important;color:#ffd0a1!important;border-color:#61402b!important;}
html[data-epv-theme="halloween"] :is(.team-presence.online i,.status-pill:before) {background:#ff8a2b!important;}
html[data-epv-theme="halloween"] .team-presence.offline {background:#2a2729!important;color:#c0b8b1!important;}
html[data-epv-theme="halloween"] :is(.misc-switch,.preference-switch) {border-color:#665044;}
html[data-epv-theme="halloween"] .help-center {--hc-ink:#f7f5f2;--hc-green:#ff8a2b;--hc-deep:#211811;--hc-muted:#c0b8b1;--hc-paper:#0d0d0f;--hc-border:#46372f;--hc-mint:#302117;}
html[data-epv-theme="halloween"] .help-center :is(.help-header,.help-footer,.help-topic-card,.help-featured-card,.help-feature-article,.help-article-row,.help-quick-contact,.help-hours-strip,.help-article-body,.help-page-body,.help-faq-answer,.help-search,.help-category-nav,.help-contact-card) {background:#191719!important;color:#f7f5f2!important;border-color:#46372f!important;}
html[data-epv-theme="halloween"] .help-center .help-hero {background:linear-gradient(125deg,#201714,#462a18)!important;}
html[data-epv-theme="halloween"] .help-center :is(.help-topic-icon,.help-icon-circle,.help-hours-icon) {background:#302117;color:#ffad6b;}
html[data-epv-theme="halloween"] .help-center :is(.help-header,.help-footer) a {color:#f7f5f2!important;}
html[data-epv-theme="halloween"] .help-center .help-header a.active {background:#302117!important;}
html[data-epv-theme="halloween"] .support-site a.help-primary {background:#ff8a2b!important;color:#17110c!important;border-color:#ff8a2b!important;}
html[data-epv-theme="halloween"] .profile-read-value {color:#f7f5f2!important;}
html[data-epv-theme="halloween"] .photo-remove-button {background:#222024!important;color:#e8d9d0!important;border-color:#675044!important;}
html[data-epv-theme="halloween"] :is(input[type=checkbox],input[type=radio]) {accent-color:#ff8a2b;}
html[data-epv-theme="christmas"] .help-center {--hc-green:#20584e;--hc-deep:#173e37;--hc-paper:#f6f9f5;--hc-border:#d7e4da;--hc-mint:#edf4ef;}
html[data-epv-theme="christmas"] .help-center .help-eyebrow {color:#f2cdc6;}
html[data-epv-theme="halloween"] .auth-story {background:linear-gradient(135deg,#211815,#462a18)!important;}
html[data-epv-theme="halloween"] .auth-icon {background:#302117!important;color:#ffad6b!important;}
html[data-epv-theme="halloween"] :is(.auth-box .eyebrow,.auth-box a,.password-visibility,.help-center .help-eyebrow,.help-center .help-section-kicker) {color:#ffb578!important;}
html[data-epv-theme="christmas"] .auth-story {background:linear-gradient(135deg,#173e37,#20584e 70%,#69403c);}
/* Core framework tokens also follow the public Halloween palette. */
html[data-epv-theme="halloween"] {
 --primary:#ff8a2b !important;--primary-darken:#db6813 !important;--primary-fg:#17110c !important;--primary-lt:#302117 !important;--primary-200:#49362b !important;--primary-rgb:255,138,43 !important;--primary-lt-rgb:48,33,23 !important;
 --blue:#ff8a2b !important;--blue-rgb:255,138,43 !important;--azure:#ff8a2b !important;--azure-rgb:255,138,43 !important;--info:#ff8a2b !important;--info-rgb:255,138,43 !important;--success:#ff8a2b !important;--success-rgb:255,138,43 !important;--green:#ff8a2b !important;--green-rgb:255,138,43 !important;
 --link-color:#ffad6b !important;--link-hover-color:#ffb578 !important;--link-color-rgb:255,173,107 !important;--link-hover-color-rgb:255,181,120 !important;--tblr-link-color:#ffad6b !important;--tblr-link-hover-color:#ffb578 !important;
}
html[data-epv-theme="halloween"] .preference-switch[aria-checked="true"] {background:#ff8a2b!important;border-color:#ff8a2b!important;}
html[data-epv-theme="halloween"] .preference-switch[aria-checked="false"] {background:#454047!important;border-color:#6b636b!important;}
html[data-epv-theme="halloween"] .preference-switch i {background:#fff!important;box-shadow:0 1px 4px #0005!important;}
html[data-epv-theme="halloween"] :is(.preference-icon,.code-login-emblem,.code-delivery-note,.verification-tabs,.verification-boxes>span) {background:#222024!important;color:#ffad6b!important;border-color:#675044!important;}
html[data-epv-theme="halloween"] .verification-boxes>.has-digit {background:#302117!important;color:#fff!important;border-color:#ff8a2b!important;}
html[data-epv-theme="halloween"] .verification-code:focus-within .is-current {background:#302117!important;border-color:#ff8a2b!important;box-shadow:0 0 0 3px #ff8a2b25!important;}
html[data-epv-theme="halloween"] :is(.verification-tabs>button[aria-selected="true"],.code-login-form .verification-tabs>button[aria-selected="true"]) {background:#302117!important;color:#ffad6b!important;}
html[data-epv-theme="halloween"] :is(.form-control,.form-select,input,textarea,select):focus {border-color:#ff8a2b!important;outline-color:#ff8a2b!important;box-shadow:0 0 0 3px #ff8a2b20!important;}
html[data-epv-theme="halloween"] .code-login-form {background:#191719!important;}
html[data-epv-theme="halloween"],html[data-epv-theme="halloween"] body * {scrollbar-color:#939393 transparent!important;}
html[data-epv-theme="halloween"] ::-webkit-scrollbar-thumb {background-color:#939393!important;}
html[data-epv-theme="halloween"] ::-webkit-scrollbar-thumb:hover {background-color:#b5b5b5!important;}
html[data-epv-theme="halloween"] {--danger:#ff8a2b!important;--danger-rgb:255,138,43!important;--red:#ff8a2b!important;--red-rgb:255,138,43!important;}
html[data-epv-theme="halloween"] :is(.btn-outline-danger,.text-danger,.danger-link,.error-box) {color:#ffad6b!important;border-color:#875b36!important;background:transparent!important;}
html[data-epv-theme="halloween"] .btn-danger {background:#ff8a2b!important;border-color:#ff8a2b!important;color:#17110c!important;}
/* Halloween presence: white when offline, orange when online. */
html[data-epv-theme="halloween"] .team-presence.offline {color:#fff!important;background:#222024!important;border-color:#666!important;}
html[data-epv-theme="halloween"] .team-presence.offline i {background:#fff!important;box-shadow:none!important;}
html[data-epv-theme="halloween"] .team-presence.online {color:#ff8a2b!important;background:#302117!important;border-color:#875b36!important;}
html[data-epv-theme="halloween"] .team-presence.online i {background:#ff8a2b!important;box-shadow:0 0 0 2px #ff8a2b20!important;}
