/* ==========================================================================
   EZ SOLUTIONS - FRIDAY (osTicket Awesome) theme, same look as PEPPER and KAREN.
   GENERATED by theme/build_theme.py from theme/palette.json - do not edit by hand.
   Loaded after Awesome's CSS and the pasted Custom CSS (Apache, 17-install-theme.sh).
   ========================================================================== */

/* ---------- 1. Palette (PEPPER / KAREN) ---------- */
:root {
  --ezs-bg: #F7F4EF; --ezs-surface: #FFFFFF; --ezs-surface-2: #F1ECE5; --ezs-nav: #1F1C19; --ezs-nav-text: #F3EEE7;
  --ezs-text: #1F1C19; --ezs-muted-w: #6E665D; --ezs-line-w: #E4DDD3; --ezs-accent: #B4532F; --ezs-accent-dark: #96421F;
  --ezs-accent-soft: #F6E3D9; --ezs-gold: #B8923F; --ezs-gold-soft: #F3EAD3;
  --ezs-s1: #D8B76A; --ezs-s2: #D8B76A; --ezs-s3: #D8B76A; --ezs-b1: #B4532F; --ezs-b2: #1F1C19; --ezs-b3: #B8923F;
  --ezs-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, "Noto Sans", Arial, sans-serif;
  --ezs-head-grad: linear-gradient(90deg, rgba(0,0,0,.24), rgba(0,0,0,.14) 50%, rgba(0,0,0,.30)),
                   linear-gradient(100deg, var(--ezs-b1) 0%, var(--ezs-b2) 50%, var(--ezs-b3) 100%);
  --ezs-line-grad: linear-gradient(90deg, #FFD84D, var(--ezs-b1), var(--ezs-b2), var(--ezs-b3), #FFD84D);
  /* big surfaces (portal welcome panel, staff login): dark warm EZ with only a hint of the season */
  --ezs-soft-grad: linear-gradient(135deg, color-mix(in srgb, var(--ezs-b1) 28%, #1F1C19) 0%, #1F1C19 55%,
                   color-mix(in srgb, var(--ezs-b3) 24%, #1F1C19) 100%);
}
html[data-ezs-theme="off"] {
  --ezs-head-grad: linear-gradient(100deg, #1F1C19 0%, #2A2622 55%, #3A332C 100%);
  --ezs-soft-grad: linear-gradient(135deg, #2A2622 0%, #1F1C19 55%, #3A332C 100%);
  --ezs-line-grad: linear-gradient(90deg, #B8923F, #D8B76A, #B8923F);
}

/* ---------- 2. FRIDAY branding tokens (pasted Custom CSS) -> PEPPER palette ---------- */
:root {
  --ezs-teal-950: #1F1C19 !important; --ezs-teal-900: #2A2622 !important; --ezs-teal-800: #3A332C !important;
  --ezs-teal: #B4532F !important; --ezs-teal-600: #C8693F !important;
  --ezs-mint: #D8B76A !important; --ezs-mint-200: #F3EAD3 !important; --ezs-mint-50: #FBF8F3 !important;
  --ezs-ink: #1F1C19 !important; --ezs-body: #3B352F !important; --ezs-muted: #6E665D !important; --ezs-line: #E4DDD3 !important;
  --ezs-shadow: 0 1px 2px rgba(31,28,25,.06), 0 12px 32px -12px rgba(31,28,25,.18) !important;
  --ezs-shadow-lg: 0 2px 4px rgba(31,28,25,.06), 0 28px 60px -20px rgba(31,28,25,.35) !important;
  --ezs-grad: var(--ezs-soft-grad) !important;
  --ezs-font-head: var(--ezs-font) !important; --ezs-font-body: var(--ezs-font) !important;
}

/* osTicket Awesome theme variables (staff panel + client portal), LIGHT only. Set on body, not :root: Awesome's dark
   mode (body.dark-mode + dark-mode.css, which sets these on :root with !important) must keep its own values. */
body:not(.dark-mode) {
  --header-bg: #1F1C19 !important; --header-title: #FFFFFF !important; --header-title-hover: #F3EAD3 !important;
  --header-title-color: #1F1C19 !important;
  --nav-bar-bg: #F1ECE5 !important; --nav-bar-link: #1F1C19 !important; --nav-bar-link-hover: #B4532F !important;
  --mobile-menu-bg: #1F1C19 !important; --mobile-link-color: #F3EEE7 !important; --stickybar: #F1ECE5 !important;
  --color-accent-link: #B4532F !important; --color-border-focus: #B8923F !important;
  --color-accent-active-tab: #1F1C19 !important; --color-bg-page: #F7F4EF !important;
  --color-border-default: #E4DDD3 !important; --color-border-input: #D9D0C4 !important;
}

/* ---------- 3. Staff panel header: season / holiday gradient like PEPPER's top bar ---------- */
body:not(.client-side):not(#loginBody):not(.dark-mode) #header {
  position: relative;
  background-color: #1F1C19 !important;
  background-image: var(--ezs-head-grad) !important;
  border-bottom: 3px solid transparent !important;
  border-image: var(--ezs-line-grad) 1 !important;
}
body:not(.client-side):not(#loginBody):not(.dark-mode) #header a,
body:not(.client-side):not(#loginBody):not(.dark-mode) #header p { color: #FFFFFF !important; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
body:not(.client-side):not(.dark-mode) #sub_nav { background: #F1ECE5 !important; }
body:not(.client-side):not(.dark-mode) #nav li.active a,
body:not(.client-side):not(.dark-mode) #nav li a.active { color: #B4532F !important; }

/* ---------- 3b. Staff panel in Awesome's dark mode: PEPPER's dark palette (graphite + bright copper) ---------- */
body.dark-mode {
  --header-bg: #0B0C0E !important; --header-title: #F0EBE4 !important; --header-title-hover: #F0956F !important;
  --nav-bar-bg: #1B1D21 !important; --nav-bar-link: #ECE7E0 !important; --nav-bar-link-hover: #E07A52 !important;
  --stickybar: #1B1D21 !important; --mobile-menu-bg: #0B0C0E !important; --mobile-link-color: #ECE7E0 !important;
  --color-accent-link: #E07A52 !important; --color-border-focus: #D8B76A !important;
}
body.dark-mode:not(.client-side):not(#loginBody) #header {
  position: relative;
  background-color: #0B0C0E !important;
  /* same season / holiday gradient, a little dimmer so holidays still show but don't glare */
  background-image: linear-gradient(rgba(11,12,14,.35), rgba(11,12,14,.35)), var(--ezs-head-grad) !important;
  border-bottom: 3px solid transparent !important;
  border-image: var(--ezs-line-grad) 1 !important;
}
body.dark-mode #header a, body.dark-mode #header p { color: #F0EBE4 !important; }
body.dark-mode #sub_nav { background: #1B1D21 !important; }
body.dark-mode #nav li.active a, body.dark-mode #nav li a.active { color: #E07A52 !important; }
body.dark-mode #ezs-theme-switch { background: rgba(27,29,33,.95) !important; color: #ECE7E0 !important;
  border-color: #2F333A !important; }

/* ---------- 4. Client portal: header + nav bar, warm canvas instead of mint ---------- */
body.client-side {
  background: radial-gradient(1200px 600px at 100% -10%, rgba(216,183,106,.22), transparent 60%),
              radial-gradient(900px 500px at -10% 30%, rgba(180,83,47,.07), transparent 60%), #F7F4EF !important;
}
body.client-side #header { position: relative; background: var(--ezs-head-grad) !important;
  box-shadow: 0 8px 30px -12px rgba(31,28,25,.45) !important; }
body.client-side #nav-wrapper { background: rgba(31,28,25,.86) !important; border-bottom: 3px solid transparent !important;
  border-image: var(--ezs-line-grad) 1 !important; }
body.client-side #header-subtitle { color: #F3EAD3 !important; }
body.client-side #nav li a, body.client-side #nav li a.home { color: #F3EEE7 !important; }
body.client-side #nav li a.home svg path { fill: #F3EEE7 !important; }
body.client-side #nav li a:hover, body.client-side #nav li a.active { background: rgba(255,255,255,.14) !important; color: #FFFFFF !important; }
/* primary buttons: solid copper like PEPPER */
body.client-side .searchArea button, body.client-side .client-choice #sign-in-button:not(.check-status),
body.client-side #new-ticket #sign-in-button, body.client-side #clientLogin input[type=submit],
body.client-side input[type=submit], body.client-side .button.action-button {
  background: #B4532F !important; border-color: #B4532F !important; color: #FFFFFF !important; }
body.client-side .searchArea button:hover, body.client-side #clientLogin input[type=submit]:hover,
body.client-side input[type=submit]:hover { background: #96421F !important; }
body.client-side #check-status #sign-in-button { background: #FFFFFF !important; color: #B4532F !important;
  border: 1.5px solid #B4532F !important; }
body.client-side .thread-entry.response .header { background: #F3EAD3 !important; }
body.client-side .searchArea button, body.client-side .client-choice #sign-in-button,
body.client-side #clientLogin input[type=submit] { box-shadow: 0 10px 24px -12px rgba(180,83,47,.75) !important; }
body.client-side #compliance { border-color: #E4DDD3 !important; }
body.client-side #complaince-button { background: #D8B76A !important; color: #1F1C19 !important; }
body.client-side #footer svg path { fill: rgba(243,234,211,.6) !important; }
/* FT-2: Awesome resets #clientLogin to display:initial (inline); the pasted Custom CSS gives it a white card, which an
   inline box draws as two small rounded stubs above and below the access-link card. Make it a block; on the
   access-link / sign-in page (#check-ticket inside) the inner .client-choice card already is the card. */
body.client-side #clientLogin { display: block; }
body.client-side #clientLogin:has(> #check-ticket) { background: transparent !important; border: 0 !important;
  box-shadow: none !important; padding: 0 !important; }
/* FT-3: Awesome keeps the client nav bar 24px high with overflow hidden; the 31px pills got their bottom cut off. */
body.client-side #nav-wrapper, body.client-side #nav-inner { height: 38px; }
body.client-side #nav { height: 38px; box-sizing: border-box; padding-top: 3px; }
/* FT-4: the page background behind short client pages was still the old teal (#167471). */
html:has(> body.client-side) { background-color: var(--ezs-nav) !important; }

/* ---------- 5. Staff login ---------- */
body#loginBody { background: var(--ezs-soft-grad), #1F1C19 !important; }
body#loginBody #loginBox button.submit { background: #B4532F !important; }
body#loginBody #loginBox input:focus { border-color: #B8923F !important; box-shadow: 0 0 0 4px rgba(216,183,106,.40) !important; }
body#loginBody #loginBox button.submit { box-shadow: 0 10px 24px -12px rgba(180,83,47,.85) !important; }

/* ---------- 6. Holiday icons (PEPPER's three small marks) ---------- */
body:not(.client-side):not(#loginBody) #header::after, body.client-side #header::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; display: none;
}
body.dark-mode #header::after { opacity: .8; }
@keyframes ezsTwinkle { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- 7. Seasons ---------- */
html[data-ezs-season="winter"]:not([data-ezs-theme="off"]) { --ezs-s1:#5BC0FF;--ezs-s2:#B8E8FF;--ezs-s3:#7B8CFF;--ezs-b1:#5BC0FF;--ezs-b2:#7B8CFF;--ezs-b3:#B8E8FF; }
html[data-ezs-season="spring"]:not([data-ezs-theme="off"]) { --ezs-s1:#4CC97A;--ezs-s2:#FF8FC4;--ezs-s3:#FFD84D;--ezs-b1:#4CC97A;--ezs-b2:#FFD84D;--ezs-b3:#FF8FC4; }
html[data-ezs-season="summer"]:not([data-ezs-theme="off"]) { --ezs-s1:#FFB020;--ezs-s2:#FF6A3D;--ezs-s3:#1EC8F0;--ezs-b1:#FFB020;--ezs-b2:#1EC8F0;--ezs-b3:#FF6A3D; }
html[data-ezs-season="fall"]:not([data-ezs-theme="off"]) { --ezs-s1:#E8833A;--ezs-s2:#B5452A;--ezs-s3:#8E4FC9;--ezs-b1:#E8833A;--ezs-b2:#8E4FC9;--ezs-b3:#B5452A; }

/* ---------- 8. Holidays (take over from the season) ---------- */
/* New Year */
html[data-ezs-holiday="new_year"]:not([data-ezs-theme="off"]) { --ezs-s1:#FFD84D;--ezs-s2:#1B2A4A;--ezs-s3:#C9A227;--ezs-b1:#FFD84D;--ezs-b2:#C9A227;--ezs-b3:#1B2A4A; }
html[data-ezs-holiday="new_year"]:not([data-ezs-theme="off"]) body:not(.client-side):not(#loginBody) #header::after, html[data-ezs-holiday="new_year"]:not([data-ezs-theme="off"]) body.client-side #header::after { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2' y='3' width='4' height='2' fill='%23FFD84D' transform='rotate%2825 4 4%29'/%3E%3Ccircle cx='11' cy='5' r='1.6' fill='%23FFFFFF'/%3E%3Crect x='6' y='10' width='4' height='2' fill='%23FFD84D' transform='rotate%28-30 8 11%29'/%3E%3C/svg%3E") no-repeat 58% 5px / 13px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0l1.8 6.2L16 8l-6.2 1.8L8 16l-1.8-6.2L0 8l6.2-1.8z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat 74% 70% / 10px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2' y='3' width='4' height='2' fill='%23C9A227' transform='rotate%2825 4 4%29'/%3E%3Ccircle cx='11' cy='5' r='1.6' fill='%23FFFFFF'/%3E%3Crect x='6' y='10' width='4' height='2' fill='%23C9A227' transform='rotate%28-30 8 11%29'/%3E%3C/svg%3E") no-repeat 36% 15% / 12px; }
/* Juneteenth (calm) */
html[data-ezs-holiday="juneteenth"]:not([data-ezs-theme="off"]) { --ezs-s1:#C8102E;--ezs-s2:#F2C230;--ezs-s3:#1E7B3C;--ezs-b1:#C8102E;--ezs-b2:#1E7B3C;--ezs-b3:#F2C230; }
/* Independence Day */
html[data-ezs-holiday="independence"]:not([data-ezs-theme="off"]) { --ezs-s1:#B22234;--ezs-s2:#3C3B6E;--ezs-s3:#4F8FE0;--ezs-b1:#B22234;--ezs-b2:#4F8FE0;--ezs-b3:#3C3B6E; }
html[data-ezs-holiday="independence"]:not([data-ezs-theme="off"]) body:not(.client-side):not(#loginBody) #header::after, html[data-ezs-holiday="independence"]:not([data-ezs-theme="off"]) body.client-side #header::after { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0L9 6L15 4L10 8L15 12L9 10L8 16L7 10L1 12L6 8L1 4L7 6Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat 58% 5px / 13px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0L9 6L15 4L10 8L15 12L9 10L8 16L7 10L1 12L6 8L1 4L7 6Z' fill='%23FF6B6B'/%3E%3C/svg%3E") no-repeat 74% 70% / 10px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1l2.1 4.6 5 .5-3.8 3.4 1.1 4.9L8 12l-4.4 2.4 1.1-4.9L.9 6.1l5-.5z' fill='%239CC3FF'/%3E%3C/svg%3E") no-repeat 36% 15% / 12px; }
/* Veterans Day (calm) */
html[data-ezs-holiday="veterans"]:not([data-ezs-theme="off"]) { --ezs-s1:#4B5320;--ezs-s2:#B22234;--ezs-s3:#1F2F4D;--ezs-b1:#4B5320;--ezs-b2:#1F2F4D;--ezs-b3:#B22234; }
/* Memorial Day (calm) */
html[data-ezs-holiday="memorial"]:not([data-ezs-theme="off"]) { --ezs-s1:#7A1F2B;--ezs-s2:#C9CED6;--ezs-s3:#1F2F4D;--ezs-b1:#7A1F2B;--ezs-b2:#1F2F4D;--ezs-b3:#C9CED6; }
/* Martin Luther King Jr. Day (calm) */
html[data-ezs-holiday="mlk"]:not([data-ezs-theme="off"]) { --ezs-s1:#3E6FB0;--ezs-s2:#8FB3E0;--ezs-s3:#24456E;--ezs-b1:#3E6FB0;--ezs-b2:#24456E;--ezs-b3:#8FB3E0; }
/* Presidents' Day (calm) */
html[data-ezs-holiday="presidents"]:not([data-ezs-theme="off"]) { --ezs-s1:#B22234;--ezs-s2:#FFFFFF;--ezs-s3:#3C3B6E;--ezs-b1:#B22234;--ezs-b2:#3C3B6E;--ezs-b3:#FFFFFF; }
/* Columbus Day / Indigenous Peoples' Day (calm) */
html[data-ezs-holiday="columbus"]:not([data-ezs-theme="off"]) { --ezs-s1:#B5652A;--ezs-s2:#3D7A6B;--ezs-s3:#D9A441;--ezs-b1:#B5652A;--ezs-b2:#D9A441;--ezs-b3:#3D7A6B; }
/* Labor Day */
html[data-ezs-holiday="labor"]:not([data-ezs-theme="off"]) { --ezs-s1:#B22234;--ezs-s2:#3C3B6E;--ezs-s3:#E8A33A;--ezs-b1:#B22234;--ezs-b2:#E8A33A;--ezs-b3:#3C3B6E; }
html[data-ezs-holiday="labor"]:not([data-ezs-theme="off"]) body:not(.client-side):not(#loginBody) #header::after, html[data-ezs-holiday="labor"]:not([data-ezs-theme="off"]) body.client-side #header::after { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1l2.1 4.6 5 .5-3.8 3.4 1.1 4.9L8 12l-4.4 2.4 1.1-4.9L.9 6.1l5-.5z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat 58% 5px / 13px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1l2.1 4.6 5 .5-3.8 3.4 1.1 4.9L8 12l-4.4 2.4 1.1-4.9L.9 6.1l5-.5z' fill='%23E8A33A'/%3E%3C/svg%3E") no-repeat 74% 70% / 10px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0l1.8 6.2L16 8l-6.2 1.8L8 16l-1.8-6.2L0 8l6.2-1.8z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat 36% 15% / 12px; }
/* Valentine's Day */
html[data-ezs-holiday="valentines"]:not([data-ezs-theme="off"]) { --ezs-s1:#FF4F8B;--ezs-s2:#FFB3CC;--ezs-s3:#C2185B;--ezs-b1:#FF4F8B;--ezs-b2:#C2185B;--ezs-b3:#FFB3CC; }
html[data-ezs-holiday="valentines"]:not([data-ezs-theme="off"]) body:not(.client-side):not(#loginBody) #header::after, html[data-ezs-holiday="valentines"]:not([data-ezs-theme="off"]) body.client-side #header::after { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 14.5C8 14.5 1.5 10.4 1.5 5.9A3.3 3.3 0 0 1 8 4.1A3.3 3.3 0 0 1 14.5 5.9C14.5 10.4 8 14.5 8 14.5Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat 58% 5px / 13px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 14.5C8 14.5 1.5 10.4 1.5 5.9A3.3 3.3 0 0 1 8 4.1A3.3 3.3 0 0 1 14.5 5.9C14.5 10.4 8 14.5 8 14.5Z' fill='%23FFB3CC'/%3E%3C/svg%3E") no-repeat 74% 70% / 10px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 14.5C8 14.5 1.5 10.4 1.5 5.9A3.3 3.3 0 0 1 8 4.1A3.3 3.3 0 0 1 14.5 5.9C14.5 10.4 8 14.5 8 14.5Z' fill='%23FF4F8B'/%3E%3C/svg%3E") no-repeat 36% 15% / 12px; }
/* St. Patrick's Day */
html[data-ezs-holiday="st_patricks"]:not([data-ezs-theme="off"]) { --ezs-s1:#2FB34A;--ezs-s2:#9BE15D;--ezs-s3:#D4AF37;--ezs-b1:#2FB34A;--ezs-b2:#D4AF37;--ezs-b3:#9BE15D; }
html[data-ezs-holiday="st_patricks"]:not([data-ezs-theme="off"]) body:not(.client-side):not(#loginBody) #header::after, html[data-ezs-holiday="st_patricks"]:not([data-ezs-theme="off"]) body.client-side #header::after { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='8' cy='4.6' r='3.3'/%3E%3Ccircle cx='4.4' cy='8.6' r='3.3'/%3E%3Ccircle cx='11.6' cy='8.6' r='3.3'/%3E%3Crect x='7.3' y='9' width='1.4' height='6.5' rx='.7'/%3E%3C/g%3E%3C/svg%3E") no-repeat 58% 5px / 13px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='%239BE15D'%3E%3Ccircle cx='8' cy='4.6' r='3.3'/%3E%3Ccircle cx='4.4' cy='8.6' r='3.3'/%3E%3Ccircle cx='11.6' cy='8.6' r='3.3'/%3E%3Crect x='7.3' y='9' width='1.4' height='6.5' rx='.7'/%3E%3C/g%3E%3C/svg%3E") no-repeat 74% 70% / 10px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0l1.8 6.2L16 8l-6.2 1.8L8 16l-1.8-6.2L0 8l6.2-1.8z' fill='%23D4AF37'/%3E%3C/svg%3E") no-repeat 36% 15% / 12px; }
/* Easter */
html[data-ezs-holiday="easter"]:not([data-ezs-theme="off"]) { --ezs-s1:#F6B8D1;--ezs-s2:#B8E0F6;--ezs-s3:#FFF1A8;--ezs-b1:#F6B8D1;--ezs-b2:#FFF1A8;--ezs-b3:#B8E0F6; }
html[data-ezs-holiday="easter"]:not([data-ezs-theme="off"]) body:not(.client-side):not(#loginBody) #header::after, html[data-ezs-holiday="easter"]:not([data-ezs-theme="off"]) body.client-side #header::after { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cellipse cx='8' cy='8.8' rx='5' ry='6.5' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat 58% 5px / 13px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cellipse cx='8' cy='8.8' rx='5' ry='6.5' fill='%23FFF1A8'/%3E%3C/svg%3E") no-repeat 74% 70% / 10px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='%23F6B8D1'%3E%3Ccircle cx='8' cy='3.5' r='2.6'/%3E%3Ccircle cx='12.3' cy='6.8' r='2.6'/%3E%3Ccircle cx='10.7' cy='12' r='2.6'/%3E%3Ccircle cx='5.3' cy='12' r='2.6'/%3E%3Ccircle cx='3.7' cy='6.8' r='2.6'/%3E%3C/g%3E%3Ccircle cx='8' cy='8.5' r='2' fill='%23FFE08A'/%3E%3C/svg%3E") no-repeat 36% 15% / 12px; }
/* Mother's Day */
html[data-ezs-holiday="mothers"]:not([data-ezs-theme="off"]) { --ezs-s1:#F28DB2;--ezs-s2:#C7A6F0;--ezs-s3:#FFD1DC;--ezs-b1:#F28DB2;--ezs-b2:#FFD1DC;--ezs-b3:#C7A6F0; }
html[data-ezs-holiday="mothers"]:not([data-ezs-theme="off"]) body:not(.client-side):not(#loginBody) #header::after, html[data-ezs-holiday="mothers"]:not([data-ezs-theme="off"]) body.client-side #header::after { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='8' cy='3.5' r='2.6'/%3E%3Ccircle cx='12.3' cy='6.8' r='2.6'/%3E%3Ccircle cx='10.7' cy='12' r='2.6'/%3E%3Ccircle cx='5.3' cy='12' r='2.6'/%3E%3Ccircle cx='3.7' cy='6.8' r='2.6'/%3E%3C/g%3E%3Ccircle cx='8' cy='8.5' r='2' fill='%23FFE08A'/%3E%3C/svg%3E") no-repeat 58% 5px / 13px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 14.5C8 14.5 1.5 10.4 1.5 5.9A3.3 3.3 0 0 1 8 4.1A3.3 3.3 0 0 1 14.5 5.9C14.5 10.4 8 14.5 8 14.5Z' fill='%23FFD1DC'/%3E%3C/svg%3E") no-repeat 74% 70% / 10px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='%23F28DB2'%3E%3Ccircle cx='8' cy='3.5' r='2.6'/%3E%3Ccircle cx='12.3' cy='6.8' r='2.6'/%3E%3Ccircle cx='10.7' cy='12' r='2.6'/%3E%3Ccircle cx='5.3' cy='12' r='2.6'/%3E%3Ccircle cx='3.7' cy='6.8' r='2.6'/%3E%3C/g%3E%3Ccircle cx='8' cy='8.5' r='2' fill='%23FFE08A'/%3E%3C/svg%3E") no-repeat 36% 15% / 12px; }
/* Father's Day */
html[data-ezs-holiday="fathers"]:not([data-ezs-theme="off"]) { --ezs-s1:#2E6DB4;--ezs-s2:#7FB3E8;--ezs-s3:#1F3B5C;--ezs-b1:#2E6DB4;--ezs-b2:#1F3B5C;--ezs-b3:#7FB3E8; }
html[data-ezs-holiday="fathers"]:not([data-ezs-theme="off"]) body:not(.client-side):not(#loginBody) #header::after, html[data-ezs-holiday="fathers"]:not([data-ezs-theme="off"]) body.client-side #header::after { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1l2.1 4.6 5 .5-3.8 3.4 1.1 4.9L8 12l-4.4 2.4 1.1-4.9L.9 6.1l5-.5z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat 58% 5px / 13px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1l2.1 4.6 5 .5-3.8 3.4 1.1 4.9L8 12l-4.4 2.4 1.1-4.9L.9 6.1l5-.5z' fill='%237FB3E8'/%3E%3C/svg%3E") no-repeat 74% 70% / 10px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0l1.8 6.2L16 8l-6.2 1.8L8 16l-1.8-6.2L0 8l6.2-1.8z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat 36% 15% / 12px; }
/* Halloween */
html[data-ezs-holiday="halloween"]:not([data-ezs-theme="off"]) { --ezs-s1:#FF7A1A;--ezs-s2:#7B2FF7;--ezs-s3:#1B1033;--ezs-b1:#FF7A1A;--ezs-b2:#1B1033;--ezs-b3:#7B2FF7; }
html[data-ezs-holiday="halloween"]:not([data-ezs-theme="off"]) body:not(.client-side):not(#loginBody) #header::after, html[data-ezs-holiday="halloween"]:not([data-ezs-theme="off"]) body.client-side #header::after { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cellipse cx='8' cy='9.5' rx='6.5' ry='5.5' fill='%23FF7A1A'/%3E%3Crect x='7.2' y='1.5' width='1.6' height='3.5' rx='.6' fill='%233A6B1E'/%3E%3C/svg%3E") no-repeat 58% 5px / 13px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0l1.8 6.2L16 8l-6.2 1.8L8 16l-1.8-6.2L0 8l6.2-1.8z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat 74% 70% / 10px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cellipse cx='8' cy='9.5' rx='6.5' ry='5.5' fill='%23FFB066'/%3E%3Crect x='7.2' y='1.5' width='1.6' height='3.5' rx='.6' fill='%233A6B1E'/%3E%3C/svg%3E") no-repeat 36% 15% / 12px; }
/* Thanksgiving */
html[data-ezs-holiday="thanksgiving"]:not([data-ezs-theme="off"]) { --ezs-s1:#C8702A;--ezs-s2:#8A4B1E;--ezs-s3:#E3B04B;--ezs-b1:#C8702A;--ezs-b2:#E3B04B;--ezs-b3:#8A4B1E; }
html[data-ezs-holiday="thanksgiving"]:not([data-ezs-theme="off"]) body:not(.client-side):not(#loginBody) #header::after, html[data-ezs-holiday="thanksgiving"]:not([data-ezs-theme="off"]) body.client-side #header::after { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 13.5C2.5 6.5 7 2.5 13.5 2.5C13.5 9.5 9 13.5 2.5 13.5Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat 58% 5px / 13px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 13.5C2.5 6.5 7 2.5 13.5 2.5C13.5 9.5 9 13.5 2.5 13.5Z' fill='%23E3B04B'/%3E%3C/svg%3E") no-repeat 74% 70% / 10px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 13.5C2.5 6.5 7 2.5 13.5 2.5C13.5 9.5 9 13.5 2.5 13.5Z' fill='%23FFB57A'/%3E%3C/svg%3E") no-repeat 36% 15% / 12px; }
/* Happy holidays */
html[data-ezs-holiday="winter_holidays"]:not([data-ezs-theme="off"]) { --ezs-s1:#C8102E;--ezs-s2:#1F7A3A;--ezs-s3:#E3C15B;--ezs-b1:#C8102E;--ezs-b2:#E3C15B;--ezs-b3:#1F7A3A; }
html[data-ezs-holiday="winter_holidays"]:not([data-ezs-theme="off"]) body:not(.client-side):not(#loginBody) #header::after, html[data-ezs-holiday="winter_holidays"]:not([data-ezs-theme="off"]) body.client-side #header::after { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1v14M2 4.5l12 7M2 11.5l12-7' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 58% 5px / 13px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1l2.1 4.6 5 .5-3.8 3.4 1.1 4.9L8 12l-4.4 2.4 1.1-4.9L.9 6.1l5-.5z' fill='%23E3C15B'/%3E%3C/svg%3E") no-repeat 74% 70% / 10px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1v14M2 4.5l12 7M2 11.5l12-7' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 36% 15% / 12px; }

/* ---------- 9. Calm holidays: muted, no icons ---------- */
html[data-ezs-holiday="juneteenth"] body #header::after,
html[data-ezs-holiday="veterans"] body #header::after,
html[data-ezs-holiday="memorial"] body #header::after,
html[data-ezs-holiday="mlk"] body #header::after,
html[data-ezs-holiday="presidents"] body #header::after,
html[data-ezs-holiday="columbus"] body #header::after { display: none !important; animation: none !important; }

/* ---------- 10. Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-ezs-theme="off"]) body #header::after { animation: ezsTwinkle 2.4s ease-in-out infinite; }
}

/* EZ robot (theme-v1.3) */
.ezs-costume { display: none; }
html[data-ez-theme="christmas"] .ezs-costume[data-c="christmas"] { display: inline; }
html[data-ez-theme="halloween"] .ezs-costume[data-c="halloween"] { display: inline; }
html[data-ez-theme="thanksgiving"] .ezs-costume[data-c="thanksgiving"] { display: inline; }
html[data-ez-theme="valentines"] .ezs-costume[data-c="valentines"] { display: inline; }
html[data-ez-theme="stpatricks"] .ezs-costume[data-c="stpatricks"] { display: inline; }
html[data-ez-theme="july4"] .ezs-costume[data-c="july4"] { display: inline; }
html[data-ez-theme="easter"] .ezs-costume[data-c="easter"] { display: inline; }
html[data-ez-theme="newyear"] .ezs-costume[data-c="newyear"] { display: inline; }
html[data-ez-theme="winter"] .ezs-costume[data-c="winter"] { display: inline; }
html[data-ez-theme="fall"] .ezs-costume[data-c="fall"] { display: inline; }
html[data-ez-theme="spring"] .ezs-costume[data-c="spring"] { display: inline; }
html[data-ez-theme="summer"] .ezs-costume[data-c="summer"] { display: inline; }
.ezs-deco { position: fixed; inset: 0; pointer-events: none; z-index: 2147483000; overflow: hidden; }
.ezs-deco span { position: absolute; top: -40px; opacity: .85; animation: ezsfall 9s linear 1 forwards; }
@keyframes ezsfall { to { transform: translateY(110vh) rotate(260deg); opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .ezs-deco { display: none; } }
#ezs-theme-switch { display: inline-flex; align-items: center; gap: 6px; }
#ezs-theme-switch .ezs-switch-robot { width: 22px; height: 23px; display: inline-flex; }
#ezs-theme-switch .ezs-switch-robot svg { width: 22px; height: 23px; display: block; }
.ezs-portal-robot { position: fixed; right: 16px; bottom: 8px; width: 84px; z-index: 40; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(0,0,0,.22)); }
.ezs-portal-robot svg { width: 100%; height: auto; display: block; }
@media (max-width: 900px), (max-height: 560px), print { .ezs-portal-robot { display: none; } }
